|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated automatically using autoconf version 2.10
|
|
|
|
|
# Generated automatically using autoconf version 2.12
|
|
|
|
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
|
|
|
|
#
|
|
|
|
|
# This configure script is free software; the Free Software Foundation
|
|
|
|
@ -16,11 +16,6 @@ ac_default_prefix=/usr
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
|
|
# The variables have the same names as the options, with
|
|
|
|
|
# dashes changed to underlines.
|
|
|
|
|
|
|
|
|
|
if test -r ../.config ; then
|
|
|
|
|
source ../.config
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
build=NONE
|
|
|
|
|
cache_file=./config.cache
|
|
|
|
|
exec_prefix=NONE
|
|
|
|
@ -55,6 +50,8 @@ mandir='${prefix}/man'
|
|
|
|
|
# Initialize some other variables.
|
|
|
|
|
subdirs=
|
|
|
|
|
MFLAGS= MAKEFLAGS=
|
|
|
|
|
# Maximum number of lines to put in a shell here document.
|
|
|
|
|
ac_max_here_lines=12
|
|
|
|
|
|
|
|
|
|
ac_prev=
|
|
|
|
|
for ac_option
|
|
|
|
@ -336,7 +333,7 @@ EOF
|
|
|
|
|
verbose=yes ;;
|
|
|
|
|
|
|
|
|
|
-version | --version | --versio | --versi | --vers)
|
|
|
|
|
echo "configure generated by autoconf version 2.10"
|
|
|
|
|
echo "configure generated by autoconf version 2.12"
|
|
|
|
|
exit 0 ;;
|
|
|
|
|
|
|
|
|
|
-with-* | --with-*)
|
|
|
|
@ -438,11 +435,14 @@ do
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# NLS nuisances.
|
|
|
|
|
# Only set LANG and LC_ALL to C if already set.
|
|
|
|
|
# These must not be set unconditionally because not all systems understand
|
|
|
|
|
# e.g. LANG=C (notably SCO).
|
|
|
|
|
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
|
|
|
|
# Only set these to C if already set. These must not be set unconditionally
|
|
|
|
|
# because not all systems understand e.g. LANG=C (notably SCO).
|
|
|
|
|
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
|
|
|
|
# Non-C LC_CTYPE values break the ctype check.
|
|
|
|
|
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
|
|
|
|
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
|
|
|
|
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
|
|
|
|
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
|
|
|
|
|
|
|
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
|
|
|
rm -rf conftest* confdefs.h
|
|
|
|
@ -504,6 +504,7 @@ ac_ext=c
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
|
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
|
|
|
@ -550,11 +551,12 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:555: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
|
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
|
# Account for people who put trailing slashes in PATH elements.
|
|
|
|
|
case "$ac_dir/" in
|
|
|
|
@ -577,7 +579,7 @@ else
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
IFS="$ac_save_IFS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test "${ac_cv_path_install+set}" = set; then
|
|
|
|
@ -601,6 +603,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:607: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -629,6 +632,7 @@ if test -z "$CC"; then
|
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:636: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -675,7 +679,47 @@ fi
|
|
|
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:684: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 694 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
|
ac_cv_prog_cc_cross=no
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_cc_cross=yes
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
ac_cv_prog_cc_works=no
|
|
|
|
|
fi
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
|
|
|
|
if test $ac_cv_prog_cc_works = no; then
|
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:718: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:723: checking whether we are using GNU C" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -684,7 +728,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
@ -692,29 +736,34 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then
|
|
|
|
|
GCC=yes
|
|
|
|
|
if test "${CFLAGS+set}" != set; then
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
|
|
|
|
|
ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:747: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo 'void f(){}' > conftest.c
|
|
|
|
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
|
|
|
|
|
ac_cv_prog_gcc_g=yes
|
|
|
|
|
ac_cv_prog_cc_g=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc_g=no
|
|
|
|
|
ac_cv_prog_cc_g=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
|
|
|
|
|
if test $ac_cv_prog_gcc_g = yes; then
|
|
|
|
|
CFLAGS="-g -O"
|
|
|
|
|
else
|
|
|
|
|
CFLAGS="-O"
|
|
|
|
|
fi
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
|
|
|
|
|
if test "$ac_test_CFLAGS" = set; then
|
|
|
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
|
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
|
|
|
|
CFLAGS="-g -O2"
|
|
|
|
|
else
|
|
|
|
|
CFLAGS="-O2"
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
GCC=
|
|
|
|
@ -722,90 +771,9 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$CONFIG_CTRL_CONF" = "y"; then
|
|
|
|
|
echo $ac_n "checking for -ldbm""... $ac_c" 1>&6
|
|
|
|
|
ac_lib_var=`echo dbm'_'dbm_open | tr './+\055' '__p_'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldbm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 868 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char dbm_open();
|
|
|
|
|
|
|
|
|
|
int main() { return 0; }
|
|
|
|
|
int t() {
|
|
|
|
|
dbm_open()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
DBMLIB=-ldbm; cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_LIBDBM 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for -lgdbm""... $ac_c" 1>&6
|
|
|
|
|
ac_lib_var=`echo gdbm'_'gdbm_open | tr './+\055' '__p_'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgdbm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 907 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char gdbm_open();
|
|
|
|
|
|
|
|
|
|
int main() { return 0; }
|
|
|
|
|
int t() {
|
|
|
|
|
gdbm_open()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
DBMLIB=-lgdbm; cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_LIBGDBM 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:777: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
@ -820,33 +788,37 @@ else
|
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
|
# not just through cpp.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 737 "configure"
|
|
|
|
|
#line 792 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 752 "configure"
|
|
|
|
|
#line 809 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP=/lib/cpp
|
|
|
|
|
fi
|
|
|
|
@ -861,38 +833,13 @@ else
|
|
|
|
|
fi
|
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
# If we cannot run a trivial program, we must be cross compiling.
|
|
|
|
|
echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test "$cross_compiling" = yes; then
|
|
|
|
|
ac_cv_c_cross=yes
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 787 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
{ (eval echo configure:791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
|
|
|
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
|
|
|
|
ac_cv_c_cross=no
|
|
|
|
|
else
|
|
|
|
|
ac_cv_c_cross=yes
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_c_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_c_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:838: checking for ANSI C header files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 809 "configure"
|
|
|
|
|
#line 843 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
@ -900,13 +847,15 @@ else
|
|
|
|
|
#include <float.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_stdc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_stdc=no
|
|
|
|
|
fi
|
|
|
|
@ -915,7 +864,7 @@ rm -f conftest*
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 832 "configure"
|
|
|
|
|
#line 868 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
EOF
|
|
|
|
@ -933,7 +882,7 @@ fi
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 850 "configure"
|
|
|
|
|
#line 886 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
EOF
|
|
|
|
@ -953,8 +902,8 @@ if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
if test "$cross_compiling" = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 871 "configure"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 907 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
@ -965,14 +914,18 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
{ (eval echo configure:882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
|
|
|
|
|
if test -s conftest && (./conftest; exit) 2>/dev/null; then
|
|
|
|
|
if { (eval echo configure:918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
ac_cv_header_stdc=no
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
@ -986,24 +939,27 @@ fi
|
|
|
|
|
|
|
|
|
|
for ac_hdr in sys/ioctl.h unistd.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:945: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 909 "configure"
|
|
|
|
|
#line 950 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=no"
|
|
|
|
|
fi
|
|
|
|
@ -1011,7 +967,7 @@ rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
|
|
|
|
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
|
#define $ac_tr_hdr 1
|
|
|
|
|
EOF
|
|
|
|
@ -1021,24 +977,27 @@ else
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "linux/isdn.h" | tr './\055' '___'`
|
|
|
|
|
ac_safe=`echo "linux/isdn.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for linux/isdn.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:983: checking for linux/isdn.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 944 "configure"
|
|
|
|
|
#line 988 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <linux/isdn.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=no"
|
|
|
|
|
fi
|
|
|
|
@ -1052,24 +1011,27 @@ else
|
|
|
|
|
{ echo "configure: error: "\nMissing linux/isdn.h. Kernel source installed?"" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "linux/isdnif.h" | tr './\055' '___'`
|
|
|
|
|
ac_safe=`echo "linux/isdnif.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for linux/isdnif.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1017: checking for linux/isdnif.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 975 "configure"
|
|
|
|
|
#line 1022 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <linux/isdnif.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=no"
|
|
|
|
|
fi
|
|
|
|
@ -1085,12 +1047,99 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1052: checking for dbm_open in -ldbm" >&5
|
|
|
|
|
ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldbm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1060 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char dbm_open();
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
dbm_open()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
DBMLIB=-ldbm; cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_LIBDBM 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1093: checking for gdbm_open in -lgdbm" >&5
|
|
|
|
|
ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgdbm $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1101 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
char gdbm_open();
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
gdbm_open()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
LIBS="$ac_save_LIBS"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
DBMLIB=-lgdbm; cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_LIBGDBM 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1138: checking return type of signal handlers" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1007 "configure"
|
|
|
|
|
#line 1143 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <signal.h>
|
|
|
|
@ -1103,20 +1152,20 @@ extern "C" void (*signal (int, void (*)(int)))(int);
|
|
|
|
|
void (*signal ()) ();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
int main() { return 0; }
|
|
|
|
|
int t() {
|
|
|
|
|
int main() {
|
|
|
|
|
int i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_type_signal=void
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_type_signal=int
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_type_signal" 1>&6
|
|
|
|
@ -1126,6 +1175,38 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
have_triggercps="no"
|
|
|
|
|
echo $ac_n "checking for triggercps in linux/isdn.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1181: checking for triggercps in linux/isdn.h" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1183 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <linux/isdn.h>
|
|
|
|
|
int main() {
|
|
|
|
|
isdn_net_ioctl_cfg x; int i = x.triggercps;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
have_triggercps="yes"
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
echo "$ac_t"""${have_triggercps}"" 1>&6
|
|
|
|
|
if test "$have_triggercps" != "no" ; then
|
|
|
|
|
echo "$ac_t"""yes"" 1>&6
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HAVE_TRIGGERCPS 1
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trap '' 1 2 15
|
|
|
|
|
cat > confcache <<\EOF
|
|
|
|
@ -1144,11 +1225,25 @@ cat > confcache <<\EOF
|
|
|
|
|
# --recheck option to rerun configure.
|
|
|
|
|
#
|
|
|
|
|
EOF
|
|
|
|
|
# The following way of writing the cache mishandles newlines in values,
|
|
|
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
|
|
|
|
# So, don't put newlines in cache variables' values.
|
|
|
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
|
|
(set) 2>&1 |
|
|
|
|
|
sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
|
|
|
|
|
>> confcache
|
|
|
|
|
case `(ac_space=' '; set) 2>&1` in
|
|
|
|
|
*ac_space=\ *)
|
|
|
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
|
|
|
# turns \\\\ into \\, and sed turns \\ into \).
|
|
|
|
|
sed -n \
|
|
|
|
|
-e "s/'/'\\\\''/g" \
|
|
|
|
|
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
|
|
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
|
|
|
|
;;
|
|
|
|
|
esac >> confcache
|
|
|
|
|
if cmp -s $cache_file confcache; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1176,19 +1271,7 @@ fi
|
|
|
|
|
|
|
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
|
|
|
|
|
|
|
|
|
# Transform confdefs.h into DEFS.
|
|
|
|
|
# Protect against shell expansion while executing Makefile rules.
|
|
|
|
|
# Protect against Makefile macro expansion.
|
|
|
|
|
cat > conftest.defs <<\EOF
|
|
|
|
|
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
|
|
|
|
|
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
|
|
|
|
|
s%\[%\\&%g
|
|
|
|
|
s%\]%\\&%g
|
|
|
|
|
s%\$%$$%g
|
|
|
|
|
EOF
|
|
|
|
|
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
|
|
|
|
|
rm -f conftest.defs
|
|
|
|
|
|
|
|
|
|
DEFS=-DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
|
|
# Without the "./", some shells look in PATH for config.status.
|
|
|
|
|
: ${CONFIG_STATUS=./config.status}
|
|
|
|
@ -1215,7 +1298,7 @@ do
|
|
|
|
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
|
|
|
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
|
|
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
|
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.10"
|
|
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.12"
|
|
|
|
|
exit 0 ;;
|
|
|
|
|
-help | --help | --hel | --he | --h)
|
|
|
|
|
echo "\$ac_cs_usage"; exit 0 ;;
|
|
|
|
@ -1226,7 +1309,7 @@ done
|
|
|
|
|
ac_given_srcdir=$srcdir
|
|
|
|
|
ac_given_INSTALL="$INSTALL"
|
|
|
|
|
|
|
|
|
|
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
|
|
|
|
trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
|
|
|
|
@ -1260,25 +1343,62 @@ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
|
|
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
|
|
s%@CC@%$CC%g
|
|
|
|
|
s%@CPP@%$CPP%g
|
|
|
|
|
s%@HAVE_TRIGGERCPS@%$HAVE_TRIGGERCPS%g
|
|
|
|
|
s%@INSTALL@%$INSTALL%g
|
|
|
|
|
s%@DBMLIB@%$DBMLIB%g
|
|
|
|
|
|
|
|
|
|
CEOF
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
|
|
|
|
|
# Split the substitutions into bite-sized pieces for seds with
|
|
|
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
|
|
|
|
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
|
|
|
|
|
ac_file=1 # Number of current file.
|
|
|
|
|
ac_beg=1 # First line for current file.
|
|
|
|
|
ac_end=$ac_max_sed_cmds # Line after last line for current file.
|
|
|
|
|
ac_more_lines=:
|
|
|
|
|
ac_sed_cmds=""
|
|
|
|
|
while $ac_more_lines; do
|
|
|
|
|
if test $ac_beg -gt 1; then
|
|
|
|
|
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
|
|
|
|
|
else
|
|
|
|
|
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
|
|
|
|
|
fi
|
|
|
|
|
if test ! -s conftest.s$ac_file; then
|
|
|
|
|
ac_more_lines=false
|
|
|
|
|
rm -f conftest.s$ac_file
|
|
|
|
|
else
|
|
|
|
|
if test -z "$ac_sed_cmds"; then
|
|
|
|
|
ac_sed_cmds="sed -f conftest.s$ac_file"
|
|
|
|
|
else
|
|
|
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
|
|
|
|
|
fi
|
|
|
|
|
ac_file=`expr $ac_file + 1`
|
|
|
|
|
ac_beg=$ac_end
|
|
|
|
|
ac_end=`expr $ac_end + $ac_max_sed_cmds`
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
if test -z "$ac_sed_cmds"; then
|
|
|
|
|
ac_sed_cmds=cat
|
|
|
|
|
fi
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
|
|
|
|
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
|
|
|
|
# Support "outfile[:infile]", defaulting infile="outfile.in".
|
|
|
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
|
|
case "$ac_file" in
|
|
|
|
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
|
|
|
|
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
|
|
|
|
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
|
|
|
*) ac_file_in="${ac_file}.in" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# Adjust relative srcdir, etc. for subdirectories.
|
|
|
|
|
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
|
|
|
|
|
|
|
|
|
# Remove last slash and all that follows it. Not all systems have dirname.
|
|
|
|
|
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
|
|
|
@ -1306,6 +1426,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
|
|
|
|
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
|
|
|
|
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo creating "$ac_file"
|
|
|
|
|
rm -f "$ac_file"
|
|
|
|
|
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
|
|
|
@ -1314,17 +1435,129 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
|
|
|
|
# $configure_input" ;;
|
|
|
|
|
*) ac_comsub= ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
|
|
|
|
sed -e "$ac_comsub
|
|
|
|
|
s%@configure_input@%$configure_input%g
|
|
|
|
|
s%@srcdir@%$srcdir%g
|
|
|
|
|
s%@top_srcdir@%$top_srcdir%g
|
|
|
|
|
s%@INSTALL@%$INSTALL%g
|
|
|
|
|
|
|
|
|
|
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
|
|
|
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
|
|
|
|
|
fi; done
|
|
|
|
|
rm -f conftest.subs
|
|
|
|
|
rm -f conftest.s*
|
|
|
|
|
|
|
|
|
|
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
|
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
|
|
|
#
|
|
|
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
|
|
|
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
|
|
|
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
|
|
|
|
|
ac_dC='\3'
|
|
|
|
|
ac_dD='%g'
|
|
|
|
|
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
|
|
|
|
|
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
|
|
ac_uB='\([ ]\)%\1#\2define\3'
|
|
|
|
|
ac_uC=' '
|
|
|
|
|
ac_uD='\4%g'
|
|
|
|
|
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
|
|
|
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
|
|
ac_eB='$%\1#\2define\3'
|
|
|
|
|
ac_eC=' '
|
|
|
|
|
ac_eD='%g'
|
|
|
|
|
|
|
|
|
|
if test "${CONFIG_HEADERS+set}" != set; then
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
CONFIG_HEADERS="config.h"
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
fi
|
|
|
|
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
|
|
|
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
|
|
case "$ac_file" in
|
|
|
|
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
|
|
|
|
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
|
|
|
*) ac_file_in="${ac_file}.in" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo creating $ac_file
|
|
|
|
|
|
|
|
|
|
rm -f conftest.frag conftest.in conftest.out
|
|
|
|
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
|
|
|
|
cat $ac_file_inputs > conftest.in
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# Transform confdefs.h into a sed script conftest.vals that substitutes
|
|
|
|
|
# the proper values into config.h.in to produce config.h. And first:
|
|
|
|
|
# Protect against being on the right side of a sed subst in config.status.
|
|
|
|
|
# Protect against being in an unquoted here document in config.status.
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
cat > conftest.hdr <<\EOF
|
|
|
|
|
s/[\\&%]/\\&/g
|
|
|
|
|
s%[\\$`]%\\&%g
|
|
|
|
|
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
|
|
|
|
|
s%ac_d%ac_u%gp
|
|
|
|
|
s%ac_u%ac_e%gp
|
|
|
|
|
EOF
|
|
|
|
|
sed -n -f conftest.hdr confdefs.h > conftest.vals
|
|
|
|
|
rm -f conftest.hdr
|
|
|
|
|
|
|
|
|
|
# This sed command replaces #undef with comments. This is necessary, for
|
|
|
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
|
|
# on some systems where configure will not decide to define it.
|
|
|
|
|
cat >> conftest.vals <<\EOF
|
|
|
|
|
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# Break up conftest.vals because some shells have a limit on
|
|
|
|
|
# the size of here documents, and old seds have small limits too.
|
|
|
|
|
|
|
|
|
|
rm -f conftest.tail
|
|
|
|
|
while :
|
|
|
|
|
do
|
|
|
|
|
ac_lines=`grep -c . conftest.vals`
|
|
|
|
|
# grep -c gives empty output for an empty file on some AIX systems.
|
|
|
|
|
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
|
|
|
|
|
# Write a limited-size here document to conftest.frag.
|
|
|
|
|
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
|
|
|
|
|
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
|
|
|
|
|
echo 'CEOF
|
|
|
|
|
sed -f conftest.frag conftest.in > conftest.out
|
|
|
|
|
rm -f conftest.in
|
|
|
|
|
mv conftest.out conftest.in
|
|
|
|
|
' >> $CONFIG_STATUS
|
|
|
|
|
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
mv conftest.tail conftest.vals
|
|
|
|
|
done
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
rm -f conftest.frag conftest.h
|
|
|
|
|
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
|
|
|
|
|
cat conftest.in >> conftest.h
|
|
|
|
|
rm -f conftest.in
|
|
|
|
|
if cmp -s $ac_file conftest.h 2>/dev/null; then
|
|
|
|
|
echo "$ac_file is unchanged"
|
|
|
|
|
rm -f conftest.h
|
|
|
|
|
else
|
|
|
|
|
# Remove last slash and all that follows it. Not all systems have dirname.
|
|
|
|
|
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
|
|
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
|
|
|
|
# The file is in a subdirectory.
|
|
|
|
|
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
|
|
|
|
fi
|
|
|
|
|
rm -f $ac_file
|
|
|
|
|
mv conftest.h $ac_file
|
|
|
|
|
fi
|
|
|
|
|
fi; done
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
EOF
|
|
|
|
|