diff --git a/CHANGES b/CHANGES index ed532f5..728fb55 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,29 @@ +2025-10-07 Thomas E. Dickey + + * main.c, closure.c, graph.c, lalr.c, lr0.c, mkpar.c, output.c, + reader.c, verbose.c, warshall.c: + cppcheck + + * package/debian/copyright, VERSION, package/byacc.spec, + package/debian/changelog, package/mingw-byacc.spec, + package/pkgsrc/Makefile: + bump + + * configure: regen + + * aclocal.m4: resync with my-autoconf + use CF_PROG_INSTALL + + * configure.in: use CF_PROG_INSTALL + +2025-07-09 Thomas E. Dickey + + * config.guess, config.sub: update to 2025-07-10 + +2025-06-08 Thomas E. Dickey + + * install-sh: fix license + 2024-12-31 Thomas E. Dickey * package/pkgsrc/distinfo: regen diff --git a/MANIFEST b/MANIFEST index bd0cd39..e4eeb89 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,4 +1,4 @@ -MANIFEST for byacc, version t20241231 +MANIFEST for byacc, version t20251007 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 diff --git a/VERSION b/VERSION index adb1f5f..6a36bef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -20241231 +20251007 diff --git a/aclocal.m4 b/aclocal.m4 index 5c83bbd..acf4b7c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,7 +1,7 @@ -dnl $Id: aclocal.m4,v 1.67 2024/12/21 13:44:12 tom Exp $ +dnl $Id: aclocal.m4,v 1.68 2025/10/07 23:55:39 tom Exp $ dnl Macros for byacc configure script (Thomas E. Dickey) dnl --------------------------------------------------------------------------- -dnl Copyright 2004-2022,2023 Thomas E. Dickey +dnl Copyright 2004-2024,2025 Thomas E. Dickey dnl dnl Permission is hereby granted, free of charge, to any person obtaining a dnl copy of this software and associated documentation files (the @@ -184,7 +184,7 @@ dnl Allow user to enable a normally-off option. AC_DEFUN([CF_ARG_ENABLE], [CF_ARG_OPTION($1,[$2],[$3],[$4],no)])dnl dnl --------------------------------------------------------------------------- -dnl CF_ARG_OPTION version: 5 updated: 2015/05/10 19:52:14 +dnl CF_ARG_OPTION version: 6 updated: 2025/08/05 04:09:09 dnl ------------- dnl Restricted form of AC_ARG_ENABLE that ensures user doesn't give bogus dnl values. @@ -193,7 +193,7 @@ dnl Parameters: dnl $1 = option name dnl $2 = help-string dnl $3 = action to perform if option is not default -dnl $4 = action if perform if option is default +dnl $4 = action to perform if option is default dnl $5 = default option value (either 'yes' or 'no') AC_DEFUN([CF_ARG_OPTION], [AC_ARG_ENABLE([$1],[$2],[test "$enableval" != ifelse([$5],no,yes,no) && enableval=ifelse([$5],no,no,yes) @@ -473,6 +473,11 @@ esac ]) ])dnl dnl --------------------------------------------------------------------------- +dnl CF_DIRNAME version: 5 updated: 2020/12/31 20:19:42 +dnl ---------- +dnl "dirname" is not portable, so we fake it with a shell script. +AC_DEFUN([CF_DIRNAME],[$1=`echo "$2" | sed -e 's%/[[^/]]*$%%'`])dnl +dnl --------------------------------------------------------------------------- dnl CF_DISABLE_ECHO version: 14 updated: 2021/09/04 06:35:04 dnl --------------- dnl You can always use "make -n" to see the actual options, but it is hard to @@ -1785,6 +1790,34 @@ AC_SUBST(GROFF_NOTE) AC_SUBST(NROFF_NOTE) ])dnl dnl --------------------------------------------------------------------------- +dnl CF_PROG_INSTALL version: 12 updated: 2025/09/28 16:56:33 +dnl --------------- +dnl Force $INSTALL to be an absolute-path. Otherwise, edit_man.sh and the +dnl misc/tabset install won't work properly. Usually this happens only when +dnl using the fallback mkinstalldirs script +AC_DEFUN([CF_PROG_INSTALL], +[AC_PROG_INSTALL +AC_REQUIRE([CF_GLOB_FULLPATH])dnl +if test "x$INSTALL" = "x./install-sh -c"; then + if test -f /usr/sbin/install ; then + case "$host_os" in + (linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnuabielfv*|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) + INSTALL=/usr/sbin/install + ;; + esac + fi +fi +case x$INSTALL in +(x$GLOB_FULLPATH_POSIX|x$GLOB_FULLPATH_OTHER) + ;; +(*) + CF_DIRNAME(cf_dir,$INSTALL) + test -z "$cf_dir" && cf_dir=. + INSTALL="`cd \"$cf_dir\" && pwd`"/"`echo "$INSTALL" | sed -e 's%^.*/%%'`" + ;; +esac +])dnl +dnl --------------------------------------------------------------------------- dnl CF_PROG_LINT version: 7 updated: 2024/11/30 14:37:45 dnl ------------ AC_DEFUN([CF_PROG_LINT], @@ -2125,7 +2158,7 @@ CF_NO_LEAKS_OPTION(valgrind, [USE_VALGRIND]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_XOPEN_SOURCE version: 68 updated: 2024/11/09 18:07:29 +dnl CF_XOPEN_SOURCE version: 69 updated: 2025/07/26 14:09:49 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, @@ -2185,7 +2218,7 @@ case "$host_os" in cf_xopen_source="-D_SGI_SOURCE" cf_XOPEN_SOURCE= ;; -(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) +(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnuabielfv*|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) CF_GNU_SOURCE($cf_XOPEN_SOURCE) ;; linux*musl) diff --git a/closure.c b/closure.c index 53a81e4..136c1ca 100644 --- a/closure.c +++ b/closure.c @@ -1,4 +1,4 @@ -/* $Id: closure.c,v 1.14 2022/01/09 16:22:58 tom Exp $ */ +/* $Id: closure.c,v 1.15 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -30,7 +30,7 @@ set_EFF(void) row = EFF; for (i = start_symbol; i < nsyms; i++) { - Value_t *sp = derives[i]; + const Value_t *sp = derives[i]; for (rule = *sp; rule > 0; rule = *++sp) { symbol = ritem[rrhs[rule]]; @@ -56,7 +56,7 @@ set_first_derives(void) unsigned *rrow; int j; unsigned cword = 0; - Value_t *rp; + const Value_t *rp; int rule; int i; @@ -72,7 +72,7 @@ set_first_derives(void) rrow = first_derives; for (i = start_symbol; i < nsyms; i++) { - unsigned *vrow = EFF + ((i - ntokens) * varsetsize); + const unsigned *vrow = EFF + ((i - ntokens) * varsetsize); unsigned k = BITS_PER_WORD; for (j = start_symbol; j < nsyms; k++, j++) @@ -109,12 +109,12 @@ closure(Value_t *nucleus, int n) unsigned ruleno; unsigned i; Value_t *csp; - unsigned *dsp; + const unsigned *dsp; unsigned *rsp; int rulesetsize; - Value_t *csend; - unsigned *rsend; + const Value_t *csend; + const unsigned *rsend; Value_t itemno; rulesetsize = WORDSIZE(nrules); diff --git a/config.guess b/config.guess index 48a6846..a9d01fd 100755 --- a/config.guess +++ b/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2024 Free Software Foundation, Inc. +# Copyright 1992-2025 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2024-07-27' +timestamp='2025-07-10' # 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 @@ -60,7 +60,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2024 Free Software Foundation, Inc. +Copyright 1992-2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -1597,8 +1597,11 @@ EOF *:Unleashed:*:*) GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE ;; - *:Ironclad:*:*) - GUESS=$UNAME_MACHINE-unknown-ironclad + x86_64:[Ii]ronclad:*:*|i?86:[Ii]ronclad:*:*) + GUESS=$UNAME_MACHINE-pc-ironclad-mlibc + ;; + *:[Ii]ronclad:*:*) + GUESS=$UNAME_MACHINE-unknown-ironclad-mlibc ;; esac @@ -1808,8 +1811,8 @@ fi exit 1 # Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-format: "%Y-%02m-%02d" # time-stamp-end: "'" # End: diff --git a/config.sub b/config.sub index 4aaae46..3d35cde 100755 --- a/config.sub +++ b/config.sub @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2024 Free Software Foundation, Inc. +# Copyright 1992-2025 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale -timestamp='2024-05-27' +timestamp='2025-07-10' # 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 @@ -76,7 +76,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright 1992-2024 Free Software Foundation, Inc. +Copyright 1992-2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -145,6 +145,7 @@ case $1 in | kfreebsd*-gnu* \ | knetbsd*-gnu* \ | kopensolaris*-gnu* \ + | ironclad-* \ | linux-* \ | managarm-* \ | netbsd*-eabi* \ @@ -242,7 +243,6 @@ case $1 in | rombug \ | semi \ | sequent* \ - | siemens \ | sgi* \ | siemens \ | sim \ @@ -261,7 +261,7 @@ case $1 in basic_machine=$field1-$field2 basic_os= ;; - zephyr*) + tock* | zephyr*) basic_machine=$field1-unknown basic_os=$field2 ;; @@ -1194,7 +1194,7 @@ case $cpu-$vendor in xscale-* | xscalee[bl]-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-* | aarch64le-*) + arm64-* | aarch64le-* | arm64_32-*) cpu=aarch64 ;; @@ -1321,6 +1321,7 @@ case $cpu-$vendor in | i960 \ | ia16 \ | ia64 \ + | intelgt \ | ip2k \ | iq2000 \ | javascript \ @@ -1522,6 +1523,10 @@ EOF kernel=nto os=`echo "$basic_os" | sed -e 's|nto|qnx|'` ;; + ironclad*) + kernel=ironclad + os=`echo "$basic_os" | sed -e 's|ironclad|mlibc|'` + ;; linux*) kernel=linux os=`echo "$basic_os" | sed -e 's|linux|gnu|'` @@ -1976,6 +1981,7 @@ case $os in | atheos* \ | auroraux* \ | aux* \ + | banan_os* \ | beos* \ | bitrig* \ | bme* \ @@ -2022,7 +2028,6 @@ case $os in | ios* \ | iris* \ | irix* \ - | ironclad* \ | isc* \ | its* \ | l4re* \ @@ -2118,6 +2123,7 @@ case $os in | sysv* \ | tenex* \ | tirtos* \ + | tock* \ | toppers* \ | tops10* \ | tops20* \ @@ -2214,6 +2220,8 @@ case $kernel-$os-$obj in ;; uclinux-uclibc*- | uclinux-gnu*- ) ;; + ironclad-mlibc*-) + ;; managarm-mlibc*- | managarm-kernel*- ) ;; windows*-msvc*-) @@ -2249,6 +2257,8 @@ case $kernel-$os-$obj in ;; *-eabi*- | *-gnueabi*-) ;; + ios*-simulator- | tvos*-simulator- | watchos*-simulator- ) + ;; none--*) # None (no kernel, i.e. freestanding / bare metal), # can be paired with an machine code file format @@ -2347,8 +2357,8 @@ echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}" exit # Local variables: -# eval: (add-hook 'before-save-hook 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-format: "%Y-%02m-%02d" # time-stamp-end: "'" # End: diff --git a/configure b/configure index da9a5c5..38be23f 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.in Revision: 1.29 . +# From configure.in Revision: 1.30 . # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52.20240618. +# Generated by Autoconf 2.52.20250126. # # Copyright 2003-2022,2023 Thomas E. Dickey # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 @@ -705,6 +705,7 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-system-type=XXX test: override derived host system-type --with-max-table-size=N set the maximum table size = N (no default) --disable-btyacc disable support for the btyacc backtracking extension (default: enabled) @@ -719,7 +720,6 @@ Optional Features: BSDI/normal and optionally formatted/catonly, e.g., gzip,formatted --with-man2html[=XXX] use XXX rather than groff - --with-system-type=XXX test: override derived host system-type Some influential environment variables: CC C compiler command @@ -790,7 +790,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.52.20240618. Invocation command line was +generated by GNU Autoconf 2.52.20250126. Invocation command line was $ $0 $@ @@ -2440,6 +2440,59 @@ echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi +if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then + + system_name="$host_os" +else + system_name="`(uname -s -r) 2>/dev/null`" + if test -z "$system_name" ; then + system_name="`(hostname) 2>/dev/null`" + fi +fi +test -n "$system_name" && +cat >>confdefs.h <&6 +else + cf_cv_system_name="$system_name" +fi + +test -z "$system_name" && system_name="$cf_cv_system_name" +test -n "$cf_cv_system_name" && echo "$as_me:2464: result: Configuring for $cf_cv_system_name" >&5 +echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 + +if test ".$system_name" != ".$cf_cv_system_name" ; then + echo "$as_me:2468: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 +echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 + { { echo "$as_me:2470: error: \"Please remove config.cache and try again.\"" >&5 +echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} + { (exit 1); exit 1; }; } +fi + +# Check whether --with-system-type or --without-system-type was given. +if test "${with_system_type+set}" = set; then + withval="$with_system_type" + { echo "$as_me:2478: WARNING: overriding system type to $withval" >&5 +echo "$as_me: WARNING: overriding system type to $withval" >&2;} + cf_cv_system_name=$withval + host_os=$withval + +fi; + +case "$cf_cv_system_name" in +(cygwin*|msys*|mingw32*|mingw64|os2*) + GLOB_FULLPATH_POSIX='/*' + GLOB_FULLPATH_OTHER='[a-zA-Z]:[\\/]*' + ;; +(*) + GLOB_FULLPATH_POSIX='/*' + GLOB_FULLPATH_OTHER=$GLOB_FULLPATH_POSIX + ;; +esac + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -2452,7 +2505,7 @@ fi # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:2455: checking for a BSD compatible install" >&5 +echo "$as_me:2508: checking for a BSD compatible install" >&5 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then @@ -2501,7 +2554,7 @@ fi INSTALL=$ac_install_sh fi fi -echo "$as_me:2504: result: $INSTALL" >&5 +echo "$as_me:2557: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2512,7 +2565,26 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "$as_me:2515: checking if filesystem supports mixed-case filenames" >&5 +if test "x$INSTALL" = "x./install-sh -c"; then + if test -f /usr/sbin/install ; then + case "$host_os" in + (linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnuabielfv*|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) + INSTALL=/usr/sbin/install + ;; + esac + fi +fi +case x$INSTALL in +(x$GLOB_FULLPATH_POSIX|x$GLOB_FULLPATH_OTHER) + ;; +(*) + cf_dir=`echo "$INSTALL" | sed -e 's%/[^/]*$%%'` + test -z "$cf_dir" && cf_dir=. + INSTALL="`cd \"$cf_dir\" && pwd`"/"`echo "$INSTALL" | sed -e 's%^.*/%%'`" + ;; +esac + +echo "$as_me:2587: 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 @@ -2539,7 +2611,7 @@ else fi fi -echo "$as_me:2542: result: $cf_cv_mixedcase" >&5 +echo "$as_me:2614: result: $cf_cv_mixedcase" >&5 echo "${ECHO_T}$cf_cv_mixedcase" >&6 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF @@ -2550,7 +2622,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:2553: checking for $ac_word" >&5 +echo "$as_me:2625: 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 @@ -2565,7 +2637,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:2568: found $ac_dir/$ac_word" >&5 +echo "$as_me:2640: found $ac_dir/$ac_word" >&5 break done @@ -2573,10 +2645,10 @@ fi fi CTAGS=$ac_cv_prog_CTAGS if test -n "$CTAGS"; then - echo "$as_me:2576: result: $CTAGS" >&5 + echo "$as_me:2648: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else - echo "$as_me:2579: result: no" >&5 + echo "$as_me:2651: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2587,7 +2659,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:2590: checking for $ac_word" >&5 +echo "$as_me:2662: 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 @@ -2602,7 +2674,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:2605: found $ac_dir/$ac_word" >&5 +echo "$as_me:2677: found $ac_dir/$ac_word" >&5 break done @@ -2610,10 +2682,10 @@ fi fi ETAGS=$ac_cv_prog_ETAGS if test -n "$ETAGS"; then - echo "$as_me:2613: result: $ETAGS" >&5 + echo "$as_me:2685: result: $ETAGS" >&5 echo "${ECHO_T}$ETAGS" >&6 else - echo "$as_me:2616: result: no" >&5 + echo "$as_me:2688: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2622,7 +2694,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:2625: checking for $ac_word" >&5 +echo "$as_me:2697: 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 @@ -2637,7 +2709,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:2640: found $ac_dir/$ac_word" >&5 +echo "$as_me:2712: found $ac_dir/$ac_word" >&5 break done @@ -2646,17 +2718,17 @@ fi fi MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS if test -n "$MAKE_LOWER_TAGS"; then - echo "$as_me:2649: result: $MAKE_LOWER_TAGS" >&5 + echo "$as_me:2721: result: $MAKE_LOWER_TAGS" >&5 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 else - echo "$as_me:2652: result: no" >&5 + echo "$as_me:2724: 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:2659: checking for $ac_word" >&5 +echo "$as_me:2731: 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 @@ -2671,7 +2743,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:2674: found $ac_dir/$ac_word" >&5 +echo "$as_me:2746: found $ac_dir/$ac_word" >&5 break done @@ -2680,10 +2752,10 @@ fi fi MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS if test -n "$MAKE_UPPER_TAGS"; then - echo "$as_me:2683: result: $MAKE_UPPER_TAGS" >&5 + echo "$as_me:2755: result: $MAKE_UPPER_TAGS" >&5 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 else - echo "$as_me:2686: result: no" >&5 + echo "$as_me:2758: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2707,7 +2779,7 @@ for ac_prog in mawk gawk nawk awk 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:2710: checking for $ac_word" >&5 +echo "$as_me:2782: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2722,7 +2794,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_AWK="$ac_prog" -echo "$as_me:2725: found $ac_dir/$ac_word" >&5 +echo "$as_me:2797: found $ac_dir/$ac_word" >&5 break done @@ -2730,17 +2802,17 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - echo "$as_me:2733: result: $AWK" >&5 + echo "$as_me:2805: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else - echo "$as_me:2736: result: no" >&5 + echo "$as_me:2808: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done -test -z "$AWK" && { { echo "$as_me:2743: error: No awk program found" >&5 +test -z "$AWK" && { { echo "$as_me:2815: error: No awk program found" >&5 echo "$as_me: error: No awk program found" >&2;} { (exit 1); exit 1; }; } @@ -2748,7 +2820,7 @@ for ac_prog in lint cppcheck splint do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:2751: checking for $ac_word" >&5 +echo "$as_me:2823: 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 @@ -2763,7 +2835,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:2766: found $ac_dir/$ac_word" >&5 +echo "$as_me:2838: found $ac_dir/$ac_word" >&5 break done @@ -2771,10 +2843,10 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:2774: result: $LINT" >&5 + echo "$as_me:2846: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:2777: result: no" >&5 + echo "$as_me:2849: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2790,14 +2862,14 @@ case "x$LINT" in ;; esac -echo "$as_me:2793: checking if the POSIX test-macros are already defined" >&5 +echo "$as_me:2865: checking if the POSIX test-macros are already defined" >&5 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 if test "${cf_cv_posix_visible+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 2800 "configure" +#line 2872 "configure" #include "confdefs.h" #include int @@ -2816,16 +2888,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2891: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2822: \$? = $ac_status" >&5 + echo "$as_me:2894: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2825: \"$ac_try\"") >&5 + { (eval echo "$as_me:2897: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2828: \$? = $ac_status" >&5 + echo "$as_me:2900: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_visible=no else @@ -2836,7 +2908,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:2839: result: $cf_cv_posix_visible" >&5 +echo "$as_me:2911: result: $cf_cv_posix_visible" >&5 echo "${ECHO_T}$cf_cv_posix_visible" >&6 if test "$cf_cv_posix_visible" = no; then @@ -2874,18 +2946,18 @@ case "$host_os" in cf_xopen_source="-D_SGI_SOURCE" cf_XOPEN_SOURCE= ;; -(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) +(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnuabielfv*|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc) cf_gnu_xopen_source=$cf_XOPEN_SOURCE -echo "$as_me:2881: checking if this is the GNU C library" >&5 +echo "$as_me:2953: checking if this is the GNU C library" >&5 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 if test "${cf_cv_gnu_library+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 2888 "configure" +#line 2960 "configure" #include "confdefs.h" #include int @@ -2904,16 +2976,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2907: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2979: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2910: \$? = $ac_status" >&5 + echo "$as_me:2982: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2913: \"$ac_try\"") >&5 + { (eval echo "$as_me:2985: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2916: \$? = $ac_status" >&5 + echo "$as_me:2988: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_library=yes else @@ -2924,7 +2996,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:2927: result: $cf_cv_gnu_library" >&5 +echo "$as_me:2999: result: $cf_cv_gnu_library" >&5 echo "${ECHO_T}$cf_cv_gnu_library" >&6 if test x$cf_cv_gnu_library = xyes; then @@ -2932,7 +3004,7 @@ if test x$cf_cv_gnu_library = xyes; then # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE # was changed to help a little. newlib incorporated the change about 4 # years later. - echo "$as_me:2935: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo "$as_me:3007: checking if _DEFAULT_SOURCE can be used as a basis" >&5 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 if test "${cf_cv_gnu_library_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2944,7 +3016,7 @@ else CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 2947 "configure" +#line 3019 "configure" #include "confdefs.h" #include int @@ -2963,16 +3035,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2966: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3038: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2969: \$? = $ac_status" >&5 + echo "$as_me:3041: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2972: \"$ac_try\"") >&5 + { (eval echo "$as_me:3044: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2975: \$? = $ac_status" >&5 + echo "$as_me:3047: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_library_219=yes else @@ -2984,12 +3056,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -echo "$as_me:2987: result: $cf_cv_gnu_library_219" >&5 +echo "$as_me:3059: result: $cf_cv_gnu_library_219" >&5 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 if test "x$cf_cv_gnu_library_219" = xyes; then cf_save="$CPPFLAGS" - echo "$as_me:2992: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo "$as_me:3064: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_dftsrc_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3094,7 +3166,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >"conftest.$ac_ext" <<_ACEOF -#line 3097 "configure" +#line 3169 "configure" #include "confdefs.h" #include @@ -3114,16 +3186,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3117: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3189: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3120: \$? = $ac_status" >&5 + echo "$as_me:3192: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3123: \"$ac_try\"") >&5 + { (eval echo "$as_me:3195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3126: \$? = $ac_status" >&5 + echo "$as_me:3198: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_dftsrc_219=yes else @@ -3134,7 +3206,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3137: result: $cf_cv_gnu_dftsrc_219" >&5 +echo "$as_me:3209: result: $cf_cv_gnu_dftsrc_219" >&5 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" else @@ -3143,14 +3215,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 if test "x$cf_cv_gnu_dftsrc_219" != xyes; then - echo "$as_me:3146: checking if we must define _GNU_SOURCE" >&5 + echo "$as_me:3218: 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 3153 "configure" +#line 3225 "configure" #include "confdefs.h" #include int @@ -3165,16 +3237,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3168: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3240: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3171: \$? = $ac_status" >&5 + echo "$as_me:3243: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3174: \"$ac_try\"") >&5 + { (eval echo "$as_me:3246: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3177: \$? = $ac_status" >&5 + echo "$as_me:3249: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else @@ -3281,7 +3353,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >"conftest.$ac_ext" <<_ACEOF -#line 3284 "configure" +#line 3356 "configure" #include "confdefs.h" #include int @@ -3296,16 +3368,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3299: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3371: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3302: \$? = $ac_status" >&5 + echo "$as_me:3374: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3305: \"$ac_try\"") >&5 + { (eval echo "$as_me:3377: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3308: \$? = $ac_status" >&5 + echo "$as_me:3380: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else @@ -3320,12 +3392,12 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3323: result: $cf_cv_gnu_source" >&5 +echo "$as_me:3395: result: $cf_cv_gnu_source" >&5 echo "${ECHO_T}$cf_cv_gnu_source" >&6 if test "$cf_cv_gnu_source" = yes then - echo "$as_me:3328: checking if we should also define _DEFAULT_SOURCE" >&5 + echo "$as_me:3400: checking if we should also define _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_default_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3335,7 +3407,7 @@ else CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 3338 "configure" +#line 3410 "configure" #include "confdefs.h" #include int @@ -3350,16 +3422,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3353: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3425: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3356: \$? = $ac_status" >&5 + echo "$as_me:3428: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3359: \"$ac_try\"") >&5 + { (eval echo "$as_me:3431: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3362: \$? = $ac_status" >&5 + echo "$as_me:3434: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_default_source=no else @@ -3370,7 +3442,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3373: result: $cf_cv_default_source" >&5 +echo "$as_me:3445: result: $cf_cv_default_source" >&5 echo "${ECHO_T}$cf_cv_default_source" >&6 if test "$cf_cv_default_source" = yes then @@ -3410,16 +3482,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:3413: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:3485: 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}:3419: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:3491: testing if the symbol is already defined go no further ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3422 "configure" +#line 3494 "configure" #include "confdefs.h" #include int @@ -3434,16 +3506,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3437: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3509: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3440: \$? = $ac_status" >&5 + echo "$as_me:3512: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3443: \"$ac_try\"") >&5 + { (eval echo "$as_me:3515: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3446: \$? = $ac_status" >&5 + echo "$as_me:3518: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else @@ -3464,7 +3536,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >"conftest.$ac_ext" <<_ACEOF -#line 3467 "configure" +#line 3539 "configure" #include "confdefs.h" #include int @@ -3479,16 +3551,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3482: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3554: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3485: \$? = $ac_status" >&5 + echo "$as_me:3557: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3488: \"$ac_try\"") >&5 + { (eval echo "$as_me:3560: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3491: \$? = $ac_status" >&5 + echo "$as_me:3563: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -3499,7 +3571,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:3502: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:3574: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -3507,10 +3579,10 @@ echo "${as_me:-configure}:3502: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:3510: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:3582: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3513 "configure" +#line 3585 "configure" #include "confdefs.h" #include int @@ -3525,16 +3597,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3528: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3600: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3531: \$? = $ac_status" >&5 + echo "$as_me:3603: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3534: \"$ac_try\"") >&5 + { (eval echo "$as_me:3606: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3537: \$? = $ac_status" >&5 + echo "$as_me:3609: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -3550,7 +3622,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3553: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:3625: 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 @@ -3667,7 +3739,7 @@ fi # cf_cv_posix_visible # OpenBSD 6.x has broken locale support, both compile-time and runtime. # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html # Abusing the conformance level is a workaround. - { echo "$as_me:3670: WARNING: this system does not provide usable locale support" >&5 + { echo "$as_me:3742: WARNING: this system does not provide usable locale support" >&5 echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} cf_xopen_source="-D_BSD_SOURCE" cf_XOPEN_SOURCE=700 @@ -3699,14 +3771,14 @@ echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} ;; (*) -echo "$as_me:3702: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:3774: 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 3709 "configure" +#line 3781 "configure" #include "confdefs.h" $ac_includes_default @@ -3724,16 +3796,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3727: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3799: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3730: \$? = $ac_status" >&5 + echo "$as_me:3802: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3733: \"$ac_try\"") >&5 + { (eval echo "$as_me:3805: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3736: \$? = $ac_status" >&5 + echo "$as_me:3808: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -3745,7 +3817,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 3748 "configure" +#line 3820 "configure" #include "confdefs.h" $ac_includes_default @@ -3763,16 +3835,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3766: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3838: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3769: \$? = $ac_status" >&5 + echo "$as_me:3841: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3772: \"$ac_try\"") >&5 + { (eval echo "$as_me:3844: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3775: \$? = $ac_status" >&5 + echo "$as_me:3847: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -3787,7 +3859,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3790: result: $cf_cv_xopen_source" >&5 +echo "$as_me:3862: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -3947,16 +4019,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:3950: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:4022: 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}:3956: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:4028: testing if the symbol is already defined go no further ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3959 "configure" +#line 4031 "configure" #include "confdefs.h" #include int @@ -3971,16 +4043,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3974: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4046: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3977: \$? = $ac_status" >&5 + echo "$as_me:4049: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3980: \"$ac_try\"") >&5 + { (eval echo "$as_me:4052: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3983: \$? = $ac_status" >&5 + echo "$as_me:4055: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else @@ -4001,7 +4073,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >"conftest.$ac_ext" <<_ACEOF -#line 4004 "configure" +#line 4076 "configure" #include "confdefs.h" #include int @@ -4016,16 +4088,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4019: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4091: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4022: \$? = $ac_status" >&5 + echo "$as_me:4094: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4025: \"$ac_try\"") >&5 + { (eval echo "$as_me:4097: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4028: \$? = $ac_status" >&5 + echo "$as_me:4100: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -4036,7 +4108,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:4039: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:4111: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -4044,10 +4116,10 @@ echo "${as_me:-configure}:4039: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:4047: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:4119: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 4050 "configure" +#line 4122 "configure" #include "confdefs.h" #include int @@ -4062,16 +4134,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4065: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4137: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4068: \$? = $ac_status" >&5 + echo "$as_me:4140: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4071: \"$ac_try\"") >&5 + { (eval echo "$as_me:4143: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4074: \$? = $ac_status" >&5 + echo "$as_me:4146: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -4087,7 +4159,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:4090: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:4162: 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 @@ -4200,10 +4272,10 @@ fi # cf_cv_posix_visible if test "$cf_cv_xopen_source" = no ; then test -n "$verbose" && echo " checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE" 1>&6 -echo "${as_me:-configure}:4203: testing checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE ..." 1>&5 +echo "${as_me:-configure}:4275: testing checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 4206 "configure" +#line 4278 "configure" #include "confdefs.h" $ac_includes_default @@ -4221,23 +4293,23 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4224: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4296: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4227: \$? = $ac_status" >&5 + echo "$as_me:4299: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4230: \"$ac_try\"") >&5 + { (eval echo "$as_me:4302: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4233: \$? = $ac_status" >&5 + echo "$as_me:4305: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 - { echo "$as_me:4240: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + { echo "$as_me:4312: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} CPPFLAGS="$cf_save_xopen_cppflags" fi @@ -4260,7 +4332,7 @@ do test "$CFLAGS" != "$cf_old_cflag" || break test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 -echo "${as_me:-configure}:4263: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 +echo "${as_me:-configure}:4335: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 CFLAGS="$cf_old_cflag" done @@ -4272,7 +4344,7 @@ do test "$CPPFLAGS" != "$cf_old_cflag" || break test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 -echo "${as_me:-configure}:4275: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:4347: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 CPPFLAGS="$cf_old_cflag" done @@ -4360,7 +4432,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:4363: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:4435: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -4370,7 +4442,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:4373: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:4445: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -4380,7 +4452,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:4383: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:4455: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -4392,10 +4464,10 @@ done fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:4395: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:4467: 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 4398 "configure" +#line 4470 "configure" #include "confdefs.h" #include int @@ -4410,16 +4482,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4413: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4485: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4416: \$? = $ac_status" >&5 + echo "$as_me:4488: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4419: \"$ac_try\"") >&5 + { (eval echo "$as_me:4491: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4422: \$? = $ac_status" >&5 + echo "$as_me:4494: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set=yes else @@ -4428,12 +4500,12 @@ cat "conftest.$ac_ext" >&5 cf_XOPEN_SOURCE_set=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" - echo "$as_me:4431: result: $cf_XOPEN_SOURCE_set" >&5 + echo "$as_me:4503: 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 4436 "configure" +#line 4508 "configure" #include "confdefs.h" #include int @@ -4448,16 +4520,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4451: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4523: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4454: \$? = $ac_status" >&5 + echo "$as_me:4526: \$? = $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:4529: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4460: \$? = $ac_status" >&5 + echo "$as_me:4532: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set_ok=yes else @@ -4468,19 +4540,19 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_XOPEN_SOURCE_set_ok" = no then - { echo "$as_me:4471: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:4543: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:4476: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:4548: 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 4483 "configure" +#line 4555 "configure" #include "confdefs.h" $ac_includes_default @@ -4498,16 +4570,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4501: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4573: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4504: \$? = $ac_status" >&5 + echo "$as_me:4576: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4507: \"$ac_try\"") >&5 + { (eval echo "$as_me:4579: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4510: \$? = $ac_status" >&5 + echo "$as_me:4582: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -4519,7 +4591,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 4522 "configure" +#line 4594 "configure" #include "confdefs.h" $ac_includes_default @@ -4537,16 +4609,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4540: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4612: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4543: \$? = $ac_status" >&5 + echo "$as_me:4615: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4546: \"$ac_try\"") >&5 + { (eval echo "$as_me:4618: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4549: \$? = $ac_status" >&5 + echo "$as_me:4621: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -4561,7 +4633,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:4564: result: $cf_cv_xopen_source" >&5 +echo "$as_me:4636: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -4712,7 +4784,7 @@ for ac_prog in ggrep grep 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:4715: checking for $ac_word" >&5 +echo "$as_me:4787: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4727,7 +4799,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_GREP="$ac_prog" -echo "$as_me:4730: found $ac_dir/$ac_word" >&5 +echo "$as_me:4802: found $ac_dir/$ac_word" >&5 break done @@ -4735,10 +4807,10 @@ fi fi GREP=$ac_cv_prog_GREP if test -n "$GREP"; then - echo "$as_me:4738: result: $GREP" >&5 + echo "$as_me:4810: result: $GREP" >&5 echo "${ECHO_T}$GREP" >&6 else - echo "$as_me:4741: result: no" >&5 + echo "$as_me:4813: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4746,7 +4818,7 @@ fi done test -n "$GREP" || GREP=": " -echo "$as_me:4749: checking for egrep" >&5 +echo "$as_me:4821: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4758,7 +4830,7 @@ else 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:4761: checking for $ac_word" >&5 +echo "$as_me:4833: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4775,7 +4847,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_EGREP="$ac_dir/$ac_word" - echo "$as_me:4778: found $ac_dir/$ac_word" >&5 + echo "$as_me:4850: found $ac_dir/$ac_word" >&5 break fi done @@ -4786,10 +4858,10 @@ fi EGREP=$ac_cv_path_EGREP if test -n "$EGREP"; then - echo "$as_me:4789: result: $EGREP" >&5 + echo "$as_me:4861: result: $EGREP" >&5 echo "${ECHO_T}$EGREP" >&6 else - echo "$as_me:4792: result: no" >&5 + echo "$as_me:4864: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4797,12 +4869,12 @@ fi done test -n "$EGREP" || EGREP=": " - test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:4800: error: cannot find workable egrep" >&5 + test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:4872: error: cannot find workable egrep" >&5 echo "$as_me: error: cannot find workable egrep" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:4805: result: $ac_cv_path_EGREP" >&5 +echo "$as_me:4877: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6 EGREP="$ac_cv_path_EGREP" @@ -4812,7 +4884,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return="return" -echo "$as_me:4815: checking how to run the C preprocessor" >&5 +echo "$as_me:4887: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -4833,18 +4905,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >"conftest.$ac_ext" <<_ACEOF -#line 4836 "configure" +#line 4908 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:4841: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4913: \"$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:4847: \$? = $ac_status" >&5 + echo "$as_me:4919: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4867,17 +4939,17 @@ rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >"conftest.$ac_ext" <<_ACEOF -#line 4870 "configure" +#line 4942 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:4874: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4946: \"$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:4880: \$? = $ac_status" >&5 + echo "$as_me:4952: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4914,7 +4986,7 @@ fi else ac_cv_prog_CPP=$CPP fi -echo "$as_me:4917: result: $CPP" >&5 +echo "$as_me:4989: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -4924,18 +4996,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >"conftest.$ac_ext" <<_ACEOF -#line 4927 "configure" +#line 4999 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:4932: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5004: \"$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:4938: \$? = $ac_status" >&5 + echo "$as_me:5010: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4958,17 +5030,17 @@ rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >"conftest.$ac_ext" <<_ACEOF -#line 4961 "configure" +#line 5033 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:4965: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5037: \"$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:4971: \$? = $ac_status" >&5 + echo "$as_me:5043: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4996,7 +5068,7 @@ rm -f conftest.err "conftest.$ac_ext" if $ac_preproc_ok; then : else - { { echo "$as_me:4999: error: C preprocessor \"$CPP\" fails sanity check" >&5 + { { echo "$as_me:5071: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -5008,13 +5080,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return="return" -echo "$as_me:5011: checking for ANSI C header files" >&5 +echo "$as_me:5083: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 5017 "configure" +#line 5089 "configure" #include "confdefs.h" #include #include @@ -5022,13 +5094,13 @@ else #include _ACEOF -if { (eval echo "$as_me:5025: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5097: \"$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:5031: \$? = $ac_status" >&5 + echo "$as_me:5103: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5050,7 +5122,7 @@ rm -f conftest.err "conftest.$ac_ext" if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >"conftest.$ac_ext" <<_ACEOF -#line 5053 "configure" +#line 5125 "configure" #include "confdefs.h" #include @@ -5068,7 +5140,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >"conftest.$ac_ext" <<_ACEOF -#line 5071 "configure" +#line 5143 "configure" #include "confdefs.h" #include @@ -5089,7 +5161,7 @@ if test $ac_cv_header_stdc = yes; then : else cat >"conftest.$ac_ext" <<_ACEOF -#line 5092 "configure" +#line 5164 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -5115,15 +5187,15 @@ main (void) } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:5118: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5190: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5121: \$? = $ac_status" >&5 + echo "$as_me:5193: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:5123: \"$ac_try\"") >&5 + { (eval echo "$as_me:5195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5126: \$? = $ac_status" >&5 + echo "$as_me:5198: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -5136,7 +5208,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi fi -echo "$as_me:5139: result: $ac_cv_header_stdc" >&5 +echo "$as_me:5211: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -5152,28 +5224,28 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5155: checking for $ac_header" >&5 +echo "$as_me:5227: 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 5161 "configure" +#line 5233 "configure" #include "confdefs.h" $ac_includes_default #include <$ac_header> _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:5167: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5239: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5170: \$? = $ac_status" >&5 + echo "$as_me:5242: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:5173: \"$ac_try\"") >&5 + { (eval echo "$as_me:5245: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5176: \$? = $ac_status" >&5 + echo "$as_me:5248: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_Header=yes" else @@ -5183,7 +5255,7 @@ eval "$as_ac_Header=no" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:5186: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:5258: 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:5268: checking whether exit is declared" >&5 echo $ECHO_N "checking whether exit is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_exit+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 5202 "configure" +#line 5274 "configure" #include "confdefs.h" $ac_includes_default int @@ -5214,16 +5286,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:5217: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5289: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5220: \$? = $ac_status" >&5 + echo "$as_me:5292: \$? = $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:5295: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5226: \$? = $ac_status" >&5 + echo "$as_me:5298: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_have_decl_exit=yes else @@ -5233,29 +5305,29 @@ ac_cv_have_decl_exit=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:5236: result: $ac_cv_have_decl_exit" >&5 +echo "$as_me:5308: result: $ac_cv_have_decl_exit" >&5 echo "${ECHO_T}$ac_cv_have_decl_exit" >&6 for ac_header in fcntl.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5242: checking for $ac_header" >&5 +echo "$as_me:5314: 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 5248 "configure" +#line 5320 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5252: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5324: \"$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:5258: \$? = $ac_status" >&5 + echo "$as_me:5330: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5274,7 +5346,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5277: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:5349: 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:5364: 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 5298 "configure" +#line 5370 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5302: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5374: \"$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:5308: \$? = $ac_status" >&5 + echo "$as_me:5380: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5324,7 +5396,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5327: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:5399: 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:5409: checking for working mkstemp" >&5 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 if test "${cf_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5345,7 +5417,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_mkstemp=maybe else cat >"conftest.$ac_ext" <<_ACEOF -#line 5348 "configure" +#line 5420 "configure" #include "confdefs.h" $ac_includes_default @@ -5380,15 +5452,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:5383: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5455: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5386: \$? = $ac_status" >&5 + echo "$as_me:5458: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:5388: \"$ac_try\"") >&5 + { (eval echo "$as_me:5460: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5391: \$? = $ac_status" >&5 + echo "$as_me:5463: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_mkstemp=yes @@ -5403,16 +5475,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:5406: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:5478: result: $cf_cv_func_mkstemp" >&5 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 if test "x$cf_cv_func_mkstemp" = xmaybe ; then - echo "$as_me:5409: checking for mkstemp" >&5 + echo "$as_me:5481: checking for mkstemp" >&5 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 if test "${ac_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 5415 "configure" +#line 5487 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -5443,16 +5515,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:5446: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5518: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5449: \$? = $ac_status" >&5 + echo "$as_me:5521: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:5452: \"$ac_try\"") >&5 + { (eval echo "$as_me:5524: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5455: \$? = $ac_status" >&5 + echo "$as_me:5527: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_mkstemp=yes else @@ -5462,7 +5534,7 @@ ac_cv_func_mkstemp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:5465: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:5537: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -5477,23 +5549,23 @@ fi for ac_header in getopt.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5480: checking for $ac_header" >&5 +echo "$as_me:5552: 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 5486 "configure" +#line 5558 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5490: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5562: \"$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:5496: \$? = $ac_status" >&5 + echo "$as_me:5568: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5512,7 +5584,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5515: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:5587: 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:5597: checking for header declaring getopt variables" >&5 echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 if test "${cf_cv_getopt_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5532,7 +5604,7 @@ cf_cv_getopt_header=none for cf_header in stdio.h stdlib.h unistd.h getopt.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 5535 "configure" +#line 5607 "configure" #include "confdefs.h" #include <$cf_header> @@ -5545,16 +5617,16 @@ int x = optind; char *y = optarg; (void)x; (void)y } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:5548: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5620: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5551: \$? = $ac_status" >&5 + echo "$as_me:5623: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:5554: \"$ac_try\"") >&5 + { (eval echo "$as_me:5626: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5557: \$? = $ac_status" >&5 + echo "$as_me:5629: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_getopt_header=$cf_header break @@ -5566,7 +5638,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:5569: result: $cf_cv_getopt_header" >&5 +echo "$as_me:5641: result: $cf_cv_getopt_header" >&5 echo "${ECHO_T}$cf_cv_getopt_header" >&6 if test "$cf_cv_getopt_header" != none ; then @@ -5586,13 +5658,13 @@ fi for ac_func in getopt vsnprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:5589: checking for $ac_func" >&5 +echo "$as_me:5661: 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 5595 "configure" +#line 5667 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -5623,16 +5695,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:5626: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5698: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5629: \$? = $ac_status" >&5 + echo "$as_me:5701: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:5632: \"$ac_try\"") >&5 + { (eval echo "$as_me:5704: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5635: \$? = $ac_status" >&5 + echo "$as_me:5707: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -5642,7 +5714,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:5645: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:5717: 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:5727: checking for maximum table size" >&5 echo $ECHO_N "checking for maximum table size... $ECHO_C" >&6 # Check whether --with-max-table-size or --without-max-table-size was given. @@ -5662,12 +5734,12 @@ if test "${with_max_table_size+set}" = set; then fi; if test -n "$with_max_table_size" then - echo "$as_me:5665: result: $with_max_table_size" >&5 + echo "$as_me:5737: result: $with_max_table_size" >&5 echo "${ECHO_T}$with_max_table_size" >&6 check=`expr "$with_max_table_size" + 0` if test "x$check" != "x$with_max_table_size" then - { { echo "$as_me:5670: error: invalid value for --with-max-table-size: $with_max_table_size" >&5 + { { echo "$as_me:5742: error: invalid value for --with-max-table-size: $with_max_table_size" >&5 echo "$as_me: error: invalid value for --with-max-table-size: $with_max_table_size" >&2;} { (exit 1); exit 1; }; } fi @@ -5677,11 +5749,11 @@ cat >>confdefs.h <&5 + echo "$as_me:5752: result: default" >&5 echo "${ECHO_T}default" >&6 fi -echo "$as_me:5684: checking if backtracking extension is wanted" >&5 +echo "$as_me:5756: checking if backtracking extension is wanted" >&5 echo $ECHO_N "checking if backtracking extension is wanted... $ECHO_C" >&6 # Check whether --enable-btyacc or --disable-btyacc was given. @@ -5698,7 +5770,7 @@ else enable_btyacc=yes fi; -echo "$as_me:5701: result: $enable_btyacc" >&5 +echo "$as_me:5773: result: $enable_btyacc" >&5 echo "${ECHO_T}$enable_btyacc" >&6 if test "$enable_btyacc" = "no"; then SKELETON=yaccpar @@ -5711,7 +5783,7 @@ EOF SKELETON=btyaccpar fi -echo "$as_me:5714: checking for fgrep" >&5 +echo "$as_me:5786: checking for fgrep" >&5 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6 if test "${ac_cv_path_FGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5723,7 +5795,7 @@ else 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:5726: checking for $ac_word" >&5 +echo "$as_me:5798: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_FGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -5740,7 +5812,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_FGREP="$ac_dir/$ac_word" - echo "$as_me:5743: found $ac_dir/$ac_word" >&5 + echo "$as_me:5815: found $ac_dir/$ac_word" >&5 break fi done @@ -5751,10 +5823,10 @@ fi FGREP=$ac_cv_path_FGREP if test -n "$FGREP"; then - echo "$as_me:5754: result: $FGREP" >&5 + echo "$as_me:5826: result: $FGREP" >&5 echo "${ECHO_T}$FGREP" >&6 else - echo "$as_me:5757: result: no" >&5 + echo "$as_me:5829: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -5762,16 +5834,16 @@ fi done test -n "$FGREP" || FGREP=": " - test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:5765: error: cannot find workable fgrep" >&5 + test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:5837: error: cannot find workable fgrep" >&5 echo "$as_me: error: cannot find workable fgrep" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:5770: result: $ac_cv_path_FGREP" >&5 +echo "$as_me:5842: result: $ac_cv_path_FGREP" >&5 echo "${ECHO_T}$ac_cv_path_FGREP" >&6 FGREP="$ac_cv_path_FGREP" -echo "$as_me:5774: checking if you want to use C11 _Noreturn feature" >&5 +echo "$as_me:5846: checking if you want to use C11 _Noreturn feature" >&5 echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. @@ -5788,17 +5860,17 @@ else enable_stdnoreturn=no fi; -echo "$as_me:5791: result: $enable_stdnoreturn" >&5 +echo "$as_me:5863: result: $enable_stdnoreturn" >&5 echo "${ECHO_T}$enable_stdnoreturn" >&6 if test $enable_stdnoreturn = yes; then -echo "$as_me:5795: checking for C11 _Noreturn feature" >&5 +echo "$as_me:5867: checking for C11 _Noreturn feature" >&5 echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 if test "${cf_cv_c11_noreturn+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 5801 "configure" +#line 5873 "configure" #include "confdefs.h" $ac_includes_default @@ -5814,16 +5886,16 @@ if (feof(stdin)) giveup() } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:5817: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5889: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5820: \$? = $ac_status" >&5 + echo "$as_me:5892: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:5823: \"$ac_try\"") >&5 + { (eval echo "$as_me:5895: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5826: \$? = $ac_status" >&5 + echo "$as_me:5898: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_c11_noreturn=yes else @@ -5834,7 +5906,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:5837: result: $cf_cv_c11_noreturn" >&5 +echo "$as_me:5909: result: $cf_cv_c11_noreturn" >&5 echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 else cf_cv_c11_noreturn=no, @@ -5890,16 +5962,16 @@ then then test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 -echo "${as_me:-configure}:5893: testing repairing CFLAGS: $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5965: testing repairing CFLAGS: $CFLAGS ..." 1>&5 CFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 -echo "${as_me:-configure}:5898: testing ... fixed $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5970: testing ... fixed $CFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5902: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5974: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; @@ -5938,16 +6010,16 @@ then then test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:5941: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:6013: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 CPPFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:5946: testing ... fixed $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:6018: testing ... fixed $CPPFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5950: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:6022: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; @@ -5986,23 +6058,23 @@ then then test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5989: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:6061: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 LDFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5994: testing ... fixed $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:6066: testing ... fixed $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5998: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:6070: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; esac fi -echo "$as_me:6005: checking if you want to turn on gcc warnings" >&5 +echo "$as_me:6077: checking if you want to turn on gcc warnings" >&5 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 # Check whether --enable-warnings or --disable-warnings was given. @@ -6019,14 +6091,14 @@ else enable_warnings=no fi; -echo "$as_me:6022: result: $enable_warnings" >&5 +echo "$as_me:6094: result: $enable_warnings" >&5 echo "${ECHO_T}$enable_warnings" >&6 if test "$enable_warnings" = "yes" then if test "x$have_x" = xyes; then echo "skipping X-const check"; fi cat > "conftest.$ac_ext" <&5 + { echo "$as_me:6117: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" @@ -6058,12 +6130,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:6061: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:6133: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6064: \$? = $ac_status" >&5 + echo "$as_me:6136: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:6066: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:6138: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -6071,7 +6143,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:6074: checking for $CC warning options..." >&5 + { echo "$as_me:6146: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" cf_warn_CONST="" @@ -6094,12 +6166,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wwrite-strings do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:6097: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:6169: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6100: \$? = $ac_status" >&5 + echo "$as_me:6172: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:6102: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:6174: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case "$cf_opt" in (Winline) @@ -6107,7 +6179,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}:6110: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:6182: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -6117,7 +6189,7 @@ echo "${as_me:-configure}:6110: 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}:6120: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:6192: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -6150,10 +6222,10 @@ cat > conftest.i <&5 + { echo "$as_me:6225: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} cat > "conftest.$ac_ext" < #include "confdefs.h" #include "conftest.h" @@ -6203,12 +6275,12 @@ EOF ;; esac - if { (eval echo "$as_me:6206: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:6278: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6209: \$? = $ac_status" >&5 + echo "$as_me:6281: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:6211: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:6283: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case "$cf_attribute" in @@ -6269,7 +6341,7 @@ fi fi -echo "$as_me:6272: checking if you want to see long compiling messages" >&5 +echo "$as_me:6344: checking if you want to see long compiling messages" >&5 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6 # Check whether --enable-echo or --disable-echo was given. @@ -6303,10 +6375,10 @@ else ECHO_CC='' fi; -echo "$as_me:6306: result: $enableval" >&5 +echo "$as_me:6378: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 -echo "$as_me:6309: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:6381: 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. @@ -6328,7 +6400,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:6331: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:6403: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case ".$with_cflags" in @@ -6442,23 +6514,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:6445: checking for dmalloc.h" >&5 + echo "$as_me:6517: 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 6451 "configure" +#line 6523 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6455: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:6527: \"$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:6461: \$? = $ac_status" >&5 + echo "$as_me:6533: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6477,11 +6549,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:6480: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:6552: 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:6484: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:6556: 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 @@ -6489,7 +6561,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 6492 "configure" +#line 6564 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -6508,16 +6580,16 @@ dmalloc_debug (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:6511: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6583: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6514: \$? = $ac_status" >&5 + echo "$as_me:6586: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:6517: \"$ac_try\"") >&5 + { (eval echo "$as_me:6589: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6520: \$? = $ac_status" >&5 + echo "$as_me:6592: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -6528,7 +6600,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:6531: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:6603: 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:6618: 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. @@ -6565,7 +6637,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:6568: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:6640: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case ".$with_cflags" in @@ -6679,23 +6751,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:6682: checking for dbmalloc.h" >&5 + echo "$as_me:6754: 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 6688 "configure" +#line 6760 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:6692: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:6764: \"$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:6698: \$? = $ac_status" >&5 + echo "$as_me:6770: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6714,11 +6786,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:6717: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:6789: 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:6721: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:6793: 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 @@ -6726,7 +6798,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 6729 "configure" +#line 6801 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -6745,16 +6817,16 @@ debug_malloc (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:6748: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6820: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6751: \$? = $ac_status" >&5 + echo "$as_me:6823: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:6754: \"$ac_try\"") >&5 + { (eval echo "$as_me:6826: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6757: \$? = $ac_status" >&5 + echo "$as_me:6829: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -6765,7 +6837,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:6768: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:6840: 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:6855: 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. @@ -6802,7 +6874,7 @@ EOF else with_valgrind= fi; -echo "$as_me:6805: result: ${with_valgrind:-no}" >&5 +echo "$as_me:6877: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case ".$with_cflags" in @@ -6915,7 +6987,7 @@ fi ;; esac -echo "$as_me:6918: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:6990: 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. @@ -6926,7 +6998,7 @@ else enable_leaks=yes fi; if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi -echo "$as_me:6929: result: $with_no_leaks" >&5 +echo "$as_me:7001: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$enable_leaks" = no ; then @@ -6941,17 +7013,17 @@ EOF fi - echo "$as_me:6944: checking for PATH separator" >&5 + echo "$as_me:7016: checking for PATH separator" >&5 echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6 case "$cf_cv_system_name" in (os2*) PATH_SEPARATOR=';' ;; (*) ${PATH_SEPARATOR:=':'} ;; esac - echo "$as_me:6951: result: $PATH_SEPARATOR" >&5 + echo "$as_me:7023: result: $PATH_SEPARATOR" >&5 echo "${ECHO_T}$PATH_SEPARATOR" >&6 -echo "$as_me:6954: checking format of man-pages" >&5 +echo "$as_me:7026: checking format of man-pages" >&5 echo $ECHO_N "checking format of man-pages... $ECHO_C" >&6 # Check whether --with-manpage-format or --without-manpage-format was given. @@ -7042,10 +7114,10 @@ case "$MANPAGE_FORMAT" in ;; esac -echo "$as_me:7045: result: $MANPAGE_FORMAT" >&5 +echo "$as_me:7117: result: $MANPAGE_FORMAT" >&5 echo "${ECHO_T}$MANPAGE_FORMAT" >&6 if test -n "$cf_unknown" ; then - { echo "$as_me:7048: WARNING: Unexpected manpage-format $cf_unknown" >&5 + { echo "$as_me:7120: WARNING: Unexpected manpage-format $cf_unknown" >&5 echo "$as_me: WARNING: Unexpected manpage-format $cf_unknown" >&2;} fi @@ -7086,14 +7158,14 @@ case "$cf_item" in esac done -echo "$as_me:7089: checking whether ln -s works" >&5 +echo "$as_me:7161: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - echo "$as_me:7093: result: yes" >&5 + echo "$as_me:7165: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:7096: result: no, using $LN_S" >&5 + echo "$as_me:7168: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi @@ -7218,7 +7290,7 @@ CF_EOF # Extract the first word of "groff", so it can be a program name with args. set dummy groff; ac_word=$2 -echo "$as_me:7221: checking for $ac_word" >&5 +echo "$as_me:7293: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GROFF_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7235,7 +7307,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_GROFF_PATH="$ac_dir/$ac_word" - echo "$as_me:7238: found $ac_dir/$ac_word" >&5 + echo "$as_me:7310: found $ac_dir/$ac_word" >&5 break fi done @@ -7247,10 +7319,10 @@ fi GROFF_PATH=$ac_cv_path_GROFF_PATH if test -n "$GROFF_PATH"; then - echo "$as_me:7250: result: $GROFF_PATH" >&5 + echo "$as_me:7322: result: $GROFF_PATH" >&5 echo "${ECHO_T}$GROFF_PATH" >&6 else - echo "$as_me:7253: result: no" >&5 + echo "$as_me:7325: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7258,7 +7330,7 @@ for ac_prog in nroff mandoc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:7261: checking for $ac_word" >&5 +echo "$as_me:7333: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_NROFF_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7275,7 +7347,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_NROFF_PATH="$ac_dir/$ac_word" - echo "$as_me:7278: found $ac_dir/$ac_word" >&5 + echo "$as_me:7350: found $ac_dir/$ac_word" >&5 break fi done @@ -7286,10 +7358,10 @@ fi NROFF_PATH=$ac_cv_path_NROFF_PATH if test -n "$NROFF_PATH"; then - echo "$as_me:7289: result: $NROFF_PATH" >&5 + echo "$as_me:7361: result: $NROFF_PATH" >&5 echo "${ECHO_T}$NROFF_PATH" >&6 else - echo "$as_me:7292: result: no" >&5 + echo "$as_me:7364: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7299,7 +7371,7 @@ test -n "$NROFF_PATH" || NROFF_PATH="no" # Extract the first word of "tbl", so it can be a program name with args. set dummy tbl; ac_word=$2 -echo "$as_me:7302: checking for $ac_word" >&5 +echo "$as_me:7374: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TBL_PATH+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7316,7 +7388,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TBL_PATH="$ac_dir/$ac_word" - echo "$as_me:7319: found $ac_dir/$ac_word" >&5 + echo "$as_me:7391: found $ac_dir/$ac_word" >&5 break fi done @@ -7328,10 +7400,10 @@ fi TBL_PATH=$ac_cv_path_TBL_PATH if test -n "$TBL_PATH"; then - echo "$as_me:7331: result: $TBL_PATH" >&5 + echo "$as_me:7403: result: $TBL_PATH" >&5 echo "${ECHO_T}$TBL_PATH" >&6 else - echo "$as_me:7334: result: no" >&5 + echo "$as_me:7406: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7344,59 +7416,6 @@ else GROFF_NOTE= fi -if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then - - system_name="$host_os" -else - system_name="`(uname -s -r) 2>/dev/null`" - if test -z "$system_name" ; then - system_name="`(hostname) 2>/dev/null`" - fi -fi -test -n "$system_name" && -cat >>confdefs.h <&6 -else - cf_cv_system_name="$system_name" -fi - -test -z "$system_name" && system_name="$cf_cv_system_name" -test -n "$cf_cv_system_name" && echo "$as_me:7368: result: Configuring for $cf_cv_system_name" >&5 -echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 - -if test ".$system_name" != ".$cf_cv_system_name" ; then - echo "$as_me:7372: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 -echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 - { { echo "$as_me:7374: error: \"Please remove config.cache and try again.\"" >&5 -echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# Check whether --with-system-type or --without-system-type was given. -if test "${with_system_type+set}" = set; then - withval="$with_system_type" - { echo "$as_me:7382: WARNING: overriding system type to $withval" >&5 -echo "$as_me: WARNING: overriding system type to $withval" >&2;} - cf_cv_system_name=$withval - host_os=$withval - -fi; - -case "$cf_cv_system_name" in -(cygwin*|msys*|mingw32*|mingw64|os2*) - GLOB_FULLPATH_POSIX='/*' - GLOB_FULLPATH_OTHER='[a-zA-Z]:[\\/]*' - ;; -(*) - GLOB_FULLPATH_POSIX='/*' - GLOB_FULLPATH_OTHER=$GLOB_FULLPATH_POSIX - ;; -esac - case "x${with_man2html}" in (xno) cf_man2html=no @@ -7404,7 +7423,7 @@ case "x${with_man2html}" in (x|xyes) # Extract the first word of "man2html", so it can be a program name with args. set dummy man2html; ac_word=$2 -echo "$as_me:7407: checking for $ac_word" >&5 +echo "$as_me:7426: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_man2html+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7421,7 +7440,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_man2html="$ac_dir/$ac_word" - echo "$as_me:7424: found $ac_dir/$ac_word" >&5 + echo "$as_me:7443: found $ac_dir/$ac_word" >&5 break fi done @@ -7433,16 +7452,16 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:7436: result: $cf_man2html" >&5 + echo "$as_me:7455: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:7439: result: no" >&5 + echo "$as_me:7458: result: no" >&5 echo "${ECHO_T}no" >&6 fi case "x$cf_man2html" in (x/*) - echo "$as_me:7445: checking for the modified Earl Hood script" >&5 + echo "$as_me:7464: checking for the modified Earl Hood script" >&5 echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6 if ( $cf_man2html -help 2>&1 | grep 'Make an index of headers at the end' >/dev/null ) then @@ -7451,7 +7470,7 @@ echo $ECHO_N "checking for the modified Earl Hood script... $ECHO_C" >&6 cf_man2html=no cf_man2html_ok=no fi - echo "$as_me:7454: result: $cf_man2html_ok" >&5 + echo "$as_me:7473: result: $cf_man2html_ok" >&5 echo "${ECHO_T}$cf_man2html_ok" >&6 ;; (*) @@ -7460,7 +7479,7 @@ echo "${ECHO_T}$cf_man2html_ok" >&6 esac esac -echo "$as_me:7463: checking for program to convert manpage to html" >&5 +echo "$as_me:7482: checking for program to convert manpage to html" >&5 echo $ECHO_N "checking for program to convert manpage to html... $ECHO_C" >&6 # Check whether --with-man2html or --without-man2html was given. @@ -7475,11 +7494,11 @@ cf_with_groff=no case $cf_man2html in (yes) - echo "$as_me:7478: result: man2html" >&5 + echo "$as_me:7497: result: man2html" >&5 echo "${ECHO_T}man2html" >&6 # Extract the first word of "man2html", so it can be a program name with args. set dummy man2html; ac_word=$2 -echo "$as_me:7482: checking for $ac_word" >&5 +echo "$as_me:7501: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_man2html+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7496,7 +7515,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_man2html="$ac_dir/$ac_word" - echo "$as_me:7499: found $ac_dir/$ac_word" >&5 + echo "$as_me:7518: found $ac_dir/$ac_word" >&5 break fi done @@ -7508,10 +7527,10 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:7511: result: $cf_man2html" >&5 + echo "$as_me:7530: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:7514: result: no" >&5 + echo "$as_me:7533: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7519,11 +7538,11 @@ fi (no|groff|*/groff*) cf_with_groff=yes cf_man2html=$GROFF_PATH - echo "$as_me:7522: result: $cf_man2html" >&5 + echo "$as_me:7541: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; (*) - echo "$as_me:7526: result: $cf_man2html" >&5 + echo "$as_me:7545: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; esac @@ -7564,12 +7583,12 @@ else # disable hyphenation if this is groff if test "x$GROFF_PATH" != xno then - echo "$as_me:7567: checking if nroff is really groff" >&5 + echo "$as_me:7586: checking if nroff is really groff" >&5 echo $ECHO_N "checking if nroff is really groff... $ECHO_C" >&6 cf_check_groff="`$NROFF_PATH --version 2>/dev/null | grep groff`" test -n "$cf_check_groff" && cf_check_groff=yes test -n "$cf_check_groff" || cf_check_groff=no - echo "$as_me:7572: result: $cf_check_groff" >&5 + echo "$as_me:7591: result: $cf_check_groff" >&5 echo "${ECHO_T}$cf_check_groff" >&6 test "x$cf_check_groff" = xyes && NROFF_OPTS="-rHY=0" fi @@ -7598,14 +7617,14 @@ case "x$cf_man2html" in cf_man2html=`echo "$cf_man2html" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:7601: error: expected a pathname, not \"$cf_man2html\"" >&5 + { { echo "$as_me:7620: error: expected a pathname, not \"$cf_man2html\"" >&5 echo "$as_me: error: expected a pathname, not \"$cf_man2html\"" >&2;} { (exit 1); exit 1; }; } ;; esac MAN2HTML_PATH="$cf_man2html" - echo "$as_me:7608: checking for $cf_man2html top/bottom margins" >&5 + echo "$as_me:7627: checking for $cf_man2html top/bottom margins" >&5 echo $ECHO_N "checking for $cf_man2html top/bottom margins... $ECHO_C" >&6 # for this example, expect 3 lines of content, the remainder is head/foot @@ -7623,10 +7642,10 @@ CF_EOF cf_man2html_bot=`expr "$cf_man2html_bot" - 2 - "$cf_man2html_top"` cf_man2html_top_bot="-topm=$cf_man2html_top -botm=$cf_man2html_bot" - echo "$as_me:7626: result: $cf_man2html_top_bot" >&5 + echo "$as_me:7645: result: $cf_man2html_top_bot" >&5 echo "${ECHO_T}$cf_man2html_top_bot" >&6 - echo "$as_me:7629: checking for pagesize to use" >&5 + echo "$as_me:7648: checking for pagesize to use" >&5 echo $ECHO_N "checking for pagesize to use... $ECHO_C" >&6 for cf_block in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 do @@ -7651,7 +7670,7 @@ CF_EOF test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999 rm -rf conftest* - echo "$as_me:7654: result: $cf_man2html_page" >&5 + echo "$as_me:7673: result: $cf_man2html_page" >&5 echo "${ECHO_T}$cf_man2html_page" >&6 cat >>$MAN2HTML_TEMP <&5 +echo "$as_me:7692: checking for mode_t" >&5 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 7679 "configure" +#line 7698 "configure" #include "confdefs.h" $ac_includes_default int @@ -7691,16 +7710,16 @@ if (sizeof (mode_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:7694: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7713: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7697: \$? = $ac_status" >&5 + echo "$as_me:7716: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:7700: \"$ac_try\"") >&5 + { (eval echo "$as_me:7719: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7703: \$? = $ac_status" >&5 + echo "$as_me:7722: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_mode_t=yes else @@ -7710,7 +7729,7 @@ ac_cv_type_mode_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7713: result: $ac_cv_type_mode_t" >&5 +echo "$as_me:7732: result: $ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 if test "$ac_cv_type_mode_t" = yes; then : @@ -7803,7 +7822,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:7806: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:7825: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL @@ -7936,7 +7955,7 @@ EOF cat >>"$CONFIG_STATUS" <>"$CONFIG_STATUS" <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:7984: error: ambiguous option: $1 + { { echo "$as_me:8003: 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;} @@ -8000,7 +8019,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:8003: error: unrecognized option: $1 + -*) { { echo "$as_me:8022: 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;} @@ -8019,7 +8038,7 @@ cat >&5 << _ACEOF ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me 2.52.20240618, executed with +This file was extended by $as_me 2.52.20250126, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -8037,7 +8056,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:8040: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:8059: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -8146,6 +8165,8 @@ s,@SET_MAKE@,$SET_MAKE,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@GLOB_FULLPATH_POSIX@,$GLOB_FULLPATH_POSIX,;t t +s,@GLOB_FULLPATH_OTHER@,$GLOB_FULLPATH_OTHER,;t t s,@CTAGS@,$CTAGS,;t t s,@ETAGS@,$ETAGS,;t t s,@MAKE_LOWER_TAGS@,$MAKE_LOWER_TAGS,;t t @@ -8179,8 +8200,6 @@ s,@TBL_PATH@,$TBL_PATH,;t t s,@GROFF_NOTE@,$GROFF_NOTE,;t t s,@NROFF_NOTE@,$NROFF_NOTE,;t t s,@cf_man2html@,$cf_man2html,;t t -s,@GLOB_FULLPATH_POSIX@,$GLOB_FULLPATH_POSIX,;t t -s,@GLOB_FULLPATH_OTHER@,$GLOB_FULLPATH_OTHER,;t t s,@MAN2HTML_NOTE@,$MAN2HTML_NOTE,;t t s,@MAN2HTML_PATH@,$MAN2HTML_PATH,;t t s,@MAN2HTML_TEMP@,$MAN2HTML_TEMP,;t t @@ -8316,7 +8335,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:8319: creating $ac_file" >&5 + { echo "$as_me:8338: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -8334,7 +8353,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:8337: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8356: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; @@ -8347,7 +8366,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:8350: error: cannot find input file: $f" >&5 + { { echo "$as_me:8369: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8363,7 +8382,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:8366: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:8385: 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;} @@ -8372,7 +8391,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:8375: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:8394: 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;} @@ -8417,7 +8436,7 @@ cat >>"$CONFIG_STATUS" <<\EOF 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:8420: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:8439: 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;} @@ -8428,7 +8447,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:8431: WARNING: Some variables may not be substituted: + { echo "$as_me:8450: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -8477,7 +8496,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:8480: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:8499: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -8488,7 +8507,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:8491: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8510: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -8501,7 +8520,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:8504: error: cannot find input file: $f" >&5 + { { echo "$as_me:8523: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8620,7 +8639,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:8623: $ac_file is unchanged" >&5 + { echo "$as_me:8642: $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 4b59b2d..f482438 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with 'autoconf' to produce a 'configure' script -dnl $Id: configure.in,v 1.29 2023/05/19 07:58:43 tom Exp $ +dnl $Id: configure.in,v 1.30 2025/10/07 23:54:02 tom Exp $ AC_PREREQ(2.52.20200802) -AC_REVISION($Revision: 1.29 $) +AC_REVISION($Revision: 1.30 $) AC_INIT(main.c) AC_CONFIG_HEADER(config.h:config_h.in) @@ -10,7 +10,7 @@ CF_CHECK_CACHE([AC_CANONICAL_SYSTEM]) AC_ARG_PROGRAM CF_PROG_CC AC_PROG_MAKE_SET -AC_PROG_INSTALL +CF_PROG_INSTALL CF_MAKE_TAGS CF_PROG_AWK CF_PROG_LINT diff --git a/graph.c b/graph.c index 9439c41..b76f6a3 100644 --- a/graph.c +++ b/graph.c @@ -1,4 +1,4 @@ -/* $Id: graph.c,v 1.9 2020/09/10 17:22:51 tom Exp $ */ +/* $Id: graph.c,v 1.10 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -59,7 +59,7 @@ graph_state(int stateno) for (isp = itemset; isp < itemsetend; isp++) { - Value_t *sp1; + const Value_t *sp1; int rule; sp1 = sp = ritem + *isp; @@ -98,7 +98,7 @@ graph_LA(int ruleno) if (ruleno == LAruleno[larno]) { int i; - unsigned *rowp = LA + larno * tokensetsize; + const unsigned *rowp = LA + larno * tokensetsize; fprintf(graph_file, " { "); for (i = ntokens - 1; i >= 0; i--) diff --git a/install-sh b/install-sh index ec298b5..afbe3d2 100755 --- a/install-sh +++ b/install-sh @@ -3,10 +3,18 @@ scriptversion=2020-11-14.01; # UTC +# https://lists.gnu.org/archive/html/automake/2018-09/msg00002.html +# +# Originally X11R4 util/scripts/install.sh, the following comments, copyright +# and license were added by an autoconf developer in 1998 (about nine years +# later). I have made a minor change to the wording, i.e., "copyright holders" +# vs "X Consortium", for reusability -TD +# +# ----------------------------------------------------------------------------- # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. -# +# ----------------------------------------------------------------------------- # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy @@ -22,16 +30,15 @@ scriptversion=2020-11-14.01; # UTC # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# +# ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. # +# Except as contained in this notice, the name(s) of the above copyright +# holders shall not be used in advertising or otherwise to promote the sale, +# use or other dealings in this Software without prior written authorization. +# ----------------------------------------------------------------------------- # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent diff --git a/lalr.c b/lalr.c index 40746d8..85dd31b 100644 --- a/lalr.c +++ b/lalr.c @@ -1,4 +1,4 @@ -/* $Id: lalr.c,v 1.15 2024/12/14 16:48:04 tom Exp $ */ +/* $Id: lalr.c,v 1.16 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -112,7 +112,7 @@ static void set_maxrhs(void) { Value_t *itemp; - Value_t *item_end; + const Value_t *item_end; int length; int max; @@ -526,7 +526,9 @@ static void compute_lookaheads(void) { int i, n; - unsigned *fp1, *fp2, *fp3; + unsigned *fp1; + const unsigned *fp2; + unsigned *fp3; shorts *sp, *next; unsigned *rowp; @@ -586,9 +588,9 @@ traverse(int i) { unsigned *fp1; unsigned *fp2; - unsigned *fp3; + const unsigned *fp3; int j; - Value_t *rp; + const Value_t *rp; Value_t height; unsigned *base; diff --git a/lr0.c b/lr0.c index afc02b3..e3b022a 100644 --- a/lr0.c +++ b/lr0.c @@ -1,4 +1,4 @@ -/* $Id: lr0.c,v 1.22 2024/12/14 14:35:14 tom Exp $ */ +/* $Id: lr0.c,v 1.23 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -43,7 +43,7 @@ static void allocate_itemsets(void) { Value_t *itemp; - Value_t *item_end; + const Value_t *item_end; int i; int count; int max; @@ -160,8 +160,8 @@ static Value_t get_state(int symbol) { int key; - Value_t *isp1; - Value_t *iend; + const Value_t *isp1; + const Value_t *iend; core *sp; int n; @@ -184,7 +184,7 @@ get_state(int symbol) { if (sp->nitems == n) { - Value_t *isp2; + const Value_t *isp2; found = 1; isp1 = kernel_base[symbol]; @@ -223,12 +223,14 @@ static void initialize_states(void) { unsigned i; - Value_t *start_derives; + const Value_t *start_derives; core *p; start_derives = derives[start_symbol]; for (i = 0; start_derives[i] >= 0; ++i) - continue; + { + ; + } p = (core *)MALLOC(sizeof(core) + i * sizeof(Value_t)); NO_SPACE(p); @@ -251,7 +253,7 @@ new_itemsets(void) { Value_t i; int shiftcount; - Value_t *isp; + const Value_t *isp; Value_t *ksp; for (i = 0; i < nsyms; i++) @@ -286,9 +288,9 @@ new_state(int symbol) { unsigned n; core *p; - Value_t *isp1; + const Value_t *isp1; Value_t *isp2; - Value_t *iend; + const Value_t *iend; #ifdef TRACE fprintf(stderr, "Entering new_state(%d)\n", symbol); @@ -402,9 +404,9 @@ static void save_shifts(void) { shifts *p; - Value_t *sp1; + const Value_t *sp1; Value_t *sp2; - Value_t *send; + const Value_t *send; p = (shifts *)allocate((sizeof(shifts) + (unsigned)(nshifts - 1) * sizeof(Value_t))); @@ -453,7 +455,7 @@ save_reductions(void) if (count) { Value_t *rp2; - Value_t *rend; + const Value_t *rend; p = (reductions *)allocate((sizeof(reductions) + (unsigned)(count - 1) * diff --git a/main.c b/main.c index 5848b5a..7bcebf6 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.80 2024/12/31 20:50:11 tom Exp $ */ +/* $Id: main.c,v 1.81 2025/10/08 00:23:02 tom Exp $ */ #include #if !defined(_WIN32) || defined(__MINGW32__) @@ -380,7 +380,7 @@ getargs(int argc, char *argv[]) if (!strncmp(a, "--", 2)) { - char *eqls; + const char *eqls; size_t lc; size_t len; @@ -597,7 +597,7 @@ create_file_names(void) size_t len; const char *defines_suffix; const char *externs_suffix; - char *suffix; + const char *suffix; suffix = NULL; defines_suffix = DEFINES_SUFFIX; @@ -642,7 +642,7 @@ create_file_names(void) { if (explicit_file_name) { - char *xsuffix; + const char *xsuffix; defines_file_name = strdup(output_file_name); if (defines_file_name == NULL) on_error(); @@ -656,7 +656,7 @@ create_file_names(void) !strcmp(xsuffix, ".cpp"))) /* C++ (Windows) */ { strncpy(defines_file_name, output_file_name, - (size_t) (xsuffix - output_file_name + 1)); + (size_t)(xsuffix - output_file_name + 1)); defines_file_name[xsuffix - output_file_name + 1] = 'h'; defines_file_name[xsuffix - output_file_name + 2] = 0; } diff --git a/mkpar.c b/mkpar.c index 436f1d0..dd0a31d 100644 --- a/mkpar.c +++ b/mkpar.c @@ -1,4 +1,4 @@ -/* $Id: mkpar.c,v 1.19 2024/12/14 14:36:50 tom Exp $ */ +/* $Id: mkpar.c,v 1.20 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -74,8 +74,8 @@ static action * get_shifts(int stateno) { action *actions, *temp; - shifts *sp; - Value_t *to_state2; + const shifts *sp; + const Value_t *to_state2; actions = NULL; sp = shift_table[stateno]; @@ -117,7 +117,7 @@ add_reductions(int stateno, action *actions) for (i = m; i < n; i++) { int ruleno = LAruleno[i]; - unsigned *rowp = LA + i * tokensetsize; + const unsigned *rowp = LA + i * tokensetsize; for (j = ntokens - 1; j >= 0; j--) { @@ -171,8 +171,8 @@ add_reduce(action *actions, static void find_final_state(void) { - Value_t *to_state2; - shifts *p; + const Value_t *to_state2; + const shifts *p; if ((p = shift_table[0]) != NULL) { diff --git a/output.c b/output.c index 2d2fffe..0af3dc5 100644 --- a/output.c +++ b/output.c @@ -1,4 +1,4 @@ -/* $Id: output.c,v 1.102 2024/12/14 16:52:47 tom Exp $ */ +/* $Id: output.c,v 1.103 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -836,8 +836,8 @@ pack_vector(int vector) int t; Value_t loc; int ok; - Value_t *from; - Value_t *to; + const Value_t *from; + const Value_t *to; int newmax; i = order[vector]; @@ -1178,7 +1178,7 @@ output_actions(void) static int is_C_identifier(char *name) { - char *s; + const char *s; int c; s = name; diff --git a/package/byacc.spec b/package/byacc.spec index 25aa356..a779969 100644 --- a/package/byacc.spec +++ b/package/byacc.spec @@ -1,12 +1,12 @@ Summary: public domain Berkeley LALR Yacc parser generator %global AppVersion 2.0 -%global AppPatched 20241231 +%global AppPatched 20251007 %global AltProgram byacc2 %global UseProgram yacc -# $Id: byacc.spec,v 1.77 2024/12/31 15:42:50 tom Exp $ +# $Id: byacc.spec,v 1.78 2025/10/07 23:59:03 tom Exp $ Name: byacc Version: %{AppVersion}.%{AppPatched} Release: 1 @@ -103,6 +103,9 @@ popd %changelog # each patch should add its ChangeLog entries here +* Tue Oct 07 2025 Thomas E. Dickey +- testing byacc 2.0-20251007 + * Sun Jan 09 2022 Thomas Dickey - rpmlint diff --git a/package/debian/changelog b/package/debian/changelog index ffb398c..9a60230 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,9 @@ +byacc (1:2.0.20251007) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey Tue, 07 Oct 2025 19:59:03 -0400 + byacc (1:2.0.20241231) unstable; urgency=low * maintenance updates diff --git a/package/debian/copyright b/package/debian/copyright index 9c4be91..11fe224 100644 --- a/package/debian/copyright +++ b/package/debian/copyright @@ -4,7 +4,7 @@ Upstream-Contact: (Thomas E. Dickey) Source: https://invisible-island.net/byacc/ Files: * -Copyright: 2001-2023,2024 by Thomas E. Dickey +Copyright: 2001-2024,2025 by Thomas E. Dickey License: public-domain Berkeley Yacc is in the public domain; changes made to it by the current maintainer are likewise unrestricted. That applies to most of the files. @@ -41,7 +41,7 @@ License: public-domain ------------------------------------------------------------------------------- Files: aclocal.m4 -Copyright: 2004-2023,2024 by Thomas E. Dickey +Copyright: 2004-2024,2025 by Thomas E. Dickey License: other-BSD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/package/mingw-byacc.spec b/package/mingw-byacc.spec index 31d6d7a..3ca8b40 100644 --- a/package/mingw-byacc.spec +++ b/package/mingw-byacc.spec @@ -1,11 +1,11 @@ -Summary: public domain Berkeley LALR Yacc parser generator +Summary: Public domain Berkeley LALR Yacc parser generator %global AppVersion 2.0 -%global AppPatched 20241231 +%global AppPatched 20251007 %global UseProgram yacc -# $Id: mingw-byacc.spec,v 1.54 2024/12/31 15:42:50 tom Exp $ +# $Id: mingw-byacc.spec,v 1.55 2025/10/07 23:59:03 tom Exp $ Name: byacc Version: %{AppVersion}.%{AppPatched} Release: 1 @@ -58,6 +58,9 @@ strip $RPM_BUILD_ROOT%{_bindir}/%{name} %changelog # each patch should add its ChangeLog entries here +* Tue Oct 07 2025 Thomas E. Dickey +- testing byacc 2.0-20251007 + * Sun Jan 09 2022 Thomas Dickey - rpmlint diff --git a/package/pkgsrc/Makefile b/package/pkgsrc/Makefile index 4bb51c9..5806481 100644 --- a/package/pkgsrc/Makefile +++ b/package/pkgsrc/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.35 2024/07/05 20:55:55 cheusov Exp $ # -DISTNAME= byacc-20241231 +DISTNAME= byacc-20251007 CATEGORIES= devel MASTER_SITES= https://invisible-mirror.net/archives/byacc/ EXTRACT_SUFX= .tgz diff --git a/reader.c b/reader.c index c6f4d13..bc66abb 100644 --- a/reader.c +++ b/reader.c @@ -1,4 +1,4 @@ -/* $Id: reader.c,v 1.106 2024/12/31 19:39:49 tom Exp $ */ +/* $Id: reader.c,v 1.107 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -400,7 +400,8 @@ get_line(void) static char * dup_line(void) { - char *p, *s, *t; + const char *s; + char *p, *t; if (line == NULL) return (NULL); @@ -413,7 +414,9 @@ dup_line(void) s = line; t = p; while ((*t++ = *s++) != '\n') - continue; + { + ; + } return (p); } @@ -576,7 +579,7 @@ static int keyword(void) { int c; - char *t_cptr = cptr; + const char *t_cptr = cptr; c = *++cptr; if (isalpha(UCH(c))) @@ -1450,7 +1453,7 @@ get_literal(void) unterminated_string(&a); if (c == '\\') { - char *c_cptr = cptr - 1; + const char *c_cptr = cptr - 1; c = *cptr++; switch (c) @@ -1615,7 +1618,7 @@ is_reserved(char *name) if (name[0] == '$' && name[1] == '$' && isdigit(UCH(name[2]))) { - char *s = name + 3; + const char *s = name + 3; while (isdigit(UCH(*s))) ++s; @@ -1647,7 +1650,7 @@ get_number(void) { int c; long n; - char *base = cptr; + const char *base = cptr; n = 0; for (c = *cptr; isdigit(UCH(c)); c = *++cptr) @@ -1664,7 +1667,7 @@ get_number(void) } static char * -cache_tag(char *tag, size_t len) +cache_tag(const char *tag, size_t len) { int i; char *s; @@ -1701,7 +1704,7 @@ get_tag(void) int c; int t_lineno = lineno; char *t_line = dup_line(); - char *t_cptr = t_line + (cptr - line); + const char *t_cptr = t_line + (cptr - line); ++cptr; c = nextc(); @@ -1735,7 +1738,7 @@ get_tag(void) static char * scan_id(void) { - char *b = cptr; + const char *b = cptr; while (IS_NAME2(*cptr)) cptr++; @@ -2269,7 +2272,7 @@ copy_args(int *alen) static char * parse_id(char *p, char **save) { - char *b; + const char *b; while (isspace(UCH(*p))) if (*p++ == '\n') @@ -2480,7 +2483,7 @@ compile_arg(char **theptr, char *yyvaltag) } static int -can_elide_arg(char **theptr, char *yyvaltag) +can_elide_arg(char **theptr, const char *yyvaltag) { char *p = *theptr; int rv = 0; @@ -2578,7 +2581,7 @@ static struct arg_cache *arg_cache[ARG_CACHE_SIZE]; static int -lookup_arg_cache(char *code) +lookup_arg_cache(const char *code) { struct arg_cache *entry; @@ -2634,7 +2637,7 @@ advance_to_start(void) for (;;) { - char *s_cptr; + const char *s_cptr; c = nextc(); if (c != '%') @@ -2721,7 +2724,9 @@ end_rule(void) int i; for (i = nitems - 1; (i > 0) && pitem[i]; --i) - continue; + { + ; + } if (pitem[i + 1] == NULL || pitem[i + 1]->tag != plhs[nrules]->tag) default_action_warning(plhs[nrules]->name); } @@ -2908,7 +2913,7 @@ copy_action(void) #if defined(YYBTYACC) int haveyyval = 0; #endif - char *tag; + const char *tag; FILE *f = action_file; struct ainfo a; Value_t *offsets = NULL, maxoffset; @@ -2974,7 +2979,7 @@ copy_action(void) { int d_lineno = lineno; char *d_line = dup_line(); - char *d_cptr = d_line + (cptr - line); + const char *d_cptr = d_line + (cptr - line); ++cptr; tag = get_tag(); @@ -3014,7 +3019,7 @@ copy_action(void) #if defined(YYBTYACC) else if (isalpha(UCH(c)) || c == '_') { - char *arg = scan_id(); + const char *arg = scan_id(); for (i = plhs[nrules]->args - 1; i >= 0; i--) if (arg == plhs[nrules]->argnames[i]) break; @@ -3085,7 +3090,7 @@ copy_action(void) #if defined(YYBTYACC) else if (isalpha(UCH(cptr[1])) || cptr[1] == '_') { - char *arg; + const char *arg; ++cptr; arg = scan_id(); for (i = plhs[nrules]->args - 1; i >= 0; i--) @@ -3297,7 +3302,7 @@ get_code(struct ainfo *a, const char *loc) { int d_lineno = lineno; char *d_line = dup_line(); - char *d_cptr = d_line + (cptr - line); + const char *d_cptr = d_line + (cptr - line); ++cptr; tag = get_tag(); @@ -3566,7 +3571,7 @@ static int mark_symbol(void) { int c; - bucket *bp = NULL; + const bucket *bp = NULL; c = cptr[1]; if (c == '%' || c == '\\') @@ -3700,11 +3705,13 @@ pack_names(void) t = name_pool + 13; for (bp = first_symbol; bp; bp = bp->next) { - char *s = bp->name; + const char *s = bp->name; p = t; while ((*t++ = *s++) != 0) - continue; + { + ; + } FREE(bp->name); bp->name = p; } @@ -3734,7 +3741,7 @@ protect_string(char *src, char **des) *des = src; if (src) { - char *s; + const char *s; char *d; unsigned len = 1; @@ -3875,7 +3882,9 @@ pack_symbols(void) while (j < k && n == symbol_value[j]) { while (++j < k && n == symbol_value[j]) - continue; + { + ; + } ++n; } v[i]->value = n; diff --git a/verbose.c b/verbose.c index b29dbfe..35a32f3 100644 --- a/verbose.c +++ b/verbose.c @@ -1,4 +1,4 @@ -/* $Id: verbose.c,v 1.14 2021/05/20 23:57:23 tom Exp $ */ +/* $Id: verbose.c,v 1.15 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -180,7 +180,7 @@ print_core(int state) { int rule; Value_t *sp = ritem + statep->items[i]; - Value_t *sp1 = sp; + const Value_t *sp1 = sp; while (*sp >= 0) ++sp; @@ -217,7 +217,9 @@ print_nulls(int state) if (rrhs[i] + 1 == rrhs[i + 1]) { for (j = 0; j < nnulls && i > null_rules[j]; ++j) - continue; + { + ; + } if (j == nnulls) { @@ -345,8 +347,8 @@ static void print_gotos(int stateno) { int i; - Value_t *to_state2; - shifts *sp; + const Value_t *to_state2; + const shifts *sp; putc('\n', verbose_file); sp = shift_table[stateno]; diff --git a/warshall.c b/warshall.c index 3a7dc02..f2c18fc 100644 --- a/warshall.c +++ b/warshall.c @@ -1,4 +1,4 @@ -/* $Id: warshall.c,v 1.9 2020/09/22 20:17:00 tom Exp $ */ +/* $Id: warshall.c,v 1.10 2025/10/08 00:22:08 tom Exp $ */ #include "defs.h" @@ -8,9 +8,9 @@ transitive_closure(unsigned *R, int n) int rowsize; unsigned i; unsigned *rowj; - unsigned *rp; - unsigned *rend; - unsigned *relend; + const unsigned *rp; + const unsigned *rend; + const unsigned *relend; unsigned *cword; unsigned *rowi; @@ -59,7 +59,7 @@ reflexive_transitive_closure(unsigned *R, int n) int rowsize; unsigned i; unsigned *rp; - unsigned *relend; + const unsigned *relend; transitive_closure(R, n);