|
|
|
@ -566,6 +566,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_aux_dir=
|
|
|
|
|
for ac_dir in .. $srcdir/..; do
|
|
|
|
|
if test -f $ac_dir/install-sh; then
|
|
|
|
@ -598,7 +601,6 @@ else
|
|
|
|
|
newlib_io_pos_args=no
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Find a good install program. We prefer a C program (faster),
|
|
|
|
|
# so one script is as good as another. But avoid the broken or
|
|
|
|
|
# incompatible versions:
|
|
|
|
@ -611,7 +613,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:615: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:617: 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
|
|
|
|
@ -664,7 +666,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:668: checking whether build environment is sane" >&5
|
|
|
|
|
echo "configure:670: checking whether build environment is sane" >&5
|
|
|
|
|
# Just in case
|
|
|
|
|
sleep 1
|
|
|
|
|
echo timestamp > conftestfile
|
|
|
|
@ -721,7 +723,7 @@ test "$program_suffix" != NONE &&
|
|
|
|
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:725: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
echo "configure:727: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -754,12 +756,12 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:758: checking for Cygwin environment" >&5
|
|
|
|
|
echo "configure:760: 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 763 "configure"
|
|
|
|
|
#line 765 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -770,7 +772,7 @@ int main() {
|
|
|
|
|
return __CYGWIN__;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_cygwin=yes
|
|
|
|
|
else
|
|
|
|
@ -787,19 +789,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:791: checking for mingw32 environment" >&5
|
|
|
|
|
echo "configure:793: 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 796 "configure"
|
|
|
|
|
#line 798 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
return __MINGW32__;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_mingw32=yes
|
|
|
|
|
else
|
|
|
|
@ -946,7 +948,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:950: checking host system type" >&5
|
|
|
|
|
echo "configure:952: checking host system type" >&5
|
|
|
|
|
|
|
|
|
|
host_alias=$host
|
|
|
|
|
case "$host_alias" in
|
|
|
|
@ -967,7 +969,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
|
|
echo "$ac_t""$host" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:971: checking target system type" >&5
|
|
|
|
|
echo "configure:973: checking target system type" >&5
|
|
|
|
|
|
|
|
|
|
target_alias=$target
|
|
|
|
|
case "$target_alias" in
|
|
|
|
@ -985,7 +987,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
|
|
echo "$ac_t""$target" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:989: checking build system type" >&5
|
|
|
|
|
echo "configure:991: checking build system type" >&5
|
|
|
|
|
|
|
|
|
|
build_alias=$build
|
|
|
|
|
case "$build_alias" in
|
|
|
|
@ -1028,7 +1030,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1032: checking for working aclocal" >&5
|
|
|
|
|
echo "configure:1034: checking for working aclocal" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -1041,7 +1043,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1045: checking for working autoconf" >&5
|
|
|
|
|
echo "configure:1047: checking for working autoconf" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -1054,7 +1056,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1058: checking for working automake" >&5
|
|
|
|
|
echo "configure:1060: checking for working automake" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -1067,7 +1069,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1071: checking for working autoheader" >&5
|
|
|
|
|
echo "configure:1073: checking for working autoheader" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -1080,7 +1082,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1084: checking for working makeinfo" >&5
|
|
|
|
|
echo "configure:1086: checking for working makeinfo" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -1105,7 +1107,7 @@ fi
|
|
|
|
|
# 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:1109: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1111: 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
|
|
|
|
@ -1135,7 +1137,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:1139: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1141: 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
|
|
|
|
@ -1184,7 +1186,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1188: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:1190: 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
|
|
|
|
@ -1193,7 +1195,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1197: \"$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:1199: \"$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
|
|
|
|
@ -1208,7 +1210,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1212: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:1214: 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
|
|
|
|
@ -1239,7 +1241,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1243: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1245: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1271,7 +1273,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1275: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1277: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1303,7 +1305,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1307: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1309: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1335,7 +1337,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1339: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1341: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1380,7 +1382,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:1384: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:1386: 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
|
|
|
|
@ -1434,7 +1436,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1438: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
|
|
|
echo "configure:1440: 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"
|
|
|
|
@ -1468,7 +1470,7 @@ if false; then
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1472: checking for executable suffix" >&5
|
|
|
|
|
echo "configure:1474: checking for executable suffix" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1478,7 +1480,7 @@ else
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
echo 'int main () { return 0; }' > conftest.$ac_ext
|
|
|
|
|
ac_cv_exeext=
|
|
|
|
|
if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|
|
|
|
for file in conftest.*; do
|
|
|
|
|
case $file in
|
|
|
|
|
*.c | *.o | *.obj | *.ilk | *.pdb) ;;
|
|
|
|
@ -1653,7 +1655,7 @@ fi
|
|
|
|
|
# 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:1657: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1659: 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
|
|
|
|
@ -1683,7 +1685,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:1687: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1689: 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
|
|
|
|
@ -1734,7 +1736,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:1738: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:1740: 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
|
|
|
|
@ -1766,7 +1768,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1770: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:1772: 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.
|
|
|
|
@ -1777,12 +1779,12 @@ cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
|
|
|
|
#line 1781 "configure"
|
|
|
|
|
#line 1783 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:1788: \"$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
|
|
|
|
@ -1808,12 +1810,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:1812: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:1814: 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:1817: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:1819: 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
|
|
|
|
@ -1822,7 +1824,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1826: \"$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:1828: \"$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
|
|
|
|
@ -1841,7 +1843,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:1845: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
echo "configure:1847: 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
|
|
|
|
@ -1884,7 +1886,7 @@ ac_prog=ld
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
# Check if gcc -print-prog-name=ld gives a path.
|
|
|
|
|
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1888: checking for ld used by GCC" >&5
|
|
|
|
|
echo "configure:1890: checking for ld used by GCC" >&5
|
|
|
|
|
case $host in
|
|
|
|
|
*-*-mingw*)
|
|
|
|
|
# gcc leaves a trailing carriage return which upsets mingw
|
|
|
|
@ -1914,10 +1916,10 @@ echo "configure:1888: checking for ld used by GCC" >&5
|
|
|
|
|
esac
|
|
|
|
|
elif test "$with_gnu_ld" = yes; then
|
|
|
|
|
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1918: checking for GNU ld" >&5
|
|
|
|
|
echo "configure:1920: checking for GNU ld" >&5
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1921: checking for non-GNU ld" >&5
|
|
|
|
|
echo "configure:1923: checking for non-GNU ld" >&5
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1952,7 +1954,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
|
|
|
|
|
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1956: checking if the linker ($LD) is GNU ld" >&5
|
|
|
|
|
echo "configure:1958: checking if the linker ($LD) is GNU ld" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1969,7 +1971,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1973: checking for $LD option to reload object files" >&5
|
|
|
|
|
echo "configure:1975: checking for $LD option to reload object files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1981,7 +1983,7 @@ reload_flag=$lt_cv_ld_reload_flag
|
|
|
|
|
test -n "$reload_flag" && reload_flag=" $reload_flag"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1985: checking for BSD-compatible nm" >&5
|
|
|
|
|
echo "configure:1987: checking for BSD-compatible nm" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2019,7 +2021,7 @@ NM="$lt_cv_path_NM"
|
|
|
|
|
echo "$ac_t""$NM" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2023: checking whether ln -s works" >&5
|
|
|
|
|
echo "configure:2025: checking whether ln -s works" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2040,7 +2042,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2044: checking how to recognise dependant libraries" >&5
|
|
|
|
|
echo "configure:2046: checking how to recognise dependant libraries" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2213,13 +2215,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd
|
|
|
|
|
deplibs_check_method=$lt_cv_deplibs_check_method
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2217: checking for object suffix" >&5
|
|
|
|
|
echo "configure:2219: checking for object suffix" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
echo 'int i = 1;' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:2223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
for ac_file in conftest.*; do
|
|
|
|
|
case $ac_file in
|
|
|
|
|
*.c) ;;
|
|
|
|
@ -2243,7 +2245,7 @@ case $deplibs_check_method in
|
|
|
|
|
file_magic*)
|
|
|
|
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
|
|
|
|
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2247: checking for ${ac_tool_prefix}file" >&5
|
|
|
|
|
echo "configure:2249: checking for ${ac_tool_prefix}file" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2305,7 +2307,7 @@ fi
|
|
|
|
|
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
|
echo $ac_n "checking for file""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2309: checking for file" >&5
|
|
|
|
|
echo "configure:2311: checking for file" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2376,7 +2378,7 @@ esac
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2380: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2382: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2408,7 +2410,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2412: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2414: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2443,7 +2445,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2447: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2449: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2475,7 +2477,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
|
|
|
|
set dummy strip; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2479: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2481: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2542,8 +2544,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
|
|
|
|
|
case $host in
|
|
|
|
|
*-*-irix6*)
|
|
|
|
|
# Find out which ABI we are using.
|
|
|
|
|
echo '#line 2546 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:2547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
echo '#line 2548 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:2549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
|
*32-bit*)
|
|
|
|
|
LD="${LD-ld} -32"
|
|
|
|
@ -2562,7 +2564,7 @@ case $host in
|
|
|
|
|
ia64-*-hpux*)
|
|
|
|
|
# Find out which ABI we are using.
|
|
|
|
|
echo 'int i;' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:2566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:2568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
case "`/usr/bin/file conftest.o`" in
|
|
|
|
|
*ELF-32*)
|
|
|
|
|
HPUX_IA64_MODE="32"
|
|
|
|
@ -2580,7 +2582,7 @@ ia64-*-hpux*)
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -belf"
|
|
|
|
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2584: checking whether the C compiler needs -belf" >&5
|
|
|
|
|
echo "configure:2586: 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
|
|
|
|
@ -2593,14 +2595,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2597 "configure"
|
|
|
|
|
#line 2599 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2606: \"$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
|
|
|
|
@ -2630,7 +2632,7 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2634: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2636: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2662,7 +2664,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "dlltool", so it can be a program name with args.
|
|
|
|
|
set dummy dlltool; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2666: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2668: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2697,7 +2699,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2701: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2703: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2729,7 +2731,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "as", so it can be a program name with args.
|
|
|
|
|
set dummy as; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2733: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2735: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2764,7 +2766,7 @@ fi
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2768: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2770: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2796,7 +2798,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "objdump", so it can be a program name with args.
|
|
|
|
|
set dummy objdump; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2800: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2802: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2832,12 +2834,12 @@ fi
|
|
|
|
|
# recent cygwin and mingw systems supply a stub DllMain which the user
|
|
|
|
|
# can override, but on older systems we have to supply one
|
|
|
|
|
echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2836: checking if libtool should supply DllMain function" >&5
|
|
|
|
|
echo "configure:2838: checking if libtool should supply DllMain function" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2841 "configure"
|
|
|
|
|
#line 2843 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -2845,7 +2847,7 @@ extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
|
|
|
|
|
DllMain (0, 0, 0);
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_need_dllmain=no
|
|
|
|
|
else
|
|
|
|
@ -2866,19 +2868,19 @@ echo "$ac_t""$lt_cv_need_dllmain" 1>&6
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -mdll"
|
|
|
|
|
echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2870: checking how to link DLLs" >&5
|
|
|
|
|
echo "configure:2872: checking how to link DLLs" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 2875 "configure"
|
|
|
|
|
#line 2877 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_cc_dll_switch=-mdll
|
|
|
|
|
else
|
|
|
|
@ -2992,7 +2994,7 @@ do
|
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2996: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:2998: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3143,6 +3145,17 @@ if test -z "$CC_FOR_BUILD"; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "${newlib_elix_level}" -gt "0"; then
|
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
|
#define _ELIX_LEVEL ${newlib_elix_level}
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
|
#define _NEWLIB_VERSION "$VERSION"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "${multilib}" = "yes"; then
|
|
|
|
|
multilib_arg="--enable-multilib"
|
|
|
|
@ -3214,19 +3227,7 @@ fi
|
|
|
|
|
|
|
|
|
|
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
|
|
|
|
|
|
|
|
|
# Transform confdefs.h into DEFS.
|
|
|
|
|
# Protect against shell expansion while executing Makefile rules.
|
|
|
|
|
# Protect against Makefile macro expansion.
|
|
|
|
|
cat > conftest.defs <<\EOF
|
|
|
|
|
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
|
|
|
|
|
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
|
|
|
|
|
s%\[%\\&%g
|
|
|
|
|
s%\]%\\&%g
|
|
|
|
|
s%\$%$$%g
|
|
|
|
|
EOF
|
|
|
|
|
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
|
|
|
|
|
rm -f conftest.defs
|
|
|
|
|
|
|
|
|
|
DEFS=-DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
|
|
# Without the "./", some shells look in PATH for config.status.
|
|
|
|
|
: ${CONFIG_STATUS=./config.status}
|
|
|
|
@ -3264,7 +3265,7 @@ done
|
|
|
|
|
ac_given_srcdir=$srcdir
|
|
|
|
|
ac_given_INSTALL="$INSTALL"
|
|
|
|
|
|
|
|
|
|
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
|
|
|
|
trap 'rm -fr `echo "Makefile newlib.h:newlib.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
|
|
|
|
@ -3476,8 +3477,116 @@ s%@INSTALL@%$INSTALL%g
|
|
|
|
|
fi; done
|
|
|
|
|
rm -f conftest.s*
|
|
|
|
|
|
|
|
|
|
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
|
|
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
|
|
|
#
|
|
|
|
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
|
|
|
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
|
|
|
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
|
|
|
|
|
ac_dC='\3'
|
|
|
|
|
ac_dD='%g'
|
|
|
|
|
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
|
|
|
|
|
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
|
|
ac_uB='\([ ]\)%\1#\2define\3'
|
|
|
|
|
ac_uC=' '
|
|
|
|
|
ac_uD='\4%g'
|
|
|
|
|
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
|
|
|
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
|
|
ac_eB='$%\1#\2define\3'
|
|
|
|
|
ac_eC=' '
|
|
|
|
|
ac_eD='%g'
|
|
|
|
|
|
|
|
|
|
if test "${CONFIG_HEADERS+set}" != set; then
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
CONFIG_HEADERS="newlib.h:newlib.hin"
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
fi
|
|
|
|
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
|
|
|
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
|
|
case "$ac_file" in
|
|
|
|
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
|
|
|
|
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
|
|
|
*) ac_file_in="${ac_file}.in" ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo creating $ac_file
|
|
|
|
|
|
|
|
|
|
rm -f conftest.frag conftest.in conftest.out
|
|
|
|
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
|
|
|
|
cat $ac_file_inputs > conftest.in
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# Transform confdefs.h into a sed script conftest.vals that substitutes
|
|
|
|
|
# the proper values into config.h.in to produce config.h. And first:
|
|
|
|
|
# Protect against being on the right side of a sed subst in config.status.
|
|
|
|
|
# Protect against being in an unquoted here document in config.status.
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
cat > conftest.hdr <<\EOF
|
|
|
|
|
s/[\\&%]/\\&/g
|
|
|
|
|
s%[\\$`]%\\&%g
|
|
|
|
|
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
|
|
|
|
|
s%ac_d%ac_u%gp
|
|
|
|
|
s%ac_u%ac_e%gp
|
|
|
|
|
EOF
|
|
|
|
|
sed -n -f conftest.hdr confdefs.h > conftest.vals
|
|
|
|
|
rm -f conftest.hdr
|
|
|
|
|
|
|
|
|
|
# This sed command replaces #undef with comments. This is necessary, for
|
|
|
|
|
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
|
|
# on some systems where configure will not decide to define it.
|
|
|
|
|
cat >> conftest.vals <<\EOF
|
|
|
|
|
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# Break up conftest.vals because some shells have a limit on
|
|
|
|
|
# the size of here documents, and old seds have small limits too.
|
|
|
|
|
|
|
|
|
|
rm -f conftest.tail
|
|
|
|
|
while :
|
|
|
|
|
do
|
|
|
|
|
ac_lines=`grep -c . conftest.vals`
|
|
|
|
|
# grep -c gives empty output for an empty file on some AIX systems.
|
|
|
|
|
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
|
|
|
|
|
# Write a limited-size here document to conftest.frag.
|
|
|
|
|
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
|
|
|
|
|
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
|
|
|
|
|
echo 'CEOF
|
|
|
|
|
sed -f conftest.frag conftest.in > conftest.out
|
|
|
|
|
rm -f conftest.in
|
|
|
|
|
mv conftest.out conftest.in
|
|
|
|
|
' >> $CONFIG_STATUS
|
|
|
|
|
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
mv conftest.tail conftest.vals
|
|
|
|
|
done
|
|
|
|
|
rm -f conftest.vals
|
|
|
|
|
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
rm -f conftest.frag conftest.h
|
|
|
|
|
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
|
|
|
|
|
cat conftest.in >> conftest.h
|
|
|
|
|
rm -f conftest.in
|
|
|
|
|
if cmp -s $ac_file conftest.h 2>/dev/null; then
|
|
|
|
|
echo "$ac_file is unchanged"
|
|
|
|
|
rm -f conftest.h
|
|
|
|
|
else
|
|
|
|
|
# Remove last slash and all that follows it. Not all systems have dirname.
|
|
|
|
|
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
|
|
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
|
|
|
|
# The file is in a subdirectory.
|
|
|
|
|
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
|
|
|
|
fi
|
|
|
|
|
rm -f $ac_file
|
|
|
|
|
mv conftest.h $ac_file
|
|
|
|
|
fi
|
|
|
|
|
fi; done
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<EOF
|
|
|
|
|
|
|
|
|
|
srcdir=${srcdir}
|
|
|
|
|
host=${host}
|
|
|
|
|
target=${target}
|
|
|
|
@ -3490,7 +3599,9 @@ LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
cat >> $CONFIG_STATUS <<\EOF
|
|
|
|
|
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
|
|
|
|
if test -n "$CONFIG_FILES"; then
|
|
|
|
|
unset ac_file
|
|
|
|
|
. ${newlib_basedir}/../config-ml.in
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|