configure.ac 14 KB

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