configure (tcsh-6.22.02) | : | configure (tcsh-6.22.03) | ||
---|---|---|---|---|
#! /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 tcsh 6.22.02. | # Generated by GNU Autoconf 2.69 for tcsh 6.22.03. | |||
# | # | |||
# Report bugs to <https://bugs.astron.com/>. | # Report bugs to <https://bugs.astron.com/>. | |||
# | # | |||
# | # | |||
# 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 576 | skipping to change at line 576 | |||
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='tcsh' | PACKAGE_NAME='tcsh' | |||
PACKAGE_TARNAME='tcsh' | PACKAGE_TARNAME='tcsh' | |||
PACKAGE_VERSION='6.22.02' | PACKAGE_VERSION='6.22.03' | |||
PACKAGE_STRING='tcsh 6.22.02' | PACKAGE_STRING='tcsh 6.22.03' | |||
PACKAGE_BUGREPORT='https://bugs.astron.com/' | PACKAGE_BUGREPORT='https://bugs.astron.com/' | |||
PACKAGE_URL='' | PACKAGE_URL='' | |||
ac_unique_file="tc.vers.c" | ac_unique_file="tc.vers.c" | |||
# 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 626 | skipping to change at line 626 | |||
#endif" | #endif" | |||
ac_subst_vars='LTLIBOBJS | ac_subst_vars='LTLIBOBJS | |||
LIBOBJS | LIBOBJS | |||
BUILD_CATALOGS | BUILD_CATALOGS | |||
HESLIB | HESLIB | |||
HESDEF | HESDEF | |||
DFLAGS | DFLAGS | |||
CC_FOR_GETHOST | CC_FOR_GETHOST | |||
GENCAT | GENCAT | |||
LTLIBICONV | ||||
LIBICONV | ||||
EGREP | EGREP | |||
GREP | GREP | |||
CPP | CPP | |||
LTLIBICONV | ||||
LIBICONV | ||||
OBJEXT | OBJEXT | |||
EXEEXT | EXEEXT | |||
ac_ct_CC | ac_ct_CC | |||
CPPFLAGS | CPPFLAGS | |||
LDFLAGS | LDFLAGS | |||
CFLAGS | CFLAGS | |||
CC | CC | |||
host_os | host_os | |||
host_vendor | host_vendor | |||
host_cpu | host_cpu | |||
skipping to change at line 1243 | skipping to change at line 1243 | |||
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 tcsh 6.22.02 to adapt to many kinds of systems. | \`configure' configures tcsh 6.22.03 to adapt to many kinds of systems. | |||
Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... | |||
To assign environment variables (e.g., CC, CFLAGS...), specify them as | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |||
VAR=VALUE. See below for descriptions of some of the useful variables. | VAR=VALUE. See below for descriptions of some of the useful variables. | |||
Defaults for the options are specified in brackets. | Defaults for the options are specified in brackets. | |||
Configuration: | Configuration: | |||
-h, --help display this help and exit | -h, --help display this help and exit | |||
skipping to change at line 1308 | skipping to change at line 1308 | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
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 tcsh 6.22.02:";; | short | recursive ) echo "Configuration of tcsh 6.22.03:";; | |||
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] | |||
--disable-rpath do not hardcode runtime library paths | --disable-rpath do not hardcode runtime library paths | |||
--disable-nls Disable NLS support | --disable-nls Disable NLS support | |||
--disable-nls-catalogs Disable NLS catalog support | --disable-nls-catalogs Disable NLS catalog support | |||
skipping to change at line 1404 | skipping to change at line 1404 | |||
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 | |||
tcsh configure 6.22.02 | tcsh configure 6.22.03 | |||
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 1456 | skipping to change at line 1456 | |||
$as_echo "$as_me: failed program was:" >&5 | $as_echo "$as_me: failed program was:" >&5 | |||
sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 | |||
ac_retval=1 | ac_retval=1 | |||
fi | fi | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
as_fn_set_status $ac_retval | as_fn_set_status $ac_retval | |||
} # ac_fn_c_try_compile | } # ac_fn_c_try_compile | |||
# ac_fn_c_try_cpp LINENO | ||||
# ---------------------- | ||||
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||||
ac_fn_c_try_cpp () | ||||
{ | ||||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||||
if { { ac_try="$ac_cpp conftest.$ac_ext" | ||||
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_cpp conftest.$ac_ext") 2>conftest.err | ||||
ac_status=$? | ||||
if test -s conftest.err; then | ||||
grep -v '^ *+' conftest.err >conftest.er1 | ||||
cat conftest.er1 >&5 | ||||
mv -f conftest.er1 conftest.err | ||||
fi | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; } > conftest.i && { | ||||
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||||
test ! -s conftest.err | ||||
}; then : | ||||
ac_retval=0 | ||||
else | ||||
$as_echo "$as_me: failed program was:" >&5 | ||||
sed 's/^/| /' conftest.$ac_ext >&5 | ||||
ac_retval=1 | ||||
fi | ||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||||
as_fn_set_status $ac_retval | ||||
} # ac_fn_c_try_cpp | ||||
# ac_fn_c_try_link LINENO | # ac_fn_c_try_link LINENO | |||
# ----------------------- | # ----------------------- | |||
# Try to link conftest.$ac_ext, and return whether this succeeded. | # Try to link conftest.$ac_ext, and return whether this succeeded. | |||
ac_fn_c_try_link () | ac_fn_c_try_link () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext | |||
if { { ac_try="$ac_link" | if { { ac_try="$ac_link" | |||
case "(($ac_try" in | case "(($ac_try" in | |||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |||
skipping to change at line 1544 | skipping to change at line 1581 | |||
sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 | |||
ac_retval=$ac_status | ac_retval=$ac_status | |||
fi | fi | |||
rm -rf conftest.dSYM conftest_ipa8_conftest.oo | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
as_fn_set_status $ac_retval | as_fn_set_status $ac_retval | |||
} # ac_fn_c_try_run | } # ac_fn_c_try_run | |||
# ac_fn_c_try_cpp LINENO | ||||
# ---------------------- | ||||
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||||
ac_fn_c_try_cpp () | ||||
{ | ||||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||||
if { { ac_try="$ac_cpp conftest.$ac_ext" | ||||
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_cpp conftest.$ac_ext") 2>conftest.err | ||||
ac_status=$? | ||||
if test -s conftest.err; then | ||||
grep -v '^ *+' conftest.err >conftest.er1 | ||||
cat conftest.er1 >&5 | ||||
mv -f conftest.er1 conftest.err | ||||
fi | ||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||||
test $ac_status = 0; } > conftest.i && { | ||||
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||||
test ! -s conftest.err | ||||
}; then : | ||||
ac_retval=0 | ||||
else | ||||
$as_echo "$as_me: failed program was:" >&5 | ||||
sed 's/^/| /' conftest.$ac_ext >&5 | ||||
ac_retval=1 | ||||
fi | ||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||||
as_fn_set_status $ac_retval | ||||
} # ac_fn_c_try_cpp | ||||
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |||
# ------------------------------------------------------- | # ------------------------------------------------------- | |||
# Tests whether HEADER exists, giving a warning if it cannot be compiled using | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |||
# the include files in INCLUDES and setting the cache variable VAR | # the include files in INCLUDES and setting the cache variable VAR | |||
# accordingly. | # accordingly. | |||
ac_fn_c_check_header_mongrel () | ac_fn_c_check_header_mongrel () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
if eval \${$3+:} false; then : | if eval \${$3+:} false; then : | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |||
skipping to change at line 2167 | skipping to change at line 2167 | |||
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_func | } # ac_fn_c_check_func | |||
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 tcsh $as_me 6.22.02, which was | It was created by tcsh $as_me 6.22.03, 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 3523 | skipping to change at line 3523 | |||
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | |||
# contains only /bin. Note that ksh looks also at the FPATH variable, | # contains only /bin. Note that ksh looks also at the FPATH variable, | |||
# so we have to set that as well for the test. | # so we have to set that as well for the test. | |||
PATH_SEPARATOR=: | PATH_SEPARATOR=: | |||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |||
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | |||
|| PATH_SEPARATOR=';' | || PATH_SEPARATOR=';' | |||
} | } | |||
fi | fi | |||
if test -n "$LD"; then | ac_prog=ld | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 | if test "$GCC" = yes; then | |||
$as_echo_n "checking for ld... " >&6; } | # Check if gcc -print-prog-name=ld gives a path. | |||
elif test "$GCC" = yes; then | ||||
{ $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 $CC" >&5 | |||
$as_echo_n "checking for ld used by $CC... " >&6; } | $as_echo_n "checking for ld used by $CC... " >&6; } | |||
case $host in | ||||
*-*-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` ;; | ||||
esac | ||||
case $ac_prog in | ||||
# Accept absolute paths. | ||||
[\\/]* | ?:[\\/]*) | ||||
re_direlt='/[^/][^/]*/\.\./' | ||||
# Canonicalize the pathname of ld | ||||
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` | ||||
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do | ||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | ||||
done | ||||
test -z "$LD" && LD="$ac_prog" | ||||
;; | ||||
"") | ||||
# If it fails, then pretend we aren't using GCC. | ||||
ac_prog=ld | ||||
;; | ||||
*) | ||||
# If it is relative, then search for the first ld in PATH. | ||||
with_gnu_ld=unknown | ||||
;; | ||||
esac | ||||
elif test "$with_gnu_ld" = yes; then | elif test "$with_gnu_ld" = yes; then | |||
{ $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 test -n "$LD"; then | if ${acl_cv_path_LD+:} false; then : | |||
# Let the user override the test with a path. | ||||
: | ||||
else | ||||
if ${acl_cv_path_LD+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -z "$LD"; then | ||||
acl_cv_path_LD= # Final result of this test | acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | |||
ac_prog=ld # Program to search in $PATH | for ac_dir in $PATH; do | |||
if test "$GCC" = yes; then | IFS="$acl_save_ifs" | |||
# Check if gcc -print-prog-name=ld gives a path. | test -z "$ac_dir" && ac_dir=. | |||
case $host in | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | |||
*-*-mingw*) | acl_cv_path_LD="$ac_dir/$ac_prog" | |||
# gcc leaves a trailing carriage return which upsets mingw | # Check to see if the program is GNU ld. I'd rather use --version, | |||
acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | # but apparently some variants of GNU ld only accept -v. | |||
*) | # Break only if it was the GNU/non-GNU ld that we prefer. | |||
acl_output=`($CC -print-prog-name=ld) 2>&5` ;; | case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | |||
esac | *GNU* | *'with BFD'*) | |||
case $acl_output in | test "$with_gnu_ld" != no && break | |||
# Accept absolute paths. | ;; | |||
[\\/]* | ?:[\\/]*) | *) | |||
re_direlt='/[^/][^/]*/\.\./' | test "$with_gnu_ld" != yes && break | |||
# Canonicalize the pathname of ld | ;; | |||
acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` | ||||
while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do | ||||
acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` | ||||
done | ||||
# Got the pathname. No search in PATH is needed. | ||||
acl_cv_path_LD="$acl_output" | ||||
ac_prog= | ||||
;; | ||||
"") | ||||
# If it fails, then pretend we aren't using GCC. | ||||
;; | ||||
*) | ||||
# If it is relative, then search for the first ld in PATH. | ||||
with_gnu_ld=unknown | ||||
;; | ||||
esac | esac | |||
fi | fi | |||
if test -n "$ac_prog"; then | done | |||
# Search for $ac_prog in $PATH. | IFS="$acl_save_ifs" | |||
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | ||||
for ac_dir in $PATH; do | ||||
IFS="$acl_save_ifs" | ||||
test -z "$ac_dir" && ac_dir=. | ||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; t | ||||
hen | ||||
acl_cv_path_LD="$ac_dir/$ac_prog" | ||||
# Check to see if the program is GNU ld. I'd rather use --version, | ||||
# but apparently some variants of GNU ld only accept -v. | ||||
# Break only if it was the GNU/non-GNU ld that we prefer. | ||||
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | ||||
*GNU* | *'with BFD'*) | ||||
test "$with_gnu_ld" != no && break | ||||
;; | ||||
*) | ||||
test "$with_gnu_ld" != yes && break | ||||
;; | ||||
esac | ||||
fi | ||||
done | ||||
IFS="$acl_save_ifs" | ||||
fi | ||||
case $host in | ||||
*-*-aix*) | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#if defined __powerpc64__ || defined _ARCH_PPC64 | ||||
int ok; | ||||
#else | ||||
error fail | ||||
#endif | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
# The compiler produces 64-bit code. Add option '-b64' so that the | ||||
# linker groks 64-bit object files. | ||||
case "$acl_cv_path_LD " in | ||||
*" -b64 "*) ;; | ||||
*) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; | ||||
esac | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
;; | ||||
sparc64-*-netbsd*) | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#if defined __sparcv9 || defined __arch64__ | ||||
int ok; | ||||
#else | ||||
error fail | ||||
#endif | ||||
_ACEOF | ||||
if ac_fn_c_try_compile "$LINENO"; then : | ||||
else | else | |||
# The compiler produces 32-bit code. Add option '-m elf32_sparc' | acl_cv_path_LD="$LD" # Let the user override the test with a path. | |||
# so that the linker groks 32-bit object files. | ||||
case "$acl_cv_path_LD " in | ||||
*" -m elf32_sparc "*) ;; | ||||
*) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; | ||||
esac | ||||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
;; | ||||
esac | ||||
fi | fi | |||
LD="$acl_cv_path_LD" | LD="$acl_cv_path_LD" | |||
fi | ||||
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; } | |||
as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | ||||
fi | fi | |||
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 lds 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 | |||
;; | ;; | |||
skipping to change at line 3709 | skipping to change at line 3650 | |||
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" | acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" | |||
acl_hardcode_direct="$acl_cv_hardcode_direct" | acl_hardcode_direct="$acl_cv_hardcode_direct" | |||
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" | acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" | |||
# Check whether --enable-rpath was given. | # Check whether --enable-rpath was given. | |||
if test "${enable_rpath+set}" = set; then : | if test "${enable_rpath+set}" = set; then : | |||
enableval=$enable_rpath; : | enableval=$enable_rpath; : | |||
else | else | |||
enable_rpath=yes | enable_rpath=yes | |||
fi | fi | |||
gl_HOST_CPU_C_ABI_32BIT | ac_ext=c | |||
ac_cpp='$CPP $CPPFLAGS' | ||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | ||||
LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
{ $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" && test -d "$CPP"; then | ||||
CPP= | ||||
fi | ||||
if test -z "$CPP"; then | ||||
if ${ac_cv_prog_CPP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
# Double quotes because CPP needs to be expanded | ||||
for CPP in "$CC -E" "$CC -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_prog_CPP=$CPP | ||||
fi | ||||
CPP=$ac_cv_prog_CPP | ||||
else | ||||
ac_cv_prog_CPP=$CPP | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||||
$as_echo "$CPP" >&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\" fails sanity check | ||||
See \`config.log' for more details" "$LINENO" 5; } | ||||
fi | ||||
ac_ext=c | ||||
ac_cpp='$CPP $CPPFLAGS' | ||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | ||||
LIBS >&5' | ||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin | ||||
es and -e" >&5 | ||||
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||||
if ${ac_cv_path_GREP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -z "$GREP"; then | ||||
ac_path_GREP_found=false | ||||
# Loop through the user's path and test for each of PROGNAME-LIST | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_prog in grep ggrep; do | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||||
as_fn_executable_p "$ac_path_GREP" || continue | ||||
# Check for GNU ac_path_GREP and select it if it is found. | ||||
# Check for GNU $ac_path_GREP | ||||
case `"$ac_path_GREP" --version 2>&1` in | ||||
*GNU*) | ||||
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||||
*) | ||||
ac_count=0 | ||||
$as_echo_n 0123456789 >"conftest.in" | ||||
while : | ||||
do | ||||
cat "conftest.in" "conftest.in" >"conftest.tmp" | ||||
mv "conftest.tmp" "conftest.in" | ||||
cp "conftest.in" "conftest.nl" | ||||
$as_echo 'GREP' >> "conftest.nl" | ||||
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest. | ||||
out" 2>/dev/null || break | ||||
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||||
as_fn_arith $ac_count + 1 && ac_count=$as_val | ||||
if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||||
# Best one so far, save it but keep looking for a better one | ||||
ac_cv_path_GREP="$ac_path_GREP" | ||||
ac_path_GREP_max=$ac_count | ||||
fi | ||||
# 10*(2^10) chars as input seems more than enough | ||||
test $ac_count -gt 10 && break | ||||
done | ||||
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||||
esac | ||||
$ac_path_GREP_found && break 3 | ||||
done | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
if test -z "$ac_cv_path_GREP"; then | ||||
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us | ||||
r/xpg4/bin" "$LINENO" 5 | ||||
fi | ||||
else | ||||
ac_cv_path_GREP=$GREP | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | ||||
$as_echo "$ac_cv_path_GREP" >&6; } | ||||
GREP="$ac_cv_path_GREP" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | ||||
$as_echo_n "checking for egrep... " >&6; } | ||||
if ${ac_cv_path_EGREP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||||
then ac_cv_path_EGREP="$GREP -E" | ||||
else | ||||
if test -z "$EGREP"; then | ||||
ac_path_EGREP_found=false | ||||
# Loop through the user's path and test for each of PROGNAME-LIST | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_prog in egrep; do | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||||
as_fn_executable_p "$ac_path_EGREP" || continue | ||||
# Check for GNU ac_path_EGREP and select it if it is found. | ||||
# Check for GNU $ac_path_EGREP | ||||
case `"$ac_path_EGREP" --version 2>&1` in | ||||
*GNU*) | ||||
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||||
*) | ||||
ac_count=0 | ||||
$as_echo_n 0123456789 >"conftest.in" | ||||
while : | ||||
do | ||||
cat "conftest.in" "conftest.in" >"conftest.tmp" | ||||
mv "conftest.tmp" "conftest.in" | ||||
cp "conftest.in" "conftest.nl" | ||||
$as_echo 'EGREP' >> "conftest.nl" | ||||
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre | ||||
ak | ||||
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||||
as_fn_arith $ac_count + 1 && ac_count=$as_val | ||||
if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||||
# Best one so far, save it but keep looking for a better one | ||||
ac_cv_path_EGREP="$ac_path_EGREP" | ||||
ac_path_EGREP_max=$ac_count | ||||
fi | ||||
# 10*(2^10) chars as input seems more than enough | ||||
test $ac_count -gt 10 && break | ||||
done | ||||
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||||
esac | ||||
$ac_path_EGREP_found && break 3 | ||||
done | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
if test -z "$ac_cv_path_EGREP"; then | ||||
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u | ||||
sr/xpg4/bin" "$LINENO" 5 | ||||
fi | ||||
else | ||||
ac_cv_path_EGREP=$EGREP | ||||
fi | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | ||||
$as_echo "$ac_cv_path_EGREP" >&6; } | ||||
EGREP="$ac_cv_path_EGREP" | ||||
acl_libdirstem=lib | ||||
acl_libdirstem2= | ||||
case "$host_os" in | case "$host_os" in | |||
solaris*) | solaris*) | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: che cking for 64-bit host" >&5 | |||
$as_echo_n "checking for 64-bit host... " >&6; } | $as_echo_n "checking for 64-bit host... " >&6; } | |||
if ${gl_cv_solaris_64bit+:} false; then : | if ${gl_cv_solaris_64bit+:} 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. */ | |||
#ifdef _LP64 | #ifdef _LP64 | |||
int ok; | sixtyfour bits | |||
#else | #endif | |||
error fail | ||||
#endif | ||||
_ACEOF | _ACEOF | |||
if ac_fn_c_try_compile "$LINENO"; then : | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |||
$EGREP "sixtyfour bits" >/dev/null 2>&1; then : | ||||
gl_cv_solaris_64bit=yes | gl_cv_solaris_64bit=yes | |||
else | else | |||
gl_cv_solaris_64bit=no | gl_cv_solaris_64bit=no | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f conftest* | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 | |||
$as_echo "$gl_cv_solaris_64bit" >&6; };; | $as_echo "$gl_cv_solaris_64bit" >&6; } | |||
esac | if test $gl_cv_solaris_64bit = yes; then | |||
acl_libdirstem=lib/64 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of | case "$host_cpu" in | |||
directories in the library search path" >&5 | sparc*) acl_libdirstem2=lib/sparcv9 ;; | |||
$as_echo_n "checking for the common suffixes of directories in the library searc | i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; | |||
h path... " >&6; } | esac | |||
if ${acl_cv_libdirstems+:} false; then : | fi | |||
$as_echo_n "(cached) " >&6 | ;; | |||
else | *) | |||
acl_libdirstem=lib | searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^ | |||
acl_libdirstem2= | libraries: ,,p' | sed -e 's,^=,,'` | |||
case "$host_os" in | if test -n "$searchpath"; then | |||
solaris*) | acl_save_IFS="${IFS= }"; IFS=":" | |||
if test $gl_cv_solaris_64b | for searchdir in $searchpath; do | |||
it = yes; then | if test -d "$searchdir"; then | |||
acl_libdirstem=lib/64 | case "$searchdir" in | |||
case "$host_cpu" in | */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; | |||
sparc*) acl_libdirstem2=lib/sparcv9 ;; | */../ | */.. ) | |||
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; | # Better ignore directories of this form. They are misleading. | |||
esac | ;; | |||
fi | *) searchdir=`cd "$searchdir" && pwd` | |||
;; | ||||
*) | ||||
if test "$HOST_CPU_C_ABI_32BIT" != yes; then | ||||
searchpath=`(if test -f /usr/bin/gcc | ||||
\ | ||||
&& LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/nul | ||||
l 2>/dev/null; then \ | ||||
LC_ALL=C /usr/bin/gcc -print-search-dirs; \ | ||||
else \ | ||||
LC_ALL=C $CC -print-search-dirs; \ | ||||
fi) 2>/dev/null \ | ||||
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` | ||||
if test -n "$searchpath"; then | ||||
acl_save_IFS="${IFS= }"; IFS=":" | ||||
for searchdir in $searchpath; do | ||||
if test -d "$searchdir"; then | ||||
case "$searchdir" in | case "$searchdir" in | |||
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;; | */lib64 ) acl_libdirstem=lib64 ;; | |||
*/../ | */.. ) | esac ;; | |||
# Better ignore directories of this form. They are misleadi | esac | |||
ng. | fi | |||
;; | done | |||
*) searchdir=`cd "$searchdir" && pwd` | IFS="$acl_save_IFS" | |||
case "$searchdir" in | fi | |||
*/lib64 ) acl_libdirstem=lib64 ;; | ;; | |||
esac ;; | esac | |||
esac | test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" | |||
fi | ||||
done | ||||
IFS="$acl_save_IFS" | ||||
fi | ||||
fi | ||||
;; | ||||
esac | ||||
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" | ||||
acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2" | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 | ||||
$as_echo "$acl_cv_libdirstems" >&6; } | ||||
# Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2. | ||||
acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` | ||||
acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'` | ||||
use_additional=yes | use_additional=yes | |||
acl_save_prefix="$prefix" | acl_save_prefix="$prefix" | |||
prefix="$acl_final_prefix" | prefix="$acl_final_prefix" | |||
acl_save_exec_prefix="$exec_prefix" | acl_save_exec_prefix="$exec_prefix" | |||
exec_prefix="$acl_final_exec_prefix" | exec_prefix="$acl_final_exec_prefix" | |||
eval additional_includedir=\"$includedir\" | eval additional_includedir=\"$includedir\" | |||
eval additional_libdir=\"$libdir\" | eval additional_libdir=\"$libdir\" | |||
skipping to change at line 3832 | skipping to change at line 4011 | |||
eval additional_includedir=\"$includedir\" | eval additional_includedir=\"$includedir\" | |||
eval additional_libdir=\"$libdir\" | eval additional_libdir=\"$libdir\" | |||
exec_prefix="$acl_save_exec_prefix" | exec_prefix="$acl_save_exec_prefix" | |||
prefix="$acl_save_prefix" | prefix="$acl_save_prefix" | |||
else | else | |||
additional_includedir="$withval/include" | additional_includedir="$withval/include" | |||
additional_libdir="$withval/$acl_libdirstem" | additional_libdir="$withval/$acl_libdirstem" | |||
if test "$acl_libdirstem2" != "$acl_libdirstem" \ | if test "$acl_libdirstem2" != "$acl_libdirstem" \ | |||
&& test ! -d "$withval/$acl_libdirstem"; then | && ! test -d "$withval/$acl_libdirstem"; then | |||
additional_libdir="$withval/$acl_libdirstem2" | additional_libdir="$withval/$acl_libdirstem2" | |||
fi | fi | |||
fi | fi | |||
fi | fi | |||
fi | fi | |||
LIBICONV= | LIBICONV= | |||
LTLIBICONV= | LTLIBICONV= | |||
INCICONV= | INCICONV= | |||
skipping to change at line 4443 | skipping to change at line 4622 | |||
&inptr, &inbytesleft, | &inptr, &inbytesleft, | |||
&outptr, &outbytesleft); | &outptr, &outbytesleft); | |||
if ((int)res > 0) | if ((int)res > 0) | |||
result |= 8; | result |= 8; | |||
iconv_close (cd_88591_to_utf8); | 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. */ | |||
/* Try standardized names. */ | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | |||
iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); | /* Try IRIX, OSF/1 names. */ | |||
/* Try IRIX, OSF/1 names. */ | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | |||
iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); | /* Try AIX names. */ | |||
/* Try AIX names. */ | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | |||
iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); | /* Try HP-UX names. */ | |||
/* Try HP-UX names. */ | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | |||
iconv_t cd4 = iconv_open ("utf8", "eucJP"); | result |= 16; | |||
if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) | ||||
&& cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) | ||||
result |= 16; | ||||
if (cd1 != (iconv_t)(-1)) | ||||
iconv_close (cd1); | ||||
if (cd2 != (iconv_t)(-1)) | ||||
iconv_close (cd2); | ||||
if (cd3 != (iconv_t)(-1)) | ||||
iconv_close (cd3); | ||||
if (cd4 != (iconv_t)(-1)) | ||||
iconv_close (cd4); | ||||
} | ||||
return result; | return result; | |||
; | ; | |||
return 0; | 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 | |||
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 \ | |||
skipping to change at line 4551 | skipping to change at line 4718 | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg 1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" | am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg 1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" | |||
fi | fi | |||
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` | am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: | { $as_echo "$as_me:${as_lineno-$LINENO}: result: | |||
$am_cv_proto_iconv" >&5 | $am_cv_proto_iconv" >&5 | |||
$as_echo " | $as_echo " | |||
$am_cv_proto_iconv" >&6; } | $am_cv_proto_iconv" >&6; } | |||
else | ||||
am_cv_proto_iconv_arg1="" | ||||
fi | ||||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define ICONV_CONST $am_cv_proto_iconv_arg1 | #define ICONV_CONST $am_cv_proto_iconv_arg1 | |||
_ACEOF | _ACEOF | |||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking cached host tuple" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking cached host tuple" >&5 | |||
$as_echo_n "checking cached host tuple... " >&6; } | $as_echo_n "checking cached host tuple... " >&6; } | |||
if { test x"${ac_cv_host_system_type+set}" = x"set" && | if { test x"${ac_cv_host_system_type+set}" = x"set" && | |||
test x"$ac_cv_host_system_type" != x"$host"; }; then | test x"$ac_cv_host_system_type" != x"$host"; }; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: different" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: different" >&5 | |||
$as_echo "different" >&6; } | $as_echo "different" >&6; } | |||
as_fn_error $? "remove config.cache and re-run configure" "$LINENO" 5 | as_fn_error $? "remove config.cache and re-run configure" "$LINENO" 5 | |||
else | else | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |||
$as_echo "ok" >&6; } | $as_echo "ok" >&6; } | |||
skipping to change at line 5490 | skipping to change at line 5656 | |||
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |||
See \`config.log' for more details" "$LINENO" 5; } | See \`config.log' for more details" "$LINENO" 5; } | |||
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 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin | ||||
es and -e" >&5 | ||||
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||||
if ${ac_cv_path_GREP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if test -z "$GREP"; then | ||||
ac_path_GREP_found=false | ||||
# Loop through the user's path and test for each of PROGNAME-LIST | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_prog in grep ggrep; do | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||||
as_fn_executable_p "$ac_path_GREP" || continue | ||||
# Check for GNU ac_path_GREP and select it if it is found. | ||||
# Check for GNU $ac_path_GREP | ||||
case `"$ac_path_GREP" --version 2>&1` in | ||||
*GNU*) | ||||
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||||
*) | ||||
ac_count=0 | ||||
$as_echo_n 0123456789 >"conftest.in" | ||||
while : | ||||
do | ||||
cat "conftest.in" "conftest.in" >"conftest.tmp" | ||||
mv "conftest.tmp" "conftest.in" | ||||
cp "conftest.in" "conftest.nl" | ||||
$as_echo 'GREP' >> "conftest.nl" | ||||
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest. | ||||
out" 2>/dev/null || break | ||||
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||||
as_fn_arith $ac_count + 1 && ac_count=$as_val | ||||
if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||||
# Best one so far, save it but keep looking for a better one | ||||
ac_cv_path_GREP="$ac_path_GREP" | ||||
ac_path_GREP_max=$ac_count | ||||
fi | ||||
# 10*(2^10) chars as input seems more than enough | ||||
test $ac_count -gt 10 && break | ||||
done | ||||
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||||
esac | ||||
$ac_path_GREP_found && break 3 | ||||
done | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
if test -z "$ac_cv_path_GREP"; then | ||||
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us | ||||
r/xpg4/bin" "$LINENO" 5 | ||||
fi | ||||
else | ||||
ac_cv_path_GREP=$GREP | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | ||||
$as_echo "$ac_cv_path_GREP" >&6; } | ||||
GREP="$ac_cv_path_GREP" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | ||||
$as_echo_n "checking for egrep... " >&6; } | ||||
if ${ac_cv_path_EGREP+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||||
then ac_cv_path_EGREP="$GREP -E" | ||||
else | ||||
if test -z "$EGREP"; then | ||||
ac_path_EGREP_found=false | ||||
# Loop through the user's path and test for each of PROGNAME-LIST | ||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||||
do | ||||
IFS=$as_save_IFS | ||||
test -z "$as_dir" && as_dir=. | ||||
for ac_prog in egrep; do | ||||
for ac_exec_ext in '' $ac_executable_extensions; do | ||||
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||||
as_fn_executable_p "$ac_path_EGREP" || continue | ||||
# Check for GNU ac_path_EGREP and select it if it is found. | ||||
# Check for GNU $ac_path_EGREP | ||||
case `"$ac_path_EGREP" --version 2>&1` in | ||||
*GNU*) | ||||
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||||
*) | ||||
ac_count=0 | ||||
$as_echo_n 0123456789 >"conftest.in" | ||||
while : | ||||
do | ||||
cat "conftest.in" "conftest.in" >"conftest.tmp" | ||||
mv "conftest.tmp" "conftest.in" | ||||
cp "conftest.in" "conftest.nl" | ||||
$as_echo 'EGREP' >> "conftest.nl" | ||||
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre | ||||
ak | ||||
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||||
as_fn_arith $ac_count + 1 && ac_count=$as_val | ||||
if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||||
# Best one so far, save it but keep looking for a better one | ||||
ac_cv_path_EGREP="$ac_path_EGREP" | ||||
ac_path_EGREP_max=$ac_count | ||||
fi | ||||
# 10*(2^10) chars as input seems more than enough | ||||
test $ac_count -gt 10 && break | ||||
done | ||||
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||||
esac | ||||
$ac_path_EGREP_found && break 3 | ||||
done | ||||
done | ||||
done | ||||
IFS=$as_save_IFS | ||||
if test -z "$ac_cv_path_EGREP"; then | ||||
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u | ||||
sr/xpg4/bin" "$LINENO" 5 | ||||
fi | ||||
else | ||||
ac_cv_path_EGREP=$EGREP | ||||
fi | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | ||||
$as_echo "$ac_cv_path_EGREP" >&6; } | ||||
EGREP="$ac_cv_path_EGREP" | ||||
if test $ac_cv_c_compiler_gnu = yes; then | if test $ac_cv_c_compiler_gnu = yes; then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditi onal" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditi onal" >&5 | |||
$as_echo_n "checking whether $CC needs -traditional... " >&6; } | $as_echo_n "checking whether $CC needs -traditional... " >&6; } | |||
if ${ac_cv_prog_gcc_traditional+:} false; then : | if ${ac_cv_prog_gcc_traditional+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
ac_pattern="Autoconf.*'x'" | ac_pattern="Autoconf.*'x'" | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
#include <sgtty.h> | #include <sgtty.h> | |||
skipping to change at line 7856 | skipping to change at line 7894 | |||
## 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 tcsh $as_me 6.22.02, which was | This file was extended by tcsh $as_me 6.22.03, which 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 7921 | skipping to change at line 7959 | |||
Configuration commands: | Configuration commands: | |||
$config_commands | $config_commands | |||
Report bugs to <https://bugs.astron.com/>." | Report bugs to <https://bugs.astron.com/>." | |||
_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="\\ | |||
tcsh config.status 6.22.02 | tcsh config.status 6.22.03 | |||
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' | |||
End of changes. 36 change blocks. | ||||
391 lines changed or deleted | 426 lines changed or added |