configure.ac 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  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_GET_FS_INFO
  224. dnl ############################################################################
  225. dnl Internationalization
  226. dnl ############################################################################
  227. AC_CHECK_FUNCS([setlocale])
  228. AM_GNU_GETTEXT([external], [need-ngettext])
  229. AM_GNU_GETTEXT_VERSION([0.18.1])
  230. mc_I18N
  231. dnl ############################################################################
  232. dnl OS specific stuff
  233. dnl ############################################################################
  234. case $host_os in
  235. *os400)
  236. AC_PATH_PROG([PERL], [perl], [/QOpenSys/pkgs/bin/perl])
  237. AC_PATH_PROG([PYTHON], [python], [/QOpenSys/pkgs/bin/python2])
  238. AC_PATH_PROG([RUBY], [ruby], [/QOpenSys/pkgs/bin/ruby])
  239. ;;
  240. *)
  241. AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
  242. AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
  243. AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
  244. esac
  245. case $host_os in
  246. aux*)
  247. # A/UX
  248. LIBS="$LIBS -lposix"
  249. AC_DEFINE(_POSIX_SOURCE)
  250. ;;
  251. esac
  252. dnl If running under AIX, AC_AIX does not tell us that
  253. AC_MSG_CHECKING([for AIX defines])
  254. AC_EGREP_CPP([yes],
  255. [
  256. #if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
  257. yes
  258. #endif
  259. ],
  260. [
  261. AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
  262. AC_MSG_RESULT(yes)
  263. ],
  264. [
  265. AC_MSG_RESULT(no)
  266. ])
  267. dnl utimensat is supported since glibc 2.6 and specified in POSIX.1-2008
  268. dnl utimensat() causes different timespec structures to cause failures on IBM i and AIX
  269. case $host_os in
  270. *os400 | aix*)
  271. ;;
  272. *)
  273. AC_CHECK_FUNCS([utimensat])
  274. ;;
  275. esac
  276. case $host_os in
  277. *os400)
  278. AC_DEFINE([PTY_ZEROREAD], [1], [read(1) can return 0 for a non-closed fd])
  279. esac
  280. dnl Check linux/fs.h for FICLONE to support BTRFS's file clone operation
  281. case $host_os in
  282. linux*)
  283. AC_CHECK_HEADERS([linux/fs.h])
  284. esac
  285. dnl Check if the OS is supported by the console saver.
  286. cons_saver=""
  287. case $host_os in
  288. linux*)
  289. cons_saver=yes
  290. esac
  291. dnl Check for gpm mouse support (Linux only)
  292. mouse_lib="xterm only"
  293. AC_ARG_WITH([gpm-mouse],
  294. AS_HELP_STRING([--with-gpm-mouse], [Compile with gpm mouse support (Linux only) @<:@yes if found@:>@]))
  295. case $host_os in
  296. linux*)
  297. if test x$with_gpm_mouse != xno; then
  298. AC_CHECK_LIB(gpm, Gpm_Repeat,
  299. [AC_DEFINE(HAVE_LIBGPM, 1,
  300. [Define to enable gpm mouse support on Linux])
  301. mouse_lib="gpm and xterm"
  302. MCLIBS="$MCLIBS -lgpm"],
  303. if test "x$with_gpm_mouse" = "xyes"; then
  304. [AC_MSG_ERROR([libgpm is missing or older than 0.18])]
  305. else
  306. [AC_MSG_WARN([libgpm is missing or older than 0.18])]
  307. fi
  308. )
  309. fi
  310. ;;
  311. esac
  312. dnl ############################################################################
  313. dnl libmc
  314. dnl ############################################################################
  315. LIBMC_VERSION="0.0.1"
  316. LIBMC_RELEASE="1"
  317. AC_SUBST(LIBMC_VERSION)
  318. AC_SUBST(LIBMC_RELEASE)
  319. AC_ARG_ENABLE([mclib],
  320. [AS_HELP_STRING([--enable-mclib], [Compile shared library libmc.so @<:@no@:>@])],
  321. [
  322. if test "x$enableval" = "xno" ; then
  323. enable_mclib=no
  324. else
  325. if test "x$enable_shared" = "xno" ; then
  326. AC_MSG_WARN([Build of shared library is disabled. Specify --enable-shared first])
  327. enable_mclib=no
  328. else
  329. enable_mclib=yes
  330. fi
  331. fi
  332. ],
  333. [enable_mclib=no])
  334. AM_CONDITIONAL([ENABLE_MCLIB], [test x$enable_mclib = xyes])
  335. dnl ############################################################################
  336. dnl Where config files should be placed
  337. dnl ############################################################################
  338. AC_ARG_WITH([homedir],
  339. AS_HELP_STRING([--with-homedir],
  340. [Choose any place of user settings relative to home dir, or XDG for respect XDG standards @<:@XDG@:>@]),
  341. [
  342. dnl Unfortunately, there is no way to tell AC_ARG_WITH that the
  343. dnl argument value is required, so we can't differentiate
  344. dnl between `--with-homedir` and `--with-homedir=yes`, because
  345. dnl `with_homedir` is set to `yes` in both cases.
  346. dnl
  347. dnl We opt to set `with_homedir` to `.mc` if the value is `yes`
  348. dnl in order to avoid the surprise for users using
  349. dnl `--with-homedir` w/o any value and then getting mc to store
  350. dnl settings in the `yes` directory.
  351. if test "x$withval" = "xXDG"; then
  352. with_homedir=XDG
  353. elif test "x$withval" = "xyes"; then
  354. with_homedir=.mc
  355. else
  356. with_homedir=$withval
  357. fi
  358. ],
  359. [with_homedir=XDG])
  360. if test x$with_homedir = xXDG; then
  361. AC_DEFINE(MC_HOMEDIR_XDG, 1, [Define to enable XDG standard support])
  362. else
  363. AC_DEFINE(MC_HOMEDIR_XDG, 0, [Define to disable XDG standard support])
  364. AC_DEFINE_UNQUOTED([MC_USERCONF_DIR], ["$with_homedir"], [Where configs will be placed relative to $HOME])
  365. fi
  366. dnl ############################################################################
  367. dnl MC options
  368. dnl ############################################################################
  369. mc_ASSERT
  370. mc_WITH_INTERNAL_EDIT
  371. dnl Diff viewer support.
  372. AC_ARG_WITH([diff_viewer],
  373. AS_HELP_STRING([--with-diff-viewer], [Compile with diff viewer @<:@yes@:>@]))
  374. if test x$with_diff_viewer != xno; then
  375. AC_DEFINE(USE_DIFF_VIEW, 1, [Define to enable diff viewer])
  376. use_diff=yes
  377. diff_msg="yes"
  378. AC_MSG_NOTICE([using diff viewer])
  379. else
  380. diff_msg="no"
  381. fi
  382. mc_SUBSHELL
  383. mc_BACKGROUND
  384. mc_VFS_CHECKS
  385. dnl ############################################################################
  386. dnl Directories
  387. dnl ############################################################################
  388. dnl ${prefix} and ${exec_prefix} are undefined here if --prefix is not used in command line
  389. dnl Let define ${prefix} and ${exec_prefix}
  390. test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
  391. test "x$exec_prefix" = "xNONE" && exec_prefix="${prefix}"
  392. if test x${libexecdir} = x'${exec_prefix}/libexec'; then
  393. EXTHELPERSDIR=${prefix}/libexec/${PACKAGE}/ext.d
  394. elif test x${libexecdir} = x'${exec_prefix}/lib'; then
  395. EXTHELPERSDIR=${prefix}/lib/${PACKAGE}/ext.d
  396. else
  397. EXTHELPERSDIR=${libexecdir}/${PACKAGE}/ext.d
  398. fi
  399. AC_SUBST(EXTHELPERSDIR)
  400. dnl ############################################################################
  401. dnl Documentation
  402. dnl ############################################################################
  403. MAN_DATE="$(LC_ALL=C date "+%B %Y")"
  404. AC_SUBST(MAN_DATE)
  405. dnl Determine which help translations we want to install.
  406. ALL_DOC_LINGUAS="es hu it pl ru sr"
  407. DOC_LINGUAS=
  408. if test "x$USE_NLS" = xyes; then
  409. if test -z "$LINGUAS"; then
  410. langs="`grep -v '^#' $srcdir/po/LINGUAS`"
  411. else
  412. langs="$LINGUAS"
  413. fi
  414. else
  415. langs=
  416. fi
  417. for h_lang in $ALL_DOC_LINGUAS; do
  418. for lang in $langs; do
  419. if test "$lang" = "$h_lang"; then
  420. DOC_LINGUAS="$DOC_LINGUAS $lang"
  421. break
  422. fi
  423. done
  424. done
  425. AC_SUBST(DOC_LINGUAS)
  426. DX_HTML_FEATURE(ON)
  427. DX_CHM_FEATURE(OFF)
  428. DX_CHI_FEATURE(OFF)
  429. DX_MAN_FEATURE(OFF)
  430. DX_RTF_FEATURE(OFF)
  431. DX_XML_FEATURE(OFF)
  432. DX_PDF_FEATURE(OFF)
  433. DX_PS_FEATURE(OFF)
  434. DX_INIT_DOXYGEN(mc,doxygen.cfg,devel)
  435. dnl ############################################################################
  436. dnl Configure results
  437. dnl ############################################################################
  438. CFLAGS="$mc_configured_cflags $CFLAGS_OPTS $CFLAGS"
  439. AC_SUBST(MCLIBS)
  440. AC_SUBST(CFLAGS)
  441. AC_SUBST(CPPFLAGS)
  442. AC_SUBST(LDFLAGS)
  443. AC_SUBST(LIBS)
  444. AM_CONDITIONAL(USE_NLS, [test x"$USE_NLS" = xyes])
  445. AM_CONDITIONAL(USE_MAINTAINER_MODE, [test x"$USE_MAINTAINER_MODE" = xyes])
  446. AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
  447. AM_CONDITIONAL(USE_INTERNAL_EDIT, [test x"$use_internal_edit" = xyes ])
  448. AM_CONDITIONAL(USE_ASPELL, [test x"$enable_aspell" = xyes ])
  449. AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
  450. AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
  451. AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
  452. dnl Clarify do we really need GModule
  453. AM_CONDITIONAL([HAVE_GMODULE], [test -n "$g_module_supported" && \
  454. test x"$textmode_x11_support" = x"yes" -o x"$enable_aspell" = x"yes"])
  455. AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS], ["$ac_configure_args"], [MC configure arguments])
  456. AC_CONFIG_FILES(
  457. [
  458. src/man2hlp/man2hlp
  459. ],
  460. [
  461. chmod +x src/man2hlp/man2hlp
  462. ])
  463. AC_CONFIG_FILES([
  464. Makefile
  465. contrib/Makefile
  466. contrib/dist/Makefile
  467. contrib/dist/gentoo/Makefile
  468. contrib/dist/redhat/Makefile
  469. contrib/dist/redhat/mc.spec
  470. contrib/dist/pkginfo
  471. contrib/dist/prototype
  472. misc/Makefile
  473. misc/mc.charsets
  474. misc/mc.menu
  475. misc/mcedit.menu
  476. misc/skins/Makefile
  477. misc/ext.d/Makefile
  478. misc/ext.d/doc.sh
  479. misc/ext.d/misc.sh
  480. misc/ext.d/text.sh
  481. misc/ext.d/web.sh
  482. misc/macros.d/Makefile
  483. misc/mc.ext
  484. src/Makefile
  485. src/consaver/Makefile
  486. src/editor/Makefile
  487. src/man2hlp/Makefile
  488. src/subshell/Makefile
  489. src/viewer/Makefile
  490. src/diffviewer/Makefile
  491. src/filemanager/Makefile
  492. src/vfs/Makefile
  493. src/vfs/cpio/Makefile
  494. src/vfs/extfs/Makefile
  495. src/vfs/extfs/helpers/Makefile
  496. src/vfs/extfs/helpers/a+
  497. src/vfs/extfs/helpers/apt+
  498. src/vfs/extfs/helpers/audio
  499. src/vfs/extfs/helpers/deb
  500. src/vfs/extfs/helpers/deba
  501. src/vfs/extfs/helpers/debd
  502. src/vfs/extfs/helpers/dpkg+
  503. src/vfs/extfs/helpers/iso9660
  504. src/vfs/extfs/helpers/hp48+
  505. src/vfs/extfs/helpers/lslR
  506. src/vfs/extfs/helpers/mailfs
  507. src/vfs/extfs/helpers/patchfs
  508. src/vfs/extfs/helpers/rpms+
  509. src/vfs/extfs/helpers/s3+
  510. src/vfs/extfs/helpers/uace
  511. src/vfs/extfs/helpers/ualz
  512. src/vfs/extfs/helpers/uar
  513. src/vfs/extfs/helpers/uarc
  514. src/vfs/extfs/helpers/uarj
  515. src/vfs/extfs/helpers/ucab
  516. src/vfs/extfs/helpers/uha
  517. src/vfs/extfs/helpers/ulha
  518. src/vfs/extfs/helpers/ulib
  519. src/vfs/extfs/helpers/urar
  520. src/vfs/extfs/helpers/uzip
  521. src/vfs/extfs/helpers/uzoo
  522. src/vfs/fish/Makefile
  523. src/vfs/fish/helpers/Makefile
  524. src/vfs/ftpfs/Makefile
  525. src/vfs/sftpfs/Makefile
  526. src/vfs/local/Makefile
  527. src/vfs/sfs/Makefile
  528. src/vfs/smbfs/Makefile
  529. src/vfs/tar/Makefile
  530. src/vfs/undelfs/Makefile
  531. lib/Makefile
  532. lib/event/Makefile
  533. lib/filehighlight/Makefile
  534. lib/mcconfig/Makefile
  535. lib/search/Makefile
  536. lib/skin/Makefile
  537. lib/strutil/Makefile
  538. lib/tty/Makefile
  539. lib/vfs/Makefile
  540. lib/widget/Makefile
  541. misc/syntax/Makefile
  542. misc/syntax/Syntax
  543. doc/Makefile
  544. doc/hints/Makefile
  545. doc/hints/l10n/Makefile
  546. doc/man/Makefile
  547. doc/man/es/Makefile
  548. doc/man/hu/Makefile
  549. doc/man/it/Makefile
  550. doc/man/pl/Makefile
  551. doc/man/ru/Makefile
  552. doc/man/sr/Makefile
  553. doc/hlp/Makefile
  554. doc/hlp/es/Makefile
  555. doc/hlp/hu/Makefile
  556. doc/hlp/it/Makefile
  557. doc/hlp/pl/Makefile
  558. doc/hlp/ru/Makefile
  559. doc/hlp/sr/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