|
@@ -1,7 +1,7 @@
|
|
#! /bin/sh
|
|
#! /bin/sh
|
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
-# Generated automatically using autoconf version 2.12
|
|
|
|
|
|
+# Generated automatically using autoconf version 2.12.2
|
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
|
#
|
|
#
|
|
# This configure script is free software; the Free Software Foundation
|
|
# This configure script is free software; the Free Software Foundation
|
|
@@ -49,6 +49,7 @@ mandir='${prefix}/man'
|
|
# Initialize some other variables.
|
|
# Initialize some other variables.
|
|
subdirs=
|
|
subdirs=
|
|
MFLAGS= MAKEFLAGS=
|
|
MFLAGS= MAKEFLAGS=
|
|
|
|
+SHELL=${CONFIG_SHELL-/bin/sh}
|
|
# Maximum number of lines to put in a shell here document.
|
|
# Maximum number of lines to put in a shell here document.
|
|
ac_max_here_lines=12
|
|
ac_max_here_lines=12
|
|
|
|
|
|
@@ -332,7 +333,7 @@ EOF
|
|
verbose=yes ;;
|
|
verbose=yes ;;
|
|
|
|
|
|
-version | --version | --versio | --versi | --vers)
|
|
-version | --version | --versio | --versi | --vers)
|
|
- echo "configure generated by autoconf version 2.12"
|
|
|
|
|
|
+ echo "configure generated by autoconf version 2.12.2"
|
|
exit 0 ;;
|
|
exit 0 ;;
|
|
|
|
|
|
-with-* | --with-*)
|
|
-with-* | --with-*)
|
|
@@ -502,9 +503,11 @@ ac_ext=c
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
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'
|
|
|
|
|
|
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
+ac_exeext=
|
|
|
|
+ac_objext=o
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
|
@@ -523,15 +526,16 @@ fi
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
set dummy gcc; ac_word=$2
|
|
set dummy gcc; ac_word=$2
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
-echo "configure:527: checking for $ac_word" >&5
|
|
|
|
|
|
+echo "configure:530: checking for $ac_word" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
if test -n "$CC"; then
|
|
if test -n "$CC"; then
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
else
|
|
else
|
|
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
|
- for ac_dir in $PATH; do
|
|
|
|
|
|
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
+ ac_dummy="$PATH"
|
|
|
|
+ for ac_dir in $ac_dummy; do
|
|
test -z "$ac_dir" && ac_dir=.
|
|
test -z "$ac_dir" && ac_dir=.
|
|
if test -f $ac_dir/$ac_word; then
|
|
if test -f $ac_dir/$ac_word; then
|
|
ac_cv_prog_CC="gcc"
|
|
ac_cv_prog_CC="gcc"
|
|
@@ -552,16 +556,17 @@ if test -z "$CC"; then
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
set dummy cc; ac_word=$2
|
|
set dummy cc; ac_word=$2
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
-echo "configure:556: checking for $ac_word" >&5
|
|
|
|
|
|
+echo "configure:560: checking for $ac_word" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
if test -n "$CC"; then
|
|
if test -n "$CC"; then
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
else
|
|
else
|
|
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
|
|
|
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
ac_prog_rejected=no
|
|
ac_prog_rejected=no
|
|
- for ac_dir in $PATH; do
|
|
|
|
|
|
+ ac_dummy="$PATH"
|
|
|
|
+ for ac_dir in $ac_dummy; do
|
|
test -z "$ac_dir" && ac_dir=.
|
|
test -z "$ac_dir" && ac_dir=.
|
|
if test -f $ac_dir/$ac_word; then
|
|
if test -f $ac_dir/$ac_word; then
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
|
@@ -596,25 +601,61 @@ else
|
|
echo "$ac_t""no" 1>&6
|
|
echo "$ac_t""no" 1>&6
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ if test -z "$CC"; then
|
|
|
|
+ case "`uname -s`" in
|
|
|
|
+ *win32* | *WIN32*)
|
|
|
|
+ # Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
+set dummy cl; ac_word=$2
|
|
|
|
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
+echo "configure:611: 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
|
|
|
|
+ if test -n "$CC"; then
|
|
|
|
+ ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
|
+else
|
|
|
|
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
+ ac_dummy="$PATH"
|
|
|
|
+ for ac_dir in $ac_dummy; do
|
|
|
|
+ test -z "$ac_dir" && ac_dir=.
|
|
|
|
+ if test -f $ac_dir/$ac_word; then
|
|
|
|
+ ac_cv_prog_CC="cl"
|
|
|
|
+ break
|
|
|
|
+ fi
|
|
|
|
+ done
|
|
|
|
+ IFS="$ac_save_ifs"
|
|
|
|
+fi
|
|
|
|
+fi
|
|
|
|
+CC="$ac_cv_prog_CC"
|
|
|
|
+if test -n "$CC"; then
|
|
|
|
+ echo "$ac_t""$CC" 1>&6
|
|
|
|
+else
|
|
|
|
+ echo "$ac_t""no" 1>&6
|
|
|
|
+fi
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ fi
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
|
fi
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
-echo "configure:604: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
+echo "configure:643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
ac_ext=c
|
|
ac_ext=c
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
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'
|
|
|
|
|
|
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
-cat > conftest.$ac_ext <<EOF
|
|
|
|
-#line 614 "configure"
|
|
|
|
|
|
+cat > conftest.$ac_ext << EOF
|
|
|
|
+
|
|
|
|
+#line 654 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
|
|
+
|
|
main(){return(0);}
|
|
main(){return(0);}
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
|
+if { (eval echo configure:659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
ac_cv_prog_cc_works=yes
|
|
ac_cv_prog_cc_works=yes
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
@@ -628,18 +669,24 @@ else
|
|
ac_cv_prog_cc_works=no
|
|
ac_cv_prog_cc_works=no
|
|
fi
|
|
fi
|
|
rm -fr conftest*
|
|
rm -fr conftest*
|
|
|
|
+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${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
+cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
|
if test $ac_cv_prog_cc_works = no; then
|
|
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; }
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
fi
|
|
fi
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
-echo "configure:638: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
|
+echo "configure:685: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
-echo "configure:643: checking whether we are using GNU C" >&5
|
|
|
|
|
|
+echo "configure:690: checking whether we are using GNU C" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
@@ -648,7 +695,7 @@ else
|
|
yes;
|
|
yes;
|
|
#endif
|
|
#endif
|
|
EOF
|
|
EOF
|
|
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:652: \"$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:699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
ac_cv_prog_gcc=yes
|
|
ac_cv_prog_gcc=yes
|
|
else
|
|
else
|
|
ac_cv_prog_gcc=no
|
|
ac_cv_prog_gcc=no
|
|
@@ -659,11 +706,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
|
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then
|
|
if test $ac_cv_prog_gcc = yes; then
|
|
GCC=yes
|
|
GCC=yes
|
|
- 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:667: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
|
+else
|
|
|
|
+ GCC=
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+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:718: checking whether ${CC-cc} accepts -g" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
@@ -678,16 +729,20 @@ rm -f conftest*
|
|
fi
|
|
fi
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
|
|
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
|
|
|
|
|
|
+if test "$ac_test_CFLAGS" = set; then
|
|
|
|
+ CFLAGS="$ac_save_CFLAGS"
|
|
|
|
+elif test $ac_cv_prog_cc_g = yes; then
|
|
|
|
+ if test "$GCC" = yes; then
|
|
CFLAGS="-g -O2"
|
|
CFLAGS="-g -O2"
|
|
else
|
|
else
|
|
- CFLAGS="-O2"
|
|
|
|
|
|
+ CFLAGS="-g"
|
|
fi
|
|
fi
|
|
else
|
|
else
|
|
- GCC=
|
|
|
|
- test "${CFLAGS+set}" = set || CFLAGS="-g"
|
|
|
|
|
|
+ if test "$GCC" = yes; then
|
|
|
|
+ CFLAGS="-O2"
|
|
|
|
+ else
|
|
|
|
+ CFLAGS=
|
|
|
|
+ fi
|
|
fi
|
|
fi
|
|
|
|
|
|
ac_aux_dir=
|
|
ac_aux_dir=
|
|
@@ -716,28 +771,30 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
# SunOS /usr/etc/install
|
|
# SunOS /usr/etc/install
|
|
# IRIX /sbin/install
|
|
# IRIX /sbin/install
|
|
# AIX /bin/install
|
|
# AIX /bin/install
|
|
|
|
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
# ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
-echo "configure:724: checking for a BSD compatible install" >&5
|
|
|
|
|
|
+echo "configure:780: checking for a BSD compatible install" >&5
|
|
if test -z "$INSTALL"; then
|
|
if test -z "$INSTALL"; then
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
- IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
|
|
|
|
|
|
+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
|
for ac_dir in $PATH; do
|
|
for ac_dir in $PATH; do
|
|
# Account for people who put trailing slashes in PATH elements.
|
|
# Account for people who put trailing slashes in PATH elements.
|
|
case "$ac_dir/" in
|
|
case "$ac_dir/" in
|
|
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|
*)
|
|
*)
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
- for ac_prog in ginstall installbsd scoinst install; do
|
|
|
|
|
|
+ # Don't use installbsd from OSF since it installs stuff as root
|
|
|
|
+ # by default.
|
|
|
|
+ for ac_prog in ginstall scoinst install; do
|
|
if test -f $ac_dir/$ac_prog; then
|
|
if test -f $ac_dir/$ac_prog; then
|
|
if test $ac_prog = install &&
|
|
if test $ac_prog = install &&
|
|
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|
# AIX install. It has an incompatible calling convention.
|
|
# AIX install. It has an incompatible calling convention.
|
|
- # OSF/1 installbsd also uses dspmsg, but is usable.
|
|
|
|
:
|
|
:
|
|
else
|
|
else
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
|
@@ -767,10 +824,12 @@ echo "$ac_t""$INSTALL" 1>&6
|
|
# It thinks the first close brace ends the variable substitution.
|
|
# It thinks the first close brace ends the variable substitution.
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
|
|
|
|
|
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
+
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
|
-echo "configure:774: checking whether ln -s works" >&5
|
|
|
|
|
|
+echo "configure:833: checking whether ln -s works" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
@@ -792,12 +851,12 @@ fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
-echo "configure:796: checking for working const" >&5
|
|
|
|
|
|
+echo "configure:855: checking for working const" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 801 "configure"
|
|
|
|
|
|
+#line 860 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
|
|
|
|
int main() {
|
|
int main() {
|
|
@@ -846,7 +905,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
; return 0; }
|
|
; return 0; }
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
|
+if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
ac_cv_c_const=yes
|
|
ac_cv_c_const=yes
|
|
else
|
|
else
|
|
@@ -867,7 +926,7 @@ EOF
|
|
fi
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
-echo "configure:871: checking how to run the C preprocessor" >&5
|
|
|
|
|
|
+echo "configure:930: checking how to run the C preprocessor" >&5
|
|
# On Suns, sometimes $CPP names a directory.
|
|
# On Suns, sometimes $CPP names a directory.
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
CPP=
|
|
CPP=
|
|
@@ -882,14 +941,14 @@ else
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
# not just through cpp.
|
|
# not just through cpp.
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 886 "configure"
|
|
|
|
|
|
+#line 945 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <assert.h>
|
|
#include <assert.h>
|
|
Syntax Error
|
|
Syntax Error
|
|
EOF
|
|
EOF
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
-{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
-ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
|
+{ (eval echo configure:951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
if test -z "$ac_err"; then
|
|
if test -z "$ac_err"; then
|
|
:
|
|
:
|
|
else
|
|
else
|
|
@@ -899,14 +958,31 @@ else
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 903 "configure"
|
|
|
|
|
|
+#line 962 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <assert.h>
|
|
#include <assert.h>
|
|
Syntax Error
|
|
Syntax Error
|
|
EOF
|
|
EOF
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
-{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
-ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
|
+{ (eval echo configure:968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
+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} -nologo -E"
|
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
|
+#line 979 "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:985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
if test -z "$ac_err"; then
|
|
if test -z "$ac_err"; then
|
|
:
|
|
:
|
|
else
|
|
else
|
|
@@ -919,6 +995,8 @@ fi
|
|
rm -f conftest*
|
|
rm -f conftest*
|
|
fi
|
|
fi
|
|
rm -f conftest*
|
|
rm -f conftest*
|
|
|
|
+fi
|
|
|
|
+rm -f conftest*
|
|
ac_cv_prog_CPP="$CPP"
|
|
ac_cv_prog_CPP="$CPP"
|
|
fi
|
|
fi
|
|
CPP="$ac_cv_prog_CPP"
|
|
CPP="$ac_cv_prog_CPP"
|
|
@@ -928,12 +1006,12 @@ fi
|
|
echo "$ac_t""$CPP" 1>&6
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
-echo "configure:932: checking for ANSI C header files" >&5
|
|
|
|
|
|
+echo "configure:1010: checking for ANSI C header files" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 937 "configure"
|
|
|
|
|
|
+#line 1015 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
#include <stdarg.h>
|
|
@@ -941,8 +1019,8 @@ else
|
|
#include <float.h>
|
|
#include <float.h>
|
|
EOF
|
|
EOF
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
-{ (eval echo configure:945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
-ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
|
+{ (eval echo configure:1023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
if test -z "$ac_err"; then
|
|
if test -z "$ac_err"; then
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
ac_cv_header_stdc=yes
|
|
ac_cv_header_stdc=yes
|
|
@@ -958,7 +1036,7 @@ rm -f conftest*
|
|
if test $ac_cv_header_stdc = yes; then
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 962 "configure"
|
|
|
|
|
|
+#line 1040 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <string.h>
|
|
#include <string.h>
|
|
EOF
|
|
EOF
|
|
@@ -976,7 +1054,7 @@ fi
|
|
if test $ac_cv_header_stdc = yes; then
|
|
if test $ac_cv_header_stdc = yes; then
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 980 "configure"
|
|
|
|
|
|
+#line 1058 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <stdlib.h>
|
|
#include <stdlib.h>
|
|
EOF
|
|
EOF
|
|
@@ -997,7 +1075,7 @@ if test "$cross_compiling" = yes; then
|
|
:
|
|
:
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1001 "configure"
|
|
|
|
|
|
+#line 1079 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <ctype.h>
|
|
#include <ctype.h>
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
@@ -1008,7 +1086,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
exit (0); }
|
|
exit (0); }
|
|
|
|
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:1012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
|
+if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
then
|
|
then
|
|
:
|
|
:
|
|
else
|
|
else
|
|
@@ -1032,12 +1110,12 @@ EOF
|
|
fi
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for off_t""... $ac_c" 1>&6
|
|
echo $ac_n "checking for off_t""... $ac_c" 1>&6
|
|
-echo "configure:1036: checking for off_t" >&5
|
|
|
|
|
|
+echo "configure:1114: checking for off_t" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1041 "configure"
|
|
|
|
|
|
+#line 1119 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
#if STDC_HEADERS
|
|
#if STDC_HEADERS
|
|
@@ -1046,7 +1124,7 @@ else
|
|
#endif
|
|
#endif
|
|
EOF
|
|
EOF
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
- egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
ac_cv_type_off_t=yes
|
|
ac_cv_type_off_t=yes
|
|
else
|
|
else
|
|
@@ -1065,12 +1143,12 @@ EOF
|
|
fi
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
-echo "configure:1069: checking for size_t" >&5
|
|
|
|
|
|
+echo "configure:1147: checking for size_t" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1074 "configure"
|
|
|
|
|
|
+#line 1152 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
#if STDC_HEADERS
|
|
#if STDC_HEADERS
|
|
@@ -1079,7 +1157,7 @@ else
|
|
#endif
|
|
#endif
|
|
EOF
|
|
EOF
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
- egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
|
|
|
+ egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
ac_cv_type_size_t=yes
|
|
ac_cv_type_size_t=yes
|
|
else
|
|
else
|
|
@@ -1098,12 +1176,12 @@ EOF
|
|
fi
|
|
fi
|
|
|
|
|
|
echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
|
|
echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
|
|
-echo "configure:1102: checking for st_rdev in struct stat" >&5
|
|
|
|
|
|
+echo "configure:1180: checking for st_rdev in struct stat" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1107 "configure"
|
|
|
|
|
|
+#line 1185 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/stat.h>
|
|
@@ -1111,7 +1189,7 @@ int main() {
|
|
struct stat s; s.st_rdev;
|
|
struct stat s; s.st_rdev;
|
|
; return 0; }
|
|
; return 0; }
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:1115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
|
+if { (eval echo configure:1193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
rm -rf conftest*
|
|
rm -rf conftest*
|
|
ac_cv_struct_st_rdev=yes
|
|
ac_cv_struct_st_rdev=yes
|
|
else
|
|
else
|
|
@@ -1131,50 +1209,8 @@ EOF
|
|
|
|
|
|
fi
|
|
fi
|
|
|
|
|
|
-echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
|
-echo "configure:1136: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
|
-if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
|
|
|
|
- echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
-else
|
|
|
|
- cat > conftest.$ac_ext <<EOF
|
|
|
|
-#line 1141 "configure"
|
|
|
|
-#include "confdefs.h"
|
|
|
|
-#include <sys/types.h>
|
|
|
|
-#include <sys/wait.h>
|
|
|
|
-#ifndef WEXITSTATUS
|
|
|
|
-#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
|
|
|
-#endif
|
|
|
|
-#ifndef WIFEXITED
|
|
|
|
-#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
|
|
|
-#endif
|
|
|
|
-int main() {
|
|
|
|
-int s;
|
|
|
|
-wait (&s);
|
|
|
|
-s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
|
-; return 0; }
|
|
|
|
-EOF
|
|
|
|
-if { (eval echo configure:1157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
- rm -rf conftest*
|
|
|
|
- ac_cv_header_sys_wait_h=yes
|
|
|
|
-else
|
|
|
|
- echo "configure: failed program was:" >&5
|
|
|
|
- cat conftest.$ac_ext >&5
|
|
|
|
- rm -rf conftest*
|
|
|
|
- ac_cv_header_sys_wait_h=no
|
|
|
|
-fi
|
|
|
|
-rm -f conftest*
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
|
|
|
|
-if test $ac_cv_header_sys_wait_h = yes; then
|
|
|
|
- cat >> confdefs.h <<\EOF
|
|
|
|
-#define HAVE_SYS_WAIT_H 1
|
|
|
|
-EOF
|
|
|
|
-
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
|
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
|
-echo "configure:1178: checking size of int" >&5
|
|
|
|
|
|
+echo "configure:1214: checking size of int" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
@@ -1182,7 +1218,7 @@ else
|
|
ac_cv_sizeof_int=4
|
|
ac_cv_sizeof_int=4
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1186 "configure"
|
|
|
|
|
|
+#line 1222 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
main()
|
|
main()
|
|
@@ -1193,7 +1229,7 @@ main()
|
|
exit(0);
|
|
exit(0);
|
|
}
|
|
}
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
|
+if { (eval echo configure:1233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
then
|
|
then
|
|
ac_cv_sizeof_int=`cat conftestval`
|
|
ac_cv_sizeof_int=`cat conftestval`
|
|
else
|
|
else
|
|
@@ -1213,7 +1249,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
|
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
|
-echo "configure:1217: checking size of long" >&5
|
|
|
|
|
|
+echo "configure:1253: checking size of long" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
else
|
|
@@ -1221,7 +1257,7 @@ else
|
|
ac_cv_sizeof_long=4
|
|
ac_cv_sizeof_long=4
|
|
else
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
cat > conftest.$ac_ext <<EOF
|
|
-#line 1225 "configure"
|
|
|
|
|
|
+#line 1261 "configure"
|
|
#include "confdefs.h"
|
|
#include "confdefs.h"
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
main()
|
|
main()
|
|
@@ -1232,7 +1268,7 @@ main()
|
|
exit(0);
|
|
exit(0);
|
|
}
|
|
}
|
|
EOF
|
|
EOF
|
|
-if { (eval echo configure:1236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
|
+if { (eval echo configure:1272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
then
|
|
then
|
|
ac_cv_sizeof_long=`cat conftestval`
|
|
ac_cv_sizeof_long=`cat conftestval`
|
|
else
|
|
else
|
|
@@ -1252,6 +1288,49 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
|
|
|
|
+echo "configure:1293: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
|
|
+if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
|
|
|
|
+ echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
+else
|
|
|
|
+ cat > conftest.$ac_ext <<EOF
|
|
|
|
+#line 1298 "configure"
|
|
|
|
+#include "confdefs.h"
|
|
|
|
+#include <sys/types.h>
|
|
|
|
+#include <sys/wait.h>
|
|
|
|
+#ifndef WEXITSTATUS
|
|
|
|
+#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
|
|
|
+#endif
|
|
|
|
+#ifndef WIFEXITED
|
|
|
|
+#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
|
|
|
+#endif
|
|
|
|
+int main() {
|
|
|
|
+int s;
|
|
|
|
+wait (&s);
|
|
|
|
+s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
|
|
|
|
+; return 0; }
|
|
|
|
+EOF
|
|
|
|
+if { (eval echo configure:1314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ac_cv_header_sys_wait_h=yes
|
|
|
|
+else
|
|
|
|
+ echo "configure: failed program was:" >&5
|
|
|
|
+ cat conftest.$ac_ext >&5
|
|
|
|
+ rm -rf conftest*
|
|
|
|
+ ac_cv_header_sys_wait_h=no
|
|
|
|
+fi
|
|
|
|
+rm -f conftest*
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
|
|
|
|
+if test $ac_cv_header_sys_wait_h = yes; then
|
|
|
|
+ cat >> confdefs.h <<\EOF
|
|
|
|
+#define HAVE_SYS_WAIT_H 1
|
|
|
|
+EOF
|
|
|
|
+
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
trap '' 1 2 15
|
|
trap '' 1 2 15
|
|
cat > confcache <<\EOF
|
|
cat > confcache <<\EOF
|
|
# This file is a shell script that caches the results of configure
|
|
# This file is a shell script that caches the results of configure
|
|
@@ -1275,7 +1354,7 @@ EOF
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
# 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.
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
|
(set) 2>&1 |
|
|
(set) 2>&1 |
|
|
- case `(ac_space=' '; set) 2>&1` in
|
|
|
|
|
|
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
*ac_space=\ *)
|
|
*ac_space=\ *)
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
# turns \\\\ into \\, and sed turns \\ into \).
|
|
# turns \\\\ into \\, and sed turns \\ into \).
|
|
@@ -1342,7 +1421,7 @@ do
|
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
|
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 ;;
|
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
|
- echo "$CONFIG_STATUS generated by autoconf version 2.12"
|
|
|
|
|
|
+ echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
|
|
exit 0 ;;
|
|
exit 0 ;;
|
|
-help | --help | --hel | --he | --h)
|
|
-help | --help | --hel | --he | --h)
|
|
echo "\$ac_cs_usage"; exit 0 ;;
|
|
echo "\$ac_cs_usage"; exit 0 ;;
|
|
@@ -1362,9 +1441,11 @@ sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
|
|
$ac_vpsub
|
|
$ac_vpsub
|
|
$extrasub
|
|
$extrasub
|
|
|
|
+s%@SHELL@%$SHELL%g
|
|
s%@CFLAGS@%$CFLAGS%g
|
|
s%@CFLAGS@%$CFLAGS%g
|
|
s%@CPPFLAGS@%$CPPFLAGS%g
|
|
s%@CPPFLAGS@%$CPPFLAGS%g
|
|
s%@CXXFLAGS@%$CXXFLAGS%g
|
|
s%@CXXFLAGS@%$CXXFLAGS%g
|
|
|
|
+s%@FFLAGS@%$FFLAGS%g
|
|
s%@DEFS@%$DEFS%g
|
|
s%@DEFS@%$DEFS%g
|
|
s%@LDFLAGS@%$LDFLAGS%g
|
|
s%@LDFLAGS@%$LDFLAGS%g
|
|
s%@LIBS@%$LIBS%g
|
|
s%@LIBS@%$LIBS%g
|
|
@@ -1385,6 +1466,7 @@ s%@infodir@%$infodir%g
|
|
s%@mandir@%$mandir%g
|
|
s%@mandir@%$mandir%g
|
|
s%@CC@%$CC%g
|
|
s%@CC@%$CC%g
|
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
|
|
|
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
s%@LN_S@%$LN_S%g
|
|
s%@LN_S@%$LN_S%g
|
|
s%@CPP@%$CPP%g
|
|
s%@CPP@%$CPP%g
|