configure.ac 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  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. AM_CONFIG_HEADER(config.h)
  13. AM_MAINTAINER_MODE
  14. AC_CANONICAL_HOST
  15. AC_USE_SYSTEM_EXTENSIONS
  16. AC_PROG_LIBTOOL
  17. AC_ISC_POSIX
  18. AC_PROG_CC_STDC
  19. dnl Doxygen
  20. DX_HTML_FEATURE(ON)
  21. DX_CHM_FEATURE(OFF)
  22. DX_CHI_FEATURE(OFF)
  23. DX_MAN_FEATURE(OFF)
  24. DX_RTF_FEATURE(OFF)
  25. DX_XML_FEATURE(OFF)
  26. DX_PDF_FEATURE(OFF)
  27. DX_PS_FEATURE(OFF)
  28. DX_INIT_DOXYGEN(mc,doxygen.cfg,devel)
  29. dnl PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
  30. dnl
  31. dnl First try glib 2.x.
  32. dnl Keep this check close to the beginning, so that the users
  33. dnl without any glib won't have their time wasted by other checks.
  34. dnl
  35. AC_ARG_WITH([glib_static],
  36. [ --with-glib-static Link glib statically [[no]]])
  37. glib_found=no
  38. PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:])
  39. if test x"$glib_found" = xno; then
  40. AC_MSG_ERROR([glib-2.0 not found or version too old (must be >= 2.6)])
  41. fi
  42. PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes])
  43. GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`"
  44. if test "x$gmodule_found" = "xyes" ; then
  45. dnl Check if the gmodule functionality supported on this system.
  46. AC_G_MODULE_SUPPORTED
  47. fi
  48. AC_HEADER_MAJOR
  49. AC_C_CONST
  50. AC_SYS_LARGEFILE
  51. AC_PROG_LN_S
  52. AC_CHECK_TOOL(AR, ar, ar)
  53. dnl Only list browsers here that can be run in background (i.e. with `&')
  54. AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
  55. dnl
  56. dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
  57. dnl We use only part of the functionality of mmap, so on AIX,
  58. dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
  59. dnl
  60. AC_ARG_WITH(mmap,
  61. [ --with-mmap Use the mmap call [[yes if found]]])
  62. if test x$with_mmap != xno; then
  63. if test x$with_mmap = x; then
  64. AC_FUNC_MMAP
  65. else
  66. AC_DEFINE(HAVE_MMAP, 1)
  67. fi
  68. fi
  69. dnl
  70. dnl Internationalization
  71. dnl
  72. AM_GNU_GETTEXT(no-libtool, need-ngettext)
  73. AM_GNU_GETTEXT_VERSION(0.14.3)
  74. if test "x$USE_INCLUDED_LIBINTL" = xyes; then
  75. CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
  76. fi
  77. dnl Determine which help translations we want to install.
  78. ALL_DOC_LINGUAS="es hu it pl ru sr"
  79. DOC_LINGUAS=
  80. if test "x$USE_NLS" = xyes; then
  81. if test -z "$LINGUAS"; then
  82. langs="`grep -v '^#' $srcdir/po/LINGUAS`"
  83. else
  84. langs="$LINGUAS"
  85. fi
  86. else
  87. langs=
  88. fi
  89. for h_lang in $ALL_DOC_LINGUAS; do
  90. for lang in $langs; do
  91. if test "$lang" = "$h_lang"; then
  92. DOC_LINGUAS="$DOC_LINGUAS $lang"
  93. break
  94. fi
  95. done
  96. done
  97. AC_SUBST(DOC_LINGUAS)
  98. dnl
  99. dnl OS specific flags.
  100. dnl
  101. case $host_os in
  102. aux*)
  103. # A/UX
  104. LIBS="$LIBS -lposix"
  105. AC_DEFINE(_POSIX_SOURCE)
  106. ;;
  107. esac
  108. dnl Extended Character Sets
  109. dnl
  110. AC_ARG_ENABLE([extcharset],
  111. AC_HELP_STRING([--enable-extcharset], [Enable extended character sets]))
  112. if test x"$enable_extcharset" = x"yes"; then
  113. AC_DEFINE([EXTCHARSET_ENABLED], 1, [Enable extended character sets?])
  114. fi
  115. AC_PROG_INSTALL
  116. AC_CHECK_HEADERS([unistd.h string.h memory.h grp.h limits.h malloc.h \
  117. stdlib.h termios.h utime.h fcntl.h pwd.h sys/statfs.h sys/vfs.h sys/time.h \
  118. sys/timeb.h sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
  119. security/pam_misc.h sys/socket.h sys/sysmacros.h sys/types.h \
  120. sys/mkdev.h wchar.h wctype.h])
  121. AC_HEADER_TIME
  122. AC_HEADER_SYS_WAIT
  123. AC_HEADER_DIRENT
  124. AC_HEADER_STDC
  125. dnl Missing structure components
  126. AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
  127. AC_STRUCT_ST_BLOCKS
  128. dnl
  129. dnl Check availability of some functions
  130. dnl
  131. AC_CHECK_FUNCS([\
  132. atoll \
  133. cfgetospeed \
  134. getegid geteuid getgid getsid getuid \
  135. initgroups isascii \
  136. memcpy memset \
  137. putenv \
  138. setreuid setuid statfs strerror strftime sysconf \
  139. tcgetattr tcsetattr truncate \
  140. ])
  141. dnl
  142. dnl getpt is a GNU Extension (glibc 2.1.x)
  143. dnl
  144. AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
  145. AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
  146. dnl replacing lstat with statlstat on sco makes it more portable between
  147. dnl sco clones
  148. AC_CHECK_FUNCS(statlstat)
  149. dnl
  150. dnl If running under AIX, AC_AIX does not tell us that
  151. dnl
  152. AC_MSG_CHECKING([for AIX defines])
  153. AC_EGREP_CPP(yes,
  154. [#if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
  155. yes
  156. #endif
  157. ], [
  158. AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
  159. AC_MSG_RESULT(yes)
  160. ], [AC_MSG_RESULT(no)])
  161. dnl
  162. dnl This is from GNU fileutils, check aclocal.m4 for more information
  163. dnl
  164. AC_GET_FS_INFO
  165. dnl
  166. dnl Missing typedefs and replacements
  167. dnl
  168. AC_CHECK_SIZEOF(long)
  169. AC_CHECK_SIZEOF(long long)
  170. AC_TYPE_MODE_T
  171. AC_TYPE_OFF_T
  172. AC_CHECK_SIZEOF(off_t)
  173. AC_TYPE_PID_T
  174. AC_TYPE_UID_T
  175. AC_CHECK_TYPE(nlink_t, unsigned int)
  176. AC_CHECK_TYPES([socklen_t],,,
  177. [
  178. #include <sys/types.h>
  179. #include <sys/socket.h>
  180. ])
  181. dnl This is needed for regex.c only
  182. AC_CHECK_TYPE(uintptr_t,
  183. [AC_DEFINE(HAVE_UINTPTR_T, 1,
  184. [Define if you have the `uintptr_t' type.])
  185. ])
  186. AC_FUNC_ALLOCA
  187. AC_FUNC_STRCOLL
  188. dnl
  189. dnl X11 support.
  190. dnl Used to read keyboard modifiers when running under X11.
  191. dnl
  192. AC_PATH_XTRA
  193. if test "x$no_x" = xyes; then
  194. textmode_x11_support="no"
  195. else
  196. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  197. if test "x$mc_cv_g_module_supported" = "xyes" ; then
  198. dnl Replace the contents of GLIB_CFLAGS and GLIB_LIBS with those of
  199. dnl GMODULE_CFLAGS and GMODULE_LIBS, only if X is available and gmodule
  200. dnl functionality is supported on the system. This way, mc will be
  201. dnl linked against the gmodule library only when it's really required.
  202. GLIB_CFLAGS="$GMODULE_CFLAGS"
  203. GLIB_LIBS="$GMODULE_LIBS"
  204. else
  205. MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
  206. fi
  207. AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
  208. [Define to enable getting events from X Window System])
  209. textmode_x11_support="yes"
  210. fi
  211. dnl
  212. dnl Try to find static libraries for glib and gmodule.
  213. dnl
  214. if test x$with_glib_static = xyes; then
  215. new_GLIB_LIBS=
  216. for i in $GLIB_LIBS; do
  217. case x$i in
  218. x-lglib*)
  219. lib=glib ;;
  220. x-lgmodule*)
  221. lib=gmodule ;;
  222. *)
  223. lib=
  224. add="$i" ;;
  225. esac
  226. if test -n "$lib"; then
  227. lib1=`echo $i | sed 's/^-l//'`
  228. if test -f "$GLIB_LIBDIR/lib${lib1}.a"; then
  229. add="$GLIB_LIBDIR/lib${lib1}.a"
  230. else
  231. if test -f "$GLIB_LIBDIR/lib${lib}.a"; then
  232. add="$GLIB_LIBDIR/lib${lib}.a"
  233. else
  234. AC_MSG_ERROR([Cannot find static $lib])
  235. fi
  236. fi
  237. fi
  238. new_GLIB_LIBS="$new_GLIB_LIBS $add"
  239. done
  240. GLIB_LIBS="$new_GLIB_LIBS"
  241. fi
  242. dnl
  243. dnl Network related functions
  244. dnl
  245. AC_SEARCH_LIBS([socket], [socket])
  246. AC_SEARCH_LIBS([gethostbyname], [nsl])
  247. dnl
  248. dnl Sequent wants getprocessstats
  249. dnl
  250. AC_CHECK_LIB(seq, get_process_stats, [
  251. LIBS="$LIBS -lseq"
  252. AC_DEFINE(HAVE_GET_PROCESS_STATS, 1,
  253. [Define if you have function `get_process_stats' and
  254. have to use that instead of gettimeofday])])
  255. AC_MC_VFS_CHECKS
  256. vfs_type="normal"
  257. if test x$use_vfs = xyes; then
  258. AC_MSG_NOTICE([enabling VFS code])
  259. vfs_type="Midnight Commander Virtual File System"
  260. fi
  261. dnl
  262. dnl Check for gpm mouse support (Linux only)
  263. dnl
  264. mouse_lib="xterm only"
  265. AC_ARG_WITH(gpm-mouse,
  266. [ --with-gpm-mouse Compile with gpm mouse support (Linux only)
  267. [[yes if found]]])
  268. case $host_os in
  269. linux*)
  270. if test x$with_gpm_mouse != xno; then
  271. AC_CHECK_LIB(gpm, Gpm_Repeat,
  272. [AC_DEFINE(HAVE_LIBGPM, 1,
  273. [Define to enable gpm mouse support on Linux])
  274. mouse_lib="gpm and xterm"
  275. MCLIBS="$MCLIBS -lgpm"],
  276. if test "x$with_gpm_mouse" = "xyes"; then
  277. [AC_MSG_ERROR([libgpm is missing or older than 0.18])]
  278. else
  279. [AC_MSG_WARN([libgpm is missing or older than 0.18])]
  280. fi
  281. )
  282. fi
  283. ;;
  284. esac
  285. MC_CHECK_SEARCH_TYPE
  286. dnl
  287. dnl Check nroff and the options it supports
  288. dnl
  289. AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
  290. dnl Default values
  291. MANDOC=-man
  292. MAN_FLAGS=
  293. if $HAVE_nroff; then
  294. AC_MSG_CHECKING([for manual formatting macros])
  295. AC_CACHE_VAL(mc_cv_mandoc, [
  296. nroff -mandoc < /dev/null > /dev/null 2>&1
  297. if test $? = 0; then
  298. mc_cv_mandoc=-mandoc
  299. else
  300. mc_cv_mandoc=-man
  301. fi
  302. ])
  303. MANDOC=$mc_cv_mandoc
  304. AC_MSG_RESULT([$MANDOC])
  305. AC_MSG_CHECKING([for option to disable ANSI color in manuals])
  306. AC_CACHE_VAL(mc_cv_man_nocolor, [
  307. nroff -c < /dev/null > /dev/null 2>&1
  308. if test $? = 0; then
  309. mc_cv_man_nocolor=-c
  310. else
  311. mc_cv_man_nocolor=
  312. fi
  313. ])
  314. MAN_FLAGS=$mc_cv_man_nocolor
  315. AC_MSG_RESULT([${MAN_NOCOLOR-none}])
  316. AC_MSG_CHECKING([if nroff accepts -Tlatin1 or -Tascii])
  317. AC_CACHE_VAL(mc_cv_nroff_tascii, [
  318. mc_cv_nroff_tascii=
  319. nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
  320. if test $? = 0; then
  321. mc_cv_nroff_tascii=-Tlatin1
  322. else
  323. nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
  324. if test $? = 0; then
  325. mc_cv_nroff_tascii=-Tascii
  326. fi
  327. fi
  328. ])
  329. AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
  330. MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii"
  331. fi
  332. AC_SUBST(MANDOC)
  333. AC_SUBST(MAN_FLAGS)
  334. dnl
  335. dnl Check for -L option to file
  336. dnl
  337. AC_CHECK_PROG(HAVE_FILECMD, file, true, false)
  338. if $HAVE_FILECMD; then
  339. AC_MSG_CHECKING([for -L option to file command])
  340. AC_CACHE_VAL(mc_cv_filel, [
  341. file -L . > /dev/null 2>&1
  342. if test $? = 0; then
  343. mc_cv_filel=yes
  344. else
  345. mc_cv_filel=no
  346. fi
  347. ])
  348. if test x$mc_cv_filel = xyes; then
  349. AC_DEFINE(FILE_L, 1, [Define if the file command accepts the -L option])
  350. fi
  351. filel=$mc_cv_filel
  352. AC_MSG_RESULT([$filel])
  353. fi
  354. AC_MSG_CHECKING([for subshell support])
  355. AC_ARG_WITH(subshell,
  356. [ --with-subshell Compile in concurrent subshell [[yes]]
  357. --with-subshell=optional Don't run concurrent shell by default [[no]]],
  358. [result=no
  359. if test x$withval = xoptional
  360. then
  361. AC_DEFINE(SUBSHELL_OPTIONAL, 1,
  362. [Define to make subshell support optional])
  363. result="optional"
  364. fi
  365. if test x$withval = xyes
  366. then
  367. result="yes"
  368. fi],
  369. [dnl Default: enable the subshell support
  370. result="yes"
  371. ])
  372. if test "x$result" != xno; then
  373. AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
  374. [Define to enable subshell support])
  375. fi
  376. AC_MSG_RESULT([$result])
  377. subshell="$result"
  378. dnl
  379. dnl Select the screen library.
  380. dnl
  381. AC_ARG_WITH(screen,
  382. [ --with-screen=LIB Compile with screen library: slang or
  383. ncurses [[slang if found]]])
  384. case x$with_screen in
  385. xslang)
  386. MC_WITH_SLANG(strict)
  387. ;;
  388. xncurses)
  389. MC_WITH_NCURSES
  390. ;;
  391. xncursesw)
  392. MC_WITH_NCURSESW
  393. ;;
  394. x)
  395. MC_WITH_SLANG
  396. ;;
  397. *)
  398. AC_MSG_ERROR([Value of the screen library is incorrect])
  399. ;;
  400. esac
  401. dnl
  402. dnl Internal editor support.
  403. dnl
  404. AC_ARG_WITH(edit,
  405. [ --with-edit Enable internal editor [[yes]]])
  406. if test x$with_edit != xno; then
  407. AC_DEFINE(USE_INTERNAL_EDIT, 1, [Define to enable internal editor])
  408. use_edit=yes
  409. edit_msg="yes"
  410. AC_MSG_NOTICE([using internal editor])
  411. else
  412. edit_msg="no"
  413. fi
  414. dnl Check if the OS is supported by the console saver.
  415. cons_saver=""
  416. case $host_os in
  417. linux*)
  418. cons_saver=yes
  419. esac
  420. dnl Support for background operations
  421. AC_ARG_ENABLE([background],
  422. [ --enable-background Support for background file operations [[yes]]])
  423. if test "x$enable_background" != xno; then
  424. AC_DEFINE(WITH_BACKGROUND, 1, [Define to enable background file operations])
  425. fi
  426. dnl
  427. dnl User visible support for charset conversion.
  428. dnl
  429. AC_ARG_ENABLE([charset],
  430. [ --enable-charset Support for charset selection and conversion [[yes]]])
  431. have_charset=
  432. charset_msg="no"
  433. if test "x$enable_charset" != "xno"; then
  434. AC_DEFINE(HAVE_CHARSET, 1,
  435. [Define to enable charset selection and conversion])
  436. have_charset=yes
  437. charset_msg="yes"
  438. fi
  439. if test "$GLIBC21" != yes; then
  440. AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
  441. fi
  442. dnl If default CFLAGS is used with gcc, add -Wall
  443. if test -z "$ac_env_CFLAGS_set"; then
  444. if test -n "$GCC"; then
  445. CFLAGS="$CFLAGS -Wall"
  446. fi
  447. fi
  448. AC_SUBST(CFLAGS)
  449. AC_SUBST(CPPFLAGS)
  450. AC_SUBST(LDFLAGS)
  451. AC_SUBST(LIBS)
  452. dnl Libraries used only when building the mc binary
  453. AC_SUBST(MCLIBS)
  454. dnl Version for the RedHat package, without dashes
  455. RPM_VERSION=`echo $VERSION | sed 's/-/./g'`
  456. AC_SUBST(RPM_VERSION)
  457. if test -n "$use_smbfs"; then
  458. AC_CONFIG_SUBDIRS([vfs/samba])
  459. fi
  460. AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
  461. AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
  462. AM_CONDITIONAL(USE_VFS, [test "x$use_vfs" = xyes])
  463. AM_CONDITIONAL(USE_VFS_NET, [test x"$use_net_code" = xtrue])
  464. AM_CONDITIONAL(USE_UNDEL_FS, [test -n "$enable_vfs_undelfs"])
  465. AM_CONDITIONAL(USE_SAMBA_FS, [test -n "$use_smbfs"])
  466. AM_CONDITIONAL(ENABLE_MCSERVER, [test x"$enable_mcserver" = "xyes"])
  467. AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
  468. AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
  469. AC_CONFIG_FILES([
  470. Makefile
  471. contrib/Makefile
  472. contrib/dist/Makefile
  473. contrib/dist/debian/Makefile
  474. contrib/dist/gentoo/Makefile
  475. contrib/dist/redhat/Makefile
  476. contrib/dist/redhat/mc.spec
  477. contrib/dist/mc.qpg
  478. contrib/dist/pkginfo
  479. contrib/dist/prototype
  480. misc/Makefile
  481. misc/skins/Makefile
  482. misc/mc.ext
  483. src/Makefile
  484. src/event/Makefile
  485. src/filehighlight/Makefile
  486. src/mcconfig/Makefile
  487. src/search/Makefile
  488. src/skin/Makefile
  489. src/tty/Makefile
  490. src/viewer/Makefile
  491. src/widget/Makefile
  492. edit/Makefile
  493. syntax/Makefile
  494. vfs/Makefile
  495. vfs/extfs/Makefile
  496. vfs/extfs/a
  497. vfs/extfs/apt
  498. vfs/extfs/audio
  499. vfs/extfs/deb
  500. vfs/extfs/deba
  501. vfs/extfs/debd
  502. vfs/extfs/dpkg
  503. vfs/extfs/iso9660
  504. vfs/extfs/hp48
  505. vfs/extfs/lslR
  506. vfs/extfs/mailfs
  507. vfs/extfs/patchfs
  508. vfs/extfs/rpms
  509. vfs/extfs/uace
  510. vfs/extfs/ualz
  511. vfs/extfs/uar
  512. vfs/extfs/uarc
  513. vfs/extfs/uarj
  514. vfs/extfs/uc1541
  515. vfs/extfs/uha
  516. vfs/extfs/ulha
  517. vfs/extfs/urar
  518. vfs/extfs/uzip
  519. vfs/extfs/uzoo
  520. doc/Makefile
  521. doc/hints/Makefile
  522. doc/man/mc.1 doc/man/mcedit.1 doc/man/mcview.1 doc/man/mcserv.8 doc/man/Makefile
  523. doc/man/es/mc.1 doc/man/es/Makefile
  524. doc/man/hu/mc.1 doc/man/hu/Makefile
  525. doc/man/it/mc.1 doc/man/it/Makefile
  526. doc/man/pl/mc.1 doc/man/pl/Makefile
  527. doc/man/ru/mc.1 doc/man/ru/Makefile
  528. doc/man/sr/mc.1 doc/man/sr/mcserv.8 doc/man/sr/Makefile
  529. doc/hlp/Makefile
  530. doc/hlp/es/Makefile
  531. doc/hlp/hu/Makefile
  532. doc/hlp/it/Makefile
  533. doc/hlp/pl/Makefile
  534. doc/hlp/ru/Makefile
  535. doc/hlp/sr/Makefile
  536. intl/Makefile
  537. po/Makefile.in
  538. ])
  539. AC_OUTPUT
  540. echo "
  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. Internal editor: ${edit_msg}
  552. Support for charset: ${charset_msg}
  553. Search type: ${SEARCH_TYPE}
  554. "