|
|
|
@ -1502,11 +1502,6 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case "$target" in
|
|
|
|
|
NONE) lt_target="$host" ;;
|
|
|
|
|
*) lt_target="$target" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# Check for any special flags to pass to ltconfig.
|
|
|
|
|
libtool_flags="--cache-file=$cache_file"
|
|
|
|
|
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
|
|
|
|
@ -1527,11 +1522,11 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
|
|
|
|
|
|
|
|
|
# Some flags need to be propagated to the compiler or linker for good
|
|
|
|
|
# libtool support.
|
|
|
|
|
case "$lt_target" in
|
|
|
|
|
case "$host" in
|
|
|
|
|
*-*-irix6*)
|
|
|
|
|
# Find out which ABI we are using.
|
|
|
|
|
echo '#line 1534 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:1535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
echo '#line 1529 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:1530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
case "`/usr/bin/file conftest.o`" in
|
|
|
|
|
*32-bit*)
|
|
|
|
|
LD="${LD-ld} -32"
|
|
|
|
@ -1552,19 +1547,19 @@ case "$lt_target" in
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -belf"
|
|
|
|
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1556: checking whether the C compiler needs -belf" >&5
|
|
|
|
|
echo "configure:1551: checking whether the C compiler needs -belf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1561 "configure"
|
|
|
|
|
#line 1556 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_cc_needs_belf=yes
|
|
|
|
|
else
|
|
|
|
@ -1642,7 +1637,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
|
|
|
|
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
|
|
|
|
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
|
|
|
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
|
|
|
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|
|
|
|
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
|
|
|
|
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
|
|
|
|
|
|
|
|
|
|
# Reload cache, that may have been modified by ltconfig
|
|
|
|
@ -1737,7 +1732,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1741: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
|
|
|
echo "configure:1736: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
|
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|
|
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
|
|
|
|
enableval="$enable_maintainer_mode"
|
|
|
|
@ -1760,12 +1755,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1764: checking for Cygwin environment" >&5
|
|
|
|
|
echo "configure:1759: checking for Cygwin environment" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1769 "configure"
|
|
|
|
|
#line 1764 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -1776,7 +1771,7 @@ int main() {
|
|
|
|
|
return __CYGWIN__;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_cygwin=yes
|
|
|
|
|
else
|
|
|
|
@ -1793,19 +1788,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
|
|
|
|
|
CYGWIN=
|
|
|
|
|
test "$ac_cv_cygwin" = yes && CYGWIN=yes
|
|
|
|
|
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1797: checking for mingw32 environment" >&5
|
|
|
|
|
echo "configure:1792: checking for mingw32 environment" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1802 "configure"
|
|
|
|
|
#line 1797 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
return __MINGW32__;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_mingw32=yes
|
|
|
|
|
else
|
|
|
|
@ -1824,7 +1819,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1828: checking for executable suffix" >&5
|
|
|
|
|
echo "configure:1823: checking for executable suffix" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1834,7 +1829,7 @@ else
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
echo 'int main () { return 0; }' > conftest.$ac_ext
|
|
|
|
|
ac_cv_exeext=
|
|
|
|
|
if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
for file in conftest.*; do
|
|
|
|
|
case $file in
|
|
|
|
|
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
|
|
|
|
@ -1860,7 +1855,7 @@ ac_exeext=$EXEEXT
|
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1864: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1859: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1890,7 +1885,7 @@ if test -z "$CC"; then
|
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1894: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1889: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1941,7 +1936,7 @@ fi
|
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
|
set dummy cl; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1945: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1940: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1973,7 +1968,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:1972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
@ -1984,12 +1979,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
|
|
|
|
#line 1988 "configure"
|
|
|
|
|
#line 1983 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
@ -2015,12 +2010,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2019: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:2014: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2024: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:2019: checking whether we are using GNU C" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2029,7 +2024,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
@ -2048,7 +2043,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2052: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:2047: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2082,7 +2077,7 @@ fi
|
|
|
|
|
|
|
|
|
|
ALL_LINGUAS=
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2086: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:2081: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
@ -2097,13 +2092,13 @@ else
|
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
|
# not just through cpp.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2101 "configure"
|
|
|
|
|
#line 2096 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -2114,13 +2109,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2118 "configure"
|
|
|
|
|
#line 2113 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -2131,13 +2126,13 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2135 "configure"
|
|
|
|
|
#line 2130 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
:
|
|
|
|
@ -2162,12 +2157,12 @@ fi
|
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2166: checking for ANSI C header files" >&5
|
|
|
|
|
echo "configure:2161: checking for ANSI C header files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2171 "configure"
|
|
|
|
|
#line 2166 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
@ -2175,7 +2170,7 @@ else
|
|
|
|
|
#include <float.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -2192,7 +2187,7 @@ rm -f conftest*
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2196 "configure"
|
|
|
|
|
#line 2191 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
EOF
|
|
|
|
@ -2210,7 +2205,7 @@ fi
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2214 "configure"
|
|
|
|
|
#line 2209 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
EOF
|
|
|
|
@ -2231,7 +2226,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2235 "configure"
|
|
|
|
|
#line 2230 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
@ -2242,7 +2237,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:2241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -2266,12 +2261,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2270: checking for working const" >&5
|
|
|
|
|
echo "configure:2265: checking for working const" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2275 "configure"
|
|
|
|
|
#line 2270 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -2320,7 +2315,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_const=yes
|
|
|
|
|
else
|
|
|
|
@ -2341,21 +2336,21 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2345: checking for inline" >&5
|
|
|
|
|
echo "configure:2340: checking for inline" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_cv_c_inline=no
|
|
|
|
|
for ac_kw in inline __inline__ __inline; do
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2352 "configure"
|
|
|
|
|
#line 2347 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
} $ac_kw foo() {
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_inline=$ac_kw; break
|
|
|
|
|
else
|
|
|
|
@ -2381,12 +2376,12 @@ EOF
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for off_t""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2385: checking for off_t" >&5
|
|
|
|
|
echo "configure:2380: checking for off_t" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2390 "configure"
|
|
|
|
|
#line 2385 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#if STDC_HEADERS
|
|
|
|
@ -2414,12 +2409,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2418: checking for size_t" >&5
|
|
|
|
|
echo "configure:2413: checking for size_t" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2423 "configure"
|
|
|
|
|
#line 2418 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#if STDC_HEADERS
|
|
|
|
@ -2449,19 +2444,19 @@ fi
|
|
|
|
|
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
|
|
|
# for constant arguments. Useless!
|
|
|
|
|
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2453: checking for working alloca.h" >&5
|
|
|
|
|
echo "configure:2448: checking for working alloca.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2458 "configure"
|
|
|
|
|
#line 2453 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <alloca.h>
|
|
|
|
|
int main() {
|
|
|
|
|
char *p = alloca(2 * sizeof(int));
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_alloca_h=yes
|
|
|
|
|
else
|
|
|
|
@ -2482,12 +2477,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for alloca""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2486: checking for alloca" >&5
|
|
|
|
|
echo "configure:2481: checking for alloca" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2491 "configure"
|
|
|
|
|
#line 2486 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
@ -2515,7 +2510,7 @@ int main() {
|
|
|
|
|
char *p = (char *) alloca(1);
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_func_alloca_works=yes
|
|
|
|
|
else
|
|
|
|
@ -2547,12 +2542,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2551: checking whether alloca needs Cray hooks" >&5
|
|
|
|
|
echo "configure:2546: checking whether alloca needs Cray hooks" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2556 "configure"
|
|
|
|
|
#line 2551 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#if defined(CRAY) && ! defined(CRAY2)
|
|
|
|
|
webecray
|
|
|
|
@ -2577,12 +2572,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
|
|
|
|
|
if test $ac_cv_os_cray = yes; then
|
|
|
|
|
for ac_func in _getb67 GETB67 getb67; do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2581: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:2576: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2586 "configure"
|
|
|
|
|
#line 2581 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -2605,7 +2600,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -2632,7 +2627,7 @@ done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2636: checking stack direction for C alloca" >&5
|
|
|
|
|
echo "configure:2631: checking stack direction for C alloca" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2640,7 +2635,7 @@ else
|
|
|
|
|
ac_cv_c_stack_direction=0
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2644 "configure"
|
|
|
|
|
#line 2639 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
find_stack_direction ()
|
|
|
|
|
{
|
|
|
|
@ -2659,7 +2654,7 @@ main ()
|
|
|
|
|
exit (find_stack_direction() < 0);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_c_stack_direction=1
|
|
|
|
|
else
|
|
|
|
@ -2684,17 +2679,17 @@ for ac_hdr in unistd.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2688: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:2683: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2693 "configure"
|
|
|
|
|
#line 2688 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -2723,12 +2718,12 @@ done
|
|
|
|
|
for ac_func in getpagesize
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2727: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:2722: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2732 "configure"
|
|
|
|
|
#line 2727 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -2751,7 +2746,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -2776,7 +2771,7 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2780: checking for working mmap" >&5
|
|
|
|
|
echo "configure:2775: checking for working mmap" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2784,7 +2779,7 @@ else
|
|
|
|
|
ac_cv_func_mmap_fixed_mapped=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2788 "configure"
|
|
|
|
|
#line 2783 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
|
|
@ -2924,7 +2919,7 @@ main()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:2923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
|
else
|
|
|
|
@ -2952,17 +2947,17 @@ unistd.h values.h sys/param.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2956: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:2951: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2961 "configure"
|
|
|
|
|
#line 2956 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:2966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:2961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -2992,12 +2987,12 @@ done
|
|
|
|
|
__argz_count __argz_stringify __argz_next
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2996: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:2991: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3001 "configure"
|
|
|
|
|
#line 2996 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3020,7 +3015,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3049,12 +3044,12 @@ done
|
|
|
|
|
for ac_func in stpcpy
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3053: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:3048: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3058 "configure"
|
|
|
|
|
#line 3053 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3077,7 +3072,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3111,19 +3106,19 @@ EOF
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_header_locale_h = yes; then
|
|
|
|
|
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3115: checking for LC_MESSAGES" >&5
|
|
|
|
|
echo "configure:3110: checking for LC_MESSAGES" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3120 "configure"
|
|
|
|
|
#line 3115 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <locale.h>
|
|
|
|
|
int main() {
|
|
|
|
|
return LC_MESSAGES
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
am_cv_val_LC_MESSAGES=yes
|
|
|
|
|
else
|
|
|
|
@ -3144,7 +3139,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3148: checking whether NLS is requested" >&5
|
|
|
|
|
echo "configure:3143: checking whether NLS is requested" >&5
|
|
|
|
|
# Check whether --enable-nls or --disable-nls was given.
|
|
|
|
|
if test "${enable_nls+set}" = set; then
|
|
|
|
|
enableval="$enable_nls"
|
|
|
|
@ -3164,7 +3159,7 @@ fi
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3168: checking whether included gettext is requested" >&5
|
|
|
|
|
echo "configure:3163: checking whether included gettext is requested" >&5
|
|
|
|
|
# Check whether --with-included-gettext or --without-included-gettext was given.
|
|
|
|
|
if test "${with_included_gettext+set}" = set; then
|
|
|
|
|
withval="$with_included_gettext"
|
|
|
|
@ -3183,17 +3178,17 @@ fi
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3187: checking for libintl.h" >&5
|
|
|
|
|
echo "configure:3182: checking for libintl.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3192 "configure"
|
|
|
|
|
#line 3187 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <libintl.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -3210,19 +3205,19 @@ fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3214: checking for gettext in libc" >&5
|
|
|
|
|
echo "configure:3209: checking for gettext in libc" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3219 "configure"
|
|
|
|
|
#line 3214 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <libintl.h>
|
|
|
|
|
int main() {
|
|
|
|
|
return (int) gettext ("")
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gt_cv_func_gettext_libc=yes
|
|
|
|
|
else
|
|
|
|
@ -3238,7 +3233,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
|
|
|
|
|
|
|
|
|
|
if test "$gt_cv_func_gettext_libc" != "yes"; then
|
|
|
|
|
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3242: checking for bindtextdomain in -lintl" >&5
|
|
|
|
|
echo "configure:3237: checking for bindtextdomain in -lintl" >&5
|
|
|
|
|
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -3246,7 +3241,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lintl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3250 "configure"
|
|
|
|
|
#line 3245 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -3257,7 +3252,7 @@ int main() {
|
|
|
|
|
bindtextdomain()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -3273,19 +3268,19 @@ fi
|
|
|
|
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3277: checking for gettext in libintl" >&5
|
|
|
|
|
echo "configure:3272: checking for gettext in libintl" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3282 "configure"
|
|
|
|
|
#line 3277 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
return (int) gettext ("")
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
gt_cv_func_gettext_libintl=yes
|
|
|
|
|
else
|
|
|
|
@ -3313,7 +3308,7 @@ EOF
|
|
|
|
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy msgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3317: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3312: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3347,12 +3342,12 @@ fi
|
|
|
|
|
for ac_func in dcgettext
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3351: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:3346: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3356 "configure"
|
|
|
|
|
#line 3351 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -3375,7 +3370,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -3402,7 +3397,7 @@ done
|
|
|
|
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy gmsgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3406: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3401: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3438,7 +3433,7 @@ fi
|
|
|
|
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
|
|
|
set dummy xgettext; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3442: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3437: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3470,7 +3465,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3474 "configure"
|
|
|
|
|
#line 3469 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -3478,7 +3473,7 @@ extern int _nl_msg_cat_cntr;
|
|
|
|
|
return _nl_msg_cat_cntr
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CATOBJEXT=.gmo
|
|
|
|
|
DATADIRNAME=share
|
|
|
|
@ -3510,7 +3505,7 @@ fi
|
|
|
|
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy msgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3514: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3509: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3544,7 +3539,7 @@ fi
|
|
|
|
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
|
|
|
|
set dummy gmsgfmt; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3548: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3543: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3580,7 +3575,7 @@ fi
|
|
|
|
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
|
|
|
set dummy xgettext; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3584: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3579: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3670,7 +3665,7 @@ fi
|
|
|
|
|
LINGUAS=
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3674: checking for catalogs to be installed" >&5
|
|
|
|
|
echo "configure:3669: checking for catalogs to be installed" >&5
|
|
|
|
|
NEW_LINGUAS=
|
|
|
|
|
for lang in ${LINGUAS=$ALL_LINGUAS}; do
|
|
|
|
|
case "$ALL_LINGUAS" in
|
|
|
|
@ -3698,17 +3693,17 @@ echo "configure:3674: checking for catalogs to be installed" >&5
|
|
|
|
|
if test "$CATOBJEXT" = ".cat"; then
|
|
|
|
|
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3702: checking for linux/version.h" >&5
|
|
|
|
|
echo "configure:3697: checking for linux/version.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3707 "configure"
|
|
|
|
|
#line 3702 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <linux/version.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -3785,7 +3780,7 @@ fi
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3789: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:3784: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -3842,17 +3837,17 @@ for ac_hdr in string.h strings.h stdlib.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3846: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:3841: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3851 "configure"
|
|
|
|
|
#line 3846 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|