configure (flex-2.6.3) | : | configure (flex-2.6.4) | ||
---|---|---|---|---|
#! /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.69 for the fast lexical analyser generator 2.6.3. | # Generated by GNU Autoconf 2.69 for the fast lexical analyser generator 2.6.4. | |||
# | # | |||
# Report bugs to <flex-help@lists.sourceforge.net>. | # Report bugs to <flex-help@lists.sourceforge.net>. | |||
# | # | |||
# | # | |||
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | # Copyright (C) 1992-1996, 1998-2012 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. | |||
## -------------------- ## | ## -------------------- ## | |||
skipping to change at line 586 | skipping to change at line 586 | |||
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='the fast lexical analyser generator' | PACKAGE_NAME='the fast lexical analyser generator' | |||
PACKAGE_TARNAME='flex' | PACKAGE_TARNAME='flex' | |||
PACKAGE_VERSION='2.6.3' | PACKAGE_VERSION='2.6.4' | |||
PACKAGE_STRING='the fast lexical analyser generator 2.6.3' | PACKAGE_STRING='the fast lexical analyser generator 2.6.4' | |||
PACKAGE_BUGREPORT='flex-help@lists.sourceforge.net' | PACKAGE_BUGREPORT='flex-help@lists.sourceforge.net' | |||
PACKAGE_URL='' | PACKAGE_URL='' | |||
ac_unique_file="src/scan.l" | ac_unique_file="src/scan.l" | |||
# Factoring default headers for most tests. | # Factoring default headers for most tests. | |||
ac_includes_default="\ | ac_includes_default="\ | |||
#include <stdio.h> | #include <stdio.h> | |||
#ifdef HAVE_SYS_TYPES_H | #ifdef HAVE_SYS_TYPES_H | |||
# include <sys/types.h> | # include <sys/types.h> | |||
#endif | #endif | |||
skipping to change at line 635 | skipping to change at line 635 | |||
# include <unistd.h> | # include <unistd.h> | |||
#endif" | #endif" | |||
ac_config_libobj_dir=lib | ac_config_libobj_dir=lib | |||
gt_needs= | gt_needs= | |||
ac_subst_vars='am__EXEEXT_FALSE | ac_subst_vars='am__EXEEXT_FALSE | |||
am__EXEEXT_TRUE | am__EXEEXT_TRUE | |||
LTLIBOBJS | LTLIBOBJS | |||
LIBOBJS | LIBOBJS | |||
ALLOCA | ALLOCA | |||
want_pthread_FALSE | LIBPTHREAD | |||
want_pthread_TRUE | ||||
INDENT | INDENT | |||
M4 | M4 | |||
TEXI2DVI | TEXI2DVI | |||
HELP2MAN | HELP2MAN | |||
BISON | CROSS_FALSE | |||
CROSS_TRUE | ||||
ENABLE_BOOTSTRAP_FALSE | ENABLE_BOOTSTRAP_FALSE | |||
ENABLE_BOOTSTRAP_TRUE | ENABLE_BOOTSTRAP_TRUE | |||
ENABLE_LIBFL_FALSE | ENABLE_LIBFL_FALSE | |||
ENABLE_LIBFL_TRUE | ENABLE_LIBFL_TRUE | |||
WARNINGFLAGS | WARNINGFLAGS | |||
am__fastdepCXX_FALSE | am__fastdepCXX_FALSE | |||
am__fastdepCXX_TRUE | am__fastdepCXX_TRUE | |||
CXXDEPMODE | CXXDEPMODE | |||
CXXCPP | CXXCPP | |||
ac_ct_CXX | ac_ct_CXX | |||
CXXFLAGS | CXXFLAGS | |||
CXX | CXX | |||
LDFLAGS_FOR_BUILD | ||||
CPPFLAGS_FOR_BUILD | ||||
CFLAGS_FOR_BUILD | ||||
BUILD_OBJEXT | ||||
BUILD_EXEEXT | ||||
CPP_FOR_BUILD | ||||
ac_ct_CC_FOR_BUILD | ||||
CC_FOR_BUILD | ||||
LEXLIB | LEXLIB | |||
LEX_OUTPUT_ROOT | LEX_OUTPUT_ROOT | |||
LEX | LEX | |||
HAVE_BISON_FALSE | ||||
HAVE_BISON_TRUE | ||||
YFLAGS | YFLAGS | |||
YACC | YACC | |||
POSUB | POSUB | |||
LTLIBINTL | LTLIBINTL | |||
LIBINTL | LIBINTL | |||
INTLLIBS | INTLLIBS | |||
LTLIBICONV | LTLIBICONV | |||
LIBICONV | LIBICONV | |||
INTL_MACOSX_LIBS | INTL_MACOSX_LIBS | |||
XGETTEXT_EXTRA_OPTIONS | XGETTEXT_EXTRA_OPTIONS | |||
skipping to change at line 1375 | skipping to change at line 1385 | |||
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 the fast lexical analyser generator 2.6.3 to adapt to ma ny kinds of systems. | \`configure' configures the fast lexical analyser generator 2.6.4 to adapt to ma ny 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 1446 | skipping to change at line 1456 | |||
--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 the fast lexical analyser genera tor 2.6.3:";; | short | recursive ) echo "Configuration of the fast lexical analyser genera tor 2.6.4:";; | |||
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-shared[=PKGS] build shared libraries [default=yes] | --enable-shared[=PKGS] build shared libraries [default=yes] | |||
--enable-static[=PKGS] build static libraries [default=yes] | --enable-static[=PKGS] build static libraries [default=yes] | |||
--enable-fast-install[=PKGS] | --enable-fast-install[=PKGS] | |||
skipping to change at line 1483 | skipping to change at line 1493 | |||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |||
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | |||
both] | both] | |||
--with-aix-soname=aix|svr4|both | --with-aix-soname=aix|svr4|both | |||
shared library versioning (aka "SONAME") variant to | shared library versioning (aka "SONAME") variant to | |||
provide on AIX, [default=aix]. | provide on AIX, [default=aix]. | |||
--with-gnu-ld assume the C compiler uses GNU ld [default=no] | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | |||
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the | --with-sysroot[=DIR] Search for dependent libraries within DIR (or the | |||
compiler's sysroot if not specified). | compiler's sysroot if not specified). | |||
--with-gnu-ld assume the C compiler uses GNU ld [default=no] | --with-gnu-ld assume the C compiler uses GNU ld default=no | |||
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib | --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib | |||
--without-libiconv-prefix don't search for libiconv in includedir and libd ir | --without-libiconv-prefix don't search for libiconv in includedir and libd ir | |||
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib | --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib | |||
--without-libintl-prefix don't search for libintl in includedir and libdir | --without-libintl-prefix don't search for libintl in includedir and libdir | |||
Some influential environment variables: | Some influential environment variables: | |||
CC C compiler command | CC C compiler command | |||
CFLAGS C compiler flags | CFLAGS C compiler flags | |||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |||
nonstandard directory <lib dir> | nonstandard directory <lib dir> | |||
skipping to change at line 1576 | skipping to change at line 1586 | |||
else | else | |||
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | $as_echo "$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 | |||
the fast lexical analyser generator configure 2.6.3 | the fast lexical analyser generator configure 2.6.4 | |||
generated by GNU Autoconf 2.69 | generated by GNU Autoconf 2.69 | |||
Copyright (C) 2012 Free Software Foundation, Inc. | Copyright (C) 2012 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 2120 | skipping to change at line 2130 | |||
eval ac_res=\$$3 | eval ac_res=\$$3 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_c_check_type | } # ac_fn_c_check_type | |||
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 the fast lexical analyser generator $as_me 2.6.3, which was | It was created by the fast lexical analyser generator $as_me 2.6.4, which was | |||
generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was | |||
$ $0 $@ | $ $0 $@ | |||
_ACEOF | _ACEOF | |||
exec 5>>config.log | exec 5>>config.log | |||
{ | { | |||
cat <<_ASUNAME | cat <<_ASUNAME | |||
## --------- ## | ## --------- ## | |||
## Platform. ## | ## Platform. ## | |||
skipping to change at line 11181 | skipping to change at line 11191 | |||
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='flex' | PACKAGE='flex' | |||
VERSION='2.6.3' | VERSION='2.6.4' | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define PACKAGE "$PACKAGE" | #define PACKAGE "$PACKAGE" | |||
_ACEOF | _ACEOF | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define VERSION "$VERSION" | #define VERSION "$VERSION" | |||
_ACEOF | _ACEOF | |||
# Some tools Automake needs. | # Some tools Automake needs. | |||
skipping to change at line 11395 | skipping to change at line 11405 | |||
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |||
fi | fi | |||
fi | fi | |||
ac_config_headers="$ac_config_headers src/config.h" | ac_config_headers="$ac_config_headers src/config.h" | |||
SHARED_VERSION_INFO="2:0:0" | SHARED_VERSION_INFO="2:0:0" | |||
# checks for programs | # checks for programs | |||
mkdir_p="$MKDIR_P" | ||||
case $mkdir_p in | ||||
[\\/$]* | ?:[\\/]*) ;; | ||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||||
esac | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >& 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >& 5 | |||
$as_echo_n "checking whether NLS is requested... " >&6; } | $as_echo_n "checking whether NLS is requested... " >&6; } | |||
# Check whether --enable-nls was given. | # Check whether --enable-nls was given. | |||
if test "${enable_nls+set}" = set; then : | if test "${enable_nls+set}" = set; then : | |||
enableval=$enable_nls; USE_NLS=$enableval | enableval=$enable_nls; USE_NLS=$enableval | |||
else | else | |||
USE_NLS=yes | USE_NLS=yes | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 | |||
$as_echo "$USE_NLS" >&6; } | $as_echo "$USE_NLS" >&6; } | |||
GETTEXT_MACRO_VERSION=0.19 | GETTEXT_MACRO_VERSION=0.18 | |||
# Prepare PATH_SEPARATOR. | # Prepare PATH_SEPARATOR. | |||
# The user is always right. | # The user is always right. | |||
if test "${PATH_SEPARATOR+set}" != set; then | if test "${PATH_SEPARATOR+set}" != set; then | |||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | echo "#! /bin/sh" >conf$$.sh | |||
# contains only /bin. Note that ksh looks also at the FPATH variable, | echo "exit 0" >>conf$$.sh | |||
# so we have to set that as well for the test. | chmod +x conf$$.sh | |||
PATH_SEPARATOR=: | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | PATH_SEPARATOR=';' | |||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | else | |||
|| PATH_SEPARATOR=';' | PATH_SEPARATOR=: | |||
} | fi | |||
rm -f conf$$.sh | ||||
fi | fi | |||
# Find out how to test for executable files. Don't use a zero-byte file, | # Find out how to test for executable files. Don't use a zero-byte file, | |||
# as systems may use methods other than mode bits to determine executability. | # as systems may use methods other than mode bits to determine executability. | |||
cat >conf$$.file <<_ASEOF | cat >conf$$.file <<_ASEOF | |||
#! /bin/sh | #! /bin/sh | |||
exit 0 | exit 0 | |||
_ASEOF | _ASEOF | |||
chmod +x conf$$.file | chmod +x conf$$.file | |||
if test -x conf$$.file >/dev/null 2>&1; then | if test -x conf$$.file >/dev/null 2>&1; then | |||
skipping to change at line 11530 | skipping to change at line 11547 | |||
esac | esac | |||
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; | |||
*) GMSGFMT_015=$GMSGFMT ;; | *) GMSGFMT_015=$GMSGFMT ;; | |||
esac | esac | |||
# Prepare PATH_SEPARATOR. | # Prepare PATH_SEPARATOR. | |||
# The user is always right. | # The user is always right. | |||
if test "${PATH_SEPARATOR+set}" != set; then | if test "${PATH_SEPARATOR+set}" != set; then | |||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | echo "#! /bin/sh" >conf$$.sh | |||
# contains only /bin. Note that ksh looks also at the FPATH variable, | echo "exit 0" >>conf$$.sh | |||
# so we have to set that as well for the test. | chmod +x conf$$.sh | |||
PATH_SEPARATOR=: | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | PATH_SEPARATOR=';' | |||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | else | |||
|| PATH_SEPARATOR=';' | PATH_SEPARATOR=: | |||
} | fi | |||
rm -f conf$$.sh | ||||
fi | fi | |||
# Find out how to test for executable files. Don't use a zero-byte file, | # Find out how to test for executable files. Don't use a zero-byte file, | |||
# as systems may use methods other than mode bits to determine executability. | # as systems may use methods other than mode bits to determine executability. | |||
cat >conf$$.file <<_ASEOF | cat >conf$$.file <<_ASEOF | |||
#! /bin/sh | #! /bin/sh | |||
exit 0 | exit 0 | |||
_ASEOF | _ASEOF | |||
chmod +x conf$$.file | chmod +x conf$$.file | |||
if test -x conf$$.file >/dev/null 2>&1; then | if test -x conf$$.file >/dev/null 2>&1; then | |||
skipping to change at line 11605 | skipping to change at line 11623 | |||
rm -f messages.po | rm -f messages.po | |||
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in | |||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; | |||
*) XGETTEXT_015=$XGETTEXT ;; | *) XGETTEXT_015=$XGETTEXT ;; | |||
esac | esac | |||
# Prepare PATH_SEPARATOR. | # Prepare PATH_SEPARATOR. | |||
# The user is always right. | # The user is always right. | |||
if test "${PATH_SEPARATOR+set}" != set; then | if test "${PATH_SEPARATOR+set}" != set; then | |||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | echo "#! /bin/sh" >conf$$.sh | |||
# contains only /bin. Note that ksh looks also at the FPATH variable, | echo "exit 0" >>conf$$.sh | |||
# so we have to set that as well for the test. | chmod +x conf$$.sh | |||
PATH_SEPARATOR=: | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | PATH_SEPARATOR=';' | |||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | else | |||
|| PATH_SEPARATOR=';' | PATH_SEPARATOR=: | |||
} | fi | |||
rm -f conf$$.sh | ||||
fi | fi | |||
# Find out how to test for executable files. Don't use a zero-byte file, | # Find out how to test for executable files. Don't use a zero-byte file, | |||
# as systems may use methods other than mode bits to determine executability. | # as systems may use methods other than mode bits to determine executability. | |||
cat >conf$$.file <<_ASEOF | cat >conf$$.file <<_ASEOF | |||
#! /bin/sh | #! /bin/sh | |||
exit 0 | exit 0 | |||
_ASEOF | _ASEOF | |||
chmod +x conf$$.file | chmod +x conf$$.file | |||
if test -x conf$$.file >/dev/null 2>&1; then | if test -x conf$$.file >/dev/null 2>&1; then | |||
skipping to change at line 11700 | skipping to change at line 11719 | |||
# Check whether --with-gnu-ld was given. | # Check whether --with-gnu-ld was given. | |||
if test "${with_gnu_ld+set}" = set; then : | if test "${with_gnu_ld+set}" = set; then : | |||
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | |||
else | else | |||
with_gnu_ld=no | with_gnu_ld=no | |||
fi | fi | |||
# Prepare PATH_SEPARATOR. | # Prepare PATH_SEPARATOR. | |||
# The user is always right. | # The user is always right. | |||
if test "${PATH_SEPARATOR+set}" != set; then | if test "${PATH_SEPARATOR+set}" != set; then | |||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | echo "#! /bin/sh" >conf$$.sh | |||
# contains only /bin. Note that ksh looks also at the FPATH variable, | echo "exit 0" >>conf$$.sh | |||
# so we have to set that as well for the test. | chmod +x conf$$.sh | |||
PATH_SEPARATOR=: | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | PATH_SEPARATOR=';' | |||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | else | |||
|| PATH_SEPARATOR=';' | PATH_SEPARATOR=: | |||
} | fi | |||
rm -f conf$$.sh | ||||
fi | fi | |||
ac_prog=ld | ac_prog=ld | |||
if test "$GCC" = yes; then | if test "$GCC" = yes; then | |||
# Check if gcc -print-prog-name=ld gives a path. | # Check if gcc -print-prog-name=ld gives a path. | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 | |||
$as_echo_n "checking for ld used by $CC... " >&6; } | $as_echo_n "checking for ld used by GCC... " >&6; } | |||
case $host in | case $host in | |||
*-*-mingw*) | *-*-mingw*) | |||
# gcc leaves a trailing carriage return which upsets mingw | # gcc leaves a trailing carriage return which upsets mingw | |||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |||
*) | *) | |||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |||
esac | esac | |||
case $ac_prog in | case $ac_prog in | |||
# Accept absolute paths. | # Accept absolute paths. | |||
[\\/]* | ?:[\\/]*) | [\\/]* | [A-Za-z]:[\\/]*) | |||
re_direlt='/[^/][^/]*/\.\./' | re_direlt='/[^/][^/]*/\.\./' | |||
# Canonicalize the pathname of ld | # Canonicalize the path of ld | |||
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | |||
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | |||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | |||
done | done | |||
test -z "$LD" && LD="$ac_prog" | test -z "$LD" && LD="$ac_prog" | |||
;; | ;; | |||
"") | "") | |||
# If it fails, then pretend we aren't using GCC. | # If it fails, then pretend we aren't using GCC. | |||
ac_prog=ld | ac_prog=ld | |||
;; | ;; | |||
*) | *) | |||
# If it is relative, then search for the first ld in PATH. | # If it is relative, then search for the first ld in PATH. | |||
skipping to change at line 11753 | skipping to change at line 11772 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |||
$as_echo_n "checking for GNU ld... " >&6; } | $as_echo_n "checking for GNU ld... " >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |||
$as_echo_n "checking for non-GNU ld... " >&6; } | $as_echo_n "checking for non-GNU ld... " >&6; } | |||
fi | fi | |||
if ${acl_cv_path_LD+:} false; then : | if ${acl_cv_path_LD+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -z "$LD"; then | if test -z "$LD"; then | |||
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | |||
for ac_dir in $PATH; do | for ac_dir in $PATH; do | |||
IFS="$acl_save_ifs" | ||||
test -z "$ac_dir" && ac_dir=. | test -z "$ac_dir" && ac_dir=. | |||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |||
acl_cv_path_LD="$ac_dir/$ac_prog" | acl_cv_path_LD="$ac_dir/$ac_prog" | |||
# Check to see if the program is GNU ld. I'd rather use --version, | # Check to see if the program is GNU ld. I'd rather use --version, | |||
# but apparently some variants of GNU ld only accept -v. | # but apparently some GNU ld's only accept -v. | |||
# Break only if it was the GNU/non-GNU ld that we prefer. | # Break only if it was the GNU/non-GNU ld that we prefer. | |||
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in | |||
*GNU* | *'with BFD'*) | *GNU* | *'with BFD'*) | |||
test "$with_gnu_ld" != no && break | test "$with_gnu_ld" != no && break ;; | |||
;; | ||||
*) | *) | |||
test "$with_gnu_ld" != yes && break | test "$with_gnu_ld" != yes && break ;; | |||
;; | ||||
esac | esac | |||
fi | fi | |||
done | done | |||
IFS="$acl_save_ifs" | IFS="$ac_save_ifs" | |||
else | else | |||
acl_cv_path_LD="$LD" # Let the user override the test with a path. | acl_cv_path_LD="$LD" # Let the user override the test with a path. | |||
fi | fi | |||
fi | fi | |||
LD="$acl_cv_path_LD" | LD="$acl_cv_path_LD" | |||
if test -n "$LD"; then | if test -n "$LD"; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |||
$as_echo "$LD" >&6; } | $as_echo "$LD" >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
fi | fi | |||
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | |||
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |||
if ${acl_cv_prog_gnu_ld+:} false; then : | if ${acl_cv_prog_gnu_ld+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
# I'd rather use --version here, but apparently some GNU lds only accept -v. | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | |||
case `$LD -v 2>&1 </dev/null` in | case `$LD -v 2>&1 </dev/null` in | |||
*GNU* | *'with BFD'*) | *GNU* | *'with BFD'*) | |||
acl_cv_prog_gnu_ld=yes | acl_cv_prog_gnu_ld=yes ;; | |||
;; | ||||
*) | *) | |||
acl_cv_prog_gnu_ld=no | acl_cv_prog_gnu_ld=no ;; | |||
;; | ||||
esac | esac | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 | |||
$as_echo "$acl_cv_prog_gnu_ld" >&6; } | $as_echo "$acl_cv_prog_gnu_ld" >&6; } | |||
with_gnu_ld=$acl_cv_prog_gnu_ld | with_gnu_ld=$acl_cv_prog_gnu_ld | |||
{ $as_echo "$as_me:${as_lineno-$ LINENO}: checking for shared library run path origin" >&5 | { $as_echo "$as_me:${as_lineno-$ LINENO}: checking for shared library run path origin" >&5 | |||
$as_echo_n "checking for shared library run path origin... " >&6; } | $as_echo_n "checking for shared library run path origin... " >&6; } | |||
if ${acl_cv_rpath+:} false; then : | if ${acl_cv_rpath+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
skipping to change at line 11963 | skipping to change at line 11977 | |||
for name in $names_this_round; do | for name in $names_this_round; do | |||
already_handled= | already_handled= | |||
for n in $names_already_handled; do | for n in $names_already_handled; do | |||
if test "$n" = "$name"; then | if test "$n" = "$name"; then | |||
already_handled=yes | already_handled=yes | |||
break | break | |||
fi | fi | |||
done | done | |||
if test -z "$already_handled"; then | if test -z "$already_handled"; then | |||
names_already_handled="$names_already_handled $name" | names_already_handled="$names_already_handled $name" | |||
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` | |||
eval value=\"\$HAVE_LIB$uppername\" | eval value=\"\$HAVE_LIB$uppername\" | |||
if test -n "$value"; then | if test -n "$value"; then | |||
if test "$value" = yes; then | if test "$value" = yes; then | |||
eval value=\"\$LIB$uppername\" | eval value=\"\$LIB$uppername\" | |||
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" | test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" | |||
eval value=\"\$LTLIB$uppername\" | eval value=\"\$LTLIB$uppername\" | |||
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" | test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" | |||
else | else | |||
: | : | |||
fi | fi | |||
skipping to change at line 12456 | skipping to change at line 12470 | |||
gt_expression_test_code= | gt_expression_test_code= | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in lib c" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in lib c" >&5 | |||
$as_echo_n "checking for GNU gettext in libc... " >&6; } | $as_echo_n "checking for GNU gettext in libc... " >&6; } | |||
if eval \${$gt_func_gnugettext_libc+:} false; then : | if eval \${$gt_func_gnugettext_libc+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <libintl.h> | #include <libintl.h> | |||
$gt_revision_test_code | $gt_revision_test_code | |||
extern int _nl_msg_cat_cntr; | extern int _nl_msg_cat_cntr; | |||
extern int *_nl_domain_bindings; | extern int *_nl_domain_bindings; | |||
int | int | |||
main () | main () | |||
{ | { | |||
bindtextdomain ("", ""); | bindtextdomain ("", ""); | |||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b indings | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b indings | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_link "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : | |||
eval "$gt_func_gnugettext_libc=yes" | eval "$gt_func_gnugettext_libc=yes" | |||
else | else | |||
eval "$gt_func_gnugettext_libc=no" | eval "$gt_func_gnugettext_libc=no" | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
skipping to change at line 12521 | skipping to change at line 12531 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 | |||
$as_echo_n "checking for iconv... " >&6; } | $as_echo_n "checking for iconv... " >&6; } | |||
if ${am_cv_func_iconv+:} false; then : | if ${am_cv_func_iconv+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
am_cv_func_iconv="no, consider installing GNU libiconv" | am_cv_func_iconv="no, consider installing GNU libiconv" | |||
am_cv_lib_iconv=no | am_cv_lib_iconv=no | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <iconv.h> | #include <iconv.h> | |||
int | int | |||
main () | main () | |||
{ | { | |||
iconv_t cd = iconv_open("",""); | iconv_t cd = iconv_open("",""); | |||
iconv(cd,NULL,NULL,NULL,NULL); | iconv(cd,NULL,NULL,NULL,NULL); | |||
iconv_close(cd); | iconv_close(cd); | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_link "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : | |||
am_cv_func_iconv=yes | am_cv_func_iconv=yes | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
if test "$am_cv_func_iconv" != yes; then | if test "$am_cv_func_iconv" != yes; then | |||
am_save_LIBS="$LIBS" | am_save_LIBS="$LIBS" | |||
LIBS="$LIBS $LIBICONV" | LIBS="$LIBS $LIBICONV" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <iconv.h> | #include <iconv.h> | |||
int | int | |||
main () | main () | |||
{ | { | |||
iconv_t cd = iconv_open("",""); | iconv_t cd = iconv_open("",""); | |||
iconv(cd,NULL,NULL,NULL,NULL); | iconv(cd,NULL,NULL,NULL,NULL); | |||
iconv_close(cd); | iconv_close(cd); | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_link "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : | |||
am_cv_lib_iconv=yes | am_cv_lib_iconv=yes | |||
am_cv_func_iconv=yes | am_cv_func_iconv=yes | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
skipping to change at line 12578 | skipping to change at line 12584 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 | |||
$as_echo "$am_cv_func_iconv" >&6; } | $as_echo "$am_cv_func_iconv" >&6; } | |||
if test "$am_cv_func_iconv" = yes; then | if test "$am_cv_func_iconv" = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 | |||
$as_echo_n "checking for working iconv... " >&6; } | $as_echo_n "checking for working iconv... " >&6; } | |||
if ${am_cv_func_iconv_works+:} false; then : | if ${am_cv_func_iconv_works+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
am_save_LIBS="$LIBS" | am_save_LIBS="$LIBS" | |||
if test $am_cv_lib_iconv = yes; then | if test $am_cv_lib_iconv = yes; then | |||
LIBS="$LIBS $LIBICONV" | LIBS="$LIBS $LIBICONV" | |||
fi | fi | |||
if test "$cross_compiling" = yes; then : | if test "$cross_compiling" = yes; then : | |||
case "$host_os" in | ||||
case "$host_os" in | ||||
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; | aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; | |||
*) am_cv_func_iconv_works="guessing yes" ;; | *) am_cv_func_iconv_works="guessing yes" ;; | |||
esac | esac | |||
else | else | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <iconv.h> | #include <iconv.h> | |||
#include <string.h> | #include <string.h> | |||
int main () | int main () | |||
{ | { | |||
int result = 0; | ||||
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful | /* Test against AIX 5.1 bug: Failures are not distinguishable from successful | |||
returns. */ | returns. */ | |||
{ | { | |||
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); | iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); | |||
if (cd_utf8_to_88591 != (iconv_t)(-1)) | if (cd_utf8_to_88591 != (iconv_t)(-1)) | |||
{ | { | |||
static const char input[] = "\342\202\254"; /* EURO SIGN */ | static const char input[] = "\342\202\254"; /* EURO SIGN */ | |||
char buf[10]; | char buf[10]; | |||
const char *inptr = input; | const char *inptr = input; | |||
size_t inbytesleft = strlen (input); | size_t inbytesleft = strlen (input); | |||
char *outptr = buf; | char *outptr = buf; | |||
size_t outbytesleft = sizeof (buf); | size_t outbytesleft = sizeof (buf); | |||
size_t res = iconv (cd_utf8_to_88591, | size_t res = iconv (cd_utf8_to_88591, | |||
(char **) &inptr, &inbytesleft, | (char **) &inptr, &inbytesleft, | |||
&outptr, &outbytesleft); | &outptr, &outbytesleft); | |||
if (res == 0) | if (res == 0) | |||
result |= 1; | return 1; | |||
iconv_close (cd_utf8_to_88591); | ||||
} | } | |||
} | } | |||
/* Test against Solaris 10 bug: Failures are not distinguishable from | /* Test against Solaris 10 bug: Failures are not distinguishable from | |||
successful returns. */ | successful returns. */ | |||
{ | { | |||
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); | iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); | |||
if (cd_ascii_to_88591 != (iconv_t)(-1)) | if (cd_ascii_to_88591 != (iconv_t)(-1)) | |||
{ | { | |||
static const char input[] = "\263"; | static const char input[] = "\263"; | |||
char buf[10]; | char buf[10]; | |||
const char *inptr = input; | const char *inptr = input; | |||
size_t inbytesleft = strlen (input); | size_t inbytesleft = strlen (input); | |||
char *outptr = buf; | char *outptr = buf; | |||
size_t outbytesleft = sizeof (buf); | size_t outbytesleft = sizeof (buf); | |||
size_t res = iconv (cd_ascii_to_88591, | size_t res = iconv (cd_ascii_to_88591, | |||
(char **) &inptr, &inbytesleft, | (char **) &inptr, &inbytesleft, | |||
&outptr, &outbytesleft); | &outptr, &outbytesleft); | |||
if (res == 0) | if (res == 0) | |||
result |= 2; | return 1; | |||
iconv_close (cd_ascii_to_88591); | ||||
} | ||||
} | ||||
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */ | ||||
{ | ||||
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); | ||||
if (cd_88591_to_utf8 != (iconv_t)(-1)) | ||||
{ | ||||
static const char input[] = "\304"; | ||||
static char buf[2] = { (char)0xDE, (char)0xAD }; | ||||
const char *inptr = input; | ||||
size_t inbytesleft = 1; | ||||
char *outptr = buf; | ||||
size_t outbytesleft = 1; | ||||
size_t res = iconv (cd_88591_to_utf8, | ||||
(char **) &inptr, &inbytesleft, | ||||
&outptr, &outbytesleft); | ||||
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) | ||||
result |= 4; | ||||
iconv_close (cd_88591_to_utf8); | ||||
} | } | |||
} | } | |||
#if 0 /* This bug could be worked around by the caller. */ | #if 0 /* This bug could be worked around by the caller. */ | |||
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ | /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ | |||
{ | { | |||
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); | iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); | |||
if (cd_88591_to_utf8 != (iconv_t)(-1)) | if (cd_88591_to_utf8 != (iconv_t)(-1)) | |||
{ | { | |||
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augen ma\337"; | static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augen ma\337"; | |||
char buf[50]; | char buf[50]; | |||
const char *inptr = input; | const char *inptr = input; | |||
size_t inbytesleft = strlen (input); | size_t inbytesleft = strlen (input); | |||
char *outptr = buf; | char *outptr = buf; | |||
size_t outbytesleft = sizeof (buf); | size_t outbytesleft = sizeof (buf); | |||
size_t res = iconv (cd_88591_to_utf8, | size_t res = iconv (cd_88591_to_utf8, | |||
(char **) &inptr, &inbytesleft, | (char **) &inptr, &inbytesleft, | |||
&outptr, &outbytesleft); | &outptr, &outbytesleft); | |||
if ((int)res > 0) | if ((int)res > 0) | |||
result |= 8; | return 1; | |||
iconv_close (cd_88591_to_utf8); | ||||
} | } | |||
} | } | |||
#endif | #endif | |||
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | |||
provided. */ | provided. */ | |||
if (/* Try standardized names. */ | if (/* Try standardized names. */ | |||
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | |||
/* Try IRIX, OSF/1 names. */ | /* Try IRIX, OSF/1 names. */ | |||
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | |||
/* Try AIX names. */ | /* Try AIX names. */ | |||
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | |||
/* Try HP-UX names. */ | /* Try HP-UX names. */ | |||
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | |||
result |= 16; | return 1; | |||
return result; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_run "$LINENO"; then : | if ac_fn_c_try_run "$LINENO"; then : | |||
am_cv_func_iconv_works=yes | am_cv_func_iconv_works=yes | |||
else | else | |||
am_cv_func_iconv_works=no | am_cv_func_iconv_works=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 | |||
skipping to change at line 12795 | skipping to change at line 12776 | |||
for name in $names_this_round; do | for name in $names_this_round; do | |||
already_handled= | already_handled= | |||
for n in $names_already_handled; do | for n in $names_already_handled; do | |||
if test "$n" = "$name"; then | if test "$n" = "$name"; then | |||
already_handled=yes | already_handled=yes | |||
break | break | |||
fi | fi | |||
done | done | |||
if test -z "$already_handled"; then | if test -z "$already_handled"; then | |||
names_already_handled="$names_already_handled $name" | names_already_handled="$names_already_handled $name" | |||
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrst uvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` | |||
eval value=\"\$HAVE_LIB$uppername\" | eval value=\"\$HAVE_LIB$uppername\" | |||
if test -n "$value"; then | if test -n "$value"; then | |||
if test "$value" = yes; then | if test "$value" = yes; then | |||
eval value=\"\$LIB$uppername\" | eval value=\"\$LIB$uppername\" | |||
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" | test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" | |||
eval value=\"\$LTLIB$uppername\" | eval value=\"\$LTLIB$uppername\" | |||
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" | test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" | |||
else | else | |||
: | : | |||
fi | fi | |||
skipping to change at line 13188 | skipping to change at line 13169 | |||
$as_echo_n "checking for GNU gettext in libintl... " >&6; } | $as_echo_n "checking for GNU gettext in libintl... " >&6; } | |||
if eval \${$gt_func_gnugettext_libintl+:} false; then : | if eval \${$gt_func_gnugettext_libintl+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
gt_save_CPPFLAGS="$CPPFLAGS" | gt_save_CPPFLAGS="$CPPFLAGS" | |||
CPPFLAGS="$CPPFLAGS $INCINTL" | CPPFLAGS="$CPPFLAGS $INCINTL" | |||
gt_save_LIBS="$LIBS" | gt_save_LIBS="$LIBS" | |||
LIBS="$LIBS $LIBINTL" | LIBS="$LIBS $LIBINTL" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <libintl.h> | #include <libintl.h> | |||
$gt_revision_test_code | $gt_revision_test_code | |||
extern int _nl_msg_cat_cntr; | extern int _nl_msg_cat_cntr; | |||
extern | extern | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
"C" | "C" | |||
#endif | #endif | |||
const char *_nl_expand_alias (const char *); | const char *_nl_expand_alias (const char *); | |||
int | int | |||
main () | main () | |||
{ | { | |||
bindtextdomain ("", ""); | bindtextdomain ("", ""); | |||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a lias ("") | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a lias ("") | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_link "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : | |||
eval "$gt_func_gnugettext_libintl=yes" | eval "$gt_func_gnugettext_libintl=yes" | |||
else | else | |||
eval "$gt_func_gnugettext_libintl=no" | eval "$gt_func_gnugettext_libintl=no" | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test " $gt_val" != yes; } && test -n "$LIBICONV"; then | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test " $gt_val" != yes; } && test -n "$LIBICONV"; then | |||
LIBS="$LIBS $LIBICONV" | LIBS="$LIBS $LIBICONV" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <libintl.h> | #include <libintl.h> | |||
$gt_revision_test_code | $gt_revision_test_code | |||
extern int _nl_msg_cat_cntr; | extern int _nl_msg_cat_cntr; | |||
extern | extern | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
"C" | "C" | |||
#endif | #endif | |||
const char *_nl_expand_alias (const char *); | const char *_nl_expand_alias (const char *); | |||
int | int | |||
main () | main () | |||
{ | { | |||
bindtextdomain ("", ""); | bindtextdomain ("", ""); | |||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a lias ("") | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a lias ("") | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_link "$LINENO"; then : | if ac_fn_c_try_link "$LINENO"; then : | |||
LIBINTL="$LIBINTL $LIBICONV" | LIBINTL="$LIBINTL $LIBICONV" | |||
LTLIBINTL="$LTLIBINTL $LTLIBICONV" | LTLIBINTL="$LTLIBINTL $LTLIBICONV" | |||
eval "$gt_func_gnugettext_libintl=yes" | eval "$gt_func_gnugettext_libintl=yes" | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
fi | fi | |||
CPPFLAGS="$gt_save_CPPFLAGS" | CPPFLAGS="$gt_save_CPPFLAGS" | |||
LIBS="$gt_save_LIBS" | LIBS="$gt_save_LIBS" | |||
fi | fi | |||
eval ac_res=\$$gt_func_gnugettext_libintl | eval ac_res=\$$gt_func_gnugettext_libintl | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
skipping to change at line 13393 | skipping to change at line 13366 | |||
$as_echo "$YACC" >&6; } | $as_echo "$YACC" >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
fi | fi | |||
test -n "$YACC" && break | test -n "$YACC" && break | |||
done | done | |||
test -n "$YACC" || YACC="yacc" | test -n "$YACC" || YACC="yacc" | |||
if test "$YACC" != 'bison -y'; then : | ||||
YACC="\${top_srcdir}/build-aux/missing bison -y" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: no bison program found: only req | ||||
uired for maintainers" >&5 | ||||
$as_echo "$as_me: no bison program found: only required for maintainers" >&6;} | ||||
fi | ||||
if test "$YACC" = 'bison -y'; then | ||||
HAVE_BISON_TRUE= | ||||
HAVE_BISON_FALSE='#' | ||||
else | ||||
HAVE_BISON_TRUE='#' | ||||
HAVE_BISON_FALSE= | ||||
fi | ||||
for ac_prog in flex lex | for ac_prog in flex lex | |||
do | do | |||
# Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. | |||
set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_prog_LEX+:} false; then : | if ${ac_cv_prog_LEX+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -n "$LEX"; then | if test -n "$LEX"; then | |||
skipping to change at line 14144 | skipping to change at line 14132 | |||
# A longer-term fix would be to have automake use am__CC in this case, | # A longer-term fix would be to have automake use am__CC in this case, | |||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |||
CC="$am_aux_dir/compile $CC" | CC="$am_aux_dir/compile $CC" | |||
fi | fi | |||
ac_ext=c | ac_ext=c | |||
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' | |||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
ac_ext=cpp | save_cross_compiling=$cross_compiling | |||
ac_cpp='$CXXCPP $CPPFLAGS' | save_ac_tool_prefix=$ac_tool_prefix | |||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | cross_compiling=no | |||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex | ac_tool_prefix= | |||
t $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_ext=c | |||
if test -z "$CXX"; then | ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | |||
if test -n "$CCC"; then | ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | |||
CXX=$CCC | t.$ac_ext >&5' | |||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
if test -n "$ac_tool_prefix"; then | ||||
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam | ||||
e with args. | ||||
set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. | ||||
else | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
fi | ||||
fi | ||||
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 | ||||
$as_echo "$CC_FOR_BUILD" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
fi | ||||
if test -z "$ac_cv_prog_CC_FOR_BUILD"; then | ||||
ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD | ||||
# Extract the first word of "gcc", so it can be a program name with args. | ||||
set dummy gcc; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$ac_ct_CC_FOR_BUILD"; then | ||||
ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override th | ||||
e test. | ||||
else | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
fi | ||||
fi | ||||
ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD | ||||
if test -n "$ac_ct_CC_FOR_BUILD"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 | ||||
$as_echo "$ac_ct_CC_FOR_BUILD" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
if test "x$ac_ct_CC_FOR_BUILD" = x; then | ||||
CC_FOR_BUILD="" | ||||
else | else | |||
if test -n "$ac_tool_prefix"; then | case $cross_compiling:$ac_tool_warned in | |||
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | yes:) | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed | ||||
with build triplet" >&5 | ||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >& | ||||
2;} | ||||
ac_tool_warned=yes ;; | ||||
esac | ||||
CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD | ||||
fi | ||||
else | ||||
CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" | ||||
fi | ||||
if test -z "$CC_FOR_BUILD"; then | ||||
if test -n "$ac_tool_prefix"; then | ||||
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program na | ||||
me with args. | ||||
set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. | ||||
else | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
fi | ||||
fi | ||||
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 | ||||
$as_echo "$CC_FOR_BUILD" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
fi | ||||
fi | ||||
if test -z "$CC_FOR_BUILD"; then | ||||
# Extract the first word of "cc", so it can be a program name with args. | ||||
set dummy cc; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. | ||||
else | ||||
ac_prog_rejected=no | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||||
ac_prog_rejected=yes | ||||
continue | ||||
fi | ||||
ac_cv_prog_CC_FOR_BUILD="cc" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
if test $ac_prog_rejected = yes; then | ||||
# We found a bogon in the path, so make sure we never use it. | ||||
set dummy $ac_cv_prog_CC_FOR_BUILD | ||||
shift | ||||
if test $# != 0; then | ||||
# We chose a different compiler from the bogus one. | ||||
# However, it has the same basename, so the bogon will be chosen | ||||
# first if we set CC_FOR_BUILD to just the basename; use the full file name. | ||||
shift | ||||
ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@" | ||||
fi | ||||
fi | ||||
fi | ||||
fi | ||||
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD | ||||
if test -n "$CC_FOR_BUILD"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 | ||||
$as_echo "$CC_FOR_BUILD" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
fi | ||||
if test -z "$CC_FOR_BUILD"; then | ||||
if test -n "$ac_tool_prefix"; then | ||||
for ac_prog in cl.exe | ||||
do | do | |||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. | |||
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_prog_CXX+:} false; then : | if ${ac_cv_prog_CC_FOR_BUILD+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -n "$CXX"; then | if test -n "$CC_FOR_BUILD"; then | |||
ac_cv_prog_CXX="$CXX" # Let the user override the test. | ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
CXX=$ac_cv_prog_CXX | CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD | |||
if test -n "$CXX"; then | if test -n "$CC_FOR_BUILD"; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 | |||
$as_echo "$CXX" >&6; } | $as_echo "$CC_FOR_BUILD" >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
fi | fi | |||
test -n "$CXX" && break | test -n "$CC_FOR_BUILD" && break | |||
done | done | |||
fi | fi | |||
if test -z "$CXX"; then | if test -z "$CC_FOR_BUILD"; then | |||
ac_ct_CXX=$CXX | ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD | |||
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | for ac_prog in cl.exe | |||
do | do | |||
# Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. | |||
set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_prog_ac_ct_CXX+:} false; then : | if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CC_FOR_BUILD"; then | |||
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override th | |||
e test. | ||||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_ac_ct_CXX="$ac_prog" | ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD | |||
if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CC_FOR_BUILD"; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 | |||
$as_echo "$ac_ct_CXX" >&6; } | $as_echo "$ac_ct_CC_FOR_BUILD" >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
fi | fi | |||
test -n "$ac_ct_CXX" && break | test -n "$ac_ct_CC_FOR_BUILD" && break | |||
done | done | |||
if test "x$ac_ct_CXX" = x; then | if test "x$ac_ct_CC_FOR_BUILD" = x; then | |||
CXX="g++" | CC_FOR_BUILD="" | |||
else | else | |||
case $cross_compiling:$ac_tool_warned in | case $cross_compiling:$ac_tool_warned in | |||
yes:) | yes:) | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed | |||
with host triplet" >&5 | with build triplet" >&5 | |||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 | $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >& | |||
;} | 2;} | |||
ac_tool_warned=yes ;; | ac_tool_warned=yes ;; | |||
esac | esac | |||
CXX=$ac_ct_CXX | CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD | |||
fi | fi | |||
fi | fi | |||
fi | ||||
fi | fi | |||
test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in | ||||
\`$ac_pwd':" >&5 | ||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||||
as_fn_error $? "no acceptable C compiler found in \$PATH | ||||
See \`config.log' for more details" "$LINENO" 5; } | ||||
# Provide some information about the compiler. | # Provide some information about the compiler. | |||
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |||
set X $ac_compile | set X $ac_build_compile | |||
ac_compiler=$2 | ||||
for ac_option in --version -v -V -qversion; do | ||||
{ { ac_try="$ac_compiler $ac_option >&5" | ||||
case "(($ac_try" in | ||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||||
*) ac_try_echo=$ac_try;; | ||||
esac | ||||
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||||
$as_echo "$ac_try_echo"; } >&5 | ||||
(eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||||
ac_status=$? | ||||
if test -s conftest.err; then | ||||
sed '10a\ | ||||
... rest of stderr output deleted ... | ||||
10q' conftest.err >conftest.er1 | ||||
cat conftest.er1 >&5 | ||||
fi | ||||
rm -f conftest.er1 conftest.err | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; } | ||||
done | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C | ||||
compiler" >&5 | ||||
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||||
if ${ac_cv_c_compiler_gnu+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
#ifndef __GNUC__ | ||||
choke me | ||||
#endif | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
ac_compiler_gnu=yes | ||||
else | ||||
ac_compiler_gnu=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext | ||||
ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | ||||
$as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||||
if test $ac_compiler_gnu = yes; then | ||||
GCC=yes | ||||
else | ||||
GCC= | ||||
fi | ||||
ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set} | ||||
ac_save_CFLAGS=$CFLAGS_FOR_BUILD | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts | ||||
-g" >&5 | ||||
$as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; } | ||||
if ${ac_cv_build_prog_cc_g+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_save_c_werror_flag=$ac_c_werror_flag | ||||
ac_c_werror_flag=yes | ||||
ac_cv_build_prog_cc_g=no | ||||
CFLAGS_FOR_BUILD="-g" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
ac_cv_build_prog_cc_g=yes | ||||
else | ||||
CFLAGS_FOR_BUILD="" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
else | ||||
ac_c_werror_flag=$ac_save_c_werror_flag | ||||
CFLAGS_FOR_BUILD="-g" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
ac_cv_build_prog_cc_g=yes | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext | ||||
ac_c_werror_flag=$ac_save_c_werror_flag | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 | ||||
$as_echo "$ac_cv_build_prog_cc_g" >&6; } | ||||
if test "$ac_test_CFLAGS" = set; then | ||||
CFLAGS_FOR_BUILD=$ac_save_CFLAGS | ||||
elif test $ac_cv_build_prog_cc_g = yes; then | ||||
if test "$GCC" = yes; then | ||||
CFLAGS_FOR_BUILD="-g -O2" | ||||
else | ||||
CFLAGS_FOR_BUILD="-g" | ||||
fi | ||||
else | ||||
if test "$GCC" = yes; then | ||||
CFLAGS_FOR_BUILD="-O2" | ||||
else | ||||
CFLAGS_FOR_BUILD= | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to ac | ||||
cept ISO C89" >&5 | ||||
$as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; } | ||||
if ${ac_cv_prog_cc_c89+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_cv_prog_cc_c89=no | ||||
ac_save_CC=$CC_FOR_BUILD | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <stdarg.h> | ||||
#include <stdio.h> | ||||
struct stat; | ||||
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||||
struct buf { int x; }; | ||||
FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||||
static char *e (p, i) | ||||
char **p; | ||||
int i; | ||||
{ | ||||
return p[i]; | ||||
} | ||||
static char *f (char * (*g) (char **, int), char **p, ...) | ||||
{ | ||||
char *s; | ||||
va_list v; | ||||
va_start (v,p); | ||||
s = g (p, va_arg (v,int)); | ||||
va_end (v); | ||||
return s; | ||||
} | ||||
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||||
function prototypes and stuff, but not '\xHH' hex character constants. | ||||
These don't provoke an error unfortunately, instead are silently treated | ||||
as 'x'. The following induces an error, until -std is added to get | ||||
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||||
array size at least. It's necessary to write '\x00'==0 to get something | ||||
that's true only with -std. */ | ||||
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||||
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||||
inside strings and character constants. */ | ||||
#define FOO(x) 'x' | ||||
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||||
int test (int i, double x); | ||||
struct s1 {int (*f) (int a);}; | ||||
struct s2 {int (*f) (double a);}; | ||||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i | ||||
nt); | ||||
int argc; | ||||
char **argv; | ||||
int | ||||
main () | ||||
{ | ||||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||||
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||||
do | ||||
CC_FOR_BUILD="$ac_save_CC $ac_arg" | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
ac_cv_prog_cc_c89=$ac_arg | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_build_objext | ||||
test "x$ac_cv_prog_cc_c89" != "xno" && break | ||||
done | ||||
rm -f conftest.$ac_ext | ||||
CC_FOR_BUILD=$ac_save_CC | ||||
fi | ||||
# AC_CACHE_VAL | ||||
case "x$ac_cv_prog_cc_c89" in | ||||
x) | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||||
$as_echo "none needed" >&6; } ;; | ||||
xno) | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||||
$as_echo "unsupported" >&6; } ;; | ||||
*) | ||||
CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||||
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||||
esac | ||||
if test "x$ac_cv_prog_cc_c89" != xno; then : | ||||
fi | ||||
ac_ext=c | ||||
ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | ||||
ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | ||||
t.$ac_ext >&5' | ||||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
ac_ext=c | ||||
ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | ||||
ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | ||||
t.$ac_ext >&5' | ||||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understa | ||||
nds -c and -o together" >&5 | ||||
$as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " > | ||||
&6; } | ||||
if ${am_cv_prog_cc_c_o+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
# Make sure it works both with $CC and with simple cc. | ||||
# Following AC_PROG_CC_C_O, we do the test twice because some | ||||
# compilers refuse to overwrite an existing .o file with -o, | ||||
# though they will create one. | ||||
am_cv_prog_cc_c_o=yes | ||||
for am_i in 1 2; do | ||||
if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$a | ||||
c_build_objext" >&5 | ||||
($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 | ||||
ac_status=$? | ||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||||
(exit $ac_status); } \ | ||||
&& test -f conftest2.$ac_build_objext; then | ||||
: OK | ||||
else | ||||
am_cv_prog_cc_c_o=no | ||||
break | ||||
fi | ||||
done | ||||
rm -f core conftest* | ||||
unset am_i | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | ||||
$as_echo "$am_cv_prog_cc_c_o" >&6; } | ||||
if test "$am_cv_prog_cc_c_o" != yes; then | ||||
# Losing compiler, so override with the script. | ||||
# FIXME: It is wrong to rewrite CC. | ||||
# But if we don't then we get into trouble of one sort or another. | ||||
# A longer-term fix would be to have automake use am__CC in this case, | ||||
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||||
CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" | ||||
fi | ||||
ac_ext=c | ||||
ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | ||||
ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | ||||
t.$ac_ext >&5' | ||||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
ac_ext=c | ||||
ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | ||||
ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | ||||
t.$ac_ext >&5' | ||||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" | ||||
>&5 | ||||
$as_echo_n "checking how to run the C preprocessor... " >&6; } | ||||
# On Suns, sometimes $CPP names a directory. | ||||
if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then | ||||
CPP_FOR_BUILD= | ||||
fi | ||||
if test -z "$CPP_FOR_BUILD"; then | ||||
if ${ac_cv_build_prog_CPP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
# Double quotes because CPP needs to be expanded | ||||
for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" | ||||
"/lib/cpp" | ||||
do | ||||
ac_preproc_ok=false | ||||
for ac_c_preproc_warn_flag in '' yes | ||||
do | ||||
# Use a header file that comes with gcc, so configuring glibc | ||||
# with a fresh cross-compiler works. | ||||
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||||
# <limits.h> exists even on freestanding compilers. | ||||
# On the NeXT, cc -E runs the code through the compiler's parser, | ||||
# not just through cpp. "Syntax error" is here to catch this case. | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#ifdef __STDC__ | ||||
# include <limits.h> | ||||
#else | ||||
# include <assert.h> | ||||
#endif | ||||
Syntax error | ||||
_ACEOF | ||||
if ac_fn_c_try_cpp "$LINENO"; then : | ||||
else | ||||
# Broken: fails on valid input. | ||||
continue | ||||
fi | ||||
rm -f conftest.err conftest.i conftest.$ac_ext | ||||
# OK, works on sane cases. Now check whether nonexistent headers | ||||
# can be detected and how. | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <ac_nonexistent.h> | ||||
_ACEOF | ||||
if ac_fn_c_try_cpp "$LINENO"; then : | ||||
# Broken: success on invalid input. | ||||
continue | ||||
else | ||||
# Passes both tests. | ||||
ac_preproc_ok=: | ||||
break | ||||
fi | ||||
rm -f conftest.err conftest.i conftest.$ac_ext | ||||
done | ||||
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||||
rm -f conftest.i conftest.err conftest.$ac_ext | ||||
if $ac_preproc_ok; then : | ||||
break | ||||
fi | ||||
done | ||||
ac_cv_build_prog_CPP=$CPP_FOR_BUILD | ||||
fi | ||||
CPP_FOR_BUILD=$ac_cv_build_prog_CPP | ||||
else | ||||
ac_cv_build_prog_CPP=$CPP_FOR_BUILD | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 | ||||
$as_echo "$CPP_FOR_BUILD" >&6; } | ||||
ac_preproc_ok=false | ||||
for ac_c_preproc_warn_flag in '' yes | ||||
do | ||||
# Use a header file that comes with gcc, so configuring glibc | ||||
# with a fresh cross-compiler works. | ||||
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||||
# <limits.h> exists even on freestanding compilers. | ||||
# On the NeXT, cc -E runs the code through the compiler's parser, | ||||
# not just through cpp. "Syntax error" is here to catch this case. | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#ifdef __STDC__ | ||||
# include <limits.h> | ||||
#else | ||||
# include <assert.h> | ||||
#endif | ||||
Syntax error | ||||
_ACEOF | ||||
if ac_fn_c_try_cpp "$LINENO"; then : | ||||
else | ||||
# Broken: fails on valid input. | ||||
continue | ||||
fi | ||||
rm -f conftest.err conftest.i conftest.$ac_ext | ||||
# OK, works on sane cases. Now check whether nonexistent headers | ||||
# can be detected and how. | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#include <ac_nonexistent.h> | ||||
_ACEOF | ||||
if ac_fn_c_try_cpp "$LINENO"; then : | ||||
# Broken: success on invalid input. | ||||
continue | ||||
else | ||||
# Passes both tests. | ||||
ac_preproc_ok=: | ||||
break | ||||
fi | ||||
rm -f conftest.err conftest.i conftest.$ac_ext | ||||
done | ||||
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||||
rm -f conftest.i conftest.err conftest.$ac_ext | ||||
if $ac_preproc_ok; then : | ||||
else | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||||
as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check | ||||
See \`config.log' for more details" "$LINENO" 5; } | ||||
fi | ||||
ac_ext=c | ||||
ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' | ||||
ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftes | ||||
t.$ac_ext >&5' | ||||
ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPF | ||||
LAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
ac_tool_prefix=$save_ac_tool_prefix | ||||
cross_compiling=$save_cross_compiling | ||||
BUILD_EXEEXT=$ac_build_exeext | ||||
BUILD_OBJEXT=$ac_build_objext | ||||
ac_ext=cpp | ||||
ac_cpp='$CXXCPP $CPPFLAGS' | ||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex | ||||
t $LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ||||
if test -z "$CXX"; then | ||||
if test -n "$CCC"; then | ||||
CXX=$CCC | ||||
else | ||||
if test -n "$ac_tool_prefix"; then | ||||
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | ||||
do | ||||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra | ||||
m name with args. | ||||
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_CXX+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$CXX"; then | ||||
ac_cv_prog_CXX="$CXX" # Let the user override the test. | ||||
else | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
fi | ||||
fi | ||||
CXX=$ac_cv_prog_CXX | ||||
if test -n "$CXX"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | ||||
$as_echo "$CXX" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
test -n "$CXX" && break | ||||
done | ||||
fi | ||||
if test -z "$CXX"; then | ||||
ac_ct_CXX=$CXX | ||||
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | ||||
do | ||||
# Extract the first word of "$ac_prog", so it can be a program name with args. | ||||
set dummy $ac_prog; ac_word=$2 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_prog_ac_ct_CXX+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -n "$ac_ct_CXX"; then | ||||
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ||||
else | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_prog_ac_ct_CXX="$ac_prog" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
fi | ||||
fi | ||||
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ||||
if test -n "$ac_ct_CXX"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | ||||
$as_echo "$ac_ct_CXX" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
test -n "$ac_ct_CXX" && break | ||||
done | ||||
if test "x$ac_ct_CXX" = x; then | ||||
CXX="g++" | ||||
else | ||||
case $cross_compiling:$ac_tool_warned in | ||||
yes:) | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed | ||||
with host triplet" >&5 | ||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 | ||||
;} | ||||
ac_tool_warned=yes ;; | ||||
esac | ||||
CXX=$ac_ct_CXX | ||||
fi | ||||
fi | ||||
fi | ||||
fi | ||||
# Provide some information about the compiler. | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | ||||
set X $ac_compile | ||||
ac_compiler=$2 | ac_compiler=$2 | |||
for ac_option in --version -v -V -qversion; do | for ac_option in --version -v -V -qversion; do | |||
{ { ac_try="$ac_compiler $ac_option >&5" | { { ac_try="$ac_compiler $ac_option >&5" | |||
case "(($ac_try" in | case "(($ac_try" in | |||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |||
*) ac_try_echo=$ac_try;; | *) ac_try_echo=$ac_try;; | |||
esac | esac | |||
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |||
$as_echo "$ac_try_echo"; } >&5 | $as_echo "$ac_try_echo"; } >&5 | |||
(eval "$ac_compiler $ac_option >&5") 2>conftest.err | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |||
skipping to change at line 17772 | skipping to change at line 18499 | |||
fi | fi | |||
if test "x$enable_bootstrap" = xyes; then | if test "x$enable_bootstrap" = xyes; then | |||
ENABLE_BOOTSTRAP_TRUE= | ENABLE_BOOTSTRAP_TRUE= | |||
ENABLE_BOOTSTRAP_FALSE='#' | ENABLE_BOOTSTRAP_FALSE='#' | |||
else | else | |||
ENABLE_BOOTSTRAP_TRUE='#' | ENABLE_BOOTSTRAP_TRUE='#' | |||
ENABLE_BOOTSTRAP_FALSE= | ENABLE_BOOTSTRAP_FALSE= | |||
fi | fi | |||
# Extract the first word of "bison", so it can be a program name with args. | if test "x$cross_compiling" = xyes; then | |||
set dummy bison; ac_word=$2 | CROSS_TRUE= | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | CROSS_FALSE='#' | |||
$as_echo_n "checking for $ac_word... " >&6; } | ||||
if ${ac_cv_path_BISON+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
case $BISON in | ||||
[\\/]* | ?:[\\/]*) | ||||
ac_cv_path_BISON="$BISON" # Let the user override the test with a path. | ||||
;; | ||||
*) | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||||
ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext" | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > | ||||
&5 | ||||
break 2 | ||||
fi | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="no" | ||||
;; | ||||
esac | ||||
fi | ||||
BISON=$ac_cv_path_BISON | ||||
if test -n "$BISON"; then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5 | ||||
$as_echo "$BISON" >&6; } | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
fi | ||||
if test "$BISON" != no; then : | ||||
else | else | |||
BISON=\${top_srcdir}/build-aux/missing bison | CROSS_TRUE='#' | |||
CROSS_FALSE= | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: no bison program found: only r | ||||
equired for maintainers" >&5 | ||||
$as_echo "$as_me: no bison program found: only required for maintainers" >&6;} | ||||
fi | fi | |||
# Extract the first word of "help2man", so it can be a program name with args. | # Extract the first word of "help2man", so it can be a program name with args. | |||
set dummy help2man; ac_word=$2 | set dummy help2man; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_path_HELP2MAN+:} false; then : | if ${ac_cv_path_HELP2MAN+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
case $HELP2MAN in | case $HELP2MAN in | |||
skipping to change at line 17989 | skipping to change at line 18674 | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext" | ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT="indent" | test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT="\${top_srcdir}/build-aux/mi ssing indent" | |||
;; | ;; | |||
esac | esac | |||
fi | fi | |||
INDENT=$ac_cv_path_INDENT | INDENT=$ac_cv_path_INDENT | |||
if test -n "$INDENT"; then | if test -n "$INDENT"; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5 | |||
$as_echo "$INDENT" >&6; } | $as_echo "$INDENT" >&6; } | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
$as_echo "no" >&6; } | $as_echo "no" >&6; } | |||
fi | fi | |||
# if INDENT is set to 'indent' then we didn't find indent | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $INDENT is GNU indent" >& | |||
if test "$INDENT" != indent ; then | 5 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $INDENT is GNU indent" > | ||||
&5 | ||||
$as_echo_n "checking if $INDENT is GNU indent... " >&6; } | $as_echo_n "checking if $INDENT is GNU indent... " >&6; } | |||
if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; | if $INDENT --version 2>/dev/null | head -n 1 | grep "GNU indent" >/dev/null; t | |||
then | hen : | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |||
$as_echo "yes" >&6; } | $as_echo "yes" >&6; } | |||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||||
$as_echo "no" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $INDENT does not appear | ||||
to be GNU indent." >&5 | ||||
$as_echo "$as_me: WARNING: $INDENT does not appear to be GNU indent." >&2;} | ||||
fi | ||||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no indent program found: ma | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |||
ke indent target will not function" >&5 | $as_echo "no" >&6; } | |||
$as_echo "$as_me: WARNING: no indent program found: make indent target will not | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $INDENT does not appear t | |||
function" >&2;} | o be GNU indent; 'make indent' may not function properly" >&5 | |||
$as_echo "$as_me: WARNING: $INDENT does not appear to be GNU indent; 'make inden | ||||
t' may not function properly" >&2;} | ||||
fi | fi | |||
# checks for headers | # checks for headers | |||
for ac_header in inttypes.h libintl.h limits.h locale.h malloc.h netinet/in.h re | for ac_header in regex.h strings.h sys/stat.h sys/wait.h unistd.h | |||
gex.h unistd.h | do : | |||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include | ||||
s_default" | ||||
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||||
_ACEOF | ||||
else | ||||
as_fn_error $? "required header not found on your system" "$LINENO" 5 | ||||
fi | ||||
done | ||||
for ac_header in inttypes.h libintl.h limits.h locale.h malloc.h netinet/in.h | ||||
do : | do : | |||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" | |||
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
done | done | |||
# checks for libraries | # checks for libraries | |||
# The test test-pthread uses libpthread, so we check for it here, but | # The test test-pthread uses libpthread, so we check for it here, but | |||
# all we need is the preprocessor symbol defined since we don't need | # all we need is the preprocessor symbol defined since we don't need | |||
# LIBS to include libpthread for building flex. | # LIBS to include libpthread for building flex. | |||
LIBPTHREAD='' | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpt hread" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpt hread" >&5 | |||
$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } | $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } | |||
if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : | if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lpthread $LIBS" | LIBS="-lpthread $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
skipping to change at line 18078 | skipping to change at line 18774 | |||
else | else | |||
ac_cv_lib_pthread_pthread_mutex_lock=no | ac_cv_lib_pthread_pthread_mutex_lock=no | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext \ | rm -f core conftest.err conftest.$ac_objext \ | |||
conftest$ac_exeext conftest.$ac_ext | conftest$ac_exeext conftest.$ac_ext | |||
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mute x_lock" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mute x_lock" >&5 | |||
$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } | $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } | |||
if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : | if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : | |||
for ac_header in pthread.h | ||||
$as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h | ||||
else | ||||
$as_echo "#define HAVE_LIBPTHREAD 0" >>confdefs.h | ||||
fi | ||||
for ac_header in pthread.h | ||||
do : | do : | |||
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ ac_includes_default" | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ ac_includes_default" | |||
if test "x$ac_cv_header_pthread_h" = xyes; then : | if test "x$ac_cv_header_pthread_h" = xyes; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_PTHREAD_H 1 | #define HAVE_PTHREAD_H 1 | |||
_ACEOF | _ACEOF | |||
LIBPTHREAD=-lpthread | ||||
else | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread tests will be skippe | ||||
d" >&5 | ||||
$as_echo "$as_me: WARNING: pthread tests will be skipped" >&2;} | ||||
fi | fi | |||
done | done | |||
if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then | ||||
want_pthread_TRUE= | ||||
want_pthread_FALSE='#' | ||||
else | else | |||
want_pthread_TRUE='#' | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread tests will be skippe | |||
want_pthread_FALSE= | d" >&5 | |||
$as_echo "$as_me: WARNING: pthread tests will be skipped" >&2;} | ||||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5 | |||
$as_echo_n "checking for log10 in -lm... " >&6; } | $as_echo_n "checking for log10 in -lm... " >&6; } | |||
if ${ac_cv_lib_m_log10+:} false; then : | if ${ac_cv_lib_m_log10+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS | |||
LIBS="-lm $LIBS" | LIBS="-lm $LIBS" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
skipping to change at line 18886 | skipping to change at line 19573 | |||
$as_echo "#define realloc rpl_realloc" >>confdefs.h | $as_echo "#define realloc rpl_realloc" >>confdefs.h | |||
fi | fi | |||
if test "$cross_compiling" = yes; then : | if test "$cross_compiling" = yes; then : | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_realloc_0 _nonnull guessed because of cross compilation" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_realloc_0 _nonnull guessed because of cross compilation" >&5 | |||
$as_echo "$as_me: WARNING: result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation" >&2;} | $as_echo "$as_me: WARNING: result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation" >&2;} | |||
fi | fi | |||
for ac_func in dup2 memset pow regcomp setlocale strchr strdup strtol | for ac_func in dup2 memset regcomp strcasecmp strchr strdup strtol | |||
do : | do : | |||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |||
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |||
_ACEOF | _ACEOF | |||
else | ||||
as_fn_error $? "required library function not found on your system" "$LINENO" | ||||
5 | ||||
fi | fi | |||
done | done | |||
ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray" | # Optional library functions | |||
if test "x$ac_cv_func_reallocarray" = xyes; then : | for ac_func in pow setlocale reallocarray | |||
$as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h | do : | |||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||||
else | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |||
case " $LIBOBJS " in | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |||
*" reallocarray.$ac_objext "* ) ;; | cat >>confdefs.h <<_ACEOF | |||
*) LIBOBJS="$LIBOBJS reallocarray.$ac_objext" | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |||
;; | _ACEOF | |||
esac | ||||
fi | fi | |||
done | ||||
ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile exampl es/fastwc/Makefile examples/manual/Makefile lib/Makefile po/Makefile.in src/Make file tools/Makefile tests/Makefile" | ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile exampl es/fastwc/Makefile examples/manual/Makefile po/Makefile.in src/Makefile tools/Ma kefile tests/Makefile" | |||
cat >confcache <<\_ACEOF | cat >confcache <<\_ACEOF | |||
# This file is a shell script that caches the results of configure | # This file is a shell script that caches the results of configure | |||
# tests run on this system so they can be shared between configure | # tests run on this system so they can be shared between configure | |||
# scripts and configure runs, see configure's option --config-cache. | # scripts and configure runs, see configure's option --config-cache. | |||
# It is not useful on other systems. If it contains results you don't | # It is not useful on other systems. If it contains results you don't | |||
# want to keep, you may remove or edit it. | # want to keep, you may remove or edit it. | |||
# | # | |||
# config.status only pays attention to the cache file if you give it | # config.status only pays attention to the cache file if you give it | |||
# the --recheck option to rerun configure. | # the --recheck option to rerun configure. | |||
skipping to change at line 19045 | skipping to change at line 19734 | |||
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 -n "$EXEEXT"; then | if test -n "$EXEEXT"; then | |||
am__EXEEXT_TRUE= | am__EXEEXT_TRUE= | |||
am__EXEEXT_FALSE='#' | am__EXEEXT_FALSE='#' | |||
else | else | |||
am__EXEEXT_TRUE='#' | am__EXEEXT_TRUE='#' | |||
am__EXEEXT_FALSE= | am__EXEEXT_FALSE= | |||
fi | fi | |||
if test -z "${HAVE_BISON_TRUE}" && test -z "${HAVE_BISON_FALSE}"; then | ||||
as_fn_error $? "conditional \"HAVE_BISON\" was never defined. | ||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||||
fi | ||||
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | |||
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. | as_fn_error $? "conditional \"am__fastdepCXX\" 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 "${ENABLE_LIBFL_TRUE}" && test -z "${ENABLE_LIBFL_FALSE}"; then | if test -z "${ENABLE_LIBFL_TRUE}" && test -z "${ENABLE_LIBFL_FALSE}"; then | |||
as_fn_error $? "conditional \"ENABLE_LIBFL\" was never defined. | as_fn_error $? "conditional \"ENABLE_LIBFL\" 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 "${ENABLE_BOOTSTRAP_TRUE}" && test -z "${ENABLE_BOOTSTRAP_FALSE}"; th en | if test -z "${ENABLE_BOOTSTRAP_TRUE}" && test -z "${ENABLE_BOOTSTRAP_FALSE}"; th en | |||
as_fn_error $? "conditional \"ENABLE_BOOTSTRAP\" was never defined. | as_fn_error $? "conditional \"ENABLE_BOOTSTRAP\" 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 "${want_pthread_TRUE}" && test -z "${want_pthread_FALSE}"; then | if test -z "${CROSS_TRUE}" && test -z "${CROSS_FALSE}"; then | |||
as_fn_error $? "conditional \"want_pthread\" was never defined. | as_fn_error $? "conditional \"CROSS\" 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 | |||
: "${CONFIG_STATUS=./config.status}" | : "${CONFIG_STATUS=./config.status}" | |||
ac_write_fail=0 | ac_write_fail=0 | |||
ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files | |||
ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |||
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |||
as_write_fail=0 | as_write_fail=0 | |||
skipping to change at line 19449 | skipping to change at line 20142 | |||
## 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 the fast lexical analyser generator $as_me 2.6.3, whic h was | This file was extended by the fast lexical analyser generator $as_me 2.6.4, whic h was | |||
generated by GNU Autoconf 2.69. Invocation command line was | generated by GNU Autoconf 2.69. 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 19514 | skipping to change at line 20207 | |||
Configuration commands: | Configuration commands: | |||
$config_commands | $config_commands | |||
Report bugs to <flex-help@lists.sourceforge.net>." | Report bugs to <flex-help@lists.sourceforge.net>." | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | |||
ac_cs_version="\\ | ac_cs_version="\\ | |||
the fast lexical analyser generator config.status 2.6.3 | the fast lexical analyser generator config.status 2.6.4 | |||
configured by $0, generated by GNU Autoconf 2.69, | configured by $0, generated by GNU Autoconf 2.69, | |||
with options \\"\$ac_cs_config\\" | with options \\"\$ac_cs_config\\" | |||
Copyright (C) 2012 Free Software Foundation, Inc. | Copyright (C) 2012 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' | |||
skipping to change at line 20033 | skipping to change at line 20726 | |||
case $ac_config_target in | case $ac_config_target in | |||
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | |||
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |||
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | |||
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; | "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; | |||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |||
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | |||
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; | "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; | |||
"examples/fastwc/Makefile") CONFIG_FILES="$CONFIG_FILES examples/fastwc/Make file" ;; | "examples/fastwc/Makefile") CONFIG_FILES="$CONFIG_FILES examples/fastwc/Make file" ;; | |||
"examples/manual/Makefile") CONFIG_FILES="$CONFIG_FILES examples/manual/Make file" ;; | "examples/manual/Makefile") CONFIG_FILES="$CONFIG_FILES examples/manual/Make file" ;; | |||
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; | ||||
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; | |||
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | |||
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; | |||
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; | |||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |||
esac | esac | |||
done | done | |||
# If the user did not use the arguments to specify the items to instantiate, | # If the user did not use the arguments to specify the items to instantiate, | |||
skipping to change at line 21433 | skipping to change at line 22125 | |||
"po-directories":C) | "po-directories":C) | |||
for ac_file in $CONFIG_FILES; do | for ac_file in $CONFIG_FILES; do | |||
# Support "outfile[:infile[:infile...]]" | # Support "outfile[:infile[:infile...]]" | |||
case "$ac_file" in | case "$ac_file" in | |||
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | |||
esac | esac | |||
# PO directories have a Makefile.in generated from Makefile.in.in. | # PO directories have a Makefile.in generated from Makefile.in.in. | |||
case "$ac_file" in */Makefile.in) | case "$ac_file" in */Makefile.in) | |||
# Adjust a relative srcdir. | # Adjust a relative srcdir. | |||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | |||
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` | ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" | |||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | |||
# In autoconf-2.13 it is called $ac_given_srcdir. | # In autoconf-2.13 it is called $ac_given_srcdir. | |||
# In autoconf-2.50 it is called $srcdir. | # In autoconf-2.50 it is called $srcdir. | |||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | |||
case "$ac_given_srcdir" in | case "$ac_given_srcdir" in | |||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | |||
/*) top_srcdir="$ac_given_srcdir" ;; | /*) top_srcdir="$ac_given_srcdir" ;; | |||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; | |||
esac | esac | |||
# Treat a directory as a PO directory if and only if it has a | # Treat a directory as a PO directory if and only if it has a | |||
# POTFILES.in file. This allows packages to have multiple PO | # POTFILES.in file. This allows packages to have multiple PO | |||
# directories under different names or in different locations. | # directories under different names or in different locations. | |||
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then | |||
rm -f "$ac_dir/POTFILES" | rm -f "$ac_dir/POTFILES" | |||
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo " creating $ac_dir/POTFILES" | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo " creating $ac_dir/POTFILES" | |||
gt_tab=`printf '\t'` | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ] | |||
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${ | *\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_ | |||
gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" | dir/POTFILES" | |||
> "$ac_dir/POTFILES" | ||||
POMAKEFILEDEPS="POTFILES.in" | POMAKEFILEDEPS="POTFILES.in" | |||
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | |||
# on $ac_dir but don't depend on user-specified configuration | # on $ac_dir but don't depend on user-specified configuration | |||
# parameters. | # parameters. | |||
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | |||
# The LINGUAS file contains the set of available languages. | # The LINGUAS file contains the set of available languages. | |||
if test -n "$OBSOLETE_ALL_LINGUAS"; then | if test -n "$OBSOLETE_ALL_LINGUAS"; then | |||
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure .in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure .in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | |||
fi | fi | |||
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/ LINGUAS"` | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/ LINGUAS"` | |||
# Hide the ALL_LINGUAS assignment from automake < 1.5. | # Hide the ALL_LINGUAS assigment from automake < 1.5. | |||
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | |||
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | |||
else | else | |||
# The set of available languages was given in configure.in. | # The set of available languages was given in configure.in. | |||
# Hide the ALL_LINGUAS assignment from automake < 1.5. | # Hide the ALL_LINGUAS assigment from automake < 1.5. | |||
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' | |||
fi | fi | |||
# Compute POFILES | # Compute POFILES | |||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |||
# Compute UPDATEPOFILES | # Compute UPDATEPOFILES | |||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |||
# Compute DUMMYPOFILES | # Compute DUMMYPOFILES | |||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |||
# Compute GMOFILES | # Compute GMOFILES | |||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |||
End of changes. 108 change blocks. | ||||
274 lines changed or deleted | 1003 lines changed or added |