diff --git a/CHANGES b/CHANGES index d4cc216..e33b060 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,13 @@ --- $MawkId: CHANGES,v 1.270 2020/01/07 02:12:10 tom Exp $ +-- $MawkId: CHANGES,v 1.273 2020/01/20 11:44:41 tom Exp $ Changes by Thomas E Dickey +20200120 + + resync with my-autoconf. + + fix typos found with codespell. + + when reading input in interactive mode, provide for extending the + buffer size for very long lines (Original-Mawk #59). + 20200106 + correct line-number shown in too-many-arguments error message for the case where the function is a forward reference (report by diff --git a/MANIFEST b/MANIFEST index 79c650f..7ba51dc 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -MANIFEST for mawk, version t20200106 +MANIFEST for mawk, version t20200120 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGMENT acknowledgements diff --git a/aclocal.m4 b/aclocal.m4 index f2e633e..504e418 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $MawkId: aclocal.m4,v 1.86 2020/01/06 01:04:12 tom Exp $ +dnl $MawkId: aclocal.m4,v 1.88 2020/01/20 11:39:30 tom Exp $ dnl custom mawk macros for autoconf dnl dnl The symbols beginning "CF_MAWK_" were originally written by Mike Brennan, @@ -32,6 +32,10 @@ dnl sale, use or other dealings in this Software without prior written dnl authorization. dnl dnl --------------------------------------------------------------------------- +dnl See +dnl https://invisible-island.net/autoconf/autoconf.html +dnl https://invisible-island.net/autoconf/my-autoconf.html +dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- dnl CF_ACVERSION_CHECK version: 5 updated: 2014/06/04 19:11:49 dnl ------------------ @@ -504,7 +508,7 @@ cf_save_CFLAGS="$cf_save_CFLAGS -Qunused-arguments" fi ]) dnl --------------------------------------------------------------------------- -dnl CF_CONST_X_STRING version: 1 updated: 2019/04/08 17:50:29 +dnl CF_CONST_X_STRING version: 3 updated: 2020/01/11 18:39:22 dnl ----------------- dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most dnl character-strings. @@ -525,6 +529,10 @@ dnl when compiling the library and compiling using the library, to tell the dnl compiler that String is const. AC_DEFUN([CF_CONST_X_STRING], [ +AC_REQUIRE([AC_PATH_XTRA]) + +CF_SAVE_XTRA_FLAGS([CF_CONST_X_STRING]) + AC_TRY_COMPILE( [ #include @@ -546,6 +554,8 @@ AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[ ]) ]) +CF_RESTORE_XTRA_FLAGS([CF_CONST_X_STRING]) + case $cf_cv_const_x_string in (no) CF_APPEND_TEXT(CPPFLAGS,-DXTSTRINGDEFINES) @@ -1346,7 +1356,7 @@ int main(void) return 0 ; }]])dnl dnl --------------------------------------------------------------------------- -dnl CF_MAWK_RUN_FPE_TESTS version: 14 updated: 2015/05/02 07:59:43 +dnl CF_MAWK_RUN_FPE_TESTS version: 15 updated: 2020/01/18 12:30:33 dnl --------------------- dnl These are mawk's dreaded FPE tests. AC_DEFUN([CF_MAWK_RUN_FPE_TESTS], @@ -1491,7 +1501,7 @@ EOF Please report this so I can fix this script to do it automatically. CF_MAWK_MAINTAINER You can continue with the build and the resulting mawk will be - useable, but getting FPE_TRAPS_ON correct eventually is best. + usable, but getting FPE_TRAPS_ON correct eventually is best. EOF fi ;; @@ -1508,7 +1518,7 @@ EOF cat 1>&2 <<-EOF The program \`fpe_check' will not work for cross-compiling. You can continue with the build and the resulting mawk will be - useable, but getting FPE_TRAPS_ON correct eventually is best. + usable, but getting FPE_TRAPS_ON correct eventually is best. EOF fi ;; @@ -1877,6 +1887,42 @@ $1=`echo "$2" | \ -e 's/-[[UD]]'"$3"'\(=[[^ ]]*\)\?[$]//g'` ])dnl dnl --------------------------------------------------------------------------- +dnl CF_RESTORE_XTRA_FLAGS version: 1 updated: 2020/01/11 16:47:45 +dnl --------------------- +dnl Restore flags saved in CF_SAVE_XTRA_FLAGS +dnl $1 = name of current macro +define([CF_RESTORE_XTRA_FLAGS], +[ +LIBS="$cf_save_LIBS_$1" +CFLAGS="$cf_save_CFLAGS_$1" +CPPFLAGS="$cf_save_CPPFLAGS_$1" +])dnl +dnl --------------------------------------------------------------------------- +dnl CF_SAVE_XTRA_FLAGS version: 1 updated: 2020/01/11 16:46:44 +dnl ------------------ +dnl Use this macro to save CFLAGS/CPPFLAGS/LIBS before checks against X headers +dnl and libraries which do not update those variables. +dnl +dnl $1 = name of current macro +define([CF_SAVE_XTRA_FLAGS], +[ +cf_save_LIBS_$1="$LIBS" +cf_save_CFLAGS_$1="$CFLAGS" +cf_save_CPPFLAGS_$1="$CPPFLAGS" +LIBS="$LIBS ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS}" +for cf_X_CFLAGS in $X_CFLAGS +do + case "x$cf_X_CFLAGS" in + x-[[IUD]]*) + CPPFLAGS="$CPPFLAGS $cf_X_CFLAGS" + ;; + *) + CFLAGS="$CFLAGS $cf_X_CFLAGS" + ;; + esac +done +])dnl +dnl --------------------------------------------------------------------------- dnl CF_SET_MATH_LIB_VERSION version: 1 updated: 2013/12/26 20:21:00 dnl ----------------------- dnl Check if math.h declares _LIB_VERSION, and if so, whether we can modify it diff --git a/array.c b/array.c index c4ce27b..ef9da6b 100644 --- a/array.c +++ b/array.c @@ -1,8 +1,8 @@ /* array.c */ /* -@MawkId: array.w,v 1.18 2014/08/14 23:34:44 mike Exp @ +@MawkId: array.w,v 1.21 2020/01/20 11:54:19 tom Exp @ -copyright 2009,2010, Thomas E. Dickey +copyright 2009-2019,2020 Thomas E. Dickey copyright 1991-1996,2014 Michael D. Brennan This is a source file for mawk, an implementation of @@ -270,7 +270,7 @@ STRING** array_loop_vector( } } - if (getenv("WHINY_USERS") != NULL) /* gawk compability */ + if (getenv("WHINY_USERS") != NULL) /* gawk compatibility */ qsort(ret, A->size, sizeof(STRING*), string_compare); return ret ; } diff --git a/array.h b/array.h index efcf709..7e2a627 100644 --- a/array.h +++ b/array.h @@ -1,8 +1,8 @@ /* array.h */ /* -@MawkId: array.w,v 1.18 2014/08/14 23:34:44 mike Exp @ +@MawkId: array.w,v 1.21 2020/01/20 11:54:19 tom Exp @ -copyright 2009,2010, Thomas E. Dickey +copyright 2009-2019,2020 Thomas E. Dickey copyright 1991-1996,2014 Michael D. Brennan This is a source file for mawk, an implementation of diff --git a/array.w b/array.w index ebfea6c..ef97153 100644 --- a/array.w +++ b/array.w @@ -1,21 +1,7 @@ -% @Log: array.w,v @ -% Revision 1.4 1996/09/18 00:37:25 mike -% 1) Fix stupid bozo in A[expr], expr is numeric and not integer. -% 2) Add static for non-ansi compilers. -% 3) Minor tweaks to documentation. -% -% Revision 1.3 1996/07/28 21:55:32 mike -% trivial change -- add extra {} -% -% Revision 1.2 1996/02/25 23:42:25 mike -% Fix zfree bug in array_clear. -% Clean up documentation. -% - \input mwebmac \input ctmac -\RCSID{$Id: array.w,v 1.18 2014/08/14 23:34:44 mike Exp $} +\RCSID{$MawkId: array.w,v 1.21 2020/01/20 11:54:19 tom Exp $} \TOC{Mawk Arrays} @@ -931,7 +917,7 @@ STRING** array_loop_vector( if (!(A->type & AY_STR)) add_string_associations(A) ; ret = (STRING**) zmalloc(A->size*sizeof(STRING*)) ; <> - if (getenv("WHINY_USERS") != NULL) /* gawk compability */ + if (getenv("WHINY_USERS") != NULL) /* gawk compatibility */ qsort(ret, A->size, sizeof(STRING*), string_compare); return ret ; } @@ -1086,9 +1072,9 @@ return sp ; <>= /* -$MawkId: array.w,v 1.18 2014/08/14 23:34:44 mike Exp $ +$MawkId: array.w,v 1.21 2020/01/20 11:54:19 tom Exp $ -copyright 2009,2010, Thomas E. Dickey +copyright 2009-2019,2020 Thomas E. Dickey copyright 1991-1996,2014 Michael D. Brennan This is a source file for mawk, an implementation of diff --git a/configure b/configure index d6a13c8..3e1cc53 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52.20190901. +# Generated by Autoconf 2.52.20200111. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. @@ -751,7 +751,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.52.20190901. Invocation command line was +generated by GNU Autoconf 2.52.20200111. Invocation command line was $ $0 $@ @@ -3072,8 +3072,25 @@ rm -rf conftest* fi if test "x$have_x" = xyes; then + +cf_save_LIBS_CF_CONST_X_STRING="$LIBS" +cf_save_CFLAGS_CF_CONST_X_STRING="$CFLAGS" +cf_save_CPPFLAGS_CF_CONST_X_STRING="$CPPFLAGS" +LIBS="$LIBS ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS}" +for cf_X_CFLAGS in $X_CFLAGS +do + case "x$cf_X_CFLAGS" in + x-[IUD]*) + CPPFLAGS="$CPPFLAGS $cf_X_CFLAGS" + ;; + *) + CFLAGS="$CFLAGS $cf_X_CFLAGS" + ;; + esac +done + cat >conftest.$ac_ext <<_ACEOF -#line 3076 "configure" +#line 3093 "configure" #include "confdefs.h" #include @@ -3088,26 +3105,26 @@ String foo = malloc(1) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3091: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3108: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3094: \$? = $ac_status" >&5 + echo "$as_me:3111: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3097: \"$ac_try\"") >&5 + { (eval echo "$as_me:3114: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3100: \$? = $ac_status" >&5 + echo "$as_me:3117: \$? = $ac_status" >&5 (exit $ac_status); }; }; then -echo "$as_me:3103: checking for X11/Xt const-feature" >&5 +echo "$as_me:3120: checking for X11/Xt const-feature" >&5 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 if test "${cf_cv_const_x_string+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3110 "configure" +#line 3127 "configure" #include "confdefs.h" #define _CONST_X_STRING /* X11R7.8 (perhaps) */ @@ -3124,16 +3141,16 @@ String foo = malloc(1); *foo = 0 } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3127: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3144: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3130: \$? = $ac_status" >&5 + echo "$as_me:3147: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3133: \"$ac_try\"") >&5 + { (eval echo "$as_me:3150: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3136: \$? = $ac_status" >&5 + echo "$as_me:3153: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_const_x_string=no @@ -3148,9 +3165,13 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3151: result: $cf_cv_const_x_string" >&5 +echo "$as_me:3168: result: $cf_cv_const_x_string" >&5 echo "${ECHO_T}$cf_cv_const_x_string" >&6 +LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +CFLAGS="$cf_save_CFLAGS_CF_CONST_X_STRING" +CPPFLAGS="$cf_save_CPPFLAGS_CF_CONST_X_STRING" + case $cf_cv_const_x_string in (no) @@ -3173,7 +3194,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi cat > conftest.$ac_ext <&5 + { echo "$as_me:3213: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-Wall" @@ -3205,12 +3226,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:3208: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3229: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3211: \$? = $ac_status" >&5 + echo "$as_me:3232: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:3213: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:3234: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -3218,7 +3239,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:3221: checking for $CC warning options..." >&5 + { echo "$as_me:3242: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS= @@ -3242,12 +3263,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:3245: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3266: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3248: \$? = $ac_status" >&5 + echo "$as_me:3269: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:3250: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:3271: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in (Winline) @@ -3255,7 +3276,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 ([34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:3258: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:3279: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -3265,7 +3286,7 @@ echo "${as_me:-configure}:3258: testing feature is broken in gcc $GCC_VERSION .. ([12].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:3268: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:3289: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -3283,7 +3304,7 @@ fi # Extract the first word of "groff", so it can be a program name with args. set dummy groff; ac_word=$2 -echo "$as_me:3286: checking for $ac_word" >&5 +echo "$as_me:3307: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GROFF_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3300,7 +3321,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_GROFF_PATH="$ac_dir/$ac_word" - echo "$as_me:3303: found $ac_dir/$ac_word" >&5 + echo "$as_me:3324: found $ac_dir/$ac_word" >&5 break fi done @@ -3312,10 +3333,10 @@ fi GROFF_PATH=$ac_cv_path_GROFF_PATH if test -n "$GROFF_PATH"; then - echo "$as_me:3315: result: $GROFF_PATH" >&5 + echo "$as_me:3336: result: $GROFF_PATH" >&5 echo "${ECHO_T}$GROFF_PATH" >&6 else - echo "$as_me:3318: result: no" >&5 + echo "$as_me:3339: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3323,7 +3344,7 @@ for ac_prog in nroff mandoc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:3326: checking for $ac_word" >&5 +echo "$as_me:3347: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_NROFF_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3340,7 +3361,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_NROFF_PATH="$ac_dir/$ac_word" - echo "$as_me:3343: found $ac_dir/$ac_word" >&5 + echo "$as_me:3364: found $ac_dir/$ac_word" >&5 break fi done @@ -3351,10 +3372,10 @@ fi NROFF_PATH=$ac_cv_path_NROFF_PATH if test -n "$NROFF_PATH"; then - echo "$as_me:3354: result: $NROFF_PATH" >&5 + echo "$as_me:3375: result: $NROFF_PATH" >&5 echo "${ECHO_T}$NROFF_PATH" >&6 else - echo "$as_me:3357: result: no" >&5 + echo "$as_me:3378: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3364,7 +3385,7 @@ test -n "$NROFF_PATH" || NROFF_PATH="no" # Extract the first word of "tbl", so it can be a program name with args. set dummy tbl; ac_word=$2 -echo "$as_me:3367: checking for $ac_word" >&5 +echo "$as_me:3388: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TBL_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3381,7 +3402,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TBL_PATH="$ac_dir/$ac_word" - echo "$as_me:3384: found $ac_dir/$ac_word" >&5 + echo "$as_me:3405: found $ac_dir/$ac_word" >&5 break fi done @@ -3393,10 +3414,10 @@ fi TBL_PATH=$ac_cv_path_TBL_PATH if test -n "$TBL_PATH"; then - echo "$as_me:3396: result: $TBL_PATH" >&5 + echo "$as_me:3417: result: $TBL_PATH" >&5 echo "${ECHO_T}$TBL_PATH" >&6 else - echo "$as_me:3399: result: no" >&5 + echo "$as_me:3420: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3416,7 +3437,7 @@ case "x${with_man2html}" in (x|xyes) # Extract the first word of "man2html", so it can be a program name with args. set dummy man2html; ac_word=$2 -echo "$as_me:3419: checking for $ac_word" >&5 +echo "$as_me:3440: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_man2html+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3433,7 +3454,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_man2html="$ac_dir/$ac_word" - echo "$as_me:3436: found $ac_dir/$ac_word" >&5 + echo "$as_me:3457: found $ac_dir/$ac_word" >&5 break fi done @@ -3445,16 +3466,16 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:3448: result: $cf_man2html" >&5 + echo "$as_me:3469: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:3451: result: no" >&5 + echo "$as_me:3472: result: no" >&5 echo "${ECHO_T}no" >&6 fi case "x$cf_man2html" in (x/*) - echo "$as_me:3457: checking for the modified Earl Hood script" >&5 + echo "$as_me:3478: checking for the modified Earl Hood script" >&5 echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6 if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at the end' >/dev/null ) then @@ -3463,7 +3484,7 @@ echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6 cf_man2html=no cf_man2html_ok=no fi - echo "$as_me:3466: result: $cf_man2html_ok" >&5 + echo "$as_me:3487: result: $cf_man2html_ok" >&5 echo "${ECHO_T}$cf_man2html_ok" >&6 ;; (*) @@ -3472,7 +3493,7 @@ echo "${ECHO_T}$cf_man2html_ok" >&6 esac esac -echo "$as_me:3475: checking for program to convert manpage to html" >&5 +echo "$as_me:3496: checking for program to convert manpage to html" >&5 echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6 # Check whether --with-man2html or --without-man2html was given. @@ -3487,11 +3508,11 @@ cf_with_groff=no case $cf_man2html in (yes) - echo "$as_me:3490: result: man2html" >&5 + echo "$as_me:3511: result: man2html" >&5 echo "${ECHO_T}man2html" >&6 # Extract the first word of "man2html", so it can be a program name with args. set dummy man2html; ac_word=$2 -echo "$as_me:3494: checking for $ac_word" >&5 +echo "$as_me:3515: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_man2html+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3508,7 +3529,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_man2html="$ac_dir/$ac_word" - echo "$as_me:3511: found $ac_dir/$ac_word" >&5 + echo "$as_me:3532: found $ac_dir/$ac_word" >&5 break fi done @@ -3520,10 +3541,10 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:3523: result: $cf_man2html" >&5 + echo "$as_me:3544: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:3526: result: no" >&5 + echo "$as_me:3547: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3531,11 +3552,11 @@ fi (no|groff|*/groff*) cf_with_groff=yes cf_man2html=$GROFF_PATH - echo "$as_me:3534: result: $cf_man2html" >&5 + echo "$as_me:3555: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; (*) - echo "$as_me:3538: result: $cf_man2html" >&5 + echo "$as_me:3559: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; esac @@ -3599,14 +3620,14 @@ case ".$cf_man2html" in cf_man2html=`echo $cf_man2html | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:3602: error: expected a pathname, not \"$cf_man2html\"" >&5 + { { echo "$as_me:3623: error: expected a pathname, not \"$cf_man2html\"" >&5 echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;} { (exit 1); exit 1; }; } ;; esac MAN2HTML_PATH="$cf_man2html" - echo "$as_me:3609: checking for $cf_man2html top/bottom margins" >&5 + echo "$as_me:3630: checking for $cf_man2html top/bottom margins" >&5 echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6 # for this example, expect 3 lines of content, the remainder is head/foot @@ -3624,10 +3645,10 @@ CF_EOF cf_man2html_bot=`expr $cf_man2html_bot - 2 - $cf_man2html_top` cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot" - echo "$as_me:3627: result: $cf_man2html_top_bot" >&5 + echo "$as_me:3648: result: $cf_man2html_top_bot" >&5 echo "${ECHO_T}$cf_man2html_top_bot" >&6 - echo "$as_me:3630: checking for pagesize to use" >&5 + echo "$as_me:3651: checking for pagesize to use" >&5 echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6 for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 do @@ -3652,7 +3673,7 @@ CF_EOF test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999 rm -rf conftest* - echo "$as_me:3655: result: $cf_man2html_page" >&5 + echo "$as_me:3676: result: $cf_man2html_page" >&5 echo "${ECHO_T}$cf_man2html_page" >&6 cat >>$MAN2HTML_TEMP <&5 +echo "$as_me:3696: checking if you want to use mawk's own regular-expressions engine" >&5 echo $ECHO_N "checking if you want to use mawk's own regular-expressions engine... $ECHO_C" >&6 # Check whether --with-builtin-regex or --without-builtin-regex was given. @@ -3686,7 +3707,7 @@ if test "x${with_builtin_regex}" != xno; then with_builtin_regex=yes CPPFLAGS="$CPPFLAGS -DLOCAL_REGEXP" fi -echo "$as_me:3689: result: $with_builtin_regex" >&5 +echo "$as_me:3710: result: $with_builtin_regex" >&5 echo "${ECHO_T}$with_builtin_regex" >&6 if test "x${with_builtin_regex}" = xno; then @@ -3700,13 +3721,13 @@ case $host_os in ;; esac -echo "$as_me:3703: checking for regcomp" >&5 +echo "$as_me:3724: checking for regcomp" >&5 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 if test "${ac_cv_func_regcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3709 "configure" +#line 3730 "configure" #include "confdefs.h" #define regcomp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -3737,16 +3758,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3740: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3761: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3743: \$? = $ac_status" >&5 + echo "$as_me:3764: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3746: \"$ac_try\"") >&5 + { (eval echo "$as_me:3767: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3749: \$? = $ac_status" >&5 + echo "$as_me:3770: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_regcomp=yes else @@ -3756,7 +3777,7 @@ ac_cv_func_regcomp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3759: result: $ac_cv_func_regcomp" >&5 +echo "$as_me:3780: result: $ac_cv_func_regcomp" >&5 echo "${ECHO_T}$ac_cv_func_regcomp" >&6 if test $ac_cv_func_regcomp = yes; then cf_regex_func=regcomp @@ -3765,7 +3786,7 @@ else for cf_regex_lib in $cf_regex_libs do as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` -echo "$as_me:3768: checking for regcomp in -l$cf_regex_lib" >&5 +echo "$as_me:3789: checking for regcomp in -l$cf_regex_lib" >&5 echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3773,7 +3794,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_regex_lib $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3776 "configure" +#line 3797 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3792,16 +3813,16 @@ regcomp (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3795: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3816: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3798: \$? = $ac_status" >&5 + echo "$as_me:3819: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3801: \"$ac_try\"") >&5 + { (eval echo "$as_me:3822: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3804: \$? = $ac_status" >&5 + echo "$as_me:3825: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else @@ -3812,7 +3833,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:3815: result: `eval echo '${'$as_ac_Lib'}'`" >&5 +echo "$as_me:3836: result: `eval echo '${'$as_ac_Lib'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 if test `eval echo '${'$as_ac_Lib'}'` = yes; then @@ -3841,13 +3862,13 @@ fi fi if test "$cf_regex_func" = no ; then - echo "$as_me:3844: checking for compile" >&5 + echo "$as_me:3865: checking for compile" >&5 echo $ECHO_N "checking for compile... $ECHO_C" >&6 if test "${ac_cv_func_compile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3850 "configure" +#line 3871 "configure" #include "confdefs.h" #define compile autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -3878,16 +3899,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3881: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3902: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3884: \$? = $ac_status" >&5 + echo "$as_me:3905: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3887: \"$ac_try\"") >&5 + { (eval echo "$as_me:3908: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3890: \$? = $ac_status" >&5 + echo "$as_me:3911: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_compile=yes else @@ -3897,13 +3918,13 @@ ac_cv_func_compile=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3900: result: $ac_cv_func_compile" >&5 +echo "$as_me:3921: result: $ac_cv_func_compile" >&5 echo "${ECHO_T}$ac_cv_func_compile" >&6 if test $ac_cv_func_compile = yes; then cf_regex_func=compile else - echo "$as_me:3906: checking for compile in -lgen" >&5 + echo "$as_me:3927: checking for compile in -lgen" >&5 echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 if test "${ac_cv_lib_gen_compile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3911,7 +3932,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3914 "configure" +#line 3935 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3930,16 +3951,16 @@ compile (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3933: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3954: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3936: \$? = $ac_status" >&5 + echo "$as_me:3957: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3939: \"$ac_try\"") >&5 + { (eval echo "$as_me:3960: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3942: \$? = $ac_status" >&5 + echo "$as_me:3963: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_gen_compile=yes else @@ -3950,7 +3971,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:3953: result: $ac_cv_lib_gen_compile" >&5 +echo "$as_me:3974: result: $ac_cv_lib_gen_compile" >&5 echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 if test $ac_cv_lib_gen_compile = yes; then @@ -3978,11 +3999,11 @@ fi fi if test "$cf_regex_func" = no ; then - { echo "$as_me:3981: WARNING: cannot find regular expression library" >&5 + { echo "$as_me:4002: WARNING: cannot find regular expression library" >&5 echo "$as_me: WARNING: cannot find regular expression library" >&2;} fi -echo "$as_me:3985: checking for regular-expression headers" >&5 +echo "$as_me:4006: checking for regular-expression headers" >&5 echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 if test "${cf_cv_regex_hdrs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3994,7 +4015,7 @@ case $cf_regex_func in for cf_regex_hdr in regexp.h regexpr.h do cat >conftest.$ac_ext <<_ACEOF -#line 3997 "configure" +#line 4018 "configure" #include "confdefs.h" #include <$cf_regex_hdr> int @@ -4009,16 +4030,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4012: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4033: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4015: \$? = $ac_status" >&5 + echo "$as_me:4036: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4018: \"$ac_try\"") >&5 + { (eval echo "$as_me:4039: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4021: \$? = $ac_status" >&5 + echo "$as_me:4042: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -4035,7 +4056,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext for cf_regex_hdr in regex.h do cat >conftest.$ac_ext <<_ACEOF -#line 4038 "configure" +#line 4059 "configure" #include "confdefs.h" #include #include <$cf_regex_hdr> @@ -4053,16 +4074,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4056: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4077: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4059: \$? = $ac_status" >&5 + echo "$as_me:4080: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4062: \"$ac_try\"") >&5 + { (eval echo "$as_me:4083: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4065: \$? = $ac_status" >&5 + echo "$as_me:4086: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -4078,11 +4099,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext esac fi -echo "$as_me:4081: result: $cf_cv_regex_hdrs" >&5 +echo "$as_me:4102: result: $cf_cv_regex_hdrs" >&5 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 case $cf_cv_regex_hdrs in - (no) { echo "$as_me:4085: WARNING: no regular expression header found" >&5 + (no) { echo "$as_me:4106: WARNING: no regular expression header found" >&5 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; (regex.h) cat >>confdefs.h <<\EOF @@ -4104,7 +4125,7 @@ esac fi ############################################################################### -echo "$as_me:4107: checking if you want to use mawk's own srand/rand functions" >&5 +echo "$as_me:4128: checking if you want to use mawk's own srand/rand functions" >&5 echo $ECHO_N "checking if you want to use mawk's own srand/rand functions... $ECHO_C" >&6 # Check whether --enable-builtin-srand or --disable-builtin-srand was given. @@ -4124,12 +4145,12 @@ fi; if test "x${with_builtin_srand}" != xno; then with_builtin_srand=yes fi -echo "$as_me:4127: result: $with_builtin_srand" >&5 +echo "$as_me:4148: result: $with_builtin_srand" >&5 echo "${ECHO_T}$with_builtin_srand" >&6 if test "x${with_builtin_srand}" = xno; then -echo "$as_me:4132: checking for random-integer functions" >&5 +echo "$as_me:4153: checking for random-integer functions" >&5 echo $ECHO_N "checking for random-integer functions... $ECHO_C" >&6 if test "${cf_cv_srand_func+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4149,7 +4170,7 @@ do esac cat >conftest.$ac_ext <<_ACEOF -#line 4152 "configure" +#line 4173 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -4168,16 +4189,16 @@ long seed = 1; $cf_srand_func(seed); seed = $cf_rand_func() } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4171: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4192: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4174: \$? = $ac_status" >&5 + echo "$as_me:4195: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4177: \"$ac_try\"") >&5 + { (eval echo "$as_me:4198: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4180: \$? = $ac_status" >&5 + echo "$as_me:4201: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_srand_func=$cf_func break @@ -4189,10 +4210,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi -echo "$as_me:4192: result: $cf_cv_srand_func" >&5 +echo "$as_me:4213: result: $cf_cv_srand_func" >&5 echo "${ECHO_T}$cf_cv_srand_func" >&6 if test "$cf_cv_srand_func" != unknown ; then - echo "$as_me:4195: checking for range of random-integers" >&5 + echo "$as_me:4216: checking for range of random-integers" >&5 echo $ECHO_N "checking for range of random-integers... $ECHO_C" >&6 if test "${cf_cv_rand_max+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4213,7 +4234,7 @@ else ;; esac cat >conftest.$ac_ext <<_ACEOF -#line 4216 "configure" +#line 4237 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -4232,16 +4253,16 @@ long x = $cf_cv_rand_max } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4235: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4256: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4238: \$? = $ac_status" >&5 + echo "$as_me:4259: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4241: \"$ac_try\"") >&5 + { (eval echo "$as_me:4262: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4244: \$? = $ac_status" >&5 + echo "$as_me:4265: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -4252,15 +4273,15 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4255: result: $cf_cv_rand_max" >&5 +echo "$as_me:4276: result: $cf_cv_rand_max" >&5 echo "${ECHO_T}$cf_cv_rand_max" >&6 case $cf_cv_srand_func in (*/arc4random) - echo "$as_me:4260: checking if should be included" >&5 + echo "$as_me:4281: checking if should be included" >&5 echo $ECHO_N "checking if should be included... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 4263 "configure" +#line 4284 "configure" #include "confdefs.h" #include int @@ -4273,23 +4294,23 @@ void *arc4random(int); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4276: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4297: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4279: \$? = $ac_status" >&5 + echo "$as_me:4300: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4282: \"$ac_try\"") >&5 + { (eval echo "$as_me:4303: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4285: \$? = $ac_status" >&5 + echo "$as_me:4306: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_stdlib_h=no else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 4292 "configure" +#line 4313 "configure" #include "confdefs.h" #include int @@ -4301,16 +4322,16 @@ unsigned x = arc4random() } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4304: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4325: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4307: \$? = $ac_status" >&5 + echo "$as_me:4328: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4310: \"$ac_try\"") >&5 + { (eval echo "$as_me:4331: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4313: \$? = $ac_status" >&5 + echo "$as_me:4334: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_stdlib_h=yes else @@ -4321,7 +4342,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:4324: result: $cf_bsd_stdlib_h" >&5 + echo "$as_me:4345: result: $cf_bsd_stdlib_h" >&5 echo "${ECHO_T}$cf_bsd_stdlib_h" >&6 if test "$cf_bsd_stdlib_h" = yes then @@ -4331,10 +4352,10 @@ cat >>confdefs.h <<\EOF EOF else - echo "$as_me:4334: checking if should be included" >&5 + echo "$as_me:4355: checking if should be included" >&5 echo $ECHO_N "checking if should be included... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 4337 "configure" +#line 4358 "configure" #include "confdefs.h" #include int @@ -4347,23 +4368,23 @@ void *arc4random(int); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4350: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4371: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4353: \$? = $ac_status" >&5 + echo "$as_me:4374: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4356: \"$ac_try\"") >&5 + { (eval echo "$as_me:4377: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4359: \$? = $ac_status" >&5 + echo "$as_me:4380: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_random_h=no else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 4366 "configure" +#line 4387 "configure" #include "confdefs.h" #include int @@ -4375,16 +4396,16 @@ unsigned x = arc4random() } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4378: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4399: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4381: \$? = $ac_status" >&5 + echo "$as_me:4402: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4384: \"$ac_try\"") >&5 + { (eval echo "$as_me:4405: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4387: \$? = $ac_status" >&5 + echo "$as_me:4408: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_random_h=yes else @@ -4395,7 +4416,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:4398: result: $cf_bsd_random_h" >&5 + echo "$as_me:4419: result: $cf_bsd_random_h" >&5 echo "${ECHO_T}$cf_bsd_random_h" >&6 if test "$cf_bsd_random_h" = yes then @@ -4405,7 +4426,7 @@ cat >>confdefs.h <<\EOF EOF else - { echo "$as_me:4408: WARNING: no header file found for arc4random" >&5 + { echo "$as_me:4429: WARNING: no header file found for arc4random" >&5 echo "$as_me: WARNING: no header file found for arc4random" >&2;} fi fi @@ -4443,7 +4464,7 @@ EOF fi ############################################################################### -echo "$as_me:4446: checking if you want mawk to initialize random numbers at startup" >&5 +echo "$as_me:4467: checking if you want mawk to initialize random numbers at startup" >&5 echo $ECHO_N "checking if you want mawk to initialize random numbers at startup... $ECHO_C" >&6 # Check whether --enable-init-srand or --disable-init-srand was given. @@ -4465,16 +4486,16 @@ if test "x${with_init_srand}" != xno; then else CPPFLAGS="$CPPFLAGS -DNO_INIT_SRAND" fi -echo "$as_me:4468: result: $with_init_srand" >&5 +echo "$as_me:4489: result: $with_init_srand" >&5 echo "${ECHO_T}$with_init_srand" >&6 ############################################################################### -for ac_prog in 'bison -y' byacc +for ac_prog in byacc 'bison -y' do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:4477: checking for $ac_word" >&5 +echo "$as_me:4498: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4489,7 +4510,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_YACC="$ac_prog" -echo "$as_me:4492: found $ac_dir/$ac_word" >&5 +echo "$as_me:4513: found $ac_dir/$ac_word" >&5 break done @@ -4497,10 +4518,10 @@ fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - echo "$as_me:4500: result: $YACC" >&5 + echo "$as_me:4521: result: $YACC" >&5 echo "${ECHO_T}$YACC" >&6 else - echo "$as_me:4503: result: no" >&5 + echo "$as_me:4524: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4512,7 +4533,7 @@ for ac_prog in lint cppcheck splint do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:4515: checking for $ac_word" >&5 +echo "$as_me:4536: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_LINT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4527,7 +4548,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_LINT="$ac_prog" -echo "$as_me:4530: found $ac_dir/$ac_word" >&5 +echo "$as_me:4551: found $ac_dir/$ac_word" >&5 break done @@ -4535,10 +4556,10 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:4538: result: $LINT" >&5 + echo "$as_me:4559: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:4541: result: no" >&5 + echo "$as_me:4562: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4551,7 +4572,7 @@ case "x$LINT" in ;; esac -echo "$as_me:4554: checking if filesystem supports mixed-case filenames" >&5 +echo "$as_me:4575: checking if filesystem supports mixed-case filenames" >&5 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6 if test "${cf_cv_mixedcase+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4578,7 +4599,7 @@ else fi fi -echo "$as_me:4581: result: $cf_cv_mixedcase" >&5 +echo "$as_me:4602: result: $cf_cv_mixedcase" >&5 echo "${ECHO_T}$cf_cv_mixedcase" >&6 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF @@ -4589,7 +4610,7 @@ for ac_prog in exctags ctags do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:4592: checking for $ac_word" >&5 +echo "$as_me:4613: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CTAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4604,7 +4625,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CTAGS="$ac_prog" -echo "$as_me:4607: found $ac_dir/$ac_word" >&5 +echo "$as_me:4628: found $ac_dir/$ac_word" >&5 break done @@ -4612,10 +4633,10 @@ fi fi CTAGS=$ac_cv_prog_CTAGS if test -n "$CTAGS"; then - echo "$as_me:4615: result: $CTAGS" >&5 + echo "$as_me:4636: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else - echo "$as_me:4618: result: no" >&5 + echo "$as_me:4639: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4626,7 +4647,7 @@ for ac_prog in exetags etags do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:4629: checking for $ac_word" >&5 +echo "$as_me:4650: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ETAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4641,7 +4662,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ETAGS="$ac_prog" -echo "$as_me:4644: found $ac_dir/$ac_word" >&5 +echo "$as_me:4665: found $ac_dir/$ac_word" >&5 break done @@ -4649,10 +4670,10 @@ fi fi ETAGS=$ac_cv_prog_ETAGS if test -n "$ETAGS"; then - echo "$as_me:4652: result: $ETAGS" >&5 + echo "$as_me:4673: result: $ETAGS" >&5 echo "${ECHO_T}$ETAGS" >&6 else - echo "$as_me:4655: result: no" >&5 + echo "$as_me:4676: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4661,7 +4682,7 @@ done # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. set dummy ${CTAGS:-ctags}; ac_word=$2 -echo "$as_me:4664: checking for $ac_word" >&5 +echo "$as_me:4685: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4676,7 +4697,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_MAKE_LOWER_TAGS="yes" -echo "$as_me:4679: found $ac_dir/$ac_word" >&5 +echo "$as_me:4700: found $ac_dir/$ac_word" >&5 break done @@ -4685,17 +4706,17 @@ fi fi MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS if test -n "$MAKE_LOWER_TAGS"; then - echo "$as_me:4688: result: $MAKE_LOWER_TAGS" >&5 + echo "$as_me:4709: result: $MAKE_LOWER_TAGS" >&5 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 else - echo "$as_me:4691: result: no" >&5 + echo "$as_me:4712: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$cf_cv_mixedcase" = yes ; then # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args. set dummy ${ETAGS:-etags}; ac_word=$2 -echo "$as_me:4698: checking for $ac_word" >&5 +echo "$as_me:4719: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4710,7 +4731,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_MAKE_UPPER_TAGS="yes" -echo "$as_me:4713: found $ac_dir/$ac_word" >&5 +echo "$as_me:4734: found $ac_dir/$ac_word" >&5 break done @@ -4719,10 +4740,10 @@ fi fi MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS if test -n "$MAKE_UPPER_TAGS"; then - echo "$as_me:4722: result: $MAKE_UPPER_TAGS" >&5 + echo "$as_me:4743: result: $MAKE_UPPER_TAGS" >&5 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 else - echo "$as_me:4725: result: no" >&5 + echo "$as_me:4746: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4742,14 +4763,14 @@ else MAKE_LOWER_TAGS="#" fi -echo "$as_me:4745: checking if the POSIX test-macros are already defined" >&5 +echo "$as_me:4766: checking if the POSIX test-macros are already defined" >&5 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 if test "${cf_cv_posix_visible+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4752 "configure" +#line 4773 "configure" #include "confdefs.h" #include int @@ -4768,16 +4789,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4771: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4792: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4774: \$? = $ac_status" >&5 + echo "$as_me:4795: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4777: \"$ac_try\"") >&5 + { (eval echo "$as_me:4798: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4780: \$? = $ac_status" >&5 + echo "$as_me:4801: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_visible=no else @@ -4788,7 +4809,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4791: result: $cf_cv_posix_visible" >&5 +echo "$as_me:4812: result: $cf_cv_posix_visible" >&5 echo "${ECHO_T}$cf_cv_posix_visible" >&6 if test "$cf_cv_posix_visible" = no; then @@ -4833,14 +4854,14 @@ case $host_os in cf_gnu_xopen_source=$cf_XOPEN_SOURCE -echo "$as_me:4836: checking if this is the GNU C library" >&5 +echo "$as_me:4857: checking if this is the GNU C library" >&5 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 if test "${cf_cv_gnu_library+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4843 "configure" +#line 4864 "configure" #include "confdefs.h" #include int @@ -4859,16 +4880,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4862: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4883: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4865: \$? = $ac_status" >&5 + echo "$as_me:4886: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4868: \"$ac_try\"") >&5 + { (eval echo "$as_me:4889: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4871: \$? = $ac_status" >&5 + echo "$as_me:4892: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_library=yes else @@ -4879,7 +4900,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4882: result: $cf_cv_gnu_library" >&5 +echo "$as_me:4903: result: $cf_cv_gnu_library" >&5 echo "${ECHO_T}$cf_cv_gnu_library" >&6 if test x$cf_cv_gnu_library = xyes; then @@ -4887,7 +4908,7 @@ if test x$cf_cv_gnu_library = xyes; then # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE # was changed to help a little. newlib incorporated the change about 4 # years later. - echo "$as_me:4890: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo "$as_me:4911: checking if _DEFAULT_SOURCE can be used as a basis" >&5 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 if test "${cf_cv_gnu_library_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4899,7 +4920,7 @@ else CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 4902 "configure" +#line 4923 "configure" #include "confdefs.h" #include int @@ -4918,16 +4939,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4921: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4942: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4924: \$? = $ac_status" >&5 + echo "$as_me:4945: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4927: \"$ac_try\"") >&5 + { (eval echo "$as_me:4948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4930: \$? = $ac_status" >&5 + echo "$as_me:4951: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_library_219=yes else @@ -4939,12 +4960,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$cf_save" fi -echo "$as_me:4942: result: $cf_cv_gnu_library_219" >&5 +echo "$as_me:4963: result: $cf_cv_gnu_library_219" >&5 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 if test "x$cf_cv_gnu_library_219" = xyes; then cf_save="$CPPFLAGS" - echo "$as_me:4947: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo "$as_me:4968: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_dftsrc_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5049,7 +5070,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >conftest.$ac_ext <<_ACEOF -#line 5052 "configure" +#line 5073 "configure" #include "confdefs.h" #include @@ -5069,16 +5090,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5072: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5093: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5075: \$? = $ac_status" >&5 + echo "$as_me:5096: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5078: \"$ac_try\"") >&5 + { (eval echo "$as_me:5099: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5081: \$? = $ac_status" >&5 + echo "$as_me:5102: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_dftsrc_219=yes else @@ -5089,7 +5110,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5092: result: $cf_cv_gnu_dftsrc_219" >&5 +echo "$as_me:5113: result: $cf_cv_gnu_dftsrc_219" >&5 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" else @@ -5098,14 +5119,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 if test "x$cf_cv_gnu_dftsrc_219" != xyes; then - echo "$as_me:5101: checking if we must define _GNU_SOURCE" >&5 + echo "$as_me:5122: checking if we must define _GNU_SOURCE" >&5 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5108 "configure" +#line 5129 "configure" #include "confdefs.h" #include int @@ -5120,16 +5141,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5123: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5144: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5126: \$? = $ac_status" >&5 + echo "$as_me:5147: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5129: \"$ac_try\"") >&5 + { (eval echo "$as_me:5150: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5132: \$? = $ac_status" >&5 + echo "$as_me:5153: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -5236,7 +5257,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >conftest.$ac_ext <<_ACEOF -#line 5239 "configure" +#line 5260 "configure" #include "confdefs.h" #include int @@ -5251,16 +5272,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5254: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5275: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5257: \$? = $ac_status" >&5 + echo "$as_me:5278: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5260: \"$ac_try\"") >&5 + { (eval echo "$as_me:5281: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5263: \$? = $ac_status" >&5 + echo "$as_me:5284: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -5275,12 +5296,12 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5278: result: $cf_cv_gnu_source" >&5 +echo "$as_me:5299: result: $cf_cv_gnu_source" >&5 echo "${ECHO_T}$cf_cv_gnu_source" >&6 if test "$cf_cv_gnu_source" = yes then - echo "$as_me:5283: checking if we should also define _DEFAULT_SOURCE" >&5 + echo "$as_me:5304: checking if we should also define _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_default_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5290,7 +5311,7 @@ else CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 5293 "configure" +#line 5314 "configure" #include "confdefs.h" #include int @@ -5305,16 +5326,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5308: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5329: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5311: \$? = $ac_status" >&5 + echo "$as_me:5332: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5314: \"$ac_try\"") >&5 + { (eval echo "$as_me:5335: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5317: \$? = $ac_status" >&5 + echo "$as_me:5338: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_default_source=no else @@ -5325,7 +5346,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5328: result: $cf_cv_default_source" >&5 +echo "$as_me:5349: result: $cf_cv_default_source" >&5 echo "${ECHO_T}$cf_cv_default_source" >&6 if test "$cf_cv_default_source" = yes then @@ -5362,16 +5383,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:5365: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:5386: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:5371: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:5392: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 5374 "configure" +#line 5395 "configure" #include "confdefs.h" #include int @@ -5386,16 +5407,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5389: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5410: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5392: \$? = $ac_status" >&5 + echo "$as_me:5413: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5395: \"$ac_try\"") >&5 + { (eval echo "$as_me:5416: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5398: \$? = $ac_status" >&5 + echo "$as_me:5419: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -5416,7 +5437,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 5419 "configure" +#line 5440 "configure" #include "confdefs.h" #include int @@ -5431,16 +5452,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5434: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5455: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5437: \$? = $ac_status" >&5 + echo "$as_me:5458: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5440: \"$ac_try\"") >&5 + { (eval echo "$as_me:5461: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5443: \$? = $ac_status" >&5 + echo "$as_me:5464: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -5451,7 +5472,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:5454: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:5475: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -5459,10 +5480,10 @@ echo "${as_me:-configure}:5454: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:5462: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:5483: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 5465 "configure" +#line 5486 "configure" #include "confdefs.h" #include int @@ -5477,16 +5498,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5480: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5501: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5483: \$? = $ac_status" >&5 + echo "$as_me:5504: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5486: \"$ac_try\"") >&5 + { (eval echo "$as_me:5507: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5489: \$? = $ac_status" >&5 + echo "$as_me:5510: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -5502,7 +5523,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5505: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:5526: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -5642,14 +5663,14 @@ fi # cf_cv_posix_visible ;; (*) -echo "$as_me:5645: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:5666: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5652 "configure" +#line 5673 "configure" #include "confdefs.h" #include @@ -5668,16 +5689,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5671: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5692: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5674: \$? = $ac_status" >&5 + echo "$as_me:5695: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5677: \"$ac_try\"") >&5 + { (eval echo "$as_me:5698: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5680: \$? = $ac_status" >&5 + echo "$as_me:5701: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -5689,7 +5710,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 5692 "configure" +#line 5713 "configure" #include "confdefs.h" #include @@ -5708,16 +5729,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5711: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5732: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5714: \$? = $ac_status" >&5 + echo "$as_me:5735: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5717: \"$ac_try\"") >&5 + { (eval echo "$as_me:5738: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5720: \$? = $ac_status" >&5 + echo "$as_me:5741: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -5732,7 +5753,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5735: result: $cf_cv_xopen_source" >&5 +echo "$as_me:5756: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -5862,16 +5883,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:5865: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:5886: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:5871: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:5892: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 5874 "configure" +#line 5895 "configure" #include "confdefs.h" #include int @@ -5886,16 +5907,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5889: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5910: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5892: \$? = $ac_status" >&5 + echo "$as_me:5913: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5895: \"$ac_try\"") >&5 + { (eval echo "$as_me:5916: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5898: \$? = $ac_status" >&5 + echo "$as_me:5919: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -5916,7 +5937,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 5919 "configure" +#line 5940 "configure" #include "confdefs.h" #include int @@ -5931,16 +5952,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5934: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5955: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5937: \$? = $ac_status" >&5 + echo "$as_me:5958: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5940: \"$ac_try\"") >&5 + { (eval echo "$as_me:5961: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5943: \$? = $ac_status" >&5 + echo "$as_me:5964: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -5951,7 +5972,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:5954: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:5975: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -5959,10 +5980,10 @@ echo "${as_me:-configure}:5954: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:5962: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:5983: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 5965 "configure" +#line 5986 "configure" #include "confdefs.h" #include int @@ -5977,16 +5998,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5980: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6001: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5983: \$? = $ac_status" >&5 + echo "$as_me:6004: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5986: \"$ac_try\"") >&5 + { (eval echo "$as_me:6007: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5989: \$? = $ac_status" >&5 + echo "$as_me:6010: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -6002,7 +6023,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6005: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:6026: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -6196,7 +6217,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:6199: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:6220: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -6206,7 +6227,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:6209: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:6230: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -6216,7 +6237,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:6219: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:6240: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -6226,10 +6247,10 @@ fi fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:6229: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:6250: checking if _XOPEN_SOURCE really is set" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 6232 "configure" +#line 6253 "configure" #include "confdefs.h" #include int @@ -6244,16 +6265,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6247: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6268: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6250: \$? = $ac_status" >&5 + echo "$as_me:6271: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6253: \"$ac_try\"") >&5 + { (eval echo "$as_me:6274: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6256: \$? = $ac_status" >&5 + echo "$as_me:6277: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set=yes else @@ -6262,12 +6283,12 @@ cat conftest.$ac_ext >&5 cf_XOPEN_SOURCE_set=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:6265: result: $cf_XOPEN_SOURCE_set" >&5 + echo "$as_me:6286: result: $cf_XOPEN_SOURCE_set" >&5 echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 if test $cf_XOPEN_SOURCE_set = yes then cat >conftest.$ac_ext <<_ACEOF -#line 6270 "configure" +#line 6291 "configure" #include "confdefs.h" #include int @@ -6282,16 +6303,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6285: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6306: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6288: \$? = $ac_status" >&5 + echo "$as_me:6309: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6291: \"$ac_try\"") >&5 + { (eval echo "$as_me:6312: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6294: \$? = $ac_status" >&5 + echo "$as_me:6315: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set_ok=yes else @@ -6302,19 +6323,19 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext if test $cf_XOPEN_SOURCE_set_ok = no then - { echo "$as_me:6305: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:6326: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:6310: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:6331: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6317 "configure" +#line 6338 "configure" #include "confdefs.h" #include @@ -6333,16 +6354,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6336: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6357: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6339: \$? = $ac_status" >&5 + echo "$as_me:6360: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6342: \"$ac_try\"") >&5 + { (eval echo "$as_me:6363: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6345: \$? = $ac_status" >&5 + echo "$as_me:6366: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -6354,7 +6375,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 6357 "configure" +#line 6378 "configure" #include "confdefs.h" #include @@ -6373,16 +6394,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6376: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6397: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6379: \$? = $ac_status" >&5 + echo "$as_me:6400: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6382: \"$ac_try\"") >&5 + { (eval echo "$as_me:6403: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6385: \$? = $ac_status" >&5 + echo "$as_me:6406: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -6397,7 +6418,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6400: result: $cf_cv_xopen_source" >&5 +echo "$as_me:6421: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -6523,7 +6544,7 @@ if test "${enable_largefile+set}" = set; then fi; if test "$enable_largefile" != no; then - echo "$as_me:6526: checking for special C compiler options needed for large files" >&5 + echo "$as_me:6547: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6535,7 +6556,7 @@ else # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat >conftest.$ac_ext <<_ACEOF -#line 6538 "configure" +#line 6559 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -6555,16 +6576,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6558: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6579: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6561: \$? = $ac_status" >&5 + echo "$as_me:6582: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6564: \"$ac_try\"") >&5 + { (eval echo "$as_me:6585: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6567: \$? = $ac_status" >&5 + echo "$as_me:6588: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -6574,16 +6595,16 @@ fi rm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext -if { (eval echo "$as_me:6577: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6598: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6580: \$? = $ac_status" >&5 + echo "$as_me:6601: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6583: \"$ac_try\"") >&5 + { (eval echo "$as_me:6604: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6586: \$? = $ac_status" >&5 + echo "$as_me:6607: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else @@ -6597,13 +6618,13 @@ rm -f conftest.$ac_objext rm -f conftest.$ac_ext fi fi -echo "$as_me:6600: result: $ac_cv_sys_largefile_CC" >&5 +echo "$as_me:6621: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi - echo "$as_me:6606: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + echo "$as_me:6627: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6611,7 +6632,7 @@ else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF -#line 6614 "configure" +#line 6635 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -6631,16 +6652,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6634: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6655: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6637: \$? = $ac_status" >&5 + echo "$as_me:6658: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6640: \"$ac_try\"") >&5 + { (eval echo "$as_me:6661: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6643: \$? = $ac_status" >&5 + echo "$as_me:6664: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -6649,7 +6670,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 6652 "configure" +#line 6673 "configure" #include "confdefs.h" #define _FILE_OFFSET_BITS 64 #include @@ -6670,16 +6691,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6673: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6694: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6676: \$? = $ac_status" >&5 + echo "$as_me:6697: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6679: \"$ac_try\"") >&5 + { (eval echo "$as_me:6700: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6682: \$? = $ac_status" >&5 + echo "$as_me:6703: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else @@ -6690,7 +6711,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:6693: result: $ac_cv_sys_file_offset_bits" >&5 +echo "$as_me:6714: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then @@ -6700,7 +6721,7 @@ EOF fi rm -rf conftest* - echo "$as_me:6703: checking for _LARGE_FILES value needed for large files" >&5 + echo "$as_me:6724: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6708,7 +6729,7 @@ else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF -#line 6711 "configure" +#line 6732 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -6728,16 +6749,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6731: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6752: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6734: \$? = $ac_status" >&5 + echo "$as_me:6755: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6737: \"$ac_try\"") >&5 + { (eval echo "$as_me:6758: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6740: \$? = $ac_status" >&5 + echo "$as_me:6761: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -6746,7 +6767,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 6749 "configure" +#line 6770 "configure" #include "confdefs.h" #define _LARGE_FILES 1 #include @@ -6767,16 +6788,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6770: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6791: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6773: \$? = $ac_status" >&5 + echo "$as_me:6794: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6776: \"$ac_try\"") >&5 + { (eval echo "$as_me:6797: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6779: \$? = $ac_status" >&5 + echo "$as_me:6800: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break else @@ -6787,7 +6808,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:6790: result: $ac_cv_sys_large_files" >&5 +echo "$as_me:6811: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then @@ -6800,7 +6821,7 @@ rm -rf conftest* fi if test "$enable_largefile" != no ; then - echo "$as_me:6803: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + echo "$as_me:6824: checking for _LARGEFILE_SOURCE value needed for large files" >&5 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6808,7 +6829,7 @@ else while :; do ac_cv_sys_largefile_source=no cat >conftest.$ac_ext <<_ACEOF -#line 6811 "configure" +#line 6832 "configure" #include "confdefs.h" #include int @@ -6820,16 +6841,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6844: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6826: \$? = $ac_status" >&5 + echo "$as_me:6847: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6829: \"$ac_try\"") >&5 + { (eval echo "$as_me:6850: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6832: \$? = $ac_status" >&5 + echo "$as_me:6853: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -6838,7 +6859,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 6841 "configure" +#line 6862 "configure" #include "confdefs.h" #define _LARGEFILE_SOURCE 1 #include @@ -6851,16 +6872,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6854: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6875: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6857: \$? = $ac_status" >&5 + echo "$as_me:6878: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6860: \"$ac_try\"") >&5 + { (eval echo "$as_me:6881: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6863: \$? = $ac_status" >&5 + echo "$as_me:6884: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_source=1; break else @@ -6871,7 +6892,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:6874: result: $ac_cv_sys_largefile_source" >&5 +echo "$as_me:6895: result: $ac_cv_sys_largefile_source" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 if test "$ac_cv_sys_largefile_source" != no; then @@ -6885,13 +6906,13 @@ rm -rf conftest* # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug # in glibc 2.1.3, but that breaks too many other things. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. -echo "$as_me:6888: checking for fseeko" >&5 +echo "$as_me:6909: checking for fseeko" >&5 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 if test "${ac_cv_func_fseeko+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6894 "configure" +#line 6915 "configure" #include "confdefs.h" #include int @@ -6903,16 +6924,16 @@ return fseeko && fseeko (stdin, 0, 0); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6906: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6927: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6909: \$? = $ac_status" >&5 + echo "$as_me:6930: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6912: \"$ac_try\"") >&5 + { (eval echo "$as_me:6933: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6915: \$? = $ac_status" >&5 + echo "$as_me:6936: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fseeko=yes else @@ -6922,7 +6943,7 @@ ac_cv_func_fseeko=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:6925: result: $ac_cv_func_fseeko" >&5 +echo "$as_me:6946: result: $ac_cv_func_fseeko" >&5 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 if test $ac_cv_func_fseeko = yes; then @@ -6961,14 +6982,14 @@ fi fi - echo "$as_me:6964: checking whether to use struct dirent64" >&5 + echo "$as_me:6985: checking whether to use struct dirent64" >&5 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 if test "${cf_cv_struct_dirent64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6971 "configure" +#line 6992 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types" @@ -6990,16 +7011,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6993: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7014: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6996: \$? = $ac_status" >&5 + echo "$as_me:7017: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6999: \"$ac_try\"") >&5 + { (eval echo "$as_me:7020: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7002: \$? = $ac_status" >&5 + echo "$as_me:7023: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_struct_dirent64=yes else @@ -7010,7 +7031,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7013: result: $cf_cv_struct_dirent64" >&5 +echo "$as_me:7034: result: $cf_cv_struct_dirent64" >&5 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF @@ -7019,7 +7040,7 @@ EOF fi -echo "$as_me:7022: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:7043: checking if you want to use dmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 # Check whether --with-dmalloc or --without-dmalloc was given. @@ -7036,7 +7057,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:7039: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:7060: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case .$with_cflags in @@ -7150,23 +7171,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:7153: checking for dmalloc.h" >&5 + echo "$as_me:7174: checking for dmalloc.h" >&5 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7159 "configure" +#line 7180 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:7163: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7184: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:7169: \$? = $ac_status" >&5 + echo "$as_me:7190: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7185,11 +7206,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7188: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:7209: result: $ac_cv_header_dmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 if test $ac_cv_header_dmalloc_h = yes; then -echo "$as_me:7192: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:7213: checking for dmalloc_debug in -ldmalloc" >&5 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7197,7 +7218,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 7200 "configure" +#line 7221 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7216,16 +7237,16 @@ dmalloc_debug (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7219: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7240: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7222: \$? = $ac_status" >&5 + echo "$as_me:7243: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7225: \"$ac_try\"") >&5 + { (eval echo "$as_me:7246: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7228: \$? = $ac_status" >&5 + echo "$as_me:7249: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -7236,7 +7257,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:7239: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:7260: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then cat >>confdefs.h <&5 +echo "$as_me:7275: checking if you want to use dbmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 # Check whether --with-dbmalloc or --without-dbmalloc was given. @@ -7268,7 +7289,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:7271: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:7292: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case .$with_cflags in @@ -7382,23 +7403,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:7385: checking for dbmalloc.h" >&5 + echo "$as_me:7406: checking for dbmalloc.h" >&5 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dbmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7391 "configure" +#line 7412 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:7395: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7416: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:7401: \$? = $ac_status" >&5 + echo "$as_me:7422: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7417,11 +7438,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7420: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:7441: result: $ac_cv_header_dbmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 if test $ac_cv_header_dbmalloc_h = yes; then -echo "$as_me:7424: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:7445: checking for debug_malloc in -ldbmalloc" >&5 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7429,7 +7450,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 7432 "configure" +#line 7453 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7448,16 +7469,16 @@ debug_malloc (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7451: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7472: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7454: \$? = $ac_status" >&5 + echo "$as_me:7475: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7457: \"$ac_try\"") >&5 + { (eval echo "$as_me:7478: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7460: \$? = $ac_status" >&5 + echo "$as_me:7481: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -7468,7 +7489,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:7471: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:7492: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then cat >>confdefs.h <&5 +echo "$as_me:7507: checking if you want to use valgrind for testing" >&5 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6 # Check whether --with-valgrind or --without-valgrind was given. @@ -7500,7 +7521,7 @@ EOF else with_valgrind= fi; -echo "$as_me:7503: result: ${with_valgrind:-no}" >&5 +echo "$as_me:7524: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case .$with_cflags in @@ -7613,7 +7634,7 @@ fi ;; esac -echo "$as_me:7616: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:7637: checking if you want to perform memory-leak testing" >&5 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6 # Check whether --enable-leaks or --disable-leaks was given. @@ -7623,7 +7644,7 @@ if test "${enable_leaks+set}" = set; then else : ${with_no_leaks:=no} fi; -echo "$as_me:7626: result: $with_no_leaks" >&5 +echo "$as_me:7647: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$with_no_leaks" = yes ; then @@ -7638,7 +7659,7 @@ EOF fi -echo "$as_me:7641: checking if you want to enable debugging trace" >&5 +echo "$as_me:7662: checking if you want to enable debugging trace" >&5 echo $ECHO_N "checking if you want to enable debugging trace... $ECHO_C" >&6 # Check whether --enable-trace or --disable-trace was given. @@ -7655,7 +7676,7 @@ else with_trace=no fi; -echo "$as_me:7658: result: $with_trace" >&5 +echo "$as_me:7679: result: $with_trace" >&5 echo "${ECHO_T}$with_trace" >&6 if test "$with_trace" = "yes" then @@ -7677,23 +7698,23 @@ if test "${cf_cv_size_t_SIZE_T_STDDEF_H+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me:7680: checking for stddef.h" >&5 + echo "$as_me:7701: checking for stddef.h" >&5 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 if test "${ac_cv_header_stddef_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7686 "configure" +#line 7707 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:7690: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7711: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:7696: \$? = $ac_status" >&5 + echo "$as_me:7717: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7712,21 +7733,21 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7715: result: $ac_cv_header_stddef_h" >&5 +echo "$as_me:7736: result: $ac_cv_header_stddef_h" >&5 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 if test $ac_cv_header_stddef_h = yes; then cf_mawk_check_size=ok fi if test "x$cf_mawk_check_size" = xok ; then - echo "$as_me:7722: checking if size_t is declared in stddef.h" >&5 + echo "$as_me:7743: checking if size_t is declared in stddef.h" >&5 echo $ECHO_N "checking if size_t is declared in stddef.h... $ECHO_C" >&6 if test "${cf_cv_size_t_SIZE_T_STDDEF_H+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7729 "configure" +#line 7750 "configure" #include "confdefs.h" #include int @@ -7738,16 +7759,16 @@ size_t *n } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7741: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7762: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7744: \$? = $ac_status" >&5 + echo "$as_me:7765: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7747: \"$ac_try\"") >&5 + { (eval echo "$as_me:7768: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7750: \$? = $ac_status" >&5 + echo "$as_me:7771: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_size_t_SIZE_T_STDDEF_H=yes else @@ -7757,7 +7778,7 @@ cf_cv_size_t_SIZE_T_STDDEF_H=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7760: result: $cf_cv_size_t_SIZE_T_STDDEF_H" >&5 +echo "$as_me:7781: result: $cf_cv_size_t_SIZE_T_STDDEF_H" >&5 echo "${ECHO_T}$cf_cv_size_t_SIZE_T_STDDEF_H" >&6 fi @@ -7779,23 +7800,23 @@ if test "${cf_cv_size_t_SIZE_T_TYPES_H+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - echo "$as_me:7782: checking for sys/types.h" >&5 + echo "$as_me:7803: checking for sys/types.h" >&5 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_types_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7788 "configure" +#line 7809 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:7792: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7813: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:7798: \$? = $ac_status" >&5 + echo "$as_me:7819: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7814,21 +7835,21 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7817: result: $ac_cv_header_sys_types_h" >&5 +echo "$as_me:7838: result: $ac_cv_header_sys_types_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 if test $ac_cv_header_sys_types_h = yes; then cf_mawk_check_size=ok fi if test "x$cf_mawk_check_size" = xok ; then - echo "$as_me:7824: checking if size_t is declared in sys/types.h" >&5 + echo "$as_me:7845: checking if size_t is declared in sys/types.h" >&5 echo $ECHO_N "checking if size_t is declared in sys/types.h... $ECHO_C" >&6 if test "${cf_cv_size_t_SIZE_T_TYPES_H+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7831 "configure" +#line 7852 "configure" #include "confdefs.h" #include int @@ -7840,16 +7861,16 @@ size_t *n } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7843: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7864: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7846: \$? = $ac_status" >&5 + echo "$as_me:7867: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7849: \"$ac_try\"") >&5 + { (eval echo "$as_me:7870: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7852: \$? = $ac_status" >&5 + echo "$as_me:7873: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_size_t_SIZE_T_TYPES_H=yes else @@ -7859,7 +7880,7 @@ cf_cv_size_t_SIZE_T_TYPES_H=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7862: result: $cf_cv_size_t_SIZE_T_TYPES_H" >&5 +echo "$as_me:7883: result: $cf_cv_size_t_SIZE_T_TYPES_H" >&5 echo "${ECHO_T}$cf_cv_size_t_SIZE_T_TYPES_H" >&6 fi @@ -7875,14 +7896,14 @@ EOF fi fi -echo "$as_me:7878: checking for setlocale()" >&5 +echo "$as_me:7899: checking for setlocale()" >&5 echo $ECHO_N "checking for setlocale()... $ECHO_C" >&6 if test "${cf_cv_locale+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7885 "configure" +#line 7906 "configure" #include "confdefs.h" #include int @@ -7894,16 +7915,16 @@ setlocale(LC_ALL, "") } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7897: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7918: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7900: \$? = $ac_status" >&5 + echo "$as_me:7921: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7903: \"$ac_try\"") >&5 + { (eval echo "$as_me:7924: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7906: \$? = $ac_status" >&5 + echo "$as_me:7927: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_locale=yes else @@ -7915,7 +7936,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7918: result: $cf_cv_locale" >&5 +echo "$as_me:7939: result: $cf_cv_locale" >&5 echo "${ECHO_T}$cf_cv_locale" >&6 test $cf_cv_locale = yes && { cat >>confdefs.h <<\EOF @@ -7923,14 +7944,14 @@ cat >>confdefs.h <<\EOF EOF } -echo "$as_me:7926: checking if external environ is declared" >&5 +echo "$as_me:7947: checking if external environ is declared" >&5 echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_environ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7933 "configure" +#line 7954 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -7946,16 +7967,16 @@ int x = (int) environ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7949: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7970: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7952: \$? = $ac_status" >&5 + echo "$as_me:7973: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7955: \"$ac_try\"") >&5 + { (eval echo "$as_me:7976: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7958: \$? = $ac_status" >&5 + echo "$as_me:7979: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_dcl_environ=yes else @@ -7966,7 +7987,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7969: result: $cf_cv_dcl_environ" >&5 +echo "$as_me:7990: result: $cf_cv_dcl_environ" >&5 echo "${ECHO_T}$cf_cv_dcl_environ" >&6 if test "$cf_cv_dcl_environ" = no ; then @@ -7981,14 +8002,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:7984: checking if external environ exists" >&5 +echo "$as_me:8005: checking if external environ exists" >&5 echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 if test "${cf_cv_have_environ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7991 "configure" +#line 8012 "configure" #include "confdefs.h" #undef environ @@ -8003,16 +8024,16 @@ environ = 2 } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8006: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8027: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8009: \$? = $ac_status" >&5 + echo "$as_me:8030: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8012: \"$ac_try\"") >&5 + { (eval echo "$as_me:8033: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8015: \$? = $ac_status" >&5 + echo "$as_me:8036: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_environ=yes else @@ -8023,7 +8044,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8026: result: $cf_cv_have_environ" >&5 +echo "$as_me:8047: result: $cf_cv_have_environ" >&5 echo "${ECHO_T}$cf_cv_have_environ" >&6 if test "$cf_cv_have_environ" = yes ; then @@ -8039,13 +8060,13 @@ fi for ac_func in fork gettimeofday matherr mktime pipe strftime tdestroy tsearch wait do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8042: checking for $ac_func" >&5 +echo "$as_me:8063: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8048 "configure" +#line 8069 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8076,16 +8097,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8079: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8100: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8082: \$? = $ac_status" >&5 + echo "$as_me:8103: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8085: \"$ac_try\"") >&5 + { (eval echo "$as_me:8106: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8088: \$? = $ac_status" >&5 + echo "$as_me:8109: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -8095,7 +8116,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8098: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:8119: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:8148: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8133 "configure" +#line 8154 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:8137: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:8158: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8143: \$? = $ac_status" >&5 + echo "$as_me:8164: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -8159,7 +8180,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:8162: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:8183: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:8193: checking if math.h declares _LIB_VERSION" >&5 echo $ECHO_N "checking if math.h declares _LIB_VERSION... $ECHO_C" >&6 if test "${cf_cv_get_math_lib_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8179 "configure" +#line 8200 "configure" #include "confdefs.h" #include @@ -8189,16 +8210,16 @@ int foo = _LIB_VERSION } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8192: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8213: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8195: \$? = $ac_status" >&5 + echo "$as_me:8216: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8198: \"$ac_try\"") >&5 + { (eval echo "$as_me:8219: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8201: \$? = $ac_status" >&5 + echo "$as_me:8222: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_get_math_lib_version=yes else @@ -8209,19 +8230,19 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8212: result: $cf_cv_get_math_lib_version" >&5 +echo "$as_me:8233: result: $cf_cv_get_math_lib_version" >&5 echo "${ECHO_T}$cf_cv_get_math_lib_version" >&6 if test "x$cf_cv_get_math_lib_version" = xyes then - echo "$as_me:8217: checking if we can update _LIB_VERSION" >&5 + echo "$as_me:8238: checking if we can update _LIB_VERSION" >&5 echo $ECHO_N "checking if we can update _LIB_VERSION... $ECHO_C" >&6 if test "${cf_cv_set_math_lib_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8224 "configure" +#line 8245 "configure" #include "confdefs.h" #include @@ -8234,16 +8255,16 @@ _LIB_VERSION = _IEEE_ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8237: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8258: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8240: \$? = $ac_status" >&5 + echo "$as_me:8261: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8243: \"$ac_try\"") >&5 + { (eval echo "$as_me:8264: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8246: \$? = $ac_status" >&5 + echo "$as_me:8267: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_set_math_lib_version=yes else @@ -8254,7 +8275,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8257: result: $cf_cv_set_math_lib_version" >&5 +echo "$as_me:8278: result: $cf_cv_set_math_lib_version" >&5 echo "${ECHO_T}$cf_cv_set_math_lib_version" >&6 if test "x$cf_cv_set_math_lib_version" = xyes then @@ -8264,28 +8285,28 @@ cat >>confdefs.h <<\EOF EOF else - { echo "$as_me:8267: WARNING: this is probably due to a defect in your system headers" >&5 + { echo "$as_me:8288: WARNING: this is probably due to a defect in your system headers" >&5 echo "$as_me: WARNING: this is probably due to a defect in your system headers" >&2;} fi fi -echo "$as_me:8272: checking for limits.h" >&5 +echo "$as_me:8293: checking for limits.h" >&5 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6 if test "${ac_cv_header_limits_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8278 "configure" +#line 8299 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:8282: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:8303: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8288: \$? = $ac_status" >&5 + echo "$as_me:8309: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -8304,7 +8325,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:8307: result: $ac_cv_header_limits_h" >&5 +echo "$as_me:8328: result: $ac_cv_header_limits_h" >&5 echo "${ECHO_T}$ac_cv_header_limits_h" >&6 if test $ac_cv_header_limits_h = yes; then cf_limits_h=yes @@ -8312,23 +8333,23 @@ fi if test "$cf_limits_h" = yes ; then : else -echo "$as_me:8315: checking for values.h" >&5 +echo "$as_me:8336: checking for values.h" >&5 echo $ECHO_N "checking for values.h... $ECHO_C" >&6 if test "${ac_cv_header_values_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8321 "configure" +#line 8342 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:8325: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:8346: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8331: \$? = $ac_status" >&5 + echo "$as_me:8352: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -8347,7 +8368,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:8350: result: $ac_cv_header_values_h" >&5 +echo "$as_me:8371: result: $ac_cv_header_values_h" >&5 echo "${ECHO_T}$ac_cv_header_values_h" >&6 if test $ac_cv_header_values_h = yes; then cf_values_h=yes @@ -8355,12 +8376,12 @@ fi if test "$cf_values_h" = yes ; then if test "$cross_compiling" = yes; then - { { echo "$as_me:8358: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:8379: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 8363 "configure" +#line 8384 "configure" #include "confdefs.h" #include #include @@ -8383,22 +8404,22 @@ int main(void) _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:8386: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8407: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8389: \$? = $ac_status" >&5 + echo "$as_me:8410: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:8391: \"$ac_try\"") >&5 + { (eval echo "$as_me:8412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8394: \$? = $ac_status" >&5 + echo "$as_me:8415: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_maxint_set=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:8401: error: C program to compute maxint and maxlong failed. +{ { echo "$as_me:8422: error: C program to compute maxint and maxlong failed. Please send bug report to dickey@invisible-island.net." >&5 echo "$as_me: error: C program to compute maxint and maxlong failed. Please send bug report to dickey@invisible-island.net." >&2;} @@ -8410,12 +8431,12 @@ fi if test "x$cf_maxint_set" != xyes ; then # compute it -- assumes two's complement if test "$cross_compiling" = yes; then - { { echo "$as_me:8413: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:8434: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 8418 "configure" +#line 8439 "configure" #include "confdefs.h" #include int main(void) @@ -8441,22 +8462,22 @@ int main(void) } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:8444: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8465: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8447: \$? = $ac_status" >&5 + echo "$as_me:8468: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:8449: \"$ac_try\"") >&5 + { (eval echo "$as_me:8470: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8452: \$? = $ac_status" >&5 + echo "$as_me:8473: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:8459: error: C program to compute maxint and maxlong failed. +{ { echo "$as_me:8480: error: C program to compute maxint and maxlong failed. Please send bug report to dickey@invisible-island.net." >&5 echo "$as_me: error: C program to compute maxint and maxlong failed. Please send bug report to dickey@invisible-island.net." >&2;} @@ -8480,13 +8501,13 @@ fi for ac_func in isnan sigaction do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8483: checking for $ac_func" >&5 +echo "$as_me:8504: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8489 "configure" +#line 8510 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8517,16 +8538,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8520: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8541: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8523: \$? = $ac_status" >&5 + echo "$as_me:8544: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8526: \"$ac_try\"") >&5 + { (eval echo "$as_me:8547: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8529: \$? = $ac_status" >&5 + echo "$as_me:8550: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -8536,7 +8557,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8539: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:8560: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:8575: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8560 "configure" +#line 8581 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:8564: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:8585: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8570: \$? = $ac_status" >&5 + echo "$as_me:8591: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -8586,7 +8607,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:8589: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:8610: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:8622: checking if we should use siginfo" >&5 echo $ECHO_N "checking if we should use siginfo... $ECHO_C" >&6 if test "${cf_cv_use_sv_siginfo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -8611,16 +8632,16 @@ else fi fi -echo "$as_me:8614: result: $cf_cv_use_sv_siginfo" >&5 +echo "$as_me:8635: result: $cf_cv_use_sv_siginfo" >&5 echo "${ECHO_T}$cf_cv_use_sv_siginfo" >&6 -echo "$as_me:8617: checking return type of signal handlers" >&5 +echo "$as_me:8638: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8623 "configure" +#line 8644 "configure" #include "confdefs.h" #include #include @@ -8642,16 +8663,16 @@ int i; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:8645: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:8666: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:8648: \$? = $ac_status" >&5 + echo "$as_me:8669: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8651: \"$ac_try\"") >&5 + { (eval echo "$as_me:8672: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8654: \$? = $ac_status" >&5 + echo "$as_me:8675: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else @@ -8661,14 +8682,14 @@ ac_cv_type_signal=int fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:8664: result: $ac_cv_type_signal" >&5 +echo "$as_me:8685: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <&5 +echo "$as_me:8692: checking if we should use sigaction.sa_sigaction" >&5 echo $ECHO_N "checking if we should use sigaction.sa_sigaction... $ECHO_C" >&6 if test "${cf_cv_use_sa_sigaction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -8678,7 +8699,7 @@ cf_cv_use_sa_sigaction=no if test "$ac_cv_func_sigaction" = yes then cat >conftest.$ac_ext <<_ACEOF -#line 8681 "configure" +#line 8702 "configure" #include "confdefs.h" #include int @@ -8693,16 +8714,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:8696: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:8717: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:8699: \$? = $ac_status" >&5 + echo "$as_me:8720: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8702: \"$ac_try\"") >&5 + { (eval echo "$as_me:8723: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8705: \$? = $ac_status" >&5 + echo "$as_me:8726: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_use_sa_sigaction=yes else @@ -8713,7 +8734,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:8716: result: $cf_cv_use_sa_sigaction" >&5 +echo "$as_me:8737: result: $cf_cv_use_sa_sigaction" >&5 echo "${ECHO_T}$cf_cv_use_sa_sigaction" >&6 test "$cf_cv_use_sa_sigaction" = yes && @@ -8742,10 +8763,10 @@ CF_EOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:8745: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8766: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8748: \$? = $ac_status" >&5 + echo "$as_me:8769: \$? = $ac_status" >&5 (exit $ac_status); }; then echo "FPE_CHECK 1:check_fpe_traps" >&5 ./conftest 2>/dev/null @@ -8766,13 +8787,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:8769: checking for sigvec" >&5 + echo "$as_me:8790: checking for sigvec" >&5 echo $ECHO_N "checking for sigvec... $ECHO_C" >&6 if test "${ac_cv_func_sigvec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8775 "configure" +#line 8796 "configure" #include "confdefs.h" #define sigvec autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8803,16 +8824,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8806: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8827: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8809: \$? = $ac_status" >&5 + echo "$as_me:8830: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8812: \"$ac_try\"") >&5 + { (eval echo "$as_me:8833: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8815: \$? = $ac_status" >&5 + echo "$as_me:8836: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -8822,7 +8843,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8825: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:8846: result: $ac_cv_func_sigvec" >&5 echo "${ECHO_T}$ac_cv_func_sigvec" >&6 if test $ac_cv_func_sigvec = yes; then cf_have_sigvec=1 @@ -8842,23 +8863,23 @@ fi ;; (1|2|4) # bad news have to turn off traps # only know how to do this on systemV and solaris - echo "$as_me:8845: checking for ieeefp.h" >&5 + echo "$as_me:8866: checking for ieeefp.h" >&5 echo $ECHO_N "checking for ieeefp.h... $ECHO_C" >&6 if test "${ac_cv_header_ieeefp_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8851 "configure" +#line 8872 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:8855: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:8876: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8861: \$? = $ac_status" >&5 + echo "$as_me:8882: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -8877,19 +8898,19 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:8880: result: $ac_cv_header_ieeefp_h" >&5 +echo "$as_me:8901: result: $ac_cv_header_ieeefp_h" >&5 echo "${ECHO_T}$ac_cv_header_ieeefp_h" >&6 if test $ac_cv_header_ieeefp_h = yes; then cf_have_ieeefp_h=1 fi - echo "$as_me:8886: checking for fpsetmask" >&5 + echo "$as_me:8907: checking for fpsetmask" >&5 echo $ECHO_N "checking for fpsetmask... $ECHO_C" >&6 if test "${ac_cv_func_fpsetmask+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8892 "configure" +#line 8913 "configure" #include "confdefs.h" #define fpsetmask autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8920,16 +8941,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8923: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8944: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8926: \$? = $ac_status" >&5 + echo "$as_me:8947: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8929: \"$ac_try\"") >&5 + { (eval echo "$as_me:8950: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8932: \$? = $ac_status" >&5 + echo "$as_me:8953: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fpsetmask=yes else @@ -8939,7 +8960,7 @@ ac_cv_func_fpsetmask=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:8942: result: $ac_cv_func_fpsetmask" >&5 +echo "$as_me:8963: result: $ac_cv_func_fpsetmask" >&5 echo "${ECHO_T}$ac_cv_func_fpsetmask" >&6 if test $ac_cv_func_fpsetmask = yes; then cf_have_fpsetmask=1 @@ -8964,13 +8985,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:8967: checking for sigvec" >&5 + echo "$as_me:8988: checking for sigvec" >&5 echo $ECHO_N "checking for sigvec... $ECHO_C" >&6 if test "${ac_cv_func_sigvec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 8973 "configure" +#line 8994 "configure" #include "confdefs.h" #define sigvec autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -9001,16 +9022,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9004: \"$ac_link\"") >&5 +if { (eval echo "$as_me:9025: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9007: \$? = $ac_status" >&5 + echo "$as_me:9028: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9010: \"$ac_try\"") >&5 + { (eval echo "$as_me:9031: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9013: \$? = $ac_status" >&5 + echo "$as_me:9034: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -9020,7 +9041,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:9023: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:9044: result: $ac_cv_func_sigvec" >&5 echo "${ECHO_T}$ac_cv_func_sigvec" >&6 if test $ac_cv_func_sigvec = yes; then cf_have_sigvec=1 @@ -9039,7 +9060,7 @@ EOF fi # look for strtod overflow bug - echo "$as_me:9042: checking strtod bug on overflow" >&5 + echo "$as_me:9063: checking strtod bug on overflow" >&5 echo $ECHO_N "checking strtod bug on overflow... $ECHO_C" >&6 rm -f conftest$ac_exeext @@ -9049,18 +9070,18 @@ echo $ECHO_N "checking strtod bug on overflow... $ECHO_C" >&6 #include <$cf_FPE_SRCS> CF_EOF - if { (eval echo "$as_me:9052: \"$ac_link\"") >&5 + if { (eval echo "$as_me:9073: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9055: \$? = $ac_status" >&5 + echo "$as_me:9076: \$? = $ac_status" >&5 (exit $ac_status); }; then echo "FPE_CHECK 3:check_strtod_ovf" >&5 if ./conftest phoney_arg phoney_arg 2>/dev/null then - echo "$as_me:9060: result: no bug" >&5 + echo "$as_me:9081: result: no bug" >&5 echo "${ECHO_T}no bug" >&6 else - echo "$as_me:9063: result: buggy -- will use work around" >&5 + echo "$as_me:9084: result: buggy -- will use work around" >&5 echo "${ECHO_T}buggy -- will use work around" >&6 cat >>confdefs.h <&5 + echo "$as_me:9093: result: $cf_FPE_SRCS failed to compile" >&5 echo "${ECHO_T}$cf_FPE_SRCS failed to compile" >&6 fi else @@ -9080,13 +9101,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:9083: checking for sigvec" >&5 + echo "$as_me:9104: checking for sigvec" >&5 echo $ECHO_N "checking for sigvec... $ECHO_C" >&6 if test "${ac_cv_func_sigvec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 9089 "configure" +#line 9110 "configure" #include "confdefs.h" #define sigvec autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -9117,16 +9138,16 @@ main (void) } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9120: \"$ac_link\"") >&5 +if { (eval echo "$as_me:9141: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9123: \$? = $ac_status" >&5 + echo "$as_me:9144: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9126: \"$ac_try\"") >&5 + { (eval echo "$as_me:9147: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9129: \$? = $ac_status" >&5 + echo "$as_me:9150: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -9136,7 +9157,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:9139: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:9160: result: $ac_cv_func_sigvec" >&5 echo "${ECHO_T}$ac_cv_func_sigvec" >&6 if test $ac_cv_func_sigvec = yes; then cf_have_sigvec=1 @@ -9183,7 +9204,7 @@ EOF Please report this so I can fix this script to do it automatically. dickey@invisible-island.net You can continue with the build and the resulting mawk will be - useable, but getting FPE_TRAPS_ON correct eventually is best. + usable, but getting FPE_TRAPS_ON correct eventually is best. EOF fi ;; @@ -9200,7 +9221,7 @@ EOF cat 1>&2 <<-EOF The program \`fpe_check' will not work for cross-compiling. You can continue with the build and the resulting mawk will be - useable, but getting FPE_TRAPS_ON correct eventually is best. + usable, but getting FPE_TRAPS_ON correct eventually is best. EOF fi ;; @@ -9291,7 +9312,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:9294: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:9315: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -9420,7 +9441,7 @@ EOF cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:9467: error: ambiguous option: $1 + { { echo "$as_me:9488: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -9483,7 +9504,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:9486: error: unrecognized option: $1 + -*) { { echo "$as_me:9507: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -9502,7 +9523,7 @@ cat >&5 << _ACEOF ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me 2.52.20190901, executed with +This file was extended by $as_me 2.52.20200111, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -9521,7 +9542,7 @@ do "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_h.in" ;; - *) { { echo "$as_me:9524: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:9545: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -9790,7 +9811,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:9793: creating $ac_file" >&5 + { echo "$as_me:9814: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -9808,7 +9829,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:9811: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:9832: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -9821,7 +9842,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:9824: error: cannot find input file: $f" >&5 + { { echo "$as_me:9845: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -9837,7 +9858,7 @@ cat >>$CONFIG_STATUS <<\EOF if test -n "$ac_seen"; then ac_used=`grep '@datarootdir@' $ac_item` if test -z "$ac_used"; then - { echo "$as_me:9840: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:9861: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&2;} @@ -9846,7 +9867,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' $ac_item` if test -n "$ac_seen"; then - { echo "$as_me:9849: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:9870: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&2;} @@ -9883,7 +9904,7 @@ s,@INSTALL@,$ac_INSTALL,;t t ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:9886: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:9907: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&5 echo "$as_me: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&2;} @@ -9894,7 +9915,7 @@ $ac_seen" >&2;} egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out if test -s $tmp/out; then ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out` - { echo "$as_me:9897: WARNING: Some variables may not be substituted: + { echo "$as_me:9918: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -9943,7 +9964,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:9946: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:9967: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -9954,7 +9975,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:9957: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:9978: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -9967,7 +9988,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:9970: error: cannot find input file: $f" >&5 + { { echo "$as_me:9991: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -10085,7 +10106,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:10088: $ac_file is unchanged" >&5 + { echo "$as_me:10109: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff --git a/configure.in b/configure.in index 2eaec40..888e3cd 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ -dnl $MawkId: configure.in,v 1.59 2019/12/31 19:13:23 tom Exp $ +dnl $MawkId: configure.in,v 1.60 2020/01/20 11:43:28 tom Exp $ dnl configure.in for mawk dnl ########################################################################### -dnl copyright 2008-2015,2019, Thomas E. Dickey +dnl copyright 2008-2019,2020, Thomas E. Dickey dnl copyright 1991-1994,1995, Michael D. Brennan dnl dnl This is a source file for mawk, an implementation of @@ -19,6 +19,7 @@ CF_CHECK_CACHE AC_ARG_PROGRAM +AC_DEFUN([AC_PATH_XTRA],[]) CF_PROG_CC AC_PROG_MAKE_SET CF_MAKEFLAGS diff --git a/examples/qsort.awk b/examples/qsort.awk index 2b4390e..868ea98 100755 --- a/examples/qsort.awk +++ b/examples/qsort.awk @@ -19,7 +19,7 @@ function middle(x,y,z) #return middle of 3 function isort(A , n, i, j, hold) { - # if needed a sentinal at A[0] will be created + # if needed a sentinel at A[0] will be created for( i = 2 ; i <= n ; i++) { diff --git a/field.c b/field.c index ba5dea7..2ddb0f8 100644 --- a/field.c +++ b/field.c @@ -1,6 +1,6 @@ /******************************************** field.c -copyright 2008-2014,2016 Thomas E. Dickey +copyright 2008-2016,2020 Thomas E. Dickey copyright 1991-1995,2014 Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: field.c,v 1.35 2016/11/21 02:15:47 tom Exp $ + * $MawkId: field.c,v 1.36 2020/01/20 11:47:26 tom Exp $ */ /* field.c */ @@ -260,7 +260,7 @@ split_field0(void) } /* the above xxx_split() function put the fields in an anonyous - * buffer that will be pulled into the fields with a transer call */ + * buffer that will be pulled into the fields with a transfer call */ /* we are done with cp0 */ if (cp0 == &hold0) diff --git a/fin.c b/fin.c index 74ca2fa..c5e1104 100644 --- a/fin.c +++ b/fin.c @@ -1,6 +1,6 @@ /******************************************** fin.c -copyright 2008-2014,2018. Thomas E. Dickey +copyright 2008-2018,2020. Thomas E. Dickey copyright 1991-1995,1996. Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: fin.c,v 1.44 2018/11/15 00:31:57 tom Exp $ + * $MawkId: fin.c,v 1.47 2020/01/20 01:56:30 tom Exp $ */ /* fin.c */ @@ -176,25 +176,67 @@ FINgets(FIN * fin, size_t *len_p) } if (fin->fp) { - /* line buffering */ - if (!fgets(fin->buff, BUFFSZ + 1, fin->fp)) { - fin->flags |= EOF_FLAG; - fin->buff[0] = 0; - fin->buffp = fin->buff; - fin->limit = fin->buffp; - goto restart; /* might be main_fin */ - } else { /* return this line */ - /* find eol */ - p = fin->buff; - while (*p != '\n' && *p != 0) - p++; + int have_nl = 0; + int got_any = 0; + char *my_buff = fin->buff; - *p = 0; - *len_p = (unsigned) (p - fin->buff); - fin->buffp = p; - fin->limit = fin->buffp + strlen(fin->buffp); - return fin->buff; - } + do { + /* line buffering */ + if (!fgets(my_buff, BUFFSZ + 1, fin->fp)) { + if (got_any) { + /* no newline, but we have data -- okay */ + break; + } + fin->flags |= EOF_FLAG; + fin->buff[0] = 0; + fin->buffp = fin->buff; + fin->limit = fin->buffp; + goto restart; /* might be main_fin */ + } else { /* return this line */ + /* + * Using fgets, we cannot detect embedded nulls in the + * input. Assume that a null is the one added by fgets + * after reading data. If we have a newline, that is + * better, since fgets has the complete line. + */ + p = my_buff; + while (*p != '\n' && *p != 0) + p++; + + if (*p == '\n') { + have_nl = 1; + *p = 0; + } else { + /* + * Increase the buffer size to allow reading more data, + * and point 'my_buff' to the beginning of the extra + * space. Doing it this way assumes very-long lines + * are rare. + */ + size_t old_size = (size_t) (fin->nbuffs++ * BUFFSZ + 1); + size_t new_size = old_size + BUFFSZ; + char *new_buff = (char *) zmalloc(new_size); + size_t my_size = (size_t) (p - fin->buff); + if (new_buff != fin->buff) { + memcpy(new_buff, fin->buff, my_size); + zfree(fin->buff, old_size); + fin->buff = new_buff; + } + my_buff = my_size + fin->buff; + p = my_buff; + got_any = 1; + } + } + } while (!have_nl); + + /* + * At this point, 'p' points to the terminating null for the + * input line. Fill in the FIN structure details. + */ + *len_p = (size_t) (p - fin->buff); + fin->buffp = p; + fin->limit = fin->buffp + strlen(fin->buffp); + return fin->buff; } else { /* block buffering */ r = fillbuff(fin->fd, fin->buff, (size_t) (fin->nbuffs * BUFFSZ)); diff --git a/man/Makefile.in b/man/Makefile.in index d30f0b9..6b5752f 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -1,6 +1,6 @@ -# $MawkId: Makefile.in,v 1.2 2020/01/06 10:18:49 tom Exp $ +# $MawkId: Makefile.in,v 1.3 2020/01/20 22:32:27 tom Exp $ ############################################################################### -# copyright 2010,2015 Thomas E. Dickey +# copyright 2010-2015,2020 Thomas E. Dickey # # This is a source file for mawk, an implementation of # the AWK programming language. diff --git a/mawk.h b/mawk.h index be800f3..a148a42 100644 --- a/mawk.h +++ b/mawk.h @@ -1,6 +1,6 @@ /******************************************** mawk.h -copyright 2008-2016,2019 Thomas E. Dickey +copyright 2008-2019,2020 Thomas E. Dickey copyright 1991-1995,1996 Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: mawk.h,v 1.54 2019/02/02 01:00:14 tom Exp $ + * $MawkId: mawk.h,v 1.55 2020/01/20 14:15:55 tom Exp $ */ /* mawk.h */ @@ -152,11 +152,13 @@ extern char *str_str(char *, size_t, const char *, size_t); #endif extern void parse(void); -extern int yylex(void); -extern int yyparse(void); -extern void yyerror(const char *); extern void scan_cleanup(void); +#ifndef YYBYACC +extern int yylex(void); +#endif +extern void yyerror(const char *); + extern void bozo(const char *) GCC_NORETURN; extern void errmsg(int, const char *,...) GCC_PRINTFLIKE(2,3); extern void compile_error(const char *,...) GCC_PRINTFLIKE(1,2); diff --git a/package/debian/changelog b/package/debian/changelog index 70d295e..11259ee 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,9 @@ +mawk-cur (1.3.4-20200120) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey Sun, 19 Jan 2020 20:39:59 -0500 + mawk-cur (1.3.4-20200106) unstable; urgency=low * maintenance updates @@ -123,13 +129,13 @@ mawk-cur (1.3.4-20131226) unstable; urgency=low mawk-cur (1.3.4-20130803) unstable; urgency=low - * miscelleneous bug-fixes + * miscellaneous bug-fixes -- Thomas E. Dickey Sat, 03 Aug 2013 09:29:37 -0400 mawk-cur (1.3.4-20130220) unstable; urgency=low - * miscelleneous bug-fixes + * miscellaneous bug-fixes -- Thomas E. Dickey Tue, 19 Feb 2013 06:45:33 -0500 diff --git a/package/mawk.spec b/package/mawk.spec index bde58c9..0c82bf8 100644 --- a/package/mawk.spec +++ b/package/mawk.spec @@ -1,8 +1,8 @@ Summary: mawk - pattern scanning and text processing language %define AppProgram mawk %define AppVersion 1.3.4 -%define AppRelease 20200106 -# $MawkId: mawk.spec,v 1.67 2020/01/06 10:15:35 tom Exp $ +%define AppRelease 20200120 +# $MawkId: mawk.spec,v 1.69 2020/01/20 11:21:53 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: %{AppRelease} diff --git a/parse.c b/parse.c index fd3bb71..39c793b 100644 --- a/parse.c +++ b/parse.c @@ -1419,7 +1419,7 @@ code_call_id(CA_REC * p, SYMTAB * ip) static CELL dummy; p->call_offset = code_offset; - /* This always get set now. So that fcall:relocate_arglist + /* This always gets set now. So that fcall:relocate_arglist works. */ switch (ip->type) { diff --git a/parse.y b/parse.y index 5147b4c..ed9a0cc 100644 --- a/parse.y +++ b/parse.y @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: parse.y,v 1.21 2020/01/07 00:44:39 tom Exp $ + * $MawkId: parse.y,v 1.23 2020/01/20 11:49:54 tom Exp $ */ %{ @@ -747,7 +747,7 @@ statement : array_loop_front statement /* fields D_ID is a special token , same as an ID, but yylex() - only returns it after a '$'. In essense, + only returns it after a '$'. In essence, DOLLAR D_ID is really one token. */ @@ -1337,7 +1337,7 @@ code_call_id(CA_REC * p, SYMTAB * ip) static CELL dummy; p->call_offset = code_offset; - /* This always get set now. So that fcall:relocate_arglist + /* This always gets set now. So that fcall:relocate_arglist works. */ switch (ip->type) { diff --git a/patchlev.h b/patchlev.h index f159c38..6cb47a7 100644 --- a/patchlev.h +++ b/patchlev.h @@ -11,9 +11,9 @@ the GNU General Public License, version 2, 1991. */ /* - * $MawkId: patchlev.h,v 1.93 2020/01/06 10:02:42 tom Exp $ + * $MawkId: patchlev.h,v 1.95 2020/01/20 11:21:53 tom Exp $ */ #define PATCH_BASE 1 #define PATCH_LEVEL 3 #define PATCH_STRING ".4" -#define DATE_STRING "20200106" +#define DATE_STRING "20200120" diff --git a/print.c b/print.c index 5081ed1..a88622d 100644 --- a/print.c +++ b/print.c @@ -1,6 +1,6 @@ /******************************************** print.c -copyright 2008-2012,2016. Thomas E. Dickey +copyright 2008-2016,2020. Thomas E. Dickey copyright 1991-1996,2014. Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: print.c,v 1.27 2016/09/27 09:29:19 tom Exp $ + * $MawkId: print.c,v 1.28 2020/01/20 14:08:41 tom Exp $ */ #include "mawk.h" @@ -274,8 +274,8 @@ make_sfmt(const char *format, return success; } -#define SprintfOverflow(buffer, need) \ - if (buffer + need + 1 >= sprintf_limit) { \ +#define SprintfOverflow(bfr, need) \ + if (bfr + need + 1 >= sprintf_limit) { \ rt_overflow("sprintf buffer", \ (unsigned) (sprintf_limit - sprintf_buff)); \ } diff --git a/rexp0.c b/rexp0.c index 5169d2b..ec531a0 100644 --- a/rexp0.c +++ b/rexp0.c @@ -1,6 +1,6 @@ /******************************************** rexp0.c -copyright 2008-2010,2016, Thomas E. Dickey +copyright 2008-2016,2020, Thomas E. Dickey copyright 2010, Jonathan Nieder copyright 1991-1994,1996, Michael D. Brennan @@ -12,7 +12,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: rexp0.c,v 1.33 2016/11/21 00:26:41 tom Exp $ + * $MawkId: rexp0.c,v 1.34 2020/01/20 11:46:45 tom Exp $ */ /* lexical scanner */ @@ -729,7 +729,7 @@ store_bvp(BV * bvp) bv_limit = bv_next + BV_GROWTH; } - /* put bvp in bv_next as a sentinal */ + /* put bvp in bv_next as a sentinel */ *bv_next = bvp; p = bv_base; while (memcmp(*p, bvp, sizeof(BV))) diff --git a/rexp2.c b/rexp2.c index b170a21..d7eaa67 100644 --- a/rexp2.c +++ b/rexp2.c @@ -1,6 +1,6 @@ /******************************************** rexp2.c -copyright 2009-2016,2017, Thomas E. Dickey +copyright 2009-2017,2020, Thomas E. Dickey copyright 2010, Jonathan Nieder copyright 1991-1992,1993, Michael D. Brennan @@ -12,7 +12,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: rexp2.c,v 1.26 2017/10/17 01:19:15 tom Exp $ + * $MawkId: rexp2.c,v 1.28 2020/01/20 15:11:15 tom Exp $ */ /* test a string against a machine */ @@ -24,7 +24,7 @@ the GNU General Public License, version 2, 1991. RT_STATE *RE_run_stack_base; RT_STATE *RE_run_stack_limit; -/* Large model DOS segment arithemetic breaks the current stack. +/* Large model DOS segment arithmetic breaks the current stack. This hack fixes it without rewriting the whole thing, 5/31/91 */ RT_STATE *RE_run_stack_empty; @@ -373,7 +373,9 @@ REtest(char *str, /* string to test */ } /* FALLTHRU */ - CASE_UANY(M_2JB): /* take the jump branch */ + case (M_2JB) + U_OFF: /* take the jump branch */ + /* FALLTHRU */ + case (M_2JB) + U_ON: /* don't stack an ACCEPT */ if ((tm = m + 1)->s_type == M_ACCEPT) { return 1; diff --git a/rexp3.c b/rexp3.c index 36edf9b..8196f2f 100644 --- a/rexp3.c +++ b/rexp3.c @@ -1,6 +1,6 @@ /******************************************** rexp3.c -copyright 2008-2016,2017, Thomas E. Dickey +copyright 2008-2017,2020, Thomas E. Dickey copyright 2010, Jonathan Nieder copyright 1991-1992,1993, Michael D. Brennan @@ -12,7 +12,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: rexp3.c,v 1.40 2017/10/17 01:19:15 tom Exp $ + * $MawkId: rexp3.c,v 1.41 2020/01/20 15:16:04 tom Exp $ */ /* match a string against a machine */ @@ -391,15 +391,17 @@ REmatch(char *str, /* string to test */ m++; RE_CASE(); - CASE_UANY(M_2JC): /* take the jump branch if position changed */ + case (M_2JC) + U_OFF: /* take the jump branch if position changed */ + case (M_2JC) + U_ON: /* see REtest */ if (RE_pos_pop(&sp, stackp) == s) { m++; RE_CASE(); } /* FALLTHRU */ - - CASE_UANY(M_2JB): /* take the jump branch */ + case (M_2JB) + U_OFF: /* take the jump branch */ + /* FALLTHRU */ + case (M_2JB) + U_ON: push(m + 1, s, sp, ss, u_flag); m += m->s_data.jump; RE_CASE(); diff --git a/split.c b/split.c index 471969c..e6c7d6f 100644 --- a/split.c +++ b/split.c @@ -1,6 +1,6 @@ /******************************************** split.c -copyright 2008-2010,2014 Thomas E. Dickey +copyright 2008-2014,2020 Thomas E. Dickey copyright 1991-1996,2014 Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: split.c,v 1.29 2014/09/14 21:35:23 tom Exp $ + * $MawkId: split.c,v 1.30 2020/01/20 11:22:11 tom Exp $ * @Log: split.c,v @ * Revision 1.3 1996/02/01 04:39:42 mike * dynamic array scheme @@ -168,7 +168,7 @@ re_pos_match(char *str, size_t str_len, PTR re, size_t *lenp, int no_bol) return match; } else { /* match but zero length, move str forward and try again */ - /* note this match must have occured at front of str */ + /* note this match must have occurred at front of str */ str = match + 1; no_bol = 1; } diff --git a/test/wfrq0.awk b/test/wfrq0.awk index 94f2a50..dcb28ee 100644 --- a/test/wfrq0.awk +++ b/test/wfrq0.awk @@ -1,4 +1,4 @@ -# $MawkId: wfrq0.awk,v 1.2 2010/12/10 17:00:00 tom Exp $ +# $MawkId: wfrq0.awk,v 1.3 2020/01/20 11:52:06 tom Exp $ # Test-script for MAWK ############################################################################### # copyright 1993, Michael D. Brennan @@ -10,7 +10,7 @@ # the GNU General Public License, version 2, 1991. ############################################################################### -# this program finds the twenty most freq +# this program finds the twenty most frequent # words in document using a heap sort at the end # # @@ -63,7 +63,7 @@ for( i in cnt ) if ( ++j == 21 ) break ; } -# make some sentinals +# make some sentinels for( i = j ; i < 43 ; i++ ) heap[i] = BIG h_empty = j # save the first empty slot