Kaydet (Commit) ec2f073a authored tarafından Guido van Rossum's avatar Guido van Rossum

The usual

üst 44be35ac
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.43 # From configure.in Revision: 1.44
# 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
...@@ -23,6 +23,10 @@ ac_help="$ac_help ...@@ -23,6 +23,10 @@ ac_help="$ac_help
--with-readline=DIRECTORY search GNU readline library in DIRECTORY --with-readline=DIRECTORY search GNU readline library in DIRECTORY
--without-readline do not use GNU readline library" --without-readline do not use GNU readline library"
ac_help="$ac_help ac_help="$ac_help
--with-dec-threads use DEC Alpha/OSF1 thread-safe libraries"
ac_help="$ac_help
--with-threads alias for --with-thread"
ac_help="$ac_help
--with-thread[=DIRECTORY] make interpreter thread-safe" --with-thread[=DIRECTORY] make interpreter thread-safe"
ac_help="$ac_help ac_help="$ac_help
--with-sgi-dl=DIRECTORY IRIX 4 dynamic linking" --with-sgi-dl=DIRECTORY IRIX 4 dynamic linking"
...@@ -545,7 +549,7 @@ fi ...@@ -545,7 +549,7 @@ fi
if test -f /usr/lib/NextStep/software_version; then if test -f /usr/lib/NextStep/software_version; then
echo $ac_n "checking for --with-next-archs""... $ac_c" 1>&6 echo $ac_n "checking for --with-next-archs""... $ac_c" 1>&6
echo "configure:549: checking for --with-next-archs" >&5 echo "configure:553: checking for --with-next-archs" >&5
# Check whether --with-next-archs or --without-next-archs was given. # Check whether --with-next-archs or --without-next-archs was given.
if test "${with_next_archs+set}" = set; then if test "${with_next_archs+set}" = set; then
withval="$with_next_archs" withval="$with_next_archs"
...@@ -575,7 +579,7 @@ fi ...@@ -575,7 +579,7 @@ fi
# Set name for machine-dependent library files # Set name for machine-dependent library files
echo $ac_n "checking MACHDEP""... $ac_c" 1>&6 echo $ac_n "checking MACHDEP""... $ac_c" 1>&6
echo "configure:579: checking MACHDEP" >&5 echo "configure:583: checking MACHDEP" >&5
if test -z "$MACHDEP" if test -z "$MACHDEP"
then then
ac_sys_system=`uname -s` ac_sys_system=`uname -s`
...@@ -598,7 +602,7 @@ echo "$ac_t""$MACHDEP" 1>&6 ...@@ -598,7 +602,7 @@ echo "$ac_t""$MACHDEP" 1>&6
# checks for alternative programs # checks for alternative programs
echo $ac_n "checking for --without-gcc""... $ac_c" 1>&6 echo $ac_n "checking for --without-gcc""... $ac_c" 1>&6
echo "configure:602: checking for --without-gcc" >&5 echo "configure:606: checking for --without-gcc" >&5
# Check whether --with-gcc or --without-gcc was given. # Check whether --with-gcc or --without-gcc was given.
if test "${with_gcc+set}" = set; then if test "${with_gcc+set}" = set; then
withval="$with_gcc" withval="$with_gcc"
...@@ -632,7 +636,7 @@ fi ...@@ -632,7 +636,7 @@ 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:636: checking for $ac_word" >&5 echo "configure:640: 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
...@@ -661,7 +665,7 @@ if test -z "$CC"; then ...@@ -661,7 +665,7 @@ 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:665: checking for $ac_word" >&5 echo "configure:669: 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
...@@ -709,7 +713,7 @@ fi ...@@ -709,7 +713,7 @@ fi
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:713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 echo "configure:717: 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.
...@@ -719,11 +723,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS ...@@ -719,11 +723,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 723 "configure" #line 727 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; 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
...@@ -743,12 +747,12 @@ if test $ac_cv_prog_cc_works = no; then ...@@ -743,12 +747,12 @@ 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:747: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:751: 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:752: checking whether we are using GNU C" >&5 echo "configure:756: 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
...@@ -757,7 +761,7 @@ else ...@@ -757,7 +761,7 @@ else
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:761: \"$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:765: \"$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
...@@ -772,7 +776,7 @@ if test $ac_cv_prog_gcc = yes; then ...@@ -772,7 +776,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:776: checking whether ${CC-cc} accepts -g" >&5 echo "configure:780: 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
...@@ -802,7 +806,7 @@ fi ...@@ -802,7 +806,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args. # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2 set dummy ranlib; 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:806: checking for $ac_word" >&5 echo "configure:810: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -834,7 +838,7 @@ do ...@@ -834,7 +838,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; 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:838: checking for $ac_word" >&5 echo "configure:842: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -892,7 +896,7 @@ then ...@@ -892,7 +896,7 @@ then
fi fi
# checks for UNIX variants that set C preprocessor variables # checks for UNIX variants that set C preprocessor variables
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:896: checking how to run the C preprocessor" >&5 echo "configure:900: 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=
...@@ -907,13 +911,13 @@ else ...@@ -907,13 +911,13 @@ 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 911 "configure" #line 915 "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:917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
...@@ -924,13 +928,13 @@ else ...@@ -924,13 +928,13 @@ 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 928 "configure" #line 932 "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:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
...@@ -953,9 +957,9 @@ fi ...@@ -953,9 +957,9 @@ fi
echo "$ac_t""$CPP" 1>&6 echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo $ac_n "checking for AIX""... $ac_c" 1>&6
echo "configure:957: checking for AIX" >&5 echo "configure:961: checking for AIX" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 959 "configure" #line 963 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef _AIX #ifdef _AIX
yes yes
...@@ -978,17 +982,17 @@ rm -f conftest* ...@@ -978,17 +982,17 @@ rm -f conftest*
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
echo "configure:982: checking for minix/config.h" >&5 echo "configure:986: checking for minix/config.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 987 "configure" #line 991 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <minix/config.h> #include <minix/config.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:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -1028,9 +1032,9 @@ fi ...@@ -1028,9 +1032,9 @@ fi
# check for ANSI or K&R ("traditional") preprocessor # check for ANSI or K&R ("traditional") preprocessor
echo $ac_n "checking for C preprocessor type""... $ac_c" 1>&6 echo $ac_n "checking for C preprocessor type""... $ac_c" 1>&6
echo "configure:1032: checking for C preprocessor type" >&5 echo "configure:1036: checking for C preprocessor type" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1034 "configure" #line 1038 "configure"
#include "confdefs.h" #include "confdefs.h"
#define spam(name, doc) {#name, &name, #name "() -- " doc} #define spam(name, doc) {#name, &name, #name "() -- " doc}
...@@ -1041,7 +1045,7 @@ int main() { ...@@ -1041,7 +1045,7 @@ int main() {
; ;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cpp_type=ansi cpp_type=ansi
else else
...@@ -1058,12 +1062,12 @@ echo "$ac_t""$cpp_type" 1>&6 ...@@ -1058,12 +1062,12 @@ echo "$ac_t""$cpp_type" 1>&6
# checks for header files # checks for header files
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:1062: checking for ANSI C header files" >&5 echo "configure:1066: 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 1067 "configure" #line 1071 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -1071,7 +1075,7 @@ else ...@@ -1071,7 +1075,7 @@ 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:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -1088,7 +1092,7 @@ rm -f conftest* ...@@ -1088,7 +1092,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 1092 "configure" #line 1096 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
EOF EOF
...@@ -1106,7 +1110,7 @@ fi ...@@ -1106,7 +1110,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 1110 "configure" #line 1114 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
EOF EOF
...@@ -1127,7 +1131,7 @@ if test "$cross_compiling" = yes; then ...@@ -1127,7 +1131,7 @@ if test "$cross_compiling" = yes; then
: :
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1131 "configure" #line 1135 "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')
...@@ -1138,7 +1142,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ...@@ -1138,7 +1142,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); } exit (0); }
EOF EOF
if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:1146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
: :
else else
...@@ -1169,17 +1173,17 @@ sys/un.h sys/utsname.h sys/wait.h ...@@ -1169,17 +1173,17 @@ sys/un.h sys/utsname.h sys/wait.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1173: checking for $ac_hdr" >&5 echo "configure:1177: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 1178 "configure" #line 1182 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
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:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -1210,12 +1214,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h ...@@ -1210,12 +1214,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
echo "configure:1214: checking for $ac_hdr that defines DIR" >&5 echo "configure:1218: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+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 1219 "configure" #line 1223 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <$ac_hdr> #include <$ac_hdr>
...@@ -1223,7 +1227,7 @@ int main() { ...@@ -1223,7 +1227,7 @@ int main() {
DIR *dirp = 0; DIR *dirp = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes" eval "ac_cv_header_dirent_$ac_safe=yes"
else else
...@@ -1248,7 +1252,7 @@ done ...@@ -1248,7 +1252,7 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
echo "configure:1252: checking for opendir in -ldir" >&5 echo "configure:1256: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1256,7 +1260,7 @@ else ...@@ -1256,7 +1260,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS" LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1260 "configure" #line 1264 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1267,7 +1271,7 @@ int main() { ...@@ -1267,7 +1271,7 @@ int main() {
opendir() opendir()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1289,7 +1293,7 @@ fi ...@@ -1289,7 +1293,7 @@ fi
else else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
echo "configure:1293: checking for opendir in -lx" >&5 echo "configure:1297: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1297,7 +1301,7 @@ else ...@@ -1297,7 +1301,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS" LIBS="-lx $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1301 "configure" #line 1305 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1308,7 +1312,7 @@ int main() { ...@@ -1308,7 +1312,7 @@ int main() {
opendir() opendir()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1334,9 +1338,9 @@ fi ...@@ -1334,9 +1338,9 @@ fi
# checks for typedefs # checks for typedefs
was_it_defined=no was_it_defined=no
echo $ac_n "checking for clock_t in time.h""... $ac_c" 1>&6 echo $ac_n "checking for clock_t in time.h""... $ac_c" 1>&6
echo "configure:1338: checking for clock_t in time.h" >&5 echo "configure:1342: checking for clock_t in time.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1340 "configure" #line 1344 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
EOF EOF
...@@ -1363,12 +1367,12 @@ cat >> confdefs.h <<\EOF ...@@ -1363,12 +1367,12 @@ cat >> confdefs.h <<\EOF
EOF EOF
echo $ac_n "checking for mode_t""... $ac_c" 1>&6 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
echo "configure:1367: checking for mode_t" >&5 echo "configure:1371: checking for mode_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_mode_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 1372 "configure" #line 1376 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -1396,12 +1400,12 @@ EOF ...@@ -1396,12 +1400,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:1400: checking for off_t" >&5 echo "configure:1404: 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 1405 "configure" #line 1409 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -1429,12 +1433,12 @@ EOF ...@@ -1429,12 +1433,12 @@ EOF
fi fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:1433: checking for pid_t" >&5 echo "configure:1437: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_pid_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 1438 "configure" #line 1442 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -1462,12 +1466,12 @@ EOF ...@@ -1462,12 +1466,12 @@ EOF
fi fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:1466: checking return type of signal handlers" >&5 echo "configure:1470: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_signal'+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 1471 "configure" #line 1475 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
...@@ -1484,7 +1488,7 @@ int main() { ...@@ -1484,7 +1488,7 @@ int main() {
int i; int i;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_type_signal=void ac_cv_type_signal=void
else else
...@@ -1503,12 +1507,12 @@ EOF ...@@ -1503,12 +1507,12 @@ EOF
echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:1507: checking for size_t" >&5 echo "configure:1511: 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 1512 "configure" #line 1516 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -1536,12 +1540,12 @@ EOF ...@@ -1536,12 +1540,12 @@ EOF
fi fi
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
echo "configure:1540: checking for uid_t in sys/types.h" >&5 echo "configure:1544: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_uid_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 1545 "configure" #line 1549 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
EOF EOF
...@@ -1571,7 +1575,7 @@ fi ...@@ -1571,7 +1575,7 @@ 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:1575: checking size of int" >&5 echo "configure:1579: 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
...@@ -1579,7 +1583,7 @@ else ...@@ -1579,7 +1583,7 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1583 "configure" #line 1587 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
main() main()
...@@ -1590,7 +1594,7 @@ main() ...@@ -1590,7 +1594,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_int=`cat conftestval` ac_cv_sizeof_int=`cat conftestval`
else else
...@@ -1610,7 +1614,7 @@ EOF ...@@ -1610,7 +1614,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:1614: checking size of long" >&5 echo "configure:1618: 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
...@@ -1618,7 +1622,7 @@ else ...@@ -1618,7 +1622,7 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1622 "configure" #line 1626 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
main() main()
...@@ -1629,7 +1633,7 @@ main() ...@@ -1629,7 +1633,7 @@ main()
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
ac_cv_sizeof_long=`cat conftestval` ac_cv_sizeof_long=`cat conftestval`
else else
...@@ -1657,7 +1661,7 @@ EOF ...@@ -1657,7 +1661,7 @@ EOF
# SO is the extension of shared libraries `(including the dot!) # SO is the extension of shared libraries `(including the dot!)
# -- usually .so, .sl on HP-UX # -- usually .so, .sl on HP-UX
echo $ac_n "checking SO""... $ac_c" 1>&6 echo $ac_n "checking SO""... $ac_c" 1>&6
echo "configure:1661: checking SO" >&5 echo "configure:1665: checking SO" >&5
if test -z "$SO" if test -z "$SO"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -1669,7 +1673,7 @@ echo "$ac_t""$SO" 1>&6 ...@@ -1669,7 +1673,7 @@ echo "$ac_t""$SO" 1>&6
# LDSHARED is the ld *command* used to create shared library # LDSHARED is the ld *command* used to create shared library
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5 # -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
echo $ac_n "checking LDSHARED""... $ac_c" 1>&6 echo $ac_n "checking LDSHARED""... $ac_c" 1>&6
echo "configure:1673: checking LDSHARED" >&5 echo "configure:1677: checking LDSHARED" >&5
if test -z "$LDSHARED" if test -z "$LDSHARED"
then then
case $ac_sys_system/$ac_sys_release in case $ac_sys_system/$ac_sys_release in
...@@ -1691,7 +1695,7 @@ echo "$ac_t""$LDSHARED" 1>&6 ...@@ -1691,7 +1695,7 @@ echo "$ac_t""$LDSHARED" 1>&6
# CCSHARED are the C *flags* used to create objects to go into a shared # CCSHARED are the C *flags* used to create objects to go into a shared
# library -- this is only needed for a few systems # library -- this is only needed for a few systems
echo $ac_n "checking CCSHARED""... $ac_c" 1>&6 echo $ac_n "checking CCSHARED""... $ac_c" 1>&6
echo "configure:1695: checking CCSHARED" >&5 echo "configure:1699: checking CCSHARED" >&5
if test -z "$CCSHARED" if test -z "$CCSHARED"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -1708,7 +1712,7 @@ echo "$ac_t""$CCSHARED" 1>&6 ...@@ -1708,7 +1712,7 @@ echo "$ac_t""$CCSHARED" 1>&6
# LINKFORSHARED are the flags passed to the $(CC) command that links # LINKFORSHARED are the flags passed to the $(CC) command that links
# the python executable -- this is only needed for a few systems # the python executable -- this is only needed for a few systems
echo $ac_n "checking LINKFORSHARED""... $ac_c" 1>&6 echo $ac_n "checking LINKFORSHARED""... $ac_c" 1>&6
echo "configure:1712: checking LINKFORSHARED" >&5 echo "configure:1716: checking LINKFORSHARED" >&5
if test -z "$LINKFORSHARED" if test -z "$LINKFORSHARED"
then then
case $ac_sys_system in case $ac_sys_system in
...@@ -1724,7 +1728,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6 ...@@ -1724,7 +1728,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6
# checks for libraries # checks for libraries
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:1728: checking for dlopen in -ldl" >&5 echo "configure:1732: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1732,7 +1736,7 @@ else ...@@ -1732,7 +1736,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS" LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1736 "configure" #line 1740 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1743,7 +1747,7 @@ int main() { ...@@ -1743,7 +1747,7 @@ int main() {
dlopen() dlopen()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1771,7 +1775,7 @@ else ...@@ -1771,7 +1775,7 @@ else
fi fi
# Dynamic linking for SunOS/Solaris and SYSV # Dynamic linking for SunOS/Solaris and SYSV
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:1775: checking for shl_load in -ldld" >&5 echo "configure:1779: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1779,7 +1783,7 @@ else ...@@ -1779,7 +1783,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-ldld $LIBS" LIBS="-ldld $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1783 "configure" #line 1787 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1790,7 +1794,7 @@ int main() { ...@@ -1790,7 +1794,7 @@ int main() {
shl_load() shl_load()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1818,7 +1822,7 @@ else ...@@ -1818,7 +1822,7 @@ else
fi fi
# Dynamic linking for HP-UX # Dynamic linking for HP-UX
echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6 echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
echo "configure:1822: checking for getpwnam in -lsun" >&5 echo "configure:1826: checking for getpwnam in -lsun" >&5
ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'` ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1826,7 +1830,7 @@ else ...@@ -1826,7 +1830,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lsun $LIBS" LIBS="-lsun $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1830 "configure" #line 1834 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1837,7 +1841,7 @@ int main() { ...@@ -1837,7 +1841,7 @@ int main() {
getpwnam() getpwnam()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1873,7 +1877,7 @@ fi ...@@ -1873,7 +1877,7 @@ fi
if test "$ac_sys_system" != IRIX if test "$ac_sys_system" != IRIX
then then
echo $ac_n "checking for t_open in -lnsl""... $ac_c" 1>&6 echo $ac_n "checking for t_open in -lnsl""... $ac_c" 1>&6
echo "configure:1877: checking for t_open in -lnsl" >&5 echo "configure:1881: checking for t_open in -lnsl" >&5
ac_lib_var=`echo nsl'_'t_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo nsl'_'t_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1881,7 +1885,7 @@ else ...@@ -1881,7 +1885,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS" LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1885 "configure" #line 1889 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1892,7 +1896,7 @@ int main() { ...@@ -1892,7 +1896,7 @@ int main() {
t_open() t_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1913,7 +1917,7 @@ else ...@@ -1913,7 +1917,7 @@ else
fi fi
# SVR4 # SVR4
echo $ac_n "checking for gethostbyname in -linet""... $ac_c" 1>&6 echo $ac_n "checking for gethostbyname in -linet""... $ac_c" 1>&6
echo "configure:1917: checking for gethostbyname in -linet" >&5 echo "configure:1921: checking for gethostbyname in -linet" >&5
ac_lib_var=`echo inet'_'gethostbyname | sed 'y%./+-%__p_%'` ac_lib_var=`echo inet'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1921,7 +1925,7 @@ else ...@@ -1921,7 +1925,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-linet -lnsl $LIBS" LIBS="-linet -lnsl $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1925 "configure" #line 1929 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1932,7 +1936,7 @@ int main() { ...@@ -1932,7 +1936,7 @@ int main() {
gethostbyname() gethostbyname()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1953,7 +1957,7 @@ else ...@@ -1953,7 +1957,7 @@ else
fi fi
# Sequent # Sequent
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
echo "configure:1957: checking for socket in -lsocket" >&5 echo "configure:1961: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -1961,7 +1965,7 @@ else ...@@ -1961,7 +1965,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS $LIBS" LIBS="-lsocket $LIBS $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1965 "configure" #line 1969 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -1972,7 +1976,7 @@ int main() { ...@@ -1972,7 +1976,7 @@ int main() {
socket() socket()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -1994,7 +1998,7 @@ fi ...@@ -1994,7 +1998,7 @@ fi
# SVR4 sockets # SVR4 sockets
fi fi
echo $ac_n "checking for --with-libs""... $ac_c" 1>&6 echo $ac_n "checking for --with-libs""... $ac_c" 1>&6
echo "configure:1998: checking for --with-libs" >&5 echo "configure:2002: checking for --with-libs" >&5
# Check whether --with-libs or --without-libs was given. # Check whether --with-libs or --without-libs was given.
if test "${with_libs+set}" = set; then if test "${with_libs+set}" = set; then
withval="$with_libs" withval="$with_libs"
...@@ -2008,7 +2012,7 @@ fi ...@@ -2008,7 +2012,7 @@ fi
echo $ac_n "checking for --with(out)-readline""... $ac_c" 1>&6 echo $ac_n "checking for --with(out)-readline""... $ac_c" 1>&6
echo "configure:2012: checking for --with(out)-readline" >&5 echo "configure:2016: checking for --with(out)-readline" >&5
use_readline="yes" use_readline="yes"
# Check whether --with-readline or --without-readline was given. # Check whether --with-readline or --without-readline was given.
if test "${with_readline+set}" = set; then if test "${with_readline+set}" = set; then
...@@ -2026,7 +2030,7 @@ then ...@@ -2026,7 +2030,7 @@ then
fi fi
# See where the termcap interface could be hiding... # See where the termcap interface could be hiding...
echo $ac_n "checking for readline and termcap libraries""... $ac_c" 1>&6 echo $ac_n "checking for readline and termcap libraries""... $ac_c" 1>&6
echo "configure:2030: checking for readline and termcap libraries" >&5 echo "configure:2034: checking for readline and termcap libraries" >&5
if eval "test \"`echo '$''{'ac_cv_readline_termcap'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_readline_termcap'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2050,17 +2054,17 @@ else ...@@ -2050,17 +2054,17 @@ else
"$first" "-ltermcap" "-ltermlib" "-lcurses" "-lncurses" "$first" "-ltermcap" "-ltermlib" "-lcurses" "-lncurses"
do do
echo $ac_n "checking for $rl $add_lib""... $ac_c" 1>&6 echo $ac_n "checking for $rl $add_lib""... $ac_c" 1>&6
echo "configure:2054: checking for $rl $add_lib" >&5 echo "configure:2058: checking for $rl $add_lib" >&5
LIBS="$save_libs $rl $add_lib" LIBS="$save_libs $rl $add_lib"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2057 "configure" #line 2061 "configure"
#include "confdefs.h" #include "confdefs.h"
extern char *readline(); extern char *readline();
int main() { int main() {
char *line=readline(); char *line=readline();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6; echo "$ac_t""yes" 1>&6;
ac_cv_readline_termcap="$rl $add_lib" ac_cv_readline_termcap="$rl $add_lib"
...@@ -2078,7 +2082,7 @@ rm -f conftest* ...@@ -2078,7 +2082,7 @@ rm -f conftest*
LIBS="$save_libs" LIBS="$save_libs"
LDFLAGS="$save_ldflags" LDFLAGS="$save_ldflags"
echo $ac_n "checking result from check for readline and termcap""... $ac_c" 1>&6 echo $ac_n "checking result from check for readline and termcap""... $ac_c" 1>&6
echo "configure:2082: checking result from check for readline and termcap" >&5 echo "configure:2086: checking result from check for readline and termcap" >&5
fi fi
...@@ -2097,14 +2101,38 @@ EOF ...@@ -2097,14 +2101,38 @@ EOF
fi fi
fi fi
echo $ac_n "checking for --with-thread""... $ac_c" 1>&6 echo $ac_n "checking for --with-dec-threads""... $ac_c" 1>&6
echo "configure:2102: checking for --with-thread" >&5 echo "configure:2106: checking for --with-dec-threads" >&5
# Let --with-threads be an alias for --with-thread
# Check whether --with-dec-threads or --without-dec-threads was given.
if test "${with_dec_threads+set}" = set; then
withval="$with_dec_threads"
echo "$ac_t""$withval" 1>&6
LDLAST=-threads
if test "${with_thread+set}" != set; then
with_thread="$withval";
fi
else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for --with-threads""... $ac_c" 1>&6
echo "configure:2122: checking for --with-threads" >&5
# Check whether --with-threads or --without-threads was given.
if test "${with_threads+set}" = set; then
withval="$with_threads"
echo "$ac_t""$withval" 1>&6
if test "${with_thread+set}" != set; then if test "${with_thread+set}" != set; then
if test "${with_threads+set}" = set; then with_thread="$withval";
with_thread="$with_threads";
fi
fi fi
else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for --with-thread""... $ac_c" 1>&6
echo "configure:2136: checking for --with-thread" >&5
# Check whether --with-thread or --without-thread was given. # Check whether --with-thread or --without-thread was given.
if test "${with_thread+set}" = set; then if test "${with_thread+set}" = set; then
withval="$with_thread" withval="$with_thread"
...@@ -2119,17 +2147,17 @@ EOF ...@@ -2119,17 +2147,17 @@ EOF
ac_safe=`echo "mach/cthreads.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "mach/cthreads.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for mach/cthreads.h""... $ac_c" 1>&6 echo $ac_n "checking for mach/cthreads.h""... $ac_c" 1>&6
echo "configure:2123: checking for mach/cthreads.h" >&5 echo "configure:2151: checking for mach/cthreads.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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 2128 "configure" #line 2156 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <mach/cthreads.h> #include <mach/cthreads.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:2133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out` ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2158,7 +2186,7 @@ else ...@@ -2158,7 +2186,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
echo "configure:2162: checking for pthread_create in -lpthreads" >&5 echo "configure:2190: checking for pthread_create in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2166,7 +2194,7 @@ else ...@@ -2166,7 +2194,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lpthreads $LIBS" LIBS="-lpthreads $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2170 "configure" #line 2198 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2177,7 +2205,7 @@ int main() { ...@@ -2177,7 +2205,7 @@ int main() {
pthread_create() pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -2206,7 +2234,7 @@ else ...@@ -2206,7 +2234,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:2210: checking for pthread_create in -lpthread" >&5 echo "configure:2238: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2214,7 +2242,7 @@ else ...@@ -2214,7 +2242,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2218 "configure" #line 2246 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2225,7 +2253,7 @@ int main() { ...@@ -2225,7 +2253,7 @@ int main() {
pthread_create() pthread_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -2260,7 +2288,7 @@ fi ...@@ -2260,7 +2288,7 @@ fi
fi fi
echo $ac_n "checking for usconfig in -lmpc""... $ac_c" 1>&6 echo $ac_n "checking for usconfig in -lmpc""... $ac_c" 1>&6
echo "configure:2264: checking for usconfig in -lmpc" >&5 echo "configure:2292: checking for usconfig in -lmpc" >&5
ac_lib_var=`echo mpc'_'usconfig | sed 'y%./+-%__p_%'` ac_lib_var=`echo mpc'_'usconfig | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2268,7 +2296,7 @@ else ...@@ -2268,7 +2296,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lmpc $LIBS" LIBS="-lmpc $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2272 "configure" #line 2300 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2279,7 +2307,7 @@ int main() { ...@@ -2279,7 +2307,7 @@ int main() {
usconfig() usconfig()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -2305,7 +2333,7 @@ else ...@@ -2305,7 +2333,7 @@ else
fi fi
echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6 echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
echo "configure:2309: checking for thr_create in -lthread" >&5 echo "configure:2337: checking for thr_create in -lthread" >&5
ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2313,7 +2341,7 @@ else ...@@ -2313,7 +2341,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lthread $LIBS" LIBS="-lthread $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2317 "configure" #line 2345 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -2324,7 +2352,7 @@ int main() { ...@@ -2324,7 +2352,7 @@ int main() {
thr_create() thr_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -2360,7 +2388,7 @@ fi ...@@ -2360,7 +2388,7 @@ fi
DLINCLDIR=/ DLINCLDIR=/
echo $ac_n "checking for --with-sgi-dl""... $ac_c" 1>&6 echo $ac_n "checking for --with-sgi-dl""... $ac_c" 1>&6
echo "configure:2364: checking for --with-sgi-dl" >&5 echo "configure:2392: checking for --with-sgi-dl" >&5
# Check whether --with-sgi-dl or --without-sgi-dl was given. # Check whether --with-sgi-dl or --without-sgi-dl was given.
if test "${with_sgi_dl+set}" = set; then if test "${with_sgi_dl+set}" = set; then
withval="$with_sgi_dl" withval="$with_sgi_dl"
...@@ -2383,7 +2411,7 @@ fi ...@@ -2383,7 +2411,7 @@ fi
echo $ac_n "checking for --with-dl-dld""... $ac_c" 1>&6 echo $ac_n "checking for --with-dl-dld""... $ac_c" 1>&6
echo "configure:2387: checking for --with-dl-dld" >&5 echo "configure:2415: checking for --with-dl-dld" >&5
# Check whether --with-dl-dld or --without-dl-dld was given. # Check whether --with-dl-dld or --without-dl-dld was given.
if test "${with_dl_dld+set}" = set; then if test "${with_dl_dld+set}" = set; then
withval="$with_dl_dld" withval="$with_dl_dld"
...@@ -2415,12 +2443,12 @@ for ac_func in chown clock dlopen flock ftime ftruncate \ ...@@ -2415,12 +2443,12 @@ for ac_func in chown clock dlopen flock ftime ftruncate \
tcgetpgrp tcsetpgrp times truncate uname waitpid tcgetpgrp tcsetpgrp times truncate uname waitpid
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2419: checking for $ac_func" >&5 echo "configure:2447: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 2424 "configure" #line 2452 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -2443,7 +2471,7 @@ $ac_func(); ...@@ -2443,7 +2471,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -2470,12 +2498,12 @@ done ...@@ -2470,12 +2498,12 @@ done
for ac_func in dup2 getcwd strdup strerror memmove for ac_func in dup2 getcwd strdup strerror memmove
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2474: checking for $ac_func" >&5 echo "configure:2502: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 2479 "configure" #line 2507 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -2498,7 +2526,7 @@ $ac_func(); ...@@ -2498,7 +2526,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -2525,12 +2553,12 @@ done ...@@ -2525,12 +2553,12 @@ done
echo $ac_n "checking for getpgrp""... $ac_c" 1>&6 echo $ac_n "checking for getpgrp""... $ac_c" 1>&6
echo "configure:2529: checking for getpgrp" >&5 echo "configure:2557: checking for getpgrp" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+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 2534 "configure" #line 2562 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpgrp(); below. */ which can conflict with char getpgrp(); below. */
...@@ -2553,7 +2581,7 @@ getpgrp(); ...@@ -2553,7 +2581,7 @@ getpgrp();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_getpgrp=yes" eval "ac_cv_func_getpgrp=yes"
else else
...@@ -2568,14 +2596,14 @@ fi ...@@ -2568,14 +2596,14 @@ fi
if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2572 "configure" #line 2600 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
getpgrp(0); getpgrp(0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define GETPGRP_HAVE_ARG 1 #define GETPGRP_HAVE_ARG 1
...@@ -2591,12 +2619,12 @@ else ...@@ -2591,12 +2619,12 @@ else
fi fi
echo $ac_n "checking for setpgrp""... $ac_c" 1>&6 echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
echo "configure:2595: checking for setpgrp" >&5 echo "configure:2623: checking for setpgrp" >&5
if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+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 2600 "configure" #line 2628 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpgrp(); below. */ which can conflict with char setpgrp(); below. */
...@@ -2619,7 +2647,7 @@ setpgrp(); ...@@ -2619,7 +2647,7 @@ setpgrp();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_setpgrp=yes" eval "ac_cv_func_setpgrp=yes"
else else
...@@ -2634,14 +2662,14 @@ fi ...@@ -2634,14 +2662,14 @@ fi
if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2638 "configure" #line 2666 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
setpgrp(0,0); setpgrp(0,0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define SETPGRP_HAVE_ARG 1 #define SETPGRP_HAVE_ARG 1
...@@ -2657,12 +2685,12 @@ else ...@@ -2657,12 +2685,12 @@ else
fi fi
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6 echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
echo "configure:2661: checking for gettimeofday" >&5 echo "configure:2689: checking for gettimeofday" >&5
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+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 2666 "configure" #line 2694 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gettimeofday(); below. */ which can conflict with char gettimeofday(); below. */
...@@ -2685,7 +2713,7 @@ gettimeofday(); ...@@ -2685,7 +2713,7 @@ gettimeofday();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_gettimeofday=yes" eval "ac_cv_func_gettimeofday=yes"
else else
...@@ -2700,14 +2728,14 @@ fi ...@@ -2700,14 +2728,14 @@ fi
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2704 "configure" #line 2732 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/time.h> #include <sys/time.h>
int main() { int main() {
gettimeofday((struct timeval*)0,(struct timezone*)0); gettimeofday((struct timeval*)0,(struct timezone*)0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -2726,12 +2754,12 @@ fi ...@@ -2726,12 +2754,12 @@ fi
# checks for structures # checks for structures
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:2730: checking whether time.h and sys/time.h may both be included" >&5 echo "configure:2758: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time'+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 2735 "configure" #line 2763 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -2740,7 +2768,7 @@ int main() { ...@@ -2740,7 +2768,7 @@ int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
...@@ -2761,12 +2789,12 @@ EOF ...@@ -2761,12 +2789,12 @@ EOF
fi fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
echo "configure:2765: checking whether struct tm is in sys/time.h or time.h" >&5 echo "configure:2793: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tm'+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 2770 "configure" #line 2798 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
...@@ -2774,7 +2802,7 @@ int main() { ...@@ -2774,7 +2802,7 @@ int main() {
struct tm *tp; tp->tm_sec; struct tm *tp; tp->tm_sec;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm=time.h ac_cv_struct_tm=time.h
else else
...@@ -2795,12 +2823,12 @@ EOF ...@@ -2795,12 +2823,12 @@ EOF
fi fi
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
echo "configure:2799: checking for tm_zone in struct tm" >&5 echo "configure:2827: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+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 2804 "configure" #line 2832 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <$ac_cv_struct_tm> #include <$ac_cv_struct_tm>
...@@ -2808,7 +2836,7 @@ int main() { ...@@ -2808,7 +2836,7 @@ int main() {
struct tm tm; tm.tm_zone; struct tm tm; tm.tm_zone;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm_zone=yes ac_cv_struct_tm_zone=yes
else else
...@@ -2828,12 +2856,12 @@ EOF ...@@ -2828,12 +2856,12 @@ EOF
else else
echo $ac_n "checking for tzname""... $ac_c" 1>&6 echo $ac_n "checking for tzname""... $ac_c" 1>&6
echo "configure:2832: checking for tzname" >&5 echo "configure:2860: checking for tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_var_tzname'+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 2837 "configure" #line 2865 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
#ifndef tzname /* For SGI. */ #ifndef tzname /* For SGI. */
...@@ -2843,7 +2871,7 @@ int main() { ...@@ -2843,7 +2871,7 @@ int main() {
atoi(*tzname); atoi(*tzname);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
ac_cv_var_tzname=yes ac_cv_var_tzname=yes
else else
...@@ -2866,19 +2894,19 @@ fi ...@@ -2866,19 +2894,19 @@ fi
echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6 echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6
echo "configure:2870: checking for time.h that defines altzone" >&5 echo "configure:2898: checking for time.h that defines altzone" >&5
if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+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 2875 "configure" #line 2903 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
int main() { int main() {
return altzone; return altzone;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time_altzone=yes ac_cv_header_time_altzone=yes
else else
...@@ -2900,9 +2928,9 @@ fi ...@@ -2900,9 +2928,9 @@ fi
was_it_defined=no was_it_defined=no
echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:2904: checking whether sys/select.h and sys/time.h may both be included" >&5 echo "configure:2932: checking whether sys/select.h and sys/time.h may both be included" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2906 "configure" #line 2934 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -2913,7 +2941,7 @@ int main() { ...@@ -2913,7 +2941,7 @@ int main() {
; ;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define SYS_SELECT_WITH_SYS_TIME 1 #define SYS_SELECT_WITH_SYS_TIME 1
...@@ -2929,14 +2957,14 @@ echo "$ac_t""$was_it_defined" 1>&6 ...@@ -2929,14 +2957,14 @@ echo "$ac_t""$was_it_defined" 1>&6
# checks for compiler characteristics # checks for compiler characteristics
echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
echo "configure:2933: checking whether char is unsigned" >&5 echo "configure:2961: checking whether char is unsigned" >&5
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
if test "$GCC" = yes; then if test "$GCC" = yes; then
# GCC predefines this symbol on systems where it applies. # GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2940 "configure" #line 2968 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef __CHAR_UNSIGNED__ #ifdef __CHAR_UNSIGNED__
yes yes
...@@ -2958,7 +2986,7 @@ if test "$cross_compiling" = yes; then ...@@ -2958,7 +2986,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2962 "configure" #line 2990 "configure"
#include "confdefs.h" #include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */ /* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1 #if !defined(__STDC__) || __STDC__ != 1
...@@ -2968,7 +2996,7 @@ main() { ...@@ -2968,7 +2996,7 @@ main() {
volatile char c = 255; exit(c < 0); volatile char c = 255; exit(c < 0);
} }
EOF EOF
if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
ac_cv_c_char_unsigned=yes ac_cv_c_char_unsigned=yes
else else
...@@ -2993,12 +3021,12 @@ fi ...@@ -2993,12 +3021,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:2997: checking for working const" >&5 echo "configure:3025: 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 3002 "configure" #line 3030 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
...@@ -3047,7 +3075,7 @@ ccp = (char const *const *) p; ...@@ -3047,7 +3075,7 @@ ccp = (char const *const *) p;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3079: \"$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
...@@ -3070,16 +3098,16 @@ fi ...@@ -3070,16 +3098,16 @@ fi
works=no works=no
echo $ac_n "checking for working volatile""... $ac_c" 1>&6 echo $ac_n "checking for working volatile""... $ac_c" 1>&6
echo "configure:3074: checking for working volatile" >&5 echo "configure:3102: checking for working volatile" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3076 "configure" #line 3104 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
volatile int x; x = 0; volatile int x; x = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
works=yes works=yes
else else
...@@ -3096,16 +3124,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -3096,16 +3124,16 @@ echo "$ac_t""$works" 1>&6
works=no works=no
echo $ac_n "checking for working signed char""... $ac_c" 1>&6 echo $ac_n "checking for working signed char""... $ac_c" 1>&6
echo "configure:3100: checking for working signed char" >&5 echo "configure:3128: checking for working signed char" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3102 "configure" #line 3130 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
signed char c; signed char c;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
works=yes works=yes
else else
...@@ -3122,16 +3150,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -3122,16 +3150,16 @@ echo "$ac_t""$works" 1>&6
have_prototypes=no have_prototypes=no
echo $ac_n "checking for prototypes""... $ac_c" 1>&6 echo $ac_n "checking for prototypes""... $ac_c" 1>&6
echo "configure:3126: checking for prototypes" >&5 echo "configure:3154: checking for prototypes" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3128 "configure" #line 3156 "configure"
#include "confdefs.h" #include "confdefs.h"
int foo(int x) { return 0; } int foo(int x) { return 0; }
int main() { int main() {
return foo(10); return foo(10);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_PROTOTYPES 1 #define HAVE_PROTOTYPES 1
...@@ -3146,9 +3174,9 @@ echo "$ac_t""$have_prototypes" 1>&6 ...@@ -3146,9 +3174,9 @@ echo "$ac_t""$have_prototypes" 1>&6
works=no works=no
echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6 echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6
echo "configure:3150: checking for variable length prototypes and stdarg.h" >&5 echo "configure:3178: checking for variable length prototypes and stdarg.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3152 "configure" #line 3180 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdarg.h> #include <stdarg.h>
...@@ -3165,7 +3193,7 @@ int main() { ...@@ -3165,7 +3193,7 @@ int main() {
return foo(10, "", 3.14); return foo(10, "", 3.14);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_STDARG_PROTOTYPES 1 #define HAVE_STDARG_PROTOTYPES 1
...@@ -3181,16 +3209,16 @@ echo "$ac_t""$works" 1>&6 ...@@ -3181,16 +3209,16 @@ echo "$ac_t""$works" 1>&6
if test "$have_prototypes" = yes; then if test "$have_prototypes" = yes; then
bad_prototypes=no bad_prototypes=no
echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6 echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6
echo "configure:3185: checking for bad exec* prototypes" >&5 echo "configure:3213: checking for bad exec* prototypes" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3187 "configure" #line 3215 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
int main() { int main() {
char **t;execve("@",t,t); char **t;execve("@",t,t);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -3207,12 +3235,12 @@ fi ...@@ -3207,12 +3235,12 @@ fi
bad_forward=no bad_forward=no
echo $ac_n "checking for bad static forward""... $ac_c" 1>&6 echo $ac_n "checking for bad static forward""... $ac_c" 1>&6
echo "configure:3211: checking for bad static forward" >&5 echo "configure:3239: checking for bad static forward" >&5
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3216 "configure" #line 3244 "configure"
#include "confdefs.h" #include "confdefs.h"
struct s { int a; int b; }; struct s { int a; int b; };
...@@ -3228,7 +3256,7 @@ main() { ...@@ -3228,7 +3256,7 @@ main() {
} }
EOF EOF
if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
: :
else else
...@@ -3247,9 +3275,9 @@ echo "$ac_t""$bad_forward" 1>&6 ...@@ -3247,9 +3275,9 @@ echo "$ac_t""$bad_forward" 1>&6
va_list_is_array=no va_list_is_array=no
echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6 echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6
echo "configure:3251: checking whether va_list is an array" >&5 echo "configure:3279: checking whether va_list is an array" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3253 "configure" #line 3281 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES #ifdef HAVE_STDARG_PROTOTYPES
...@@ -3262,7 +3290,7 @@ int main() { ...@@ -3262,7 +3290,7 @@ int main() {
va_list list1, list2; list1 = list2; va_list list1, list2; list1 = list2;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -3281,7 +3309,7 @@ echo "$ac_t""$va_list_is_array" 1>&6 ...@@ -3281,7 +3309,7 @@ echo "$ac_t""$va_list_is_array" 1>&6
# Linux requires this for correct f.p. operations # Linux requires this for correct f.p. operations
echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6 echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6
echo "configure:3285: checking for __fpu_control in -lieee" >&5 echo "configure:3313: checking for __fpu_control in -lieee" >&5
ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'` ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -3289,7 +3317,7 @@ else ...@@ -3289,7 +3317,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lieee $LIBS" LIBS="-lieee $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3293 "configure" #line 3321 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3300,7 +3328,7 @@ int main() { ...@@ -3300,7 +3328,7 @@ int main() {
__fpu_control() __fpu_control()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -3364,12 +3392,12 @@ LIBS="$LIBS $LIBM" ...@@ -3364,12 +3392,12 @@ LIBS="$LIBS $LIBM"
for ac_func in hypot for ac_func in hypot
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3368: checking for $ac_func" >&5 echo "configure:3396: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 3373 "configure" #line 3401 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -3392,7 +3420,7 @@ $ac_func(); ...@@ -3392,7 +3420,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:3424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -3419,12 +3447,12 @@ done ...@@ -3419,12 +3447,12 @@ done
for ac_func in hypot for ac_func in hypot
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3423: checking for $ac_func" >&5 echo "configure:3451: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 3428 "configure" #line 3456 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -3447,7 +3475,7 @@ $ac_func(); ...@@ -3447,7 +3475,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -3477,7 +3505,7 @@ LIBS=$LIBS_SAVE ...@@ -3477,7 +3505,7 @@ LIBS=$LIBS_SAVE
# check for getopt # check for getopt
echo $ac_n "checking for genuine getopt""... $ac_c" 1>&6 echo $ac_n "checking for genuine getopt""... $ac_c" 1>&6
echo "configure:3481: checking for genuine getopt" >&5 echo "configure:3509: checking for genuine getopt" >&5
if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3485,7 +3513,7 @@ else ...@@ -3485,7 +3513,7 @@ else
ac_cv_func_getopt=no ac_cv_func_getopt=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3489 "configure" #line 3517 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
extern int optind, opterr, getopt(); extern int optind, opterr, getopt();
...@@ -3497,7 +3525,7 @@ int main() { ...@@ -3497,7 +3525,7 @@ int main() {
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then then
ac_cv_func_getopt=yes ac_cv_func_getopt=yes
else else
...@@ -3661,6 +3689,7 @@ s%@SO@%$SO%g ...@@ -3661,6 +3689,7 @@ s%@SO@%$SO%g
s%@LDSHARED@%$LDSHARED%g s%@LDSHARED@%$LDSHARED%g
s%@CCSHARED@%$CCSHARED%g s%@CCSHARED@%$CCSHARED%g
s%@LINKFORSHARED@%$LINKFORSHARED%g s%@LINKFORSHARED@%$LINKFORSHARED%g
s%@LDLAST@%$LDLAST%g
s%@DLINCLDIR@%$DLINCLDIR%g s%@DLINCLDIR@%$DLINCLDIR%g
s%@LIBOBJS@%$LIBOBJS%g s%@LIBOBJS@%$LIBOBJS%g
s%@LIBM@%$LIBM%g s%@LIBM@%$LIBM%g
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment