"Fossies" - the Fresh Open Source Software Archive  

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

About: Bison is a general-purpose parser generator.

configure  (bison-3.8.1.tar.xz):configure  (bison-3.8.2.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.1. # Generated by GNU Autoconf 2.71 for GNU Bison 3.8.2.
# #
# 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.1' PACKAGE_VERSION='3.8.2'
PACKAGE_STRING='GNU Bison 3.8.1' PACKAGE_STRING='GNU Bison 3.8.2'
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 925 skipping to change at line 925
GL_GENERATE_STDDEF_H_FALSE GL_GENERATE_STDDEF_H_FALSE
GL_GENERATE_STDDEF_H_TRUE GL_GENERATE_STDDEF_H_TRUE
STDDEF_H STDDEF_H
HAVE_WCHAR_T HAVE_WCHAR_T
HAVE_MAX_ALIGN_T HAVE_MAX_ALIGN_T
REPLACE_NULL REPLACE_NULL
HAVE__BOOL HAVE__BOOL
GL_GENERATE_STDBOOL_H_FALSE GL_GENERATE_STDBOOL_H_FALSE
GL_GENERATE_STDBOOL_H_TRUE GL_GENERATE_STDBOOL_H_TRUE
STDBOOL_H STDBOOL_H
GL_GENERATE_STDALIGN_H_FALSE
GL_GENERATE_STDALIGN_H_TRUE
STDALIGN_H
GL_GNULIB_MDA_UMASK GL_GNULIB_MDA_UMASK
GL_GNULIB_MDA_MKDIR GL_GNULIB_MDA_MKDIR
GL_GNULIB_MDA_CHMOD GL_GNULIB_MDA_CHMOD
GL_GNULIB_OVERRIDES_STRUCT_STAT GL_GNULIB_OVERRIDES_STRUCT_STAT
GL_GNULIB_UTIMENSAT GL_GNULIB_UTIMENSAT
GL_GNULIB_STAT GL_GNULIB_STAT
GL_GNULIB_MKNODAT GL_GNULIB_MKNODAT
GL_GNULIB_MKNOD GL_GNULIB_MKNOD
GL_GNULIB_MKFIFOAT GL_GNULIB_MKFIFOAT
GL_GNULIB_MKFIFO GL_GNULIB_MKFIFO
skipping to change at line 2210 skipping to change at line 2213
EXEEXT EXEEXT
ac_ct_CC ac_ct_CC
CPPFLAGS CPPFLAGS
LDFLAGS LDFLAGS
CFLAGS CFLAGS
CC CC
AM_BACKSLASH AM_BACKSLASH
AM_DEFAULT_VERBOSITY AM_DEFAULT_VERBOSITY
AM_DEFAULT_V AM_DEFAULT_V
AM_V AM_V
CSCOPE
ETAGS
CTAGS
am__untar am__untar
am__tar am__tar
AMTAR AMTAR
am__leading_dot am__leading_dot
SET_MAKE SET_MAKE
AWK AWK
mkdir_p mkdir_p
MKDIR_P MKDIR_P
INSTALL_STRIP_PROGRAM INSTALL_STRIP_PROGRAM
STRIP STRIP
skipping to change at line 2855 skipping to change at line 2861
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.1 to adapt to many kinds of systems. \`configure' configures GNU Bison 3.8.2 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 2932
--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.1:";; short | recursive ) echo "Configuration of GNU Bison 3.8.2:";;
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 3065
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.1 GNU Bison configure 3.8.2
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 3813
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.1, which was It was created by GNU Bison $as_me 3.8.2, 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 5378
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.1' VERSION='3.8.2'
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 5407 skipping to change at line 5413
# system "awk" is bad on some platforms. # system "awk" is bad on some platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used # Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ... # in the wild :-( We should find a proper way to deprecate it ...
AMTAR='$${TAR-tar}' AMTAR='$${TAR-tar}'
# We'll loop over all known methods to create a tar archive until one works. # We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar pax cpio none' _am_tools='gnutar pax cpio none'
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
# Variables for tags utilities; see am/tags.am
if test -z "$CTAGS"; then
CTAGS=ctags
fi
if test -z "$ETAGS"; then
ETAGS=etags
fi
if test -z "$CSCOPE"; then
CSCOPE=cscope
fi
# POSIX will say in a future version that running "rm -f" with no argument # POSIX will say in a future version that running "rm -f" with no argument
# is OK; and we want to be able to make that assumption in our Makefile # is OK; and we want to be able to make that assumption in our Makefile
# recipes. So use an aggressive probe to check that the usage we want is # recipes. So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree. # actually supported "in the wild" to an acceptable degree.
# See automake bug#10828. # See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted # To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the # by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though. # user can still override this though.
if rm -f && rm -fr && rm -rf; then : OK; else if rm -f && rm -fr && rm -rf; then : OK; else
cat >&2 <<'END' cat >&2 <<'END'
skipping to change at line 8731 skipping to change at line 8750
# Code from module snippet/warn-on-use: # Code from module snippet/warn-on-use:
# Code from module snprintf: # Code from module snprintf:
# Code from module snprintf-posix: # Code from module snprintf-posix:
# Code from module spawn: # Code from module spawn:
# Code from module spawn-pipe: # Code from module spawn-pipe:
# Code from module sprintf-posix: # Code from module sprintf-posix:
# Code from module ssize_t: # Code from module ssize_t:
# Code from module stat: # Code from module stat:
# Code from module stat-time: # Code from module stat-time:
# Code from module std-gnu11: # Code from module std-gnu11:
# Code from module stdalign:
# Code from module stdbool: # Code from module stdbool:
# Code from module stddef: # Code from module stddef:
# Code from module stdint: # Code from module stdint:
# Code from module stdio: # Code from module stdio:
# Code from module stdlib: # Code from module stdlib:
# Code from module stpcpy: # Code from module stpcpy:
# Code from module stpncpy: # Code from module stpncpy:
# 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:
skipping to change at line 12255 skipping to change at line 12275
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:12533: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12554: $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:12540: $JAVAC -fsource=$source_version -d . conftest .java" >&5 if { echo "$as_me:12561: $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:12545: $JAVAC -d . conftestfail.java" >&5 && { echo "$as_me:12566: $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:12549: $JAVAC -fsource=$source_version -d . con ftestfail.java" >&5 && ! { echo "$as_me:12570: $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:12563: $JAVAC -fsource=$source_version -ftarget=$tar get_version -d . conftest.java" >&5 if { echo "$as_me:12584: $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:12576: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12597: $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:12588: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12609: $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:12596: $JAVAC -fno-assert -d . conftest.java" >&5 if { echo "$as_me:12617: $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:12604: $JAVAC -d . conftestfail.java" >&5 if { echo "$as_me:12625: $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:12608: $JAVAC -fno-assert -d . conftestfail .java" >&5 && ! { echo "$as_me:12629: $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 12358 skipping to change at line 12378
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:12636: $JAVAC -d . conftest.java" >&5 if { echo "$as_me:12657: $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:12643: $JAVAC -source $source_version -d . conftest.ja va" >&5 if { echo "$as_me:12664: $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:12648: $JAVAC -d . conftestfail.java" >&5 && { echo "$as_me:12669: $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:12652: $JAVAC -source $source_version -d . confte stfail.java" >&5 && ! { echo "$as_me:12673: $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:12665: $JAVAC -target $target_version -d . conftest.ja va" >&5 if { echo "$as_me:12686: $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:12672: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5 if { echo "$as_me:12693: $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:12677: $JAVAC -target $target_version -d . confte stfail.java" >&5 && { echo "$as_me:12698: $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:12681: $JAVAC -target $target_version -source $ source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12702: $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:12694: $JAVAC -target $target_version -source $sourc e_version -d . conftest.java" >&5 if { echo "$as_me:12715: $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 12546 skipping to change at line 12566
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:12827: gcj -C -d . conftestlib.java" >&5 if { echo "$as_me:12848: 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:12832: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12853: 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:12839: gcj -C -fsource=$source_version -d . conf test.java" >&5 if { echo "$as_me:12860: 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:12844: gcj -C -d . conftestfail.java" >&5 && { echo "$as_me:12865: 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:12848: gcj -C -fsource=$source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12869: 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:12862: gcj -C -fsource=$source_version -ftarget= $target_version -d . conftest.java" >&5 if { echo "$as_me:12883: 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:12875: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12896: 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:12886: gcj -C -fno-assert -d . conftest.java" >&5 if { echo "$as_me:12907: 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:12895: gcj -C -d . conftest.java" >&5 if { echo "$as_me:12916: 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 12639 skipping to change at line 12659
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:12920: javac -d . conftest.java" >&5 if { echo "$as_me:12941: 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:12927: javac -source $source_version -d . conftest.j ava" >&5 if { echo "$as_me:12948: 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:12932: javac -d . conftestfail.java" >&5 && { echo "$as_me:12953: 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:12936: javac -source $source_version -d . conft estfail.java" >&5 && ! { echo "$as_me:12957: 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:12949: javac -target $target_version -d . conftest.j ava" >&5 if { echo "$as_me:12970: 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:12956: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5 if { echo "$as_me:12977: 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:12961: javac -target $target_version -d . conft estfail.java" >&5 && { echo "$as_me:12982: 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:12965: javac -target $target_version -source $source_version -d . conftestfail.java" >&5 && ! { echo "$as_me:12986: 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:12978: javac -target $target_version -source $sour ce_version -d . conftest.java" >&5 if { echo "$as_me:12999: 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 24054 skipping to change at line 24074
LIBMULTITHREAD= LIBMULTITHREAD=
LTLIBMULTITHREAD= LTLIBMULTITHREAD=
if test "$gl_use_threads" != no; then if test "$gl_use_threads" != no; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5
printf %s "checking whether imported symbols can be declared weak... " >&6; } printf %s "checking whether imported symbols can be declared weak... " >&6; }
if test ${gl_cv_have_weak+y} if test ${gl_cv_have_weak+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
gl_cv_have_weak=no case "$host_os" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cygwin*)
gl_cv_have_weak="guessing no"
;;
*)
gl_cv_have_weak=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern void xyzzy (); extern void xyzzy ();
#pragma weak xyzzy #pragma weak xyzzy
int int
main (void) main (void)
{ {
xyzzy(); xyzzy();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO" if ac_fn_c_try_link "$LINENO"
then : then :
gl_cv_have_weak=maybe gl_cv_have_weak=maybe
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
if test $gl_cv_have_weak = maybe; then if test $gl_cv_have_weak = maybe; then
if test "$cross_compiling" = yes if test "$cross_compiling" = yes
then : then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __ELF__ #ifdef __ELF__
Extensible Linking Format Extensible Linking Format
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Extensible Linking Format" >/dev/null 2>&1 $EGREP "Extensible Linking Format" >/dev/null 2>&1
then : then :
gl_cv_have_weak="guessing yes" gl_cv_have_weak="guessing yes"
else $as_nop else $as_nop
gl_cv_have_weak="guessing no" gl_cv_have_weak="guessing no"
fi fi
rm -rf conftest* rm -rf conftest*
skipping to change at line 24113 skipping to change at line 24138
if ac_fn_c_try_run "$LINENO" if ac_fn_c_try_run "$LINENO"
then : then :
gl_cv_have_weak=yes gl_cv_have_weak=yes
else $as_nop else $as_nop
gl_cv_have_weak=no gl_cv_have_weak=no
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
;;
esac
case " $LDFLAGS " in case " $LDFLAGS " in
*" -static "*) gl_cv_have_weak=no ;; *" -static "*) gl_cv_have_weak=no ;;
esac esac
case "$gl_cv_have_weak" in case "$gl_cv_have_weak" in
*yes) *yes)
case "$host_os" in case "$host_os" in
freebsd* | dragonfly* | midnightbsd*) freebsd* | dragonfly* | midnightbsd*)
: > conftest1.c : > conftest1.c
$CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1 $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1
cat <<EOF > conftest2.c cat <<EOF > conftest2.c
skipping to change at line 24216 skipping to change at line 24243
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:25858: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:25886: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:25859: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:25887: 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 24243 skipping to change at line 24270
_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:25885: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:25913: 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 24397 skipping to change at line 24424
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:26039: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:26067: 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 24618 skipping to change at line 24645
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:26267: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:26295: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:26268: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:26296: 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 24645 skipping to change at line 24672
_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:26294: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:26322: 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 24799 skipping to change at line 24826
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:26448: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:26476: 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 25375 skipping to change at line 25402
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:27067: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:27095: gl_pthread_api=$gl_pthread_api" >&5
echo "$as_me:27068: LIBPTHREAD=$LIBPTHREAD" >&5 echo "$as_me:27096: 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 25402 skipping to change at line 25429
_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:27094: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 echo "$as_me:27122: 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 25556 skipping to change at line 25583
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:27248: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 echo "$as_me:27276: 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 30122 skipping to change at line 30149
case "$host_os" in case "$host_os" in
mingw*) LIB_SETLOCALE_NULL= ;; mingw*) LIB_SETLOCALE_NULL= ;;
*) *)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5
printf %s "checking whether imported symbols can be declared weak... " >&6; } printf %s "checking whether imported symbols can be declared weak... " >&6; }
if test ${gl_cv_have_weak+y} if test ${gl_cv_have_weak+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
gl_cv_have_weak=no case "$host_os" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cygwin*)
gl_cv_have_weak="guessing no"
;;
*)
gl_cv_have_weak=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern void xyzzy (); extern void xyzzy ();
#pragma weak xyzzy #pragma weak xyzzy
int int
main (void) main (void)
{ {
xyzzy(); xyzzy();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO" if ac_fn_c_try_link "$LINENO"
then : then :
gl_cv_have_weak=maybe gl_cv_have_weak=maybe
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
if test $gl_cv_have_weak = maybe; then if test $gl_cv_have_weak = maybe; then
if test "$cross_compiling" = yes if test "$cross_compiling" = yes
then : then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __ELF__ #ifdef __ELF__
Extensible Linking Format Extensible Linking Format
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Extensible Linking Format" >/dev/null 2>&1 $EGREP "Extensible Linking Format" >/dev/null 2>&1
then : then :
gl_cv_have_weak="guessing yes" gl_cv_have_weak="guessing yes"
else $as_nop else $as_nop
gl_cv_have_weak="guessing no" gl_cv_have_weak="guessing no"
fi fi
rm -rf conftest* rm -rf conftest*
skipping to change at line 30181 skipping to change at line 30213
if ac_fn_c_try_run "$LINENO" if ac_fn_c_try_run "$LINENO"
then : then :
gl_cv_have_weak=yes gl_cv_have_weak=yes
else $as_nop else $as_nop
gl_cv_have_weak=no gl_cv_have_weak=no
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
;;
esac
case " $LDFLAGS " in case " $LDFLAGS " in
*" -static "*) gl_cv_have_weak=no ;; *" -static "*) gl_cv_have_weak=no ;;
esac esac
case "$gl_cv_have_weak" in case "$gl_cv_have_weak" in
*yes) *yes)
case "$host_os" in case "$host_os" in
freebsd* | dragonfly* | midnightbsd*) freebsd* | dragonfly* | midnightbsd*)
: > conftest1.c : > conftest1.c
$CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1 $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1
cat <<EOF > conftest2.c cat <<EOF > conftest2.c
skipping to change at line 31198 skipping to change at line 31232
ac_cv_lib_error_at_line=yes ac_cv_lib_error_at_line=yes
else $as_nop else $as_nop
ac_cv_lib_error_at_line=no ac_cv_lib_error_at_line=no
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
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
printf "%s\n" "$ac_cv_lib_error_at_line" >&6; } printf "%s\n" "$ac_cv_lib_error_at_line" >&6; }
if test $ac_cv_lib_error_at_line = no; then if test "$ac_cv_lib_error_at_line" = no
then :
gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
: :
fi fi
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-forma t" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-forma t"
: :
if test $ac_cv_func_fcntl = no; then if test $ac_cv_func_fcntl = no; then
if test $ac_cv_func_fcntl = no; then if test $ac_cv_func_fcntl = no; then
skipping to change at line 36341 skipping to change at line 36376
case "$host_os" in case "$host_os" in
mingw*) LIB_MBRTOWC= ;; mingw*) LIB_MBRTOWC= ;;
*) *)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5
printf %s "checking whether imported symbols can be declared weak... " >&6; } printf %s "checking whether imported symbols can be declared weak... " >&6; }
if test ${gl_cv_have_weak+y} if test ${gl_cv_have_weak+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
gl_cv_have_weak=no case "$host_os" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cygwin*)
gl_cv_have_weak="guessing no"
;;
*)
gl_cv_have_weak=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern void xyzzy (); extern void xyzzy ();
#pragma weak xyzzy #pragma weak xyzzy
int int
main (void) main (void)
{ {
xyzzy(); xyzzy();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO" if ac_fn_c_try_link "$LINENO"
then : then :
gl_cv_have_weak=maybe gl_cv_have_weak=maybe
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
if test $gl_cv_have_weak = maybe; then if test $gl_cv_have_weak = maybe; then
if test "$cross_compiling" = yes if test "$cross_compiling" = yes
then : then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __ELF__ #ifdef __ELF__
Extensible Linking Format Extensible Linking Format
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Extensible Linking Format" >/dev/null 2>&1 $EGREP "Extensible Linking Format" >/dev/null 2>&1
then : then :
gl_cv_have_weak="guessing yes" gl_cv_have_weak="guessing yes"
else $as_nop else $as_nop
gl_cv_have_weak="guessing no" gl_cv_have_weak="guessing no"
fi fi
rm -rf conftest* rm -rf conftest*
skipping to change at line 36400 skipping to change at line 36440
if ac_fn_c_try_run "$LINENO" if ac_fn_c_try_run "$LINENO"
then : then :
gl_cv_have_weak=yes gl_cv_have_weak=yes
else $as_nop else $as_nop
gl_cv_have_weak=no gl_cv_have_weak=no
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
;;
esac
case " $LDFLAGS " in case " $LDFLAGS " in
*" -static "*) gl_cv_have_weak=no ;; *" -static "*) gl_cv_have_weak=no ;;
esac esac
case "$gl_cv_have_weak" in case "$gl_cv_have_weak" in
*yes) *yes)
case "$host_os" in case "$host_os" in
freebsd* | dragonfly* | midnightbsd*) freebsd* | dragonfly* | midnightbsd*)
: > conftest1.c : > conftest1.c
$CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1 $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1
cat <<EOF > conftest2.c cat <<EOF > conftest2.c
skipping to change at line 41271 skipping to change at line 41313
esac esac
: :
fi fi
GL_GNULIB_STAT=1 GL_GNULIB_STAT=1
printf "%s\n" "#define GNULIB_TEST_STAT 1" >>confdefs.h printf "%s\n" "#define GNULIB_TEST_STAT 1" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h"
>&5
printf %s "checking for working stdalign.h... " >&6; }
if test ${gl_cv_header_working_stdalign_h+y}
then :
printf %s "(cached) " >&6
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdint.h>
#include <stdalign.h>
#include <stddef.h>
/* Test that alignof yields a result consistent with offsetof.
This catches GCC bug 52023
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */
#ifdef __cplusplus
template <class t> struct alignof_helper { char a; t b; };
# define ao(type) offsetof (alignof_helper<type>, b)
#else
# define ao(type) offsetof (struct { char a; type b; }, b)
#endif
char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1];
char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1];
char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1];
/* Test _Alignas only on platforms where gnulib can help. */
#if \
((defined __cplusplus && 201103 <= __cplusplus) \
|| (__TINYC__ && defined __attribute__) \
|| (defined __APPLE__ && defined __MACH__ \
? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
: __GNUC__) \
|| (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
|| __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \
|| 1300 <= _MSC_VER)
struct alignas_test { char c; char alignas (8) alignas_8; };
char test_alignas[offsetof (struct alignas_test, alignas_8) == 8
? 1 : -1];
#endif
int
main (void)
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
gl_cv_header_working_stdalign_h=yes
else $as_nop
gl_cv_header_working_stdalign_h=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stda
lign_h" >&5
printf "%s\n" "$gl_cv_header_working_stdalign_h" >&6; }
if test $gl_cv_header_working_stdalign_h = yes; then
STDALIGN_H=''
else
STDALIGN_H='stdalign.h'
fi
if test -n "$STDALIGN_H"; then
GL_GENERATE_STDALIGN_H_TRUE=
GL_GENERATE_STDALIGN_H_FALSE='#'
else
GL_GENERATE_STDALIGN_H_TRUE='#'
GL_GENERATE_STDALIGN_H_FALSE=
fi
if test "$ac_cv_header_stdbool_h" = yes; then if test "$ac_cv_header_stdbool_h" = yes; then
case "$host_os" in case "$host_os" in
solaris*) solaris*)
if test -z "$GCC"; then if test -z "$GCC"; then
STDBOOL_H='stdbool.h' STDBOOL_H='stdbool.h'
else else
STDBOOL_H='' STDBOOL_H=''
fi fi
;; ;;
*) *)
skipping to change at line 45918 skipping to change at line 46033
case "$host_os" in case "$host_os" in
mingw*) LIB_SETLOCALE_NULL= ;; mingw*) LIB_SETLOCALE_NULL= ;;
*) *)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbol s can be declared weak" >&5
printf %s "checking whether imported symbols can be declared weak... " >&6; } printf %s "checking whether imported symbols can be declared weak... " >&6; }
if test ${gl_cv_have_weak+y} if test ${gl_cv_have_weak+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
gl_cv_have_weak=no case "$host_os" in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cygwin*)
gl_cv_have_weak="guessing no"
;;
*)
gl_cv_have_weak=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
extern void xyzzy (); extern void xyzzy ();
#pragma weak xyzzy #pragma weak xyzzy
int int
main (void) main (void)
{ {
xyzzy(); xyzzy();
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO" if ac_fn_c_try_link "$LINENO"
then : then :
gl_cv_have_weak=maybe gl_cv_have_weak=maybe
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
if test $gl_cv_have_weak = maybe; then if test $gl_cv_have_weak = maybe; then
if test "$cross_compiling" = yes if test "$cross_compiling" = yes
then : then :
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __ELF__ #ifdef __ELF__
Extensible Linking Format Extensible Linking Format
#endif #endif
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "Extensible Linking Format" >/dev/null 2>&1 $EGREP "Extensible Linking Format" >/dev/null 2>&1
then : then :
gl_cv_have_weak="guessing yes" gl_cv_have_weak="guessing yes"
else $as_nop else $as_nop
gl_cv_have_weak="guessing no" gl_cv_have_weak="guessing no"
fi fi
rm -rf conftest* rm -rf conftest*
skipping to change at line 45977 skipping to change at line 46097
if ac_fn_c_try_run "$LINENO" if ac_fn_c_try_run "$LINENO"
then : then :
gl_cv_have_weak=yes gl_cv_have_weak=yes
else $as_nop else $as_nop
gl_cv_have_weak=no gl_cv_have_weak=no
fi fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext conftest.$ac_objext conftest.beam conftest.$ac_ext
fi fi
fi fi
;;
esac
case " $LDFLAGS " in case " $LDFLAGS " in
*" -static "*) gl_cv_have_weak=no ;; *" -static "*) gl_cv_have_weak=no ;;
esac esac
case "$gl_cv_have_weak" in case "$gl_cv_have_weak" in
*yes) *yes)
case "$host_os" in case "$host_os" in
freebsd* | dragonfly* | midnightbsd*) freebsd* | dragonfly* | midnightbsd*)
: > conftest1.c : > conftest1.c
$CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1 $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftes t1.c -lpthread >&5 2>&1
cat <<EOF > conftest2.c cat <<EOF > conftest2.c
skipping to change at line 46400 skipping to change at line 46522
*no) REPLACE_STRERROR_R=1 ;; *no) REPLACE_STRERROR_R=1 ;;
esac esac
else else
REPLACE_STRERROR_R=1 REPLACE_STRERROR_R=1
fi fi
else else
REPLACE_STRERROR_R=1 REPLACE_STRERROR_R=1
fi fi
fi fi
if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1
then :
gl_LIBOBJS="$gl_LIBOBJS strerror_r.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS strerror_r.$ac_objext"
fi fi
GL_GNULIB_STRERROR_R=1 GL_GNULIB_STRERROR_R=1
printf "%s\n" "#define GNULIB_TEST_STRERROR_R 1" >>confdefs.h printf "%s\n" "#define GNULIB_TEST_STRERROR_R 1" >>confdefs.h
printf "%s\n" "#define GNULIB_STRERROR_R_POSIX 1" >>confdefs.h printf "%s\n" "#define GNULIB_STRERROR_R_POSIX 1" >>confdefs.h
gl_gnulib_enabled_1f32594a85e6221ba15f884daeee8c2a=true gl_gnulib_enabled_1f32594a85e6221ba15f884daeee8c2a=true
if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
func_gl_gnulib_m4code_dbb57f49352be8fb86869629a254fb72 func_gl_gnulib_m4code_dbb57f49352be8fb86869629a254fb72
skipping to change at line 49101 skipping to change at line 49224
done done
if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}" ; then if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}" ; then
as_fn_error $? "conditional \"RELOCATABLE_VIA_LD\" was never defined. as_fn_error $? "conditional \"RELOCATABLE_VIA_LD\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${RELOCATABLE_VIA_WRAPPER_TRUE}" && test -z "${RELOCATABLE_VIA_WRAPP ER_FALSE}"; then if test -z "${RELOCATABLE_VIA_WRAPPER_TRUE}" && test -z "${RELOCATABLE_VIA_WRAPP ER_FALSE}"; then
as_fn_error $? "conditional \"RELOCATABLE_VIA_WRAPPER\" was never defined. as_fn_error $? "conditional \"RELOCATABLE_VIA_WRAPPER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H
_FALSE}"; then
as_fn_error $? "conditional \"GL_GENERATE_STDALIGN_H\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_F ALSE}"; then if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_F ALSE}"; then
as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FAL SE}"; then if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FAL SE}"; then
as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined. as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNI STRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNI STRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then
as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was nev er defined. as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was nev er defined.
skipping to change at line 49740 skipping to change at line 49867
## 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.1, which was This file was extended by GNU Bison $as_me 3.8.2, 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 49813 skipping to change at line 49940
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.1 GNU Bison config.status 3.8.2
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. 85 change blocks. 
95 lines changed or deleted 225 lines changed or added

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