configure.ac 18 KB

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