configure.ac 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  1. dnl
  2. dnl Configure.in file for the Midnight Commander
  3. dnl
  4. AC_INIT([GNU Midnight Commander], [], [mc-devel@gnome.org])
  5. AC_PREREQ(2.52)
  6. AC_CONFIG_SRCDIR(src/main.c)
  7. AC_CONFIG_AUX_DIR(config)
  8. AM_INIT_AUTOMAKE(mc, 4.6.1-pre1a)
  9. AM_CONFIG_HEADER(config.h)
  10. AM_MAINTAINER_MODE
  11. AC_CANONICAL_HOST
  12. AC_AIX
  13. AC_MINIX
  14. AC_ISC_POSIX
  15. AC_PROG_CC_STDC
  16. dnl
  17. dnl First try glib 2.x. If it's not found, use glib 1.2.x.
  18. dnl Keep this check close to the beginning, so that the users
  19. dnl without any glib won't have their time wasted by other checks.
  20. dnl
  21. AC_ARG_WITH(glib12,
  22. [ --with-glib12 Force using glib 1.2.x [[no]]])
  23. AC_ARG_WITH([glib_static],
  24. [ --with-glib-static Link glib statically [[no]]])
  25. glib_found=no
  26. if test "x$with_glib12" != "xyes"; then
  27. PKG_CHECK_MODULES(GLIB, [glib-2.0], [glib_found=yes], [:])
  28. fi
  29. dnl Fall back to glib-1.2, don't use pkgconfig to find it.
  30. if test "x$glib_found" != "xyes" ; then
  31. dnl This temporary variable is a workaround for a bug in Autoconf-2.53
  32. glib_path=$PATH:/usr/local/bin
  33. dnl Klugde for FreeBSD, where glib-config is renamed to glib12-config.
  34. AC_PATH_PROGS([GLIB_CONFIG], [glib-config glib12-config],,[$glib_path])
  35. AC_ARG_VAR([GLIB_CONFIG], [Path to glib-config (version 1.2.x only)])
  36. AM_PATH_GLIB(1.2.6, , [AC_MSG_ERROR([Test for glib failed.
  37. GNU Midnight Commander requires glib 1.2.6 or above.])])
  38. dnl Save GLIB_CFLAGS and GLIB_LIBS, since the following call to
  39. dnl AM_PATH_GLIB will overwrite them.
  40. save_GLIB_CFLAGS="$GLIB_CFLAGS"
  41. save_GLIB_LIBS="$GLIB_LIBS"
  42. dnl Check for gmodule. Store the flags necessary to compile and
  43. dnl link programs using gmodule functionality in GMODULE_CFLAGS
  44. dnl and GMODULE_LIBS.
  45. AM_PATH_GLIB(1.2.6, [gmodule_found=yes], , [gmodule])
  46. GMODULE_CFLAGS="$GLIB_CFLAGS"
  47. GMODULE_LIBS="$GLIB_LIBS"
  48. GLIB_CFLAGS="$save_GLIB_CFLAGS"
  49. GLIB_LIBS="$save_GLIB_LIBS"
  50. GLIB_LIBDIR="`$GLIB_CONFIG --exec-prefix`/lib"
  51. dnl Used in src/glibcompat.c
  52. AC_CHECK_FUNCS([strlcpy])
  53. else
  54. PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes])
  55. GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`"
  56. fi
  57. if test "x$gmodule_found" = "xyes" ; then
  58. dnl Check if the gmodule functionality supported on this system.
  59. AC_G_MODULE_SUPPORTED
  60. fi
  61. AC_HEADER_MAJOR
  62. AC_C_CONST
  63. AC_SYS_LARGEFILE
  64. AC_PROG_LN_S
  65. AC_CHECK_TOOL(AR, ar, ar)
  66. dnl Only list browsers here that can be run in background (i.e. with `&')
  67. AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
  68. dnl
  69. dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
  70. dnl We use only part of the functionality of mmap, so on AIX,
  71. dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
  72. dnl
  73. AC_ARG_WITH(mmap,
  74. [ --with-mmap Use the mmap call [[yes if found]]])
  75. if test x$with_mmap != xno; then
  76. if test x$with_mmap = x; then
  77. AC_FUNC_MMAP
  78. else
  79. AC_DEFINE(HAVE_MMAP, 1)
  80. fi
  81. fi
  82. dnl
  83. dnl Internationalization
  84. dnl
  85. MC_ASM_LABELS
  86. AM_GNU_GETTEXT
  87. AM_GNU_GETTEXT_VERSION(0.11.5)
  88. if test "x$USE_INCLUDED_LIBINTL" = xyes; then
  89. CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
  90. fi
  91. dnl Determine which help translations we want to install.
  92. ALL_DOC_LINGUAS="es hu it pl ru sr"
  93. DOC_LINGUAS=
  94. if test "x$USE_NLS" = xyes; then
  95. if test -z "$LINGUAS"; then
  96. langs="`grep -v '^#' $srcdir/po/LINGUAS`"
  97. else
  98. langs="$LINGUAS"
  99. fi
  100. else
  101. langs=
  102. fi
  103. for h_lang in $ALL_DOC_LINGUAS; do
  104. for lang in $langs; do
  105. if test "$lang" = "$h_lang"; then
  106. DOC_LINGUAS="$DOC_LINGUAS $lang"
  107. break
  108. fi
  109. done
  110. done
  111. AC_SUBST(DOC_LINGUAS)
  112. dnl
  113. dnl OS specific flags.
  114. dnl
  115. case $host_os in
  116. aux*)
  117. # A/UX
  118. LIBS="$LIBS -lposix"
  119. AC_DEFINE(_POSIX_SOURCE)
  120. ;;
  121. linux*)
  122. AC_DEFINE(_GNU_SOURCE,, [Define to request GNU feature set on Linux])
  123. ;;
  124. esac
  125. AC_PROG_INSTALL
  126. AC_CHECK_HEADERS([unistd.h string.h memory.h grp.h limits.h malloc.h \
  127. stdlib.h termios.h utime.h fcntl.h pwd.h sys/statfs.h sys/time.h \
  128. sys/timeb.h sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
  129. security/pam_misc.h])
  130. AC_HEADER_TIME
  131. AC_HEADER_SYS_WAIT
  132. AC_HEADER_DIRENT
  133. AC_HEADER_STDC
  134. dnl Missing structure components
  135. AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
  136. AC_STRUCT_ST_BLOCKS
  137. dnl
  138. dnl Check availability of some functions
  139. dnl
  140. AC_CHECK_FUNCS([atoll cfgetospeed getsid initgroups memcpy memmove memset \
  141. putenv setreuid setuid statfs strerror strftime \
  142. sysconf tcgetattr tcsetattr truncate])
  143. dnl S-Lang needs all four functions to be defined to use POSIX signal API
  144. AC_CHECK_FUNCS([sigaction sigemptyset sigprocmask sigaddset], , [slang_signals=no])
  145. if test x$slang_signals != xno; then
  146. AC_DEFINE(SLANG_POSIX_SIGNALS, 1, [Define to use POSIX signal API in S-Lang])
  147. fi
  148. dnl
  149. dnl getpt is a GNU Extension (glibc 2.1.x)
  150. dnl
  151. AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
  152. AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
  153. dnl replacing lstat with statlstat on sco makes it more portable between
  154. dnl sco clones
  155. AC_CHECK_FUNCS(statlstat)
  156. dnl
  157. dnl If running under AIX, AC_AIX does not tell us that
  158. dnl
  159. AC_MSG_CHECKING([for AIX defines])
  160. AC_EGREP_CPP(yes,
  161. [#if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
  162. yes
  163. #endif
  164. ], [
  165. AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
  166. AC_MSG_RESULT(yes)
  167. ], [AC_MSG_RESULT(no)])
  168. dnl
  169. dnl This is from GNU fileutils, check aclocal.m4 for more information
  170. dnl
  171. AC_GET_FS_INFO
  172. dnl
  173. dnl Missing typedefs and replacements
  174. dnl
  175. AC_TYPE_MODE_T
  176. AC_CHECK_TYPE(umode_t, int)
  177. AC_CHECK_TYPE(off_t, long)
  178. AC_CHECK_TYPE(socklen_t, int)
  179. AC_TYPE_PID_T
  180. AC_TYPE_UID_T
  181. AC_CHECK_TYPE(nlink_t, unsigned int)
  182. dnl This is needed for regex.c only
  183. AC_CHECK_TYPE(uintptr_t,
  184. [AC_DEFINE(HAVE_UINTPTR_T, 1,
  185. [Define if you have the `uintptr_t' type.])
  186. ])
  187. AC_FUNC_ALLOCA
  188. AC_FUNC_STRCOLL
  189. dnl
  190. dnl X11 support.
  191. dnl Used to read keyboard modifiers when running under X11.
  192. dnl
  193. AC_PATH_XTRA
  194. if test "x$no_x" = xyes; then
  195. textmode_x11_support="no"
  196. else
  197. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  198. if test "x$mc_cv_g_module_supported" = "xyes" ; then
  199. dnl Replace the contents of GLIB_CFLAGS and GLIB_LIBS with those of
  200. dnl GMODULE_CFLAGS and GMODULE_LIBS, only if X is available and gmodule
  201. dnl functionality is supported on the system. This way, mc will be
  202. dnl linked against the gmodule library only when it's really required.
  203. GLIB_CFLAGS="$GMODULE_CFLAGS"
  204. GLIB_LIBS="$GMODULE_LIBS"
  205. else
  206. MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
  207. fi
  208. AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
  209. [Define to enable getting events from X Window System])
  210. textmode_x11_support="yes"
  211. fi
  212. dnl
  213. dnl Try to find static libraries for glib and gmodule.
  214. dnl
  215. if test x$with_glib_static = xyes; then
  216. new_GLIB_LIBS=
  217. for i in $GLIB_LIBS; do
  218. case x$i in
  219. x-lglib*)
  220. lib=glib ;;
  221. x-lgmodule*)
  222. lib=gmodule ;;
  223. *)
  224. lib=
  225. add="$i" ;;
  226. esac
  227. if test -n "$lib"; then
  228. lib1=`echo $i | sed 's/^-l//'`
  229. if test -f "$GLIB_LIBDIR/lib${lib1}.a"; then
  230. add="$GLIB_LIBDIR/lib${lib1}.a"
  231. else
  232. if test -f "$GLIB_LIBDIR/lib${lib}.a"; then
  233. add="$GLIB_LIBDIR/lib${lib}.a"
  234. else
  235. AC_MSG_ERROR([Cannot find static $lib])
  236. fi
  237. fi
  238. fi
  239. new_GLIB_LIBS="$new_GLIB_LIBS $add"
  240. done
  241. GLIB_LIBS="$new_GLIB_LIBS"
  242. fi
  243. dnl
  244. dnl Network related functions
  245. dnl
  246. AC_CHECK_LIB(nsl, t_accept)
  247. AC_CHECK_LIB(socket, socket)
  248. have_socket=no
  249. AC_CHECK_FUNCS(socket, have_socket=yes)
  250. if test $have_socket = no; then
  251. # socket is not in the default libraries. See if it's in some other.
  252. for lib in bsd socket inet; do
  253. AC_CHECK_LIB($lib, socket, [
  254. LIBS="$LIBS -l$lib"
  255. have_socket=yes
  256. AC_DEFINE(HAVE_SOCKET)
  257. break])
  258. done
  259. fi
  260. have_gethostbyname=no
  261. AC_CHECK_FUNC(gethostbyname, [have_gethostbyname=yes])
  262. if test $have_gethostbyname = no; then
  263. # gethostbyname is not in the default libraries. See if it's in some other.
  264. for lib in bsd socket inet; do
  265. AC_CHECK_LIB([$lib], [gethostbyname],
  266. [LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break])
  267. done
  268. fi
  269. dnl
  270. dnl Sequent wants getprocessstats
  271. dnl
  272. AC_CHECK_LIB(seq, get_process_stats, [
  273. LIBS="$LIBS -lseq"
  274. AC_DEFINE(HAVE_GET_PROCESS_STATS, 1,
  275. [Define if you have function `get_process_stats' and
  276. have to use that instead of gettimeofday])])
  277. MC_VFS_CHECKS
  278. vfs_type="normal"
  279. if test x$use_vfs = xyes; then
  280. AC_MSG_NOTICE([enabling VFS code])
  281. vfs_type="Midnight Commander Virtual File System"
  282. fi
  283. dnl
  284. dnl Check for gpm mouse support (Linux only)
  285. dnl
  286. mouse_lib="xterm only"
  287. AC_ARG_WITH(gpm-mouse,
  288. [ --with-gpm-mouse Compile with gpm mouse support (Linux only)
  289. [[yes if found]]])
  290. case $host_os in
  291. linux*)
  292. if test x$with_gpm_mouse != xno; then
  293. AC_CHECK_LIB(gpm, Gpm_Repeat,
  294. [AC_DEFINE(HAVE_LIBGPM, 1,
  295. [Define to enable gpm mouse support on Linux])
  296. mouse_lib="gpm and xterm"
  297. MCLIBS="$MCLIBS -lgpm"],
  298. [AC_MSG_WARN([libgpm is missing or older than 0.18])
  299. ])
  300. fi
  301. ;;
  302. esac
  303. dnl
  304. dnl Check nroff and the options it supports
  305. dnl
  306. AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
  307. dnl Default values
  308. MANDOC=-man
  309. MAN_FLAGS=
  310. if $HAVE_nroff; then
  311. AC_MSG_CHECKING([for manual formatting macros])
  312. AC_CACHE_VAL(mc_cv_mandoc, [
  313. nroff -mandoc < /dev/null > /dev/null 2>&1
  314. if test $? = 0; then
  315. mc_cv_mandoc=-mandoc
  316. else
  317. mc_cv_mandoc=-man
  318. fi
  319. ])
  320. MANDOC=$mc_cv_mandoc
  321. AC_MSG_RESULT([$MANDOC])
  322. AC_MSG_CHECKING([for option to disable ANSI color in manuals])
  323. AC_CACHE_VAL(mc_cv_man_nocolor, [
  324. nroff -c < /dev/null > /dev/null 2>&1
  325. if test $? = 0; then
  326. mc_cv_man_nocolor=-c
  327. else
  328. mc_cv_man_nocolor=
  329. fi
  330. ])
  331. MAN_FLAGS=$mc_cv_man_nocolor
  332. AC_MSG_RESULT([${MAN_NOCOLOR-none}])
  333. AC_MSG_CHECKING([if nroff accepts -Tlatin1 or -Tascii])
  334. AC_CACHE_VAL(mc_cv_nroff_tascii, [
  335. mc_cv_nroff_tascii=
  336. nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
  337. if test $? = 0; then
  338. mc_cv_nroff_tascii=-Tlatin1
  339. else
  340. nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
  341. if test $? = 0; then
  342. mc_cv_nroff_tascii=-Tascii
  343. fi
  344. fi
  345. ])
  346. AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
  347. MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii"
  348. fi
  349. AC_SUBST(MANDOC)
  350. AC_SUBST(MAN_FLAGS)
  351. dnl
  352. dnl Check for -L option to file
  353. dnl
  354. AC_CHECK_PROG(HAVE_FILECMD, file, true, false)
  355. if $HAVE_FILECMD; then
  356. AC_MSG_CHECKING([for -L option to file command])
  357. AC_CACHE_VAL(mc_cv_filel, [
  358. file -L . > /dev/null 2>&1
  359. if test $? = 0; then
  360. mc_cv_filel=yes
  361. else
  362. mc_cv_filel=no
  363. fi
  364. ])
  365. if test x$mc_cv_filel = xyes; then
  366. AC_DEFINE(FILE_L, 1, [Define if the file command accepts the -L option])
  367. fi
  368. filel=$mc_cv_filel
  369. AC_MSG_RESULT([$filel])
  370. fi
  371. AC_MSG_CHECKING([for subshell support])
  372. AC_ARG_WITH(subshell,
  373. [ --with-subshell Compile in concurrent subshell [[yes]]
  374. --with-subshell=optional Don't run concurrent shell by default [[no]]],
  375. [result=no
  376. if test x$withval = xoptional
  377. then
  378. AC_DEFINE(SUBSHELL_OPTIONAL, 1,
  379. [Define to make subshell support optional])
  380. result="optional"
  381. fi
  382. if test x$withval = xyes
  383. then
  384. result="yes"
  385. fi],
  386. [dnl Default: enable the subshell support
  387. result="yes"
  388. ])
  389. if test "x$result" != xno; then
  390. AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
  391. [Define to enable subshell support])
  392. fi
  393. AC_MSG_RESULT([$result])
  394. subshell="$result"
  395. dnl
  396. dnl Select the screen library. mcslang is the included S-Lang library.
  397. dnl
  398. AC_ARG_WITH(screen,
  399. [ --with-screen=LIB Compile with screen library: slang, mcslang or
  400. ncurses [[slang if found, else mcslang]]])
  401. case x$with_screen in
  402. xslang)
  403. MC_WITH_SLANG(strict)
  404. ;;
  405. xmcslang)
  406. MC_WITH_MCSLANG
  407. ;;
  408. xncurses)
  409. MC_WITH_NCURSES
  410. ;;
  411. x)
  412. MC_WITH_SLANG
  413. ;;
  414. *)
  415. AC_MSG_ERROR([Value of the screen library is incorrect])
  416. ;;
  417. esac
  418. dnl
  419. dnl Force using termcap. This option is processed in MC_WITH_MCSLANG.
  420. dnl Report an error if this option is not applicable.
  421. dnl
  422. AC_ARG_WITH(termcap,
  423. [ --with-termcap Try using termcap database [[only if no terminfo]]],
  424. [if test x$with_screen != xmcslang; then
  425. AC_MSG_ERROR([Option `--with-termcap' only works with `--with-screen=mcslang'])
  426. fi
  427. ])
  428. dnl
  429. dnl Internal editor support.
  430. dnl
  431. AC_ARG_WITH(edit,
  432. [ --with-edit Enable internal editor [[yes]]])
  433. if test x$with_edit != xno; then
  434. AC_DEFINE(USE_INTERNAL_EDIT, 1, [Define to enable internal editor])
  435. use_edit=yes
  436. edit_msg="yes"
  437. AC_MSG_NOTICE([using internal editor])
  438. else
  439. edit_msg="no"
  440. fi
  441. dnl Check if the OS is supported by the console saver.
  442. cons_saver=""
  443. case $host_os in
  444. linux*)
  445. cons_saver=yes
  446. esac
  447. dnl Support for background operations
  448. AC_ARG_ENABLE([background],
  449. [ --enable-background Support for background file operations [[yes]]])
  450. if test "x$enable_background" != xno; then
  451. AC_DEFINE(WITH_BACKGROUND, 1, [Define to enable background file operations])
  452. fi
  453. dnl
  454. dnl User visible support for charset conversion.
  455. dnl
  456. AC_ARG_ENABLE([charset],
  457. [ --enable-charset Support for charset selection and conversion [[no]]])
  458. have_charset=
  459. if test "x$enable_charset" = xyes; then
  460. if test "x$am_cv_func_iconv" != xyes; then
  461. AC_MSG_WARN([Cannot enable charset support because iconv function is missing])
  462. else
  463. AC_DEFINE(HAVE_CHARSET, 1,
  464. [Define to enable charset selection and conversion])
  465. have_charset=yes
  466. fi
  467. fi
  468. if test "$GLIBC21" != yes; then
  469. AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
  470. fi
  471. if test "x$with_screen" = xmcslang; then
  472. AC_DEFINE(USE_INCLUDED_SLANG, 1, [Use the S-Lang included here])
  473. fi
  474. if test x"$USE_MAINTAINER_MODE" = x"yes"; then
  475. if test x"${enable_gcc_warnings+set}" != x"set"; then
  476. if test x"${GCC}" = x"yes"; then
  477. CFLAGS="-Wall $CFLAGS"
  478. fi
  479. fi
  480. fi
  481. ri_GCC_WARNINGS
  482. AC_SUBST(CFLAGS)
  483. AC_SUBST(CPPFLAGS)
  484. AC_SUBST(LDFLAGS)
  485. AC_SUBST(LIBS)
  486. dnl Libraries used only when building the mc binary
  487. AC_SUBST(MCLIBS)
  488. dnl Version for the RedHat package, without dashes
  489. RPM_VERSION=`echo $VERSION | sed 's/-//g'`
  490. AC_SUBST(RPM_VERSION)
  491. if test -n "$use_smbfs"; then
  492. AC_CONFIG_SUBDIRS([vfs/samba])
  493. fi
  494. AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
  495. AM_CONDITIONAL(USE_VFS, [test "x$use_vfs" = xyes])
  496. AM_CONDITIONAL(USE_VFS_NET, [test x"$use_net_code" = xtrue])
  497. AM_CONDITIONAL(USE_UNDEL_FS, [test -n "$use_undelfs"])
  498. AM_CONDITIONAL(USE_SAMBA_FS, [test -n "$use_smbfs"])
  499. AM_CONDITIONAL(USE_MCFS, [test -n "$use_mcfs"])
  500. AM_CONDITIONAL(INCLUDED_SLANG, [test "x$with_screen" = xmcslang])
  501. AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
  502. AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
  503. AC_CONFIG_FILES([
  504. Makefile
  505. mc.spec
  506. mc.qpg
  507. doc/Makefile
  508. vfs/Makefile
  509. vfs/extfs/Makefile
  510. lib/Makefile
  511. src/Makefile
  512. slang/Makefile
  513. edit/Makefile
  514. syntax/Makefile
  515. m4/Makefile
  516. lib/mc.ext
  517. vfs/extfs/a
  518. vfs/extfs/apt
  519. vfs/extfs/audio
  520. vfs/extfs/deb
  521. vfs/extfs/deba
  522. vfs/extfs/debd
  523. vfs/extfs/dpkg
  524. vfs/extfs/iso9660
  525. vfs/extfs/hp48
  526. vfs/extfs/lslR
  527. vfs/extfs/mailfs
  528. vfs/extfs/patchfs
  529. vfs/extfs/rpms
  530. vfs/extfs/uar
  531. vfs/extfs/uarj
  532. vfs/extfs/uha
  533. vfs/extfs/ulha
  534. vfs/extfs/urar
  535. vfs/extfs/uzip
  536. vfs/extfs/uzoo
  537. doc/mc.1 doc/mcedit.1 doc/mcview.1 doc/mcserv.8
  538. doc/es/mc.1 doc/es/Makefile
  539. doc/hu/mc.1 doc/hu/Makefile
  540. doc/it/mc.1 doc/it/Makefile
  541. doc/pl/mc.1 doc/pl/Makefile
  542. doc/ru/mc.1 doc/ru/Makefile
  543. doc/sr/mc.1 doc/sr/mcserv.8 doc/sr/Makefile
  544. intl/Makefile
  545. po/Makefile.in
  546. ])
  547. AC_OUTPUT
  548. echo "
  549. Configuration:
  550. Source code location: ${srcdir}
  551. Compiler: ${CC}
  552. Compiler flags: ${CFLAGS}
  553. File system: ${vfs_type}
  554. ${vfs_flags}
  555. Screen library: ${screen_msg}
  556. Mouse support: ${mouse_lib}
  557. X11 events support: ${textmode_x11_support}
  558. With subshell support: ${subshell}
  559. Internal editor: ${edit_msg}
  560. "