configure.ac 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. dnl
  2. dnl Configure.in file for the Midnight Commander
  3. dnl
  4. AC_INIT([GNU Midnight Commander], [], [mc-devel@gnome.org])
  5. AC_PREREQ(2.60)
  6. m4_pattern_forbid(MC_)
  7. AC_CONFIG_MACRO_DIR([m4])
  8. AC_CONFIG_SRCDIR(src/main.c)
  9. AC_CONFIG_AUX_DIR(config)
  10. MC_VERSION
  11. AM_INIT_AUTOMAKE(mc, ${VERSION} )
  12. LIBMC_VERSION="0.0.1"
  13. LIBMC_RELEASE="1"
  14. AC_SUBST(LIBMC_VERSION)
  15. AC_SUBST(LIBMC_RELEASE)
  16. dnl Enable silent rules by default (if yes)
  17. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  18. AM_CONFIG_HEADER(config.h)
  19. AM_MAINTAINER_MODE
  20. AC_CANONICAL_HOST
  21. AC_USE_SYSTEM_EXTENSIONS
  22. AC_DEFINE_UNQUOTED([MC_CONFIGURE_ARGS],["$ac_configure_args"],[MC configure arguments])
  23. AC_PROG_LIBTOOL
  24. PKG_PROG_PKG_CONFIG
  25. AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
  26. AC_PATH_PROG([PYTHON], [python], [/usr/bin/python])
  27. AC_PATH_PROG([RUBY], [ruby], [/usr/bin/ruby])
  28. AC_ISC_POSIX
  29. AC_PROG_CC_STDC
  30. AM_PROG_CC_C_O
  31. dnl Doxygen
  32. DX_HTML_FEATURE(ON)
  33. DX_CHM_FEATURE(OFF)
  34. DX_CHI_FEATURE(OFF)
  35. DX_MAN_FEATURE(OFF)
  36. DX_RTF_FEATURE(OFF)
  37. DX_XML_FEATURE(OFF)
  38. DX_PDF_FEATURE(OFF)
  39. DX_PS_FEATURE(OFF)
  40. DX_INIT_DOXYGEN(mc,doxygen.cfg,devel)
  41. dnl PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
  42. AC_CHECK_GLIB
  43. AC_ARG_ENABLE([mclib],
  44. [AS_HELP_STRING([--enable-mclib], [Compile shared library libmc.so @<:@no@:>@])],
  45. [
  46. if test "x$enableval" = "xno" ; then
  47. enable_mclib=no
  48. else
  49. if test "x$enable_shared" = "xno" ; then
  50. AC_MSG_WARN([Build of shared library is disabled. Specify --enable-shared first])
  51. enable_mclib=no
  52. else
  53. enable_mclib=yes
  54. fi
  55. fi
  56. ],
  57. [enable_mclib=no])
  58. AM_CONDITIONAL([ENABLE_MCLIB], [test x$enable_mclib = xyes])
  59. AC_HEADER_MAJOR
  60. AC_C_CONST
  61. dnl Check this before type sizeof checks
  62. AC_SYS_LARGEFILE
  63. AC_PROG_LN_S
  64. AC_CHECK_TOOL(AR, ar, ar)
  65. dnl Only list browsers here that can be run in background (i.e. with `&')
  66. AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla firefox konqueror opera])
  67. dnl
  68. dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
  69. dnl We use only part of the functionality of mmap, so on AIX,
  70. dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
  71. dnl
  72. AC_ARG_WITH(mmap,
  73. [ --with-mmap Use the mmap call [[yes if found]]])
  74. if test x$with_mmap != xno; then
  75. if test x$with_mmap = x; then
  76. AC_FUNC_MMAP
  77. else
  78. AC_DEFINE(HAVE_MMAP, 1)
  79. fi
  80. fi
  81. dnl
  82. dnl Internationalization
  83. dnl
  84. AM_GNU_GETTEXT(no-libtool, need-ngettext)
  85. AM_GNU_GETTEXT_VERSION(0.14.3)
  86. if test "x$USE_INCLUDED_LIBINTL" = xyes; then
  87. CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
  88. fi
  89. dnl Determine which help translations we want to install.
  90. ALL_DOC_LINGUAS="es hu it pl ru sr"
  91. DOC_LINGUAS=
  92. if test "x$USE_NLS" = xyes; then
  93. if test -z "$LINGUAS"; then
  94. langs="`grep -v '^#' $srcdir/po/LINGUAS`"
  95. else
  96. langs="$LINGUAS"
  97. fi
  98. else
  99. langs=
  100. fi
  101. for h_lang in $ALL_DOC_LINGUAS; do
  102. for lang in $langs; do
  103. if test "$lang" = "$h_lang"; then
  104. DOC_LINGUAS="$DOC_LINGUAS $lang"
  105. break
  106. fi
  107. done
  108. done
  109. AC_SUBST(DOC_LINGUAS)
  110. dnl
  111. dnl OS specific flags.
  112. dnl
  113. case $host_os in
  114. aux*)
  115. # A/UX
  116. LIBS="$LIBS -lposix"
  117. AC_DEFINE(_POSIX_SOURCE)
  118. ;;
  119. esac
  120. AC_PROG_INSTALL
  121. AC_CHECK_HEADERS([unistd.h string.h memory.h limits.h malloc.h \
  122. utime.h fcntl.h sys/statfs.h sys/vfs.h sys/time.h \
  123. sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
  124. sys/socket.h sys/sysmacros.h sys/types.h sys/mkdev.h])
  125. AC_HEADER_TIME
  126. AC_HEADER_DIRENT
  127. AC_HEADER_ASSERT
  128. dnl Missing structure components
  129. AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
  130. AC_STRUCT_ST_BLOCKS
  131. dnl
  132. dnl Check availability of some functions
  133. dnl
  134. AC_CHECK_FUNCS([\
  135. isascii \
  136. statfs sysconf \
  137. tcgetattr tcsetattr \
  138. ftruncate \
  139. strverscmp \
  140. strncasecmp \
  141. realpath
  142. ])
  143. dnl
  144. dnl getpt is a GNU Extension (glibc 2.1.x)
  145. dnl
  146. AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
  147. AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
  148. dnl replacing lstat with statlstat on sco makes it more portable between
  149. dnl sco clones
  150. AC_CHECK_FUNCS(statlstat)
  151. dnl
  152. dnl If running under AIX, AC_AIX does not tell us that
  153. dnl
  154. AC_MSG_CHECKING([for AIX defines])
  155. AC_EGREP_CPP(yes,
  156. [#if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
  157. yes
  158. #endif
  159. ], [
  160. AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
  161. AC_MSG_RESULT(yes)
  162. ], [AC_MSG_RESULT(no)])
  163. dnl
  164. dnl Missing typedefs and replacements
  165. dnl
  166. AC_CHECK_SIZEOF(long)
  167. AC_TYPE_UINTMAX_T
  168. AC_CHECK_SIZEOF(uintmax_t)
  169. AC_TYPE_OFF_T
  170. AC_CHECK_SIZEOF(off_t)
  171. AC_TYPE_MODE_T
  172. AC_TYPE_PID_T
  173. AC_TYPE_UID_T
  174. AH_TEMPLATE([sig_atomic_t],
  175. [/* Define to `int' if <signal.h> doesn't define.])
  176. AH_TEMPLATE([SIG_ATOMIC_VOLATILE_T],
  177. [Some systems declare sig_atomic_t as volatile, some others -- no.
  178. This define will have value `sig_atomic_t' or
  179. `volatile sig_atomic_t' accordingly.])
  180. AC_MSG_CHECKING(for sig_atomic_t in signal.h)
  181. AC_EGREP_HEADER(sig_atomic_t,signal.h,
  182. [
  183. ac_cv_type_sig_atomic_t=yes;
  184. AC_EGREP_HEADER(volatile.*sig_atomic_t,
  185. signal.h,
  186. [
  187. is_sig_atomic_t_volatile=yes;
  188. AC_MSG_RESULT([yes, volatile])
  189. ],
  190. [
  191. is_sig_atomic_t_volatile=no;
  192. AC_MSG_RESULT([yes, non volatile])
  193. ])
  194. ],
  195. [
  196. AC_MSG_RESULT(no)
  197. AC_CHECK_TYPE(sig_atomic_t, int)
  198. is_sig_atomic_t_volatile=no
  199. ])
  200. if test $is_sig_atomic_t_volatile = 'yes'
  201. then
  202. AC_DEFINE(SIG_ATOMIC_VOLATILE_T, sig_atomic_t)
  203. else
  204. AC_DEFINE(SIG_ATOMIC_VOLATILE_T, [volatile sig_atomic_t])
  205. fi
  206. AC_FUNC_STRCOLL
  207. mc_AC_GET_FS_INFO
  208. dnl
  209. dnl X11 support.
  210. dnl Used to read keyboard modifiers when running under X11.
  211. AC_PATH_XTRA
  212. dnl
  213. dnl Check if the gmodule functionality supported on this system.
  214. AC_G_MODULE_SUPPORTED
  215. dnl
  216. dnl Sequent wants getprocessstats
  217. dnl
  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. AC_MC_VFS_CHECKS
  224. dnl
  225. dnl Check for gpm mouse support (Linux only)
  226. dnl
  227. mouse_lib="xterm only"
  228. AC_ARG_WITH(gpm-mouse,
  229. [ --with-gpm-mouse Compile with gpm mouse support (Linux only)
  230. [[yes if found]]])
  231. case $host_os in
  232. linux*)
  233. if test x$with_gpm_mouse != xno; then
  234. AC_CHECK_LIB(gpm, Gpm_Repeat,
  235. [AC_DEFINE(HAVE_LIBGPM, 1,
  236. [Define to enable gpm mouse support on Linux])
  237. mouse_lib="gpm and xterm"
  238. MCLIBS="$MCLIBS -lgpm"],
  239. if test "x$with_gpm_mouse" = "xyes"; then
  240. [AC_MSG_ERROR([libgpm is missing or older than 0.18])]
  241. else
  242. [AC_MSG_WARN([libgpm is missing or older than 0.18])]
  243. fi
  244. )
  245. fi
  246. ;;
  247. esac
  248. MC_CHECK_SEARCH_TYPE
  249. dnl
  250. dnl Check nroff and the options it supports
  251. dnl
  252. AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
  253. dnl Default values
  254. MANDOC=-man
  255. MAN_FLAGS=
  256. if $HAVE_nroff; then
  257. AC_MSG_CHECKING([for manual formatting macros])
  258. AC_CACHE_VAL(mc_cv_mandoc, [
  259. nroff -mandoc < /dev/null > /dev/null 2>&1
  260. if test $? = 0; then
  261. mc_cv_mandoc=-mandoc
  262. else
  263. mc_cv_mandoc=-man
  264. fi
  265. ])
  266. MANDOC=$mc_cv_mandoc
  267. AC_MSG_RESULT([$MANDOC])
  268. AC_MSG_CHECKING([for option to disable ANSI color in manuals])
  269. AC_CACHE_VAL(mc_cv_man_nocolor, [
  270. nroff -c < /dev/null > /dev/null 2>&1
  271. if test $? = 0; then
  272. mc_cv_man_nocolor=-c
  273. else
  274. mc_cv_man_nocolor=
  275. fi
  276. ])
  277. MAN_FLAGS=$mc_cv_man_nocolor
  278. AC_MSG_RESULT([${MAN_NOCOLOR-none}])
  279. AC_MSG_CHECKING([if nroff accepts -Tlatin1 or -Tascii])
  280. AC_CACHE_VAL(mc_cv_nroff_tascii, [
  281. mc_cv_nroff_tascii=
  282. nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
  283. if test $? = 0; then
  284. mc_cv_nroff_tascii=-Tlatin1
  285. else
  286. nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
  287. if test $? = 0; then
  288. mc_cv_nroff_tascii=-Tascii
  289. fi
  290. fi
  291. ])
  292. AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
  293. MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii"
  294. fi
  295. AC_SUBST(MANDOC)
  296. AC_SUBST(MAN_FLAGS)
  297. dnl
  298. dnl Check for -L option to file
  299. dnl
  300. AC_CHECK_PROG(HAVE_FILECMD, file, true, false)
  301. if $HAVE_FILECMD; then
  302. AC_MSG_CHECKING([for -L option to file command])
  303. AC_CACHE_VAL(mc_cv_filel, [
  304. file -L . > /dev/null 2>&1
  305. if test $? = 0; then
  306. mc_cv_filel=yes
  307. else
  308. mc_cv_filel=no
  309. fi
  310. ])
  311. if test x$mc_cv_filel = xyes; then
  312. AC_DEFINE(FILE_L, 1, [Define if the file command accepts the -L option])
  313. fi
  314. filel=$mc_cv_filel
  315. AC_MSG_RESULT([$filel])
  316. fi
  317. AC_MSG_CHECKING([for subshell support])
  318. AC_ARG_WITH(subshell,
  319. [ --with-subshell Compile in concurrent subshell [[yes]]
  320. --with-subshell=optional Don't run concurrent shell by default [[no]]],
  321. [result=no
  322. if test x$withval = xoptional
  323. then
  324. AC_DEFINE(SUBSHELL_OPTIONAL, 1,
  325. [Define to make subshell support optional])
  326. result="optional"
  327. fi
  328. if test x$withval = xyes
  329. then
  330. result="yes"
  331. fi],
  332. [dnl Default: enable the subshell support
  333. result="yes"
  334. ])
  335. if test "x$result" != xno; then
  336. AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
  337. [Define to enable subshell support])
  338. fi
  339. AM_CONDITIONAL(HAVE_SUBSHELL_SUPPORT, [test "x$result" != xno])
  340. AC_MSG_RESULT([$result])
  341. subshell="$result"
  342. MC_WITH_SCREEN
  343. dnl
  344. dnl Internal editor support.
  345. dnl
  346. AC_ARG_WITH(edit,
  347. [ --with-edit Enable internal editor [[yes]]])
  348. if test x$with_edit != xno; then
  349. AC_DEFINE(USE_INTERNAL_EDIT, 1, [Define to enable internal editor])
  350. use_edit=yes
  351. edit_msg="yes"
  352. AC_MSG_NOTICE([using internal editor])
  353. else
  354. edit_msg="no"
  355. fi
  356. dnl
  357. dnl Diff viewer support.
  358. dnl
  359. AC_ARG_WITH(diff_viewer,
  360. [ --with-diff-viewer Compile with diff viewer [[yes]]])
  361. if test x$with_diff_viewer != xno; then
  362. AC_DEFINE(USE_DIFF_VIEW, 1, [Define to enable diff viewer])
  363. use_diff=yes
  364. diff_msg="yes"
  365. AC_MSG_NOTICE([using diff viewer])
  366. else
  367. diff_msg="no"
  368. fi
  369. dnl Check if the OS is supported by the console saver.
  370. cons_saver=""
  371. case $host_os in
  372. linux*)
  373. cons_saver=yes
  374. esac
  375. dnl
  376. dnl Where config files should be placed
  377. dnl
  378. AC_ARG_WITH([homedir],
  379. AS_HELP_STRING([--with-homedir], [Choose any place of user settings relative to home dir, or XDG for respect XDG standards @<:@XDG@:>@]),
  380. [
  381. if test "x$withval" = "xXDG"; then
  382. with_homedir=XDG
  383. else
  384. with_homedir=$withval
  385. fi
  386. ],
  387. [with_homedir=XDG])
  388. if test x$with_homedir = xXDG; then
  389. AC_DEFINE(MC_HOMEDIR_XDG, 1,
  390. [Define to enable XDG standard support])
  391. else
  392. AC_DEFINE_UNQUOTED([MC_USERCONF_DIR], ["$with_homedir"], [Where configs will be placed relative to $HOME])
  393. fi
  394. MC_BACKGROUND
  395. dnl
  396. dnl User visible support for charset conversion.
  397. dnl
  398. AC_ARG_ENABLE([charset],
  399. [ --enable-charset Support for charset selection and conversion [[yes]]])
  400. have_charset=
  401. charset_msg="no"
  402. if test "x$enable_charset" != "xno"; then
  403. AC_DEFINE(HAVE_CHARSET, 1,
  404. [Define to enable charset selection and conversion])
  405. have_charset=yes
  406. charset_msg="yes"
  407. fi
  408. if test "$GLIBC21" != yes; then
  409. AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
  410. fi
  411. MC_CHECK_CFLAGS
  412. CFLAGS_OPTS=""
  413. if test "x$CFLAGS" = "x"; then
  414. CFLAGS_OPTS=" -O2 "
  415. fi
  416. if test x$USE_MAINTAINER_MODE = xyes; then
  417. CFLAGS_OPTS="-g3 -O -ggdb"
  418. AC_DEFINE(USE_MAINTAINER_MODE, 1, [Use maintainer mode])
  419. fi
  420. AC_ARG_ENABLE(
  421. [werror],
  422. AS_HELP_STRING([--enable-werror], [Handle all compiler warnings as errors])
  423. )
  424. if test "x$enable_werror" = xyes; then
  425. MC_CHECK_ONE_CFLAG([-Werror])
  426. fi
  427. CFLAGS="$mc_configured_cflags $CFLAGS_OPTS $CFLAGS"
  428. MC_UNIT_TESTS
  429. AC_SUBST(CFLAGS)
  430. AC_SUBST(CPPFLAGS)
  431. AC_SUBST(LDFLAGS)
  432. AC_SUBST(LIBS)
  433. dnl Libraries used only when building the mc binary
  434. AC_SUBST(MCLIBS)
  435. MAN_DATE="$(LC_ALL=C date "+%B %Y")"
  436. AC_SUBST(MAN_DATE)
  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_EDIT, [test -n "$use_edit"])
  441. AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
  442. AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
  443. AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
  444. AC_CONFIG_FILES(
  445. [
  446. src/man2hlp/man2hlp
  447. ],
  448. [
  449. chmod +x src/man2hlp/man2hlp
  450. ])
  451. AC_CONFIG_FILES([
  452. Makefile
  453. contrib/Makefile
  454. contrib/dist/Makefile
  455. contrib/dist/gentoo/Makefile
  456. contrib/dist/redhat/Makefile
  457. contrib/dist/redhat/mc.spec
  458. contrib/dist/pkginfo
  459. contrib/dist/prototype
  460. misc/Makefile
  461. misc/skins/Makefile
  462. misc/macros.d/Makefile
  463. misc/mc.ext
  464. src/Makefile
  465. src/consaver/Makefile
  466. src/editor/Makefile
  467. src/man2hlp/Makefile
  468. src/viewer/Makefile
  469. src/diffviewer/Makefile
  470. src/filemanager/Makefile
  471. src/vfs/Makefile
  472. src/vfs/cpio/Makefile
  473. src/vfs/extfs/Makefile
  474. src/vfs/extfs/helpers/Makefile
  475. src/vfs/extfs/helpers/a+
  476. src/vfs/extfs/helpers/apt+
  477. src/vfs/extfs/helpers/audio
  478. src/vfs/extfs/helpers/deb
  479. src/vfs/extfs/helpers/deba
  480. src/vfs/extfs/helpers/debd
  481. src/vfs/extfs/helpers/dpkg+
  482. src/vfs/extfs/helpers/iso9660
  483. src/vfs/extfs/helpers/hp48+
  484. src/vfs/extfs/helpers/lslR
  485. src/vfs/extfs/helpers/mailfs
  486. src/vfs/extfs/helpers/patchfs
  487. src/vfs/extfs/helpers/rpms+
  488. src/vfs/extfs/helpers/s3+
  489. src/vfs/extfs/helpers/uace
  490. src/vfs/extfs/helpers/ualz
  491. src/vfs/extfs/helpers/uar
  492. src/vfs/extfs/helpers/uarc
  493. src/vfs/extfs/helpers/uarj
  494. src/vfs/extfs/helpers/uc1541
  495. src/vfs/extfs/helpers/ucab
  496. src/vfs/extfs/helpers/uha
  497. src/vfs/extfs/helpers/ulha
  498. src/vfs/extfs/helpers/urar
  499. src/vfs/extfs/helpers/uzip
  500. src/vfs/extfs/helpers/uzoo
  501. src/vfs/fish/Makefile
  502. src/vfs/fish/helpers/Makefile
  503. src/vfs/ftpfs/Makefile
  504. src/vfs/local/Makefile
  505. src/vfs/sfs/Makefile
  506. src/vfs/smbfs/Makefile
  507. src/vfs/tar/Makefile
  508. src/vfs/undelfs/Makefile
  509. lib/Makefile
  510. lib/event/Makefile
  511. lib/filehighlight/Makefile
  512. lib/mcconfig/Makefile
  513. lib/search/Makefile
  514. lib/skin/Makefile
  515. lib/strutil/Makefile
  516. lib/tty/Makefile
  517. lib/vfs/Makefile
  518. lib/widget/Makefile
  519. misc/syntax/Makefile
  520. misc/syntax/Syntax
  521. doc/Makefile
  522. doc/hints/Makefile
  523. doc/man/Makefile
  524. doc/man/es/Makefile
  525. doc/man/hu/Makefile
  526. doc/man/it/Makefile
  527. doc/man/pl/Makefile
  528. doc/man/ru/Makefile
  529. doc/man/sr/Makefile
  530. doc/hlp/Makefile
  531. doc/hlp/es/Makefile
  532. doc/hlp/hu/Makefile
  533. doc/hlp/it/Makefile
  534. doc/hlp/pl/Makefile
  535. doc/hlp/ru/Makefile
  536. doc/hlp/sr/Makefile
  537. intl/Makefile
  538. po/Makefile.in
  539. ])
  540. if test x$enable_tests != xno; then
  541. AC_CONFIG_FILES([
  542. tests/Makefile
  543. tests/lib/Makefile
  544. tests/lib/mcconfig/Makefile
  545. tests/lib/search/Makefile
  546. tests/lib/vfs/Makefile
  547. tests/src/Makefile
  548. tests/src/filemanager/Makefile
  549. ])
  550. fi
  551. AC_OUTPUT
  552. AC_MSG_NOTICE([
  553. Configuration:
  554. Source code location: ${srcdir}
  555. Compiler: ${CC}
  556. Compiler flags: ${CFLAGS}
  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. ])