home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / bash-1.12 / machines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-17  |  32.4 KB  |  1,209 lines

  1. /* machines.h --
  2.    Included file in the makefile that gets run through Cpp.  This file
  3.    tells which machines have what features based on the unique machine
  4.    identifier present in Cpp. */
  5.  
  6. /* **************************************************************** */
  7. /*                                                                  */
  8. /*                Global Assumptions (true for most systems).       */
  9. /*                                                                  */
  10. /* **************************************************************** */
  11.  
  12. /* We make some global assumptions here.  This can be #undef'ed in
  13.    various machine specific entries. */
  14.  
  15. /* If this file is being processed with Gcc, then the user has Gcc. */
  16. #if defined (__GNUC__)
  17. #  if !defined (HAVE_GCC)
  18. #    define HAVE_GCC
  19. #  endif /* HAVE_GCC */
  20. #endif /* __GNUC__ */
  21.  
  22. /* Assume that all machines have the getwd () system call.  We unset it
  23.    for USG systems. */
  24. #define HAVE_GETWD
  25.  
  26. /* Assume that all systems have a working getcwd () call.  We unset it for
  27.    ISC systems. */
  28. #define HAVE_GETCWD
  29.  
  30. /* Most (but not all) systems have a good, working version of dup2 ().
  31.    For systems that don't have the call (HP/UX), and for systems
  32.    that don't set the open-on-exec flag for the dup'ed file descriptors,
  33.    (Sequents running Dynix, Ultrix), #undef HAVE_DUP2 in the machine
  34.    description. */
  35. #define HAVE_DUP2
  36.  
  37. /* Every machine that has Gcc has alloca as a builtin in Gcc.  If you are
  38.    compiling Bash without Gcc, then you must have alloca in a library,
  39.    in your C compiler, or be able to assemble or compile the alloca source
  40.    that we ship with Bash. */
  41. #define HAVE_ALLOCA
  42.  
  43. /* We like most machines to use the GNU Malloc routines supplied in the
  44.    source code because they provide high quality error checking.  On
  45.    some machines, our malloc () cannot be used (because of library
  46.    conflicts, for example), and for those, you should specifically
  47.    #undef USE_GNU_MALLOC in the machine description. */
  48. #define USE_GNU_MALLOC
  49.  
  50. /* **************************************************************** */
  51. /*                                    */
  52. /*            Sun Microsystems Machines                  */
  53. /*                                    */
  54. /* **************************************************************** */
  55.  
  56. #if defined (sun)
  57.  
  58. /* We aren't currently using GNU Malloc on Suns because of a bug in Sun's
  59.    YP which bites us when Sun free ()'s an already free ()'ed address.
  60.    When Sun fixes their YP, we can start using our winning malloc again. */
  61. #  undef USE_GNU_MALLOC
  62.  
  63. /* Most Sun systems have signal handler functions that are void. */
  64. #  define VOID_SIGHANDLER
  65.  
  66. #  if defined (mc68010)
  67. #    define sun2
  68. #  endif
  69. #  if defined (mc68020)
  70. #    define sun3
  71. #  endif
  72. #  if defined (sparc)
  73. #    define sun4
  74. #  endif
  75. #  if defined (i386)
  76. #    define Sun386i
  77. #  endif
  78. #if defined (HAVE_SHARED_LIBS)
  79. #  define M_OS SunOS4
  80. #  define SunOS4_SYSDEP_CFLAGS -DBSD_GETPGRP
  81. #else
  82. #  if !defined (sparc)
  83. #     undef VOID_SIGHANDLER
  84. #  endif
  85. #  define M_OS SunOS3
  86. #endif
  87. #endif /* sun */
  88.  
  89. /* ************************ */
  90. /*                */
  91. /*        Sun2        */
  92. /*                */
  93. /* ************************ */
  94. #if defined (sun2)
  95. #define M_MACHINE "sun2"
  96. #define HAVE_SYS_SIGLIST
  97. #define HAVE_SETLINEBUF
  98. #define HAVE_VFPRINTF
  99. #define HAVE_GETGROUPS
  100. #endif /* sun2 */
  101.  
  102. /* ************************ */
  103. /*                */
  104. /*        Sun3        */
  105. /*                */
  106. /* ************************ */
  107. #if defined (sun3)
  108. #define M_MACHINE "sun3"
  109. #if defined (SunOS4_SYSDEP_CFLAGS)
  110. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  111. #endif /* SunOS4 */
  112. #define HAVE_SYS_SIGLIST
  113. #define HAVE_SETLINEBUF
  114. #define HAVE_VFPRINTF
  115. #define HAVE_GETGROUPS
  116. #endif /* sun3 */
  117.  
  118. /* ************************ */
  119. /*                */
  120. /*        Sparc        */
  121. /*                */
  122. /* ************************ */
  123. #if defined (sun4)
  124. #define M_MACHINE "sparc"
  125. #if defined (SunOS4_SYSDEP_CFLAGS)
  126. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  127. #endif /* SunOS4 */
  128. #define HAVE_SYS_SIGLIST
  129. #define HAVE_SETLINEBUF
  130. #define HAVE_VFPRINTF
  131. #define HAVE_GETGROUPS
  132. #endif /* sparc */
  133.  
  134. /* ************************ */
  135. /*                */
  136. /*        Sun386i        */
  137. /*                */
  138. /* ************************ */
  139. #if defined (Sun386i)
  140. #define done386
  141. #define M_MACHINE "Sun386i"
  142. #if defined (SunOS4_SYSDEP_CFLAGS)
  143. #  define SYSDEP_CFLAGS SunOS4_SYSDEP_CFLAGS
  144. #endif /* SunOS4 */
  145. #define HAVE_SYS_SIGLIST
  146. #define HAVE_SETLINEBUF
  147. #define HAVE_VFPRINTF
  148. #define HAVE_GETGROUPS
  149. #endif /* Sun386i */
  150.  
  151. /* **************************************************************** */
  152. /*                                    */
  153. /*            DEC Machines (vax, decstations)           */
  154. /*                                    */
  155. /* **************************************************************** */
  156.  
  157. /* ************************ */
  158. /*                */
  159. /*        Ultrix        */
  160. /*                */
  161. /* ************************ */
  162. #if defined (ultrix)
  163. #if defined (MIPSEL)
  164. #  undef HAVE_ALLOCA_H
  165. #  define M_MACHINE "MIPSEL"
  166. #  if !defined (HAVE_GCC)
  167. #    define MIPS_CFLAGS -Wf,-XNl3072
  168. #  endif
  169. #else /* !MIPSEL */
  170. #  define M_MACHINE "vax"
  171. #endif /* MIPSEL */
  172. #if defined (MIPS_CFLAGS)
  173. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING MIPS_CFLAGS
  174. #else
  175. #  define SYSDEP_CFLAGS -DBSD_GETPGRP -DTERMIOS_MISSING
  176. #endif
  177. #define M_OS Ultrix
  178. #define VOID_SIGHANDLER
  179. #define HAVE_SYS_SIGLIST
  180. #define HAVE_SETLINEBUF
  181. #define HAVE_VFPRINTF
  182. #define HAVE_GETGROUPS
  183. #undef HAVE_DUP2
  184. #endif /* ultrix */
  185.  
  186. /* ************************ */
  187. /*                */
  188. /*    VAX 4.3 BSD        */
  189. /*                */
  190. /* ************************ */
  191. #if defined (vax) && !defined (ultrix)
  192. #define M_MACHINE "vax"
  193. #define M_OS Bsd
  194. #define HAVE_SETLINEBUF
  195. #define HAVE_SYS_SIGLIST
  196. #define HAVE_GETGROUPS
  197. #endif /* vax && !ultrix */
  198.  
  199. /* **************************************** */
  200. /*                        */
  201. /*        SGI Iris/IRIX                */
  202. /*                        */
  203. /* **************************************** */
  204. #if defined (sgi)
  205. #  if defined (Irix3)
  206. #    define M_OS "Irix3"
  207. #    define MIPS_CFLAGS -real_frameptr -Wf,-XNl3072
  208. #    undef HAVE_ALLOCA
  209. #  endif /* Irix3 */
  210. #  if defined (Irix4)
  211. #    define M_OS "Irix4"
  212. #    define MIPS_CFLAGS -Wf,-XNl3072
  213. #  endif /* Irix4 */
  214. #define M_MACHINE "sgi"
  215. #define HAVE_GETGROUPS
  216. #define VOID_SIGHANDLER
  217. #define HAVE_SYS_SIGLIST
  218. #define HAVE_SETLINEBUF
  219. #define HAVE_VFPRINTF
  220. #define REQUIRED_LIBRARIES -lsun
  221. #if defined (HAVE_GCC) || !defined (mips)
  222. #  undef MIPS_CFLAGS
  223. #  define MIPS_CFLAGS
  224. #endif /* HAVE_GCC || !mips */
  225. #define SYSDEP_CFLAGS -DUSG -DPGRP_PIPE MIPS_CFLAGS
  226. #undef HAVE_GETWD
  227. #endif  /* sgi */
  228.  
  229. /* ************************ */
  230. /*                */
  231. /*        Sony        */
  232. /*                */
  233. /* ************************ */
  234. #if defined (sony)
  235. #if defined (MIPSEB)
  236. #  define M_MACHINE "MIPSEB"
  237. #else
  238. #  define M_MACHINE "sony"
  239. #endif
  240.  
  241. #if defined (SYSTYPE_SYSV) || defined (USGr4)
  242. #  define M_OS USG
  243. #  undef HAVE_GETWD
  244. #  define HAVE_VFPRINTF
  245. #  define VOID_SIGHANDLER
  246.    /* Alloca requires either Gcc or cc with -lucb. */
  247. #  if !defined (HAVE_GCC)
  248. #    define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  249. #    define REQUIRED_LIBRARIES -lc -lucb
  250. #  endif /* !HAVE_GCC */
  251. #  if defined (MIPSEB)
  252. #    if !defined (HAVE_GCC)
  253. #      define SYSDEP_CFLAGS -Wf,-XNl3072 -DUSGr4
  254. #    else
  255. #      define SYSDEP_CFLAGS -DUSGr4
  256. #    endif /* HAVE_GCC */
  257. #  else
  258. #    define SYSDEP_CFLAGS -DUSGr4
  259. #  endif /* MIPSEB */
  260. #else
  261. #  define M_OS Bsd
  262. #endif /* SYSTYPE_SYSV */
  263. #define HAVE_SYS_SIGLIST
  264. #define HAVE_SETLINEBUF
  265. #define HAVE_GETGROUPS
  266. #endif /* sony */
  267.  
  268. /* ******************************** */
  269. /*                    */
  270. /*       MIPS RISC/os            */
  271. /*                    */
  272. /* ******************************** */
  273.  
  274. /* Notes on compiling with "make":
  275.  
  276.    * Place /bsd43/bin in your PATH before /bin.
  277.    * Use `$(CC) -E' instead of `/lib/cpp' in Makefile.
  278. */
  279. #if defined (mips) && !defined (M_MACHINE)
  280.  
  281. #if defined (MIPSEB)
  282. #  define M_MACHINE "MIPSEB"
  283. #else
  284. #  if defined (MIPSEL)
  285. #    define M_MACHINE "MIPSEL"
  286. #  else
  287. #    define M_MACHINE "mips"
  288. #  endif /* MIPSEL */
  289. #endif /* MIPSEB */
  290.  
  291. #define M_OS Bsd
  292.  
  293. /* Special things for machines from MIPS Co. */
  294. #define mips_CFLAGS -DOPENDIR_NOT_ROBUST -DPGRP_PIPE
  295.  
  296. #if defined (HAVE_GCC)
  297. #  define SYSDEP_CFLAGS mips_CFLAGS
  298. #else
  299. #  define SYSDEP_CFLAGS -Wf,-XNl3072 -systype bsd43 mips_CFLAGS
  300. #endif /* !HAVE_GCC */
  301. #define HAVE_SYS_SIGLIST
  302. #define HAVE_SETLINEBUF
  303. #define HAVE_VFPRINTF
  304. #define HAVE_GETGROUPS
  305. /* This is actually present but unavailable in the BSD universe? */
  306. #undef HAVE_UNISTD_H
  307. #if !defined (HAVE_RESOURCE)
  308. #  define HAVE_RESOURCE
  309. #endif
  310. /* Appears not to work correctly, so why use it? */
  311. #undef HAVE_WAIT_H
  312. #endif /* mips */
  313.  
  314. /* ************************ */
  315. /*                */
  316. /*      Pyramid        */
  317. /*                */
  318. /* ************************ */
  319. #if defined (pyr)
  320. #define M_MACHINE "Pyramid"
  321. #define M_OS Bsd
  322. #if !defined (HAVE_GCC)
  323. #  undef HAVE_ALLOCA
  324. #endif /* HAVE_GCC */
  325. #define HAVE_SYS_SIGLIST
  326. #define HAVE_SETLINEBUF
  327. /* #define HAVE_VFPRINTF */
  328. #define HAVE_GETGROUPS
  329. #endif /* pyr */
  330.  
  331. /* ************************ */
  332. /*                */
  333. /*        IBMRT        */
  334. /*                */
  335. /* ************************ */
  336. /* Notes:  Compiling with pcc seems to work better than compiling with
  337.    the hc compiler.  I had problems when compiling with hc with alloca,
  338.    even though the -ma flag was defined.  (bfox) */
  339. #if defined (ibm032)
  340. #define M_MACHINE "IBMRT"
  341. #define M_OS Bsd
  342. #define HAVE_SYS_SIGLIST
  343. #define HAVE_SETLINEBUF
  344. /* Some systems cannot find vfprintf at load time. */
  345. /* #define HAVE_VFPRINTF */
  346. /* Alloca requires either gcc or pcc with -ma in SYSDEP_CFLAGS. */
  347. #if !defined (HAVE_GCC)
  348. #  define SYSDEP_CFLAGS -ma -U__STDC__
  349. #endif
  350. #define HAVE_GETGROUPS
  351. /* #define USE_GNU_TERMCAP */
  352. #endif /* ibm032 */
  353.  
  354.  
  355. /* **************************************************************** */
  356. /*                                    */
  357. /*      All Intel 386 Processor Machines are Defined Here!        */
  358. /*                                    */
  359. /* **************************************************************** */
  360.  
  361. #if defined (i386)
  362.  
  363. /* **************************************************************** */
  364. /*                                                                  */
  365. /*                       Sequent Machines                           */
  366. /*                                                                  */
  367. /* **************************************************************** */
  368.  
  369. /* Sequent Symmetry running Dynix/ptx (System V.3.2) */
  370. #  if !defined (done386) && defined (_SEQUENT_)
  371. #    define done386
  372. #    define M_MACHINE "Symmetry"
  373. #    define M_OS USG
  374. #    define SYSDEP_CFLAGS -DUSGr3
  375. #    define HAVE_VFPRINTF
  376. #    define VOID_SIGHANDLER
  377. #    define HAVE_ALLOCA
  378. #    define REQUIRED_LIBRARIES -lPW -lseq
  379. #    undef HAVE_GETWD
  380. #    undef HAVE_RESOURCE
  381. #  endif /* _SEQUENT_ */
  382.  
  383. /* Sequent Symmetry running Dynix (4.2 BSD) */
  384. #  if !defined (done386) && defined (sequent)
  385. #    define done386
  386. #    define M_MACHINE "Symmetry"
  387. #    define M_OS Bsd
  388. #    define SYSDEP_CFLAGS -DCPCC -DHAVE_SETDTABLESIZE
  389. #    define HAVE_SETLINEBUF
  390. #    define HAVE_SYS_SIGLIST
  391. #    define HAVE_GETGROUPS
  392. #    undef HAVE_DUP2
  393. #  endif /* Sequent 386 */
  394.  
  395. /* Generic 386 clone running Mach (4.3 BSD-compatible). */
  396. #  if !defined (done386) && defined (MACH)
  397. #    define done386
  398. #    define M_MACHINE "i386"
  399. #    define M_OS Bsd
  400. #    define HAVE_SETLINEBUF
  401. #    define HAVE_SYS_SIGLIST
  402. #    define HAVE_GETGROUPS
  403. #  endif /* i386 && MACH */
  404.  
  405. /* AIX/PS2 1.2 for the 386. */
  406. #  if !defined (done386) && defined (aixpc)
  407. #    define done386
  408. #    define M_MACHINE "aixpc"
  409. #    define M_OS AIX
  410. #    define HAVE_VFPRINTF
  411. #    define VOID_SIGHANDLER
  412. #    define SYSDEP_CFLAGS -D_BSD
  413. #    define REQUIRED_LIBRARIES -lbsd
  414. #    define HAVE_GETGROUPS
  415. #    if !defined (HAVE_GCC)
  416. #      undef HAVE_ALLOCA
  417. #      undef HAVE_ALLOCA_H
  418. #    endif /* !HAVE_GCC */
  419. #  endif /* AIXPC i386 */
  420.  
  421. /* System V Release 4 on the 386 */
  422. #  if !defined (done386) && defined (USGr4)
  423. #    define done386
  424. #    define M_MACHINE "i386"
  425. #    define M_OS USG
  426. #    define HAVE_SYS_SIGLIST
  427. #    define HAVE_VFPRINTF
  428. #    define VOID_SIGHANDLER
  429.      /* Alloca requires either Gcc or cc with -lucb. */
  430. #    if !defined (HAVE_GCC)
  431. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  432. #      define REQUIRED_LIBRARIES -lc -lucb
  433. #    endif /* !HAVE_GCC */
  434. #    define HAVE_GETGROUPS
  435. #    define SYSDEP_CFLAGS -DUSGr4
  436. #    undef HAVE_GETWD
  437. #  endif /* System V Release 4 on i386 */
  438.  
  439. /* 386 box running Interactive Unix 2.2 or greater. */
  440. #  if !defined (done386) && defined (isc386)
  441. #    define done386
  442. #    define M_MACHINE "isc386"
  443. #    define M_OS USG
  444. #    define HAVE_VFPRINTF
  445. #    define VOID_SIGHANDLER
  446. #    define HAVE_GETGROUPS
  447. #    if !defined (HAVE_GCC)
  448. #      define REQUIRED_LIBRARIES -lPW -lc_s
  449. #      define SYSDEP_LDFLAGS -Xp
  450.        /* ISC's wait.h requires lots of POSIX junk.  Forget it. */
  451. #      undef HAVE_WAIT_H
  452. #    endif
  453. #    if defined (NOTDEF)
  454.        /* libcposix.a contains putc, getc, fileno. */
  455. #      define REQUIRED_LIBRARIES -lcposix
  456. #    endif /* NOTDEF */
  457. #    undef HAVE_GETWD
  458. #    undef HAVE_GETCWD
  459.      /* <sys/types.h> uses mode_t, but doesn't define it unless
  460.     _POSIX_SOURCE is defined.  But when _POSIX_SOURCE is defined,
  461.     <signal.h> tries to use pid_t without including <sys/types.h>!
  462.     What a mess.
  463.  
  464.     ISC's <sys/fcntl.h> doesn't want to define O_NDELAY if __STDC__
  465.     is defined.  We fix that here also.  */
  466. #    if defined (__STDC__) || defined (HAVE_GCC)
  467. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE \
  468.     -Dmode_t="unsigned short" -DO_NDELAY=O_NONBLOCK -DPGRP_PIPE
  469. #    else
  470. #      define SYSDEP_CFLAGS -DUSGr3 -D_POSIX_SOURCE -DPGRP_PIPE
  471. #    endif /* __STDC__ || HAVE_GCC */
  472. #  endif /* isc386 */
  473.  
  474. /* Xenix386 machine. */
  475. #if !defined (done386) && defined (Xenix386)
  476. #  define done386
  477. #  define M_MACHINE "i386"
  478. #  define M_OS Xenix
  479. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  480. #  define HAVE_VFPRINTF
  481. #  define VOID_SIGHANDLER
  482. #  define ALLOCA_ASM x386-alloca.s
  483. #  define REQUIRED_LIBRARIES -lx
  484. #  undef HAVE_ALLOCA
  485. #endif /* Xenix386 */
  486.  
  487. /* SCO UNIX 3.2 chip@count.tct.com (Chip Salzenberg) */
  488. #  if !defined (done386) && defined (M_UNIX)
  489. #    define done386
  490. #    define M_MACHINE "i386"
  491. #    define M_OS SCO
  492. #    define SYSDEP_CFLAGS -DUSG -DUSGr3
  493. #    define HAVE_VFPRINTF
  494. #    define VOID_SIGHANDLER
  495. #    define HAVE_GETGROUPS
  496. #    undef HAVE_GETWD
  497. #    undef HAVE_RESOURCE
  498. #  endif /* SCO Unix on 386 boxes. */
  499.  
  500. /* Assume a generic 386 running Sys V Release 3. */
  501. #  if !defined (done386)
  502. #    define done386
  503. #    define M_MACHINE "i386"
  504. #    define M_OS USG
  505. #    define SYSDEP_CFLAGS -DUSGr3
  506. #    define HAVE_VFPRINTF
  507. #    define VOID_SIGHANDLER
  508.      /* Alloca requires either Gcc or cc with libPW.a */
  509. #    if !defined (HAVE_GCC)
  510. #      define REQUIRED_LIBRARIES -lPW
  511. #    endif /* !HAVE_GCC */
  512. #    undef HAVE_GETWD
  513. #  endif /* Generic i386 Box running Sys V release 3. */
  514. #endif /* All i386 Machines with an `i386' define in cpp. */
  515.  
  516.  
  517. /* **************************************************************** */
  518. /*                                    */
  519. /*              Gould 9000 - UTX/32 R2.1A                */
  520. /*                                    */
  521. /* **************************************************************** */
  522. #if defined (gould)        /* Maybe should be GOULD_PN ? */
  523. #define M_MACHINE "gould"
  524. #define M_OS Bsd
  525. #define HAVE_SYS_SIGLIST
  526. #define HAVE_SETLINEBUF
  527. #define HAVE_GETGROUPS
  528. #endif /* gould */
  529.  
  530. /* ************************ */
  531. /*                */
  532. /*        NeXT        */
  533. /*                */
  534. /* ************************ */
  535. #if defined (NeXT)
  536. #define M_MACHINE "NeXT"
  537. #define M_OS Bsd
  538. #define HAVE_VFPRINTF
  539. #define HAVE_SYS_SIGLIST
  540. #define HAVE_GETGROUPS
  541. #define HAVE_STRERROR
  542. #define VOID_SIGHANDLER
  543. #undef USE_GNU_MALLOC
  544. #endif
  545.  
  546. /* ************************ */
  547. /*                */
  548. /*    hp9000 4.3 BSD        */
  549. /*                */
  550. /* ************************ */
  551. #if defined (hp9000) && !defined (hpux)
  552. #define M_MACHINE "hp9000"
  553. #define M_OS Bsd
  554. #undef HAVE_ALLOCA
  555. #define HAVE_SYS_SIGLIST
  556. #define HAVE_SETLINEBUF
  557. #define HAVE_GETGROUPS
  558. #endif /* hp9000 && !hpux */
  559.  
  560. /* ************************ */
  561. /*                */
  562. /*        hpux        */
  563. /*                */
  564. /* ************************ */
  565. #if defined (hpux)
  566. #define M_MACHINE "hpux"
  567.  
  568. /* This is for 6.2+ systems with job control. */
  569. #define M_OS HPUX
  570.  
  571. /* For HP-UX systems before 6.2, we don't have job control. */
  572. /* #undef M_OS */
  573. /* #define M_OS USG */
  574.  
  575. /* For HP-UX 7.0, we don't need the -lBSD. */
  576. #if defined (__hpux)
  577. #  define HPUX_70
  578. #endif
  579.  
  580. #if defined (HPUX_70)
  581. #  define SYSDEP_CFLAGS -DHPUX_70
  582. #  define REQUIRED_LIBRARIES -lPW
  583. #  undef HAVE_GETWD
  584. #else /* Not 7.0 OS version. */
  585. #  define REQUIRED_LIBRARIES -lPW -lBSD
  586. #endif /* __hpux */
  587.  
  588. #define HAVE_VFPRINTF
  589. #define VOID_SIGHANDLER
  590. #define HAVE_GETGROUPS
  591. #define HAVE_STRERROR
  592. #define SEARCH_LIB_NEEDS_SPACE
  593. #endif /* hpux */
  594.  
  595. /* ************************ */
  596. /*                */
  597. /*        Xenix286        */
  598. /*                */
  599. /* ************************ */
  600. #if defined (Xenix286)
  601. #define M_MACHINE "i286"
  602. #define M_OS Xenix
  603. #undef HAVE_ALLOCA
  604. #define REQUIRED_LIBRARIES -lx
  605. #define SYSDEP_CFLAGS -DREVERSED_SETVBUF_ARGS
  606. #endif
  607.  
  608. /* Xenix 386 box not caught in i386 case above. */
  609. #if !defined (M_MACHINE) && defined (Xenix386)
  610. #  define M_MACHINE "i386"
  611. #  define M_OS Xenix
  612. #  define SYSDEP_CFLAGS -DUSGr3 -DREVERSED_SETVBUF_ARGS
  613. #  define HAVE_VFPRINTF
  614. #  define VOID_SIGHANDLER
  615. #  define ALLOCA_ASM x386-alloca.s
  616. #  define REQUIRED_LIBRARIES -lx
  617. #  undef HAVE_ALLOCA
  618. #endif /* Xenix386 */
  619.  
  620. /* ************************ */
  621. /*                */
  622. /*        convex        */
  623. /*                */
  624. /* ************************ */
  625. #if defined (convex)
  626. #define M_MACHINE "convex"
  627. #define M_OS Bsd
  628. #undef HAVE_ALLOCA
  629. #define HAVE_SETLINEBUF
  630. #define HAVE_SYS_SIGLIST
  631. #define HAVE_GETGROUPS
  632. #endif /* convex */
  633.  
  634. /* ************************ */
  635. /*                */
  636. /*        AIX/RT        */
  637. /*                */
  638. /* ************************ */
  639. #if defined (aix) && !defined (aixpc)
  640. #define M_MACHINE "AIX"
  641. #define M_OS Bsd
  642. #undef HAVE_ALLOCA
  643. #define HAVE_VFPRINTF
  644. #define HAVE_SYS_SIGLIST
  645. #define VOID_SIGHANDLER
  646. #define HAVE_GETGROUPS
  647. #define USE_TERMCAP_EMULATION
  648. #endif /* AIX */
  649.  
  650. /* **************************************** */
  651. /*                        */
  652. /*        IBM RISC 6000            */
  653. /*                        */
  654. /* **************************************** */
  655. #if defined (RISC6000) || defined (_IBMR2)
  656. #define M_MACHINE "RISC6000"
  657. #define M_OS "AIX"
  658. #undef HAVE_GETWD
  659. #undef HAVE_ALLOCA
  660. #define HAVE_SYS_SIGLIST
  661. #define HAVE_SETLINEBUF
  662. #define HAVE_VFPRINTF
  663. #define VOID_SIGHANDLER
  664. #define USE_TERMCAP_EMULATION
  665. #define HAVE_GETGROUPS
  666. #define SYSDEP_CFLAGS -DNLS -DUSG
  667. #undef USE_GNU_MALLOC
  668. #endif /* RISC6000 */
  669.  
  670. /* **************************************** */
  671. /*                        */
  672. /*    u370 IBM AIX/370            */
  673. /*                        */
  674. /* **************************************** */
  675. #if defined (u370)
  676. #  if defined (_AIX370)
  677. #    define M_MACHINE "AIX370"
  678. #    define M_OS Bsd
  679. #    define REQUIRED_LIBRARIES -lbsd
  680. #    define HAVE_SETLINEBUF
  681. #    define HAVE_VFPRINTF
  682. #    define SYSDEP_CFLAGS -D_BSD
  683. #    define HAVE_GETGROUPS
  684. #    define USE_TERMCAP_EMULATION
  685. #    undef USE_GNU_MALLOC
  686. #  endif /* _AIX370 */
  687. #  if defined (USGr4) /* System V Release 4 on 370 series architecture. */
  688. #    define M_MACHINE "uxp"
  689. #    define M_OS USG
  690. #    define HAVE_SYS_SIGLIST
  691. #    define HAVE_VPRINTF
  692. #    define USE_GNU_MALLOC
  693. #    define VOID_SIGHANDLER
  694. #    if !defined (HAVE_GCC)
  695. #      undef HAVE_ALLOCA
  696. #      define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  697. #      define REQUIRED_LIBRARIES -lc -lucb
  698. #    endif /* !HAVE_GCC */
  699. #    define HAVE_GETGROUPS
  700. #    define HAVE_RESOURCE
  701. #    define SYSDEP_CFLAGS -DUSGr4
  702. #    endif /* USGr4 */
  703. #endif /* u370 */  
  704.  
  705. /* ************************ */
  706. /*                */
  707. /*        ATT 3B        */
  708. /*                */
  709. /* ************************ */
  710. #if defined (att3b) || defined (u3b2)
  711. #if defined (att3b)
  712. #  define M_MACHINE "att3b"
  713. #  define HAVE_SYS_SIGLIST
  714. #else
  715. #  define M_MACHINE "u3b2"
  716. #endif
  717. #define M_OS USG
  718. #undef HAVE_GETWD
  719. #define HAVE_VFPRINTF
  720. #define VOID_SIGHANDLER
  721. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  722. #define SYSDEP_CFLAGS -DUSGr3
  723. /* Alloca requires either Gcc or cc with libPW.a. */
  724. #if !defined (HAVE_GCC)
  725. #  define REQUIRED_LIBRARIES -lPW
  726. #endif /* !HAVE_GCC */
  727. #endif /* att3b */
  728.  
  729. /* ************************ */
  730. /*                */
  731. /*        ATT 386        */
  732. /*                */
  733. /* ************************ */
  734. #if defined (att386)
  735. #define M_MACHINE "att386"
  736. #define M_OS USG
  737. #undef HAVE_GETWD
  738. /* Alloca requires either Gcc or cc with libPW.a. */
  739. #if !defined (HAVE_GCC)
  740. #  define REQUIRED_LIBRARIES -lPW
  741. #endif /* HAVE_GCC */
  742. #define HAVE_SYS_SIGLIST
  743. #define HAVE_VFPRINTF
  744. #define VOID_SIGHANDLER
  745. /* For an AT&T Unix before V.3 take out the -DUSGr3 */
  746. #define SYSDEP_CFLAGS -DUSGr3
  747. #endif /* att386 */
  748.  
  749. /* ************************ */
  750. /*                */
  751. /*        Encore        */
  752. /*                */
  753. /* ************************ */
  754. #if defined (MULTIMAX)
  755. #  if defined (n16)
  756. #    define M_MACHINE "Multimax32k"
  757. #  else
  758. #    define M_MACHINE "Multimax"
  759. #  endif /* n16 */
  760. #  if defined (UMAXV)
  761. #    define M_OS USG
  762. #    define REQUIRED_LIBRARIES -lPW
  763. #    define SYSDEP_CFLAGS -DUSGr3
  764. #    define HAVE_VFPRINTF
  765. #    define USE_TERMCAP_EMULATION
  766. #    define VOID_SIGHANDLER
  767. #  else
  768. #    if defined (CMU)
  769. #      define M_OS Mach
  770. #    else
  771. #      define M_OS Bsd
  772. #    endif /* CMU */
  773. #    define HAVE_SYS_SIGLIST
  774. #    define HAVE_STRERROR
  775. #    define HAVE_SETLINEBUF
  776. #  endif /* UMAXV */
  777. #  define HAVE_GETGROUPS
  778. #endif  /* MULTIMAX */
  779.  
  780. /* ******************************************** */
  781. /*                        */
  782. /*   Encore Series 91 (88K BCS w Job Control)    */
  783. /*                        */
  784. /* ******************************************** */
  785. #if defined (__m88k) && defined (__UMAXV__)
  786. #define M_MACHINE "Gemini"
  787. #define M_OS USG
  788. #define REQUIRED_LIBRARIES -lPW
  789. #define USE_TERMCAP_EMULATION
  790. #define HAVE_VFPRINTF
  791. #define HAVE_GETGROUPS
  792. #define VOID_SIGHANDLER
  793. #define SYSDEP_CFLAGS -q ext=pcc -D_POSIX_JOB_CONTROL -D_POSIX_VERSION \
  794.               -Dmalloc=_malloc -Dfree=_free -Drealloc=_realloc
  795. #endif  /* m88k */
  796.  
  797. /* ******************************************** */
  798. /*                        */
  799. /*    System V Release 4 on the ICL DRS6000     */
  800. /*                        */
  801. /* ******************************************** */
  802. #if defined (drs6000)
  803. #define M_MACHINE "drs6000"
  804. #define M_OS USG
  805. #define SYSDEP_CFLAGS -Xa -DUSGr4 -Dsys_siglist=_sys_siglist
  806. #define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  807. #define SEARCH_LIB_NEEDS_SPACE
  808. #define REQUIRED_LIBRARIES -lc -lucb
  809. #define HAVE_SYS_SIGLIST
  810. #define HAVE_SETLINEBUF
  811. #define HAVE_VFPRINTF
  812. #define HAVE_GETGROUPS
  813. #define HAVE_STRERROR
  814. #define VOID_SIGHANDLER
  815. #undef  HAVE_ALLOCA
  816. #undef    HAVE_ALLOCA_H
  817. #undef    USE_GNU_MALLOC
  818. #endif /* drs6000 */
  819.  
  820. /* ******************************************** */
  821. /*                        */
  822. /*  System V Release 4 on the Commodore Amiga   */
  823. /*                        */
  824. /* ******************************************** */
  825. #if defined (amiga)
  826. #define M_MACHINE "amiga"
  827. #define M_OS USG
  828. #define SYSDEP_CFLAGS -DUSGr4
  829. #if !defined (HAVE_GCC)
  830. #  define EXTRA_LIB_SEARCH_PATH /usr/ucblib
  831. #  define REQUIRED_LIBRARIES -lc -lucb
  832. #endif /* !HAVE_GCC */
  833. #define HAVE_SYS_SIGLIST
  834. #define HAVE_VFPRINTF
  835. #define VOID_SIGHANDLER
  836. #define HAVE_GETGROUPS
  837. #define HAVE_STRERROR
  838. #undef HAVE_GETWD
  839. #undef USE_GNU_MALLOC
  840. #endif /* System V Release 4 on amiga */
  841.  
  842. /* ************************ */
  843. /*                */
  844. /*        clipper        */
  845. /*                */
  846. /* ************************ */
  847. /* This is for the Orion 1/05 (A BSD 4.2 box based on a Clipper processor) */
  848. #if defined (clipper)
  849. #define M_MACHINE "clipper"
  850. #define M_OS Bsd
  851. #define HAVE_SETLINEBUF
  852. #define HAVE_GETGROUPS
  853. #endif  /* clipper */
  854.  
  855.  
  856. /* ******************************** */
  857. /*                    */
  858. /*    Integrated Solutions 68020?   */
  859. /*                    */
  860. /* ******************************** */
  861. #if defined (is68k)
  862. #define M_MACHINE "is68k"
  863. #define M_OS Bsd
  864. #undef HAVE_ALLOCA
  865. #define HAVE_SYS_SIGLIST
  866. #define HAVE_SETLINEBUF
  867. #define HAVE_GETGROUPS
  868. #endif /* is68k */
  869.  
  870. /* ******************************** */
  871. /*                    */
  872. /*       Omron Luna/Mach 2.5        */
  873. /*                    */
  874. /* ******************************** */
  875. #if defined (luna88k)
  876. #define M_MACHINE "Luna88k"
  877. #define M_OS Bsd
  878. #define HAVE_SYS_SIGLIST
  879. #define USE_GNU_MALLOC
  880. #define HAVE_SETLINEBUF
  881. #define HAVE_VFPRINTF
  882. #define HAVE_GETGROUPS
  883. #endif  /* luna88k */
  884.  
  885. /* **************************************** */
  886. /*                        */
  887. /*        Apollo/SR10.2/BSD4.3        */
  888. /*                        */
  889. /* **************************************** */
  890. /* This is for the Apollo DN3500 running SR10.2 BSD4.3 */
  891. #if defined (apollo)
  892. #define M_MACHINE "apollo"
  893. #define M_OS Bsd
  894. #define SYSDEP_CFLAGS -D_POSIX_VERSION -D_INCLUDE_BSD_SOURCE -D_INCLUDE_POSIX_SOURCE -DTERMIOS_MISSING -DBSD_GETPGRP -Dpid_t=int
  895. #define HAVE_SYS_SIGLIST
  896. #define HAVE_SETLINEBUF
  897. #define HAVE_GETGROUPS
  898. #endif  /* apollo */
  899.  
  900. /* ************************ */
  901. /*                */
  902. /*    DG AViiON        */
  903. /*                */
  904. /* ************************ */
  905. /* This is for the DG AViiON box (runs DG/UX with both AT&T & BSD features.) */
  906. #if defined (__DGUX__) || defined (DGUX)
  907. #define M_MACHINE "AViiON"
  908. #define M_OS USG
  909. #undef HAVE_GETWD
  910. #define SYSDEP_CFLAGS -D_DGUX_SOURCE -DPGRP_PIPE /* -D_M88K_SOURCE */
  911. /* DG/UX comes standard with gcc. */
  912. #define HAVE_GCC
  913. #define HAVE_FIXED_INCLUDES
  914. #define HAVE_STRERROR
  915. #define HAVE_GETGROUPS
  916. #define VOID_SIGHANDLER
  917. #undef USE_GNU_MALLOC
  918.  
  919. /* If you want to build bash for M88K BCS compliance on a DG/UX 5.4
  920.    or above system, do the following:
  921.  
  922.      - Add -D_M88K_SOURCE to SYSDEP_CFLAGS above.
  923.      - Before running "make" type: "eval `sde-target m88kbcs`" to set
  924.        the software development environment to build BCS objects. */
  925. #endif /* __DGUX__ */
  926.  
  927. /* ************************ */
  928. /*                          */
  929. /*          XD88            */
  930. /*                          */
  931. /* ************************ */
  932. #if defined (m88k) && !defined (M_MACHNE)
  933. #define M_MACHINE "XD88"
  934. #define M_OS USG
  935. #define HAVE_VPRINTF
  936. #undef HAVE_GETWD
  937. #undef HAVE_ALLOCA
  938. #endif /* XD88 && ! M_MACHINE */
  939.  
  940. /* ************************ */
  941. /*                */
  942. /*    Harris Night Hawk        */
  943. /*                */
  944. /* ************************ */
  945. /* This is for the Harris Night Hawk family. */
  946. #if defined (_CX_UX)
  947. #if defined (_M88K)
  948. # define M_MACHINE "nh4000"
  949. #else
  950. #  if defined (hcx)
  951. #    define M_MACHINE "nh2000"
  952. #  else
  953. #    if defined (gcx)
  954. #      define M_MACHINE "nh3000"
  955. #    endif
  956. #  endif
  957. #endif
  958. #define M_OS USG
  959. #define SYSDEP_CFLAGS -g -Xa -v -Dgetwd=bash_getwd -D_POSIX_SOURCE -D_POSIX_JOB_CONTROL
  960. #define USE_TERMCAP_EMULATION
  961. #define HAVE_VFPRINTF
  962. #define HAVE_GETGROUPS
  963. #define VOID_SIGHANDLER
  964. #undef USE_GNU_MALLOC
  965. #undef HAVE_GETWD
  966. #endif
  967.  
  968. /* **************************************** */
  969. /*                        */
  970. /*            Tektronix                */
  971. /*                        */
  972. /* **************************************** */
  973. /* These are unproven as yet. */
  974. #if defined (Tek4132)
  975. #define M_MACHINE "Tek4132"
  976. #define M_OS Bsd
  977. #define HAVE_SYS_SIGLIST
  978. #define HAVE_SETLINEBUF
  979. #define HAVE_GETGROUPS
  980. #endif /* Tek4132 */
  981.  
  982. #if defined (Tek4300)
  983. #define M_MACHINE "Tek4300"
  984. #define M_OS Bsd
  985. #define HAVE_SYS_SIGLIST
  986. #define HAVE_SETLINEBUF
  987. #define HAVE_GETGROUPS
  988. #endif /* Tek4300 */
  989.  
  990. /* ************************ */
  991. /*                */
  992. /*     Sequent Balances     */
  993. /*       (Dynix 3.x)        */
  994. /* ************************ */
  995. #if defined (sequent) && !defined (M_MACHINE)
  996. #define M_MACHINE "Sequent"
  997. #define M_OS Bsd
  998. #undef HAVE_DUP2
  999. #define HAVE_SYS_SIGLIST
  1000. #define HAVE_SETLINEBUF
  1001. #define HAVE_GETGROUPS
  1002. #endif /* sequent */
  1003.  
  1004. /* ****************************************** */
  1005. /*                          */
  1006. /*    NCR Tower 32, System V Release 3          */
  1007. /*                          */
  1008. /* ****************************************** */
  1009. #if defined (tower32)
  1010. #define M_MACHINE "tower32"
  1011. #define M_OS USG
  1012. #if !defined (HAVE_GCC)
  1013. #  define REQUIRED_LIBRARIES -lPW
  1014.    /* Disable stack/frame-pointer optimization, incompatible with alloca */
  1015. #  define SYSDEP_CFLAGS -DUSGr3 -W2,-aat
  1016. #else
  1017. #  define SYSDEP_CFLAGS -DUSGr3
  1018. #endif /* !HAVE_GCC */
  1019. #define HAVE_VFPRINTF
  1020. #define USE_TERMCAP_EMULATION
  1021. #define VOID_SIGHANDLER
  1022. #undef HAVE_GETWD
  1023. #endif /* tower32 */
  1024.  
  1025. /* ************************ */
  1026. /*                */
  1027. /*    Ardent Titan OS v2.2  */
  1028. /*                */
  1029. /* ************************ */
  1030. #if defined (ardent)
  1031. #define M_MACHINE "Ardent Titan"
  1032. #define M_OS Bsd
  1033. #if !defined (titan)
  1034. #  define HAVE_GETGROUPS
  1035. #endif
  1036. #define HAVE_SYS_SIGLIST
  1037. #define HAVE_SETLINEBUF
  1038. #define SYSDEP_CFLAGS -43 -w
  1039. #define SYSDEP_LDFLAGS -43
  1040. #undef HAVE_ALLOCA
  1041. #undef USE_GNU_MALLOC
  1042. #undef HAVE_VFPRINTF
  1043. #endif /* ardent */
  1044.  
  1045. /* ************************ */
  1046. /*                */
  1047. /*      Stardent        */
  1048. /*                */
  1049. /* ************************ */
  1050. #if defined (stardent) && !defined (M_MACHINE)
  1051. #define M_MACHINE "Stardent"
  1052. #define M_OS USG
  1053. #undef HAVE_GETWD
  1054. #undef HAVE_ALLOCA
  1055. #define HAVE_SYS_SIGLIST
  1056. #define USE_TERMCAP_EMULATION
  1057. #define VOID_SIGHANDLER
  1058. #endif /* stardent */
  1059.  
  1060. /* ************************ */
  1061. /*                */
  1062. /*    Concurrent        */
  1063. /*                */
  1064. /* ************************ */
  1065. #if defined (concurrent)
  1066. /* Use the BSD universe (`universe ucb') */
  1067. #define M_MACHINE "Concurrent"
  1068. #define M_OS Bsd
  1069. #define HAVE_SYS_SIGLIST
  1070. #define HAVE_SETLINEBUF
  1071. #define HAVE_GETGROUPS
  1072. #endif /* concurrent */
  1073.  
  1074.  
  1075. /* **************************************************************** */
  1076. /*                                                                  */
  1077. /*             Honeywell Bull X20 (lele@idea.sublink.org)        */
  1078. /*                                                                  */
  1079. /* **************************************************************** */
  1080. #if defined (hbullx20)
  1081. #define M_MACHINE "Honeywell"
  1082. #define M_OS USG
  1083. #define SYSDEP_CFLAGS -DUSG
  1084. /* Bull x20 needs -lposix for struct dirent. */
  1085. #define REQUIRED_LIBRARIES -lPW -lposix
  1086. #define HAVE_VFPRINTF
  1087. #define VOID_SIGHANDLER
  1088. #define USE_TERMCAP_EMULATION
  1089. #undef HAVE_GETWD
  1090. #endif  /* hbullx20 */
  1091.  
  1092. /* ************************ */
  1093. /*                */
  1094. /*    Cadmus (tested once)  */
  1095. /*                */
  1096. /* ************************ */
  1097. #if defined (cadmus) && !defined (M_MACHINE)
  1098. #define M_MACHINE "cadmus"
  1099. #define M_OS BrainDeath        /* By Far, the worst yet. */
  1100. #define SYSDEP_CFLAGS -DUSG
  1101. #define HAVE_VFPRINTF
  1102. #define VOID_SIGHANDLER
  1103. #define USE_TERMCAP_EMULATION
  1104. #undef HAVE_GETWD
  1105. #undef HAVE_ALLOCA
  1106. #endif  /* cadmus */
  1107.  
  1108. /* ************************ */
  1109. /*                */
  1110. /*    MagicStation        */
  1111. /*                */
  1112. /* ************************ */
  1113. #if defined (MagicStation)
  1114. #define M_MACHINE "MagicStation"
  1115. #define M_OS USG
  1116. #define SYSDEP_CFLAGS -DUSGr4
  1117. #define HAVE_GETGROUPS
  1118. #define HAVE_STRERROR
  1119. #define VOID_SIGHANDLER
  1120. #undef HAVE_ALLOCA
  1121. #undef HAVE_GETWD
  1122. #endif /* MagicStation */
  1123.  
  1124. /* **************************************************************** */
  1125. /*                                    */
  1126. /*            Generic Entry                   */
  1127. /*                                    */
  1128. /* **************************************************************** */
  1129.  
  1130. /* Use this entry for your machine if it isn't represented here.  It
  1131.    is loosely based on a Vax running Bsd. */
  1132.  
  1133. #if !defined (M_MACHINE)
  1134. #define UNKNOWN_MACHINE
  1135. #endif
  1136.  
  1137. #ifdef UNKNOWN_MACHINE
  1138. #define M_MACHINE "UNKNOWN_MACHINE"
  1139. #define M_OS UNKNOWN_OS
  1140.  
  1141. /* Required libraries for building on this system. */
  1142. #define REQUIRED_LIBRARIES
  1143.  
  1144. /* Define HAVE_SYS_SIGLIST if your system has sys_siglist[]. */
  1145. #define HAVE_SYS_SIGLIST
  1146.  
  1147. /* Undef HAVE_ALLOCA if you are not using Gcc, and neither your library
  1148.    nor compiler has a version of alloca ().  In that case, we will use
  1149.    our version of alloca () in alloca.c */
  1150. /* #undef HAVE_ALLOCA */
  1151.  
  1152. /* Undef USE_GNU_MALLOC if there appear to be library conflicts, or if you
  1153.    especially desire to use your OS's version of malloc () and friends.  We
  1154.    reccommend against this because GNU Malloc has debugging code built in. */
  1155. #define USE_GNU_MALLOC
  1156.  
  1157. /* Define USE_GNU_TERMCAP if you want to use the GNU termcap library
  1158.    instead of your system termcap library. */
  1159. /* #define USE_GNU_TERMCAP */
  1160.  
  1161. /* Define HAVE_SETLINEBUF if your machine has the setlinebuf ()
  1162.    stream library call.  Otherwise, setvbuf () will be used.  If
  1163.    neither of them work, you can edit in your own buffer control
  1164.    based upon your machines capabilities. */
  1165. #define HAVE_SETLINEBUF
  1166.  
  1167. /* Define HAVE_VFPRINTF if your machines has the vfprintf () library
  1168.    call.  Otherwise, printf will be used.  */
  1169. #define HAVE_VFPRINTF
  1170.  
  1171. /* Define HAVE_GETGROUPS if your OS allows you to be in multiple
  1172.    groups simultaneously by supporting the `getgroups' system call. */
  1173. /* #define HAVE_GETGROUPS */
  1174.  
  1175. /* Define SYSDEP_CFLAGS to be the flags to cc that make your compiler
  1176.    work.  For example, `-ma' on the RT makes alloca () work. */
  1177. #define SYSDEP_CFLAGS
  1178.  
  1179. /* Define HAVE_STRERROR if your system supplies a definition for strerror ()
  1180.    in the C library, or a macro in a header file. */
  1181. /* #define HAVE_STRERROR */
  1182.  
  1183. /* If your system does not supply /usr/lib/libtermcap.a, but includes
  1184.    the termcap routines as a part of the curses library, then define
  1185.    this.  This is the case on some System V machines. */
  1186. /* #define USE_TERMCAP_EMULATION */
  1187.  
  1188. /* Define VOID_SIGHANDLER if your system's signal () returns a pointer to
  1189.    a function returning void. */
  1190. /* #define VOID_SIGHANDLER */
  1191.  
  1192. /* Define EXTRA_LIB_SEARCH_PATH if your required libraries (or standard)
  1193.    ones for that matter) are not normally in the ld search path.  For
  1194.    example, some machines require /usr/ucblib in the ld search path so
  1195.    that they can use -lucb. */
  1196. /* #define EXTRA_LIB_SEARCH_PATH /usr/ucblib */
  1197.  
  1198. /* Define SEARCH_LIB_NEEDS_SPACE if your native ld requires a space after
  1199.    the -L argument, which gives the name of an alternate directory to search
  1200.    for libraries specified with -llib.  For example, the HPUX ld requires
  1201.    this:
  1202.        -L lib/readline -lreadline
  1203.    instead of:
  1204.     -Llib/readline -lreadline
  1205.  */
  1206. /* #define SEARCH_LIB_NEEDS_SPACE */
  1207.  
  1208. #endif  /* UNKNOWN_MACHINE */
  1209.