home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / src / unixconf.h.in < prev    next >
Encoding:
Text File  |  1994-12-31  |  15.4 KB  |  576 lines

  1. /* Bruno Haible 31.12.1994 */
  2.  
  3. #define UNIXCONF
  4.  
  5.  
  6. /* UNIX variants */
  7.  
  8. /* AC_AIX */
  9. /* Define if on AIX 3. */
  10. #ifndef _ALL_SOURCE
  11. #undef _ALL_SOURCE
  12. #endif
  13.  
  14. /* AC_ISC_POSIX */
  15. /* Define if you need to in order for stat and other things to work. */
  16. #ifndef _POSIX_SOURCE
  17. #undef _POSIX_SOURCE
  18. #endif
  19.  
  20. /* AC_MINIX */
  21. /* Define if you need to in order for stat and other things to work. */
  22. #ifndef _POSIX_SOURCE
  23. #undef _POSIX_SOURCE
  24. #endif
  25. /* Define if the system does not provide POSIX.1 features except
  26.    with this defined. */
  27. #ifndef _POSIX_1_SOURCE
  28. #undef _POSIX_1_SOURCE
  29. #endif
  30. /* Define if on MINIX. */
  31. #undef _MINIX
  32.  
  33. /* CL_SHELLARGS */
  34. /* Define if /bin/sh is broken and /bin/ksh should be used instead. */
  35. #undef UNIX_USE_KSH
  36. /* Define if /bin/sh is broken and /bin/ksh is not available. */
  37. #undef UNIX_BROKEN_SH
  38.  
  39.  
  40. /* compiler characteristics */
  41.  
  42. /* AC_C_CONST */
  43. /* Define this as empty if your compiler doesn't support the `const' keyword. */
  44. #undef const
  45.  
  46. /* AC_C_INLINE */
  47. /* Define as __inline if that's what the C compiler calls it. */
  48. #undef inline
  49.  
  50. /* CL_NOWARN */
  51. /* Define this as empty if your compiler doesn't support the `__nowarn__' keyword. */
  52. #undef __nowarn__
  53.  
  54. /* CL_VOID */
  55. /* Define this as `char' if your compiler doesn't understand the void type. */
  56. #undef void
  57. /* Define this as `return' if your compiler allows returning expressions of
  58.    type `void' from functions. */
  59. #define return_void
  60.  
  61. /* CL_LONGLONG */
  62. /* Define if your compiler supports the `long long' type. */
  63. #undef HAVE_LONGLONG
  64.  
  65.  
  66. /* header files */
  67.  
  68. /* CL_STDC_HEADERS */
  69. /* Define if you have the ANSI C header files
  70.    <stdlib.h>, <stdarg.h>, <string.h>, <float.h>, <limits.h>. */
  71. #undef STDC_HEADERS
  72.  
  73. /* CL_STDLIB_H */
  74. /* Define if you have <stdlib.h>. */
  75. #undef HAVE_STDLIB_H
  76.  
  77. /* CL_UNISTD_H */
  78. /* Define if you have <unistd.h>. */
  79. #undef HAVE_UNISTD_H
  80.  
  81. /* CL_OPENFLAGS */
  82. /* Define if you need <sys/file.h> for using open() flags like O_RDWR. */
  83. #undef NEED_SYS_FILE_H
  84.  
  85. /* CL_DIR_HEADER, CL_DIRENT_WITHOUT_NAMLEN */
  86. /* How to read directories: */
  87. /* Define if you have <dirent.h>. */
  88. #undef DIRENT   /* use <dirent.h> */
  89. #undef DIRENT_WITHOUT_NAMLEN
  90. /* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
  91. #undef SYSNDIR  /* use <sys/ndir.h> */
  92. /* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
  93. #undef SYSDIR   /* use <sys/dir.h> */
  94. /* Define if you don't have <dirent.h>, but have <ndir.h>. */
  95. #undef NDIR     /* use <ndir.h> */
  96. /* Define if the closedir() function has void return type. */
  97. #undef VOID_CLOSEDIR
  98.  
  99. /* CL_UTSNAME */
  100. /* Define if you have <sys/utsname.h> and it defines struct utsname. */
  101. #undef HAVE_SYS_UTSNAME_H
  102.  
  103. /* CL_NETDB */
  104. /* Define if you have <netdb.h>. */
  105. #undef HAVE_NETDB_H
  106.  
  107. /* CL_SHM */
  108. /* Define if you have <sys/shm.h> and <sys/ipc.h>. */
  109. #undef HAVE_SHM
  110. /* Define if you also have <sys/sysmacros.h>. */
  111. #undef HAVE_SYS_SYSMACROS_H
  112.  
  113. /* CL_TERM */
  114. /* Define if you have <termios.h>. */
  115. #undef HAVE_TERMIOS_H
  116. /* Define if you have tcgetattr(),
  117.    either as a function or as a macro defined by <termios.h>. */
  118. #undef HAVE_TCGETATTR
  119. /* Define if <termios.h> defines TCSAFLUSH. */
  120. #undef HAVE_TCSAFLUSH
  121. /* Define if you have <termio.h>. */
  122. #undef HAVE_TERMIO_H
  123. /* Define if you have <sys/termio.h>. */
  124. #undef HAVE_SYS_TERMIO_H
  125. /* Define if you have <sgtty.h>. */
  126. #undef HAVE_SGTTY_H
  127.  
  128. /* CL_FIND_X */
  129. /* Define if you have the X11 Window System. */
  130. #undef HAVE_X11
  131.  
  132.  
  133. /* typedefs */
  134.  
  135. /* AC_TYPE_SIZE_T */
  136. #ifndef size_t
  137. #undef size_t
  138. #endif
  139.  
  140. /* AC_TYPE_PID_T */
  141. #ifndef pid_t
  142. #undef pid_t
  143. #endif
  144.  
  145. /* AC_TYPE_UID_T */
  146. #ifndef uid_t
  147. #undef uid_t
  148. #endif
  149.  
  150. /* AC_TYPE_OFF_T */
  151. #ifndef off_t
  152. #undef off_t
  153. #endif
  154.  
  155. /* CL_CADDR_T */
  156. #undef CADDR_T
  157.  
  158. /* CL_CLOCK_T */
  159. #undef CLOCK_T
  160.  
  161.  
  162. /* structures and structure members */
  163.  
  164. /* CL_STRUCT_TM */
  165. /* Define if <sys/time.h> is enough and <time.h> is unneeded
  166.    in order to declare struct tm. */
  167. #undef TM_IN_SYS_TIME
  168.  
  169.  
  170. /* functions and declarations */
  171.  
  172. /* CL_STRLEN */
  173. /* Define as the return type of strlen().
  174.    Don't define if strlen() is a macro. */
  175. #undef RETSTRLENTYPE
  176. /* Define as const if the declaration of strlen() needs const. */
  177. #define STRLEN_CONST
  178.  
  179. /* CL_MEMSET */
  180. /* Define if you have the memset() function. */
  181. #undef HAVE_MEMSET
  182.  
  183. /* CL_MALLOC */
  184. /* Define as the return type of malloc(). */
  185. #undef RETMALLOCTYPE
  186. /* Define as the type of `size' in malloc() declaration. */
  187. #undef MALLOC_SIZE_T
  188.  
  189. /* CL_FREE */
  190. /* Define as the return type of free(). */
  191. #undef RETFREETYPE
  192.  
  193. /* CL_ALLOCA */
  194. /* Define if you have <alloca.h> and it should be used (not Ultrix). */
  195. #undef HAVE_ALLOCA_H
  196. /* Define if you need to link with an external alloca.o when using alloca(). */
  197. #undef NO_ALLOCA
  198.  
  199. /* CL_SETJMP */
  200. /* Define if you have _setjmp() and _longjmp(). */
  201. #undef HAVE__JMP
  202. /* Define if longjmp() may return. */
  203. #undef LONGJMP_RETURNS
  204.  
  205. /* AC_TYPE_SIGNAL */
  206. /* Define as the return type of signal handlers (int or void). */
  207. #define RETSIGTYPE void
  208.  
  209. /* CL_SIGNAL_REINSTALL */
  210. /* Define if signal handlers need to be reinstalled when they are activated. */
  211. #undef SIGNAL_NEED_REINSTALL
  212.  
  213. /* CL_SIGNALBLOCK */
  214. /* how to block and unblock signals */
  215. #undef SIGNALBLOCK_SYSV
  216. #undef SIGNALBLOCK_POSIX
  217. #undef SIGNALBLOCK_BSD
  218.  
  219. /* CL_SIGNAL_UNBLOCK */
  220. /* Define if SIGNALBLOCK_BSD is defined above and
  221.    signals need to be unblocked when signal handlers are left. */
  222. #undef SIGNAL_NEED_UNBLOCK
  223.  
  224. /* CL_SIGPROCMASK */
  225. /* Define as const if the declaration of sigprocmask() needs const. */
  226. #define SIGPROCMASK_CONST
  227.  
  228. /* CL_SIGACTION */
  229. /* Define if you have the sigaction() function. */
  230. #undef HAVE_SIGACTION
  231.  
  232. /* CL_SIGINTERRUPT */
  233. /* Define if you have the siginterrupt() function. */
  234. #undef HAVE_SIGINTERRUPT
  235. /* Define if you don't have siginterrupt() or sigaction(), but sigvec(). */
  236. #undef HAVE_SIGVEC
  237.  
  238. /* CL_ABORT */
  239. /* Define as the return type of abort(). */
  240. #undef RETABORTTYPE
  241. /* Define as __volatile__ if the declaration of abort() needs it. */
  242. #define ABORT_VOLATILE
  243.  
  244. /* CL_SYS_ERRLIST */
  245. /* Define as const if the declaration type of sys_errlist needs const. */
  246. #define SYS_ERRLIST_CONST
  247.  
  248. /* CL_GETENV */
  249. /* Define as const if the declaration of getenv() needs const. */
  250. #define GETENV_CONST
  251.  
  252. /* AC_FUNC_VFORK */
  253. /* Define if you have <vfork.h>. */
  254. #undef HAVE_VFORK_H
  255. /* Define as fork if you have no working vfork(). */
  256. #undef vfork
  257.  
  258. /* CL_VFORK */
  259. /* Define as the return type of vfork(). */
  260. #undef RETVFORKTYPE
  261.  
  262. /* CL_SETSID */
  263. /* Define if you have the setsid() function. */
  264. #undef HAVE_SETSID
  265. /* Define if you have the setpgid() function. */
  266. #undef HAVE_SETPGID
  267.  
  268. /* CL_EXECV */
  269. /* Define as const if the declaration of execv() needs const
  270.    in the first argument. */
  271. #define EXECV_CONST
  272. /* Define as const if the second argument of execv() needs to be declared
  273.    as an array of pointers to constant data. */
  274. #define EXECV1_CONST
  275. /* Define as const if the second argument of execv() needs to be declared
  276.    as an array of constant pointers. */
  277. #define EXECV2_CONST
  278.  
  279. /* CL_EXECL */
  280. /* Define if the declaration of execl() needs dots. */
  281. #undef EXECL_DOTS
  282. /* Define as const if the declaration of execl() needs const
  283.    in the second argument. */
  284. #define EXECL_CONST
  285.  
  286. /* CL_WAITPID */
  287. /* Define if you have the waitpid() function. */
  288. #undef HAVE_WAITPID
  289. /* Define as the type of `pid' in waitpid() declaration. */
  290. #undef PID_T
  291. /* Define if you have <sys/wait.h> but not the waitpid() function. */
  292. #undef HAVE_SYS_WAIT_H
  293.  
  294. /* CL_RUSAGE */
  295. /* Define if you have <sys/resource.h>. */
  296. #undef HAVE_SYS_RESOURCE_H
  297. /* Define if you also have <sys/time.h>, the getrusage() function,
  298.    the struct rusage type, and <sys/resource.h> defines RUSAGE_SELF. */
  299. #undef HAVE_GETRUSAGE
  300. /* Define if you have <sys/times.h>. */
  301. #undef HAVE_SYS_TIMES_H
  302.  
  303. /* CL_GETWD */
  304. /* Define if you have the getwd() function. */
  305. #undef HAVE_GETWD
  306.  
  307. /* CL_GETCWD */
  308. /* Define as the type of `bufsize' in getcwd() declaration. */
  309. #undef GETCWD_SIZE_T
  310.  
  311. /* CL_CHDIR */
  312. /* Define as const if the declaration of chdir() needs const. */
  313. #define CHDIR_CONST
  314.  
  315. /* CL_MKDIR */
  316. /* Define as const if the declaration of mkdir() needs const. */
  317. #define MKDIR_CONST
  318. /* Define as the type of `mode' in mkdir(), open() declaration. */
  319. #undef MODE_T
  320.  
  321. /* CL_RMDIR */
  322. /* Define as const if the declaration of rmdir() needs const. */
  323. #define RMDIR_CONST
  324.  
  325. /* AC_HEADER_STAT */
  326. /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
  327. #undef STAT_MACROS_BROKEN
  328.  
  329. /* CL_STAT */
  330. /* Define as const if the declaration of stat() needs const. */
  331. #define STAT_CONST
  332.  
  333. /* CL_LSTAT */
  334. /* Define if you have the lstat() function. */
  335. #undef HAVE_LSTAT
  336. /* Define as const if the declaration of lstat() needs const. */
  337. #define LSTAT_CONST
  338.  
  339. /* CL_READLINK */
  340. /* Define if you have the readlink() function. */
  341. #undef HAVE_READLINK
  342. /* Define as const if the declaration of readlink() needs const. */
  343. #define READLINK_CONST
  344. /* Define as the type of `buf' in readlink() declaration. */
  345. #undef READLINK_BUF_T
  346. /* Define as the type of `bufsiz' in readlink() declaration. */
  347. #undef READLINK_SIZE_T
  348.  
  349. /* CL_ELOOP */
  350. /* Define as the real value of ELOOP even if it is hidden in <errno.h>. */
  351. #undef ELOOP_VALUE
  352.  
  353. /* CL_OPENDIR */
  354. /* Define as const if the declaration of opendir() needs const. */
  355. #define OPENDIR_CONST
  356.  
  357. /* CL_OPEN */
  358. /* Define as const if the declaration of open() needs const. */
  359. #define OPEN_CONST
  360. /* Define if the declaration of open() needs dots. */
  361. #undef OPEN_DOTS
  362.  
  363. /* CL_READ_WRITE */
  364. /* Define as the return type of read(), write(). */
  365. #undef RETRWTYPE
  366. /* Define as the type of `buf' in read(), write() declaration. */
  367. #undef RW_BUF_T
  368. /* Define as the type of `count' in read(), write() declaration. */
  369. #undef RW_SIZE_T
  370.  
  371. /* CL_WRITE */
  372. /* Define as const if the declaration of write() needs const. */
  373. #define WRITE_CONST
  374.  
  375. /* CL_RENAME */
  376. /* Define if you have the rename() function. */
  377. #undef HAVE_RENAME
  378. /* Define as const if the declaration of rename() needs const. */
  379. #define RENAME_CONST
  380.  
  381. /* CL_UNLINK */
  382. /* Define as const if the declaration of unlink() needs const. */
  383. #define UNLINK_CONST
  384.  
  385. /* CL_FSYNC */
  386. /* Define if you have the fsync() system call. */
  387. #undef HAVE_FSYNC
  388.  
  389. /* CL_IOCTL */
  390. /* Define as the type of `request' in ioctl() declaration. */
  391. #undef IOCTL_REQUEST_T
  392. /* Define if the declaration of ioctl() needs dots. */
  393. #undef IOCTL_DOTS
  394. /* Define if you have the FIONREAD ioctl(). */
  395. #undef HAVE_FIONREAD
  396. /* Define if you need <sys/filio.h> for using ioctl's like FIONREAD. */
  397. #undef NEED_SYS_FILIO_H
  398. /* Define if you need <sys/ioctl.h> for using ioctl's like FIONREAD. */
  399. #undef NEED_SYS_IOCTL_H
  400.  
  401. /* CL_FCNTL */
  402. /* Define if the declaration of fcntl() needs dots. */
  403. #undef FCNTL_DOTS
  404.  
  405. /* CL_SELECT */
  406. /* Define if you have the select() system call. */
  407. #undef HAVE_SELECT
  408. /* Define if you also have <sys/select.h>. */
  409. #undef HAVE_SYS_SELECT_H
  410. /* Define as the type of `width' in select() declaration. */
  411. #undef SELECT_WIDTH_T
  412. /* Define as the type of `* readfds', `* writefds', `* exceptfds'
  413.    in select() declaration. */
  414. #undef SELECT_SET_T
  415. /* Define as const if the declaration of select() needs const
  416.    in the fifth argument. */
  417. #define SELECT_CONST
  418. /* Define if you have the poll() system call but not select(). */
  419. #undef HAVE_POLL
  420.  
  421. /* CL_UALARM */
  422. /* Define if you have the ualarm() function. */
  423. #undef HAVE_UALARM
  424.  
  425. /* CL_SETITIMER */
  426. /* Define if you have the setitimer() function. */
  427. #undef HAVE_SETITIMER
  428. /* Define as const if the declaration of setitimer() needs const. */
  429. #define SETITIMER_CONST
  430.  
  431. /* CL_USLEEP */
  432. /* Define if you have the usleep() function. */
  433. #undef HAVE_USLEEP
  434.  
  435. /* CL_LOCALTIME */
  436. /* Define as const if the declaration of localtime() needs const. */
  437. #define LOCALTIME_CONST
  438.  
  439. /* CL_GETTIMEOFDAY */
  440. /* Define if you have the gettimeofday() function. */
  441. #undef HAVE_GETTIMEOFDAY
  442. /* Define if the declaration of gettimeofday() needs dots. */
  443. #undef GETTIMEOFDAY_DOTS
  444.  
  445. /* CL_FTIME */
  446. /* Define if you have the ftime() function. */
  447. #undef HAVE_FTIME
  448.  
  449. /* CL_TIMES_CLOCK */
  450. /* Define if you have the times() function and it returns the real time,
  451.    but don't have the gettimeofday() or ftime() function. */
  452. #undef HAVE_TIMES_CLOCK
  453.  
  454. /* CL_GETPWNAM */
  455. /* Define as const if the declaration of getpwnam() needs const. */
  456. #define GETPWNAM_CONST
  457.  
  458. /* CL_GETPWUID */
  459. /* Define as the type of `uid' in getpwuid() declaration. */
  460. #undef GETPWUID_UID_T
  461.  
  462. /* CL_GETHOSTNAME */
  463. /* Define if you have the gethostname() function. */
  464. #undef HAVE_GETHOSTNAME
  465. /* Define as the type of `namelen' in gethostname() declaration. */
  466. #undef GETHOSTNAME_SIZE_T
  467.  
  468. /* CL_GETHOSTBYNAME */
  469. /* Define if you have gethostbyname() and either <netdb.h> or <sun/netdb.h>. */
  470. #undef HAVE_GETHOSTBYNAME
  471. /* Define as const if the declaration of gethostbyname() needs const. */
  472. #define GETHOSTBYNAME_CONST
  473.  
  474. /* CL_CONNECT */
  475. /* Define as the type of `name' in connect() declaration. */
  476. #undef CONNECT_NAME_T
  477. /* Define as const if the declaration of connect() needs const. */
  478. #define CONNECT_CONST
  479.  
  480. /* CL_UNIXCONN */
  481. /* Define if you have <sys/un.h>. */
  482. #undef HAVE_SYS_UN_H
  483. /* Define if the `struct sockaddr_un' from <sys/un.h> has a `sun_len' field. */
  484. #undef HAVE_SOCKADDR_UN_LEN
  485.  
  486. /* CL_TCPCONN */
  487. /* Define if you have <netinet/in.h>. */
  488. #undef HAVE_NETINET_IN_H
  489. /* Define if you have <arpa/inet.h>. */
  490. #undef HAVE_ARPA_INET_H
  491. /* Define as the return type of inet_addr(). */
  492. #undef RET_INET_ADDR_TYPE
  493. /* Define as .s_addr if the return type of inet_addr() is a struct type,
  494.    as empty if it is a scalar type. */
  495. #undef INET_ADDR_SUFFIX
  496. /* Define as const if the declaration of inet_addr() needs const. */
  497. #define INET_ADDR_CONST
  498. /* Define if you have <netinet/tcp.h>. */
  499. #undef HAVE_NETINET_TCP_H
  500.  
  501. /* CL_GETPAGESIZE */
  502. /* Define if you have getpagesize(). */
  503. #undef HAVE_GETPAGESIZE
  504. /* Define as the return type of getpagesize(). */
  505. #undef RETGETPAGESIZETYPE
  506.  
  507. /* CL_VADVISE */
  508. /* Define if you have the vadvise() system call. */
  509. #undef HAVE_VADVISE
  510.  
  511. /* CL_MACH_VM */
  512. /* Define if you have the vm_allocate() and task_self() functions. */
  513. #undef HAVE_MACH_VM
  514.  
  515. /* CL_MMAP */
  516. /* Define if you have <sys/mman.h> and the mmap() function. */
  517. #undef HAVE_MMAP
  518. /* Define as the return type of mmap(). */
  519. #undef RETMMAPTYPE
  520. /* Define as the type of `addr' in mmap() declaration. */
  521. #undef MMAP_ADDR_T
  522. /* Define as the type of `len' in mmap() declaration. */
  523. #undef MMAP_SIZE_T
  524. /* Define if <sys/mman.h> defines MAP_ANON and mmaping with MAP_ANON works. */
  525. #undef HAVE_MMAP_ANON
  526. /* Define if <sys/mman.h> defines MAP_ANONYMOUS and mmaping with MAP_ANONYMOUS
  527.    works. */
  528. #undef HAVE_MMAP_ANONYMOUS
  529. /* Define if mmaping of the special device /dev/zero works. */
  530. #undef HAVE_MMAP_DEVZERO
  531. /* Define if mmaping of the special device /dev/zero works,
  532.    but only on addresses < 2^29. */
  533. #undef HAVE_MMAP_DEVZERO_SUN4_29
  534.  
  535. /* CL_MUNMAP */
  536. /* Define if you have the munmap() function. */
  537. #undef HAVE_MUNMAP
  538.  
  539. /* CL_MPROTECT */
  540. /* Define if you have the mprotect() function. */
  541. #undef HAVE_MPROTECT
  542. /* Define if you have a working mprotect() function. */
  543. #undef HAVE_WORKING_MPROTECT
  544. /* Define as const if the declaration of mprotect() needs const. */
  545. #define MPROTECT_CONST
  546.  
  547. /* CL_SHMGET */
  548. /* Define as the type of `size' in shmget() declaration. */
  549. #undef SHMGET_SIZE_T
  550.  
  551. /* CL_SHMAT */
  552. /* Define as the return type of shmat(). */
  553. #undef RETSHMATTYPE
  554. /* Define as const if the declaration of shmat() needs const. */
  555. #define SHMAT_CONST
  556.  
  557. /* CL_SHMCTL */
  558. /* Define if the declaration of shmctl() needs dots. */
  559. #undef SHMCTL_DOTS
  560.  
  561. /* CL_SHM_RMID */
  562. /* Define if attaching removed (but alive!) shared memory segments works. */
  563. #undef SHM_RMID_VALID
  564.  
  565.  
  566. /* compiler characteristics */
  567.  
  568. /* CL_CHAR_UNSIGNED */
  569. #ifndef __CHAR_UNSIGNED__
  570. #undef __CHAR_UNSIGNED__
  571. #endif
  572.  
  573. /* CL_MACHINE */
  574. /* see machine.h */
  575.  
  576.