From 27e6de861f4df8c6e442bdcd94de2b36c80b96da Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 27 Dec 2013 01:22:19 -0500 Subject: [PATCH] snapshot of project "mawk", label t20131226 --- CHANGES | 9 +- MANIFEST | 2 +- aclocal.m4 | 55 +- bi_vars.h | 4 +- cast.c | 26 +- config.guess | 151 +++--- config.sub | 26 +- config_h.in | 5 +- configure | 1044 +++++++++++++++++++++----------------- configure.in | 7 +- fcall.c | 4 +- field.c | 4 +- fpe_check.c | 15 +- jmp.h | 4 +- main.c | 4 +- matherr.c | 15 +- mawk.h | 4 +- package/debian/changelog | 6 + package/mawk.spec | 4 +- patchlev.h | 6 +- rexp3.c | 4 +- rexp4.c | 4 +- types.h | 4 +- 23 files changed, 800 insertions(+), 607 deletions(-) diff --git a/CHANGES b/CHANGES index 8b287de..b002259 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,14 @@ --- $MawkId: CHANGES,v 1.175 2013/08/03 13:46:47 tom Exp $ +-- $MawkId: CHANGES,v 1.177 2013/12/27 00:53:15 tom Exp $ Changes by Thomas E Dickey +20131226 + + add configure check to work around recent breakage in Cygwin's math.h + which declares _LIB_VERSION without allowing it to be updated (report + by Gert Hulselmans). + + minor updates to configure script, for clang and mingw + + update config.guess and config.sub + 20130803 + minor updates to configure script + add limit-checks, improve index computation in scan.c to fix old diff --git a/MANIFEST b/MANIFEST index c21d7d0..34b853a 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -MANIFEST for mawk, version t20130803 +MANIFEST for mawk, version t20131226 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGMENT acknowledgements diff --git a/aclocal.m4 b/aclocal.m4 index 229579e..770756c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $MawkId: aclocal.m4,v 1.66 2013/08/03 13:44:12 tom Exp $ +dnl $MawkId: aclocal.m4,v 1.68 2013/12/27 01:22:11 tom Exp $ dnl custom mawk macros for autoconf dnl dnl The symbols beginning "CF_MAWK_" were originally written by Mike Brennan, @@ -405,7 +405,7 @@ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CLANG_COMPILER version: 1 updated: 2012/06/16 14:55:39 +dnl CF_CLANG_COMPILER version: 2 updated: 2013/11/19 19:23:35 dnl ----------------- dnl Check if the given compiler is really clang. clang's C driver defines dnl __GNUC__ (fooling the configure script into setting $GCC to yes) but does @@ -416,7 +416,7 @@ dnl ensure that it is not mistaken for gcc/g++. It is normally invoked from dnl the wrappers for gcc and g++ warnings. dnl dnl $1 = GCC (default) or GXX -dnl $2 = INTEL_COMPILER (default) or INTEL_CPLUSPLUS +dnl $2 = CLANG_COMPILER (default) dnl $3 = CFLAGS (default) or CXXFLAGS AC_DEFUN([CF_CLANG_COMPILER],[ ifelse([$2],,CLANG_COMPILER,[$2])=no @@ -657,7 +657,7 @@ if test "$GCC" = yes ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GCC_WARNINGS version: 29 updated: 2012/06/16 14:55:39 +dnl CF_GCC_WARNINGS version: 31 updated: 2013/11/19 19:23:35 dnl --------------- dnl Check if the compiler supports useful warning options. There's a few that dnl we don't use, simply because they're too noisy: @@ -729,10 +729,14 @@ then EXTRA_CFLAGS= cf_warn_CONST="" test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings" + cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs" + test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings= for cf_opt in W Wall \ Wbad-function-cast \ Wcast-align \ Wcast-qual \ + Wdeclaration-after-statement \ + Wextra \ Winline \ Wmissing-declarations \ Wmissing-prototypes \ @@ -740,7 +744,7 @@ then Wpointer-arith \ Wshadow \ Wstrict-prototypes \ - Wundef $cf_warn_CONST $1 + Wundef $cf_gcc_warnings $cf_warn_CONST $1 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" if AC_TRY_EVAL(ac_compile); then @@ -1265,7 +1269,7 @@ LIBS="$cf_FPE_LIBS" rm -f conftest.$ac_ext fpe_check$ac_exeext # whew!! ]) dnl --------------------------------------------------------------------------- -dnl CF_MIXEDCASE_FILENAMES version: 4 updated: 2012/10/02 20:55:03 +dnl CF_MIXEDCASE_FILENAMES version: 6 updated: 2013/10/08 17:47:05 dnl ---------------------- dnl Check if the file-system supports mixed-case filenames. If we're able to dnl create a lowercase name and see it as uppercase, it doesn't support that. @@ -1274,7 +1278,7 @@ AC_DEFUN([CF_MIXEDCASE_FILENAMES], AC_CACHE_CHECK(if filesystem supports mixed-case filenames,cf_cv_mixedcase,[ if test "$cross_compiling" = yes ; then case $target_alias in #(vi - *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-mingw32*|*-uwin*) #(vi + *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*) #(vi cf_cv_mixedcase=no ;; *) @@ -1523,6 +1527,39 @@ $1=`echo "$2" | \ -e 's/-[[UD]]'"$3"'\(=[[^ ]]*\)\?[$]//g'` ])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 +dnl at runtime. Cygwin is known to be broken in this regard (late 2013). +AC_DEFUN([CF_SET_MATH_LIB_VERSION],[ +AC_CACHE_CHECK(if math.h declares _LIB_VERSION,cf_cv_get_math_lib_version,[ + +AC_TRY_LINK([ +#include ], + [int foo = _LIB_VERSION], + [cf_cv_get_math_lib_version=yes], + [cf_cv_get_math_lib_version=no]) +]) + +if test "x$cf_cv_get_math_lib_version" = xyes +then + AC_CACHE_CHECK(if we can update _LIB_VERSION,cf_cv_set_math_lib_version,[ + + AC_TRY_LINK([ +#include ], + [_LIB_VERSION = _IEEE_], + [cf_cv_set_math_lib_version=yes], + [cf_cv_set_math_lib_version=no]) + ]) + if test "x$cf_cv_set_math_lib_version" = xyes + then + AC_DEFINE(HAVE_MATH__LIB_VERSION,1,[Define to 1 if we can set math.h variable _LIB_VERSION]) + else + AC_MSG_WARN(this is probably due to a defect in your system headers) + fi +fi +])dnl +dnl --------------------------------------------------------------------------- dnl CF_SRAND version: 11 updated: 2012/10/31 07:00:16 dnl -------- dnl Check for functions similar to srand() and rand(). lrand48() and random() @@ -1735,7 +1772,7 @@ CF_NO_LEAKS_OPTION(valgrind, [USE_VALGRIND]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_XOPEN_SOURCE version: 43 updated: 2013/02/10 10:41:05 +dnl CF_XOPEN_SOURCE version: 45 updated: 2013/09/07 14:06:25 dnl --------------- dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, dnl or adapt to the vendor's definitions to get equivalent functionality, @@ -1755,7 +1792,7 @@ case $host_os in #(vi aix[[4-7]]*) #(vi cf_xopen_source="-D_ALL_SOURCE" ;; -cygwin) #(vi +cygwin|msys) #(vi cf_XOPEN_SOURCE=600 ;; darwin[[0-8]].*) #(vi diff --git a/bi_vars.h b/bi_vars.h index 202c21d..2f4399e 100644 --- a/bi_vars.h +++ b/bi_vars.h @@ -1,6 +1,6 @@ /******************************************** bi_vars.h -copyright 2009, Thomas E. Dickey +copyright 2010, Thomas E. Dickey copyright 1993, 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: bi_vars.h,v 1.7 2010/12/10 17:00:00 tom Exp $ + * $MawkId: bi_vars.h,v 1.8 2010/12/10 17:00:00 tom Exp $ * @Log: bi_vars.h,v @ * Revision 1.1.1.1 1993/07/03 18:58:09 mike * move source to cvs diff --git a/cast.c b/cast.c index 5012c07..89b7ac8 100644 --- a/cast.c +++ b/cast.c @@ -1,6 +1,6 @@ /******************************************** cast.c -copyright 2009-2010,2012 Thomas E. Dickey +copyright 2009-2012,2013 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: cast.c,v 1.17 2012/11/29 09:21:25 tom Exp $ + * $MawkId: cast.c,v 1.19 2013/12/26 23:23:55 tom Exp $ * @Log: cast.c,v @ * Revision 1.6 1996/08/11 22:07:50 mike * Fix small bozo in rt_error("overflow converting ...") @@ -73,7 +73,7 @@ int mpow2[NUM_CELL_TYPES] = {1, 2, 4, 8, 16, 32, 64, 128, 256, 512}; void -cast1_to_d(CELL * cp) +cast1_to_d(CELL *cp) { switch (cp->type) { case C_NOINIT: @@ -112,7 +112,7 @@ cast1_to_d(CELL * cp) } void -cast2_to_d(CELL * cp) +cast2_to_d(CELL *cp) { register STRING *s; @@ -183,7 +183,7 @@ cast2_to_d(CELL * cp) } void -cast1_to_s(CELL * cp) +cast1_to_s(CELL *cp) { register Int lval; char xbuff[260]; @@ -219,7 +219,7 @@ cast1_to_s(CELL * cp) } void -cast2_to_s(CELL * cp) +cast2_to_s(CELL *cp) { register Int lval; char xbuff[260]; @@ -287,7 +287,7 @@ cast2_to_s(CELL * cp) } void -cast_to_RE(CELL * cp) +cast_to_RE(CELL *cp) { register PTR p; @@ -303,7 +303,7 @@ cast_to_RE(CELL * cp) } void -cast_for_split(CELL * cp) +cast_for_split(CELL *cp) { static char meta[] = "^$.*+?|[]()"; static char xbuff[] = "\\X"; @@ -337,7 +337,7 @@ cast_for_split(CELL * cp) cp->ptr = (PTR) new_STRING1(temp, (size_t) 1); return; #endif - } else if (strchr(meta, c)) { + } else if ((strchr) (meta, c)) { xbuff[1] = (char) c; free_STRING(string(cp)); cp->ptr = (PTR) new_STRING(xbuff); @@ -357,7 +357,7 @@ cast_for_split(CELL * cp) */ void -check_strnum(CELL * cp) +check_strnum(CELL *cp) { char *temp; register unsigned char *s, *q; @@ -408,7 +408,7 @@ check_strnum(CELL * cp) /* cast a CELL to a replacement cell */ void -cast_to_REPL(CELL * cp) +cast_to_REPL(CELL *cp) { register STRING *sval; @@ -466,7 +466,7 @@ static ALL_CELLS *all_cells; * free on exit for auditing. */ void -no_leaks_cell(CELL * cp) +no_leaks_cell(CELL *cp) { ALL_CELLS *p = calloc(1, sizeof(ALL_CELLS)); p->next = all_cells; @@ -476,7 +476,7 @@ no_leaks_cell(CELL * cp) } void -no_leaks_cell_ptr(CELL * cp) +no_leaks_cell_ptr(CELL *cp) { ALL_CELLS *p = calloc(1, sizeof(ALL_CELLS)); p->next = all_cells; diff --git a/config.guess b/config.guess index 6ea3454..9afd676 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2013-02-04' +timestamp='2013-11-29' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -132,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + ;; +esac + # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -853,21 +874,21 @@ EOF exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in @@ -880,59 +901,54 @@ EOF EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else - echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) - echo ${UNAME_MACHINE}-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) - echo ${UNAME_MACHINE}-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) - LIBC=gnu - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build @@ -951,54 +967,63 @@ EOF #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; or32:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) - echo sparc-unknown-linux-gnu + echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu + echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. @@ -1231,19 +1256,31 @@ EOF exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) diff --git a/config.sub b/config.sub index 80211d0..61cb4bc 100755 --- a/config.sub +++ b/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2013-02-04' +timestamp='2013-10-01' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -252,12 +252,12 @@ case $basic_machine in | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc \ + | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ - | c4x | clipper \ + | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ @@ -265,6 +265,7 @@ case $basic_machine in | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ @@ -296,7 +297,7 @@ case $basic_machine in | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 \ - | or32 \ + | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ @@ -324,7 +325,7 @@ case $basic_machine in c6x) basic_machine=tic6x-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; @@ -366,13 +367,13 @@ case $basic_machine in | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ - | clipper-* | craynv-* | cydra-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ @@ -381,6 +382,7 @@ case $basic_machine in | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ @@ -794,7 +796,7 @@ case $basic_machine in os=-mingw64 ;; mingw32) - basic_machine=i386-pc + basic_machine=i686-pc os=-mingw32 ;; mingw32ce) @@ -830,7 +832,7 @@ case $basic_machine in basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) - basic_machine=i386-pc + basic_machine=i686-pc os=-msys ;; mvs) @@ -1546,6 +1548,9 @@ case $basic_machine in c4x-* | tic4x-*) os=-coff ;; + c8051-*) + os=-elf + ;; hexagon-*) os=-elf ;; @@ -1589,6 +1594,9 @@ case $basic_machine in mips*-*) os=-elf ;; + or1k-*) + os=-elf + ;; or32-*) os=-coff ;; diff --git a/config_h.in b/config_h.in index c06a007..4d9fe74 100644 --- a/config_h.in +++ b/config_h.in @@ -1,6 +1,6 @@ /******************************************** config_h.in -copyright 2009-2010,2012 Thomas E. Dickey +copyright 2009-2012,2013 Thomas E. Dickey This is a source file for mawk, an implementation of the AWK programming language. @@ -10,7 +10,7 @@ the GNU General Public License, version 2, 1991. ********************************************/ /* - * $MawkId: config_h.in,v 1.26 2012/10/31 11:00:55 tom Exp $ + * $MawkId: config_h.in,v 1.27 2013/12/27 00:43:02 tom Exp $ * vile:cmode * template for config.h */ @@ -28,6 +28,7 @@ the GNU General Public License, version 2, 1991. #undef HAVE_FORK #undef HAVE_ISNAN #undef HAVE_MATHERR +#undef HAVE_MATH__LIB_VERSION #undef HAVE_MKTIME #undef HAVE_PIPE #undef HAVE_REAL_PIPES diff --git a/configure b/configure index 1730867..82f6700 100755 --- a/configure +++ b/configure @@ -2909,10 +2909,14 @@ echo "$as_me: checking for $CC warning options..." >&6;} EXTRA_CFLAGS= cf_warn_CONST="" test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings" + cf_gcc_warnings="Wignored-qualifiers Wlogical-op Wvarargs" + test "x$CLANG_COMPILER" = xyes && cf_gcc_warnings= for cf_opt in W Wall \ Wbad-function-cast \ Wcast-align \ Wcast-qual \ + Wdeclaration-after-statement \ + Wextra \ Winline \ Wmissing-declarations \ Wmissing-prototypes \ @@ -2920,15 +2924,15 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wpointer-arith \ Wshadow \ Wstrict-prototypes \ - Wundef $cf_warn_CONST + Wundef $cf_gcc_warnings $cf_warn_CONST do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:2926: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:2930: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2929: \$? = $ac_status" >&5 + echo "$as_me:2933: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:2931: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:2935: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in #(vi Wcast-qual) #(vi @@ -2939,7 +2943,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}:2942: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:2946: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -2949,7 +2953,7 @@ echo "${as_me:-configure}:2942: 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}:2952: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:2956: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -2966,7 +2970,7 @@ fi fi ############################################################################### -echo "$as_me:2969: checking if you want to use mawk's own regular-expressions engine" >&5 +echo "$as_me:2973: 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. @@ -2980,7 +2984,7 @@ if test "x${with_builtin_regex}" != xno; then with_builtin_regex=yes CPPFLAGS="$CPPFLAGS -DLOCAL_REGEXP" fi -echo "$as_me:2983: result: $with_builtin_regex" >&5 +echo "$as_me:2987: result: $with_builtin_regex" >&5 echo "${ECHO_T}$with_builtin_regex" >&6 if test "x${with_builtin_regex}" = xno; then @@ -2994,13 +2998,13 @@ mingw*) ;; esac -echo "$as_me:2997: checking for regcomp" >&5 +echo "$as_me:3001: 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 3003 "configure" +#line 3007 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char regcomp (); below. */ @@ -3031,16 +3035,16 @@ f = regcomp; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3034: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3038: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3037: \$? = $ac_status" >&5 + echo "$as_me:3041: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3040: \"$ac_try\"") >&5 + { (eval echo "$as_me:3044: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3043: \$? = $ac_status" >&5 + echo "$as_me:3047: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_regcomp=yes else @@ -3050,7 +3054,7 @@ ac_cv_func_regcomp=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3053: result: $ac_cv_func_regcomp" >&5 +echo "$as_me:3057: 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 @@ -3059,7 +3063,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:3062: checking for regcomp in -l$cf_regex_lib" >&5 +echo "$as_me:3066: 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 @@ -3067,7 +3071,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_regex_lib $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3070 "configure" +#line 3074 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3086,16 +3090,16 @@ regcomp (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3089: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3093: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3092: \$? = $ac_status" >&5 + echo "$as_me:3096: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3095: \"$ac_try\"") >&5 + { (eval echo "$as_me:3099: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3098: \$? = $ac_status" >&5 + echo "$as_me:3102: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Lib=yes" else @@ -3106,7 +3110,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:3109: result: `eval echo '${'$as_ac_Lib'}'`" >&5 +echo "$as_me:3113: 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 @@ -3120,13 +3124,13 @@ fi fi if test "$cf_regex_func" = no ; then - echo "$as_me:3123: checking for compile" >&5 + echo "$as_me:3127: 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 3129 "configure" +#line 3133 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char compile (); below. */ @@ -3157,16 +3161,16 @@ f = compile; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3160: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3164: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3163: \$? = $ac_status" >&5 + echo "$as_me:3167: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3166: \"$ac_try\"") >&5 + { (eval echo "$as_me:3170: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3169: \$? = $ac_status" >&5 + echo "$as_me:3173: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_compile=yes else @@ -3176,13 +3180,13 @@ ac_cv_func_compile=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3179: result: $ac_cv_func_compile" >&5 +echo "$as_me:3183: 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:3185: checking for compile in -lgen" >&5 + echo "$as_me:3189: 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 @@ -3190,7 +3194,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3193 "configure" +#line 3197 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3209,16 +3213,16 @@ compile (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3212: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3216: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3215: \$? = $ac_status" >&5 + echo "$as_me:3219: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3218: \"$ac_try\"") >&5 + { (eval echo "$as_me:3222: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3221: \$? = $ac_status" >&5 + echo "$as_me:3225: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_gen_compile=yes else @@ -3229,7 +3233,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:3232: result: $ac_cv_lib_gen_compile" >&5 +echo "$as_me:3236: 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 @@ -3242,11 +3246,11 @@ fi fi if test "$cf_regex_func" = no ; then - { echo "$as_me:3245: WARNING: cannot find regular expression library" >&5 + { echo "$as_me:3249: WARNING: cannot find regular expression library" >&5 echo "$as_me: WARNING: cannot find regular expression library" >&2;} fi -echo "$as_me:3249: checking for regular-expression headers" >&5 +echo "$as_me:3253: 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 @@ -3258,7 +3262,7 @@ compile) #(vi for cf_regex_hdr in regexp.h regexpr.h do cat >conftest.$ac_ext <<_ACEOF -#line 3261 "configure" +#line 3265 "configure" #include "confdefs.h" #include <$cf_regex_hdr> int @@ -3273,16 +3277,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3276: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3280: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3279: \$? = $ac_status" >&5 + echo "$as_me:3283: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3282: \"$ac_try\"") >&5 + { (eval echo "$as_me:3286: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3285: \$? = $ac_status" >&5 + echo "$as_me:3289: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -3299,7 +3303,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 3302 "configure" +#line 3306 "configure" #include "confdefs.h" #include #include <$cf_regex_hdr> @@ -3317,16 +3321,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3320: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3324: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3323: \$? = $ac_status" >&5 + echo "$as_me:3327: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3326: \"$ac_try\"") >&5 + { (eval echo "$as_me:3330: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3329: \$? = $ac_status" >&5 + echo "$as_me:3333: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -3342,11 +3346,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext esac fi -echo "$as_me:3345: result: $cf_cv_regex_hdrs" >&5 +echo "$as_me:3349: result: $cf_cv_regex_hdrs" >&5 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 case $cf_cv_regex_hdrs in #(vi - no) { echo "$as_me:3349: WARNING: no regular expression header found" >&5 + no) { echo "$as_me:3353: WARNING: no regular expression header found" >&5 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; #(vi regex.h) cat >>confdefs.h <<\EOF @@ -3368,7 +3372,7 @@ esac fi ############################################################################### -echo "$as_me:3371: checking if you want to use mawk's own srand/rand functions" >&5 +echo "$as_me:3375: 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. @@ -3388,12 +3392,12 @@ fi; if test "x${with_builtin_srand}" != xno; then with_builtin_srand=yes fi -echo "$as_me:3391: result: $with_builtin_srand" >&5 +echo "$as_me:3395: result: $with_builtin_srand" >&5 echo "${ECHO_T}$with_builtin_srand" >&6 if test "x${with_builtin_srand}" = xno; then -echo "$as_me:3396: checking for random-integer functions" >&5 +echo "$as_me:3400: 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 @@ -3413,7 +3417,7 @@ do esac cat >conftest.$ac_ext <<_ACEOF -#line 3416 "configure" +#line 3420 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -3432,16 +3436,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:3435: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3439: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3438: \$? = $ac_status" >&5 + echo "$as_me:3442: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3441: \"$ac_try\"") >&5 + { (eval echo "$as_me:3445: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3444: \$? = $ac_status" >&5 + echo "$as_me:3448: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_srand_func=$cf_func break @@ -3453,10 +3457,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext done fi -echo "$as_me:3456: result: $cf_cv_srand_func" >&5 +echo "$as_me:3460: 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:3459: checking for range of random-integers" >&5 + echo "$as_me:3463: 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 @@ -3477,7 +3481,7 @@ else ;; esac cat >conftest.$ac_ext <<_ACEOF -#line 3480 "configure" +#line 3484 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -3496,16 +3500,16 @@ long x = $cf_cv_rand_max } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3499: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3503: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3502: \$? = $ac_status" >&5 + echo "$as_me:3506: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3505: \"$ac_try\"") >&5 + { (eval echo "$as_me:3509: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3508: \$? = $ac_status" >&5 + echo "$as_me:3512: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -3516,15 +3520,15 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3519: result: $cf_cv_rand_max" >&5 +echo "$as_me:3523: result: $cf_cv_rand_max" >&5 echo "${ECHO_T}$cf_cv_rand_max" >&6 case $cf_cv_srand_func in */arc4random) - echo "$as_me:3524: checking if should be included" >&5 + echo "$as_me:3528: checking if should be included" >&5 echo $ECHO_N "checking if should be included... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3527 "configure" +#line 3531 "configure" #include "confdefs.h" #include int @@ -3537,23 +3541,23 @@ void *arc4random(int); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3540: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3544: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3543: \$? = $ac_status" >&5 + echo "$as_me:3547: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3546: \"$ac_try\"") >&5 + { (eval echo "$as_me:3550: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3549: \$? = $ac_status" >&5 + echo "$as_me:3553: \$? = $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 3556 "configure" +#line 3560 "configure" #include "confdefs.h" #include int @@ -3565,16 +3569,16 @@ unsigned x = arc4random() } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3568: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3572: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3571: \$? = $ac_status" >&5 + echo "$as_me:3575: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3574: \"$ac_try\"") >&5 + { (eval echo "$as_me:3578: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3577: \$? = $ac_status" >&5 + echo "$as_me:3581: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_stdlib_h=yes else @@ -3585,7 +3589,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:3588: result: $cf_bsd_stdlib_h" >&5 + echo "$as_me:3592: result: $cf_bsd_stdlib_h" >&5 echo "${ECHO_T}$cf_bsd_stdlib_h" >&6 if test "$cf_bsd_stdlib_h" = yes then @@ -3595,10 +3599,10 @@ cat >>confdefs.h <<\EOF EOF else - echo "$as_me:3598: checking if should be included" >&5 + echo "$as_me:3602: checking if should be included" >&5 echo $ECHO_N "checking if should be included... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3601 "configure" +#line 3605 "configure" #include "confdefs.h" #include int @@ -3611,23 +3615,23 @@ void *arc4random(int); } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3614: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3618: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3617: \$? = $ac_status" >&5 + echo "$as_me:3621: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3620: \"$ac_try\"") >&5 + { (eval echo "$as_me:3624: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3623: \$? = $ac_status" >&5 + echo "$as_me:3627: \$? = $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 3630 "configure" +#line 3634 "configure" #include "confdefs.h" #include int @@ -3639,16 +3643,16 @@ unsigned x = arc4random() } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3642: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3646: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3645: \$? = $ac_status" >&5 + echo "$as_me:3649: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3648: \"$ac_try\"") >&5 + { (eval echo "$as_me:3652: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3651: \$? = $ac_status" >&5 + echo "$as_me:3655: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_bsd_random_h=yes else @@ -3659,7 +3663,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:3662: result: $cf_bsd_random_h" >&5 + echo "$as_me:3666: result: $cf_bsd_random_h" >&5 echo "${ECHO_T}$cf_bsd_random_h" >&6 if test "$cf_bsd_random_h" = yes then @@ -3669,7 +3673,7 @@ cat >>confdefs.h <<\EOF EOF else - { echo "$as_me:3672: WARNING: no header file found for arc4random" >&5 + { echo "$as_me:3676: WARNING: no header file found for arc4random" >&5 echo "$as_me: WARNING: no header file found for arc4random" >&2;} fi fi @@ -3703,7 +3707,7 @@ fi fi ############################################################################### -echo "$as_me:3706: checking if you want mawk to initialize random numbers at startup" >&5 +echo "$as_me:3710: 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. @@ -3725,7 +3729,7 @@ if test "x${with_init_srand}" != xno; then else CPPFLAGS="$CPPFLAGS -DNO_INIT_SRAND" fi -echo "$as_me:3728: result: $with_init_srand" >&5 +echo "$as_me:3732: result: $with_init_srand" >&5 echo "${ECHO_T}$with_init_srand" >&6 ############################################################################### @@ -3734,7 +3738,7 @@ for ac_prog in 'bison -y' byacc 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:3737: checking for $ac_word" >&5 +echo "$as_me:3741: 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 @@ -3749,7 +3753,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:3752: found $ac_dir/$ac_word" >&5 +echo "$as_me:3756: found $ac_dir/$ac_word" >&5 break done @@ -3757,10 +3761,10 @@ fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - echo "$as_me:3760: result: $YACC" >&5 + echo "$as_me:3764: result: $YACC" >&5 echo "${ECHO_T}$YACC" >&6 else - echo "$as_me:3763: result: no" >&5 + echo "$as_me:3767: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3772,7 +3776,7 @@ for ac_prog in tdlint lint alint splint lclint 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:3775: checking for $ac_word" >&5 +echo "$as_me:3779: 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 @@ -3787,7 +3791,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:3790: found $ac_dir/$ac_word" >&5 +echo "$as_me:3794: found $ac_dir/$ac_word" >&5 break done @@ -3795,17 +3799,17 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:3798: result: $LINT" >&5 + echo "$as_me:3802: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:3801: result: no" >&5 + echo "$as_me:3805: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$LINT" && break done -echo "$as_me:3808: checking if filesystem supports mixed-case filenames" >&5 +echo "$as_me:3812: 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 @@ -3813,7 +3817,7 @@ else if test "$cross_compiling" = yes ; then case $target_alias in #(vi - *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-mingw32*|*-uwin*) #(vi + *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*) #(vi cf_cv_mixedcase=no ;; *) @@ -3832,7 +3836,7 @@ else fi fi -echo "$as_me:3835: result: $cf_cv_mixedcase" >&5 +echo "$as_me:3839: result: $cf_cv_mixedcase" >&5 echo "${ECHO_T}$cf_cv_mixedcase" >&6 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF @@ -3843,7 +3847,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:3846: checking for $ac_word" >&5 +echo "$as_me:3850: 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 @@ -3858,7 +3862,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:3861: found $ac_dir/$ac_word" >&5 +echo "$as_me:3865: found $ac_dir/$ac_word" >&5 break done @@ -3866,10 +3870,10 @@ fi fi CTAGS=$ac_cv_prog_CTAGS if test -n "$CTAGS"; then - echo "$as_me:3869: result: $CTAGS" >&5 + echo "$as_me:3873: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else - echo "$as_me:3872: result: no" >&5 + echo "$as_me:3876: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3880,7 +3884,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:3883: checking for $ac_word" >&5 +echo "$as_me:3887: 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 @@ -3895,7 +3899,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:3898: found $ac_dir/$ac_word" >&5 +echo "$as_me:3902: found $ac_dir/$ac_word" >&5 break done @@ -3903,10 +3907,10 @@ fi fi ETAGS=$ac_cv_prog_ETAGS if test -n "$ETAGS"; then - echo "$as_me:3906: result: $ETAGS" >&5 + echo "$as_me:3910: result: $ETAGS" >&5 echo "${ECHO_T}$ETAGS" >&6 else - echo "$as_me:3909: result: no" >&5 + echo "$as_me:3913: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3915,7 +3919,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:3918: checking for $ac_word" >&5 +echo "$as_me:3922: 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 @@ -3930,7 +3934,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:3933: found $ac_dir/$ac_word" >&5 +echo "$as_me:3937: found $ac_dir/$ac_word" >&5 break done @@ -3939,17 +3943,17 @@ fi fi MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS if test -n "$MAKE_LOWER_TAGS"; then - echo "$as_me:3942: result: $MAKE_LOWER_TAGS" >&5 + echo "$as_me:3946: result: $MAKE_LOWER_TAGS" >&5 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 else - echo "$as_me:3945: result: no" >&5 + echo "$as_me:3949: 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:3952: checking for $ac_word" >&5 +echo "$as_me:3956: 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 @@ -3964,7 +3968,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:3967: found $ac_dir/$ac_word" >&5 +echo "$as_me:3971: found $ac_dir/$ac_word" >&5 break done @@ -3973,10 +3977,10 @@ fi fi MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS if test -n "$MAKE_UPPER_TAGS"; then - echo "$as_me:3976: result: $MAKE_UPPER_TAGS" >&5 + echo "$as_me:3980: result: $MAKE_UPPER_TAGS" >&5 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 else - echo "$as_me:3979: result: no" >&5 + echo "$as_me:3983: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4004,7 +4008,7 @@ case $host_os in #(vi aix[4-7]*) #(vi cf_xopen_source="-D_ALL_SOURCE" ;; -cygwin) #(vi +cygwin|msys) #(vi cf_XOPEN_SOURCE=600 ;; darwin[0-8].*) #(vi @@ -4034,14 +4038,14 @@ irix[56].*) #(vi ;; linux*|gnu*|mint*|k*bsd*-gnu) #(vi -echo "$as_me:4037: checking if we must define _GNU_SOURCE" >&5 +echo "$as_me:4041: 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 4044 "configure" +#line 4048 "configure" #include "confdefs.h" #include int @@ -4056,16 +4060,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4059: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4063: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4062: \$? = $ac_status" >&5 + echo "$as_me:4066: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4065: \"$ac_try\"") >&5 + { (eval echo "$as_me:4069: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4068: \$? = $ac_status" >&5 + echo "$as_me:4072: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -4074,7 +4078,7 @@ cat conftest.$ac_ext >&5 cf_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 4077 "configure" +#line 4081 "configure" #include "confdefs.h" #include int @@ -4089,16 +4093,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4092: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4096: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4095: \$? = $ac_status" >&5 + echo "$as_me:4099: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4098: \"$ac_try\"") >&5 + { (eval echo "$as_me:4102: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4101: \$? = $ac_status" >&5 + echo "$as_me:4105: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_gnu_source=no else @@ -4113,7 +4117,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4116: result: $cf_cv_gnu_source" >&5 +echo "$as_me:4120: result: $cf_cv_gnu_source" >&5 echo "${ECHO_T}$cf_cv_gnu_source" >&6 test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" @@ -4135,16 +4139,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:4138: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:4142: 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}:4144: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:4148: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 4147 "configure" +#line 4151 "configure" #include "confdefs.h" #include int @@ -4159,16 +4163,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4162: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4166: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4165: \$? = $ac_status" >&5 + echo "$as_me:4169: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4168: \"$ac_try\"") >&5 + { (eval echo "$as_me:4172: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4171: \$? = $ac_status" >&5 + echo "$as_me:4175: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -4189,7 +4193,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 4192 "configure" +#line 4196 "configure" #include "confdefs.h" #include int @@ -4204,16 +4208,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4207: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4211: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4210: \$? = $ac_status" >&5 + echo "$as_me:4214: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4213: \"$ac_try\"") >&5 + { (eval echo "$as_me:4217: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4216: \$? = $ac_status" >&5 + echo "$as_me:4220: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -4224,15 +4228,15 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:4227: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:4231: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source" -echo "${as_me:-configure}:4232: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:4236: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 4235 "configure" +#line 4239 "configure" #include "confdefs.h" #include int @@ -4247,16 +4251,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4250: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4254: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4253: \$? = $ac_status" >&5 + echo "$as_me:4257: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4256: \"$ac_try\"") >&5 + { (eval echo "$as_me:4260: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4259: \$? = $ac_status" >&5 + echo "$as_me:4263: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -4272,7 +4276,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4275: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:4279: 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 @@ -4385,14 +4389,14 @@ solaris2.*) #(vi ;; *) -echo "$as_me:4388: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:4392: 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 4395 "configure" +#line 4399 "configure" #include "confdefs.h" #include @@ -4411,16 +4415,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4414: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4418: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4417: \$? = $ac_status" >&5 + echo "$as_me:4421: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4420: \"$ac_try\"") >&5 + { (eval echo "$as_me:4424: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4423: \$? = $ac_status" >&5 + echo "$as_me:4427: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -4429,7 +4433,7 @@ cat conftest.$ac_ext >&5 cf_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 4432 "configure" +#line 4436 "configure" #include "confdefs.h" #include @@ -4448,16 +4452,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4451: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4455: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4454: \$? = $ac_status" >&5 + echo "$as_me:4458: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4457: \"$ac_try\"") >&5 + { (eval echo "$as_me:4461: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4460: \$? = $ac_status" >&5 + echo "$as_me:4464: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -4472,7 +4476,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4475: result: $cf_cv_xopen_source" >&5 +echo "$as_me:4479: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -4580,16 +4584,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:4583: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:4587: 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}:4589: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:4593: testing if the symbol is already defined go no further ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 4592 "configure" +#line 4596 "configure" #include "confdefs.h" #include int @@ -4604,16 +4608,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4607: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4611: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4610: \$? = $ac_status" >&5 + echo "$as_me:4614: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4613: \"$ac_try\"") >&5 + { (eval echo "$as_me:4617: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4616: \$? = $ac_status" >&5 + echo "$as_me:4620: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_posix_c_source=no else @@ -4634,7 +4638,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >conftest.$ac_ext <<_ACEOF -#line 4637 "configure" +#line 4641 "configure" #include "confdefs.h" #include int @@ -4649,16 +4653,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4652: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4656: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4655: \$? = $ac_status" >&5 + echo "$as_me:4659: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4658: \"$ac_try\"") >&5 + { (eval echo "$as_me:4662: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4661: \$? = $ac_status" >&5 + echo "$as_me:4665: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -4669,15 +4673,15 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "${as_me:-configure}:4672: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:4676: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS $cf_cv_posix_c_source" -echo "${as_me:-configure}:4677: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:4681: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >conftest.$ac_ext <<_ACEOF -#line 4680 "configure" +#line 4684 "configure" #include "confdefs.h" #include int @@ -4692,16 +4696,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4695: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4699: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4698: \$? = $ac_status" >&5 + echo "$as_me:4702: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4701: \"$ac_try\"") >&5 + { (eval echo "$as_me:4705: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4704: \$? = $ac_status" >&5 + echo "$as_me:4708: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -4717,7 +4721,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4720: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:4724: 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 @@ -4890,10 +4894,10 @@ fi fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:4893: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:4897: 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 4896 "configure" +#line 4900 "configure" #include "confdefs.h" #include int @@ -4908,16 +4912,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4911: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4915: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4914: \$? = $ac_status" >&5 + echo "$as_me:4918: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4917: \"$ac_try\"") >&5 + { (eval echo "$as_me:4921: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4920: \$? = $ac_status" >&5 + echo "$as_me:4924: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set=yes else @@ -4926,12 +4930,12 @@ cat conftest.$ac_ext >&5 cf_XOPEN_SOURCE_set=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:4929: result: $cf_XOPEN_SOURCE_set" >&5 + echo "$as_me:4933: 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 4934 "configure" +#line 4938 "configure" #include "confdefs.h" #include int @@ -4946,16 +4950,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4949: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4953: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4952: \$? = $ac_status" >&5 + echo "$as_me:4956: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4955: \"$ac_try\"") >&5 + { (eval echo "$as_me:4959: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4958: \$? = $ac_status" >&5 + echo "$as_me:4962: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_XOPEN_SOURCE_set_ok=yes else @@ -4966,19 +4970,19 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext if test $cf_XOPEN_SOURCE_set_ok = no then - { echo "$as_me:4969: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:4973: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:4974: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:4978: 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 4981 "configure" +#line 4985 "configure" #include "confdefs.h" #include @@ -4997,16 +5001,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5000: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5004: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5003: \$? = $ac_status" >&5 + echo "$as_me:5007: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5006: \"$ac_try\"") >&5 + { (eval echo "$as_me:5010: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5009: \$? = $ac_status" >&5 + echo "$as_me:5013: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -5015,7 +5019,7 @@ cat conftest.$ac_ext >&5 cf_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >conftest.$ac_ext <<_ACEOF -#line 5018 "configure" +#line 5022 "configure" #include "confdefs.h" #include @@ -5034,16 +5038,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5037: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5041: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5040: \$? = $ac_status" >&5 + echo "$as_me:5044: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5043: \"$ac_try\"") >&5 + { (eval echo "$as_me:5047: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5046: \$? = $ac_status" >&5 + echo "$as_me:5050: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_xopen_source=no else @@ -5058,7 +5062,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5061: result: $cf_cv_xopen_source" >&5 +echo "$as_me:5065: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -5163,7 +5167,7 @@ if test "${enable_largefile+set}" = set; then fi; if test "$enable_largefile" != no; then - echo "$as_me:5166: checking for special C compiler options needed for large files" >&5 + echo "$as_me:5170: 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 @@ -5175,7 +5179,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 5178 "configure" +#line 5182 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -5195,16 +5199,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5198: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5202: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5201: \$? = $ac_status" >&5 + echo "$as_me:5205: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5204: \"$ac_try\"") >&5 + { (eval echo "$as_me:5208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5207: \$? = $ac_status" >&5 + echo "$as_me:5211: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -5214,16 +5218,16 @@ fi rm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objext -if { (eval echo "$as_me:5217: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5221: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5220: \$? = $ac_status" >&5 + echo "$as_me:5224: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5223: \"$ac_try\"") >&5 + { (eval echo "$as_me:5227: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5226: \$? = $ac_status" >&5 + echo "$as_me:5230: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else @@ -5237,13 +5241,13 @@ rm -f conftest.$ac_objext rm -f conftest.$ac_ext fi fi -echo "$as_me:5240: result: $ac_cv_sys_largefile_CC" >&5 +echo "$as_me:5244: 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:5246: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + echo "$as_me:5250: 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 @@ -5251,7 +5255,7 @@ else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF -#line 5254 "configure" +#line 5258 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -5271,16 +5275,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5274: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5278: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5277: \$? = $ac_status" >&5 + echo "$as_me:5281: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5280: \"$ac_try\"") >&5 + { (eval echo "$as_me:5284: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5283: \$? = $ac_status" >&5 + echo "$as_me:5287: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -5289,7 +5293,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 5292 "configure" +#line 5296 "configure" #include "confdefs.h" #define _FILE_OFFSET_BITS 64 #include @@ -5310,16 +5314,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5313: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5317: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5316: \$? = $ac_status" >&5 + echo "$as_me:5320: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5319: \"$ac_try\"") >&5 + { (eval echo "$as_me:5323: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5322: \$? = $ac_status" >&5 + echo "$as_me:5326: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; break else @@ -5330,7 +5334,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:5333: result: $ac_cv_sys_file_offset_bits" >&5 +echo "$as_me:5337: 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 @@ -5340,7 +5344,7 @@ EOF fi rm -rf conftest* - echo "$as_me:5343: checking for _LARGE_FILES value needed for large files" >&5 + echo "$as_me:5347: 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 @@ -5348,7 +5352,7 @@ else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF -#line 5351 "configure" +#line 5355 "configure" #include "confdefs.h" #include /* Check that off_t can represent 2**63 - 1 correctly. @@ -5368,16 +5372,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5371: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5375: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5374: \$? = $ac_status" >&5 + echo "$as_me:5378: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5377: \"$ac_try\"") >&5 + { (eval echo "$as_me:5381: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5380: \$? = $ac_status" >&5 + echo "$as_me:5384: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -5386,7 +5390,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 5389 "configure" +#line 5393 "configure" #include "confdefs.h" #define _LARGE_FILES 1 #include @@ -5407,16 +5411,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5410: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5414: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5413: \$? = $ac_status" >&5 + echo "$as_me:5417: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5416: \"$ac_try\"") >&5 + { (eval echo "$as_me:5420: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5419: \$? = $ac_status" >&5 + echo "$as_me:5423: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; break else @@ -5427,7 +5431,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:5430: result: $ac_cv_sys_large_files" >&5 +echo "$as_me:5434: 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 @@ -5440,7 +5444,7 @@ rm -rf conftest* fi if test "$enable_largefile" != no ; then - echo "$as_me:5443: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + echo "$as_me:5447: 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 @@ -5448,7 +5452,7 @@ else while :; do ac_cv_sys_largefile_source=no cat >conftest.$ac_ext <<_ACEOF -#line 5451 "configure" +#line 5455 "configure" #include "confdefs.h" #include int @@ -5460,16 +5464,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5463: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5467: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5466: \$? = $ac_status" >&5 + echo "$as_me:5470: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5469: \"$ac_try\"") >&5 + { (eval echo "$as_me:5473: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5472: \$? = $ac_status" >&5 + echo "$as_me:5476: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -5478,7 +5482,7 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 5481 "configure" +#line 5485 "configure" #include "confdefs.h" #define _LARGEFILE_SOURCE 1 #include @@ -5491,16 +5495,16 @@ return !fseeko; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5494: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5498: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5497: \$? = $ac_status" >&5 + echo "$as_me:5501: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5500: \"$ac_try\"") >&5 + { (eval echo "$as_me:5504: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5503: \$? = $ac_status" >&5 + echo "$as_me:5507: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_source=1; break else @@ -5511,7 +5515,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext break done fi -echo "$as_me:5514: result: $ac_cv_sys_largefile_source" >&5 +echo "$as_me:5518: 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 @@ -5525,13 +5529,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:5528: checking for fseeko" >&5 +echo "$as_me:5532: 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 5534 "configure" +#line 5538 "configure" #include "confdefs.h" #include int @@ -5543,16 +5547,16 @@ return fseeko && fseeko (stdin, 0, 0); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5546: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5550: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5549: \$? = $ac_status" >&5 + echo "$as_me:5553: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5552: \"$ac_try\"") >&5 + { (eval echo "$as_me:5556: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5555: \$? = $ac_status" >&5 + echo "$as_me:5559: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fseeko=yes else @@ -5562,7 +5566,7 @@ ac_cv_func_fseeko=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:5565: result: $ac_cv_func_fseeko" >&5 +echo "$as_me:5569: result: $ac_cv_func_fseeko" >&5 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 if test $ac_cv_func_fseeko = yes; then @@ -5583,14 +5587,14 @@ fi test "$ac_cv_sys_largefile_source" != no && CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE " test "$ac_cv_sys_file_offset_bits" != no && CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits " - echo "$as_me:5586: checking whether to use struct dirent64" >&5 + echo "$as_me:5590: 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 5593 "configure" +#line 5597 "configure" #include "confdefs.h" #include @@ -5611,16 +5615,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5614: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5618: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5617: \$? = $ac_status" >&5 + echo "$as_me:5621: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5620: \"$ac_try\"") >&5 + { (eval echo "$as_me:5624: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5623: \$? = $ac_status" >&5 + echo "$as_me:5627: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_struct_dirent64=yes else @@ -5631,7 +5635,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5634: result: $cf_cv_struct_dirent64" >&5 +echo "$as_me:5638: result: $cf_cv_struct_dirent64" >&5 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF @@ -5640,7 +5644,7 @@ EOF fi -echo "$as_me:5643: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:5647: 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. @@ -5657,7 +5661,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:5660: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:5664: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case .$with_cflags in #(vi @@ -5751,23 +5755,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:5754: checking for dmalloc.h" >&5 + echo "$as_me:5758: 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 5760 "configure" +#line 5764 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:5764: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:5768: \"$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:5770: \$? = $ac_status" >&5 + echo "$as_me:5774: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5786,11 +5790,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:5789: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:5793: 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:5793: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:5797: 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 @@ -5798,7 +5802,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 5801 "configure" +#line 5805 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5817,16 +5821,16 @@ dmalloc_debug (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5820: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5824: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5823: \$? = $ac_status" >&5 + echo "$as_me:5827: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5826: \"$ac_try\"") >&5 + { (eval echo "$as_me:5830: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5829: \$? = $ac_status" >&5 + echo "$as_me:5833: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -5837,7 +5841,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5840: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:5844: 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:5859: 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. @@ -5869,7 +5873,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:5872: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:5876: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case .$with_cflags in #(vi @@ -5963,23 +5967,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:5966: checking for dbmalloc.h" >&5 + echo "$as_me:5970: 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 5972 "configure" +#line 5976 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:5976: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:5980: \"$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:5982: \$? = $ac_status" >&5 + echo "$as_me:5986: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5998,11 +6002,11 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6001: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:6005: 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:6005: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:6009: 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 @@ -6010,7 +6014,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 6013 "configure" +#line 6017 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -6029,16 +6033,16 @@ debug_malloc (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6032: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6036: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6035: \$? = $ac_status" >&5 + echo "$as_me:6039: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6038: \"$ac_try\"") >&5 + { (eval echo "$as_me:6042: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6041: \$? = $ac_status" >&5 + echo "$as_me:6045: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -6049,7 +6053,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:6052: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:6056: 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:6071: 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. @@ -6081,7 +6085,7 @@ EOF else with_valgrind= fi; -echo "$as_me:6084: result: ${with_valgrind:-no}" >&5 +echo "$as_me:6088: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case .$with_cflags in #(vi @@ -6174,7 +6178,7 @@ fi ;; esac -echo "$as_me:6177: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:6181: 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. @@ -6184,7 +6188,7 @@ if test "${enable_leaks+set}" = set; then else : ${with_no_leaks:=no} fi; -echo "$as_me:6187: result: $with_no_leaks" >&5 +echo "$as_me:6191: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$with_no_leaks" = yes ; then @@ -6199,7 +6203,7 @@ EOF fi -echo "$as_me:6202: checking if you want to enable debugging trace" >&5 +echo "$as_me:6206: 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. @@ -6216,7 +6220,7 @@ else with_trace=no fi; -echo "$as_me:6219: result: $with_trace" >&5 +echo "$as_me:6223: result: $with_trace" >&5 echo "${ECHO_T}$with_trace" >&6 if test "$with_trace" = "yes" then @@ -6238,23 +6242,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:6241: checking for stddef.h" >&5 + echo "$as_me:6245: 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 6247 "configure" +#line 6251 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6251: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:6255: \"$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:6257: \$? = $ac_status" >&5 + echo "$as_me:6261: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6273,21 +6277,21 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6276: result: $ac_cv_header_stddef_h" >&5 +echo "$as_me:6280: 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:6283: checking if size_t is declared in stddef.h" >&5 + echo "$as_me:6287: 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 6290 "configure" +#line 6294 "configure" #include "confdefs.h" #include int @@ -6299,16 +6303,16 @@ size_t *n } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6302: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6306: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6305: \$? = $ac_status" >&5 + echo "$as_me:6309: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6308: \"$ac_try\"") >&5 + { (eval echo "$as_me:6312: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6311: \$? = $ac_status" >&5 + echo "$as_me:6315: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_size_t_SIZE_T_STDDEF_H=yes else @@ -6318,7 +6322,7 @@ cf_cv_size_t_SIZE_T_STDDEF_H=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6321: result: $cf_cv_size_t_SIZE_T_STDDEF_H" >&5 +echo "$as_me:6325: result: $cf_cv_size_t_SIZE_T_STDDEF_H" >&5 echo "${ECHO_T}$cf_cv_size_t_SIZE_T_STDDEF_H" >&6 fi @@ -6340,23 +6344,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:6343: checking for sys/types.h" >&5 + echo "$as_me:6347: 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 6349 "configure" +#line 6353 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6353: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:6357: \"$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:6359: \$? = $ac_status" >&5 + echo "$as_me:6363: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6375,21 +6379,21 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6378: result: $ac_cv_header_sys_types_h" >&5 +echo "$as_me:6382: 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:6385: checking if size_t is declared in sys/types.h" >&5 + echo "$as_me:6389: 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 6392 "configure" +#line 6396 "configure" #include "confdefs.h" #include int @@ -6401,16 +6405,16 @@ size_t *n } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6404: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6408: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6407: \$? = $ac_status" >&5 + echo "$as_me:6411: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6410: \"$ac_try\"") >&5 + { (eval echo "$as_me:6414: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6413: \$? = $ac_status" >&5 + echo "$as_me:6417: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_size_t_SIZE_T_TYPES_H=yes else @@ -6420,7 +6424,7 @@ cf_cv_size_t_SIZE_T_TYPES_H=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6423: result: $cf_cv_size_t_SIZE_T_TYPES_H" >&5 +echo "$as_me:6427: result: $cf_cv_size_t_SIZE_T_TYPES_H" >&5 echo "${ECHO_T}$cf_cv_size_t_SIZE_T_TYPES_H" >&6 fi @@ -6436,14 +6440,14 @@ EOF fi fi -echo "$as_me:6439: checking for setlocale()" >&5 +echo "$as_me:6443: 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 6446 "configure" +#line 6450 "configure" #include "confdefs.h" #include int @@ -6455,16 +6459,16 @@ setlocale(LC_ALL, "") } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6458: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6462: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6461: \$? = $ac_status" >&5 + echo "$as_me:6465: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6464: \"$ac_try\"") >&5 + { (eval echo "$as_me:6468: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6467: \$? = $ac_status" >&5 + echo "$as_me:6471: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_locale=yes else @@ -6476,7 +6480,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:6479: result: $cf_cv_locale" >&5 +echo "$as_me:6483: result: $cf_cv_locale" >&5 echo "${ECHO_T}$cf_cv_locale" >&6 test $cf_cv_locale = yes && { cat >>confdefs.h <<\EOF @@ -6484,14 +6488,14 @@ cat >>confdefs.h <<\EOF EOF } -echo "$as_me:6487: checking if external environ is declared" >&5 +echo "$as_me:6491: 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 6494 "configure" +#line 6498 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -6507,16 +6511,16 @@ int x = (int) environ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6510: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6514: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6513: \$? = $ac_status" >&5 + echo "$as_me:6517: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6516: \"$ac_try\"") >&5 + { (eval echo "$as_me:6520: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6519: \$? = $ac_status" >&5 + echo "$as_me:6523: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_dcl_environ=yes else @@ -6527,7 +6531,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6530: result: $cf_cv_dcl_environ" >&5 +echo "$as_me:6534: result: $cf_cv_dcl_environ" >&5 echo "${ECHO_T}$cf_cv_dcl_environ" >&6 if test "$cf_cv_dcl_environ" = no ; then @@ -6542,14 +6546,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:6545: checking if external environ exists" >&5 +echo "$as_me:6549: 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 6552 "configure" +#line 6556 "configure" #include "confdefs.h" #undef environ @@ -6564,16 +6568,16 @@ environ = 2 } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6567: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6571: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6570: \$? = $ac_status" >&5 + echo "$as_me:6574: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6573: \"$ac_try\"") >&5 + { (eval echo "$as_me:6577: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6576: \$? = $ac_status" >&5 + echo "$as_me:6580: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_environ=yes else @@ -6584,7 +6588,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:6587: result: $cf_cv_have_environ" >&5 +echo "$as_me:6591: result: $cf_cv_have_environ" >&5 echo "${ECHO_T}$cf_cv_have_environ" >&6 if test "$cf_cv_have_environ" = yes ; then @@ -6600,13 +6604,13 @@ fi for ac_func in fork matherr mktime pipe strftime tdestroy tsearch wait do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:6603: checking for $ac_func" >&5 +echo "$as_me:6607: 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 6609 "configure" +#line 6613 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -6637,16 +6641,16 @@ f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6640: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6644: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6643: \$? = $ac_status" >&5 + echo "$as_me:6647: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6646: \"$ac_try\"") >&5 + { (eval echo "$as_me:6650: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6649: \$? = $ac_status" >&5 + echo "$as_me:6653: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -6656,7 +6660,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:6659: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:6663: 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:6684: 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 6686 "configure" +#line 6690 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:6690: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:6694: \"$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:6696: \$? = $ac_status" >&5 + echo "$as_me:6700: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6712,7 +6716,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6715: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:6719: 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:6729: 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 6736 "configure" +#include "confdefs.h" + +#include +int +main () +{ +int foo = _LIB_VERSION + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6749: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6752: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6755: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6758: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_get_math_lib_version=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +cf_cv_get_math_lib_version=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:6769: 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:6774: 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 6781 "configure" +#include "confdefs.h" + +#include +int +main () +{ +_LIB_VERSION = _IEEE_ + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:6794: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:6797: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:6800: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6803: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_set_math_lib_version=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +cf_cv_set_math_lib_version=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:6814: 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 + +cat >>confdefs.h <<\EOF +#define HAVE_MATH__LIB_VERSION 1 +EOF + + else + { echo "$as_me:6824: 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:6829: 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 6731 "configure" +#line 6835 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6735: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:6839: \"$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:6741: \$? = $ac_status" >&5 + echo "$as_me:6845: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6757,7 +6861,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6760: result: $ac_cv_header_limits_h" >&5 +echo "$as_me:6864: 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 @@ -6765,23 +6869,23 @@ fi if test "$cf_limits_h" = yes ; then : else -echo "$as_me:6768: checking for values.h" >&5 +echo "$as_me:6872: 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 6774 "configure" +#line 6878 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6778: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:6882: \"$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:6784: \$? = $ac_status" >&5 + echo "$as_me:6888: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6800,7 +6904,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:6803: result: $ac_cv_header_values_h" >&5 +echo "$as_me:6907: 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 @@ -6808,12 +6912,12 @@ fi if test "$cf_values_h" = yes ; then if test "$cross_compiling" = yes; then - { { echo "$as_me:6811: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:6915: 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 6816 "configure" +#line 6920 "configure" #include "confdefs.h" #include #include @@ -6836,22 +6940,22 @@ int main() _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:6839: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6943: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6842: \$? = $ac_status" >&5 + echo "$as_me:6946: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:6844: \"$ac_try\"") >&5 + { (eval echo "$as_me:6948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6847: \$? = $ac_status" >&5 + echo "$as_me:6951: \$? = $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:6854: error: C program to compute maxint and maxlong failed. +{ { echo "$as_me:6958: 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;} @@ -6863,12 +6967,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:6866: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:6970: 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 6871 "configure" +#line 6975 "configure" #include "confdefs.h" #include int main() @@ -6894,22 +6998,22 @@ int main() } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:6897: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7001: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6900: \$? = $ac_status" >&5 + echo "$as_me:7004: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:6902: \"$ac_try\"") >&5 + { (eval echo "$as_me:7006: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6905: \$? = $ac_status" >&5 + echo "$as_me:7009: \$? = $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:6912: error: C program to compute maxint and maxlong failed. +{ { echo "$as_me:7016: 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;} @@ -6933,13 +7037,13 @@ fi for ac_func in isnan sigaction do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:6936: checking for $ac_func" >&5 +echo "$as_me:7040: 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 6942 "configure" +#line 7046 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -6970,16 +7074,16 @@ f = $ac_func; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:6973: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7077: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6976: \$? = $ac_status" >&5 + echo "$as_me:7080: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:6979: \"$ac_try\"") >&5 + { (eval echo "$as_me:7083: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6982: \$? = $ac_status" >&5 + echo "$as_me:7086: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -6989,7 +7093,7 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:6992: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:7096: 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:7111: 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 7013 "configure" +#line 7117 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:7017: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7121: \"$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:7023: \$? = $ac_status" >&5 + echo "$as_me:7127: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7039,7 +7143,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7042: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:7146: 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:7158: 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 @@ -7064,16 +7168,16 @@ else fi fi -echo "$as_me:7067: result: $cf_cv_use_sv_siginfo" >&5 +echo "$as_me:7171: result: $cf_cv_use_sv_siginfo" >&5 echo "${ECHO_T}$cf_cv_use_sv_siginfo" >&6 -echo "$as_me:7070: checking return type of signal handlers" >&5 +echo "$as_me:7174: 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 7076 "configure" +#line 7180 "configure" #include "confdefs.h" #include #include @@ -7095,16 +7199,16 @@ int i; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7098: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7202: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7101: \$? = $ac_status" >&5 + echo "$as_me:7205: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7104: \"$ac_try\"") >&5 + { (eval echo "$as_me:7208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7107: \$? = $ac_status" >&5 + echo "$as_me:7211: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else @@ -7114,14 +7218,14 @@ ac_cv_type_signal=int fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7117: result: $ac_cv_type_signal" >&5 +echo "$as_me:7221: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <&5 +echo "$as_me:7228: 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 @@ -7131,7 +7235,7 @@ cf_cv_use_sa_sigaction=no if test "$ac_cv_func_sigaction" = yes then cat >conftest.$ac_ext <<_ACEOF -#line 7134 "configure" +#line 7238 "configure" #include "confdefs.h" #include int @@ -7146,16 +7250,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7149: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7253: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7152: \$? = $ac_status" >&5 + echo "$as_me:7256: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7155: \"$ac_try\"") >&5 + { (eval echo "$as_me:7259: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7158: \$? = $ac_status" >&5 + echo "$as_me:7262: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_use_sa_sigaction=yes else @@ -7166,7 +7270,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:7169: result: $cf_cv_use_sa_sigaction" >&5 +echo "$as_me:7273: result: $cf_cv_use_sa_sigaction" >&5 echo "${ECHO_T}$cf_cv_use_sa_sigaction" >&6 test "$cf_cv_use_sa_sigaction" = yes && @@ -7195,10 +7299,10 @@ CF_EOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:7198: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7302: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7201: \$? = $ac_status" >&5 + echo "$as_me:7305: \$? = $ac_status" >&5 (exit $ac_status); }; then echo "FPE_CHECK 1:check_fpe_traps" >&5 ./conftest 2>/dev/null @@ -7219,13 +7323,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:7222: checking for sigvec" >&5 + echo "$as_me:7326: 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 7228 "configure" +#line 7332 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigvec (); below. */ @@ -7256,16 +7360,16 @@ f = sigvec; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7259: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7363: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7262: \$? = $ac_status" >&5 + echo "$as_me:7366: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7265: \"$ac_try\"") >&5 + { (eval echo "$as_me:7369: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7268: \$? = $ac_status" >&5 + echo "$as_me:7372: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -7275,7 +7379,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7278: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:7382: 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 @@ -7295,23 +7399,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:7298: checking for ieeefp.h" >&5 + echo "$as_me:7402: 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 7304 "configure" +#line 7408 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:7308: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:7412: \"$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:7314: \$? = $ac_status" >&5 + echo "$as_me:7418: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -7330,19 +7434,19 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:7333: result: $ac_cv_header_ieeefp_h" >&5 +echo "$as_me:7437: 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:7339: checking for fpsetmask" >&5 + echo "$as_me:7443: 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 7345 "configure" +#line 7449 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fpsetmask (); below. */ @@ -7373,16 +7477,16 @@ f = fpsetmask; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7376: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7480: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7379: \$? = $ac_status" >&5 + echo "$as_me:7483: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7382: \"$ac_try\"") >&5 + { (eval echo "$as_me:7486: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7385: \$? = $ac_status" >&5 + echo "$as_me:7489: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fpsetmask=yes else @@ -7392,7 +7496,7 @@ ac_cv_func_fpsetmask=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7395: result: $ac_cv_func_fpsetmask" >&5 +echo "$as_me:7499: 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 @@ -7417,13 +7521,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:7420: checking for sigvec" >&5 + echo "$as_me:7524: 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 7426 "configure" +#line 7530 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigvec (); below. */ @@ -7454,16 +7558,16 @@ f = sigvec; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7457: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7561: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7460: \$? = $ac_status" >&5 + echo "$as_me:7564: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7463: \"$ac_try\"") >&5 + { (eval echo "$as_me:7567: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7466: \$? = $ac_status" >&5 + echo "$as_me:7570: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -7473,7 +7577,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7476: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:7580: 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 @@ -7492,7 +7596,7 @@ EOF fi # look for strtod overflow bug - echo "$as_me:7495: checking strtod bug on overflow" >&5 + echo "$as_me:7599: checking strtod bug on overflow" >&5 echo $ECHO_N "checking strtod bug on overflow... $ECHO_C" >&6 rm -f conftest$ac_exeext @@ -7502,18 +7606,18 @@ echo $ECHO_N "checking strtod bug on overflow... $ECHO_C" >&6 #include <$cf_FPE_SRCS> CF_EOF - if { (eval echo "$as_me:7505: \"$ac_link\"") >&5 + if { (eval echo "$as_me:7609: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7508: \$? = $ac_status" >&5 + echo "$as_me:7612: \$? = $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:7513: result: no bug" >&5 + echo "$as_me:7617: result: no bug" >&5 echo "${ECHO_T}no bug" >&6 else - echo "$as_me:7516: result: buggy -- will use work around" >&5 + echo "$as_me:7620: result: buggy -- will use work around" >&5 echo "${ECHO_T}buggy -- will use work around" >&6 cat >>confdefs.h <&5 + echo "$as_me:7629: result: $cf_FPE_SRCS failed to compile" >&5 echo "${ECHO_T}$cf_FPE_SRCS failed to compile" >&6 fi else @@ -7533,13 +7637,13 @@ EOF if test "x$cf_cv_use_sv_siginfo" = "xno" then - echo "$as_me:7536: checking for sigvec" >&5 + echo "$as_me:7640: 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 7542 "configure" +#line 7646 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigvec (); below. */ @@ -7570,16 +7674,16 @@ f = sigvec; /* workaround for ICC 12.0.3 */ if (f == 0) return 1; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7573: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7677: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7576: \$? = $ac_status" >&5 + echo "$as_me:7680: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7579: \"$ac_try\"") >&5 + { (eval echo "$as_me:7683: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7582: \$? = $ac_status" >&5 + echo "$as_me:7686: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_sigvec=yes else @@ -7589,7 +7693,7 @@ ac_cv_func_sigvec=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7592: result: $ac_cv_func_sigvec" >&5 +echo "$as_me:7696: 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 @@ -7744,7 +7848,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:7747: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:7851: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -7917,7 +8021,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:7920: error: ambiguous option: $1 + { { echo "$as_me:8024: 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;} @@ -7936,7 +8040,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:7939: error: unrecognized option: $1 + -*) { { echo "$as_me:8043: 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;} @@ -7973,7 +8077,7 @@ do # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_h.in" ;; - *) { { echo "$as_me:7976: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:8080: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -8213,7 +8317,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:8216: creating $ac_file" >&5 + { echo "$as_me:8320: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -8231,7 +8335,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:8234: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8338: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -8244,7 +8348,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:8247: error: cannot find input file: $f" >&5 + { { echo "$as_me:8351: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8260,7 +8364,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:8263: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:8367: 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;} @@ -8269,7 +8373,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' $ac_item` if test -n "$ac_seen"; then - { echo "$as_me:8272: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:8376: 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;} @@ -8306,7 +8410,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:8309: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:8413: 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;} @@ -8317,7 +8421,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:8320: WARNING: Some variables may not be substituted: + { echo "$as_me:8424: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -8366,7 +8470,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:8369: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:8473: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -8377,7 +8481,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:8380: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8484: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -8390,7 +8494,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:8393: error: cannot find input file: $f" >&5 + { { echo "$as_me:8497: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8508,7 +8612,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:8511: $ac_file is unchanged" >&5 + { echo "$as_me:8615: $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 b6ac74e..ae75c93 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ -dnl $MawkId: configure.in,v 1.49 2012/12/09 14:14:09 tom Exp $ +dnl $MawkId: configure.in,v 1.50 2013/12/27 00:45:25 tom Exp $ dnl configure.in for mawk dnl ########################################################################### dnl configure.in -dnl copyright 2008-2010,2012, Thomas E. Dickey +dnl copyright 2008-2012,2013, Thomas E. Dickey dnl copyright 1991-1994,1995, Michael D. Brennan dnl dnl This is a source file for mawk, an implementation of @@ -132,6 +132,7 @@ CF_LOCALE CF_CHECK_ENVIRON(environ) AC_CHECK_FUNCS(fork matherr mktime pipe strftime tdestroy tsearch wait) + test "$ac_cv_func_fork" = yes && \ test "$ac_cv_func_pipe" = yes && \ test "$ac_cv_func_wait" = yes && \ @@ -139,6 +140,8 @@ AC_DEFINE(HAVE_REAL_PIPES,1,[Define to 1 if we have functions needed to setup Un AC_CHECK_HEADERS(errno.h fcntl.h unistd.h sys/wait.h) +CF_SET_MATH_LIB_VERSION CF_MAWK_FIND_MAX_INT CF_MAWK_RUN_FPE_TESTS + AC_OUTPUT(Makefile) diff --git a/fcall.c b/fcall.c index c64c777..04b1a86 100644 --- a/fcall.c +++ b/fcall.c @@ -1,6 +1,6 @@ /******************************************** fcall.c -copyright 2009,2010, Thomas E. Dickey +copyright 2009-2010,2012 Thomas E. Dickey copyright 1991-1993,1995, 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: fcall.c,v 1.9 2012/11/26 11:58:27 tom Exp $ + * $MawkId: fcall.c,v 1.10 2012/11/26 11:58:27 tom Exp $ * @Log: fcall.c,v @ * Revision 1.7 1995/08/27 15:46:47 mike * change some errmsgs to compile_errors diff --git a/field.c b/field.c index 252dbdf..a927919 100644 --- a/field.c +++ b/field.c @@ -1,6 +1,6 @@ /******************************************** field.c -copyright 2008-2010, Thomas E. Dickey +copyright 2008-2010,2012 Thomas E. Dickey copyright 1991-1995, 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.26 2012/12/08 00:01:22 tom Exp $ + * $MawkId: field.c,v 1.27 2012/12/08 00:01:22 tom Exp $ * @Log: field.c,v @ * Revision 1.5 1995/06/18 19:17:47 mike * Create a type Int which on most machines is an int, but on machines diff --git a/fpe_check.c b/fpe_check.c index 04c9cea..7124ee5 100644 --- a/fpe_check.c +++ b/fpe_check.c @@ -1,6 +1,6 @@ /******************************************** fpe_check.c -copyright 2008-2009, Thomas E. Dickey +copyright 2008-2010,2013 Thomas E. Dickey copyright 1996, Michael D. Brennan This is a source file for mawk, an implementation of @@ -15,7 +15,7 @@ the GNU General Public License, version 2, 1991. */ /* - * $MawkId: fpe_check.c,v 1.14 2010/12/10 17:00:00 tom Exp $ + * $MawkId: fpe_check.c,v 1.16 2013/12/27 00:44:59 tom Exp $ * @Log: fpe_check.c,v @ * Revision 1.7 1996/08/30 00:07:14 mike * Modifications to the test and implementation of the bug fix for @@ -57,14 +57,6 @@ the GNU General Public License, version 2, 1991. #define FPE_DECL /* nothing */ #endif -/* Sets up NetBSD 1.0A for ieee floating point */ -#if defined(_LIB_VERSION_TYPE) && defined(_LIB_VERSION) && defined(_IEEE_) -#ifdef _CONST -_CONST /* needed for cygwin */ -#endif -_LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; -#endif - static void message(const char *s) { @@ -196,6 +188,9 @@ get_fpe_codes(void) int main(int argc, char *argv[]) { +#ifdef HAVE_MATH__LIB_VERSION + _LIB_VERSION = _IEEE_; +#endif catch_FPEs(); switch (argc) { diff --git a/jmp.h b/jmp.h index 0be16ca..a841261 100644 --- a/jmp.h +++ b/jmp.h @@ -1,6 +1,6 @@ /******************************************** jmp.h -copyright 2009, Thomas E. Dickey +copyright 2009,2010 Thomas E. Dickey copyright 1991, 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: jmp.h,v 1.4 2010/12/10 17:00:00 tom Exp $ + * $MawkId: jmp.h,v 1.5 2010/12/10 17:00:00 tom Exp $ * @Log: jmp.h,v @ * Revision 1.2 1995/04/21 14:20:19 mike * move_level variable to fix bug in arglist patching of moved code. diff --git a/main.c b/main.c index 8746701..9a32c7b 100644 --- a/main.c +++ b/main.c @@ -1,6 +1,6 @@ /******************************************** main.c -copyright 2009-2010,2012 Thomas E. Dickey +copyright 2009-2012,2013 Thomas E. Dickey copyright 1991-1993,1995, 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: main.c,v 1.28 2013/08/03 13:04:15 tom Exp $ + * $MawkId: main.c,v 1.29 2013/08/03 13:04:15 tom Exp $ * @Log: main.c,v @ * Revision 1.4 1995/06/09 22:57:19 mike * parse() no longer returns on error diff --git a/matherr.c b/matherr.c index 2f8a87f..dad5980 100644 --- a/matherr.c +++ b/matherr.c @@ -1,6 +1,6 @@ /******************************************** matherr.c -copyright 2009-2010,2012 Thomas E. Dickey +copyright 2009-2012,2013 Thomas E. Dickey copyright 1991, 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: matherr.c,v 1.26 2012/12/10 00:24:17 tom Exp $ + * $MawkId: matherr.c,v 1.27 2013/12/27 00:45:11 tom Exp $ * * @Log: matherr.c,v @ * Revision 1.9 1996/09/01 16:54:35 mike @@ -64,14 +64,6 @@ static fp_except working_mask; #endif #endif -/* Sets up NetBSD 1.0A for ieee floating point */ -#if defined(_LIB_VERSION_TYPE) && defined(_LIB_VERSION) && defined(_IEEE_) && !defined(__CYGWIN__) -#ifdef _CONST -_CONST /* needed for cygwin */ -#endif -_LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; -#endif - #ifndef TURN_OFF_FPE_TRAPS #define TURN_OFF_FPE_TRAPS /* nothing */ #endif @@ -134,6 +126,9 @@ fpe_catch(FPE_ARGS) void fpe_init(void) { +#ifdef HAVE_MATH__LIB_VERSION + _LIB_VERSION = _IEEE_; +#endif TURN_ON_FPE_TRAPS; #ifdef HAVE_SIGACTION_SA_SIGACTION diff --git a/mawk.h b/mawk.h index 7aa7790..4ca7a35 100644 --- a/mawk.h +++ b/mawk.h @@ -1,6 +1,6 @@ /******************************************** mawk.h -copyright 2008-2010,2012 Thomas E. Dickey +copyright 2008-2012,2013 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.43 2013/08/03 13:04:24 tom Exp $ + * $MawkId: mawk.h,v 1.44 2013/08/03 13:04:24 tom Exp $ * @Log: mawk.h,v @ * Revision 1.10 1996/08/25 19:31:04 mike * Added work-around for solaris strtod overflow bug. diff --git a/package/debian/changelog b/package/debian/changelog index 04b7a39..a6b42d8 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,9 @@ +mawk-cur (1.3.4-20131226) unstable; urgency=low + + * configure-script updates + + -- Thomas E. Dickey Thu, 26 Dec 2013 18:04:43 -0500 + mawk-cur (1.3.4-20130803) unstable; urgency=low * miscelleneous bug-fixes diff --git a/package/mawk.spec b/package/mawk.spec index 6c056f4..6b9b275 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 20130803 -# $MawkId: mawk.spec,v 1.25 2013/08/03 14:02:25 tom Exp $ +%define AppRelease 20131226 +# $MawkId: mawk.spec,v 1.26 2013/12/26 23:04:18 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: %{AppRelease} diff --git a/patchlev.h b/patchlev.h index 9f5eff5..a88ab29 100644 --- a/patchlev.h +++ b/patchlev.h @@ -1,6 +1,6 @@ /* patchlev.h -copyright 2009-2010,2012, Thomas E. Dickey +copyright 2009-2012,2013, Thomas E. Dickey copyright 1996, Michael D. Brennan This is a source file for mawk, an implementation of @@ -11,9 +11,9 @@ the GNU General Public License, version 2, 1991. */ /* - * $MawkId: patchlev.h,v 1.48 2013/08/03 13:30:21 tom Exp $ + * $MawkId: patchlev.h,v 1.49 2013/08/03 13:30:21 tom Exp $ */ #define PATCH_BASE 1 #define PATCH_LEVEL 3 #define PATCH_STRING ".4" -#define DATE_STRING "20130803" +#define DATE_STRING "20131226" diff --git a/rexp3.c b/rexp3.c index 53cf81a..492c64a 100644 --- a/rexp3.c +++ b/rexp3.c @@ -1,6 +1,6 @@ /******************************************** rexp3.c -copyright 2008-2009,2010, Thomas E. Dickey +copyright 2008-2010,2013, 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.28 2013/08/03 14:04:00 tom Exp $ + * $MawkId: rexp3.c,v 1.29 2013/08/03 14:04:00 tom Exp $ * @Log: rexp3.c,v @ * Revision 1.3 1993/07/24 17:55:15 mike * more cleanup diff --git a/rexp4.c b/rexp4.c index 413f3ce..25ccca9 100644 --- a/rexp4.c +++ b/rexp4.c @@ -1,6 +1,6 @@ /* regexp_system.c -copyright 2009, Thomas E. Dickey +copyright 2009,2010 Thomas E. Dickey copyright 2005, Aleksey Cheusov This is a source file for mawk, an implementation of @@ -11,7 +11,7 @@ the GNU General Public License, version 2, 1991. */ /* - * $MawkId: rexp4.c,v 1.6 2010/12/10 17:00:00 tom Exp $ + * $MawkId: rexp4.c,v 1.7 2010/12/10 17:00:00 tom Exp $ */ #include "mawk.h" #include "rexp.h" diff --git a/types.h b/types.h index ed5d87e..f4130f7 100644 --- a/types.h +++ b/types.h @@ -1,6 +1,6 @@ /******************************************** types.h -copyright 2009,2010, Thomas E. Dickey +copyright 2009-2010,2012 Thomas E. Dickey copyright 1991,1993, 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: types.h,v 1.10 2012/12/07 11:50:12 tom Exp $ + * $MawkId: types.h,v 1.11 2012/12/07 11:50:12 tom Exp $ * @Log: types.h,v @ * Revision 1.3 1993/07/15 23:56:18 mike * general cleanup