From ce69e29ac21c64896d7d2d8828ebb5142e4b8e56 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 10 Dec 2004 15:03:08 +0000 Subject: [PATCH] regen --- configure | 420 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 217 insertions(+), 203 deletions(-) diff --git a/configure b/configure index d22e945..9b524b6 100644 --- a/configure +++ b/configure @@ -2,7 +2,7 @@ # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13.20040919 -# $MirBSD: configure,v 1.14 2004/12/09 23:25:17 tg Exp $ +# $MirBSD: configure,v 1.15 2004/12/10 15:03:08 tg Exp $ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 2004 # Free Software Foundation, Inc. # @@ -525,14 +525,10 @@ fi test -s config.h.in || sed -e 's!^/\* #undef \(.*\) \*/!#undef \1!' \ -e 's!^#define \(.*\) 1!#undef \1!' config.h.in -case $INTERIX_ROOT:$MIROS in -*:) CPPFLAGS="$CPPFLAGS -DINTERIX -D_ALL_SOURCE" - ;; -esac # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:536: checking for $ac_word" >&5 +echo "configure:532: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -562,7 +558,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:566: checking for $ac_word" >&5 +echo "configure:562: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -613,7 +609,7 @@ fi # 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:617: checking for $ac_word" >&5 +echo "configure:613: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -645,7 +641,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:649: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 +echo "configure:645: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -656,12 +652,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 660 "configure" +#line 656 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -687,12 +683,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; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:691: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:687: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:696: checking whether we are using GNU C" >&5 +echo "configure:692: checking whether we are using GNU C" >&5 if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -701,7 +697,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:705: \"$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:701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -720,7 +716,7 @@ 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:724: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:720: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"\${ac_cv_prog_cc_g+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -752,7 +748,7 @@ else fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:756: checking how to run the C preprocessor" >&5 +echo "configure:752: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -767,13 +763,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:773: \"$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 : @@ -784,13 +780,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:790: \"$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 : @@ -801,13 +797,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:807: \"$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 : @@ -833,13 +829,13 @@ echo "$ac_t""$CPP" 1>&6 if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:837: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:833: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"\${ac_cv_prog_gcc_traditional+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP @@ -857,7 +853,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@ -879,18 +875,18 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 fi echo $ac_n "checking if this is a problematic os""... $ac_c" 1>&6 -echo "configure:883: checking if this is a problematic os" >&5 +echo "configure:879: checking if this is a problematic os" >&5 if eval "test \"\${ksh_cv_os_type+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ksh_cv_os_type=no # Some tests below add -C to CPPFLAGS saveCPPFLAGS="$CPPFLAGS" - for i in AIX ISC MINIX SCO OS2_EMX TITANOS NEXT HPUX; do + for i in AIX ISC MINIX SCO OS2_EMX TITANOS NEXT HPUX Interix; do case $i in #(( AIX) cat > conftest.$ac_ext < conftest.$ac_ext < EOF @@ -930,17 +926,17 @@ rm -f conftest* MINIX) ac_safe=$(echo "minix/config.h" | sed 'y%./+-%__p_%') echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 -echo "configure:934: checking for minix/config.h" >&5 +echo "configure:930: checking for minix/config.h" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:940: \"$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 rm -rf conftest* @@ -961,13 +957,13 @@ else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for problematic OS continues""... $ac_c" 1>&6 -echo "configure:965: checking for problematic OS continues" >&5 +echo "configure:961: checking for problematic OS continues" >&5 ;; #( SCO) # Both native SCO cpp and gcc understand this (leave comments in) CPPFLAGS="$CPPFLAGS -C" cat > conftest.$ac_ext < EOF @@ -981,7 +977,7 @@ rm -f conftest* ;; #( OS2_EMX) cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then : else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_os_type=$i else @@ -1064,7 +1060,7 @@ fi rm -f conftest* ;; #( HPUX) cat > conftest.$ac_ext <&5 | fi rm -f conftest* + ;; #( + Interix) + cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "INTERIX_H" >/dev/null 2>&1; then + rm -rf conftest* + ksh_cv_os_type=$i +fi +rm -f conftest* ;; #( esac #)) test $ksh_cv_os_type != no && break @@ -1091,6 +1100,11 @@ echo "$ac_t""$ksh_cv_os_type" 1>&6 AIX) cat >> confdefs.h <<\EOF #define _ALL_SOURCE 1 +EOF + ;; #( + Interix) + cat >> confdefs.h <<\EOF +#define _ALL_SOURCE 1 EOF ;; #( ISC) @@ -1158,7 +1172,7 @@ EOF # on $CPP will break. # cat > conftest.$ac_ext < #if !defined(SIGINT) || !defined(SIGQUIT) @@ -1186,7 +1200,7 @@ rm -f conftest* # # name is used in test program echo $ac_n "checking for bug in getwd""... $ac_c" 1>&6 -echo "configure:1190: checking for bug in getwd" >&5 +echo "configure:1204: checking for bug in getwd" >&5 if eval "test \"\${ksh_cv_hpux_getwd_bug+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1196,7 +1210,7 @@ else echo "configure: warning: assuming getwd broken" 1>&2; ksh_cv_hpux_getwd_bug=yes else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_hpux_getwd_bug=no else @@ -1279,12 +1293,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=$(echo "$ac_hdr" | sed 'y%./+-%__p_%') echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:1283: checking for $ac_hdr that defines DIR" >&5 +echo "configure:1297: checking for $ac_hdr that defines DIR" >&5 if eval "test \"\${ac_cv_header_dirent_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@ -1292,7 +1306,7 @@ int main() { DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:1296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -1317,7 +1331,7 @@ done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:1321: checking for opendir in -ldir" >&5 +echo "configure:1335: checking for opendir in -ldir" >&5 ac_lib_var=$(echo dir'_'opendir | sed 'y%./+-:%__p__%') if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1325,7 +1339,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1358,7 +1372,7 @@ fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:1362: checking for opendir in -lx" >&5 +echo "configure:1376: checking for opendir in -lx" >&5 ac_lib_var=$(echo x'_'opendir | sed 'y%./+-:%__p__%') if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1366,7 +1380,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1400,12 +1414,12 @@ fi fi echo $ac_n "checking for sane unistd.h""... $ac_c" 1>&6 -echo "configure:1404: checking for sane unistd.h" >&5 +echo "configure:1418: checking for sane unistd.h" >&5 if eval "test \"\${ksh_cv_header_unistd+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -1418,7 +1432,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_header_unistd=yes else @@ -1439,12 +1453,12 @@ EOF fi echo $ac_n "checking terminal interface""... $ac_c" 1>&6 -echo "configure:1443: checking terminal interface" >&5 +echo "configure:1457: checking terminal interface" >&5 if eval "test \"\${ksh_cv_term_check+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -1459,7 +1473,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_term_check=termios else @@ -1467,7 +1481,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < int main() { @@ -1484,7 +1498,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_term_check=bsd else @@ -1493,17 +1507,17 @@ else rm -rf conftest* ac_safe=$(echo "termio.h" | sed 'y%./+-%__p_%') echo $ac_n "checking for termio.h""... $ac_c" 1>&6 -echo "configure:1497: checking for termio.h" >&5 +echo "configure:1511: checking for termio.h" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1521: \"$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 rm -rf conftest* @@ -1550,17 +1564,17 @@ for ac_hdr in sys/param.h sys/types.h sys/resource.h sys/time.h \ do ac_safe=$(echo "$ac_hdr" | sed 'y%./+-%__p_%') echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1554: checking for $ac_hdr" >&5 +echo "configure:1568: checking for $ac_hdr" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1578: \"$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 rm -rf conftest* @@ -1587,12 +1601,12 @@ fi done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:1591: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:1605: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"\${ac_cv_header_time+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1601,7 +1615,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -1622,18 +1636,18 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:1626: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:1640: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"\${ksh_cv_header_sys_wait_h+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else echo "$ac_t""further testing..." 1>&6 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:1632: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:1646: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"\${ac_cv_header_sys_wait_h+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1649,7 +1663,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:1653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -1672,7 +1686,7 @@ fi ksh_cv_header_sys_wait_h=$ac_cv_header_sys_wait_h unset ac_cv_header_sys_wait_h echo $ac_n "checking if we got a POSIX.1 compatible sys/wait.h""... $ac_c" 1>&6 -echo "configure:1676: checking if we got a POSIX.1 compatible sys/wait.h" >&5 +echo "configure:1690: checking if we got a POSIX.1 compatible sys/wait.h" >&5 fi echo "$ac_t""$ksh_cv_header_sys_wait_h" 1>&6 @@ -1680,17 +1694,17 @@ for ac_hdr in sys/wait.h do ac_safe=$(echo "$ac_hdr" | sed 'y%./+-%__p_%') echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1684: checking for $ac_hdr" >&5 +echo "configure:1698: checking for $ac_hdr" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1708: \"$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 rm -rf conftest* @@ -1723,12 +1737,12 @@ EOF fi echo $ac_n "checking for off_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:1727: checking for off_t in sys/types.h" >&5 +echo "configure:1741: checking for off_t in sys/types.h" >&5 if eval "test \"\${ac_cv_type_off_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1758,12 +1772,12 @@ EOF fi echo $ac_n "checking for mode_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:1762: checking for mode_t in sys/types.h" >&5 +echo "configure:1776: checking for mode_t in sys/types.h" >&5 if eval "test \"\${ac_cv_type_mode_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1793,12 +1807,12 @@ EOF fi echo $ac_n "checking for pid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:1797: checking for pid_t in sys/types.h" >&5 +echo "configure:1811: checking for pid_t in sys/types.h" >&5 if eval "test \"\${ac_cv_type_pid_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1828,12 +1842,12 @@ EOF fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:1832: checking for uid_t in sys/types.h" >&5 +echo "configure:1846: checking for uid_t in sys/types.h" >&5 if eval "test \"\${ac_cv_type_uid_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1870,12 +1884,12 @@ EOF fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:1874: checking return type of signal handlers" >&5 +echo "configure:1888: checking return type of signal handlers" >&5 if eval "test \"\${ac_cv_type_signal+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1892,7 +1906,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -1921,7 +1935,7 @@ cat >> confdefs.h <&6 -echo "configure:1925: checking size of int" >&5 +echo "configure:1939: checking size of int" >&5 if eval "test \"\${ac_cv_sizeof_int+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1929,7 +1943,7 @@ else ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < main() @@ -1940,7 +1954,7 @@ main() exit(0); } EOF -if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=$(cat conftestval) else @@ -1960,7 +1974,7 @@ EOF echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:1964: checking size of long" >&5 +echo "configure:1978: checking size of long" >&5 if eval "test \"\${ac_cv_sizeof_long+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1968,7 +1982,7 @@ else ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < main() @@ -1979,7 +1993,7 @@ main() exit(0); } EOF -if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=$(cat conftestval) else @@ -1999,12 +2013,12 @@ EOF echo $ac_n "checking for clock_t in any of , and ""... $ac_c" 1>&6 -echo "configure:2003: checking for clock_t in any of , and " >&5 +echo "configure:2017: checking for clock_t in any of , and " >&5 if eval "test \"\${ac_cv_type_clock_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2039,12 +2053,12 @@ EOF fi echo $ac_n "checking for sigset_t in and ""... $ac_c" 1>&6 -echo "configure:2043: checking for sigset_t in and " >&5 +echo "configure:2057: checking for sigset_t in and " >&5 if eval "test \"\${ac_cv_type_sigset_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2074,12 +2088,12 @@ EOF fi echo $ac_n "checking for rlim_t in and ""... $ac_c" 1>&6 -echo "configure:2078: checking for rlim_t in and " >&5 +echo "configure:2092: checking for rlim_t in and " >&5 if eval "test \"\${ac_cv_type_rlim_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2105,7 +2119,7 @@ fi echo "$ac_t""$ac_cv_type_rlim_t" 1>&6 if test $ac_cv_type_rlim_t = no; then echo $ac_n "checking what to set rlim_t to""... $ac_c" 1>&6 -echo "configure:2109: checking what to set rlim_t to" >&5 +echo "configure:2123: checking what to set rlim_t to" >&5 if test $ac_cv_header_sys_resource_h = yes; then if eval "test \"\${ksh_cv_rlim_check+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2115,7 +2129,7 @@ else else cat > conftest.$ac_ext < @@ -2130,7 +2144,7 @@ else } EOF -if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_rlim_check=quad_t else @@ -2154,7 +2168,7 @@ EOF fi echo $ac_n "checking for working memmove""... $ac_c" 1>&6 -echo "configure:2158: checking for working memmove" >&5 +echo "configure:2172: checking for working memmove" >&5 if eval "test \"\${ksh_cv_func_memmove+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2162,7 +2176,7 @@ else echo "configure: warning: assuming memmove broken" 1>&2; ksh_cv_func_memmove=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_func_memmove=yes else @@ -2210,7 +2224,7 @@ EOF else echo $ac_n "checking for working bcopy""... $ac_c" 1>&6 -echo "configure:2214: checking for working bcopy" >&5 +echo "configure:2228: checking for working bcopy" >&5 if eval "test \"\${ksh_cv_func_bcopy+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2218,7 +2232,7 @@ else echo "configure: warning: assuming bcopy broken" 1>&2; ksh_cv_func_bcopy=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_func_bcopy=yes else @@ -2267,12 +2281,12 @@ EOF fi echo $ac_n "checking for memset""... $ac_c" 1>&6 -echo "configure:2271: checking for memset" >&5 +echo "configure:2285: checking for memset" >&5 if eval "test \"\${ksh_cv_func_memset+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_func_memset=yes else @@ -2311,17 +2325,17 @@ EOF for ac_func in arc4random arc4random_addrandom arc4random_push confstr \ dup2 flock getcwd getgroups getpagesize getrusage getwd killpg \ - mkstemp nice random revoke setrlimit srandom strcasecmp strerror \ - strlcat strlcpy strstr sysconf tcsetpgrp ulimit valloc wait3 \ - waitpid + mkstemp nice random revoke setrlimit setsid srandom strcasecmp \ + strerror strlcat strlcpy strstr sysconf tcsetpgrp ulimit valloc \ + wait3 waitpid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2320: checking for $ac_func" >&5 +echo "configure:2334: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2372,12 +2386,12 @@ done for ac_func in sigsetjmp _setjmp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2376: checking for $ac_func" >&5 +echo "configure:2390: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2429,17 +2443,17 @@ for ac_hdr in unistd.h do ac_safe=$(echo "$ac_hdr" | sed 'y%./+-%__p_%') echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2433: checking for $ac_hdr" >&5 +echo "configure:2447: checking for $ac_hdr" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2457: \"$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 rm -rf conftest* @@ -2468,12 +2482,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2472: checking for $ac_func" >&5 +echo "configure:2486: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2522,7 +2536,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:2526: checking for working mmap" >&5 +echo "configure:2540: checking for working mmap" >&5 if eval "test \"\${ac_cv_func_mmap_fixed_mapped+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2530,7 +2544,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -2693,12 +2707,12 @@ EOF fi echo $ac_n "checking for lstat""... $ac_c" 1>&6 -echo "configure:2697: checking for lstat" >&5 +echo "configure:2711: checking for lstat" >&5 if eval "test \"\${ksh_cv_func_lstat+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -2711,7 +2725,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:2715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_func_lstat=yes else @@ -2732,19 +2746,19 @@ EOF fi echo $ac_n "checking for sys_errlist declaration in errno.h""... $ac_c" 1>&6 -echo "configure:2736: checking for sys_errlist declaration in errno.h" >&5 +echo "configure:2750: checking for sys_errlist declaration in errno.h" >&5 if eval "test \"\${ksh_cv_decl_sys_errlist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *msg = *(sys_errlist + 1); if (msg && *msg) return 12; ; return 0; } EOF -if { (eval echo configure:2748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_decl_sys_errlist=yes else @@ -2768,12 +2782,12 @@ EOF else echo $ac_n "checking for sys_errlist in library""... $ac_c" 1>&6 -echo "configure:2772: checking for sys_errlist in library" >&5 +echo "configure:2786: checking for sys_errlist in library" >&5 if eval "test \"\${ksh_cv_var_sys_errlist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_var_sys_errlist=yes else @@ -2808,12 +2822,12 @@ EOF fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 -echo "configure:2812: checking for sys_siglist declaration in signal.h or unistd.h" >&5 +echo "configure:2826: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"\${ac_cv_decl_sys_siglist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2825,7 +2839,7 @@ int main() { char *msg = *(sys_siglist + 1); ; return 0; } EOF -if { (eval echo configure:2829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else @@ -2852,12 +2866,12 @@ EOF else echo $ac_n "checking for sys_siglist in library""... $ac_c" 1>&6 -echo "configure:2856: checking for sys_siglist in library" >&5 +echo "configure:2870: checking for sys_siglist in library" >&5 if eval "test \"\${ksh_cv_var_sys_siglist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_var_sys_siglist=yes else @@ -2891,12 +2905,12 @@ EOF fi echo $ac_n "checking time() declaration in time.h""... $ac_c" 1>&6 -echo "configure:2895: checking time() declaration in time.h" >&5 +echo "configure:2909: checking time() declaration in time.h" >&5 if eval "test \"\${ksh_cv_time_delcared+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2904,7 +2918,7 @@ int main() { time_t (*f)() = time; if (f) return 12; ; return 0; } EOF -if { (eval echo configure:2908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_time_delcared=yes else @@ -2925,7 +2939,7 @@ EOF fi echo $ac_n "checking if times() is present/working""... $ac_c" 1>&6 -echo "configure:2929: checking if times() is present/working" >&5 +echo "configure:2943: checking if times() is present/working" >&5 if eval "test \"\${ksh_cv_func_times_ok+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2934,7 +2948,7 @@ else else cat > conftest.$ac_ext < @@ -2961,7 +2975,7 @@ else } EOF -if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_func_times_ok=yes else @@ -2984,12 +2998,12 @@ EOF for ac_func in getrusage do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2988: checking for $ac_func" >&5 +echo "configure:3002: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3040,12 +3054,12 @@ done fi echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 -echo "configure:3044: checking whether stat file-mode macros are broken" >&5 +echo "configure:3058: checking whether stat file-mode macros are broken" >&5 if eval "test \"\${ac_cv_header_stat_broken+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3096,12 +3110,12 @@ EOF fi echo $ac_n "checking for member st_rdev in aggregate type struct stat""... $ac_c" 1>&6 -echo "configure:3100: checking for member st_rdev in aggregate type struct stat" >&5 +echo "configure:3114: checking for member st_rdev in aggregate type struct stat" >&5 if eval "test \"\${ac_cv_c_struct_member_st_rdev+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3109,7 +3123,7 @@ int main() { struct stat foo; foo.st_rdev; ; return 0; } EOF -if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_struct_member_st_rdev=yes else @@ -3131,12 +3145,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3135: checking for working const" >&5 +echo "configure:3149: checking for working const" >&5 if eval "test \"\${ac_cv_c_const+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3206,12 +3220,12 @@ EOF fi echo $ac_n "checking if compiler understands void""... $ac_c" 1>&6 -echo "configure:3210: checking if compiler understands void" >&5 +echo "configure:3224: checking if compiler understands void" >&5 if eval "test \"\${ksh_cv_c_void+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_c_void=yes else @@ -3245,12 +3259,12 @@ EOF fi echo $ac_n "checking if compiler understands volatile""... $ac_c" 1>&6 -echo "configure:3249: checking if compiler understands volatile" >&5 +echo "configure:3263: checking if compiler understands volatile" >&5 if eval "test \"\${ksh_cv_c_volatile+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_c_volatile=yes else @@ -3282,12 +3296,12 @@ EOF fi echo $ac_n "checking if C compiler groks __attribute__((.. ))""... $ac_c" 1>&6 -echo "configure:3286: checking if C compiler groks __attribute__((.. ))" >&5 +echo "configure:3300: checking if C compiler groks __attribute__((.. ))" >&5 if eval "test \"\${ksh_cv_c_func_attr+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3304,7 +3318,7 @@ int main() { test_nr("%d", 10); test_cnst(2); test_uk(); test_nr(); ; return 0; } EOF -if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ksh_cv_c_func_attr=yes else @@ -3327,7 +3341,7 @@ EOF # Pull the hash mark out of the macro call to avoid m4 problems. ac_msg="whether #! works in shell scripts" echo $ac_n "checking $ac_msg""... $ac_c" 1>&6 -echo "configure:3331: checking $ac_msg" >&5 +echo "configure:3345: checking $ac_msg" >&5 if eval "test \"\${ac_cv_sys_interpreter+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3354,7 +3368,7 @@ EOF fi echo $ac_n "checking if dup2() works (ie, resets the close-on-exec flag)""... $ac_c" 1>&6 -echo "configure:3358: checking if dup2() works (ie, resets the close-on-exec flag)" >&5 +echo "configure:3372: checking if dup2() works (ie, resets the close-on-exec flag)" >&5 if eval "test \"\${ksh_cv_dup2_clexec_ok+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3363,7 +3377,7 @@ else ksh_cv_dup2_clexec_ok=no else cat > conftest.$ac_ext < @@ -3394,7 +3408,7 @@ main() } EOF -if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_dup2_clexec_ok=yes else @@ -3417,12 +3431,12 @@ EOF fi echo $ac_n "checking flavour of signal routines""... $ac_c" 1>&6 -echo "configure:3421: checking flavour of signal routines" >&5 +echo "configure:3435: checking flavour of signal routines" >&5 if eval "test \"\${ksh_cv_signal_check+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -3435,7 +3449,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_signal_check=posix else @@ -3443,7 +3457,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < int main() { @@ -3453,7 +3467,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_signal_check=bsd42 else @@ -3461,7 +3475,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext < RETSIGTYPE foo() { } @@ -3473,7 +3487,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ksh_cv_signal_check=bsd41 else @@ -3511,7 +3525,7 @@ EOF EOF echo $ac_n "checking if signals interrupt read()""... $ac_c" 1>&6 -echo "configure:3515: checking if signals interrupt read()" >&5 +echo "configure:3529: checking if signals interrupt read()" >&5 if eval "test \"\${ksh_cv_signals_interrupt+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3520,7 +3534,7 @@ else else cat > conftest.$ac_ext < @@ -3617,7 +3631,7 @@ else } EOF -if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_signals_interrupt=yes else @@ -3647,7 +3661,7 @@ EOF fi echo $ac_n "checking flavour of pgrp routines""... $ac_c" 1>&6 -echo "configure:3651: checking flavour of pgrp routines" >&5 +echo "configure:3665: checking flavour of pgrp routines" >&5 if eval "test \"\${ksh_cv_pgrp_check+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3655,7 +3669,7 @@ else { echo "configure: error: cannot taste pgrp routines when cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_pgrp_check=bsd else @@ -3693,7 +3707,7 @@ else { echo "configure: error: cannot taste pgrp routines when cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_pgrp_check=posix else @@ -3737,7 +3751,7 @@ else { echo "configure: error: cannot taste pgrp routines when cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_pgrp_check=sysv else @@ -3812,7 +3826,7 @@ EOF if test $ksh_cv_pgrp_check = bsd || test $ksh_cv_pgrp_check = posix ; then echo $ac_n "checking if process group synchronization is required""... $ac_c" 1>&6 -echo "configure:3816: checking if process group synchronization is required" >&5 +echo "configure:3830: checking if process group synchronization is required" >&5 if eval "test \"\${ksh_cv_need_pgrp_sync+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3821,7 +3835,7 @@ else ksh_cv_need_pgrp_sync=yes else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_need_pgrp_sync=no else @@ -3889,7 +3903,7 @@ EOF fi echo $ac_n "checking if opendir() fails to open non-directories""... $ac_c" 1>&6 -echo "configure:3893: checking if opendir() fails to open non-directories" >&5 +echo "configure:3907: checking if opendir() fails to open non-directories" >&5 if eval "test \"\${ksh_cv_opendir_ok+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3898,7 +3912,7 @@ else ksh_cv_opendir_ok=no else cat > conftest.$ac_ext < @@ -3938,7 +3952,7 @@ else } EOF -if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_opendir_ok=yes else @@ -3961,7 +3975,7 @@ EOF fi echo $ac_n "checking if you have /dev/fd/n""... $ac_c" 1>&6 -echo "configure:3965: checking if you have /dev/fd/n" >&5 +echo "configure:3979: checking if you have /dev/fd/n" >&5 if eval "test \"\${ksh_cv_dev_fd+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3970,7 +3984,7 @@ else ksh_cv_dev_fd=no else cat > conftest.$ac_ext < @@ -3998,7 +4012,7 @@ else } EOF -if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ksh_cv_dev_fd=yes else