config.h.in 14 KB

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