|
|
@@ -625,7 +625,9 @@ ac_includes_default="\
|
|
|
|
|
|
ac_header_list=
|
|
|
ac_func_list=
|
|
|
+enable_option_checking=no
|
|
|
ac_subst_vars='LTLIBOBJS
|
|
|
+subdirs
|
|
|
MOD_UPDIR
|
|
|
NUMVER
|
|
|
VERSION
|
|
|
@@ -728,7 +730,7 @@ LIBS
|
|
|
CPPFLAGS
|
|
|
CCC
|
|
|
CXXCPP'
|
|
|
-
|
|
|
+ac_subdirs_all='lib/bdlib'
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
ac_init_help=
|
|
|
@@ -8824,6 +8826,71 @@ done
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile lib/Makefile src/Makefile src/compat/Makefile src/crypto/Makefile src/mod/Makefile src/buildinfo.h"
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+GIT_REQUIRED=1
|
|
|
+if [ "$GIT_REQUIRED" = "1" ]; then
|
|
|
+ if ! test -d .git; then
|
|
|
+ echo ""
|
|
|
+ echo ""
|
|
|
+ echo "You have downloaded a GIT version of wraith."
|
|
|
+ echo "Either 'git clone' from a git repository or download a source tarball"
|
|
|
+ echo "A distribution version can be found at http://wraith.botpack.net/wiki/Download"
|
|
|
+ echo ""
|
|
|
+ echo ""
|
|
|
+ exit 1
|
|
|
+ fi
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+if test -d .git; then
|
|
|
+ git submodule init
|
|
|
+ git submodule update
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
+if [ -f lib/bdlib/configure ]; then
|
|
|
+ ac_aux_dir=
|
|
|
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
|
+ if test -f "$ac_dir/install-sh"; then
|
|
|
+ ac_aux_dir=$ac_dir
|
|
|
+ ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
|
+ break
|
|
|
+ elif test -f "$ac_dir/install.sh"; then
|
|
|
+ ac_aux_dir=$ac_dir
|
|
|
+ ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
|
+ break
|
|
|
+ elif test -f "$ac_dir/shtool"; then
|
|
|
+ ac_aux_dir=$ac_dir
|
|
|
+ ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
|
+ break
|
|
|
+ fi
|
|
|
+done
|
|
|
+if test -z "$ac_aux_dir"; then
|
|
|
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
|
|
+fi
|
|
|
+
|
|
|
+# These three variables are undocumented and unsupported,
|
|
|
+# and are intended to be withdrawn in a future Autoconf release.
|
|
|
+# They can cause serious problems if a builder's source tree is in a directory
|
|
|
+# whose full name contains unusual characters.
|
|
|
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
|
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
|
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+subdirs="$subdirs lib/bdlib"
|
|
|
+
|
|
|
+fi
|
|
|
cat >confcache <<\_ACEOF
|
|
|
# This file is a shell script that caches the results of configure
|
|
|
# tests run on this system so they can be shared between configure
|
|
|
@@ -10099,49 +10166,156 @@ if test "$no_create" != yes; then
|
|
|
# would make configure fail if this is the last instruction.
|
|
|
$ac_cs_success || as_fn_exit 1
|
|
|
fi
|
|
|
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
|
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
|
-fi
|
|
|
|
|
|
+#
|
|
|
+# CONFIG_SUBDIRS section.
|
|
|
+#
|
|
|
+if test "$no_recursion" != yes; then
|
|
|
|
|
|
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
|
|
+ # so they do not pile up.
|
|
|
+ ac_sub_configure_args=
|
|
|
+ ac_prev=
|
|
|
+ eval "set x $ac_configure_args"
|
|
|
+ shift
|
|
|
+ for ac_arg
|
|
|
+ do
|
|
|
+ if test -n "$ac_prev"; then
|
|
|
+ ac_prev=
|
|
|
+ continue
|
|
|
+ fi
|
|
|
+ case $ac_arg in
|
|
|
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|
|
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|
|
+ ac_prev=cache_file ;;
|
|
|
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|
|
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
|
|
+ | --c=*)
|
|
|
+ ;;
|
|
|
+ --config-cache | -C)
|
|
|
+ ;;
|
|
|
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
|
+ ac_prev=srcdir ;;
|
|
|
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
|
+ ;;
|
|
|
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
|
+ ac_prev=prefix ;;
|
|
|
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
|
+ ;;
|
|
|
+ --disable-option-checking)
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ case $ac_arg in
|
|
|
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
+ esac
|
|
|
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
|
|
+ esac
|
|
|
+ done
|
|
|
|
|
|
+ # Always prepend --prefix to ensure using the same prefix
|
|
|
+ # in subdir configurations.
|
|
|
+ ac_arg="--prefix=$prefix"
|
|
|
+ case $ac_arg in
|
|
|
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
+ esac
|
|
|
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
|
|
|
|
|
+ # Pass --silent
|
|
|
+ if test "$silent" = yes; then
|
|
|
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
|
|
|
+ fi
|
|
|
|
|
|
+ # Always prepend --disable-option-checking to silence warnings, since
|
|
|
+ # different subdirs can have different --enable and --with options.
|
|
|
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
|
|
|
|
|
+ ac_popdir=`pwd`
|
|
|
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
|
|
|
|
|
+ # Do not complain, so a configure script can configure whichever
|
|
|
+ # parts of a large source tree are present.
|
|
|
+ test -d "$srcdir/$ac_dir" || continue
|
|
|
|
|
|
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
|
|
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
|
|
+ $as_echo "$ac_msg" >&6
|
|
|
+ as_dir="$ac_dir"; as_fn_mkdir_p
|
|
|
+ ac_builddir=.
|
|
|
|
|
|
-GIT_REQUIRED=1
|
|
|
-if [ "$GIT_REQUIRED" = "1" ]; then
|
|
|
- if ! test -d .git; then
|
|
|
- echo ""
|
|
|
- echo ""
|
|
|
- echo "You have downloaded a GIT version of wraith."
|
|
|
- echo "Either 'git clone' from a git repository or download a source tarball"
|
|
|
- echo "A distribution version can be found at http://wraith.botpack.net/wiki/Download"
|
|
|
- echo ""
|
|
|
- echo ""
|
|
|
- exit 1
|
|
|
- fi
|
|
|
-fi
|
|
|
+case "$ac_dir" in
|
|
|
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
|
+*)
|
|
|
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
|
+ # A ".." for each directory in $ac_dir_suffix.
|
|
|
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
|
+ case $ac_top_builddir_sub in
|
|
|
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
|
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
|
+ esac ;;
|
|
|
+esac
|
|
|
+ac_abs_top_builddir=$ac_pwd
|
|
|
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
|
+# for backward compatibility:
|
|
|
+ac_top_builddir=$ac_top_build_prefix
|
|
|
|
|
|
+case $srcdir in
|
|
|
+ .) # We are building in place.
|
|
|
+ ac_srcdir=.
|
|
|
+ ac_top_srcdir=$ac_top_builddir_sub
|
|
|
+ ac_abs_top_srcdir=$ac_pwd ;;
|
|
|
+ [\\/]* | ?:[\\/]* ) # Absolute name.
|
|
|
+ ac_srcdir=$srcdir$ac_dir_suffix;
|
|
|
+ ac_top_srcdir=$srcdir
|
|
|
+ ac_abs_top_srcdir=$srcdir ;;
|
|
|
+ *) # Relative name.
|
|
|
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
|
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
|
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
|
+esac
|
|
|
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
|
|
|
|
|
|
|
-if test -d .git; then
|
|
|
- git submodule init
|
|
|
- git submodule update
|
|
|
-fi
|
|
|
+ cd "$ac_dir"
|
|
|
|
|
|
+ # Check for guested configure; otherwise get Cygnus style configure.
|
|
|
+ if test -f "$ac_srcdir/configure.gnu"; then
|
|
|
+ ac_sub_configure=$ac_srcdir/configure.gnu
|
|
|
+ elif test -f "$ac_srcdir/configure"; then
|
|
|
+ ac_sub_configure=$ac_srcdir/configure
|
|
|
+ elif test -f "$ac_srcdir/configure.in"; then
|
|
|
+ # This should be Cygnus configure.
|
|
|
+ ac_sub_configure=$ac_aux_dir/configure
|
|
|
+ else
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
|
|
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
|
|
+ ac_sub_configure=
|
|
|
+ fi
|
|
|
|
|
|
-CXX="$CXX" TCL_INCLUDES="$TCL_INCLUDES" SSL_INCLUDES="$SSL_INCLUDES" SED="$SED" src/generate_defs.sh
|
|
|
+ # The recursion is here.
|
|
|
+ if test -n "$ac_sub_configure"; then
|
|
|
+ # Make the cache file name correct relative to the subdirectory.
|
|
|
+ case $cache_file in
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
|
|
+ *) # Relative name.
|
|
|
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
|
|
+ esac
|
|
|
|
|
|
-if [ $? -ne 0 ]; then
|
|
|
- exit 1
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
|
|
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
|
|
+ # The eval makes quoting arguments work.
|
|
|
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
|
|
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
|
|
+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
|
|
+ fi
|
|
|
+
|
|
|
+ cd "$ac_popdir"
|
|
|
+ done
|
|
|
+fi
|
|
|
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
|
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
|
fi
|
|
|
|
|
|
|
|
|
-echo ""
|
|
|
-echo ""
|
|
|
-echo "------------ Configuring BDLIB ------------"
|
|
|
-test -f lib/bdlib/configure && cd lib/bdlib && CXX="$CXX" ./configure
|
|
|
+CXX="$CXX" TCL_INCLUDES="$TCL_INCLUDES" SSL_INCLUDES="$SSL_INCLUDES" \
|
|
|
+ SED="$SED" src/generate_defs.sh || exit 1
|