#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for charybdis 3.4.0-dev.
+# Generated by GNU Autoconf 2.68 for charybdis 3.5.0-dev.
#
# $Id: configure.ac 3516 2007-06-10 16:14:03Z jilles $
#
# Identity of this package.
PACKAGE_NAME='charybdis'
PACKAGE_TARNAME='charybdis'
-PACKAGE_VERSION='3.4.0-dev'
-PACKAGE_STRING='charybdis 3.4.0-dev'
+PACKAGE_VERSION='3.5.0-dev'
+PACKAGE_STRING='charybdis 3.5.0-dev'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
MOD_TARGET
MODULES_LIBS
SELECT_TYPE
+PROGRAM_PREFIX
+PKGRUNDIR
moduledir
MODULE_DIR
helpdir
HELP_DIR
logdir
LOG_DIR
-confdir
ETC_DIR
ZLIB_LD
ENCSPEED
ALLOCA
VICONF
CRYPT_LIB
+PKGLIBEXECDIR
+pkglibexecdir
+PKGLOCALSTATEDIR
+pkglocalstatedir
+pkgrundir
+rundir
+pkglibdir
LEXLIB
LEX_OUTPUT_ROOT
LEX
ac_subst_files=''
ac_user_opts='
enable_option_checking
+enable_fhs_paths
enable_ipv6
enable_openssl
with_zlib_path
with_logdir
with_helpdir
with_moduledir
+with_rundir
+with_program_prefix
with_custom_branding
with_custom_version
enable_assert
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures charybdis 3.4.0-dev to adapt to many kinds of systems.
+\`configure' configures charybdis 3.5.0-dev to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of charybdis 3.4.0-dev:";;
+ short | recursive ) echo "Configuration of charybdis 3.5.0-dev:";;
esac
cat <<\_ACEOF
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-fhs-paths Use more FHS-like pathnames (for packagers).
--enable-ipv6 Enable IPv6 support
--enable-openssl=DIR Enable OpenSSL support (DIR optional).
--disable-openssl Disable OpenSSL support.
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib-path=DIR Path to libz.so for ziplinks support.
- --with-confdir=DIR Directory to install config files.
+ --with-confdir=DIR Directory to install config files [deprecated, use
+ --sysconfdir instead].
--with-logdir=DIR Directory where to write logfiles.
--with-helpdir=DIR Directory to install help files.
--with-moduledir=DIR Directory to install modules.
+ --with-rundir=DIR Directory in which to store pidfile.
+ --with-program-prefix= If set, programs installed into PATH will be
+ installed with names prefixed by this prefix.
--with-custom-branding=NAME
Custom branding name.
--with-custom-version=NAME
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-charybdis configure 3.4.0-dev
+charybdis configure 3.5.0-dev
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by charybdis $as_me 3.4.0-dev, which was
+It was created by charybdis $as_me 3.5.0-dev, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
as_fn_error $? "could not locate a suitable lexical generator, install flex or lex." "$LINENO" 5
fi
-if test "$libexecdir" = '${exec_prefix}/libexec' &&
- test "$localstatedir" = '${prefix}/var'; then
- libexecdir='${bindir}'
+# Check whether --enable-fhs-paths was given.
+if test "${enable_fhs_paths+set}" = set; then :
+ enableval=$enable_fhs_paths;
+else
+ if test "$libexecdir" = '${exec_prefix}/libexec' && \
+ test "$localstatedir" = '${prefix}/var' && \
+ test "$libdir" = '${exec_prefix}/lib'; then :
+ enable_fhs_paths=no
+else
+ enable_fhs_paths=yes
+fi
+
+fi
+
+if test "x$enable_fhs_paths" = "xyes"; then :
+ pkglibexecdir='${libexecdir}/${PACKAGE_TARNAME}'
+ rundir=${rundir-'${prefix}/run'}
+ pkgrundir='${rundir}/${PACKAGE_TARNAME}'
+ pkglocalstatedir='${localstatedir}/${PACKAGE_TARNAME}'
+else
+ libexecdir='${bindir}'
+ pkglibexecdir='${libexecdir}'
+ rundir='${sysconfdir}'
+ pkgrundir='${rundir}'
localstatedir='${prefix}'
+ pkglocalstatedir='${sysconfdir}'
+fi
+pkglibdir='${libdir}/${PACKAGE_TARNAME}'
+
+
+
+
+
+ test "x$prefix" = xNONE && prefix="$ac_default_prefix"
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+ last_ac_define_dir=`eval echo $pkglocalstatedir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding PKGLOCALSTATEDIR=$pkglocalstatedir: $ac_define_dir" "$LINENO" 5
+ break
fi
+ done
+ PKGLOCALSTATEDIR="$ac_define_dir"
+
+
+cat >>confdefs.h <<_ACEOF
+#define PKGLOCALSTATEDIR "$ac_define_dir"
+_ACEOF
+
+
+
+
+ test "x$prefix" = xNONE && prefix="$ac_default_prefix"
+ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+ last_ac_define_dir=`eval echo $pkglibexecdir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding PKGLIBEXECDIR=$pkglibexecdir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
+ PKGLIBEXECDIR="$ac_define_dir"
+
+
+cat >>confdefs.h <<_ACEOF
+#define PKGLIBEXECDIR "$ac_define_dir"
+_ACEOF
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify confdir" >&5
-$as_echo_n "checking whether to modify confdir... " >&6; }
# Check whether --with-confdir was given.
if test "${with_confdir+set}" = set; then :
- withval=$with_confdir; confdir=`echo $withval | sed 's/\/$//'`
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $confdir`
- ac_define_dir=`eval echo $ac_define_dir`
- ETC_DIR="$ac_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define ETC_DIR "$ac_define_dir"
-_ACEOF
-
-
-
-
- confdir=`(
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
- eval echo \""$confdir"\"
- )`
-
-
+ withval=$with_confdir; sysconfdir=`echo $withval | sed 's/\/$//'`
else
- confdir='${prefix}/etc'
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+ confdir='${sysconfdir}'
+fi
+
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $confdir`
- ac_define_dir=`eval echo $ac_define_dir`
+ last_ac_define_dir=`eval echo $sysconfdir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding ETC_DIR=$sysconfdir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
ETC_DIR="$ac_define_dir"
- confdir=`(
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
- eval echo \""$confdir"\"
- )`
-
-
-
-fi
-
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify logdir" >&5
$as_echo_n "checking whether to modify logdir... " >&6; }
withval=$with_logdir; logdir=`echo $withval | sed 's/\/$//'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
-
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $logdir`
- ac_define_dir=`eval echo $ac_define_dir`
- LOG_DIR="$ac_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define LOG_DIR "$ac_define_dir"
-_ACEOF
-
-
-
-
- logdir=`(
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
- eval echo \""$logdir"\"
- )`
-
-
else
- logdir='${prefix}/logs'
+ if test "x$enable_fhs_paths" = "xyes"; then :
+ logdir='${localstatedir}/log/${PACKAGE_TARNAME}'
+else
+ logdir='${prefix}/logs'
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+fi
+
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $logdir`
- ac_define_dir=`eval echo $ac_define_dir`
+ last_ac_define_dir=`eval echo $logdir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding LOG_DIR=$logdir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
LOG_DIR="$ac_define_dir"
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify helpdir" >&5
$as_echo_n "checking whether to modify helpdir... " >&6; }
withval=$with_helpdir; helpdir=`echo $withval | sed 's/\/$//'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
-
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $helpdir`
- ac_define_dir=`eval echo $ac_define_dir`
- HELP_DIR="$ac_define_dir"
-
-
-cat >>confdefs.h <<_ACEOF
-#define HELP_DIR "$ac_define_dir"
-_ACEOF
-
-
-
-
- helpdir=`(
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
- eval echo \""$helpdir"\"
- )`
-
-
else
- helpdir='${prefix}/help'
+ if test "x$enable_fhs_paths" = "xyes"; then :
+ helpdir='${datadir}/${PACKAGE_TARNAME}/help'
+else
+ helpdir='${prefix}/help'
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+fi
+
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $helpdir`
- ac_define_dir=`eval echo $ac_define_dir`
+ last_ac_define_dir=`eval echo $helpdir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding HELP_DIR=$helpdir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
HELP_DIR="$ac_define_dir"
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to modify moduledir" >&5
$as_echo_n "checking whether to modify moduledir... " >&6; }
withval=$with_moduledir; moduledir=`echo $withval | sed 's/\/$//'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
+else
+ if test "x$enable_fhs_paths" = "xyes"; then :
+ moduledir='${pkglibdir}/modules'
+else
+ moduledir='${prefix}/modules'
+fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
+
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $moduledir`
- ac_define_dir=`eval echo $ac_define_dir`
+ last_ac_define_dir=`eval echo $moduledir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding MODULE_DIR=$moduledir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
MODULE_DIR="$ac_define_dir"
)`
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether or modify rundir" >&5
+$as_echo_n "checking whether or modify rundir... " >&6; }
+
+# Check whether --with-rundir was given.
+if test "${with_rundir+set}" = set; then :
+ withval=$with_rundir; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ rundir=`echo $withval | sed 's/\/$//'`
else
- moduledir='${prefix}/modules'
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
+ if test "x$enable_fhs_paths" = "xyes"; then :
+ rundir='${prefix}/run'
+else
+ rundir='${sysconfdir}'
+fi
+fi
+
+
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- ac_define_dir=`eval echo $moduledir`
- ac_define_dir=`eval echo $ac_define_dir`
- MODULE_DIR="$ac_define_dir"
+ last_ac_define_dir=`eval echo $pkgrundir`
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ ac_define_dir_counter=0
+ while test "x$last_ac_define_dir" != "x$ac_define_dir"; do
+ last_ac_define_dir="$ac_define_dir"
+ ac_define_dir=`eval echo $last_ac_define_dir`
+ as_fn_arith $ac_define_dir_counter + 1 && ac_define_dir_counter=$as_val
+ if test "x$ac_define_dir_counter" = x128; then :
+ as_fn_error $? "detected recusive directory expansion when expanding PKGRUNDIR=$pkgrundir: $ac_define_dir" "$LINENO" 5
+ break
+fi
+ done
+ PKGRUNDIR="$ac_define_dir"
cat >>confdefs.h <<_ACEOF
-#define MODULE_DIR "$ac_define_dir"
+#define PKGRUNDIR "$ac_define_dir"
_ACEOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for program prefix" >&5
+$as_echo_n "checking for program prefix... " >&6; }
- moduledir=`(
- test "x$prefix" = xNONE && prefix="$ac_default_prefix"
- test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
- eval echo \""$moduledir"\"
- )`
+# Check whether --with-program-prefix was given.
+if test "${with_program_prefix+set}" = set; then :
+ withval=$with_program_prefix; test "x$with_program_prefix" = "xno" && with_program_prefix=
+else
+ with_program_prefix=
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$with_program_prefix\"" >&5
+$as_echo "\"$with_program_prefix\"" >&6; }
+PROGRAM_PREFIX="$with_program_prefix"
-fi
+cat >>confdefs.h <<_ACEOF
+#define PROGRAM_PREFIX "$with_program_prefix"
+_ACEOF
fi
-ac_config_files="$ac_config_files Makefile bandb/Makefile ssld/Makefile extensions/Makefile src/Makefile modules/Makefile tools/Makefile doc/Makefile help/Makefile"
+ac_config_files="$ac_config_files Makefile bandb/Makefile ssld/Makefile extensions/Makefile src/Makefile modules/Makefile tools/Makefile tools/genssl.sh doc/Makefile help/Makefile"
+
+ac_config_commands="$ac_config_commands tools/genssl.sh_chmod"
cat >confcache <<\_ACEOF
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by charybdis $as_me 3.4.0-dev, which was
+This file was extended by charybdis $as_me 3.5.0-dev, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
_ACEOF
Configuration headers:
$config_headers
+Configuration commands:
+$config_commands
+
Report bugs to the package provider."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-charybdis config.status 3.4.0-dev
+charybdis config.status 3.5.0-dev
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "tools/genssl.sh") CONFIG_FILES="$CONFIG_FILES tools/genssl.sh" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
+ "tools/genssl.sh_chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/genssl.sh_chmod" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
# Have a temporary directory for convenience. Make it in the build tree
fi # test -n "$CONFIG_HEADERS"
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
shift
for ac_tag
do
fi
;;
-
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
esac
+
+ case $ac_file$ac_mode in
+ "tools/genssl.sh_chmod":C) chmod 755 tools/genssl.sh ;;
+
+ esac
done # for ac_tag