configure.ac 19 KB

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