mc/configure.ac

635 lines
14 KiB
Plaintext
Raw Normal View History

1998-02-27 07:54:42 +03:00
dnl
dnl Configure.in file for the Midnight Commander
dnl
AC_INIT([GNU Midnight Commander], [], [mc-devel@gnome.org])
AC_PREREQ(2.60)
m4_pattern_forbid(MC_)
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/main.c)
AC_CONFIG_AUX_DIR(config)
MC_VERSION
AM_INIT_AUTOMAKE(mc, ${VERSION} )
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
1998-02-27 07:54:42 +03:00
2009-01-09 03:20:50 +03:00
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_LIBTOOL
1998-02-27 07:54:42 +03:00
AC_ISC_POSIX
AC_PROG_CC_STDC
dnl Doxygen
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(OFF)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN(mc,doxygen.cfg,devel)
dnl PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
dnl
dnl First try glib 2.x.
dnl Keep this check close to the beginning, so that the users
dnl without any glib won't have their time wasted by other checks.
dnl
AC_ARG_WITH([glib_static],
[ --with-glib-static Link glib statically [[no]]])
glib_found=no
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:])
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes])
GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`"
if test "x$gmodule_found" = "xyes" ; then
dnl Check if the gmodule functionality supported on this system.
AC_G_MODULE_SUPPORTED
fi
1998-02-27 07:54:42 +03:00
AC_HEADER_MAJOR
AC_C_CONST
AC_SYS_LARGEFILE
AC_PROG_LN_S
AC_CHECK_TOOL(AR, ar, ar)
1998-02-27 07:54:42 +03:00
dnl Only list browsers here that can be run in background (i.e. with `&')
AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
1998-02-27 07:54:42 +03:00
dnl
dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
dnl We use only part of the functionality of mmap, so on AIX,
dnl it's possible to use mmap, even if it doesn't pass the autoconf test.
dnl
AC_ARG_WITH(mmap,
[ --with-mmap Use the mmap call [[yes if found]]])
if test x$with_mmap != xno; then
if test x$with_mmap = x; then
AC_FUNC_MMAP
else
AC_DEFINE(HAVE_MMAP, 1)
fi
fi
dnl
dnl Internationalization
dnl
AM_GNU_GETTEXT(no-libtool, need-ngettext)
AM_GNU_GETTEXT_VERSION(0.14.3)
if test "x$USE_INCLUDED_LIBINTL" = xyes; then
CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
fi
dnl Determine which help translations we want to install.
ALL_DOC_LINGUAS="es hu it pl ru sr"
DOC_LINGUAS=
if test "x$USE_NLS" = xyes; then
if test -z "$LINGUAS"; then
langs="`grep -v '^#' $srcdir/po/LINGUAS`"
else
langs="$LINGUAS"
fi
else
langs=
fi
for h_lang in $ALL_DOC_LINGUAS; do
for lang in $langs; do
if test "$lang" = "$h_lang"; then
DOC_LINGUAS="$DOC_LINGUAS $lang"
break
fi
done
done
AC_SUBST(DOC_LINGUAS)
1998-02-27 07:54:42 +03:00
dnl
dnl OS specific flags.
1998-02-27 07:54:42 +03:00
dnl
case $host_os in
aux*)
# A/UX
LIBS="$LIBS -lposix"
1998-02-27 07:54:42 +03:00
AC_DEFINE(_POSIX_SOURCE)
;;
esac
1998-02-27 07:54:42 +03:00
dnl Extended Character Sets
dnl
AC_ARG_ENABLE([extcharset],
AC_HELP_STRING([--enable-extcharset], [Enable extended character sets]))
if test x"$enable_extcharset" = x"yes"; then
AC_DEFINE([EXTCHARSET_ENABLED], 1, [Enable extended character sets?])
fi
1998-02-27 07:54:42 +03:00
AC_PROG_INSTALL
AC_CHECK_HEADERS([unistd.h string.h memory.h grp.h limits.h malloc.h \
stdlib.h termios.h utime.h fcntl.h pwd.h sys/statfs.h sys/vfs.h sys/time.h \
2004-08-17 04:53:03 +04:00
sys/timeb.h sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
security/pam_misc.h sys/socket.h sys/sysmacros.h sys/types.h \
2006-06-07 16:00:10 +04:00
sys/mkdev.h wchar.h wctype.h])
1998-02-27 07:54:42 +03:00
AC_HEADER_TIME
1998-02-27 07:54:42 +03:00
AC_HEADER_SYS_WAIT
AC_HEADER_DIRENT
AC_HEADER_STDC
dnl Missing structure components
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_rdev])
1998-02-27 07:54:42 +03:00
AC_STRUCT_ST_BLOCKS
dnl
dnl Check availability of some functions
dnl
1998-02-27 07:54:42 +03:00
AC_CHECK_FUNCS([\
atoll \
cfgetospeed \
getegid geteuid getgid getsid getuid \
initgroups isascii \
memcpy memset \
putenv \
2006-06-07 16:00:10 +04:00
setreuid setuid statfs strerror strftime sysconf \
tcgetattr tcsetattr truncate \
])
dnl
dnl getpt is a GNU Extension (glibc 2.1.x)
dnl
AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
1998-02-27 07:54:42 +03:00
dnl replacing lstat with statlstat on sco makes it more portable between
dnl sco clones
AC_CHECK_FUNCS(statlstat)
dnl
dnl If running under AIX, AC_AIX does not tell us that
dnl
AC_MSG_CHECKING([for AIX defines])
1998-02-27 07:54:42 +03:00
AC_EGREP_CPP(yes,
[#if defined(AIX) || defined(_AIX) || defined(__aix__) || defined(aix)
yes
#endif
], [
AC_DEFINE(IS_AIX, 1, [Define if compiling for AIX])
1998-02-27 07:54:42 +03:00
AC_MSG_RESULT(yes)
], [AC_MSG_RESULT(no)])
1998-02-27 07:54:42 +03:00
dnl
dnl This is from GNU fileutils, check aclocal.m4 for more information
dnl
AC_GET_FS_INFO
dnl
dnl Missing typedefs and replacements
dnl
1998-02-27 07:54:42 +03:00
AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(long long)
1998-02-27 07:54:42 +03:00
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_CHECK_SIZEOF(off_t)
1998-02-27 07:54:42 +03:00
AC_TYPE_PID_T
AC_TYPE_UID_T
AC_CHECK_TYPE(nlink_t, unsigned int)
AC_CHECK_TYPES([socklen_t],,,
[
#include <sys/types.h>
#include <sys/socket.h>
])
1998-02-27 07:54:42 +03:00
dnl This is needed for regex.c only
AC_CHECK_TYPE(uintptr_t,
[AC_DEFINE(HAVE_UINTPTR_T, 1,
[Define if you have the `uintptr_t' type.])
])
1998-02-27 07:54:42 +03:00
AC_FUNC_ALLOCA
AC_FUNC_STRCOLL
1998-02-27 07:54:42 +03:00
dnl
dnl X11 support.
dnl Used to read keyboard modifiers when running under X11.
dnl
AC_PATH_XTRA
if test "x$no_x" = xyes; then
textmode_x11_support="no"
else
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
if test "x$mc_cv_g_module_supported" = "xyes" ; then
dnl Replace the contents of GLIB_CFLAGS and GLIB_LIBS with those of
dnl GMODULE_CFLAGS and GMODULE_LIBS, only if X is available and gmodule
dnl functionality is supported on the system. This way, mc will be
dnl linked against the gmodule library only when it's really required.
GLIB_CFLAGS="$GMODULE_CFLAGS"
GLIB_LIBS="$GMODULE_LIBS"
else
MCLIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
fi
AC_DEFINE(HAVE_TEXTMODE_X11_SUPPORT, 1,
[Define to enable getting events from X Window System])
textmode_x11_support="yes"
fi
dnl
dnl Try to find static libraries for glib and gmodule.
dnl
if test x$with_glib_static = xyes; then
new_GLIB_LIBS=
for i in $GLIB_LIBS; do
case x$i in
x-lglib*)
lib=glib ;;
x-lgmodule*)
lib=gmodule ;;
*)
lib=
add="$i" ;;
esac
if test -n "$lib"; then
lib1=`echo $i | sed 's/^-l//'`
if test -f "$GLIB_LIBDIR/lib${lib1}.a"; then
add="$GLIB_LIBDIR/lib${lib1}.a"
else
if test -f "$GLIB_LIBDIR/lib${lib}.a"; then
add="$GLIB_LIBDIR/lib${lib}.a"
else
AC_MSG_ERROR([Cannot find static $lib])
fi
fi
fi
new_GLIB_LIBS="$new_GLIB_LIBS $add"
done
GLIB_LIBS="$new_GLIB_LIBS"
fi
1998-02-27 07:54:42 +03:00
dnl
dnl Network related functions
dnl
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl])
1998-02-27 07:54:42 +03:00
dnl
dnl Sequent wants getprocessstats
dnl
AC_CHECK_LIB(seq, get_process_stats, [
LIBS="$LIBS -lseq"
AC_DEFINE(HAVE_GET_PROCESS_STATS, 1,
[Define if you have function `get_process_stats' and
have to use that instead of gettimeofday])])
1998-02-27 07:54:42 +03:00
AC_MC_VFS_CHECKS
vfs_type="normal"
if test x$use_vfs = xyes; then
AC_MSG_NOTICE([enabling VFS code])
vfs_type="Midnight Commander Virtual File System"
fi
dnl
dnl Check for gpm mouse support (Linux only)
dnl
1998-02-27 07:54:42 +03:00
mouse_lib="xterm only"
AC_ARG_WITH(gpm-mouse,
[ --with-gpm-mouse Compile with gpm mouse support (Linux only)
[[yes if found]]])
case $host_os in
linux*)
if test x$with_gpm_mouse != xno; then
AC_CHECK_LIB(gpm, Gpm_Repeat,
[AC_DEFINE(HAVE_LIBGPM, 1,
[Define to enable gpm mouse support on Linux])
mouse_lib="gpm and xterm"
MCLIBS="$MCLIBS -lgpm"],
[AC_MSG_WARN([libgpm is missing or older than 0.18])
])
fi
;;
esac
1998-02-27 07:54:42 +03:00
MC_CHECK_SEARCH_TYPE
1998-02-27 07:54:42 +03:00
dnl
dnl Check nroff and the options it supports
1998-02-27 07:54:42 +03:00
dnl
AC_CHECK_PROG(HAVE_nroff, nroff, true, false)
dnl Default values
MANDOC=-man
MAN_FLAGS=
1998-02-27 07:54:42 +03:00
if $HAVE_nroff; then
AC_MSG_CHECKING([for manual formatting macros])
AC_CACHE_VAL(mc_cv_mandoc, [
nroff -mandoc < /dev/null > /dev/null 2>&1
if test $? = 0; then
mc_cv_mandoc=-mandoc
1998-02-27 07:54:42 +03:00
else
mc_cv_mandoc=-man
1998-02-27 07:54:42 +03:00
fi
])
MANDOC=$mc_cv_mandoc
AC_MSG_RESULT([$MANDOC])
1998-02-27 07:54:42 +03:00
AC_MSG_CHECKING([for option to disable ANSI color in manuals])
AC_CACHE_VAL(mc_cv_man_nocolor, [
nroff -c < /dev/null > /dev/null 2>&1
if test $? = 0; then
mc_cv_man_nocolor=-c
else
mc_cv_man_nocolor=
fi
])
MAN_FLAGS=$mc_cv_man_nocolor
AC_MSG_RESULT([${MAN_NOCOLOR-none}])
AC_MSG_CHECKING([if nroff accepts -Tlatin1 or -Tascii])
AC_CACHE_VAL(mc_cv_nroff_tascii, [
mc_cv_nroff_tascii=
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
1999-09-20 03:09:07 +04:00
nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
if test $? = 0; then
mc_cv_nroff_tascii=-Tlatin1
1998-02-27 07:54:42 +03:00
else
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
1999-09-20 03:09:07 +04:00
nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
if test $? = 0; then
mc_cv_nroff_tascii=-Tascii
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
1999-09-20 03:09:07 +04:00
fi
1998-02-27 07:54:42 +03:00
fi
])
AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
MAN_FLAGS="$MAN_FLAGS $mc_cv_nroff_tascii"
1998-02-27 07:54:42 +03:00
fi
AC_SUBST(MANDOC)
AC_SUBST(MAN_FLAGS)
1998-02-27 07:54:42 +03:00
dnl
dnl Check for -L option to file
1998-02-27 07:54:42 +03:00
dnl
AC_CHECK_PROG(HAVE_FILECMD, file, true, false)
if $HAVE_FILECMD; then
AC_MSG_CHECKING([for -L option to file command])
AC_CACHE_VAL(mc_cv_filel, [
file -L . > /dev/null 2>&1
if test $? = 0; then
mc_cv_filel=yes
1998-02-27 07:54:42 +03:00
else
mc_cv_filel=no
1998-02-27 07:54:42 +03:00
fi
])
if test x$mc_cv_filel = xyes; then
AC_DEFINE(FILE_L, 1, [Define if the file command accepts the -L option])
1998-02-27 07:54:42 +03:00
fi
filel=$mc_cv_filel
AC_MSG_RESULT([$filel])
1998-02-27 07:54:42 +03:00
fi
AC_MSG_CHECKING([for subshell support])
1998-02-27 07:54:42 +03:00
AC_ARG_WITH(subshell,
[ --with-subshell Compile in concurrent subshell [[yes]]
--with-subshell=optional Don't run concurrent shell by default [[no]]],
[result=no
1998-02-27 07:54:42 +03:00
if test x$withval = xoptional
then
AC_DEFINE(SUBSHELL_OPTIONAL, 1,
[Define to make subshell support optional])
1998-02-27 07:54:42 +03:00
result="optional"
fi
if test x$withval = xyes
then
1998-02-27 07:54:42 +03:00
result="yes"
fi],
[dnl Default: enable the subshell support
result="yes"
])
if test "x$result" != xno; then
AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
[Define to enable subshell support])
fi
AC_MSG_RESULT([$result])
1998-02-27 07:54:42 +03:00
subshell="$result"
dnl
2009-01-10 23:04:30 +03:00
dnl Select the screen library.
dnl
AC_ARG_WITH(screen,
2009-01-10 23:04:30 +03:00
[ --with-screen=LIB Compile with screen library: slang or
ncurses [[slang if found]]])
1998-02-27 07:54:42 +03:00
case x$with_screen in
xslang)
MC_WITH_SLANG(strict)
;;
xncurses)
MC_WITH_NCURSES
;;
xncursesw)
MC_WITH_NCURSESW
;;
x)
MC_WITH_SLANG
;;
*)
AC_MSG_ERROR([Value of the screen library is incorrect])
;;
esac
1998-02-27 07:54:42 +03:00
dnl
dnl Internal editor support.
dnl
1998-02-27 07:54:42 +03:00
AC_ARG_WITH(edit,
[ --with-edit Enable internal editor [[yes]]])
if test x$with_edit != xno; then
AC_DEFINE(USE_INTERNAL_EDIT, 1, [Define to enable internal editor])
use_edit=yes
edit_msg="yes"
AC_MSG_NOTICE([using internal editor])
else
edit_msg="no"
fi
1998-02-27 07:54:42 +03:00
dnl Check if the OS is supported by the console saver.
cons_saver=""
case $host_os in
linux*)
cons_saver=yes
esac
1998-02-27 07:54:42 +03:00
dnl Support for background operations
AC_ARG_ENABLE([background],
[ --enable-background Support for background file operations [[yes]]])
if test "x$enable_background" != xno; then
2003-10-26 02:48:30 +03:00
AC_DEFINE(WITH_BACKGROUND, 1, [Define to enable background file operations])
fi
dnl
dnl User visible support for charset conversion.
dnl
AC_ARG_ENABLE([charset],
[ --enable-charset Support for charset selection and conversion [[no]]])
have_charset=
2004-11-03 23:53:16 +03:00
charset_msg="no"
if test "x$enable_charset" = xyes; then
AC_DEFINE(HAVE_CHARSET, 1,
[Define to enable charset selection and conversion])
have_charset=yes
charset_msg="yes"
fi
if test "$GLIBC21" != yes; then
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
fi
dnl If default CFLAGS is used with gcc, add -Wall
if test -z "$ac_env_CFLAGS_set"; then
if test -n "$GCC"; then
CFLAGS="$CFLAGS -Wall"
fi
fi
1998-02-27 07:54:42 +03:00
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(LIBS)
dnl Libraries used only when building the mc binary
AC_SUBST(MCLIBS)
dnl Version for the RedHat package, without dashes
RPM_VERSION=`echo $VERSION | sed 's/-/./g'`
AC_SUBST(RPM_VERSION)
if test -n "$use_smbfs"; then
AC_CONFIG_SUBDIRS([vfs/samba])
fi
AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
AM_CONDITIONAL(USE_VFS, [test "x$use_vfs" = xyes])
AM_CONDITIONAL(USE_VFS_NET, [test x"$use_net_code" = xtrue])
AM_CONDITIONAL(USE_UNDEL_FS, [test -n "$enable_vfs_undelfs"])
AM_CONDITIONAL(USE_SAMBA_FS, [test -n "$use_smbfs"])
AM_CONDITIONAL(ENABLE_MCSERVER, [test x"$enable_mcserver" = "xyes"])
AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])
AC_CONFIG_FILES([
Makefile
contrib/Makefile
contrib/dist/Makefile
contrib/dist/debian/Makefile
contrib/dist/gentoo/Makefile
contrib/dist/redhat/Makefile
contrib/dist/redhat/mc.spec
contrib/dist/mc.qpg
contrib/dist/pkginfo
contrib/dist/prototype
misc/Makefile
misc/mc.ext
src/Makefile
src/mcconfig/Makefile
src/search/Makefile
src/tty/Makefile
edit/Makefile
1999-03-21 05:10:04 +03:00
syntax/Makefile
vfs/Makefile
vfs/extfs/Makefile
vfs/extfs/a
vfs/extfs/apt
2002-12-11 22:27:05 +03:00
vfs/extfs/audio
vfs/extfs/deb
vfs/extfs/deba
vfs/extfs/debd
vfs/extfs/dpkg
vfs/extfs/iso9660
2002-12-14 05:47:30 +03:00
vfs/extfs/hp48
vfs/extfs/lslR
vfs/extfs/mailfs
vfs/extfs/patchfs
vfs/extfs/rpms
vfs/extfs/uace
vfs/extfs/ualz
vfs/extfs/uar
vfs/extfs/uarc
2002-12-14 05:47:30 +03:00
vfs/extfs/uarj
vfs/extfs/uc1541
vfs/extfs/uha
vfs/extfs/ulha
vfs/extfs/urar
vfs/extfs/uzip
vfs/extfs/uzoo
doc/Makefile
doc/hints/Makefile
doc/man/mc.1 doc/man/mcedit.1 doc/man/mcview.1 doc/man/mcserv.8 doc/man/Makefile
doc/man/es/mc.1 doc/man/es/Makefile
doc/man/hu/mc.1 doc/man/hu/Makefile
doc/man/it/mc.1 doc/man/it/Makefile
doc/man/pl/mc.1 doc/man/pl/Makefile
doc/man/ru/mc.1 doc/man/ru/Makefile
doc/man/sr/mc.1 doc/man/sr/mcserv.8 doc/man/sr/Makefile
doc/hlp/Makefile
doc/hlp/es/Makefile
doc/hlp/hu/Makefile
doc/hlp/it/Makefile
doc/hlp/pl/Makefile
doc/hlp/ru/Makefile
doc/hlp/sr/Makefile
intl/Makefile
po/Makefile.in
])
AC_OUTPUT
1998-02-27 07:54:42 +03:00
echo "
Configuration:
Source code location: ${srcdir}
Compiler: ${CC}
1998-02-27 07:54:42 +03:00
Compiler flags: ${CFLAGS}
File system: ${vfs_type}
${vfs_flags}
Screen library: ${screen_msg}
Mouse support: ${mouse_lib}
X11 events support: ${textmode_x11_support}
1998-02-27 07:54:42 +03:00
With subshell support: ${subshell}
Internal editor: ${edit_msg}
Support for charset: ${charset_msg}
Search type: ${SEARCH_TYPE}
"