"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
bison-3.8.tar.xz and bison-3.8.1.tar.xz

About: Bison is a general-purpose parser generator.

configure  (bison-3.8.tar.xz):configure  (bison-3.8.1.tar.xz)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for GNU Bison 3.8. # Generated by GNU Autoconf 2.71 for GNU Bison 3.8.1.
# #
# Report bugs to <bug-bison@gnu.org>. # Report bugs to <bug-bison@gnu.org>.
# #
# #
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
# Inc. # Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
skipping to change at line 603 skipping to change at line 603
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS= LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='GNU Bison' PACKAGE_NAME='GNU Bison'
PACKAGE_TARNAME='bison' PACKAGE_TARNAME='bison'
PACKAGE_VERSION='3.8' PACKAGE_VERSION='3.8.1'
PACKAGE_STRING='GNU Bison 3.8' PACKAGE_STRING='GNU Bison 3.8.1'
PACKAGE_BUGREPORT='bug-bison@gnu.org' PACKAGE_BUGREPORT='bug-bison@gnu.org'
PACKAGE_URL='https://www.gnu.org/software/bison/' PACKAGE_URL='https://www.gnu.org/software/bison/'
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stddef.h> #include <stddef.h>
#ifdef HAVE_STDIO_H #ifdef HAVE_STDIO_H
# include <stdio.h> # include <stdio.h>
#endif #endif
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
skipping to change at line 2855 skipping to change at line 2855
eval ac_cv_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_value=\$${ac_var}
done done
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures GNU Bison 3.8 to adapt to many kinds of systems. \`configure' configures GNU Bison 3.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
skipping to change at line 2926 skipping to change at line 2926
--program-transform-name=PROGRAM run sed PROGRAM on installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types: System types:
--build=BUILD configure for building on BUILD [guessed] --build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD] --host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of GNU Bison 3.8:";; short | recursive ) echo "Configuration of GNU Bison 3.8.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1") --enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0") --disable-silent-rules verbose build output (undo: "make V=0")
--enable-dependency-tracking --enable-dependency-tracking
skipping to change at line 3059 skipping to change at line 3059
else else
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir " >&2 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir " >&2
fi || ac_status=$? fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; } cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
GNU Bison configure 3.8 GNU Bison configure 3.8.1
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit exit
fi fi
## ------------------------ ## ## ------------------------ ##
skipping to change at line 3807 skipping to change at line 3807
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
ac_unsafe_a="$ac_unsafe_z#~" ac_unsafe_a="$ac_unsafe_z#~"
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ ac_safe_unquote"`;; ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ ac_safe_unquote"`;;
esac esac
cat >config.log <<_ACEOF cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by GNU Bison $as_me 3.8, which was It was created by GNU Bison $as_me 3.8.1, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
_ACEOF _ACEOF
exec 5>>config.log exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
skipping to change at line 5372 skipping to change at line 5372
if test -z "$CYGPATH_W"; then if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w' CYGPATH_W='cygpath -w'
else else
CYGPATH_W=echo CYGPATH_W=echo
fi fi
fi fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='bison' PACKAGE='bison'
VERSION='3.8' VERSION='3.8.1'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
# Some tools Automake needs. # Some tools Automake needs.
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
skipping to change at line 8748 skipping to change at line 8748
# Code from module strchrnul: # Code from module strchrnul:
# Code from module strdup-posix: # Code from module strdup-posix:
# Code from module streq: # Code from module streq:
# Code from module strerror: # Code from module strerror:
# Code from module strerror-override: # Code from module strerror-override:
# Code from module strerror_r-posix: # Code from module strerror_r-posix:
# Code from module string: # Code from module string:
# Code from module strings: # Code from module strings:
# Code from module strndup: # Code from module strndup:
# Code from module strnlen: # Code from module strnlen:
# Code from module strtod:
# Code from module strverscmp: # Code from module strverscmp:
# Code from module sys_ioctl: # Code from module sys_ioctl:
# Code from module sys_resource: # Code from module sys_resource:
# Code from module sys_stat: # Code from module sys_stat:
# Code from module sys_time: # Code from module sys_time:
# Code from module sys_times: # Code from module sys_times:
# Code from module sys_types: # Code from module sys_types:
# Code from module sys_wait: # Code from module sys_wait:
# Code from module termios: # Code from module termios:
# Code from module thread-optim: # Code from module thread-optim:
skipping to change at line 12254 skipping to change at line 12255
public static void main (String[] args) { public static void main (String[] args) {
} }
} }
EOF EOF
echo "$goodcode" > conftest.java echo "$goodcode" > conftest.java
echo "$failcode" > conftestfail.java echo "$failcode" > conftestfail.java
if test -n "$JAVAC"; then if test -n "$JAVAC"; then
if $JAVAC --version 2>/dev/null | sed -e 1q | grep gcj > /dev/null; then if $JAVAC --version 2>/dev/null | sed -e 1q | grep gcj > /dev/null; then
if $JAVAC --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then if $JAVAC --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12532: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12533: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1 $JAVAC -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12539: $JAVAC -fsource=$source_version -d . conftest .java" >&5 if { echo "$as_me:12540: $JAVAC -fsource=$source_version -d . conftest .java" >&5
$JAVAC -fsource="$source_version" -d . conftest.java >&5 2>&1 $JAVAC -fsource="$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \
&& { echo "$as_me:12544: $JAVAC -d . conftestfail.java" >&5 && { echo "$as_me:12545: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1 $JAVAC -d . conftestfail.java >&5 2>&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12548: $JAVAC -fsource=$source_version -d . con ftestfail.java" >&5 && ! { echo "$as_me:12549: $JAVAC -fsource=$source_version -d . con ftestfail.java" >&5
$JAVAC -fsource="$source_version" -d . conftestfail.java >&5 2>&1 $JAVAC -fsource="$source_version" -d . conftestfail.java >&5 2>&1
}; then }; then
CONF_JAVAC="$JAVAC -fsource=$source_version" CONF_JAVAC="$JAVAC -fsource=$source_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="$JAVAC" CONF_JAVAC="$JAVAC"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12562: $JAVAC -fsource=$source_version -ftarget=$tar get_version -d . conftest.java" >&5 if { echo "$as_me:12563: $JAVAC -fsource=$source_version -ftarget=$tar get_version -d . conftest.java" >&5
$JAVAC -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1 $JAVAC -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then
CONF_JAVAC="$JAVAC -fsource=$source_version -ftarget=$target_version " CONF_JAVAC="$JAVAC -fsource=$source_version -ftarget=$target_version "
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
fi fi
else else
if test "$target_version" = 1.4 && test "$source_version" = 1.4; then if test "$target_version" = 1.4 && test "$source_version" = 1.4; then
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12575: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12576: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1 $JAVAC -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
CONF_JAVAC="$JAVAC" CONF_JAVAC="$JAVAC"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
if test "$target_version" = 1.4 && test "$source_version" = 1.3; then if test "$target_version" = 1.4 && test "$source_version" = 1.3; then
javac_works= javac_works=
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12587: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12588: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1 $JAVAC -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
javac_works=1 javac_works=1
fi fi
javac_noassert_works= javac_noassert_works=
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12595: $JAVAC -fno-assert -d . conftest.java" >&5 if { echo "$as_me:12596: $JAVAC -fno-assert -d . conftest.java" >&5
$JAVAC -fno-assert -d . conftest.java >&5 2>&1 $JAVAC -fno-assert -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
javac_noassert_works=1 javac_noassert_works=1
fi fi
if test -n "$javac_works" && test -n "$javac_noassert_works"; then if test -n "$javac_works" && test -n "$javac_noassert_works"; then
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12603: $JAVAC -d . conftestfail.java" >&5 if { echo "$as_me:12604: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1 $JAVAC -d . conftestfail.java >&5 2>&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12607: $JAVAC -fno-assert -d . conftestfail .java" >&5 && ! { echo "$as_me:12608: $JAVAC -fno-assert -d . conftestfail .java" >&5
$JAVAC -fno-assert -d . conftestfail.java >&5 2>&1 $JAVAC -fno-assert -d . conftestfail.java >&5 2>&1
}; then }; then
javac_works= javac_works=
fi fi
fi fi
if test -n "$javac_works"; then if test -n "$javac_works"; then
CONF_JAVAC="$JAVAC" CONF_JAVAC="$JAVAC"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
skipping to change at line 12357 skipping to change at line 12358
fi fi
fi fi
else else
if test "$source_version" = 1.5; then if test "$source_version" = 1.5; then
case "$target_version" in case "$target_version" in
1.1 | 1.2 | 1.3 | 1.4 | 1.5) ;; 1.1 | 1.2 | 1.3 | 1.4 | 1.5) ;;
*) source_version='1.6' ;; *) source_version='1.6' ;;
esac esac
fi fi
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12635: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12636: $JAVAC -d . conftest.java" >&5
$JAVAC -d . conftest.java >&5 2>&1 $JAVAC -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/n ull 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/n ull 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12642: $JAVAC -source $source_version -d . conftest.ja va" >&5 if { echo "$as_me:12643: $JAVAC -source $source_version -d . conftest.ja va" >&5
$JAVAC -source "$source_version" -d . conftest.java >&5 2>&1 $JAVAC -source "$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5 \
&& { echo "$as_me:12647: $JAVAC -d . conftestfail.java" >&5 && { echo "$as_me:12648: $JAVAC -d . conftestfail.java" >&5
$JAVAC -d . conftestfail.java >&5 2>&1 $JAVAC -d . conftestfail.java >&5 2>&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12651: $JAVAC -source $source_version -d . confte stfail.java" >&5 && ! { echo "$as_me:12652: $JAVAC -source $source_version -d . confte stfail.java" >&5
$JAVAC -source "$source_version" -d . conftestfail.java >&5 2> &1 $JAVAC -source "$source_version" -d . conftestfail.java >&5 2> &1
}; then }; then
CONF_JAVAC="$JAVAC -source $source_version" CONF_JAVAC="$JAVAC -source $source_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="$JAVAC" CONF_JAVAC="$JAVAC"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12664: $JAVAC -target $target_version -d . conftest.ja va" >&5 if { echo "$as_me:12665: $JAVAC -target $target_version -d . conftest.ja va" >&5
$JAVAC -target "$target_version" -d . conftest.java >&5 2>&1 $JAVAC -target "$target_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12671: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5 if { echo "$as_me:12672: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5
$JAVAC -target "$target_version" -source "$source_version" -d . c onftest.java >&5 2>&1 $JAVAC -target "$target_version" -source "$source_version" -d . c onftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \
&& { echo "$as_me:12676: $JAVAC -target $target_version -d . confte stfail.java" >&5 && { echo "$as_me:12677: $JAVAC -target $target_version -d . confte stfail.java" >&5
$JAVAC -target "$target_version" -d . conftestfail.java >&5 2> &1 $JAVAC -target "$target_version" -d . conftestfail.java >&5 2> &1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12680: $JAVAC -target $target_version -source $ source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12681: $JAVAC -target $target_version -source $ source_version -d . conftestfail.java" >&5
$JAVAC -target "$target_version" -source "$source_version" - d . conftestfail.java >&5 2>&1 $JAVAC -target "$target_version" -source "$source_version" - d . conftestfail.java >&5 2>&1
}; then }; then
CONF_JAVAC="$JAVAC -target $target_version -source $source_version" CONF_JAVAC="$JAVAC -target $target_version -source $source_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="$JAVAC -target $target_version" CONF_JAVAC="$JAVAC -target $target_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12693: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5 if { echo "$as_me:12694: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5
$JAVAC -target "$target_version" -source "$source_version" -d . c onftest.java >&5 2>&1 $JAVAC -target "$target_version" -source "$source_version" -d . c onftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then
CONF_JAVAC="$JAVAC -target $target_version -source $source_version" CONF_JAVAC="$JAVAC -target $target_version -source $source_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
fi fi
fi fi
skipping to change at line 12545 skipping to change at line 12546
fi fi
HAVE_JIKES_IN_PATH=$ac_cv_prog_HAVE_JIKES_IN_PATH HAVE_JIKES_IN_PATH=$ac_cv_prog_HAVE_JIKES_IN_PATH
if test -n "$HAVE_JIKES_IN_PATH"; then if test -n "$HAVE_JIKES_IN_PATH"; then
: :
else else
: :
fi fi
if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_GCJ_IN_PATH"; then if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_GCJ_IN_PATH"; then
if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^3\.[01]/d' | grep '^[3-9]' >/dev/null; then if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^3\.[01]/d' | grep '^[3-9]' >/dev/null; then
if { echo "$as_me:12826: gcj -C -d . conftestlib.java" >&5 if { echo "$as_me:12827: gcj -C -d . conftestlib.java" >&5
gcj -C -d . conftestlib.java >&5 2>&1 gcj -C -d . conftestlib.java >&5 2>&1
}; then }; then
if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then if gcj --version 2>/dev/null | sed -e 's,^[^0-9]*,,' -e 1q | sed -e '/^4\.[012]/d' | grep '^[4-9]' >/dev/null; then
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12831: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12832: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1 gcj -C -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12838: gcj -C -fsource=$source_version -d . conf test.java" >&5 if { echo "$as_me:12839: gcj -C -fsource=$source_version -d . conf test.java" >&5
gcj -C -fsource="$source_version" -d . conftest.java >&5 2>&1 gcj -C -fsource="$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5 \
&& { echo "$as_me:12843: gcj -C -d . conftestfail.java" >&5 && { echo "$as_me:12844: gcj -C -d . conftestfail.java" >&5
gcj -C -d . conftestfail.java >&5 2>&1 gcj -C -d . conftestfail.java >&5 2>&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12847: gcj -C -fsource=$source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12848: gcj -C -fsource=$source_version -d . conftestfail.java" >&5
gcj -C -fsource="$source_version" -d . conftestfail.java >&5 2>&1 gcj -C -fsource="$source_version" -d . conftestfail.java >&5 2>&1
}; then }; then
CONF_JAVAC="gcj -C -fsource=$source_version" CONF_JAVAC="gcj -C -fsource=$source_version"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="gcj -C" CONF_JAVAC="gcj -C"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12861: gcj -C -fsource=$source_version -ftarget= $target_version -d . conftest.java" >&5 if { echo "$as_me:12862: gcj -C -fsource=$source_version -ftarget= $target_version -d . conftest.java" >&5
gcj -C -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1 gcj -C -fsource="$source_version" -ftarget="$target_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev/null 2>&5; then
CONF_JAVAC="gcj -C -fsource=$source_version -ftarget=$target_ver sion" CONF_JAVAC="gcj -C -fsource=$source_version -ftarget=$target_ver sion"
HAVE_JAVAC_ENVVAR=1 HAVE_JAVAC_ENVVAR=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
fi fi
else else
if test "$target_version" = 1.4 && test "$source_version" = 1.4; then if test "$target_version" = 1.4 && test "$source_version" = 1.4; then
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12874: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12875: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1 gcj -C -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
CONF_JAVAC="gcj -C" CONF_JAVAC="gcj -C"
HAVE_GCJ_C=1 HAVE_GCJ_C=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
if test "$target_version" = 1.4 && test "$source_version" = 1.3; t hen if test "$target_version" = 1.4 && test "$source_version" = 1.3; t hen
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12885: gcj -C -fno-assert -d . conftest.java" >&5 if { echo "$as_me:12886: gcj -C -fno-assert -d . conftest.java" >&5
gcj -C -fno-assert -d . conftest.java >&5 2>&1 gcj -C -fno-assert -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
CONF_JAVAC="gcj -C -fno-assert" CONF_JAVAC="gcj -C -fno-assert"
HAVE_GCJ_C=1 HAVE_GCJ_C=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12894: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12895: gcj -C -d . conftest.java" >&5
gcj -C -d . conftest.java >&5 2>&1 gcj -C -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class; then && test -f conftest.class; then
CONF_JAVAC="gcj -C" CONF_JAVAC="gcj -C"
HAVE_GCJ_C=1 HAVE_GCJ_C=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
fi fi
fi fi
fi fi
skipping to change at line 12638 skipping to change at line 12639
if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_JAVAC_IN_PATH"; then if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_JAVAC_IN_PATH"; then
if { javac -version >/dev/null 2>/dev/null || test $? -le 2; } \ if { javac -version >/dev/null 2>/dev/null || test $? -le 2; } \
&& ( if javac -help 2>&1 >/dev/null | grep at.dms.kjc.Main >/dev/null & & javac -help 2>/dev/null | grep 'released.*2000' >/dev/null ; then exit 1; else exit 0; fi ); then && ( if javac -help 2>&1 >/dev/null | grep at.dms.kjc.Main >/dev/null & & javac -help 2>/dev/null | grep 'released.*2000' >/dev/null ; then exit 1; else exit 0; fi ); then
if test "$source_version" = 1.5; then if test "$source_version" = 1.5; then
case "$target_version" in case "$target_version" in
1.1 | 1.2 | 1.3 | 1.4 | 1.5) ;; 1.1 | 1.2 | 1.3 | 1.4 | 1.5) ;;
*) source_version='1.6' ;; *) source_version='1.6' ;;
esac esac
fi fi
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12919: javac -d . conftest.java" >&5 if { echo "$as_me:12920: javac -d . conftest.java" >&5
javac -d . conftest.java >&5 2>&1 javac -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/dev /null 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12926: javac -source $source_version -d . conftest.j ava" >&5 if { echo "$as_me:12927: javac -source $source_version -d . conftest.j ava" >&5
javac -source "$source_version" -d . conftest.java >&5 2>&1 javac -source "$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5 \
&& { echo "$as_me:12931: javac -d . conftestfail.java" >&5 && { echo "$as_me:12932: javac -d . conftestfail.java" >&5
javac -d . conftestfail.java >&5 2>&1 javac -d . conftestfail.java >&5 2>&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12935: javac -source $source_version -d . conft estfail.java" >&5 && ! { echo "$as_me:12936: javac -source $source_version -d . conft estfail.java" >&5
javac -source "$source_version" -d . conftestfail.java >&5 2 >&1 javac -source "$source_version" -d . conftestfail.java >&5 2 >&1
}; then }; then
CONF_JAVAC="javac -source $source_version" CONF_JAVAC="javac -source $source_version"
HAVE_JAVAC=1 HAVE_JAVAC=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="javac" CONF_JAVAC="javac"
HAVE_JAVAC=1 HAVE_JAVAC=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12948: javac -target $target_version -d . conftest.j ava" >&5 if { echo "$as_me:12949: javac -target $target_version -d . conftest.j ava" >&5
javac -target "$target_version" -d . conftest.java >&5 2>&1 javac -target "$target_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion >/d ev/null 2>&5; then
rm -f conftest.class rm -f conftest.class
rm -f conftestfail.class rm -f conftestfail.class
if { echo "$as_me:12955: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5 if { echo "$as_me:12956: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1 javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5 \ && expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5 \
&& { echo "$as_me:12960: javac -target $target_version -d . conft estfail.java" >&5 && { echo "$as_me:12961: javac -target $target_version -d . conft estfail.java" >&5
javac -target "$target_version" -d . conftestfail.java >&5 2 >&1 javac -target "$target_version" -d . conftestfail.java >&5 2 >&1
} \ } \
&& test -f conftestfail.class \ && test -f conftestfail.class \
&& ! { echo "$as_me:12964: javac -target $target_version -source $source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12965: javac -target $target_version -source $source_version -d . conftestfail.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftestfail.java >&5 2>&1 javac -target "$target_version" -source "$source_version" -d . conftestfail.java >&5 2>&1
}; then }; then
CONF_JAVAC="javac -target $target_version -source $source_version" CONF_JAVAC="javac -target $target_version -source $source_version"
HAVE_JAVAC=1 HAVE_JAVAC=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
else else
CONF_JAVAC="javac -target $target_version" CONF_JAVAC="javac -target $target_version"
HAVE_JAVAC=1 HAVE_JAVAC=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
else else
rm -f conftest.class rm -f conftest.class
if { echo "$as_me:12977: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5 if { echo "$as_me:12978: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5
javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1 javac -target "$target_version" -source "$source_version" -d . conftest.java >&5 2>&1
} \ } \
&& test -f conftest.class \ && test -f conftest.class \
&& expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5; then && expr `func_classfile_version conftest.class` '<=' $cfversion > /dev/null 2>&5; then
CONF_JAVAC="javac -target $target_version -source $source_version" CONF_JAVAC="javac -target $target_version -source $source_version"
HAVE_JAVAC=1 HAVE_JAVAC=1
HAVE_JAVACOMP=1 HAVE_JAVACOMP=1
fi fi
fi fi
fi fi
skipping to change at line 24215 skipping to change at line 24216
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=$gl_pthread LIBPTHREAD=$gl_pthread
LIBPMULTITHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \ rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$save_LIBS LIBS=$save_LIBS
test $gl_pthread_api = yes && break test $gl_pthread_api = yes && break
done done
echo "$as_me:25857: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:25858: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:25858: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:25859: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional # On Linux with glibc >= 2.34, libc contains the fully functional
# pthread functions. # pthread functions.
case "$host_os" in case "$host_os" in
linux*) linux*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <features.h> #include <features.h>
#ifdef __GNU_LIBRARY__ #ifdef __GNU_LIBRARY__
skipping to change at line 24242 skipping to change at line 24243
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky user" >/dev/null 2>&1 $EGREP "Lucky user" >/dev/null 2>&1
then : then :
gl_pthread_in_glibc=yes gl_pthread_in_glibc=yes
fi fi
rm -rf conftest* rm -rf conftest*
;; ;;
esac esac
echo "$as_me:25884: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:25885: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self, # Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.) # since it is defined as a macro on OSF/1.)
if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then
# The program links fine without libpthread. But it may actually # The program links fine without libpthread. But it may actually
# need to link with libpthread in order to create multiple threads. # need to link with libpthread in order to create multiple threads.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
printf %s "checking for pthread_kill in -lpthread... " >&6; } printf %s "checking for pthread_kill in -lpthread... " >&6; }
if test ${ac_cv_lib_pthread_pthread_kill+y} if test ${ac_cv_lib_pthread_pthread_kill+y}
then : then :
skipping to change at line 24396 skipping to change at line 24397
printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; }
if test "x$ac_cv_lib_c_r_pthread_kill" = xyes if test "x$ac_cv_lib_c_r_pthread_kill" = xyes
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=-lc_r LIBPTHREAD=-lc_r
LIBPMULTITHREAD=-lc_r LIBPMULTITHREAD=-lc_r
fi fi
fi fi
fi fi
echo "$as_me:26038: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:26039: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
printf %s "checking whether POSIX threads API is available... " >&6; } printf %s "checking whether POSIX threads API is available... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5
printf "%s\n" "$gl_pthread_api" >&6; } printf "%s\n" "$gl_pthread_api" >&6; }
if test $gl_pthread_api = yes; then if test $gl_pthread_api = yes; then
printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h
skipping to change at line 24617 skipping to change at line 24618
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=$gl_pthread LIBPTHREAD=$gl_pthread
LIBPMULTITHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \ rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$save_LIBS LIBS=$save_LIBS
test $gl_pthread_api = yes && break test $gl_pthread_api = yes && break
done done
echo "$as_me:26266: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:26267: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:26267: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:26268: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional # On Linux with glibc >= 2.34, libc contains the fully functional
# pthread functions. # pthread functions.
case "$host_os" in case "$host_os" in
linux*) linux*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <features.h> #include <features.h>
#ifdef __GNU_LIBRARY__ #ifdef __GNU_LIBRARY__
skipping to change at line 24644 skipping to change at line 24645
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky user" >/dev/null 2>&1 $EGREP "Lucky user" >/dev/null 2>&1
then : then :
gl_pthread_in_glibc=yes gl_pthread_in_glibc=yes
fi fi
rm -rf conftest* rm -rf conftest*
;; ;;
esac esac
echo "$as_me:26293: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:26294: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self, # Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.) # since it is defined as a macro on OSF/1.)
if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then
# The program links fine without libpthread. But it may actually # The program links fine without libpthread. But it may actually
# need to link with libpthread in order to create multiple threads. # need to link with libpthread in order to create multiple threads.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
printf %s "checking for pthread_kill in -lpthread... " >&6; } printf %s "checking for pthread_kill in -lpthread... " >&6; }
if test ${ac_cv_lib_pthread_pthread_kill+y} if test ${ac_cv_lib_pthread_pthread_kill+y}
then : then :
skipping to change at line 24798 skipping to change at line 24799
printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; }
if test "x$ac_cv_lib_c_r_pthread_kill" = xyes if test "x$ac_cv_lib_c_r_pthread_kill" = xyes
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=-lc_r LIBPTHREAD=-lc_r
LIBPMULTITHREAD=-lc_r LIBPMULTITHREAD=-lc_r
fi fi
fi fi
fi fi
echo "$as_me:26447: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:26448: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
printf %s "checking whether POSIX threads API is available... " >&6; } printf %s "checking whether POSIX threads API is available... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5
printf "%s\n" "$gl_pthread_api" >&6; } printf "%s\n" "$gl_pthread_api" >&6; }
if test $gl_pthread_api = yes; then if test $gl_pthread_api = yes; then
printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h
skipping to change at line 25374 skipping to change at line 25375
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=$gl_pthread LIBPTHREAD=$gl_pthread
LIBPMULTITHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \ rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$save_LIBS LIBS=$save_LIBS
test $gl_pthread_api = yes && break test $gl_pthread_api = yes && break
done done
echo "$as_me:27066: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:27067: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:27067: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:27068: LIBPTHREAD=$LIBPTHREAD" >&5
gl_pthread_in_glibc=no gl_pthread_in_glibc=no
# On Linux with glibc >= 2.34, libc contains the fully functional # On Linux with glibc >= 2.34, libc contains the fully functional
# pthread functions. # pthread functions.
case "$host_os" in case "$host_os" in
linux*) linux*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <features.h> #include <features.h>
#ifdef __GNU_LIBRARY__ #ifdef __GNU_LIBRARY__
skipping to change at line 25401 skipping to change at line 25402
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky user" >/dev/null 2>&1 $EGREP "Lucky user" >/dev/null 2>&1
then : then :
gl_pthread_in_glibc=yes gl_pthread_in_glibc=yes
fi fi
rm -rf conftest* rm -rf conftest*
;; ;;
esac esac
echo "$as_me:27093: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:27094: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5
# Test for libpthread by looking for pthread_kill. (Not pthread_self, # Test for libpthread by looking for pthread_kill. (Not pthread_self,
# since it is defined as a macro on OSF/1.) # since it is defined as a macro on OSF/1.)
if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then
# The program links fine without libpthread. But it may actually # The program links fine without libpthread. But it may actually
# need to link with libpthread in order to create multiple threads. # need to link with libpthread in order to create multiple threads.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
printf %s "checking for pthread_kill in -lpthread... " >&6; } printf %s "checking for pthread_kill in -lpthread... " >&6; }
if test ${ac_cv_lib_pthread_pthread_kill+y} if test ${ac_cv_lib_pthread_pthread_kill+y}
then : then :
skipping to change at line 25555 skipping to change at line 25556
printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; }
if test "x$ac_cv_lib_c_r_pthread_kill" = xyes if test "x$ac_cv_lib_c_r_pthread_kill" = xyes
then : then :
gl_pthread_api=yes gl_pthread_api=yes
LIBPTHREAD=-lc_r LIBPTHREAD=-lc_r
LIBPMULTITHREAD=-lc_r LIBPMULTITHREAD=-lc_r
fi fi
fi fi
fi fi
echo "$as_me:27247: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:27248: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5
printf %s "checking whether POSIX threads API is available... " >&6; } printf %s "checking whether POSIX threads API is available... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5
printf "%s\n" "$gl_pthread_api" >&6; } printf "%s\n" "$gl_pthread_api" >&6; }
if test $gl_pthread_api = yes; then if test $gl_pthread_api = yes; then
printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h
skipping to change at line 41678 skipping to change at line 41679
if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext"
fi fi
GL_GNULIB_STRNDUP=1 GL_GNULIB_STRNDUP=1
printf "%s\n" "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h printf "%s\n" "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h
if test $HAVE_STRTOD = 1; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys
C99" >&5
printf %s "checking whether strtod obeys C99... " >&6; }
if test ${gl_cv_func_strtod_works+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test "$cross_compiling" = yes
then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <features.h>
#ifdef __GNU_LIBRARY__
#if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
&& !defined __UCLIBC__
Lucky user
#endif
#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Lucky user" >/dev/null 2>&1
then :
gl_cv_func_strtod_works="guessing yes"
else $as_nop
case "$host_os" in
# Guess yes on musl systems.
*-musl*) gl_cv_func_strtod_works="guessing yes" ;;
# Guess yes on native Windows.
mingw*) gl_cv_func_strtod_works="guessing yes" ;;
*) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;;
esac
fi
rm -rf conftest*
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdlib.h>
#include <math.h>
#include <errno.h>
/* Compare two numbers with ==.
This is a separate function because IRIX 6.5 "cc -O" miscompiles an
'x == x' test. */
static int
numeric_equal (double x, double y)
{
return x == y;
}
int
main (void)
{
int result = 0;
{
/* In some old versions of Linux (2000 or before), strtod mis-parses
strings with leading '+'. */
const char *string = " +69";
char *term;
double value = strtod (string, &term);
if (value != 69 || term != (string + 4))
result |= 1;
}
{
/* Under Solaris 2.4, strtod returns the wrong value for the
terminating character under some conditions. */
const char *string = "NaN";
char *term;
strtod (string, &term);
if (term != string && *(term - 1) == 0)
result |= 2;
}
{
/* Older glibc and Cygwin mis-parse "-0x". */
const char *string = "-0x";
char *term;
double value = strtod (string, &term);
double zero = 0.0;
if (1.0 / value != -1.0 / zero || term != (string + 2))
result |= 4;
}
{
/* Many platforms do not parse hex floats. */
const char *string = "0XaP+1";
char *term;
double value = strtod (string, &term);
if (value != 20.0 || term != (string + 6))
result |= 8;
}
{
/* Many platforms do not parse infinities. HP-UX 11.31 parses inf,
but mistakenly sets errno. */
const char *string = "inf";
char *term;
double value;
errno = 0;
value = strtod (string, &term);
if (value != HUGE_VAL || term != (string + 3) || errno)
result |= 16;
}
{
/* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */
const char *string = "nan()";
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 5))
result |= 32;
}
{
/* darwin 10.6.1 misparses "nan(". */
const char *string = "nan(";
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 3))
result |= 64;
}
return result;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"
then :
gl_cv_func_strtod_works=yes
else $as_nop
gl_cv_func_strtod_works=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works"
>&5
printf "%s\n" "$gl_cv_func_strtod_works" >&6; }
case "$gl_cv_func_strtod_works" in
*yes) ;;
*)
REPLACE_STRTOD=1
;;
esac
fi
if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
gl_LIBOBJS="$gl_LIBOBJS strtod.$ac_objext"
if test $gl_cv_func_ldexp_no_libm = yes; then
printf "%s\n" "#define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
fi
ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
if test "x$ac_cv_func_nl_langinfo" = xyes
then :
printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h
fi
fi
GL_GNULIB_STRTOD=1
printf "%s\n" "#define GNULIB_TEST_STRTOD 1" >>confdefs.h
ac_fn_c_check_func "$LINENO" "strverscmp" "ac_cv_func_strverscmp" ac_fn_c_check_func "$LINENO" "strverscmp" "ac_cv_func_strverscmp"
if test "x$ac_cv_func_strverscmp" = xyes if test "x$ac_cv_func_strverscmp" = xyes
then : then :
printf "%s\n" "#define HAVE_STRVERSCMP 1" >>confdefs.h printf "%s\n" "#define HAVE_STRVERSCMP 1" >>confdefs.h
fi fi
if test $ac_cv_func_strverscmp = no; then if test $ac_cv_func_strverscmp = no; then
HAVE_STRVERSCMP=0 HAVE_STRVERSCMP=0
fi fi
skipping to change at line 49570 skipping to change at line 49740
## Main body of $CONFIG_STATUS script. ## ## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ## ## ----------------------------------- ##
_ASEOF _ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to # Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by GNU Bison $as_me 3.8, which was This file was extended by GNU Bison $as_me 3.8.1, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
" "
skipping to change at line 49643 skipping to change at line 49813
Report bugs to <bug-bison@gnu.org>. Report bugs to <bug-bison@gnu.org>.
GNU Bison home page: <https://www.gnu.org/software/bison/>. GNU Bison home page: <https://www.gnu.org/software/bison/>.
General help using GNU software: <https://www.gnu.org/gethelp/>." General help using GNU software: <https://www.gnu.org/gethelp/>."
_ACEOF _ACEOF
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ ''/g"` ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ ''/g"`
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
GNU Bison config.status 3.8 GNU Bison config.status 3.8.1
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd' ac_pwd='$ac_pwd'
srcdir='$srcdir' srcdir='$srcdir'
INSTALL='$INSTALL' INSTALL='$INSTALL'
 End of changes. 57 change blocks. 
59 lines changed or deleted 231 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)