configure.ac 17 KB

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