|
|
@ -2098,10 +2098,63 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$gpp_satisfactory" 1>&6
|
|
|
|
echo "$ac_t""$gpp_satisfactory" 1>&6
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for g++ that supports new inlining mechanism""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for g++ that supports new system_header pragma""... $ac_c" 1>&6
|
|
|
|
echo "configure:2103: checking for g++ that supports new inlining mechanism" >&5
|
|
|
|
echo "configure:2103: checking for g++ that supports new system_header pragma" >&5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=C
|
|
|
|
|
|
|
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
|
|
|
|
|
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
|
|
|
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# the CXXFLAGS thing is suspicious, but based on similar
|
|
|
|
|
|
|
|
# bits in GLIBCPP_CONFIGURE
|
|
|
|
|
|
|
|
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
|
|
|
|
|
|
|
ac_save_CXXFLAGS="$CXXFLAGS"
|
|
|
|
|
|
|
|
CXXFLAGS='-Wunknown-pragmas -Werror'
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2105 "configure"
|
|
|
|
#line 2118 "configure"
|
|
|
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
#pragma system_header
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
int foo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
|
|
|
WERROR='-Werror'
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
|
|
|
WERROR=''
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
if test "$ac_test_CXXFLAGS" = set; then
|
|
|
|
|
|
|
|
CXXFLAGS="$ac_save_CXXFLAGS"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
# this is the suspicious part
|
|
|
|
|
|
|
|
CXXFLAGS=''
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
|
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$WERROR" = ""; then
|
|
|
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for g++ that supports new inlining mechanism""... $ac_c" 1>&6
|
|
|
|
|
|
|
|
echo "configure:2156: checking for g++ that supports new inlining mechanism" >&5
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
|
|
|
#line 2158 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
|
|
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 95)
|
|
|
@ -2113,27 +2166,26 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
|
egrep "ok" >/dev/null 2>&1; then
|
|
|
|
egrep "ok" >/dev/null 2>&1; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
OPTLEVEL='-O2'
|
|
|
|
OPTLEVEL='-O2'
|
|
|
|
WERRORSUPPRESS=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
else
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
OPTLEVEL=
|
|
|
|
OPTLEVEL=''
|
|
|
|
WERRORSUPPRESS=-Wno-error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
rm -f conftest*
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test "$OPTLEVEL" = ""; then
|
|
|
|
if test "$OPTLEVEL" = ""; then
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
|
|
|
# something of a hack here
|
|
|
|
|
|
|
|
WERROR=''
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for cpu primitives directory""... $ac_c" 1>&6
|
|
|
|
echo "configure:2137: checking for cpu primitives directory" >&5
|
|
|
|
echo "configure:2189: checking for cpu primitives directory" >&5
|
|
|
|
CPUFLAGS=
|
|
|
|
CPUFLAGS=
|
|
|
|
case "$target_cpu" in
|
|
|
|
case "$target_cpu" in
|
|
|
|
alpha*)
|
|
|
|
alpha*)
|
|
|
@ -2188,7 +2240,7 @@ esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
|
|
|
|
echo "configure:2192: checking for cstdio to use" >&5
|
|
|
|
echo "configure:2244: checking for cstdio to use" >&5
|
|
|
|
# Check whether --enable-cstdio or --disable-cstdio was given.
|
|
|
|
# Check whether --enable-cstdio or --disable-cstdio was given.
|
|
|
|
if test "${enable_cstdio+set}" = set; then
|
|
|
|
if test "${enable_cstdio+set}" = set; then
|
|
|
|
enableval="$enable_cstdio"
|
|
|
|
enableval="$enable_cstdio"
|
|
|
@ -2212,17 +2264,17 @@ fi
|
|
|
|
# see if we are on a system with libio native (ie, linux)
|
|
|
|
# see if we are on a system with libio native (ie, linux)
|
|
|
|
ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
|
|
|
|
echo "configure:2216: checking for libio.h" >&5
|
|
|
|
echo "configure:2268: checking for libio.h" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2221 "configure"
|
|
|
|
#line 2273 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <libio.h>
|
|
|
|
#include <libio.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:2226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:2278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -2257,17 +2309,17 @@ fi
|
|
|
|
# NB: This replaces the _G_CONFIG_H machinery in libio-v2
|
|
|
|
# NB: This replaces the _G_CONFIG_H machinery in libio-v2
|
|
|
|
ac_safe=`echo "_G_config.h" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "_G_config.h" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for _G_config.h""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for _G_config.h""... $ac_c" 1>&6
|
|
|
|
echo "configure:2261: checking for _G_config.h" >&5
|
|
|
|
echo "configure:2313: checking for _G_config.h" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2266 "configure"
|
|
|
|
#line 2318 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <_G_config.h>
|
|
|
|
#include <_G_config.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:2271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:2323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -2326,7 +2378,7 @@ else
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
|
|
|
|
echo "configure:2330: checking for enabled long long" >&5
|
|
|
|
echo "configure:2382: checking for enabled long long" >&5
|
|
|
|
# Check whether --enable-long-long or --disable-long-long was given.
|
|
|
|
# Check whether --enable-long-long or --disable-long-long was given.
|
|
|
|
if test "${enable_long_long+set}" = set; then
|
|
|
|
if test "${enable_long_long+set}" = set; then
|
|
|
|
enableval="$enable_long_long"
|
|
|
|
enableval="$enable_long_long"
|
|
|
@ -2348,7 +2400,7 @@ EOF
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for enabled cshadow headers""... $ac_c" 1>&6
|
|
|
|
echo "configure:2352: checking for enabled cshadow headers" >&5
|
|
|
|
echo "configure:2404: checking for enabled cshadow headers" >&5
|
|
|
|
# Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
|
|
|
|
# Check whether --enable-cshadow-headers or --disable-cshadow-headers was given.
|
|
|
|
if test "${enable_cshadow_headers+set}" = set; then
|
|
|
|
if test "${enable_cshadow_headers+set}" = set; then
|
|
|
|
enableval="$enable_cshadow_headers"
|
|
|
|
enableval="$enable_cshadow_headers"
|
|
|
@ -2367,7 +2419,7 @@ echo "$ac_t""$enable_cshadow_headers" 1>&6
|
|
|
|
case "$enable_cshadow_headers" in
|
|
|
|
case "$enable_cshadow_headers" in
|
|
|
|
yes)
|
|
|
|
yes)
|
|
|
|
SHADOW_INCLUDES="-I$srcdir/shadow -I$blddir/cshadow"
|
|
|
|
SHADOW_INCLUDES="-I$srcdir/shadow -I$blddir/cshadow"
|
|
|
|
$srcdir/inclosure "-I $blddir/../../gcc/include/ -I /usr/include/ -G machine/ansi.h" | $srcdir/mkcshadow
|
|
|
|
$srcdir/inclosure "-I $blddir/../../gcc/include/ -I /usr/include/ -G machine/ansi.h" | $srcdir/mkcshadow
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
no)
|
|
|
|
no)
|
|
|
|
SHADOW_INCLUDES=''
|
|
|
|
SHADOW_INCLUDES=''
|
|
|
@ -2378,7 +2430,7 @@ esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
|
|
|
|
echo "configure:2382: checking for threads package to use" >&5
|
|
|
|
echo "configure:2434: checking for threads package to use" >&5
|
|
|
|
# Check whether --enable-threads or --disable-threads was given.
|
|
|
|
# Check whether --enable-threads or --disable-threads was given.
|
|
|
|
if test "${enable_threads+set}" = set; then
|
|
|
|
if test "${enable_threads+set}" = set; then
|
|
|
|
enableval="$enable_threads"
|
|
|
|
enableval="$enable_threads"
|
|
|
@ -2441,17 +2493,17 @@ fi
|
|
|
|
posix)
|
|
|
|
posix)
|
|
|
|
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
|
|
|
|
echo "configure:2445: checking for pthread.h" >&5
|
|
|
|
echo "configure:2497: checking for pthread.h" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2450 "configure"
|
|
|
|
#line 2502 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <pthread.h>
|
|
|
|
#include <pthread.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:2455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:2507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -2640,17 +2692,17 @@ else
|
|
|
|
do
|
|
|
|
do
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo "configure:2644: checking for $ac_hdr" >&5
|
|
|
|
echo "configure:2696: checking for $ac_hdr" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2649 "configure"
|
|
|
|
#line 2701 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <$ac_hdr>
|
|
|
|
#include <$ac_hdr>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:2706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -2680,7 +2732,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
|
|
|
|
echo "configure:2684: checking for GNU C++ __complex__ support" >&5
|
|
|
|
echo "configure:2736: checking for GNU C++ __complex__ support" >&5
|
|
|
|
if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2694,7 +2746,7 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
|
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2698 "configure"
|
|
|
|
#line 2750 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
struct dcomplex { __complex__ double x; }; \
|
|
|
|
struct dcomplex { __complex__ double x; }; \
|
|
|
|
dcomplex f(const dcomplex& x) { return dcomplex(x); }
|
|
|
|
dcomplex f(const dcomplex& x) { return dcomplex(x); }
|
|
|
@ -2703,7 +2755,7 @@ int main() {
|
|
|
|
dcomplex x; f(x);
|
|
|
|
dcomplex x; f(x);
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
glibcpp_cv_complex=ok
|
|
|
|
glibcpp_cv_complex=ok
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2735,7 +2787,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
|
|
|
|
echo "configure:2739: checking for GNU C++ __complex__ float support" >&5
|
|
|
|
echo "configure:2791: checking for GNU C++ __complex__ float support" >&5
|
|
|
|
if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2768,14 +2820,14 @@ cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
};
|
|
|
|
};
|
|
|
|
EOB
|
|
|
|
EOB
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2772 "configure"
|
|
|
|
#line 2824 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "conftest.h"
|
|
|
|
#include "conftest.h"
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
glibcpp_cv_float_complex=ok
|
|
|
|
glibcpp_cv_float_complex=ok
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2806,16 +2858,16 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for __builtin_sinf""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for __builtin_sinf""... $ac_c" 1>&6
|
|
|
|
echo "configure:2810: checking for __builtin_sinf" >&5
|
|
|
|
echo "configure:2862: checking for __builtin_sinf" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2812 "configure"
|
|
|
|
#line 2864 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <math.h>
|
|
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
float foo(void) { __builtin_sinf(0.0); }
|
|
|
|
float foo(void) { __builtin_sinf(0.0); }
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
use_builtin_sinf=yes
|
|
|
|
use_builtin_sinf=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2834,16 +2886,16 @@ EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for __builtin_cosf""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for __builtin_cosf""... $ac_c" 1>&6
|
|
|
|
echo "configure:2838: checking for __builtin_cosf" >&5
|
|
|
|
echo "configure:2890: checking for __builtin_cosf" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2840 "configure"
|
|
|
|
#line 2892 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <math.h>
|
|
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
float foo(void) { __builtin_cosf(0.0); }
|
|
|
|
float foo(void) { __builtin_cosf(0.0); }
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
use_builtin_cosf=yes
|
|
|
|
use_builtin_cosf=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2862,16 +2914,16 @@ EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for __builtin_fabsf""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for __builtin_fabsf""... $ac_c" 1>&6
|
|
|
|
echo "configure:2866: checking for __builtin_fabsf" >&5
|
|
|
|
echo "configure:2918: checking for __builtin_fabsf" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2868 "configure"
|
|
|
|
#line 2920 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <math.h>
|
|
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
float foo(void) { __builtin_fabsf(0.0); }
|
|
|
|
float foo(void) { __builtin_fabsf(0.0); }
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
use_builtin_fabsf=yes
|
|
|
|
use_builtin_fabsf=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2890,16 +2942,16 @@ EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for __builtin_sqrtf""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for __builtin_sqrtf""... $ac_c" 1>&6
|
|
|
|
echo "configure:2894: checking for __builtin_sqrtf" >&5
|
|
|
|
echo "configure:2946: checking for __builtin_sqrtf" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2896 "configure"
|
|
|
|
#line 2948 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <math.h>
|
|
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
float foo(void) { __builtin_sqrtf(0.0); }
|
|
|
|
float foo(void) { __builtin_sqrtf(0.0); }
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:2955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
use_builtin_sqrtf=yes
|
|
|
|
use_builtin_sqrtf=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2919,7 +2971,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
|
|
|
|
echo "configure:2923: checking for sin in -lm" >&5
|
|
|
|
echo "configure:2975: checking for sin in -lm" >&5
|
|
|
|
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
|
|
|
|
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
@ -2927,7 +2979,7 @@ else
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
LIBS="-lm $LIBS"
|
|
|
|
LIBS="-lm $LIBS"
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2931 "configure"
|
|
|
|
#line 2983 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
@ -2938,7 +2990,7 @@ int main() {
|
|
|
|
sin()
|
|
|
|
sin()
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -2965,17 +3017,17 @@ fi
|
|
|
|
do
|
|
|
|
do
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo "configure:2969: checking for $ac_hdr" >&5
|
|
|
|
echo "configure:3021: checking for $ac_hdr" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 2974 "configure"
|
|
|
|
#line 3026 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <$ac_hdr>
|
|
|
|
#include <$ac_hdr>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:2979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:3031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -3007,12 +3059,12 @@ done
|
|
|
|
carg cargf nan hypot hypotf atan2f expf copysignf
|
|
|
|
carg cargf nan hypot hypotf atan2f expf copysignf
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3011: checking for $ac_func" >&5
|
|
|
|
echo "configure:3063: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3016 "configure"
|
|
|
|
#line 3068 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3035,7 +3087,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3064,12 +3116,12 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
USE_LONG_DOUBLE=no
|
|
|
|
USE_LONG_DOUBLE=no
|
|
|
|
echo $ac_n "checking for copysignl""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for copysignl""... $ac_c" 1>&6
|
|
|
|
echo "configure:3068: checking for copysignl" >&5
|
|
|
|
echo "configure:3120: checking for copysignl" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_copysignl'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_copysignl'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3073 "configure"
|
|
|
|
#line 3125 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char copysignl(); below. */
|
|
|
|
which can conflict with char copysignl(); below. */
|
|
|
@ -3092,7 +3144,7 @@ copysignl();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_copysignl=yes"
|
|
|
|
eval "ac_cv_func_copysignl=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3111,12 +3163,12 @@ if eval "test \"`echo '$ac_cv_func_'copysignl`\" = yes"; then
|
|
|
|
csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
|
|
|
|
csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3115: checking for $ac_func" >&5
|
|
|
|
echo "configure:3167: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3120 "configure"
|
|
|
|
#line 3172 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3139,7 +3191,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3177,12 +3229,12 @@ fi
|
|
|
|
fpclass qfpclass
|
|
|
|
fpclass qfpclass
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3181: checking for $ac_func" >&5
|
|
|
|
echo "configure:3233: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3186 "configure"
|
|
|
|
#line 3238 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3205,7 +3257,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3240,12 +3292,12 @@ _strtof _strtold _fabsf _sincos _sincosf _sincosl _finite _finitef _qfinite \
|
|
|
|
_fpclass _qfpclass
|
|
|
|
_fpclass _qfpclass
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3244: checking for $ac_func" >&5
|
|
|
|
echo "configure:3296: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3249 "configure"
|
|
|
|
#line 3301 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3268,7 +3320,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3298,17 +3350,17 @@ LIBS="$save_LIBS"
|
|
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
|
|
|
|
echo "configure:3302: checking for wchar.h" >&5
|
|
|
|
echo "configure:3354: checking for wchar.h" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3307 "configure"
|
|
|
|
#line 3359 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:3312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:3364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -3326,16 +3378,16 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for native mbstate_t""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for native mbstate_t""... $ac_c" 1>&6
|
|
|
|
echo "configure:3330: checking for native mbstate_t" >&5
|
|
|
|
echo "configure:3382: checking for native mbstate_t" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3332 "configure"
|
|
|
|
#line 3384 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
mbstate_t teststate;
|
|
|
|
mbstate_t teststate;
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
use_native_mbstatet=yes
|
|
|
|
use_native_mbstatet=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3354,16 +3406,16 @@ EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
|
|
|
|
echo "configure:3358: checking for WCHAR_MIN and WCHAR_MAX" >&5
|
|
|
|
echo "configure:3410: checking for WCHAR_MIN and WCHAR_MAX" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3360 "configure"
|
|
|
|
#line 3412 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <wchar.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
int i = WCHAR_MIN; int j = WCHAR_MAX;
|
|
|
|
int i = WCHAR_MIN; int j = WCHAR_MAX;
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
has_wchar_minmax=yes
|
|
|
|
has_wchar_minmax=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3384,9 +3436,9 @@ EOF
|
|
|
|
# Test wchar.h for WEOF, which is what we use to determine whether
|
|
|
|
# Test wchar.h for WEOF, which is what we use to determine whether
|
|
|
|
# to specialize for wchar_t or not.
|
|
|
|
# to specialize for wchar_t or not.
|
|
|
|
echo $ac_n "checking for WEOF""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for WEOF""... $ac_c" 1>&6
|
|
|
|
echo "configure:3388: checking for WEOF" >&5
|
|
|
|
echo "configure:3440: checking for WEOF" >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3390 "configure"
|
|
|
|
#line 3442 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <wchar.h>
|
|
|
|
#include <wchar.h>
|
|
|
@ -3395,7 +3447,7 @@ int main() {
|
|
|
|
wint_t i = WEOF;
|
|
|
|
wint_t i = WEOF;
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
has_weof=yes
|
|
|
|
has_weof=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3410,12 +3462,12 @@ rm -f conftest*
|
|
|
|
for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
|
|
|
|
for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3414: checking for $ac_func" >&5
|
|
|
|
echo "configure:3466: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3419 "configure"
|
|
|
|
#line 3471 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3438,7 +3490,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3467,7 +3519,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for wide character support""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for wide character support""... $ac_c" 1>&6
|
|
|
|
echo "configure:3471: checking for wide character support" >&5
|
|
|
|
echo "configure:3523: checking for wide character support" >&5
|
|
|
|
if test $has_weof = "yes" && test $has_wchar_minmax = "yes"; then
|
|
|
|
if test $has_weof = "yes" && test $has_wchar_minmax = "yes"; then
|
|
|
|
libinst_wstring_la="libinst-wstring.la"
|
|
|
|
libinst_wstring_la="libinst-wstring.la"
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
@ -3495,17 +3547,17 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
|
|
|
|
echo "configure:3499: checking for ctype.h" >&5
|
|
|
|
echo "configure:3551: checking for ctype.h" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3504 "configure"
|
|
|
|
#line 3556 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:3509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:3561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -3526,9 +3578,9 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
ctype_default=yes
|
|
|
|
ctype_default=yes
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3530: checking <ctype> for gnu-linux " >&5
|
|
|
|
echo "configure:3582: checking <ctype> for gnu-linux " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3532 "configure"
|
|
|
|
#line 3584 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3539,7 +3591,7 @@ int
|
|
|
|
+ __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
|
|
|
|
+ __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_linux=yes
|
|
|
|
ctype_linux=yes
|
|
|
@ -3558,9 +3610,9 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3562: checking <ctype> for freebsd 4.0 " >&5
|
|
|
|
echo "configure:3614: checking <ctype> for freebsd 4.0 " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3564 "configure"
|
|
|
|
#line 3616 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3570,7 +3622,7 @@ int
|
|
|
|
+ _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
|
|
|
|
+ _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_bsd=yes
|
|
|
|
ctype_bsd=yes
|
|
|
@ -3590,9 +3642,9 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3594: checking <ctype> for freebsd 3.4 " >&5
|
|
|
|
echo "configure:3646: checking <ctype> for freebsd 3.4 " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3596 "configure"
|
|
|
|
#line 3648 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3602,7 +3654,7 @@ int
|
|
|
|
+ _D + _P + _X + _G + __istype (a, 0);}
|
|
|
|
+ _D + _P + _X + _G + __istype (a, 0);}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_freebsd34=yes
|
|
|
|
ctype_freebsd34=yes
|
|
|
@ -3622,9 +3674,9 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3626: checking <ctype> for solaris 2.6,7,8 " >&5
|
|
|
|
echo "configure:3678: checking <ctype> for solaris 2.6,7,8 " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3628 "configure"
|
|
|
|
#line 3680 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3635,7 +3687,7 @@ int
|
|
|
|
+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
|
|
|
|
+ __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_solaris=yes
|
|
|
|
ctype_solaris=yes
|
|
|
@ -3650,7 +3702,7 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_solaris = "yes"; then
|
|
|
|
if test $ctype_solaris = "yes"; then
|
|
|
|
echo $ac_n "checking for version""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for version""... $ac_c" 1>&6
|
|
|
|
echo "configure:3654: checking for version" >&5
|
|
|
|
echo "configure:3706: checking for version" >&5
|
|
|
|
ac_ext=C
|
|
|
|
ac_ext=C
|
|
|
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
@ -3659,14 +3711,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
|
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
cross_compiling=$ac_cv_prog_cxx_cross
|
|
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3663 "configure"
|
|
|
|
#line 3715 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
|
|
|
|
typedef long* __to_type; __to_type const& _M_toupper = __trans_upper;
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_solaris26=yes
|
|
|
|
ctype_solaris26=yes
|
|
|
@ -3698,9 +3750,9 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3702: checking <ctype> for solaris 2.5.1 " >&5
|
|
|
|
echo "configure:3754: checking <ctype> for solaris 2.5.1 " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3704 "configure"
|
|
|
|
#line 3756 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3710,7 +3762,7 @@ int
|
|
|
|
+ __ctype[a];}
|
|
|
|
+ __ctype[a];}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_solaris25=yes
|
|
|
|
ctype_solaris25=yes
|
|
|
@ -3730,9 +3782,9 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3734: checking <ctype> for aix " >&5
|
|
|
|
echo "configure:3786: checking <ctype> for aix " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3736 "configure"
|
|
|
|
#line 3788 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3743,7 +3795,7 @@ int
|
|
|
|
+ _VALC('a') + _IS('c', 0);}
|
|
|
|
+ _VALC('a') + _IS('c', 0);}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_aix=yes
|
|
|
|
ctype_aix=yes
|
|
|
@ -3763,9 +3815,9 @@ rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
if test $ctype_default = "yes"; then
|
|
|
|
echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6
|
|
|
|
echo "configure:3767: checking <ctype> for newlib " >&5
|
|
|
|
echo "configure:3819: checking <ctype> for newlib " >&5
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3769 "configure"
|
|
|
|
#line 3821 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
@ -3775,7 +3827,7 @@ int
|
|
|
|
+ _ctype_[a];}
|
|
|
|
+ _ctype_[a];}
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
if { (eval echo configure:3831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
\
|
|
|
|
\
|
|
|
|
ctype_newlib=yes
|
|
|
|
ctype_newlib=yes
|
|
|
@ -3809,17 +3861,17 @@ fi
|
|
|
|
do
|
|
|
|
do
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
echo "configure:3813: checking for $ac_hdr" >&5
|
|
|
|
echo "configure:3865: checking for $ac_hdr" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3818 "configure"
|
|
|
|
#line 3870 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <$ac_hdr>
|
|
|
|
#include <$ac_hdr>
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
{ (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
{ (eval echo configure:3875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
@ -3848,12 +3900,12 @@ done
|
|
|
|
for ac_func in getpagesize
|
|
|
|
for ac_func in getpagesize
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
echo "configure:3852: checking for $ac_func" >&5
|
|
|
|
echo "configure:3904: checking for $ac_func" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3857 "configure"
|
|
|
|
#line 3909 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
@ -3876,7 +3928,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3901,7 +3953,7 @@ fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
|
|
|
|
echo "configure:3905: checking for working mmap" >&5
|
|
|
|
echo "configure:3957: checking for working mmap" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -3909,7 +3961,7 @@ else
|
|
|
|
ac_cv_func_mmap_fixed_mapped=no
|
|
|
|
ac_cv_func_mmap_fixed_mapped=no
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 3913 "configure"
|
|
|
|
#line 3965 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
|
|
/* Thanks to Mike Haertel and Jim Avera for this test.
|
|
|
@ -4049,7 +4101,7 @@ main()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
then
|
|
|
|
then
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
ac_cv_func_mmap_fixed_mapped=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -4112,19 +4164,19 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_header_locale_h = yes; then
|
|
|
|
if test $ac_cv_header_locale_h = yes; then
|
|
|
|
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
|
|
|
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
|
|
|
|
echo "configure:4116: checking for LC_MESSAGES" >&5
|
|
|
|
echo "configure:4168: checking for LC_MESSAGES" >&5
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
else
|
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
#line 4121 "configure"
|
|
|
|
#line 4173 "configure"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include "confdefs.h"
|
|
|
|
#include <locale.h>
|
|
|
|
#include <locale.h>
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
return LC_MESSAGES
|
|
|
|
return LC_MESSAGES
|
|
|
|
; return 0; }
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
rm -rf conftest*
|
|
|
|
rm -rf conftest*
|
|
|
|
ac_cv_val_LC_MESSAGES=yes
|
|
|
|
ac_cv_val_LC_MESSAGES=yes
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -4351,7 +4403,7 @@ s%@LN_S@%$LN_S%g
|
|
|
|
s%@LIBTOOL@%$LIBTOOL%g
|
|
|
|
s%@LIBTOOL@%$LIBTOOL%g
|
|
|
|
s%@CPP@%$CPP%g
|
|
|
|
s%@CPP@%$CPP%g
|
|
|
|
s%@OPTLEVEL@%$OPTLEVEL%g
|
|
|
|
s%@OPTLEVEL@%$OPTLEVEL%g
|
|
|
|
s%@WERRORSUPPRESS@%$WERRORSUPPRESS%g
|
|
|
|
s%@WERROR@%$WERROR%g
|
|
|
|
s%@cpu_include_dir@%$cpu_include_dir%g
|
|
|
|
s%@cpu_include_dir@%$cpu_include_dir%g
|
|
|
|
s%@CPUFLAGS@%$CPUFLAGS%g
|
|
|
|
s%@CPUFLAGS@%$CPUFLAGS%g
|
|
|
|
s%@DEBUGFLAGS@%$DEBUGFLAGS%g
|
|
|
|
s%@DEBUGFLAGS@%$DEBUGFLAGS%g
|
|
|
|