diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:49:17 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:49:17 +0900 |
commit | 730b811b273ff2bfe2393434b6575fe81a2cdcc9 (patch) | |
tree | 86fa1a7251cebf7ab7882aef2562ebb7b88fafd9 | |
parent | 5329e0e1802540fb28fe5a42c0fec22de0346ad6 (diff) | |
download | byacc-730b811b273ff2bfe2393434b6575fe81a2cdcc9.tar.gz byacc-730b811b273ff2bfe2393434b6575fe81a2cdcc9.tar.bz2 byacc-730b811b273ff2bfe2393434b6575fe81a2cdcc9.zip |
Imported Upstream version 20210328upstream/20210328
48 files changed, 844 insertions, 680 deletions
@@ -1,3 +1,39 @@ +2021-03-28 Thomas E. Dickey <dickey@invisible-island.net> + + * reader.c: ignore bison's "%empty" extension + + * reader.c, defs.h: + %debug was a trivial bison "extension", mark it as such + + * yacc.1: use italics in a few places where bold was inappropriate + + * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/calc1.tab.c, test/yacc/calc1.tab.h: + regen + + * reader.c: + add union tag to YYSTYPE structure for compatibility with a feature which + bison copied from Solaris yacc (request by Ella Stanforth) + + * configure: regen + + * config_h.in: update for _Noreturn feature + + * aclocal.m4: updated to work with autoheader + + * defs.h: apply syntax change needed for _Noreturn keyword + + * package/byacc.spec, package/debian/rules: use stdnoreturn + + * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + +2021-03-20 Thomas E. Dickey <dickey@invisible-island.net> + + * configure: regen + + * aclocal.m4: + resync with my-autoconf (adds --enable-stdnoreturn option) + 2021-01-09 Thomas E. Dickey <dickey@invisible-island.net> * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: @@ -1,4 +1,4 @@ -MANIFEST for byacc-20210109, version t20210109 +MANIFEST for byacc-20210328, version t20210328 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 @@ -1 +1 @@ -20210109 +20210328 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.50 2021/01/06 01:05:09 tom Exp $ +dnl $Id: aclocal.m4,v 1.52 2021/03/28 15:37:23 tom Exp $ dnl Macros for byacc configure script (Thomas E. Dickey) dnl --------------------------------------------------------------------------- dnl Copyright 2004-2020,2021 Thomas E. Dickey @@ -188,6 +188,45 @@ ifelse([$3],,[ :]dnl ])dnl ])])dnl dnl --------------------------------------------------------------------------- +dnl CF_C11_NORETURN version: 3 updated: 2021/03/28 11:36:23 +dnl --------------- +AC_DEFUN([CF_C11_NORETURN], +[ +AC_MSG_CHECKING(if you want to use C11 _Noreturn feature) +CF_ARG_ENABLE(stdnoreturn, + [ --enable-stdnoreturn enable C11 _Noreturn feature for diagnostics], + [enable_stdnoreturn=yes], + [enable_stdnoreturn=no]) +AC_MSG_RESULT($enable_stdnoreturn) + +if test $enable_stdnoreturn = yes; then +AC_CACHE_CHECK([for C11 _Noreturn feature], cf_cv_c11_noreturn, + [AC_TRY_COMPILE([ +#include <stdio.h> +#include <stdlib.h> +#include <stdnoreturn.h> +static _Noreturn void giveup(void) { exit(0); } + ], + [if (feof(stdin)) giveup()], + cf_cv_c11_noreturn=yes, + cf_cv_c11_noreturn=no) + ]) +else + cf_cv_c11_noreturn=no, +fi + +if test "$cf_cv_c11_noreturn" = yes; then + AC_DEFINE(HAVE_STDNORETURN_H, 1,[Define if <stdnoreturn.h> header is available and working]) + AC_DEFINE_UNQUOTED(STDC_NORETURN,_Noreturn,[Define if C11 _Noreturn keyword is supported]) + HAVE_STDNORETURN_H=1 +else + HAVE_STDNORETURN_H=0 +fi + +AC_SUBST(HAVE_STDNORETURN_H) +AC_SUBST(STDC_NORETURN) +])dnl +dnl --------------------------------------------------------------------------- dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20 dnl --------------- dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content @@ -541,13 +580,14 @@ fi AC_SUBST(EXTRA_CFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GCC_ATTRIBUTES version: 23 updated: 2021/01/03 18:30:50 +dnl CF_GCC_ATTRIBUTES version: 24 updated: 2021/03/20 12:00:25 dnl ----------------- dnl Test for availability of useful gcc __attribute__ directives to quiet dnl compiler warnings. Though useful, not all are supported -- and contrary dnl to documentation, unrecognized directives cause older compilers to barf. AC_DEFUN([CF_GCC_ATTRIBUTES], [AC_REQUIRE([AC_PROG_FGREP])dnl +AC_REQUIRE([CF_C11_NORETURN])dnl if test "$GCC" = yes || test "$GXX" = yes then @@ -584,8 +624,8 @@ cat > "conftest.$ac_ext" <<EOF #define GCC_SCANFLIKE(fmt,var) /*nothing*/ #endif extern void wow(char *,...) GCC_SCANFLIKE(1,2); -extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN; -extern void foo(void) GCC_NORETURN; +extern GCC_NORETURN void oops(char *,...) GCC_PRINTFLIKE(1,2); +extern GCC_NORETURN void foo(void); int main(int argc GCC_UNUSED, char *argv[[]] GCC_UNUSED) { (void)argc; (void)argv; return 0; } EOF cf_printf_attribute=no @@ -958,7 +998,7 @@ cf_save_CFLAGS="$cf_save_CFLAGS -we147" fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_MAKE_DOCS version: 4 updated: 2015/07/04 21:43:03 +dnl CF_MAKE_DOCS version: 5 updated: 2021/01/10 16:05:11 dnl ------------ dnl $1 = name(s) to generate rules for dnl $2 = suffix of corresponding manpages used as input. @@ -987,7 +1027,7 @@ ${GROFF_NOTE}.$2.ps : ${GROFF_NOTE} [\$](SHELL) -c "tbl [\$]*.$2 | groff -man" >[\$]@ ${GROFF_NOTE} ${GROFF_NOTE}.$2.txt : -${GROFF_NOTE} GROFF_NO_SGR=stupid [\$](SHELL) -c "tbl [\$]*.$2 | nroff -Tascii -man | col -bx" >[\$]@ +${GROFF_NOTE} GROFF_NO_SGR=stupid [\$](SHELL) -c "tbl [\$]*.$2 | nroff -rHY=0 -Tascii -man | col -bx" >[\$]@ ${MAN2HTML_NOTE}.$2.html : ${MAN2HTML_NOTE} ./${MAN2HTML_TEMP} [\$]* $2 man >[\$]@ @@ -1460,7 +1500,7 @@ AC_DEFUN([CF_VERBOSE], CF_MSG_LOG([$1]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WITHOUT_X version: 2 updated: 2020/10/04 10:05:20 +dnl CF_WITHOUT_X version: 3 updated: 2021/01/13 16:51:52 dnl ------------ dnl Use this to cancel the check for X headers/libraries which would be pulled dnl in via CF_GCC_WARNINGS. @@ -1469,6 +1509,8 @@ AC_DEFUN([AC_PATH_XTRA],[]) AC_DEFUN([CF_SAVE_XTRA_FLAGS],[]) AC_DEFUN([CF_RESTORE_XTRA_FLAGS],[]) AC_DEFUN([CF_CONST_X_STRING],[echo "skipping X-const check";])dnl +AC_SUBST(X_CFLAGS) +AC_SUBST(X_LIBS) [])dnl dnl --------------------------------------------------------------------------- dnl CF_WITH_DBMALLOC version: 7 updated: 2010/06/21 17:26:47 diff --git a/config_h.in b/config_h.in index 1b0fd6e..e45ce6f 100644 --- a/config_h.in +++ b/config_h.in @@ -51,6 +51,9 @@ /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H +/* Define if <stdnoreturn.h> header is available and working */ +#undef HAVE_STDNORETURN_H + /* Define if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H @@ -84,6 +87,9 @@ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define if C11 _Noreturn keyword is supported */ +#undef STDC_NORETURN + /* Define to the system name. */ #undef SYSTEM_NAME @@ -705,6 +705,7 @@ Optional Features: --enable-btyacc turn on support for the btyacc backtracking extension (default: no) --enable-warnings test: turn on gcc compiler warnings + --enable-stdnoreturn enable C11 _Noreturn feature for diagnostics --disable-echo do not display "compiling" commands --with-dmalloc test: use Gray Watson's dmalloc library --with-dbmalloc test: use Conor Cahill's dbmalloc library @@ -905,7 +906,7 @@ if test -z "$CONFIG_SITE"; then fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - { echo "$as_me:908: loading site script $ac_site_file" >&5 + { echo "$as_me:909: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} cat "$ac_site_file" >&5 . "$ac_site_file" @@ -916,7 +917,7 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then - { echo "$as_me:919: loading cache $cache_file" >&5 + { echo "$as_me:920: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; @@ -924,7 +925,7 @@ echo "$as_me: loading cache $cache_file" >&6;} esac fi else - { echo "$as_me:927: creating cache $cache_file" >&5 + { echo "$as_me:928: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -940,21 +941,21 @@ for ac_var in `(set) 2>&1 | eval ac_new_val="\$ac_env_${ac_var}_value" case "$ac_old_set,$ac_new_set" in set,) - { echo "$as_me:943: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { echo "$as_me:944: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { echo "$as_me:947: error: \`$ac_var' was not set in the previous run" >&5 + { echo "$as_me:948: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:953: error: \`$ac_var' has changed since the previous run:" >&5 + { echo "$as_me:954: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:955: former value: $ac_old_val" >&5 + { echo "$as_me:956: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:957: current value: $ac_new_val" >&5 + { echo "$as_me:958: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; @@ -973,9 +974,9 @@ echo "$as_me: current value: $ac_new_val" >&2;} fi done if "$ac_cache_corrupted"; then - { echo "$as_me:976: error: changes in the environment can compromise the build" >&5 + { echo "$as_me:977: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:978: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 + { { echo "$as_me:979: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi @@ -1004,10 +1005,10 @@ esac echo "#! $SHELL" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh -if { (echo "$as_me:1007: PATH=\".;.\"; conftest.sh") >&5 +if { (echo "$as_me:1008: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? - echo "$as_me:1010: \$? = $ac_status" >&5 + echo "$as_me:1011: \$? = $ac_status" >&5 (exit "$ac_status"); }; then ac_path_separator=';' else @@ -1035,7 +1036,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:1038: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 + { { echo "$as_me:1039: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi @@ -1045,11 +1046,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || - { { echo "$as_me:1048: error: cannot run $ac_config_sub" >&5 + { { echo "$as_me:1049: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } -echo "$as_me:1052: checking build system type" >&5 +echo "$as_me:1053: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1058,23 +1059,23 @@ else test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && - { { echo "$as_me:1061: error: cannot guess build type; you must specify one" >&5 + { { echo "$as_me:1062: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub "$ac_cv_build_alias"` || - { { echo "$as_me:1065: error: $ac_config_sub $ac_cv_build_alias failed." >&5 + { { echo "$as_me:1066: error: $ac_config_sub $ac_cv_build_alias failed." >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1070: result: $ac_cv_build" >&5 +echo "$as_me:1071: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$as_me:1077: checking host system type" >&5 +echo "$as_me:1078: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1083,12 +1084,12 @@ else test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub "$ac_cv_host_alias"` || - { { echo "$as_me:1086: error: $ac_config_sub $ac_cv_host_alias failed" >&5 + { { echo "$as_me:1087: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1091: result: $ac_cv_host" >&5 +echo "$as_me:1092: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` @@ -1096,7 +1097,7 @@ host_vendor=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then - echo "$as_me:1099: checking target system type" >&5 + echo "$as_me:1100: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1105,12 +1106,12 @@ else test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias ac_cv_target=`$ac_config_sub "$ac_cv_target_alias"` || - { { echo "$as_me:1108: error: $ac_config_sub $ac_cv_target_alias failed" >&5 + { { echo "$as_me:1109: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1113: result: $ac_cv_target" >&5 +echo "$as_me:1114: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target target_cpu=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` @@ -1142,13 +1143,13 @@ else fi test -z "$system_name" && system_name="$cf_cv_system_name" -test -n "$cf_cv_system_name" && echo "$as_me:1145: result: Configuring for $cf_cv_system_name" >&5 +test -n "$cf_cv_system_name" && echo "$as_me:1146: 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:1149: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 + echo "$as_me:1150: 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:1151: error: \"Please remove config.cache and try again.\"" >&5 + { { echo "$as_me:1152: 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 @@ -1175,7 +1176,7 @@ ac_main_return="return" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:1178: checking for $ac_word" >&5 +echo "$as_me:1179: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1190,7 +1191,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_CC="${ac_tool_prefix}gcc" -echo "$as_me:1193: found $ac_dir/$ac_word" >&5 +echo "$as_me:1194: found $ac_dir/$ac_word" >&5 break done @@ -1198,10 +1199,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1201: result: $CC" >&5 + echo "$as_me:1202: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1204: result: no" >&5 + echo "$as_me:1205: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1210,7 +1211,7 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo "$as_me:1213: checking for $ac_word" >&5 +echo "$as_me:1214: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1225,7 +1226,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_ac_ct_CC="gcc" -echo "$as_me:1228: found $ac_dir/$ac_word" >&5 +echo "$as_me:1229: found $ac_dir/$ac_word" >&5 break done @@ -1233,10 +1234,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1236: result: $ac_ct_CC" >&5 + echo "$as_me:1237: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1239: result: no" >&5 + echo "$as_me:1240: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1249,7 +1250,7 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:1252: checking for $ac_word" >&5 +echo "$as_me:1253: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1264,7 +1265,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_CC="${ac_tool_prefix}cc" -echo "$as_me:1267: found $ac_dir/$ac_word" >&5 +echo "$as_me:1268: found $ac_dir/$ac_word" >&5 break done @@ -1272,10 +1273,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1275: result: $CC" >&5 + echo "$as_me:1276: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1278: result: no" >&5 + echo "$as_me:1279: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1284,7 +1285,7 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1287: checking for $ac_word" >&5 +echo "$as_me:1288: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1299,7 +1300,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_ac_ct_CC="cc" -echo "$as_me:1302: found $ac_dir/$ac_word" >&5 +echo "$as_me:1303: found $ac_dir/$ac_word" >&5 break done @@ -1307,10 +1308,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1310: result: $ac_ct_CC" >&5 + echo "$as_me:1311: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1313: result: no" >&5 + echo "$as_me:1314: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1323,7 +1324,7 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1326: checking for $ac_word" >&5 +echo "$as_me:1327: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1343,7 +1344,7 @@ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then continue fi ac_cv_prog_CC="cc" -echo "$as_me:1346: found $ac_dir/$ac_word" >&5 +echo "$as_me:1347: found $ac_dir/$ac_word" >&5 break done @@ -1365,10 +1366,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1368: result: $CC" >&5 + echo "$as_me:1369: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1371: result: no" >&5 + echo "$as_me:1372: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1379,7 +1380,7 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1382: checking for $ac_word" >&5 +echo "$as_me:1383: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1394,7 +1395,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_CC="$ac_tool_prefix$ac_prog" -echo "$as_me:1397: found $ac_dir/$ac_word" >&5 +echo "$as_me:1398: found $ac_dir/$ac_word" >&5 break done @@ -1402,10 +1403,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1405: result: $CC" >&5 + echo "$as_me:1406: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1408: result: no" >&5 + echo "$as_me:1409: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1418,7 +1419,7 @@ if test -z "$CC"; then 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:1421: checking for $ac_word" >&5 +echo "$as_me:1422: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1433,7 +1434,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_ac_ct_CC="$ac_prog" -echo "$as_me:1436: found $ac_dir/$ac_word" >&5 +echo "$as_me:1437: found $ac_dir/$ac_word" >&5 break done @@ -1441,10 +1442,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1444: result: $ac_ct_CC" >&5 + echo "$as_me:1445: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1447: result: no" >&5 + echo "$as_me:1448: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1456,32 +1457,32 @@ fi fi -test -z "$CC" && { { echo "$as_me:1459: error: no acceptable cc found in \$PATH" >&5 +test -z "$CC" && { { echo "$as_me:1460: error: no acceptable cc found in \$PATH" >&5 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. -echo "$as_me:1464:" \ +echo "$as_me:1465:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo "$2"` -{ (eval echo "$as_me:1467: \"$ac_compiler --version </dev/null >&5\"") >&5 +{ (eval echo "$as_me:1468: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1470: \$? = $ac_status" >&5 + echo "$as_me:1471: \$? = $ac_status" >&5 (exit "$ac_status"); } -{ (eval echo "$as_me:1472: \"$ac_compiler -v </dev/null >&5\"") >&5 +{ (eval echo "$as_me:1473: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1475: \$? = $ac_status" >&5 + echo "$as_me:1476: \$? = $ac_status" >&5 (exit "$ac_status"); } -{ (eval echo "$as_me:1477: \"$ac_compiler -V </dev/null >&5\"") >&5 +{ (eval echo "$as_me:1478: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1480: \$? = $ac_status" >&5 + echo "$as_me:1481: \$? = $ac_status" >&5 (exit "$ac_status"); } cat >"conftest.$ac_ext" <<_ACEOF -#line 1484 "configure" +#line 1485 "configure" #include "confdefs.h" int @@ -1497,13 +1498,13 @@ ac_clean_files="$ac_clean_files a.out a.exe" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:1500: checking for C compiler default output" >&5 +echo "$as_me:1501: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *"conftest[^"]*"//'` -if { (eval echo "$as_me:1503: \"$ac_link_default\"") >&5 +if { (eval echo "$as_me:1504: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? - echo "$as_me:1506: \$? = $ac_status" >&5 + echo "$as_me:1507: \$? = $ac_status" >&5 (exit "$ac_status"); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last @@ -1526,34 +1527,34 @@ done else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 -{ { echo "$as_me:1529: error: C compiler cannot create executables" >&5 +{ { echo "$as_me:1530: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext -echo "$as_me:1535: result: $ac_file" >&5 +echo "$as_me:1536: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1540: checking whether the C compiler works" >&5 +echo "$as_me:1541: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' - { (eval echo "$as_me:1546: \"$ac_try\"") >&5 + { (eval echo "$as_me:1547: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1549: \$? = $ac_status" >&5 + echo "$as_me:1550: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:1556: error: cannot run C compiled programs. + { { echo "$as_me:1557: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&2;} @@ -1561,24 +1562,24 @@ If you meant to cross compile, use \`--host'." >&2;} fi fi fi -echo "$as_me:1564: result: yes" >&5 +echo "$as_me:1565: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe "conftest$ac_cv_exeext" ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1571: checking whether we are cross compiling" >&5 +echo "$as_me:1572: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1573: result: $cross_compiling" >&5 +echo "$as_me:1574: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 -echo "$as_me:1576: checking for executable suffix" >&5 +echo "$as_me:1577: checking for executable suffix" >&5 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1578: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1579: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1581: \$? = $ac_status" >&5 + echo "$as_me:1582: \$? = $ac_status" >&5 (exit "$ac_status"); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will @@ -1594,25 +1595,25 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do esac done else - { { echo "$as_me:1597: error: cannot compute EXEEXT: cannot compile and link" >&5 + { { echo "$as_me:1598: error: cannot compute EXEEXT: cannot compile and link" >&5 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; } fi rm -f "conftest$ac_cv_exeext" -echo "$as_me:1603: result: $ac_cv_exeext" >&5 +echo "$as_me:1604: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f "conftest.$ac_ext" EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -echo "$as_me:1609: checking for object suffix" >&5 +echo "$as_me:1610: checking for object suffix" >&5 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 1615 "configure" +#line 1616 "configure" #include "confdefs.h" int @@ -1624,10 +1625,10 @@ main (void) } _ACEOF rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1627: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1628: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1630: \$? = $ac_status" >&5 + echo "$as_me:1631: \$? = $ac_status" >&5 (exit "$ac_status"); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in @@ -1639,24 +1640,24 @@ done else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 -{ { echo "$as_me:1642: error: cannot compute OBJEXT: cannot compile" >&5 +{ { echo "$as_me:1643: error: cannot compute OBJEXT: cannot compile" >&5 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; } fi rm -f "conftest.$ac_cv_objext" "conftest.$ac_ext" fi -echo "$as_me:1649: result: $ac_cv_objext" >&5 +echo "$as_me:1650: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:1653: checking whether we are using the GNU C compiler" >&5 +echo "$as_me:1654: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 1659 "configure" +#line 1660 "configure" #include "confdefs.h" int @@ -1671,16 +1672,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1674: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1675: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1677: \$? = $ac_status" >&5 + echo "$as_me:1678: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1680: \"$ac_try\"") >&5 + { (eval echo "$as_me:1681: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1683: \$? = $ac_status" >&5 + echo "$as_me:1684: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_compiler_gnu=yes else @@ -1692,19 +1693,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:1695: result: $ac_cv_c_compiler_gnu" >&5 +echo "$as_me:1696: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" -echo "$as_me:1701: checking whether $CC accepts -g" >&5 +echo "$as_me:1702: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 1707 "configure" +#line 1708 "configure" #include "confdefs.h" int @@ -1716,16 +1717,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1719: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1720: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1722: \$? = $ac_status" >&5 + echo "$as_me:1723: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1725: \"$ac_try\"") >&5 + { (eval echo "$as_me:1726: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1728: \$? = $ac_status" >&5 + echo "$as_me:1729: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_prog_cc_g=yes else @@ -1735,7 +1736,7 @@ ac_cv_prog_cc_g=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:1738: result: $ac_cv_prog_cc_g" >&5 +echo "$as_me:1739: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -1762,16 +1763,16 @@ cat >"conftest.$ac_ext" <<_ACEOF #endif _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1765: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1766: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1768: \$? = $ac_status" >&5 + echo "$as_me:1769: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1771: \"$ac_try\"") >&5 + { (eval echo "$as_me:1772: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1774: \$? = $ac_status" >&5 + echo "$as_me:1775: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then for ac_declaration in \ ''\ @@ -1783,7 +1784,7 @@ if { (eval echo "$as_me:1765: \"$ac_compile\"") >&5 'void exit (int);' do cat >"conftest.$ac_ext" <<_ACEOF -#line 1786 "configure" +#line 1787 "configure" #include "confdefs.h" #include <stdlib.h> $ac_declaration @@ -1796,16 +1797,16 @@ exit (42); } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1799: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1800: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1802: \$? = $ac_status" >&5 + echo "$as_me:1803: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1805: \"$ac_try\"") >&5 + { (eval echo "$as_me:1806: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1808: \$? = $ac_status" >&5 + echo "$as_me:1809: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -1815,7 +1816,7 @@ continue fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" cat >"conftest.$ac_ext" <<_ACEOF -#line 1818 "configure" +#line 1819 "configure" #include "confdefs.h" $ac_declaration int @@ -1827,16 +1828,16 @@ exit (42); } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1830: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1831: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1833: \$? = $ac_status" >&5 + echo "$as_me:1834: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1836: \"$ac_try\"") >&5 + { (eval echo "$as_me:1837: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1839: \$? = $ac_status" >&5 + echo "$as_me:1840: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then break else @@ -1866,11 +1867,11 @@ ac_main_return="return" GCC_VERSION=none if test "$GCC" = yes ; then - echo "$as_me:1869: checking version of $CC" >&5 + echo "$as_me:1870: checking version of $CC" >&5 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$GCC_VERSION" && GCC_VERSION=unknown - echo "$as_me:1873: result: $GCC_VERSION" >&5 + echo "$as_me:1874: result: $GCC_VERSION" >&5 echo "${ECHO_T}$GCC_VERSION" >&6 fi @@ -1879,12 +1880,12 @@ INTEL_COMPILER=no if test "$GCC" = yes ; then case "$host_os" in (linux*|gnu*) - echo "$as_me:1882: checking if this is really Intel C compiler" >&5 + echo "$as_me:1883: checking if this is really Intel C compiler" >&5 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -no-gcc" cat >"conftest.$ac_ext" <<_ACEOF -#line 1887 "configure" +#line 1888 "configure" #include "confdefs.h" int @@ -1901,16 +1902,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1904: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1905: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1907: \$? = $ac_status" >&5 + echo "$as_me:1908: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1910: \"$ac_try\"") >&5 + { (eval echo "$as_me:1911: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1913: \$? = $ac_status" >&5 + echo "$as_me:1914: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then INTEL_COMPILER=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147" @@ -1921,7 +1922,7 @@ cat "conftest.$ac_ext" >&5 fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" - echo "$as_me:1924: result: $INTEL_COMPILER" >&5 + echo "$as_me:1925: result: $INTEL_COMPILER" >&5 echo "${ECHO_T}$INTEL_COMPILER" >&6 ;; esac @@ -1930,11 +1931,11 @@ fi CLANG_COMPILER=no if test "$GCC" = yes ; then - echo "$as_me:1933: checking if this is really Clang C compiler" >&5 + echo "$as_me:1934: checking if this is really Clang C compiler" >&5 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" cat >"conftest.$ac_ext" <<_ACEOF -#line 1937 "configure" +#line 1938 "configure" #include "confdefs.h" int @@ -1951,16 +1952,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:1954: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1955: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1957: \$? = $ac_status" >&5 + echo "$as_me:1958: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:1960: \"$ac_try\"") >&5 + { (eval echo "$as_me:1961: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1963: \$? = $ac_status" >&5 + echo "$as_me:1964: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then CLANG_COMPILER=yes @@ -1970,7 +1971,7 @@ cat "conftest.$ac_ext" >&5 fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" - echo "$as_me:1973: result: $CLANG_COMPILER" >&5 + echo "$as_me:1974: result: $CLANG_COMPILER" >&5 echo "${ECHO_T}$CLANG_COMPILER" >&6 fi @@ -1979,30 +1980,30 @@ CLANG_VERSION=none if test "x$CLANG_COMPILER" = "xyes" ; then case "$CC" in (c[1-9][0-9]|*/c[1-9][0-9]) - { echo "$as_me:1982: WARNING: replacing broken compiler alias $CC" >&5 + { echo "$as_me:1983: WARNING: replacing broken compiler alias $CC" >&5 echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;} CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`" CC=clang ;; esac - echo "$as_me:1989: checking version of $CC" >&5 + echo "$as_me:1990: checking version of $CC" >&5 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$CLANG_VERSION" && CLANG_VERSION=unknown - echo "$as_me:1993: result: $CLANG_VERSION" >&5 + echo "$as_me:1994: result: $CLANG_VERSION" >&5 echo "${ECHO_T}$CLANG_VERSION" >&6 for cf_clang_opt in \ -Qunused-arguments \ -Wno-error=implicit-function-declaration do - echo "$as_me:2000: checking if option $cf_clang_opt works" >&5 + echo "$as_me:2001: checking if option $cf_clang_opt works" >&5 echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $cf_clang_opt" cat >"conftest.$ac_ext" <<_ACEOF -#line 2005 "configure" +#line 2006 "configure" #include "confdefs.h" #include <stdio.h> @@ -2016,16 +2017,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:2019: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2020: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2022: \$? = $ac_status" >&5 + echo "$as_me:2023: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:2025: \"$ac_try\"") >&5 + { (eval echo "$as_me:2026: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2028: \$? = $ac_status" >&5 + echo "$as_me:2029: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_clang_optok=yes @@ -2036,13 +2037,13 @@ cat "conftest.$ac_ext" >&5 cf_clang_optok=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" - echo "$as_me:2039: result: $cf_clang_optok" >&5 + echo "$as_me:2040: result: $cf_clang_optok" >&5 echo "${ECHO_T}$cf_clang_optok" >&6 CFLAGS="$cf_save_CFLAGS" if test "$cf_clang_optok" = yes; then test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6 -echo "${as_me:-configure}:2045: testing adding option $cf_clang_opt ..." 1>&5 +echo "${as_me:-configure}:2046: testing adding option $cf_clang_opt ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_clang_opt" @@ -2051,7 +2052,7 @@ echo "${as_me:-configure}:2045: testing adding option $cf_clang_opt ..." 1>&5 done fi -echo "$as_me:2054: checking for $CC option to accept ANSI C" >&5 +echo "$as_me:2055: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2059,7 +2060,7 @@ else ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >"conftest.$ac_ext" <<_ACEOF -#line 2062 "configure" +#line 2063 "configure" #include "confdefs.h" #include <stdarg.h> #include <stdio.h> @@ -2108,16 +2109,16 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO do CC="$ac_save_CC $ac_arg" rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2111: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2112: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2114: \$? = $ac_status" >&5 + echo "$as_me:2115: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2117: \"$ac_try\"") >&5 + { (eval echo "$as_me:2118: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2120: \$? = $ac_status" >&5 + echo "$as_me:2121: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_prog_cc_stdc=$ac_arg break @@ -2134,10 +2135,10 @@ fi case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "$as_me:2137: result: none needed" >&5 + echo "$as_me:2138: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) - echo "$as_me:2140: result: $ac_cv_prog_cc_stdc" >&5 + echo "$as_me:2141: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac @@ -2145,13 +2146,13 @@ esac # This should have been defined by AC_PROG_CC : "${CC:=cc}" -echo "$as_me:2148: checking \$CFLAGS variable" >&5 +echo "$as_me:2149: checking \$CFLAGS variable" >&5 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6 case "x$CFLAGS" in (*-[IUD]*) - echo "$as_me:2152: result: broken" >&5 + echo "$as_me:2153: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:2154: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 + { echo "$as_me:2155: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;} cf_flags="$CFLAGS" CFLAGS= @@ -2259,18 +2260,18 @@ fi done ;; (*) - echo "$as_me:2262: result: ok" >&5 + echo "$as_me:2263: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac -echo "$as_me:2267: checking \$CC variable" >&5 +echo "$as_me:2268: checking \$CC variable" >&5 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 case "$CC" in (*[\ \ ]-*) - echo "$as_me:2271: result: broken" >&5 + echo "$as_me:2272: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:2273: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 + { echo "$as_me:2274: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` @@ -2387,24 +2388,24 @@ fi done test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 -echo "${as_me:-configure}:2390: testing resulting CC: '$CC' ..." 1>&5 +echo "${as_me:-configure}:2391: testing resulting CC: '$CC' ..." 1>&5 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 -echo "${as_me:-configure}:2394: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 +echo "${as_me:-configure}:2395: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 -echo "${as_me:-configure}:2398: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 +echo "${as_me:-configure}:2399: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 ;; (*) - echo "$as_me:2402: result: ok" >&5 + echo "$as_me:2403: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac -echo "$as_me:2407: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "$as_me:2408: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then @@ -2424,11 +2425,11 @@ fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:2427: result: yes" >&5 + echo "$as_me:2428: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:2431: result: no" >&5 + echo "$as_me:2432: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi @@ -2445,7 +2446,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:2448: checking for a BSD compatible install" >&5 +echo "$as_me:2449: 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 @@ -2494,7 +2495,7 @@ fi INSTALL=$ac_install_sh fi fi -echo "$as_me:2497: result: $INSTALL" >&5 +echo "$as_me:2498: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2505,7 +2506,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "$as_me:2508: checking if filesystem supports mixed-case filenames" >&5 +echo "$as_me:2509: 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 @@ -2532,7 +2533,7 @@ else fi fi -echo "$as_me:2535: result: $cf_cv_mixedcase" >&5 +echo "$as_me:2536: result: $cf_cv_mixedcase" >&5 echo "${ECHO_T}$cf_cv_mixedcase" >&6 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF @@ -2543,7 +2544,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:2546: checking for $ac_word" >&5 +echo "$as_me:2547: 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 @@ -2558,7 +2559,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:2561: found $ac_dir/$ac_word" >&5 +echo "$as_me:2562: found $ac_dir/$ac_word" >&5 break done @@ -2566,10 +2567,10 @@ fi fi CTAGS=$ac_cv_prog_CTAGS if test -n "$CTAGS"; then - echo "$as_me:2569: result: $CTAGS" >&5 + echo "$as_me:2570: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else - echo "$as_me:2572: result: no" >&5 + echo "$as_me:2573: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2580,7 +2581,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:2583: checking for $ac_word" >&5 +echo "$as_me:2584: 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 @@ -2595,7 +2596,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:2598: found $ac_dir/$ac_word" >&5 +echo "$as_me:2599: found $ac_dir/$ac_word" >&5 break done @@ -2603,10 +2604,10 @@ fi fi ETAGS=$ac_cv_prog_ETAGS if test -n "$ETAGS"; then - echo "$as_me:2606: result: $ETAGS" >&5 + echo "$as_me:2607: result: $ETAGS" >&5 echo "${ECHO_T}$ETAGS" >&6 else - echo "$as_me:2609: result: no" >&5 + echo "$as_me:2610: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2615,7 +2616,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:2618: checking for $ac_word" >&5 +echo "$as_me:2619: 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 @@ -2630,7 +2631,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:2633: found $ac_dir/$ac_word" >&5 +echo "$as_me:2634: found $ac_dir/$ac_word" >&5 break done @@ -2639,17 +2640,17 @@ fi fi MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS if test -n "$MAKE_LOWER_TAGS"; then - echo "$as_me:2642: result: $MAKE_LOWER_TAGS" >&5 + echo "$as_me:2643: result: $MAKE_LOWER_TAGS" >&5 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 else - echo "$as_me:2645: result: no" >&5 + echo "$as_me:2646: 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:2652: checking for $ac_word" >&5 +echo "$as_me:2653: 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 @@ -2664,7 +2665,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:2667: found $ac_dir/$ac_word" >&5 +echo "$as_me:2668: found $ac_dir/$ac_word" >&5 break done @@ -2673,10 +2674,10 @@ fi fi MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS if test -n "$MAKE_UPPER_TAGS"; then - echo "$as_me:2676: result: $MAKE_UPPER_TAGS" >&5 + echo "$as_me:2677: result: $MAKE_UPPER_TAGS" >&5 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 else - echo "$as_me:2679: result: no" >&5 + echo "$as_me:2680: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2700,7 +2701,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:2703: checking for $ac_word" >&5 +echo "$as_me:2704: 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 @@ -2715,7 +2716,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:2718: found $ac_dir/$ac_word" >&5 +echo "$as_me:2719: found $ac_dir/$ac_word" >&5 break done @@ -2723,17 +2724,17 @@ fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - echo "$as_me:2726: result: $AWK" >&5 + echo "$as_me:2727: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 else - echo "$as_me:2729: result: no" >&5 + echo "$as_me:2730: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$AWK" && break done -test -z "$AWK" && { { echo "$as_me:2736: error: No awk program found" >&5 +test -z "$AWK" && { { echo "$as_me:2737: error: No awk program found" >&5 echo "$as_me: error: No awk program found" >&2;} { (exit 1); exit 1; }; } @@ -2741,7 +2742,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:2744: checking for $ac_word" >&5 +echo "$as_me:2745: 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 @@ -2756,7 +2757,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:2759: found $ac_dir/$ac_word" >&5 +echo "$as_me:2760: found $ac_dir/$ac_word" >&5 break done @@ -2764,10 +2765,10 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:2767: result: $LINT" >&5 + echo "$as_me:2768: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:2770: result: no" >&5 + echo "$as_me:2771: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2780,14 +2781,14 @@ case "x$LINT" in ;; esac -echo "$as_me:2783: checking if the POSIX test-macros are already defined" >&5 +echo "$as_me:2784: 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 2790 "configure" +#line 2791 "configure" #include "confdefs.h" #include <stdio.h> int @@ -2806,16 +2807,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2809: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2810: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2812: \$? = $ac_status" >&5 + echo "$as_me:2813: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2815: \"$ac_try\"") >&5 + { (eval echo "$as_me:2816: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2818: \$? = $ac_status" >&5 + echo "$as_me:2819: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_visible=no else @@ -2826,7 +2827,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:2829: result: $cf_cv_posix_visible" >&5 +echo "$as_me:2830: result: $cf_cv_posix_visible" >&5 echo "${ECHO_T}$cf_cv_posix_visible" >&6 if test "$cf_cv_posix_visible" = no; then @@ -2871,14 +2872,14 @@ case "$host_os" in cf_gnu_xopen_source=$cf_XOPEN_SOURCE -echo "$as_me:2874: checking if this is the GNU C library" >&5 +echo "$as_me:2875: 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 2881 "configure" +#line 2882 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -2897,16 +2898,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2900: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2901: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2903: \$? = $ac_status" >&5 + echo "$as_me:2904: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2906: \"$ac_try\"") >&5 + { (eval echo "$as_me:2907: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2909: \$? = $ac_status" >&5 + echo "$as_me:2910: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_library=yes else @@ -2917,7 +2918,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:2920: result: $cf_cv_gnu_library" >&5 +echo "$as_me:2921: result: $cf_cv_gnu_library" >&5 echo "${ECHO_T}$cf_cv_gnu_library" >&6 if test x$cf_cv_gnu_library = xyes; then @@ -2925,7 +2926,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:2928: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo "$as_me:2929: 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 @@ -2937,7 +2938,7 @@ else CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 2940 "configure" +#line 2941 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -2956,16 +2957,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:2959: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2962: \$? = $ac_status" >&5 + echo "$as_me:2963: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:2965: \"$ac_try\"") >&5 + { (eval echo "$as_me:2966: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2968: \$? = $ac_status" >&5 + echo "$as_me:2969: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_library_219=yes else @@ -2977,12 +2978,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -echo "$as_me:2980: result: $cf_cv_gnu_library_219" >&5 +echo "$as_me:2981: 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:2985: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo "$as_me:2986: 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 @@ -3087,7 +3088,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >"conftest.$ac_ext" <<_ACEOF -#line 3090 "configure" +#line 3091 "configure" #include "confdefs.h" #include <limits.h> @@ -3107,16 +3108,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3110: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3113: \$? = $ac_status" >&5 + echo "$as_me:3114: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3116: \"$ac_try\"") >&5 + { (eval echo "$as_me:3117: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3119: \$? = $ac_status" >&5 + echo "$as_me:3120: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_dftsrc_219=yes else @@ -3127,7 +3128,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3130: result: $cf_cv_gnu_dftsrc_219" >&5 +echo "$as_me:3131: 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 @@ -3136,14 +3137,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 if test "x$cf_cv_gnu_dftsrc_219" != xyes; then - echo "$as_me:3139: checking if we must define _GNU_SOURCE" >&5 + echo "$as_me:3140: 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 3146 "configure" +#line 3147 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3158,16 +3159,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3161: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3162: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3164: \$? = $ac_status" >&5 + echo "$as_me:3165: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3167: \"$ac_try\"") >&5 + { (eval echo "$as_me:3168: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3170: \$? = $ac_status" >&5 + echo "$as_me:3171: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else @@ -3274,7 +3275,7 @@ if test -n "$cf_new_extra_cppflags" ; then fi cat >"conftest.$ac_ext" <<_ACEOF -#line 3277 "configure" +#line 3278 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3289,16 +3290,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3292: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3293: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3295: \$? = $ac_status" >&5 + echo "$as_me:3296: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3298: \"$ac_try\"") >&5 + { (eval echo "$as_me:3299: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3301: \$? = $ac_status" >&5 + echo "$as_me:3302: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else @@ -3313,12 +3314,12 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3316: result: $cf_cv_gnu_source" >&5 +echo "$as_me:3317: 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:3321: checking if we should also define _DEFAULT_SOURCE" >&5 + echo "$as_me:3322: 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 @@ -3328,7 +3329,7 @@ else CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 3331 "configure" +#line 3332 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3343,16 +3344,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3346: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3347: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3349: \$? = $ac_status" >&5 + echo "$as_me:3350: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3352: \"$ac_try\"") >&5 + { (eval echo "$as_me:3353: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3355: \$? = $ac_status" >&5 + echo "$as_me:3356: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_default_source=no else @@ -3363,7 +3364,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3366: result: $cf_cv_default_source" >&5 +echo "$as_me:3367: result: $cf_cv_default_source" >&5 echo "${ECHO_T}$cf_cv_default_source" >&6 if test "$cf_cv_default_source" = yes then @@ -3400,16 +3401,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:3403: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:3404: 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}:3409: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:3410: testing if the symbol is already defined go no further ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3412 "configure" +#line 3413 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3424,16 +3425,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3427: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3428: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3430: \$? = $ac_status" >&5 + echo "$as_me:3431: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3433: \"$ac_try\"") >&5 + { (eval echo "$as_me:3434: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3436: \$? = $ac_status" >&5 + echo "$as_me:3437: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else @@ -3454,7 +3455,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >"conftest.$ac_ext" <<_ACEOF -#line 3457 "configure" +#line 3458 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3469,16 +3470,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3472: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3473: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3475: \$? = $ac_status" >&5 + echo "$as_me:3476: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3478: \"$ac_try\"") >&5 + { (eval echo "$as_me:3479: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3481: \$? = $ac_status" >&5 + echo "$as_me:3482: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -3489,7 +3490,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:3492: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:3493: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -3497,10 +3498,10 @@ echo "${as_me:-configure}:3492: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:3500: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:3501: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3503 "configure" +#line 3504 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3515,16 +3516,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3518: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3519: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3521: \$? = $ac_status" >&5 + echo "$as_me:3522: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3524: \"$ac_try\"") >&5 + { (eval echo "$as_me:3525: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3527: \$? = $ac_status" >&5 + echo "$as_me:3528: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -3540,7 +3541,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3543: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:3544: 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 @@ -3680,14 +3681,14 @@ fi # cf_cv_posix_visible ;; (*) -echo "$as_me:3683: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:3684: 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 3690 "configure" +#line 3691 "configure" #include "confdefs.h" #include <stdlib.h> @@ -3706,16 +3707,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3709: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3710: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3712: \$? = $ac_status" >&5 + echo "$as_me:3713: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3715: \"$ac_try\"") >&5 + { (eval echo "$as_me:3716: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3718: \$? = $ac_status" >&5 + echo "$as_me:3719: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -3727,7 +3728,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 3730 "configure" +#line 3731 "configure" #include "confdefs.h" #include <stdlib.h> @@ -3746,16 +3747,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3749: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3750: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3752: \$? = $ac_status" >&5 + echo "$as_me:3753: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3755: \"$ac_try\"") >&5 + { (eval echo "$as_me:3756: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3758: \$? = $ac_status" >&5 + echo "$as_me:3759: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -3770,7 +3771,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:3773: result: $cf_cv_xopen_source" >&5 +echo "$as_me:3774: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -3900,16 +3901,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:3903: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:3904: 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}:3909: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:3910: testing if the symbol is already defined go no further ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 3912 "configure" +#line 3913 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3924,16 +3925,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3927: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3928: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3930: \$? = $ac_status" >&5 + echo "$as_me:3931: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3933: \"$ac_try\"") >&5 + { (eval echo "$as_me:3934: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3936: \$? = $ac_status" >&5 + echo "$as_me:3937: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else @@ -3954,7 +3955,7 @@ cf_want_posix_source=no esac if test "$cf_want_posix_source" = yes ; then cat >"conftest.$ac_ext" <<_ACEOF -#line 3957 "configure" +#line 3958 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -3969,16 +3970,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:3972: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3973: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3975: \$? = $ac_status" >&5 + echo "$as_me:3976: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:3978: \"$ac_try\"") >&5 + { (eval echo "$as_me:3979: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3981: \$? = $ac_status" >&5 + echo "$as_me:3982: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -3989,7 +3990,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:3992: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:3993: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -3997,10 +3998,10 @@ echo "${as_me:-configure}:3992: testing ifdef from value $cf_POSIX_C_SOURCE ..." test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:4000: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:4001: testing if the second compile does not leave our definition intact error ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 4003 "configure" +#line 4004 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -4015,16 +4016,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4018: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4019: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4021: \$? = $ac_status" >&5 + echo "$as_me:4022: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4024: \"$ac_try\"") >&5 + { (eval echo "$as_me:4025: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4027: \$? = $ac_status" >&5 + echo "$as_me:4028: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -4040,7 +4041,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:4043: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:4044: 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 @@ -4234,7 +4235,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}:4237: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:4238: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -4244,7 +4245,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}:4247: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:4248: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -4254,7 +4255,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}:4257: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:4258: 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" @@ -4264,10 +4265,10 @@ fi fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:4267: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:4268: 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 4270 "configure" +#line 4271 "configure" #include "confdefs.h" #include <stdlib.h> int @@ -4282,16 +4283,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4285: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4286: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4288: \$? = $ac_status" >&5 + echo "$as_me:4289: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4291: \"$ac_try\"") >&5 + { (eval echo "$as_me:4292: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4294: \$? = $ac_status" >&5 + echo "$as_me:4295: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set=yes else @@ -4300,12 +4301,12 @@ cat "conftest.$ac_ext" >&5 cf_XOPEN_SOURCE_set=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" - echo "$as_me:4303: result: $cf_XOPEN_SOURCE_set" >&5 + echo "$as_me:4304: 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 4308 "configure" +#line 4309 "configure" #include "confdefs.h" #include <stdlib.h> int @@ -4320,16 +4321,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4323: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4324: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4326: \$? = $ac_status" >&5 + echo "$as_me:4327: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4329: \"$ac_try\"") >&5 + { (eval echo "$as_me:4330: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4332: \$? = $ac_status" >&5 + echo "$as_me:4333: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set_ok=yes else @@ -4340,19 +4341,19 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_XOPEN_SOURCE_set_ok" = no then - { echo "$as_me:4343: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:4344: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:4348: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:4349: 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 4355 "configure" +#line 4356 "configure" #include "confdefs.h" #include <stdlib.h> @@ -4371,16 +4372,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4374: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4375: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4377: \$? = $ac_status" >&5 + echo "$as_me:4378: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4380: \"$ac_try\"") >&5 + { (eval echo "$as_me:4381: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4383: \$? = $ac_status" >&5 + echo "$as_me:4384: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -4392,7 +4393,7 @@ cf_save="$CPPFLAGS" CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" cat >"conftest.$ac_ext" <<_ACEOF -#line 4395 "configure" +#line 4396 "configure" #include "confdefs.h" #include <stdlib.h> @@ -4411,16 +4412,16 @@ make an error } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:4414: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4415: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4417: \$? = $ac_status" >&5 + echo "$as_me:4418: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:4420: \"$ac_try\"") >&5 + { (eval echo "$as_me:4421: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4423: \$? = $ac_status" >&5 + echo "$as_me:4424: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else @@ -4435,7 +4436,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:4438: result: $cf_cv_xopen_source" >&5 +echo "$as_me:4439: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -4558,7 +4559,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:4561: checking for $ac_word" >&5 +echo "$as_me:4562: 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 @@ -4573,7 +4574,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:4576: found $ac_dir/$ac_word" >&5 +echo "$as_me:4577: found $ac_dir/$ac_word" >&5 break done @@ -4581,10 +4582,10 @@ fi fi GREP=$ac_cv_prog_GREP if test -n "$GREP"; then - echo "$as_me:4584: result: $GREP" >&5 + echo "$as_me:4585: result: $GREP" >&5 echo "${ECHO_T}$GREP" >&6 else - echo "$as_me:4587: result: no" >&5 + echo "$as_me:4588: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4592,7 +4593,7 @@ fi done test -n "$GREP" || GREP=": " -echo "$as_me:4595: checking for egrep" >&5 +echo "$as_me:4596: 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 @@ -4604,7 +4605,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:4607: checking for $ac_word" >&5 +echo "$as_me:4608: 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 @@ -4621,7 +4622,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:4624: found $ac_dir/$ac_word" >&5 + echo "$as_me:4625: found $ac_dir/$ac_word" >&5 break fi done @@ -4632,10 +4633,10 @@ fi EGREP=$ac_cv_path_EGREP if test -n "$EGREP"; then - echo "$as_me:4635: result: $EGREP" >&5 + echo "$as_me:4636: result: $EGREP" >&5 echo "${ECHO_T}$EGREP" >&6 else - echo "$as_me:4638: result: no" >&5 + echo "$as_me:4639: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -4643,12 +4644,12 @@ fi done test -n "$EGREP" || EGREP=": " - test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:4646: error: cannot find workable egrep" >&5 + test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:4647: error: cannot find workable egrep" >&5 echo "$as_me: error: cannot find workable egrep" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:4651: result: $ac_cv_path_EGREP" >&5 +echo "$as_me:4652: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6 EGREP="$ac_cv_path_EGREP" @@ -4658,7 +4659,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:4661: checking how to run the C preprocessor" >&5 +echo "$as_me:4662: 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 @@ -4679,18 +4680,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 4682 "configure" +#line 4683 "configure" #include "confdefs.h" #include <assert.h> Syntax error _ACEOF -if { (eval echo "$as_me:4687: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4688: \"$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:4693: \$? = $ac_status" >&5 + echo "$as_me:4694: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4713,17 +4714,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 4716 "configure" +#line 4717 "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF -if { (eval echo "$as_me:4720: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4721: \"$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:4726: \$? = $ac_status" >&5 + echo "$as_me:4727: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4760,7 +4761,7 @@ fi else ac_cv_prog_CPP=$CPP fi -echo "$as_me:4763: result: $CPP" >&5 +echo "$as_me:4764: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -4770,18 +4771,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 4773 "configure" +#line 4774 "configure" #include "confdefs.h" #include <assert.h> Syntax error _ACEOF -if { (eval echo "$as_me:4778: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4779: \"$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:4784: \$? = $ac_status" >&5 + echo "$as_me:4785: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4804,17 +4805,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 4807 "configure" +#line 4808 "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF -if { (eval echo "$as_me:4811: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4812: \"$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:4817: \$? = $ac_status" >&5 + echo "$as_me:4818: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4842,7 +4843,7 @@ rm -f conftest.err "conftest.$ac_ext" if $ac_preproc_ok; then : else - { { echo "$as_me:4845: error: C preprocessor \"$CPP\" fails sanity check" >&5 + { { echo "$as_me:4846: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -4857,23 +4858,23 @@ ac_main_return="return" for ac_header in fcntl.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:4860: checking for $ac_header" >&5 +echo "$as_me:4861: 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 4866 "configure" +#line 4867 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:4870: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4871: \"$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:4876: \$? = $ac_status" >&5 + echo "$as_me:4877: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4892,7 +4893,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:4895: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:4896: 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 <<EOF @@ -4907,23 +4908,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:4910: checking for $ac_header" >&5 +echo "$as_me:4911: 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 4916 "configure" +#line 4917 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:4920: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:4921: \"$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:4926: \$? = $ac_status" >&5 + echo "$as_me:4927: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -4942,7 +4943,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:4945: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:4946: 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 <<EOF @@ -4952,7 +4953,7 @@ EOF fi done -echo "$as_me:4955: checking for working mkstemp" >&5 +echo "$as_me:4956: 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 @@ -4963,7 +4964,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_mkstemp=maybe else cat >"conftest.$ac_ext" <<_ACEOF -#line 4966 "configure" +#line 4967 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5004,15 +5005,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:5007: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5008: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5010: \$? = $ac_status" >&5 + echo "$as_me:5011: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:5012: \"$ac_try\"") >&5 + { (eval echo "$as_me:5013: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5015: \$? = $ac_status" >&5 + echo "$as_me:5016: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_mkstemp=yes @@ -5027,16 +5028,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:5030: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:5031: 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:5033: checking for mkstemp" >&5 + echo "$as_me:5034: 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 5039 "configure" +#line 5040 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -5067,16 +5068,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:5070: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5071: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5073: \$? = $ac_status" >&5 + echo "$as_me:5074: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:5076: \"$ac_try\"") >&5 + { (eval echo "$as_me:5077: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5079: \$? = $ac_status" >&5 + echo "$as_me:5080: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_mkstemp=yes else @@ -5086,7 +5087,7 @@ ac_cv_func_mkstemp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:5089: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:5090: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -5101,23 +5102,23 @@ fi for ac_header in unistd.h getopt.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:5104: checking for $ac_header" >&5 +echo "$as_me:5105: 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 5110 "configure" +#line 5111 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:5114: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:5115: \"$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:5120: \$? = $ac_status" >&5 + echo "$as_me:5121: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5136,7 +5137,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5139: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:5140: 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 <<EOF @@ -5146,7 +5147,7 @@ EOF fi done -echo "$as_me:5149: checking for header declaring getopt variables" >&5 +echo "$as_me:5150: 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 @@ -5156,7 +5157,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 5159 "configure" +#line 5160 "configure" #include "confdefs.h" #include <$cf_header> @@ -5169,16 +5170,16 @@ int x = optind; char *y = optarg } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:5172: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:5173: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5175: \$? = $ac_status" >&5 + echo "$as_me:5176: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:5178: \"$ac_try\"") >&5 + { (eval echo "$as_me:5179: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5181: \$? = $ac_status" >&5 + echo "$as_me:5182: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_getopt_header=$cf_header break @@ -5190,7 +5191,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:5193: result: $cf_cv_getopt_header" >&5 +echo "$as_me:5194: result: $cf_cv_getopt_header" >&5 echo "${ECHO_T}$cf_cv_getopt_header" >&6 if test "$cf_cv_getopt_header" != none ; then @@ -5210,13 +5211,13 @@ fi for ac_func in getopt vsnprintf do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:5213: checking for $ac_func" >&5 +echo "$as_me:5214: 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 5219 "configure" +#line 5220 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -5247,16 +5248,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:5250: \"$ac_link\"") >&5 +if { (eval echo "$as_me:5251: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5253: \$? = $ac_status" >&5 + echo "$as_me:5254: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:5256: \"$ac_try\"") >&5 + { (eval echo "$as_me:5257: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5259: \$? = $ac_status" >&5 + echo "$as_me:5260: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -5266,7 +5267,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:5269: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:5270: 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 <<EOF @@ -5276,7 +5277,7 @@ EOF fi done -echo "$as_me:5279: checking for maximum table size" >&5 +echo "$as_me:5280: 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. @@ -5286,12 +5287,12 @@ if test "${with_max_table_size+set}" = set; then fi; if test -n "$with_max_table_size" then - echo "$as_me:5289: result: $with_max_table_size" >&5 + echo "$as_me:5290: 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:5294: error: invalid value for --with-max-table-size: $with_max_table_size" >&5 + { { echo "$as_me:5295: 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 @@ -5301,11 +5302,11 @@ cat >>confdefs.h <<EOF EOF else - echo "$as_me:5304: result: default" >&5 + echo "$as_me:5305: result: default" >&5 echo "${ECHO_T}default" >&6 fi -echo "$as_me:5308: checking if backtracking extension is wanted" >&5 +echo "$as_me:5309: 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. @@ -5313,7 +5314,7 @@ if test "${enable_btyacc+set}" = set; then enableval="$enable_btyacc" fi; -echo "$as_me:5316: result: $enable_btyacc" >&5 +echo "$as_me:5317: result: $enable_btyacc" >&5 echo "${ECHO_T}$enable_btyacc" >&6 if test "$enable_btyacc" = "yes"; then @@ -5326,7 +5327,7 @@ else SKELETON=yaccpar fi -echo "$as_me:5329: checking for fgrep" >&5 +echo "$as_me:5330: 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 @@ -5338,7 +5339,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:5341: checking for $ac_word" >&5 +echo "$as_me:5342: 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 @@ -5355,7 +5356,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:5358: found $ac_dir/$ac_word" >&5 + echo "$as_me:5359: found $ac_dir/$ac_word" >&5 break fi done @@ -5366,10 +5367,10 @@ fi FGREP=$ac_cv_path_FGREP if test -n "$FGREP"; then - echo "$as_me:5369: result: $FGREP" >&5 + echo "$as_me:5370: result: $FGREP" >&5 echo "${ECHO_T}$FGREP" >&6 else - echo "$as_me:5372: result: no" >&5 + echo "$as_me:5373: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -5377,15 +5378,100 @@ fi done test -n "$FGREP" || FGREP=": " - test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:5380: error: cannot find workable fgrep" >&5 + test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:5381: error: cannot find workable fgrep" >&5 echo "$as_me: error: cannot find workable fgrep" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:5385: result: $ac_cv_path_FGREP" >&5 +echo "$as_me:5386: result: $ac_cv_path_FGREP" >&5 echo "${ECHO_T}$ac_cv_path_FGREP" >&6 FGREP="$ac_cv_path_FGREP" +echo "$as_me:5390: 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. +if test "${enable_stdnoreturn+set}" = set; then + enableval="$enable_stdnoreturn" + test "$enableval" != yes && enableval=no + if test "$enableval" != "no" ; then + enable_stdnoreturn=yes + else + enable_stdnoreturn=no + fi +else + enableval=no + enable_stdnoreturn=no + +fi; +echo "$as_me:5407: result: $enable_stdnoreturn" >&5 +echo "${ECHO_T}$enable_stdnoreturn" >&6 + +if test $enable_stdnoreturn = yes; then +echo "$as_me:5411: 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 5417 "configure" +#include "confdefs.h" + +#include <stdio.h> +#include <stdlib.h> +#include <stdnoreturn.h> +static _Noreturn void giveup(void) { exit(0); } + +int +main (void) +{ +if (feof(stdin)) giveup() + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:5434: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5437: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:5440: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5443: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +cf_cv_c11_noreturn=no +fi +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + +fi +echo "$as_me:5454: result: $cf_cv_c11_noreturn" >&5 +echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 +else + cf_cv_c11_noreturn=no, +fi + +if test "$cf_cv_c11_noreturn" = yes; then + +cat >>confdefs.h <<\EOF +#define HAVE_STDNORETURN_H 1 +EOF + +cat >>confdefs.h <<EOF +#define STDC_NORETURN _Noreturn +EOF + + HAVE_STDNORETURN_H=1 +else + HAVE_STDNORETURN_H=0 +fi + if test "$GCC" = yes || test "$GXX" = yes then @@ -5395,7 +5481,7 @@ then (*-Werror=*) test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 -echo "${as_me:-configure}:5398: testing repairing CFLAGS: $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5484: testing repairing CFLAGS: $CFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $CFLAGS @@ -5418,11 +5504,11 @@ echo "${as_me:-configure}:5398: testing repairing CFLAGS: $CFLAGS ..." 1>&5 CFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 -echo "${as_me:-configure}:5421: testing ... fixed $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5507: testing ... fixed $CFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5425: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5511: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac @@ -5434,7 +5520,7 @@ then (*-Werror=*) test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:5437: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:5523: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $CPPFLAGS @@ -5457,11 +5543,11 @@ echo "${as_me:-configure}:5437: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 CPPFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:5460: testing ... fixed $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:5546: testing ... fixed $CPPFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5464: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5550: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac @@ -5473,7 +5559,7 @@ then (*-Werror=*) test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5476: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:5562: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $LDFLAGS @@ -5496,17 +5582,17 @@ echo "${as_me:-configure}:5476: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 LDFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5499: testing ... fixed $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:5585: testing ... fixed $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5503: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5589: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac fi -echo "$as_me:5509: checking if you want to turn on gcc warnings" >&5 +echo "$as_me:5595: 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. @@ -5523,14 +5609,14 @@ else enable_warnings=no fi; -echo "$as_me:5526: result: $enable_warnings" >&5 +echo "$as_me:5612: 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" <<EOF -#line 5533 "${as_me:-configure}" +#line 5619 "${as_me:-configure}" int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } EOF if test "$INTEL_COMPILER" = yes @@ -5546,7 +5632,7 @@ then # remark #981: operands are evaluated in unspecified order # warning #279: controlling expression is constant - { echo "$as_me:5549: checking for $CC warning options..." >&5 + { echo "$as_me:5635: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" @@ -5562,12 +5648,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:5565: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5651: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5568: \$? = $ac_status" >&5 + echo "$as_me:5654: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:5570: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:5656: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -5575,7 +5661,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:5578: checking for $CC warning options..." >&5 + { echo "$as_me:5664: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" cf_warn_CONST="" @@ -5598,12 +5684,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:5601: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5687: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5604: \$? = $ac_status" >&5 + echo "$as_me:5690: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:5606: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:5692: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case "$cf_opt" in (Winline) @@ -5611,7 +5697,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}:5614: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:5700: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -5621,7 +5707,7 @@ echo "${as_me:-configure}:5614: 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}:5624: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:5710: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -5654,10 +5740,10 @@ cat > conftest.i <<EOF EOF if test "$GCC" = yes then - { echo "$as_me:5657: checking for $CC __attribute__ directives..." >&5 + { echo "$as_me:5743: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} cat > "conftest.$ac_ext" <<EOF -#line 5660 "${as_me:-configure}" +#line 5746 "${as_me:-configure}" #include "confdefs.h" #include "conftest.h" #include "conftest.i" @@ -5672,8 +5758,8 @@ cat > "conftest.$ac_ext" <<EOF #define GCC_SCANFLIKE(fmt,var) /*nothing*/ #endif extern void wow(char *,...) GCC_SCANFLIKE(1,2); -extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN; -extern void foo(void) GCC_NORETURN; +extern GCC_NORETURN void oops(char *,...) GCC_PRINTFLIKE(1,2); +extern GCC_NORETURN void foo(void); int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED) { (void)argc; (void)argv; return 0; } EOF cf_printf_attribute=no @@ -5706,12 +5792,12 @@ EOF ;; esac - if { (eval echo "$as_me:5709: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5795: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5712: \$? = $ac_status" >&5 + echo "$as_me:5798: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:5714: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:5800: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case "$cf_attribute" in @@ -5772,7 +5858,7 @@ fi fi -echo "$as_me:5775: checking if you want to see long compiling messages" >&5 +echo "$as_me:5861: 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. @@ -5806,10 +5892,10 @@ else ECHO_CC='' fi; -echo "$as_me:5809: result: $enableval" >&5 +echo "$as_me:5895: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 -echo "$as_me:5812: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:5898: 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. @@ -5826,7 +5912,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:5829: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:5915: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case ".$with_cflags" in @@ -5940,23 +6026,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:5943: checking for dmalloc.h" >&5 + echo "$as_me:6029: 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 5949 "configure" +#line 6035 "configure" #include "confdefs.h" #include <dmalloc.h> _ACEOF -if { (eval echo "$as_me:5953: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:6039: \"$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:5959: \$? = $ac_status" >&5 + echo "$as_me:6045: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -5975,11 +6061,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5978: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:6064: 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:5982: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:6068: 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 @@ -5987,7 +6073,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 5990 "configure" +#line 6076 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -6006,16 +6092,16 @@ dmalloc_debug (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:6009: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6095: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6012: \$? = $ac_status" >&5 + echo "$as_me:6098: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:6015: \"$ac_try\"") >&5 + { (eval echo "$as_me:6101: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6018: \$? = $ac_status" >&5 + echo "$as_me:6104: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -6026,7 +6112,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:6029: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:6115: 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 <<EOF @@ -6041,7 +6127,7 @@ fi fi -echo "$as_me:6044: checking if you want to use dbmalloc for testing" >&5 +echo "$as_me:6130: 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. @@ -6058,7 +6144,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:6061: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:6147: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case ".$with_cflags" in @@ -6172,23 +6258,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:6175: checking for dbmalloc.h" >&5 + echo "$as_me:6261: 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 6181 "configure" +#line 6267 "configure" #include "confdefs.h" #include <dbmalloc.h> _ACEOF -if { (eval echo "$as_me:6185: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:6271: \"$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:6191: \$? = $ac_status" >&5 + echo "$as_me:6277: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6207,11 +6293,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:6210: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:6296: 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:6214: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:6300: 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 @@ -6219,7 +6305,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 6222 "configure" +#line 6308 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -6238,16 +6324,16 @@ debug_malloc (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:6241: \"$ac_link\"") >&5 +if { (eval echo "$as_me:6327: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6244: \$? = $ac_status" >&5 + echo "$as_me:6330: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:6247: \"$ac_try\"") >&5 + { (eval echo "$as_me:6333: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6250: \$? = $ac_status" >&5 + echo "$as_me:6336: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -6258,7 +6344,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:6261: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:6347: 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 <<EOF @@ -6273,7 +6359,7 @@ fi fi -echo "$as_me:6276: checking if you want to use valgrind for testing" >&5 +echo "$as_me:6362: 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. @@ -6290,7 +6376,7 @@ EOF else with_valgrind= fi; -echo "$as_me:6293: result: ${with_valgrind:-no}" >&5 +echo "$as_me:6379: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case ".$with_cflags" in @@ -6403,7 +6489,7 @@ fi ;; esac -echo "$as_me:6406: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:6492: 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. @@ -6414,7 +6500,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:6417: result: $with_no_leaks" >&5 +echo "$as_me:6503: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$enable_leaks" = no ; then @@ -6431,7 +6517,7 @@ fi # Extract the first word of "groff", so it can be a program name with args. set dummy groff; ac_word=$2 -echo "$as_me:6434: checking for $ac_word" >&5 +echo "$as_me:6520: 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 @@ -6448,7 +6534,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:6451: found $ac_dir/$ac_word" >&5 + echo "$as_me:6537: found $ac_dir/$ac_word" >&5 break fi done @@ -6460,10 +6546,10 @@ fi GROFF_PATH=$ac_cv_path_GROFF_PATH if test -n "$GROFF_PATH"; then - echo "$as_me:6463: result: $GROFF_PATH" >&5 + echo "$as_me:6549: result: $GROFF_PATH" >&5 echo "${ECHO_T}$GROFF_PATH" >&6 else - echo "$as_me:6466: result: no" >&5 + echo "$as_me:6552: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -6471,7 +6557,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:6474: checking for $ac_word" >&5 +echo "$as_me:6560: 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 @@ -6488,7 +6574,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:6491: found $ac_dir/$ac_word" >&5 + echo "$as_me:6577: found $ac_dir/$ac_word" >&5 break fi done @@ -6499,10 +6585,10 @@ fi NROFF_PATH=$ac_cv_path_NROFF_PATH if test -n "$NROFF_PATH"; then - echo "$as_me:6502: result: $NROFF_PATH" >&5 + echo "$as_me:6588: result: $NROFF_PATH" >&5 echo "${ECHO_T}$NROFF_PATH" >&6 else - echo "$as_me:6505: result: no" >&5 + echo "$as_me:6591: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -6512,7 +6598,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:6515: checking for $ac_word" >&5 +echo "$as_me:6601: 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 @@ -6529,7 +6615,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:6532: found $ac_dir/$ac_word" >&5 + echo "$as_me:6618: found $ac_dir/$ac_word" >&5 break fi done @@ -6541,10 +6627,10 @@ fi TBL_PATH=$ac_cv_path_TBL_PATH if test -n "$TBL_PATH"; then - echo "$as_me:6544: result: $TBL_PATH" >&5 + echo "$as_me:6630: result: $TBL_PATH" >&5 echo "${ECHO_T}$TBL_PATH" >&6 else - echo "$as_me:6547: result: no" >&5 + echo "$as_me:6633: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -6564,7 +6650,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:6567: checking for $ac_word" >&5 +echo "$as_me:6653: 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 @@ -6581,7 +6667,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:6584: found $ac_dir/$ac_word" >&5 + echo "$as_me:6670: found $ac_dir/$ac_word" >&5 break fi done @@ -6593,16 +6679,16 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:6596: result: $cf_man2html" >&5 + echo "$as_me:6682: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:6599: result: no" >&5 + echo "$as_me:6685: result: no" >&5 echo "${ECHO_T}no" >&6 fi case "x$cf_man2html" in (x/*) - echo "$as_me:6605: checking for the modified Earl Hood script" >&5 + echo "$as_me:6691: 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 @@ -6611,7 +6697,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:6614: result: $cf_man2html_ok" >&5 + echo "$as_me:6700: result: $cf_man2html_ok" >&5 echo "${ECHO_T}$cf_man2html_ok" >&6 ;; (*) @@ -6620,7 +6706,7 @@ echo "${ECHO_T}$cf_man2html_ok" >&6 esac esac -echo "$as_me:6623: checking for program to convert manpage to html" >&5 +echo "$as_me:6709: 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. @@ -6635,11 +6721,11 @@ cf_with_groff=no case $cf_man2html in (yes) - echo "$as_me:6638: result: man2html" >&5 + echo "$as_me:6724: 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:6642: checking for $ac_word" >&5 +echo "$as_me:6728: 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 @@ -6656,7 +6742,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:6659: found $ac_dir/$ac_word" >&5 + echo "$as_me:6745: found $ac_dir/$ac_word" >&5 break fi done @@ -6668,10 +6754,10 @@ fi cf_man2html=$ac_cv_path_cf_man2html if test -n "$cf_man2html"; then - echo "$as_me:6671: result: $cf_man2html" >&5 + echo "$as_me:6757: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 else - echo "$as_me:6674: result: no" >&5 + echo "$as_me:6760: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -6679,11 +6765,11 @@ fi (no|groff|*/groff*) cf_with_groff=yes cf_man2html=$GROFF_PATH - echo "$as_me:6682: result: $cf_man2html" >&5 + echo "$as_me:6768: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; (*) - echo "$as_me:6686: result: $cf_man2html" >&5 + echo "$as_me:6772: result: $cf_man2html" >&5 echo "${ECHO_T}$cf_man2html" >&6 ;; esac @@ -6724,12 +6810,12 @@ else # disable hyphenation if this is groff if test "x$GROFF_PATH" != xno then - echo "$as_me:6727: checking if nroff is really groff" >&5 + echo "$as_me:6813: 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:6732: result: $cf_check_groff" >&5 + echo "$as_me:6818: result: $cf_check_groff" >&5 echo "${ECHO_T}$cf_check_groff" >&6 test "x$cf_check_groff" = xyes && NROFF_OPTS="-rHY=0" fi @@ -6760,14 +6846,14 @@ case ".$cf_man2html" in cf_man2html=`echo "$cf_man2html" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:6763: error: expected a pathname, not \"$cf_man2html\"" >&5 + { { echo "$as_me:6849: 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:6770: checking for $cf_man2html top/bottom margins" >&5 + echo "$as_me:6856: 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 @@ -6785,10 +6871,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:6788: result: $cf_man2html_top_bot" >&5 + echo "$as_me:6874: result: $cf_man2html_top_bot" >&5 echo "${ECHO_T}$cf_man2html_top_bot" >&6 - echo "$as_me:6791: checking for pagesize to use" >&5 + echo "$as_me:6877: 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 @@ -6813,7 +6899,7 @@ CF_EOF test "$cf_man2html_page" -gt 100 && cf_man2html_page=99999 rm -rf conftest* - echo "$as_me:6816: result: $cf_man2html_page" >&5 + echo "$as_me:6902: result: $cf_man2html_page" >&5 echo "${ECHO_T}$cf_man2html_page" >&6 cat >>$MAN2HTML_TEMP <<CF_EOF @@ -6832,13 +6918,13 @@ fi chmod 700 $MAN2HTML_TEMP -echo "$as_me:6835: checking for ANSI C header files" >&5 +echo "$as_me:6921: 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 6841 "configure" +#line 6927 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -6846,13 +6932,13 @@ else #include <float.h> _ACEOF -if { (eval echo "$as_me:6849: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:6935: \"$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:6855: \$? = $ac_status" >&5 + echo "$as_me:6941: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -6874,7 +6960,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 6877 "configure" +#line 6963 "configure" #include "confdefs.h" #include <string.h> @@ -6892,7 +6978,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 6895 "configure" +#line 6981 "configure" #include "confdefs.h" #include <stdlib.h> @@ -6913,7 +6999,7 @@ if test $ac_cv_header_stdc = yes; then : else cat >"conftest.$ac_ext" <<_ACEOF -#line 6916 "configure" +#line 7002 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -6939,15 +7025,15 @@ main (void) } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:6942: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7028: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:6945: \$? = $ac_status" >&5 + echo "$as_me:7031: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:6947: \"$ac_try\"") >&5 + { (eval echo "$as_me:7033: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6950: \$? = $ac_status" >&5 + echo "$as_me:7036: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -6960,7 +7046,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi fi -echo "$as_me:6963: result: $ac_cv_header_stdc" >&5 +echo "$as_me:7049: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -6976,28 +7062,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:6979: checking for $ac_header" >&5 +echo "$as_me:7065: 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 6985 "configure" +#line 7071 "configure" #include "confdefs.h" $ac_includes_default #include <$ac_header> _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:6991: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7077: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6994: \$? = $ac_status" >&5 + echo "$as_me:7080: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:6997: \"$ac_try\"") >&5 + { (eval echo "$as_me:7083: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7000: \$? = $ac_status" >&5 + echo "$as_me:7086: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_Header=yes" else @@ -7007,7 +7093,7 @@ eval "$as_ac_Header=no" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7010: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:7096: 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 <<EOF @@ -7017,13 +7103,13 @@ EOF fi done -echo "$as_me:7020: checking for mode_t" >&5 +echo "$as_me:7106: 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 7026 "configure" +#line 7112 "configure" #include "confdefs.h" $ac_includes_default int @@ -7038,16 +7124,16 @@ if (sizeof (mode_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:7041: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7127: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7044: \$? = $ac_status" >&5 + echo "$as_me:7130: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:7047: \"$ac_try\"") >&5 + { (eval echo "$as_me:7133: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7050: \$? = $ac_status" >&5 + echo "$as_me:7136: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_mode_t=yes else @@ -7057,7 +7143,7 @@ ac_cv_type_mode_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7060: result: $ac_cv_type_mode_t" >&5 +echo "$as_me:7146: 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 : @@ -7150,7 +7236,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:7153: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:7239: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL @@ -7326,7 +7412,7 @@ cat >>"$CONFIG_STATUS" <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:7329: error: ambiguous option: $1 + { { echo "$as_me:7415: 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;} @@ -7345,7 +7431,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:7348: error: unrecognized option: $1 + -*) { { echo "$as_me:7434: 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;} @@ -7382,7 +7468,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:7385: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:7471: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -7433,6 +7519,8 @@ if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@X_CFLAGS@,$X_CFLAGS,;t t +s,@X_LIBS@,$X_LIBS,;t t s,@SHELL@,$SHELL,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t @@ -7502,6 +7590,8 @@ s,@EGREP@,$EGREP,;t t s,@SKELETON@,$SKELETON,;t t s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t s,@FGREP@,$FGREP,;t t +s,@HAVE_STDNORETURN_H@,$HAVE_STDNORETURN_H,;t t +s,@STDC_NORETURN@,$STDC_NORETURN,;t t s,@ECHO_LT@,$ECHO_LT,;t t s,@ECHO_LD@,$ECHO_LD,;t t s,@RULE_CC@,$RULE_CC,;t t @@ -7648,7 +7738,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:7651: creating $ac_file" >&5 + { echo "$as_me:7741: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -7666,7 +7756,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:7669: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:7759: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -7679,7 +7769,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:7682: error: cannot find input file: $f" >&5 + { { echo "$as_me:7772: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -7695,7 +7785,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:7698: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:7788: 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;} @@ -7704,7 +7794,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:7707: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:7797: 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;} @@ -7741,7 +7831,7 @@ s,@INSTALL@,$ac_INSTALL,;t t ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:7744: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:7834: 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;} @@ -7752,7 +7842,7 @@ $ac_seen" >&2;} ${EGREP-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:7755: WARNING: Some variables may not be substituted: + { echo "$as_me:7845: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -7801,7 +7891,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:7804: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:7894: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -7812,7 +7902,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:7815: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:7905: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -7825,7 +7915,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:7828: error: cannot find input file: $f" >&5 + { { echo "$as_me:7918: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -7943,7 +8033,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:7946: $ac_file is unchanged" >&5 + { echo "$as_me:8036: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -8032,7 +8122,7 @@ ${GROFF_NOTE}.1.ps : ${GROFF_NOTE} \$(SHELL) -c "tbl \$*.1 | groff -man" >\$@ ${GROFF_NOTE} ${GROFF_NOTE}.1.txt : -${GROFF_NOTE} GROFF_NO_SGR=stupid \$(SHELL) -c "tbl \$*.1 | nroff -Tascii -man | col -bx" >\$@ +${GROFF_NOTE} GROFF_NO_SGR=stupid \$(SHELL) -c "tbl \$*.1 | nroff -rHY=0 -Tascii -man | col -bx" >\$@ ${MAN2HTML_NOTE}.1.html : ${MAN2HTML_NOTE} ./${MAN2HTML_TEMP} \$* 1 man >\$@ @@ -1,4 +1,4 @@ -/* $Id: defs.h,v 1.66 2020/09/10 20:21:20 tom Exp $ */ +/* $Id: defs.h,v 1.68 2021/03/28 17:42:58 tom Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -113,21 +113,25 @@ typedef enum ,START ,UNION ,IDENT + + /* trivial bison "extensions" which have POSIX equivalents */ + ,NONPOSIX_DEBUG + + /* other bison "extensions", some useful */ + ,ERROR_VERBOSE ,EXPECT ,EXPECT_RR - ,PURE_PARSER - ,PARSE_PARAM ,LEX_PARAM + ,PARSE_PARAM ,POSIX_YACC + ,PURE_PARSER ,TOKEN_TABLE - ,ERROR_VERBOSE - ,XXXDEBUG ,XCODE #if defined(YYBTYACC) - ,LOCATIONS ,DESTRUCTOR ,INITIAL_ACTION + ,LOCATIONS #endif } KEY_CASES; @@ -412,24 +416,20 @@ extern param *parse_param; /* global functions */ +#ifdef HAVE_STDNORETURN_H +#undef GCC_NORETURN +#include <stdnoreturn.h> +#define GCC_NORETURN _Noreturn +#endif + #ifndef GCC_NORETURN -#if defined(__dead2) -#define GCC_NORETURN __dead2 -#elif defined(__dead) -#define GCC_NORETURN __dead +#if defined(_MSC_VER) +#define GCC_NORETURN __declspec(noreturn) #else #define GCC_NORETURN /* nothing */ #endif #endif -#ifdef __GNUC__ -#define ATTRIBUTE_NORETURN __attribute__((noreturn)) -#elif defined(_MSC_VER) -#define ATTRIBUTE_NORETURN __declspec(noreturn) -#else -#define ATTRIBUTE_NORETURN -#endif - #if defined(NDEBUG) && defined(_MSC_VER) #define NODEFAULT __assume(0); #else @@ -464,76 +464,49 @@ struct ainfo extern void arg_number_disagree_warning(int a_lineno, char *a_name); extern void arg_type_disagree_warning(int a_lineno, int i, char *a_name); -ATTRIBUTE_NORETURN -extern void at_error(int a_lineno, char *a_line, char *a_cptr) GCC_NORETURN; +extern GCC_NORETURN void at_error(int a_lineno, char *a_line, char *a_cptr); extern void at_warning(int a_lineno, int i); -ATTRIBUTE_NORETURN -extern void bad_formals(void) GCC_NORETURN; +extern GCC_NORETURN void bad_formals(void); extern void default_action_warning(char *s); extern void destructor_redeclared_warning(const struct ainfo *); -ATTRIBUTE_NORETURN -extern void dollar_error(int a_lineno, char *a_line, char *a_cptr) GCC_NORETURN; +extern GCC_NORETURN void dollar_error(int a_lineno, char *a_line, char *a_cptr); extern void dollar_warning(int a_lineno, int i); -ATTRIBUTE_NORETURN -extern void fatal(const char *msg) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void illegal_character(char *c_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void illegal_tag(int t_lineno, char *t_line, char *t_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void missing_brace(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void no_grammar(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void no_space(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void open_error(const char *filename) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void over_unionized(char *u_cptr) GCC_NORETURN; +extern GCC_NORETURN void fatal(const char *msg); +extern GCC_NORETURN void illegal_character(char *c_cptr); +extern GCC_NORETURN void illegal_tag(int t_lineno, char *t_line, char *t_cptr); +extern GCC_NORETURN void missing_brace(void); +extern GCC_NORETURN void no_grammar(void); +extern GCC_NORETURN void no_space(void); +extern GCC_NORETURN void open_error(const char *filename); +extern GCC_NORETURN void over_unionized(char *u_cptr); extern void prec_redeclared(void); extern void reprec_warning(char *s); extern void restarted_warning(void); extern void retyped_warning(char *s); extern void revalued_warning(char *s); extern void start_requires_args(char *a_name); -ATTRIBUTE_NORETURN -extern void syntax_error(int st_lineno, char *st_line, char *st_cptr) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void terminal_lhs(int s_lineno) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void terminal_start(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void tokenized_start(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void undefined_goal(char *s) GCC_NORETURN; +extern GCC_NORETURN void syntax_error(int st_lineno, char *st_line, char *st_cptr); +extern GCC_NORETURN void terminal_lhs(int s_lineno); +extern GCC_NORETURN void terminal_start(char *s); +extern GCC_NORETURN void tokenized_start(char *s); +extern GCC_NORETURN void undefined_goal(char *s); extern void undefined_symbol_warning(char *s); -ATTRIBUTE_NORETURN -extern void unexpected_EOF(void) GCC_NORETURN; +extern GCC_NORETURN void unexpected_EOF(void); extern void unknown_arg_warning(int d_lineno, const char *dlr_opt, const char *d_arg, const char *d_line, const char *d_cptr); -ATTRIBUTE_NORETURN -extern void unknown_rhs(int i) GCC_NORETURN; +extern GCC_NORETURN void unknown_rhs(int i); extern void unsupported_flag_warning(const char *flag, const char *details); -ATTRIBUTE_NORETURN -extern void unterminated_action(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_comment(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_string(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_text(const struct ainfo *) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_union(const struct ainfo *) GCC_NORETURN; +extern GCC_NORETURN void unterminated_action(const struct ainfo *); +extern GCC_NORETURN void unterminated_comment(const struct ainfo *); +extern GCC_NORETURN void unterminated_string(const struct ainfo *); +extern GCC_NORETURN void unterminated_text(const struct ainfo *); +extern GCC_NORETURN void unterminated_union(const struct ainfo *); extern void untyped_arg_warning(int a_lineno, const char *dlr_opt, const char *a_name); -ATTRIBUTE_NORETURN -extern void untyped_lhs(void) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void untyped_rhs(int i, char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void used_reserved(char *s) GCC_NORETURN; -ATTRIBUTE_NORETURN -extern void unterminated_arglist(const struct ainfo *) GCC_NORETURN; +extern GCC_NORETURN void untyped_lhs(void); +extern GCC_NORETURN void untyped_rhs(int i, char *s); +extern GCC_NORETURN void used_reserved(char *s); +extern GCC_NORETURN void unterminated_arglist(const struct ainfo *); extern void wrong_number_args_warning(const char *which, const char *a_name); extern void wrong_type_for_arg_warning(int i, char *a_name); @@ -552,8 +525,7 @@ extern void show_shifts(void); /* main.c */ extern void *allocate(size_t n); -ATTRIBUTE_NORETURN -extern void done(int k) GCC_NORETURN; +extern GCC_NORETURN void done(int k); /* mkpar.c */ extern void free_parser(void); diff --git a/package/byacc.spec b/package/byacc.spec index abbcad4..1a6c697 100644 --- a/package/byacc.spec +++ b/package/byacc.spec @@ -1,9 +1,9 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc %define AltProgram btyacc -%define AppVersion 20210109 +%define AppVersion 20210328 %define UseProgram yacc -# $Id: byacc.spec,v 1.51 2021/01/09 14:32:51 tom Exp $ +# $Id: byacc.spec,v 1.53 2021/03/28 15:15:53 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 @@ -43,6 +43,7 @@ This package has the backtracking extension. %define CFG_OPTS \\\ --verbose \\\ --disable-echo \\\ + --enable-stdnoreturn \\\ --target %{_target_platform} \\\ --prefix=%{_prefix} \\\ --srcdir=%{my_srcdir} \\\ diff --git a/package/debian/changelog b/package/debian/changelog index 1b193f8..4c5060c 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,9 @@ +byacc (20210328) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 28 Mar 2021 11:14:10 -0400 + byacc (20210109) unstable; urgency=low * maintenance updates diff --git a/package/debian/rules b/package/debian/rules index 3db7e86..a9fb6b1 100755 --- a/package/debian/rules +++ b/package/debian/rules @@ -1,5 +1,5 @@ #!/usr/bin/make -f -# $Id: rules,v 1.3 2018/05/25 20:03:37 tom Exp $ +# $Id: rules,v 1.4 2021/03/28 15:15:33 tom Exp $ # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -42,6 +42,7 @@ configure = \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --sysconfdir=/etc \ + --enable-stdnoreturn \ --program-transform-name='s,^,b,' all: build diff --git a/package/mingw-byacc.spec b/package/mingw-byacc.spec index 5bc92bf..34a4427 100644 --- a/package/mingw-byacc.spec +++ b/package/mingw-byacc.spec @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20210109 +%define AppVersion 20210328 %define UseProgram yacc -# $Id: mingw-byacc.spec,v 1.31 2021/01/09 14:32:51 tom Exp $ +# $Id: mingw-byacc.spec,v 1.32 2021/03/28 15:14:10 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff --git a/package/pkgsrc/Makefile b/package/pkgsrc/Makefile index 9f2b8ff..db35b3a 100644 --- a/package/pkgsrc/Makefile +++ b/package/pkgsrc/Makefile @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $ # -DISTNAME= byacc-20210109 +DISTNAME= byacc-20210328 PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.invisible-island.net/byacc/ @@ -1,4 +1,4 @@ -/* $Id: reader.c,v 1.84 2020/09/10 20:26:13 tom Exp $ */ +/* $Id: reader.c,v 1.87 2021/03/28 17:58:37 tom Exp $ */ #include "defs.h" @@ -223,7 +223,7 @@ line_directive(void) if (ld == ldOK) { - size_t need = (size_t) (name_end - name_1st); + size_t need = (size_t)(name_end - name_1st); if ((long)need > (long)input_file_name_len) { input_file_name_len = ((need + 1) * 3) / 2; @@ -451,7 +451,7 @@ static struct keyword keywords[] = { { "binary", NONASSOC }, { "code", XCODE }, - { "debug", XXXDEBUG }, + { "debug", NONPOSIX_DEBUG }, #if defined(YYBTYACC) { "destructor", DESTRUCTOR }, #endif @@ -779,7 +779,7 @@ copy_code(void) cline++; } code_lines[pos].lines = msdone(code_mstr); - code_lines[pos].num = (size_t) cline; + code_lines[pos].num = (size_t)cline; return; } break; @@ -902,7 +902,7 @@ copy_union(void) if (!lflag) fprintf(text_file, line_format, lineno, input_file_name); - puts_both("typedef union"); + puts_both("typedef union YYSTYPE"); depth = 0; loop: @@ -1142,7 +1142,7 @@ copy_param(int k) } if (buf == 0) { - buf_size = (size_t) linesize; + buf_size = (size_t)linesize; buf = TMALLOC(char, buf_size); NO_SPACE(buf); } @@ -1154,7 +1154,7 @@ copy_param(int k) if (line == NULL) unexpected_EOF(); --cptr; - buf_size += (size_t) linesize; + buf_size += (size_t)linesize; tmp = TREALLOC(char, buf, buf_size); NO_SPACE(tmp); buf = tmp; @@ -1567,7 +1567,7 @@ get_tag(void) FREE(t_line); havetags = 1; - return cache_tag(cache, (size_t) cinc); + return cache_tag(cache, (size_t)cinc); } #if defined(YYBTYACC) @@ -1578,7 +1578,7 @@ scan_id(void) while (IS_NAME2(UCH(*cptr))) cptr++; - return cache_tag(b, (size_t) (cptr - b)); + return cache_tag(b, (size_t)(cptr - b)); } #endif @@ -1890,8 +1890,8 @@ read_declarations(void) break; #endif - case XXXDEBUG: - /* XXX: FIXME */ + case NONPOSIX_DEBUG: + tflag = 1; break; case POSIX_YACC: @@ -2042,7 +2042,7 @@ parse_id(char *p, char **save) p++; if (save) { - *save = cache_tag(b, (size_t) (p - b)); + *save = cache_tag(b, (size_t)(p - b)); } return p; } @@ -3354,6 +3354,16 @@ mark_symbol(void) ((c = cptr[4]) == 'c' || c == 'C') && ((c = cptr[5], !IS_IDENT(c)))) cptr += 5; + else if ((c == 'e' || c == 'E') && + ((c = cptr[2]) == 'm' || c == 'M') && + ((c = cptr[3]) == 'p' || c == 'P') && + ((c = cptr[4]) == 't' || c == 'T') && + ((c = cptr[5]) == 'y' || c == 'Y') && + ((c = cptr[6], !IS_IDENT(c)))) + { + cptr += 6; + return (1); + } else syntax_error(lineno, line, cptr); diff --git a/test/btyacc/btyacc_calc1.tab.c b/test/btyacc/btyacc_calc1.tab.c index c2ce351..61be014 100644 --- a/test/btyacc/btyacc_calc1.tab.c +++ b/test/btyacc/btyacc_calc1.tab.c @@ -147,7 +147,7 @@ INTERVAL vreg[26]; #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 29 "btyacc_calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/btyacc/btyacc_calc1.tab.h b/test/btyacc/btyacc_calc1.tab.h index 9cf4e75..114d213 100644 --- a/test/btyacc/btyacc_calc1.tab.h +++ b/test/btyacc/btyacc_calc1.tab.h @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/btyacc/btyacc_demo.tab.c b/test/btyacc/btyacc_demo.tab.c index d4197f8..2ad2468 100644 --- a/test/btyacc/btyacc_demo.tab.c +++ b/test/btyacc/btyacc_demo.tab.c @@ -152,7 +152,7 @@ typedef struct Decl { #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 36 "btyacc_demo.y" -typedef union { +typedef union YYSTYPE { Scope *scope; Expr *expr; Expr_List *elist; diff --git a/test/btyacc/btyacc_demo.tab.h b/test/btyacc/btyacc_demo.tab.h index 5c2b96c..082f5cd 100644 --- a/test/btyacc/btyacc_demo.tab.h +++ b/test/btyacc/btyacc_demo.tab.h @@ -20,7 +20,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { Scope *scope; Expr *expr; Expr_List *elist; diff --git a/test/btyacc/btyacc_destroy1.tab.c b/test/btyacc/btyacc_destroy1.tab.c index 6eeccbe..119d488 100644 --- a/test/btyacc/btyacc_destroy1.tab.c +++ b/test/btyacc/btyacc_destroy1.tab.c @@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 50 "btyacc_destroy1.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/btyacc_destroy1.tab.h b/test/btyacc/btyacc_destroy1.tab.h index 21b0bc2..fd25e13 100644 --- a/test/btyacc/btyacc_destroy1.tab.h +++ b/test/btyacc/btyacc_destroy1.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/btyacc_destroy2.tab.c b/test/btyacc/btyacc_destroy2.tab.c index 75779ce..7a6f29b 100644 --- a/test/btyacc/btyacc_destroy2.tab.c +++ b/test/btyacc/btyacc_destroy2.tab.c @@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 50 "btyacc_destroy2.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/btyacc_destroy2.tab.h b/test/btyacc/btyacc_destroy2.tab.h index 6f8c2b0..5f59abd 100644 --- a/test/btyacc/btyacc_destroy2.tab.h +++ b/test/btyacc/btyacc_destroy2.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/btyacc_destroy3.tab.c b/test/btyacc/btyacc_destroy3.tab.c index aef7f86..8d810b4 100644 --- a/test/btyacc/btyacc_destroy3.tab.c +++ b/test/btyacc/btyacc_destroy3.tab.c @@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 53 "btyacc_destroy3.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/btyacc_destroy3.tab.h b/test/btyacc/btyacc_destroy3.tab.h index 1ef7d6b..5a84568 100644 --- a/test/btyacc/btyacc_destroy3.tab.h +++ b/test/btyacc/btyacc_destroy3.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/calc1.tab.c b/test/btyacc/calc1.tab.c index ac519a7..16a719c 100644 --- a/test/btyacc/calc1.tab.c +++ b/test/btyacc/calc1.tab.c @@ -150,7 +150,7 @@ INTERVAL vreg[26]; #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/btyacc/calc1.tab.h b/test/btyacc/calc1.tab.h index 1802350..0162b21 100644 --- a/test/btyacc/calc1.tab.h +++ b/test/btyacc/calc1.tab.h @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/btyacc/err_inherit3.tab.c b/test/btyacc/err_inherit3.tab.c index 68720bf..539cf0b 100644 --- a/test/btyacc/err_inherit3.tab.c +++ b/test/btyacc/err_inherit3.tab.c @@ -143,7 +143,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 39 "err_inherit3.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/err_inherit3.tab.h b/test/btyacc/err_inherit3.tab.h index 5fa781d..1018167 100644 --- a/test/btyacc/err_inherit3.tab.h +++ b/test/btyacc/err_inherit3.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/err_inherit4.tab.c b/test/btyacc/err_inherit4.tab.c index a9f599a..c70174d 100644 --- a/test/btyacc/err_inherit4.tab.c +++ b/test/btyacc/err_inherit4.tab.c @@ -151,7 +151,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 41 "err_inherit4.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/err_inherit4.tab.h b/test/btyacc/err_inherit4.tab.h index 657f87f..b8c5c28 100644 --- a/test/btyacc/err_inherit4.tab.h +++ b/test/btyacc/err_inherit4.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/expr.oxout.tab.c b/test/btyacc/expr.oxout.tab.c index 527311a..ddf2264 100644 --- a/test/btyacc/expr.oxout.tab.c +++ b/test/btyacc/expr.oxout.tab.c @@ -137,7 +137,7 @@ extern void yyerror(const char *); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "expr.oxout.y" -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff --git a/test/btyacc/expr.oxout.tab.h b/test/btyacc/expr.oxout.tab.h index e570dd7..b9a9bf3 100644 --- a/test/btyacc/expr.oxout.tab.h +++ b/test/btyacc/expr.oxout.tab.h @@ -9,7 +9,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff --git a/test/btyacc/inherit1.tab.c b/test/btyacc/inherit1.tab.c index 1f72c3d..65f9434 100644 --- a/test/btyacc/inherit1.tab.c +++ b/test/btyacc/inherit1.tab.c @@ -145,7 +145,7 @@ extern void YYERROR_DECL(); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "inherit1.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/inherit1.tab.h b/test/btyacc/inherit1.tab.h index 3b8aa3d..41b0e29 100644 --- a/test/btyacc/inherit1.tab.h +++ b/test/btyacc/inherit1.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/inherit2.tab.c b/test/btyacc/inherit2.tab.c index f6cbd02..caed470 100644 --- a/test/btyacc/inherit2.tab.c +++ b/test/btyacc/inherit2.tab.c @@ -143,7 +143,7 @@ extern symbol *mksymbol(type t, class c, name id); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 39 "inherit2.y" -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/inherit2.tab.h b/test/btyacc/inherit2.tab.h index efaf455..333dab5 100644 --- a/test/btyacc/inherit2.tab.h +++ b/test/btyacc/inherit2.tab.h @@ -12,7 +12,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { class cval; type tval; diff --git a/test/btyacc/ok_syntax1.tab.c b/test/btyacc/ok_syntax1.tab.c index dcabf60..c2fe21e 100644 --- a/test/btyacc/ok_syntax1.tab.c +++ b/test/btyacc/ok_syntax1.tab.c @@ -137,7 +137,7 @@ static void YYERROR_DECL(); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -typedef union +typedef union YYSTYPE { char * cval; int ival; diff --git a/test/btyacc/ok_syntax1.tab.h b/test/btyacc/ok_syntax1.tab.h index 44b8dc3..9f70289 100644 --- a/test/btyacc/ok_syntax1.tab.h +++ b/test/btyacc/ok_syntax1.tab.h @@ -23,7 +23,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { char * cval; int ival; diff --git a/test/btyacc/varsyntax_calc1.tab.c b/test/btyacc/varsyntax_calc1.tab.c index c0133d3..8d76e92 100644 --- a/test/btyacc/varsyntax_calc1.tab.c +++ b/test/btyacc/varsyntax_calc1.tab.c @@ -151,7 +151,7 @@ INTERVAL vreg[26]; #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "varsyntax_calc1.y" -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff --git a/test/btyacc/varsyntax_calc1.tab.h b/test/btyacc/varsyntax_calc1.tab.h index 49e269c..5c28ca8 100644 --- a/test/btyacc/varsyntax_calc1.tab.h +++ b/test/btyacc/varsyntax_calc1.tab.h @@ -11,7 +11,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff --git a/test/yacc/calc1.tab.c b/test/yacc/calc1.tab.c index ad7dbfb..d8bef17 100644 --- a/test/yacc/calc1.tab.c +++ b/test/yacc/calc1.tab.c @@ -130,7 +130,7 @@ INTERVAL vreg[26]; #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "calc1.y" -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/yacc/calc1.tab.h b/test/yacc/calc1.tab.h index c0633e3..dd493d0 100644 --- a/test/yacc/calc1.tab.h +++ b/test/yacc/calc1.tab.h @@ -8,7 +8,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; double dval; diff --git a/test/yacc/expr.oxout.tab.c b/test/yacc/expr.oxout.tab.c index 11b41b4..947818b 100644 --- a/test/yacc/expr.oxout.tab.c +++ b/test/yacc/expr.oxout.tab.c @@ -117,7 +117,7 @@ extern void yyerror(const char *); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 31 "expr.oxout.y" -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff --git a/test/yacc/expr.oxout.tab.h b/test/yacc/expr.oxout.tab.h index bdaa83b..517c971 100644 --- a/test/yacc/expr.oxout.tab.h +++ b/test/yacc/expr.oxout.tab.h @@ -6,7 +6,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union { +typedef union YYSTYPE { struct yyyOxAttrbs { struct yyyStackItem *yyyOxStackItem; } yyyOxAttrbs; diff --git a/test/yacc/ok_syntax1.tab.c b/test/yacc/ok_syntax1.tab.c index 2bff0c8..9f54ff4 100644 --- a/test/yacc/ok_syntax1.tab.c +++ b/test/yacc/ok_syntax1.tab.c @@ -117,7 +117,7 @@ static void YYERROR_DECL(); #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 43 "ok_syntax1.y" -typedef union +typedef union YYSTYPE { char * cval; int ival; diff --git a/test/yacc/ok_syntax1.tab.h b/test/yacc/ok_syntax1.tab.h index 892b211..ca92fd7 100644 --- a/test/yacc/ok_syntax1.tab.h +++ b/test/yacc/ok_syntax1.tab.h @@ -20,7 +20,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { char * cval; int ival; diff --git a/test/yacc/varsyntax_calc1.tab.c b/test/yacc/varsyntax_calc1.tab.c index e92f365..b83725d 100644 --- a/test/yacc/varsyntax_calc1.tab.c +++ b/test/yacc/varsyntax_calc1.tab.c @@ -131,7 +131,7 @@ INTERVAL vreg[26]; #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 #line 32 "varsyntax_calc1.y" -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ diff --git a/test/yacc/varsyntax_calc1.tab.h b/test/yacc/varsyntax_calc1.tab.h index fd07f2c..50369b2 100644 --- a/test/yacc/varsyntax_calc1.tab.h +++ b/test/yacc/varsyntax_calc1.tab.h @@ -8,7 +8,7 @@ #endif #ifndef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 -typedef union +typedef union YYSTYPE { int ival; /* dreg & vreg array index values*/ double dval; /* floating point values*/ @@ -1,4 +1,4 @@ -.\" $Id: yacc.1,v 1.35 2020/09/10 19:30:12 tom Exp $ +.\" $Id: yacc.1,v 1.36 2021/03/28 16:39:46 tom Exp $ .\" .\" .TH YACC 1 "July\ 15,\ 1990" .\" .UC 6 @@ -27,7 +27,7 @@ .ie n .IP \(bu 4 .el .IP \(bu 2 .. -.TH YACC 1 "September 10, 2020" "Berkeley Yacc" "User Commands" +.TH YACC 1 "March 28, 2021" "Berkeley Yacc" "User Commands" .SH NAME \*N \- an LALR(1) parser generator .SH SYNOPSIS @@ -252,7 +252,7 @@ pointers to dynamically allocated memory. The bracketed \fIcode\fP is invoked whenever the parser discards one of the symbols. Within \fIcode\fP, \*(``\fB$$\fP\*('' or -\*(``\fB$<tag>$\fP\*('' designates the semantic value associated with the +\*(``\fB$<\fP\fItag\fP\fB>$\fP\*('' designates the semantic value associated with the discarded symbol, and \*(``\fB@$\fP\*('' designates its location (see \fB%locations\fP directive). .IP @@ -291,8 +291,8 @@ with each token, provided by the lexer in the global variable \fByylloc\fP, similar to management of semantic value information provided in \fByylval\fP. .IP As for semantic values, locations can be referenced within actions using -\fB@$\fP to refer to the location of the left hand side symbol, and \fB@N\fP -(\fBN\fP an integer) to refer to the location of one of the right hand side +\fB@$\fP to refer to the location of the left hand side symbol, and \fB@\fP\fIN\fP +(\fIN\fP an integer) to refer to the location of one of the right hand side symbols. Also as for semantic values, when a rule is matched, a default action is used the compute the location represented by \fB@$\fP as the |