configure.ac 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. dnl
  2. dnl Configure.in file for the Midnight Commander
  3. dnl
  4. AC_PREREQ(2.60)
  5. AC_INIT([GNU Midnight Commander], [], [mc-devel@gnome.org])
  6. m4_pattern_forbid(MC_)
  7. AC_CONFIG_MACRO_DIR([m4])
  8. AC_CONFIG_AUX_DIR(config)
  9. AC_CONFIG_SRCDIR(src/main.c)
  10. AC_CONFIG_HEADERS(config.h)
  11. mc_VERSION
  12. AM_INIT_AUTOMAKE(mc, ${VERSION} )
  13. dnl Enable silent rules by default (if yes)
  14. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  15. AM_MAINTAINER_MODE
  16. AC_CANONICAL_HOST
  17. AC_USE_SYSTEM_EXTENSIONS
  18. dnl ############################################################################
  19. dnl Check for compiler
  20. dnl ############################################################################
  21. AC_PROG_CC_STDC
  22. AM_PROG_CC_C_O
  23. mc_CHECK_CFLAGS
  24. CFLAGS_OPTS=""
  25. if test "x$CFLAGS" = "x"; then
  26. CFLAGS_OPTS=" -O2 "
  27. fi
  28. if test x$USE_MAINTAINER_MODE = xyes; then
  29. CFLAGS_OPTS="-g3 -O -ggdb"
  30. AC_DEFINE(USE_MAINTAINER_MODE, 1, [Use maintainer mode])
  31. fi
  32. AC_ARG_ENABLE([werror],
  33. AS_HELP_STRING([--enable-werror], [Handle all compiler warnings as errors]))
  34. if test "x$enable_werror" = xyes; then
  35. mc_CHECK_ONE_CFLAG([-Werror])
  36. fi
  37. AX_GCC_FUNC_ATTRIBUTE([fallthrough])
  38. AC_PROG_LIBTOOL
  39. dnl ############################################################################
  40. dnl Check for programs
  41. dnl ############################################################################
  42. PKG_PROG_PKG_CONFIG
  43. AC_PROG_INSTALL
  44. AC_PROG_LN_S
  45. dnl See also the "OS specific stuff" section below.
  46. dnl Check nroff and the options it supports
  47. AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
  48. dnl Default values
  49. MANDOC=-man
  50. MAN_FLAGS=
  51. if $HAVE_nroff; then
  52. AC_MSG_CHECKING([for manual formatting macros])
  53. AC_CACHE_VAL(mc_cv_mandoc, [
  54. nroff -mandoc < /dev/null > /dev/null 2>&1
  55. if test $? = 0; then
  56. mc_cv_mandoc=-mandoc
  57. else
  58. mc_cv_mandoc=-man
  59. fi
  60. ])
  61. MANDOC=$mc_cv_mandoc
  62. AC_MSG_RESULT([$MANDOC])
  63. AC_MSG_CHECKING([for option to disable ANSI color in manuals])
  64. AC_CACHE_VAL(mc_cv_man_nocolor, [
  65. nroff -c < /dev/null > /dev/null 2>&1
  66. if test $? = 0; then
  67. mc_cv_man_nocolor=-c
  68. else
  69. mc_cv_man_nocolor=
  70. fi
  71. ])
  72. MAN_FLAGS=$mc_cv_man_nocolor
  73. AC_MSG_RESULT([${MAN_NOCOLOR-none}])
  74. AC_MSG_CHECKING([if nroff accepts -Tlatin1 or -Tascii])
  75. AC_CACHE_VAL(mc_cv_nroff_tascii, [
  76. mc_cv_nroff_tascii=
  77. nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
  78. if test $? = 0; then
  79. mc_cv_nroff_tascii=-Tlatin1
  80. else
  81. nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
  82. if test $? = 0; then
  83. mc_cv_nroff_tascii=-Tascii
  84. fi
  85. fi
  86. ])
  87. AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
  88. MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii"
  89. fi
  90. AC_SUBST(MANDOC)
  91. AC_SUBST(MAN_FLAGS)
  92. dnl Check for -L option to file
  93. AC_CHECK_PROG(HAVE_FILECMD, file, true, false)
  94. if $HAVE_FILECMD; then
  95. AC_MSG_CHECKING([for -L option to file command])
  96. AC_CACHE_VAL(mc_cv_filel, [
  97. file -L . > /dev/null 2>&1
  98. if test $? = 0; then
  99. mc_cv_filel=yes
  100. else
  101. mc_cv_filel=no
  102. fi
  103. ])
  104. if test x$mc_cv_filel = xyes; then
  105. AC_DEFINE(FILE_L, 1, [Define if the file command accepts the -L option])
  106. fi
  107. filel=$mc_cv_filel
  108. AC_MSG_RESULT([$filel])
  109. fi
  110. dnl Only list browsers here that can be run in background (i.e. with `&')
  111. AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla firefox konqueror opera])
  112. dnl ############################################################################
  113. dnl Check for other tools
  114. dnl ############################################################################
  115. AC_CHECK_TOOL(AR, ar, ar)
  116. mc_UNIT_TESTS
  117. dnl ############################################################################
  118. dnl Check for main libraies
  119. dnl ############################################################################
  120. mc_CHECK_GLIB
  121. mc_G_MODULE_SUPPORTED
  122. mc_WITH_SCREEN
  123. mc_CHECK_SEARCH_TYPE
  124. dnl X11 support. Used to read keyboard modifiers when running under X11.
  125. mc_WITH_X
  126. dnl ############################################################################
  127. dnl Check for header files
  128. dnl ############################################################################
  129. AC_CHECK_HEADERS([string.h memory.h limits.h malloc.h \
  130. utime.h sys/statfs.h sys/vfs.h \
  131. sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
  132. sys/socket.h])
  133. dnl This macro is redefined in m4.include/gnulib/sys_types_h.m4
  134. dnl to work around a buggy version in autoconf <= 2.69.
  135. AC_HEADER_MAJOR
  136. dnl ############################################################################
  137. dnl Check for types
  138. dnl ############################################################################
  139. dnl Check largefile before type sizeof checks
  140. AC_SYS_LARGEFILE
  141. AC_CHECK_SIZEOF(long)
  142. AC_TYPE_UINTMAX_T
  143. AC_CHECK_SIZEOF(uintmax_t)
  144. AC_TYPE_OFF_T
  145. AC_CHECK_SIZEOF(off_t)
  146. AC_TYPE_MODE_T
  147. gl_PROMOTED_TYPE_MODE_T
  148. AC_TYPE_PID_T
  149. AC_TYPE_UID_T
  150. AC_STRUCT_ST_BLOCKS
  151. AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev, struct stat.st_mtim])
  152. gl_STAT_SIZE
  153. AH_TEMPLATE([sig_atomic_t],
  154. [/* Define to `int' if <signal.h> doesn't define.])
  155. AH_TEMPLATE([SIG_ATOMIC_VOLATILE_T],
  156. [Some systems declare sig_atomic_t as volatile, some others -- no.
  157. This define will have value `sig_atomic_t' or
  158. `volatile sig_atomic_t' accordingly.])
  159. AC_MSG_CHECKING(for sig_atomic_t in signal.h)
  160. AC_EGREP_HEADER(sig_atomic_t,signal.h,
  161. [
  162. ac_cv_type_sig_atomic_t=yes;
  163. AC_EGREP_HEADER(volatile.*sig_atomic_t,
  164. signal.h,
  165. [
  166. is_sig_atomic_t_volatile=yes;
  167. AC_MSG_RESULT([yes, volatile])
  168. ],
  169. [
  170. is_sig_atomic_t_volatile=no;
  171. AC_MSG_RESULT([yes, non volatile])
  172. ])
  173. ],
  174. [
  175. AC_MSG_RESULT(no)
  176. AC_CHECK_TYPE(sig_atomic_t, int)
  177. is_sig_atomic_t_volatile=no
  178. ])
  179. if test $is_sig_atomic_t_volatile = 'yes'
  180. then
  181. AC_DEFINE(SIG_ATOMIC_VOLATILE_T, sig_atomic_t)
  182. else
  183. AC_DEFINE(SIG_ATOMIC_VOLATILE_T, [volatile sig_atomic_t])
  184. fi
  185. dnl ############################################################################
  186. dnl Check for functions
  187. dnl ############################################################################
  188. AC_CHECK_FUNCS([\
  189. strverscmp \
  190. strncasecmp \
  191. realpath
  192. ])
  193. dnl getpt is a GNU Extension (glibc 2.1.x)
  194. AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
  195. AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
  196. dnl replacing lstat with statlstat on sco makes it more portable between
  197. dnl sco clones
  198. AC_CHECK_FUNCS(statlstat)
  199. dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
  200. dnl We use only part of the functionality of mmap, so on AIX,
  201. dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
  202. AC_ARG_WITH([mmap],
  203. AS_HELP_STRING([--with-mmap], [Use the mmap call @<:@yes if found@:>@]))
  204. if test x$with_mmap != xno; then
  205. if test x$with_mmap = x; then
  206. AC_FUNC_MMAP
  207. else
  208. AC_DEFINE(HAVE_MMAP, 1)
  209. fi
  210. fi
  211. dnl Sequent wants getprocessstats
  212. AC_CHECK_LIB(seq, get_process_stats, [
  213. LIBS="$LIBS -lseq"
  214. AC_DEFINE(HAVE_GET_PROCESS_STATS, 1,
  215. [Define if you have function `get_process_stats' and
  216. have to use that instead of gettimeofday])])
  217. mc_AC_GET_FS_INFO
  218. dnl ############################################################################
  219. dnl Internationalization
  220. dnl ############################################################################
  221. AM_GNU_GETTEXT([no-libtool], [need-ngettext])
  222. AM_GNU_GETTEXT_VERSION([0.18.1])
  223. mc_I18N
  224. dnl ############################################################################
  225. dnl OS specific stuff
  226. dnl ############################################################################
  227. case $host_os in
  228. *os400)
  229. AC_PATH_PROG([PERL], [perl], [/QOpenSys/pkgs/bin/perl])
  230. AC_PATH_PROG([PYTHON], [python], [/QOpenSys/pkgs/bin/python2])
  231. AC_PATH_PROG([RUBY], [ruby], [/QOpenSys/pkgs/bin/ruby])
  232. ;;
  233. *)
  234. AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
  235. AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
  236. AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
  237. esac
  238. case $host_os in
  239. aux*)
  240. # A/UX
  241. LIBS="$LIBS -lposix"
  242. AC_DEFINE(_POSIX_SOURCE)
  243. ;;
  244. esac
  245. dnl If running under AIX, AC_AIX does not tell us that
  246. AC_MSG_CHECKING([for AIX defines])
  247. AC_EGREP_CPP([yes],
  248. [
  249. #if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
  250. yes
  251. #endif
  252. ],
  253. [
  254. AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
  255. AC_MSG_RESULT(yes)
  256. ],
  257. [
  258. AC_MSG_RESULT(no)
  259. ])
  260. dnl utimensat is supported since glibc 2.6 and specified in POSIX.1-2008
  261. dnl utimensat() causes different timespec structures to cause failures on IBM i
  262. case $host_os in
  263. *os400)
  264. ;;
  265. *)
  266. AC_CHECK_FUNCS([utimensat])
  267. ;;
  268. esac
  269. case $host_os in
  270. *os400)
  271. AC_DEFINE([PTY_ZEROREAD], [1], [read(1) can return 0 for a non-closed fd])
  272. esac
  273. dnl Check linux/fs.h for FICLONE to support BTRFS's file clone operation
  274. case $host_os in
  275. linux*)
  276. AC_CHECK_HEADERS([linux/fs.h])
  277. esac
  278. dnl Check if the OS is supported by the console saver.
  279. cons_saver=""
  280. case $host_os in
  281. linux*)
  282. cons_saver=yes
  283. esac
  284. dnl Check for gpm mouse support (Linux only)
  285. mouse_lib="xterm only"
  286. AC_ARG_WITH([gpm-mouse],
  287. AS_HELP_STRING([--with-gpm-mouse], [Compile with gpm mouse support (Linux only) @<:@yes if found@:>@]))
  288. case $host_os in
  289. linux*)
  290. if test x$with_gpm_mouse != xno; then
  291. AC_CHECK_LIB(gpm, Gpm_Repeat,
  292. [AC_DEFINE(HAVE_LIBGPM, 1,
  293. [Define to enable gpm mouse support on Linux])
  294. mouse_lib="gpm and xterm"
  295. MCLIBS="$MCLIBS -lgpm"],
  296. if test "x$with_gpm_mouse" = "xyes"; then
  297. [AC_MSG_ERROR([libgpm is missing or older than 0.18])]
  298. else
  299. [AC_MSG_WARN([libgpm is missing or older than 0.18])]
  300. fi
  301. )
  302. fi
  303. ;;
  304. esac
  305. dnl ############################################################################
  306. dnl libmc
  307. dnl ############################################################################
  308. LIBMC_VERSION="0.0.1"
  309. LIBMC_RELEASE="1"
  310. AC_SUBST(LIBMC_VERSION)
  311. AC_SUBST(LIBMC_RELEASE)
  312. AC_ARG_ENABLE([mclib],
  313. [AS_HELP_STRING([--enable-mclib], [Compile shared library libmc.so @<:@no@:>@])],
  314. [
  315. if test "x$enableval" = "xno" ; then
  316. enable_mclib=no
  317. else
  318. if test "x$enable_shared" = "xno" ; then
  319. AC_MSG_WARN([Build of shared library is disabled. Specify --enable-shared first])
  320. enable_mclib=no
  321. else
  322. enable_mclib=yes
  323. fi
  324. fi
  325. ],
  326. [enable_mclib=no])
  327. AM_CONDITIONAL([ENABLE_MCLIB], [test x$enable_mclib = xyes])
  328. dnl ############################################################################
  329. dnl Where config files should be placed
  330. dnl ############################################################################
  331. AC_ARG_WITH([homedir],
  332. AS_HELP_STRING([--with-homedir],
  333. [Choose any place of user settings relative to home dir, or XDG for respect XDG standards @<:@XDG@:>@]),
  334. [
  335. dnl Unfortunately, there is no way to tell AC_ARG_WITH that the
  336. dnl argument value is required, so we can't differentiate
  337. dnl between `--with-homedir` and `--with-homedir=yes`, because
  338. dnl `with_homedir` is set to `yes` in both cases.
  339. dnl
  340. dnl We opt to set `with_homedir` to `.mc` if the value is `yes`
  341. dnl in order to avoid the surprise for users using
  342. dnl `--with-homedir` w/o any value and then getting mc to store
  343. dnl settings in the `yes` directory.
  344. if test "x$withval" = "xXDG"; then
  345. with_homedir=XDG
  346. elif test "x$withval" = "xyes"; then
  347. with_homedir=.mc
  348. else
  349. with_homedir=$withval
  350. fi
  351. ],
  352. [with_homedir=XDG])
  353. if test x$with_homedir = xXDG; then
  354. AC_DEFINE(MC_HOMEDIR_XDG, 1, [Define to enable XDG standard support])
  355. else
  356. AC_DEFINE(MC_HOMEDIR_XDG, 0, [Define to disable XDG standard support])
  357. AC_DEFINE_UNQUOTED([MC_USERCONF_DIR], ["$with_homedir"], [Where configs will be placed relative to $HOME])
  358. fi
  359. dnl ############################################################################
  360. dnl MC options
  361. dnl ############################################################################
  362. mc_ASSERT
  363. mc_WITH_INTERNAL_EDIT
  364. dnl Diff viewer support.
  365. AC_ARG_WITH([diff_viewer],
  366. AS_HELP_STRING([--with-diff-viewer], [Compile with diff viewer @<:@yes@:>@]))
  367. if test x$with_diff_viewer != xno; then
  368. AC_DEFINE(USE_DIFF_VIEW, 1, [Define to enable diff viewer])
  369. use_diff=yes
  370. diff_msg="yes"
  371. AC_MSG_NOTICE([using diff viewer])
  372. else
  373. diff_msg="no"
  374. fi
  375. mc_SUBSHELL
  376. mc_BACKGROUND
  377. mc_VFS_CHECKS
  378. dnl ############################################################################
  379. dnl Directories
  380. dnl ############################################################################
  381. dnl ${prefix} and ${exec_prefix} are undefined here if --prefix is not used in command line
  382. dnl Let define ${prefix} and ${exec_prefix}
  383. test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
  384. test "x$exec_prefix" = "xNONE" && exec_prefix="${prefix}"
  385. if test x${libexecdir} = x'${exec_prefix}/libexec'; then
  386. EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d
  387. elif test x${libexecdir} = x'${exec_prefix}/lib'; then
  388. EXTHELPERSDIR=${prefix}/lib/${PACKAGE}/ext.d
  389. else
  390. EXTHELPERSDIR=${libexecdir}/${PACKAGE}/ext.d
  391. fi
  392. AC_SUBST(EXTHELPERSDIR)
  393. dnl ############################################################################
  394. dnl Documentation
  395. dnl ############################################################################
  396. MAN_DATE="$(LC_ALL=C date "+%B %Y")"
  397. AC_SUBST(MAN_DATE)
  398. dnl Determine which help translations we want to install.
  399. ALL_DOC_LINGUAS="es hu it pl ru sr"
  400. DOC_LINGUAS=
  401. if test "x$USE_NLS" = xyes; then
  402. if test -z "$LINGUAS"; then
  403. langs="`grep -v '^#' $srcdir/po/LINGUAS`"
  404. else
  405. langs="$LINGUAS"
  406. fi
  407. else
  408. langs=
  409. fi
  410. for h_lang in $ALL_DOC_LINGUAS; do
  411. for lang in $langs; do
  412. if test "$lang" = "$h_lang"; then
  413. DOC_LINGUAS="$DOC_LINGUAS $lang"
  414. break
  415. fi
  416. done
  417. done
  418. AC_SUBST(DOC_LINGUAS)
  419. DX_HTML_FEATURE(ON)
  420. DX_CHM_FEATURE(OFF)
  421. DX_CHI_FEATURE(OFF)
  422. DX_MAN_FEATURE(OFF)
  423. DX_RTF_FEATURE(OFF)
  424. DX_XML_FEATURE(OFF)
  425. DX_PDF_FEATURE(OFF)
  426. DX_PS_FEATURE(OFF)
  427. DX_INIT_DOXYGEN(mc,doxygen.cfg,devel)
  428. dnl ############################################################################
  429. dnl Configure results
  430. dnl ############################################################################
  431. CFLAGS="$mc_configured_cflags $CFLAGS_OPTS $CFLAGS"
  432. AC_SUBST(MCLIBS)
  433. AC_SUBST(CFLAGS)
  434. AC_SUBST(CPPFLAGS)
  435. AC_SUBST(LDFLAGS)
  436. AC_SUBST(LIBS)
  437. AM_CONDITIONAL(USE_NLS, [test x"$USE_NLS" = xyes])
  438. AM_CONDITIONAL(USE_MAINTAINER_MODE, [test x"$USE_MAINTAINER_MODE" = xyes])
  439. AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
  440. AM_CONDITIONAL(USE_INTERNAL_EDIT, [test x"$use_internal_edit" = xyes ])
  441. AM_CONDITIONAL(USE_ASPELL, [test x"$enable_aspell" = xyes ])
  442. AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
  443. AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
  444. AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
  445. dnl Clarify do we really need GModule
  446. AM_CONDITIONAL([HAVE_GMODULE], [test -n "$g_module_supported" && \
  447. test x"$textmode_x11_support" = x"yes" -o x"$enable_aspell" = x"yes"])
  448. AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS], ["$ac_configure_args"], [MC configure arguments])
  449. AC_CONFIG_FILES(
  450. [
  451. src/man2hlp/man2hlp
  452. ],
  453. [
  454. chmod +x src/man2hlp/man2hlp
  455. ])
  456. AC_CONFIG_FILES([
  457. Makefile
  458. contrib/Makefile
  459. contrib/dist/Makefile
  460. contrib/dist/gentoo/Makefile
  461. contrib/dist/redhat/Makefile
  462. contrib/dist/redhat/mc.spec
  463. contrib/dist/pkginfo
  464. contrib/dist/prototype
  465. misc/Makefile
  466. misc/mc.menu
  467. misc/mcedit.menu
  468. misc/skins/Makefile
  469. misc/ext.d/Makefile
  470. misc/ext.d/doc.sh
  471. misc/ext.d/misc.sh
  472. misc/ext.d/text.sh
  473. misc/ext.d/web.sh
  474. misc/macros.d/Makefile
  475. misc/mc.ext
  476. src/Makefile
  477. src/consaver/Makefile
  478. src/editor/Makefile
  479. src/man2hlp/Makefile
  480. src/subshell/Makefile
  481. src/viewer/Makefile
  482. src/diffviewer/Makefile
  483. src/filemanager/Makefile
  484. src/vfs/Makefile
  485. src/vfs/cpio/Makefile
  486. src/vfs/extfs/Makefile
  487. src/vfs/extfs/helpers/Makefile
  488. src/vfs/extfs/helpers/a+
  489. src/vfs/extfs/helpers/apt+
  490. src/vfs/extfs/helpers/audio
  491. src/vfs/extfs/helpers/deb
  492. src/vfs/extfs/helpers/deba
  493. src/vfs/extfs/helpers/debd
  494. src/vfs/extfs/helpers/dpkg+
  495. src/vfs/extfs/helpers/iso9660
  496. src/vfs/extfs/helpers/hp48+
  497. src/vfs/extfs/helpers/lslR
  498. src/vfs/extfs/helpers/mailfs
  499. src/vfs/extfs/helpers/patchfs
  500. src/vfs/extfs/helpers/rpms+
  501. src/vfs/extfs/helpers/s3+
  502. src/vfs/extfs/helpers/uace
  503. src/vfs/extfs/helpers/ualz
  504. src/vfs/extfs/helpers/uar
  505. src/vfs/extfs/helpers/uarc
  506. src/vfs/extfs/helpers/uarj
  507. src/vfs/extfs/helpers/uc1541
  508. src/vfs/extfs/helpers/ucab
  509. src/vfs/extfs/helpers/uha
  510. src/vfs/extfs/helpers/ulha
  511. src/vfs/extfs/helpers/ulib
  512. src/vfs/extfs/helpers/urar
  513. src/vfs/extfs/helpers/uzip
  514. src/vfs/extfs/helpers/uzoo
  515. src/vfs/fish/Makefile
  516. src/vfs/fish/helpers/Makefile
  517. src/vfs/ftpfs/Makefile
  518. src/vfs/sftpfs/Makefile
  519. src/vfs/local/Makefile
  520. src/vfs/sfs/Makefile
  521. src/vfs/smbfs/Makefile
  522. src/vfs/tar/Makefile
  523. src/vfs/undelfs/Makefile
  524. lib/Makefile
  525. lib/event/Makefile
  526. lib/filehighlight/Makefile
  527. lib/mcconfig/Makefile
  528. lib/search/Makefile
  529. lib/skin/Makefile
  530. lib/strutil/Makefile
  531. lib/tty/Makefile
  532. lib/vfs/Makefile
  533. lib/widget/Makefile
  534. misc/syntax/Makefile
  535. misc/syntax/Syntax
  536. doc/Makefile
  537. doc/hints/Makefile
  538. doc/hints/l10n/Makefile
  539. doc/man/Makefile
  540. doc/man/es/Makefile
  541. doc/man/hu/Makefile
  542. doc/man/it/Makefile
  543. doc/man/pl/Makefile
  544. doc/man/ru/Makefile
  545. doc/man/sr/Makefile
  546. doc/hlp/Makefile
  547. doc/hlp/es/Makefile
  548. doc/hlp/hu/Makefile
  549. doc/hlp/it/Makefile
  550. doc/hlp/pl/Makefile
  551. doc/hlp/ru/Makefile
  552. doc/hlp/sr/Makefile
  553. intl/Makefile
  554. po/Makefile.in
  555. ])
  556. AC_CONFIG_FILES([
  557. tests/Makefile
  558. tests/lib/Makefile
  559. tests/lib/mcconfig/Makefile
  560. tests/lib/search/Makefile
  561. tests/lib/strutil/Makefile
  562. tests/lib/vfs/Makefile
  563. tests/lib/widget/Makefile
  564. tests/src/Makefile
  565. tests/src/filemanager/Makefile
  566. tests/src/editor/Makefile
  567. tests/src/editor/test-data.txt
  568. tests/src/vfs/Makefile
  569. tests/src/vfs/extfs/Makefile
  570. tests/src/vfs/extfs/helpers-list/Makefile
  571. tests/src/vfs/extfs/helpers-list/data/config.sh
  572. tests/src/vfs/extfs/helpers-list/misc/Makefile
  573. ])
  574. AC_OUTPUT
  575. AC_MSG_NOTICE([
  576. Configuration:
  577. Source code location: ${srcdir}
  578. Compiler: ${CC}
  579. Compiler flags: ${CFLAGS}
  580. Assertions: ${enable_assert}
  581. Unit tests: ${tests_msg}
  582. File system: ${vfs_type}
  583. ${vfs_flags}
  584. Screen library: ${screen_msg}
  585. Mouse support: ${mouse_lib}
  586. X11 events support: ${textmode_x11_support}
  587. With subshell support: ${subshell}
  588. With background operations: ${enable_background}
  589. Internal editor: ${edit_msg}
  590. Diff viewer: ${diff_msg}
  591. Support for charset: ${charset_msg}
  592. Search type: ${SEARCH_TYPE}
  593. ])
  594. dnl option checking is disable by default due to AC_CONFIG_SUBDIRS
  595. dnl we enable it back for top-level ./configure
  596. if test -n "$ac_unrecognized_opts"; then
  597. case $enable_option_checking in
  598. fatal) AC_MSG_ERROR([unrecognized options: $ac_unrecognized_opts]) ;;
  599. *) AC_MSG_WARN( [unrecognized options: $ac_unrecognized_opts]) ;;
  600. esac
  601. fi