config.h.in 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. /* config.h.in. Generated automatically from configure.in by autoheader. */
  2. /* This is the configuration file for the Midnight Commander. It was generated
  3. by autoconf's configure.
  4. Configure for Midnight Commander
  5. Copyright (C) 1994, 1995 Janne Kukonlehto
  6. Copyright (C) 1994, 1995 Miguel de Icaza
  7. Copyright (C) 1995 Jakub Jelinek
  8. This program is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2 of the License, or
  11. (at your option) any later version.
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  19. #include <VERSION>
  20. /* Define if on AIX 3.
  21. System headers sometimes define this.
  22. We just want to avoid a redefinition error message. */
  23. #ifndef _ALL_SOURCE
  24. #undef _ALL_SOURCE
  25. #endif
  26. /* Define if using alloca.c. */
  27. #undef C_ALLOCA
  28. /* Define to empty if the keyword does not work. */
  29. #undef const
  30. /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
  31. This function is required for alloca.c support on those systems. */
  32. #undef CRAY_STACKSEG_END
  33. /* Define to `int' if <sys/types.h> doesn't define. */
  34. #undef gid_t
  35. /* Define if you have alloca, as a function or macro. */
  36. #undef HAVE_ALLOCA
  37. /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
  38. #undef HAVE_ALLOCA_H
  39. /* Define if you have the getmntent function. */
  40. #undef HAVE_GETMNTENT
  41. /* Define if you have a working `mmap' system call. */
  42. #undef HAVE_MMAP
  43. /* Define if your struct stat has st_blksize. */
  44. #undef HAVE_ST_BLKSIZE
  45. /* Define if your struct stat has st_blocks. */
  46. #undef HAVE_ST_BLOCKS
  47. /* Define if your struct stat has st_rdev. */
  48. #undef HAVE_ST_RDEV
  49. /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
  50. #undef HAVE_SYS_WAIT_H
  51. /* Define as __inline if that's what the C compiler calls it. */
  52. #undef inline
  53. /* Define if major, minor, and makedev are declared in <mkdev.h>. */
  54. #undef MAJOR_IN_MKDEV
  55. /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
  56. #undef MAJOR_IN_SYSMACROS
  57. /* Define if on MINIX. */
  58. #undef _MINIX
  59. /* Define to `int' if <sys/types.h> doesn't define. */
  60. #undef mode_t
  61. /* Define to `long' if <sys/types.h> doesn't define. */
  62. #undef off_t
  63. /* Define to `int' if <sys/types.h> doesn't define. */
  64. #undef pid_t
  65. /* Define if the system does not provide POSIX.1 features except
  66. with this defined. */
  67. #undef _POSIX_1_SOURCE
  68. /* Define if you need to in order for stat and other things to work. */
  69. #undef _POSIX_SOURCE
  70. /* Define to `unsigned' if <sys/types.h> doesn't define. */
  71. #undef size_t
  72. /* If using the C implementation of alloca, define if you know the
  73. direction of stack growth for your system; otherwise it will be
  74. automatically deduced at run-time.
  75. STACK_DIRECTION > 0 => grows toward higher addresses
  76. STACK_DIRECTION < 0 => grows toward lower addresses
  77. STACK_DIRECTION = 0 => direction of growth unknown
  78. */
  79. #undef STACK_DIRECTION
  80. /* Define if you have the ANSI C header files. */
  81. #undef STDC_HEADERS
  82. /* Define to `int' if <sys/types.h> doesn't define. */
  83. #undef uid_t
  84. /* Define if the X Window System is missing or not being used. */
  85. #undef X_DISPLAY_MISSING
  86. #undef PACKAGE
  87. /* Always defined */
  88. #undef D_INO_IN_DIRENT
  89. #undef IS_AIX
  90. #undef MOUNTED_FREAD
  91. #undef MOUNTED_FREAD_FSTYP
  92. #undef MOUNTED_GETFSSTAT
  93. #undef MOUNTED_GETMNT
  94. #undef MOUNTED_GETMNTENT1
  95. #undef MOUNTED_GETMNTENT2
  96. #undef MOUNTED_GETMNTINFO
  97. #undef MOUNTED_VMOUNT
  98. #undef STAT_STATFS2_BSIZE
  99. #undef STAT_STATFS2_FSIZE
  100. #undef STAT_STATFS2_FS_DATA
  101. #undef STAT_STATFS3_OSF1
  102. #undef STAT_STATFS4
  103. #undef STAT_STATVFS
  104. /* Define umode_t if your system does not provide it */
  105. #undef umode_t
  106. /* Define nlink_t if your system does not provide it */
  107. #undef nlink_t
  108. /* Does the file command accepts the -L option */
  109. #undef FILE_L
  110. /* Does the file command work well with - option for stdin? */
  111. #undef FILE_STDIN
  112. /* Does the grep command work well with - option for stdin? */
  113. #undef GREP_STDIN
  114. /* Is the program using the GPM library? */
  115. #undef HAVE_LIBGPM
  116. /* Is the program using the distributed slang library? */
  117. #undef HAVE_SLANG
  118. /* Is the program using a system-installed slang library? */
  119. #undef HAVE_SYSTEM_SLANG
  120. /* Define if the slang.h header file is inside a directory slang
  121. ** in the standard directories
  122. */
  123. #undef SLANG_H_INSIDE_SLANG_DIR
  124. /* Does the program have subshell support? */
  125. #undef HAVE_SUBSHELL_SUPPORT
  126. /* If you don't have gcc, define this */
  127. #undef OLD_TOOLS
  128. /* Is the subshell the default or optional? */
  129. #undef SUBSHELL_OPTIONAL
  130. /* Use SunOS SysV curses? */
  131. #undef SUNOS_CURSES
  132. /* Use SystemV curses? */
  133. #undef USE_SYSV_CURSES
  134. /* Use Ncurses? */
  135. #undef USE_NCURSES
  136. /* If you Curses does not have color define this one */
  137. #undef NO_COLOR_SUPPORT
  138. /* Support the Midnight Commander Virtual File System? */
  139. #undef USE_VFS
  140. /* Support for the Memory Allocation Debugger */
  141. #undef HAVE_MAD
  142. /* Extra Debugging */
  143. #undef MCDEBUG
  144. /* If the Slang library will be using it's own terminfo instead of termcap */
  145. #undef SLANG_TERMINFO
  146. /* If Slang library should use termcap */
  147. #undef USE_TERMCAP
  148. /* If you have socket and the rest of the net functions use this */
  149. #undef USE_NETCODE
  150. /* If defined, use .netrc for FTP connections */
  151. #undef USE_NETRC
  152. /* If your operating system does not have enough space for a file name
  153. * in a struct dirent, then define this
  154. */
  155. #undef NEED_EXTRA_DIRENT_BUFFER
  156. /* Define if you want the du -s summary */
  157. #undef HAVE_DUSUM
  158. /* Define if your du does handle -b correctly */
  159. #undef DUSUM_USEB
  160. /* Define to size of chunks du is displaying its information.
  161. * If DUSUM_USEB is defined, this should be 1
  162. */
  163. #define DUSUM_FACTOR 512
  164. /* Define this one if you want termnet support */
  165. #undef USE_TERMNET
  166. /* Defined if you have libXpm, <X11/xpm.h>, libXext, <X11/extensions/shape.h> */
  167. #undef HAVE_XPM_SHAPE
  168. /* Defined if you have shadow passwords on Linux */
  169. #undef LINUX_SHADOW
  170. /* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
  171. #undef NEED_CRYPT_PROTOTYPE
  172. /* Define if you want to turn on SCO-specific code */
  173. #undef SCO_FLAVOR
  174. /* Define if your system has struct linger */
  175. #undef HAVE_STRUCT_LINGER
  176. /* Define if your curses has this one (AIX, OSF/1) */
  177. #undef USE_SETUPTERM
  178. /* Link in ext2fs code for delfs experimental file system */
  179. #undef USE_EXT2FSLIB
  180. /* Define if you want to use the HSC firewall */
  181. #undef HSC_PROXY
  182. /* Define if your system uses PAM for auth stuff */
  183. #undef HAVE_PAM
  184. /* Define if you have the get_process_stats function and have to use that instead of gettimeofday */
  185. #undef HAVE_GET_PROCESS_STATS
  186. /* Define if you want to call the internal routine edit() for the editor */
  187. #undef USE_INTERNAL_EDIT
  188. /* Define if your system has socketpair */
  189. #undef HAVE_SOCKETPAIR
  190. /* Version of ncurses */
  191. #undef NCURSES_970530
  192. #undef HAVE_STPCPY
  193. #undef ENABLE_NLS
  194. #undef HAVE_CATGETS
  195. #undef HAVE_GETTEXT
  196. #undef HAVE_LC_MESSAGES
  197. /* Define if you have the __argz_count function. */
  198. #undef HAVE___ARGZ_COUNT
  199. /* Define if you have the __argz_next function. */
  200. #undef HAVE___ARGZ_NEXT
  201. /* Define if you have the __argz_stringify function. */
  202. #undef HAVE___ARGZ_STRINGIFY
  203. /* Define if you have the cfgetospeed function. */
  204. #undef HAVE_CFGETOSPEED
  205. /* Define if you have the crypt function. */
  206. #undef HAVE_CRYPT
  207. /* Define if you have the dcgettext function. */
  208. #undef HAVE_DCGETTEXT
  209. /* Define if you have the getcwd function. */
  210. #undef HAVE_GETCWD
  211. /* Define if you have the getmntinfo function. */
  212. #undef HAVE_GETMNTINFO
  213. /* Define if you have the getpagesize function. */
  214. #undef HAVE_GETPAGESIZE
  215. /* Define if you have the getwd function. */
  216. #undef HAVE_GETWD
  217. /* Define if you have the grantpt function. */
  218. #undef HAVE_GRANTPT
  219. /* Define if you have the initgroups function. */
  220. #undef HAVE_INITGROUPS
  221. /* Define if you have the keyok function. */
  222. #undef HAVE_KEYOK
  223. /* Define if you have the memcpy function. */
  224. #undef HAVE_MEMCPY
  225. /* Define if you have the memmove function. */
  226. #undef HAVE_MEMMOVE
  227. /* Define if you have the memset function. */
  228. #undef HAVE_MEMSET
  229. /* Define if you have the munmap function. */
  230. #undef HAVE_MUNMAP
  231. /* Define if you have the pmap_getmaps function. */
  232. #undef HAVE_PMAP_GETMAPS
  233. /* Define if you have the pmap_getport function. */
  234. #undef HAVE_PMAP_GETPORT
  235. /* Define if you have the pmap_set function. */
  236. #undef HAVE_PMAP_SET
  237. /* Define if you have the putenv function. */
  238. #undef HAVE_PUTENV
  239. /* Define if you have the pwdauth function. */
  240. #undef HAVE_PWDAUTH
  241. /* Define if you have the resizeterm function. */
  242. #undef HAVE_RESIZETERM
  243. /* Define if you have the rresvport function. */
  244. #undef HAVE_RRESVPORT
  245. /* Define if you have the setenv function. */
  246. #undef HAVE_SETENV
  247. /* Define if you have the setlocale function. */
  248. #undef HAVE_SETLOCALE
  249. /* Define if you have the sigaction function. */
  250. #undef HAVE_SIGACTION
  251. /* Define if you have the sigaddset function. */
  252. #undef HAVE_SIGADDSET
  253. /* Define if you have the sigemptyset function. */
  254. #undef HAVE_SIGEMPTYSET
  255. /* Define if you have the sigprocmask function. */
  256. #undef HAVE_SIGPROCMASK
  257. /* Define if you have the socket function. */
  258. #undef HAVE_SOCKET
  259. /* Define if you have the socketpair function. */
  260. #undef HAVE_SOCKETPAIR
  261. /* Define if you have the statfs function. */
  262. #undef HAVE_STATFS
  263. /* Define if you have the statlstat function. */
  264. #undef HAVE_STATLSTAT
  265. /* Define if you have the statvfs function. */
  266. #undef HAVE_STATVFS
  267. /* Define if you have the stpcpy function. */
  268. #undef HAVE_STPCPY
  269. /* Define if you have the strcasecmp function. */
  270. #undef HAVE_STRCASECMP
  271. /* Define if you have the strchr function. */
  272. #undef HAVE_STRCHR
  273. /* Define if you have the strdup function. */
  274. #undef HAVE_STRDUP
  275. /* Define if you have the strerror function. */
  276. #undef HAVE_STRERROR
  277. /* Define if you have the strncasecmp function. */
  278. #undef HAVE_STRNCASECMP
  279. /* Define if you have the tcgetattr function. */
  280. #undef HAVE_TCGETATTR
  281. /* Define if you have the tcsetattr function. */
  282. #undef HAVE_TCSETATTR
  283. /* Define if you have the truncate function. */
  284. #undef HAVE_TRUNCATE
  285. /* Define if you have the <argz.h> header file. */
  286. #undef HAVE_ARGZ_H
  287. /* Define if you have the <crypt.h> header file. */
  288. #undef HAVE_CRYPT_H
  289. /* Define if you have the <dirent.h> header file. */
  290. #undef HAVE_DIRENT_H
  291. /* Define if you have the <ext2fs/ext2fs.h> header file. */
  292. #undef HAVE_EXT2FS_EXT2FS_H
  293. /* Define if you have the <fcntl.h> header file. */
  294. #undef HAVE_FCNTL_H
  295. /* Define if you have the <grp.h> header file. */
  296. #undef HAVE_GRP_H
  297. /* Define if you have the <limits.h> header file. */
  298. #undef HAVE_LIMITS_H
  299. /* Define if you have the <linux/ext2_fs.h> header file. */
  300. #undef HAVE_LINUX_EXT2_FS_H
  301. /* Define if you have the <locale.h> header file. */
  302. #undef HAVE_LOCALE_H
  303. /* Define if you have the <malloc.h> header file. */
  304. #undef HAVE_MALLOC_H
  305. /* Define if you have the <memory.h> header file. */
  306. #undef HAVE_MEMORY_H
  307. /* Define if you have the <mntent.h> header file. */
  308. #undef HAVE_MNTENT_H
  309. /* Define if you have the <mnttab.h> header file. */
  310. #undef HAVE_MNTTAB_H
  311. /* Define if you have the <ndir.h> header file. */
  312. #undef HAVE_NDIR_H
  313. /* Define if you have the <nl_types.h> header file. */
  314. #undef HAVE_NL_TYPES_H
  315. /* Define if you have the <rpc/pmap_clnt.h> header file. */
  316. #undef HAVE_RPC_PMAP_CLNT_H
  317. /* Define if you have the <shadow.h> header file. */
  318. #undef HAVE_SHADOW_H
  319. /* Define if you have the <shadow/shadow.h> header file. */
  320. #undef HAVE_SHADOW_SHADOW_H
  321. /* Define if you have the <slang.h> header file. */
  322. #undef HAVE_SLANG_H
  323. /* Define if you have the <slang/slang.h> header file. */
  324. #undef HAVE_SLANG_SLANG_H
  325. /* Define if you have the <stdlib.h> header file. */
  326. #undef HAVE_STDLIB_H
  327. /* Define if you have the <string.h> header file. */
  328. #undef HAVE_STRING_H
  329. /* Define if you have the <sys/dir.h> header file. */
  330. #undef HAVE_SYS_DIR_H
  331. /* Define if you have the <sys/dustat.h> header file. */
  332. #undef HAVE_SYS_DUSTAT_H
  333. /* Define if you have the <sys/filsys.h> header file. */
  334. #undef HAVE_SYS_FILSYS_H
  335. /* Define if you have the <sys/fs_types.h> header file. */
  336. #undef HAVE_SYS_FS_TYPES_H
  337. /* Define if you have the <sys/fstyp.h> header file. */
  338. #undef HAVE_SYS_FSTYP_H
  339. /* Define if you have the <sys/mount.h> header file. */
  340. #undef HAVE_SYS_MOUNT_H
  341. /* Define if you have the <sys/ndir.h> header file. */
  342. #undef HAVE_SYS_NDIR_H
  343. /* Define if you have the <sys/param.h> header file. */
  344. #undef HAVE_SYS_PARAM_H
  345. /* Define if you have the <sys/select.h> header file. */
  346. #undef HAVE_SYS_SELECT_H
  347. /* Define if you have the <sys/statfs.h> header file. */
  348. #undef HAVE_SYS_STATFS_H
  349. /* Define if you have the <sys/statvfs.h> header file. */
  350. #undef HAVE_SYS_STATVFS_H
  351. /* Define if you have the <sys/vfs.h> header file. */
  352. #undef HAVE_SYS_VFS_H
  353. /* Define if you have the <termios.h> header file. */
  354. #undef HAVE_TERMIOS_H
  355. /* Define if you have the <unistd.h> header file. */
  356. #undef HAVE_UNISTD_H
  357. /* Define if you have the <utime.h> header file. */
  358. #undef HAVE_UTIME_H
  359. /* Define if you have the <values.h> header file. */
  360. #undef HAVE_VALUES_H
  361. /* Define if you have the i library (-li). */
  362. #undef HAVE_LIBI
  363. /* Define if you have the intl library (-lintl). */
  364. #undef HAVE_LIBINTL
  365. /* Define if you have the nsl library (-lnsl). */
  366. #undef HAVE_LIBNSL
  367. /* Define if you have the pt library (-lpt). */
  368. #undef HAVE_LIBPT
  369. /* Define if you have the socket library (-lsocket). */
  370. #undef HAVE_LIBSOCKET
  371. #ifdef HAVE_LIBPT
  372. # define HAVE_GRANTPT
  373. #endif
  374. #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
  375. # define HAVE_CRYPT
  376. #endif
  377. #ifdef HAVE_XVIEW
  378. # include <xvmain.h>
  379. #endif
  380. #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
  381. # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
  382. # define SLANG_POSIX_SIGNALS
  383. # endif
  384. #endif
  385. #ifdef __os2__
  386. # define OS2_NT 1
  387. # define S_ISFIFO(x) 0
  388. #endif
  389. #ifdef _OS_NT
  390. # define OS2_NT 1
  391. #endif
  392. #ifndef OS2_NT
  393. /* some Unices do not define this, and slang requires it: */
  394. #ifndef unix
  395. # define unix
  396. #endif
  397. #endif