summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-15 03:02:36 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-15 03:02:36 +0200
commit5d149582a6cb51b21b3dfff88532f9f50021fdf4 (patch)
tree3c6dc5fa98453f344dd5dbf614c90514258bb83b /configure
parent1bb92e9416aa34c994427e79e332bd18db996f18 (diff)
downloadgmp-5d149582a6cb51b21b3dfff88532f9f50021fdf4.tar.gz
Regenerate with aclocal.m4 rev 1.22, which is the snapshot automake etc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure981
1 files changed, 761 insertions, 220 deletions
diff --git a/configure b/configure
index 61143e381..326a3f48b 100755
--- a/configure
+++ b/configure
@@ -416,6 +416,8 @@ Program names:
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE=ARG include FEATURE ARG=yes
+ --disable-dependency-tracking Speeds up one-time builds
+ --enable-dependency-tracking Do not reject slow dependency extractors
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-assert enable ASSERT checking default=no
@@ -430,6 +432,7 @@ Optional Packages:
--with-PACKAGE=ARG use PACKAGE ARG=yes
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld default=no
+ --with-pic try to use only PIC/non-PIC objects default=use both
Some influent environment variables:
CFLAGS Extra flags for the C compiler
@@ -629,7 +632,7 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
echo $ECHO_N "checking host system type... $ECHO_C" 1>&6
-echo "configure:633: checking host system type" 1>&5
+echo "configure:636: checking host system type" 1>&5
if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then
# Make sure we can run config.sub.
@@ -665,7 +668,7 @@ host_vendor=$ac_cv_host_vendor
host_os=$ac_cv_host_os
echo $ECHO_N "checking target system type... $ECHO_C" 1>&6
-echo "configure:669: checking target system type" 1>&5
+echo "configure:672: checking target system type" 1>&5
if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then
# Make sure we can run config.sub.
@@ -700,7 +703,7 @@ target_vendor=$ac_cv_target_vendor
target_os=$ac_cv_target_os
echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
-echo "configure:704: checking build system type" 1>&5
+echo "configure:707: checking build system type" 1>&5
if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
# Make sure we can run config.sub.
@@ -771,7 +774,7 @@ test "$host_alias" != "$target_alias" &&
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6
-echo "configure:775: checking for a BSD compatible install" 1>&5
+echo "configure:778: checking for a BSD compatible install" 1>&5
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
@@ -828,7 +831,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" 1>&6
-echo "configure:832: checking whether build environment is sane" 1>&5
+echo "configure:835: checking whether build environment is sane" 1>&5
# Just in case
sleep 1
echo timestamp > conftestfile
@@ -884,8 +887,55 @@ test "$program_suffix" != NONE &&
# sed with no file args requires a program.
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
+test x"${MISSING+set}" = xset || \
+ MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+if eval "$MISSING --run :"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ am_backtick='`'
+ echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
+fi
+
+for ac_prog in mawk gawk nawk awk
+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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
+echo "configure:906: checking for $ac_word" 1>&5
+if test "${ac_cv_prog_AWK+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+ for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ echo "$ac_dir/$ac_word"
+ fi
+done
+IFS="$ac_save_ifs"
+`; do
+ ac_cv_prog_AWK="$ac_prog"
+ break
+ done
+fi
+fi
+AWK="$ac_cv_prog_AWK"
+if test -n "$AWK"; then
+ echo "$ECHO_T""$AWK" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+test -n "$AWK" && break
+done
+
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" 1>&6
-echo "configure:889: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
+echo "configure:939: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
@@ -911,11 +961,40 @@ else
SET_MAKE="MAKE=${MAKE-make}"
fi
+# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+ enableval="$enable_dependency_tracking"
+
+fi
+if test "x$enable_dependency_tracking" = xno; then
+ AMDEP="#"
+else
+ am_depcomp="$ac_aux_dir/depcomp"
+ if test ! -f "$am_depcomp"; then
+ AMDEP="#"
+ else
+ AMDEP=
+ fi
+fi
+
+if test -z "$AMDEP"; then
+ AMDEPBACKSLASH='\'
+else
+ AMDEPBACKSLASH=
+fi
+
+if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
+ DEPDIR=.deps
+else
+ DEPDIR=_deps
+fi
+
PACKAGE=gmp
VERSION=3.0
-if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
+ test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
fi
cat >>confdefs.h <<EOF
@@ -926,74 +1005,27 @@ cat >>confdefs.h <<EOF
#define VERSION "$VERSION"
EOF
-missing_dir=`cd $ac_aux_dir && pwd`
-echo $ECHO_N "checking for working aclocal... $ECHO_C" 1>&6
-echo "configure:932: checking for working aclocal" 1>&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.
-if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- ACLOCAL=aclocal
- echo "$ECHO_T""found" 1>&6
-else
- ACLOCAL="$missing_dir/missing aclocal"
- echo "$ECHO_T""missing" 1>&6
-fi
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
-echo $ECHO_N "checking for working autoconf... $ECHO_C" 1>&6
-echo "configure:945: checking for working autoconf" 1>&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.
-if (autoconf --version) < /dev/null > /dev/null 2>&1; then
- AUTOCONF=autoconf
- echo "$ECHO_T""found" 1>&6
-else
- AUTOCONF="$missing_dir/missing autoconf"
- echo "$ECHO_T""missing" 1>&6
-fi
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-echo $ECHO_N "checking for working automake... $ECHO_C" 1>&6
-echo "configure:958: checking for working automake" 1>&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.
-if (automake --version) < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake
- echo "$ECHO_T""found" 1>&6
-else
- AUTOMAKE="$missing_dir/missing automake"
- echo "$ECHO_T""missing" 1>&6
-fi
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
-echo $ECHO_N "checking for working autoheader... $ECHO_C" 1>&6
-echo "configure:971: checking for working autoheader" 1>&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.
-if (autoheader --version) < /dev/null > /dev/null 2>&1; then
- AUTOHEADER=autoheader
- echo "$ECHO_T""found" 1>&6
-else
- AUTOHEADER="$missing_dir/missing autoheader"
- echo "$ECHO_T""missing" 1>&6
-fi
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-echo $ECHO_N "checking for working makeinfo... $ECHO_C" 1>&6
-echo "configure:984: checking for working makeinfo" 1>&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.
-if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
- MAKEINFO=makeinfo
- echo "$ECHO_T""found" 1>&6
-else
- MAKEINFO="$missing_dir/missing makeinfo"
- echo "$ECHO_T""missing" 1>&6
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+if test -z "$install_sh"; then
+ install_sh="$ac_aux_dir/install-sh"
+ test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
+ test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
+ install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
fi
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" 1>&6
-echo "configure:997: checking whether to enable maintainer-specific portions of Makefiles" 1>&5
+echo "configure:1029: checking whether to enable maintainer-specific portions of Makefiles" 1>&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@@ -1257,7 +1289,7 @@ for c in $gmp_cc_list; do
# Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args.
set dummy ${ac_tool_prefix}$c; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1261: checking for $ac_word" 1>&5
+echo "configure:1293: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1291,7 +1323,7 @@ if test -z "$ac_cv_prog_CC"; then
# Extract the first word of "$c", so it can be a program name with args.
set dummy $c; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1295: checking for $ac_word" 1>&5
+echo "configure:1327: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1340,12 +1372,12 @@ CFLAGS="$c_flags"
# Simple test for all targets.
cat >conftest.$ac_ext <<EOF
-#line 1344 "configure"
+#line 1376 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
tmp_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
@@ -1365,9 +1397,9 @@ if test "$tmp_works" = "yes"; then
case "$target" in
*-*-aix*) # Returning a funcptr.
echo $ECHO_N "checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)... $ECHO_C" 1>&6
-echo "configure:1369: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5
+echo "configure:1401: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5
cat >conftest.$ac_ext <<EOF
-#line 1371 "configure"
+#line 1403 "configure"
#include "confdefs.h"
int
@@ -1378,7 +1410,7 @@ main ()
return 0;
}
EOF
-if { (eval echo configure:1382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
tmp_works=yes
else
@@ -1413,7 +1445,7 @@ fi
gmp_tmp_CC_save="$CC"
CC="$c"
echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6
-echo "configure:1417: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
+echo "configure:1449: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
gmp_tmp_CFLAGS_save="$CFLAGS"
CFLAGS="$c_flags"
@@ -1447,7 +1479,7 @@ echo "configure:1417: checking whether the C compiler ($CC) is 64-bit capable" 1
# Simply try to compile an empty main. If that succeeds return
# true.
cat >conftest.$ac_ext <<EOF
-#line 1451 "configure"
+#line 1483 "configure"
#include "confdefs.h"
int
@@ -1458,7 +1490,7 @@ main ()
return 0;
}
EOF
-if { (eval echo configure:1462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gmp_cv_cc_64bit=yes
else
@@ -1478,13 +1510,13 @@ rm -f conftest*
gmp_cv_cc_64bit=no
else
cat >conftest.$ac_ext <<EOF
-#line 1482 "configure"
+#line 1514 "configure"
#include "confdefs.h"
int main() { return (sizeof (void *) != 8); }
EOF
-if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gmp_cv_cc_64bit=yes
else
@@ -1533,7 +1565,7 @@ if test -n "$optcflags"; then
CFLAGS_save="$CFLAGS"
CFLAGS="$CFLAGS $optcflags"
echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6
-echo "configure:1537: checking whether $CC accepts $optcflags" 1>&5
+echo "configure:1569: checking whether $CC accepts $optcflags" 1>&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
@@ -1543,12 +1575,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat >conftest.$ac_ext <<EOF
-#line 1547 "configure"
+#line 1579 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
optok=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
@@ -1573,7 +1605,7 @@ fi
# Select chosen compiler.
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
-echo "configure:1577: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
+echo "configure:1609: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1584,12 +1616,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat >conftest.$ac_ext <<EOF
-#line 1588 "configure"
+#line 1620 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1625: \"$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
@@ -1615,12 +1647,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 77; }
fi
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6
-echo "configure:1619: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
+echo "configure:1651: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6
-echo "configure:1624: checking whether we are using GNU C" 1>&5
+echo "configure:1656: checking whether we are using GNU C" 1>&5
if test "${ac_cv_prog_gcc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1629,7 +1661,7 @@ else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1633: \"$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:1665: \"$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
@@ -1647,7 +1679,7 @@ fi
CCAS="$CC -c"
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6
-echo "configure:1651: checking how to run the C preprocessor" 1>&5
+echo "configure:1683: checking how to run the C preprocessor" 1>&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@@ -1663,13 +1695,13 @@ else
# not just through cpp.
cat >conftest.$ac_ext <<EOF
-#line 1667 "configure"
+#line 1699 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1681,13 +1713,13 @@ else
CPP="${CC-cc} -E -traditional-cpp"
cat >conftest.$ac_ext <<EOF
-#line 1685 "configure"
+#line 1717 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1699,13 +1731,13 @@ else
CPP="${CC-cc} -nologo -E"
cat >conftest.$ac_ext <<EOF
-#line 1703 "configure"
+#line 1735 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@@ -1741,7 +1773,7 @@ echo "$ECHO_T""$CPP" 1>&6
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6
-echo "configure:1745: checking for a BSD compatible install" 1>&5
+echo "configure:1777: checking for a BSD compatible install" 1>&5
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
@@ -1798,7 +1830,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6
-echo "configure:1802: checking whether ln -s works" 1>&5
+echo "configure:1834: checking whether ln -s works" 1>&5
if test "${ac_cv_prog_LN_S+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1821,7 +1853,7 @@ fi
# Extract the first word of "m4", so it can be a program name with args.
set dummy m4; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1825: checking for $ac_word" 1>&5
+echo "configure:1857: checking for $ac_word" 1>&5
if test "${ac_cv_prog_M4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1859,7 +1891,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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1863: checking for $ac_word" 1>&5
+echo "configure:1895: checking for $ac_word" 1>&5
if test "${ac_cv_prog_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1893,7 +1925,7 @@ if test -z "$ac_cv_prog_AR"; then
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1897: checking for $ac_word" 1>&5
+echo "configure:1929: checking for $ac_word" 1>&5
if test "${ac_cv_prog_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1931,7 +1963,7 @@ fi
# Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
set dummy ${ac_tool_prefix}nm; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1935: checking for $ac_word" 1>&5
+echo "configure:1967: checking for $ac_word" 1>&5
if test "${ac_cv_prog_NM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -1965,7 +1997,7 @@ if test -z "$ac_cv_prog_NM"; then
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:1969: checking for $ac_word" 1>&5
+echo "configure:2001: checking for $ac_word" 1>&5
if test "${ac_cv_prog_NM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2014,7 +2046,7 @@ esac
if test "$gmp_no_asm_syntax_testing" != "yes"; then
echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6
-echo "configure:2018: checking how to switch to text section" 1>&5
+echo "configure:2050: checking how to switch to text section" 1>&5
if test "${gmp_cv_check_asm_text+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2033,7 +2065,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6
echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6
-echo "configure:2037: checking how to switch to data section" 1>&5
+echo "configure:2069: checking how to switch to data section" 1>&5
if test "${gmp_cv_check_asm_data+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2051,7 +2083,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6
echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6
-echo "configure:2055: checking how to export a symbol" 1>&5
+echo "configure:2087: checking how to export a symbol" 1>&5
if test "${gmp_cv_check_asm_globl+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2065,7 +2097,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6
echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6
-echo "configure:2069: checking what assembly label suffix to use" 1>&5
+echo "configure:2101: checking what assembly label suffix to use" 1>&5
if test "${gmp_cv_check_asm_label_suffix+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2079,14 +2111,14 @@ echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6
echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6
-echo "configure:2083: checking how the .type assembly directive should be used" 1>&5
+echo "configure:2115: checking how the .type assembly directive should be used" 1>&5
if test "${gmp_cv_check_asm_type+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
for gmp_tmp_prefix in @ \# %; do
echo " .type sym,${gmp_tmp_prefix}function" > conftest.s
- if { (eval echo configure:2090: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2122: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2"
break
fi
@@ -2100,13 +2132,13 @@ echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6
echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6
-echo "configure:2104: checking if the .size assembly directive works" 1>&5
+echo "configure:2136: checking if the .size assembly directive works" 1>&5
if test "${gmp_cv_check_asm_size+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
echo ' .size sym,1' > conftest.s
-if { (eval echo configure:2110: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2142: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_size=".size \$1,\$2"
else
gmp_cv_check_asm_size="dnl"
@@ -2117,7 +2149,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6
echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6
-echo "configure:2121: checking what prefix to use for a local label" 1>&5
+echo "configure:2153: checking what prefix to use for a local label" 1>&5
if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2133,7 +2165,7 @@ dummy${gmp_cv_check_asm_label_suffix}
${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
- if { (eval echo configure:2137: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2169: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
$NM conftest.o >/dev/null 2>&1
gmp_rc=$?
if test "$gmp_rc" != "0"; then
@@ -2157,7 +2189,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6
echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6
-echo "configure:2161: checking how to [define] a 32-bit word" 1>&5
+echo "configure:2193: checking how to [define] a 32-bit word" 1>&5
if test "${gmp_cv_check_asm_w32+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2186,7 +2218,7 @@ case "$target" in
foo${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
- if { (eval echo configure:2190: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2222: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
@@ -2210,17 +2242,17 @@ echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6
echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6
-echo "configure:2214: checking if symbols are prefixed by underscore" 1>&5
+echo "configure:2246: checking if symbols are prefixed by underscore" 1>&5
if test "${gmp_cv_check_asm_underscore+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2219 "configure"
+#line 2251 "configure"
#include "confdefs.h"
int underscore_test() {
return; }
EOF
-if { (eval echo configure:2224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if grep _underscore_test conftest* >/dev/null; then
gmp_cv_check_asm_underscore=yes
else
@@ -2247,7 +2279,7 @@ echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4
fi
echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6
-echo "configure:2251: checking if .align assembly directive is logarithmic" 1>&5
+echo "configure:2283: checking if .align assembly directive is logarithmic" 1>&5
if test "${gmp_cv_check_asm_align_log+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2265,7 +2297,7 @@ foo$gmp_cv_check_asm_label_suffix
.byte 2
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2269: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2301: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
@@ -2377,7 +2409,7 @@ case ${target} in
path=
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
-echo "configure:2381: checking if the assembler knows about MMX instructions" 1>&5
+echo "configure:2413: checking if the assembler knows about MMX instructions" 1>&5
if test "${gmp_cv_check_asm_mmx+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2386,7 +2418,7 @@ else
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2390: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2422: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
@@ -2421,7 +2453,7 @@ fi
path=
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
-echo "configure:2425: checking if the assembler knows about MMX instructions" 1>&5
+echo "configure:2457: checking if the assembler knows about MMX instructions" 1>&5
if test "${gmp_cv_check_asm_mmx+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2430,7 +2462,7 @@ else
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2434: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2466: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
@@ -2459,7 +2491,7 @@ fi
k6*-*-*)
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
-echo "configure:2463: checking if the assembler knows about MMX instructions" 1>&5
+echo "configure:2495: checking if the assembler knows about MMX instructions" 1>&5
if test "${gmp_cv_check_asm_mmx+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2468,7 +2500,7 @@ else
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2472: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2504: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
@@ -2509,7 +2541,7 @@ fi
path=
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
-echo "configure:2513: checking if the assembler knows about MMX instructions" 1>&5
+echo "configure:2545: checking if the assembler knows about MMX instructions" 1>&5
if test "${gmp_cv_check_asm_mmx+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2518,7 +2550,7 @@ else
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2522: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2554: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
@@ -2592,7 +2624,7 @@ case ${target} in
extra_functions="$extra_functions copyi copyd"
echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6
-echo "configure:2596: checking if the assembler takes cl with shldl" 1>&5
+echo "configure:2628: checking if the assembler takes cl with shldl" 1>&5
if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2601,7 +2633,7 @@ else
shldl %cl, %eax, %ebx
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2605: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2637: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_shldl_cl=yes
else
gmp_cv_check_asm_shldl_cl=no
@@ -2624,12 +2656,12 @@ fi
esac
echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6
-echo "configure:2628: checking for Cygwin environment" 1>&5
+echo "configure:2660: checking for Cygwin environment" 1>&5
if test "${ac_cv_cygwin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 2633 "configure"
+#line 2665 "configure"
#include "confdefs.h"
int
@@ -2643,7 +2675,7 @@ return __CYGWIN__;
return 0;
}
EOF
-if { (eval echo configure:2647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
@@ -2658,12 +2690,12 @@ echo "$ECHO_T""$ac_cv_cygwin" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6
-echo "configure:2662: checking for mingw32 environment" 1>&5
+echo "configure:2694: checking for mingw32 environment" 1>&5
if test "${ac_cv_mingw32+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 2667 "configure"
+#line 2699 "configure"
#include "confdefs.h"
int
@@ -2674,7 +2706,7 @@ return __MINGW32__;
return 0;
}
EOF
-if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
@@ -2689,12 +2721,12 @@ echo "$ECHO_T""$ac_cv_mingw32" 1>&6
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes
echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6
-echo "configure:2693: checking for EMX OS/2 environment" 1>&5
+echo "configure:2725: checking for EMX OS/2 environment" 1>&5
if test "${ac_cv_emxos2+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 2698 "configure"
+#line 2730 "configure"
#include "confdefs.h"
int
@@ -2705,7 +2737,7 @@ return __EMX__;
return 0;
}
EOF
-if { (eval echo configure:2709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_emxos2=yes
else
@@ -2721,7 +2753,7 @@ EMXOS2=
test "$ac_cv_emxos2" = yes && EMXOS2=yes
echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6
-echo "configure:2725: checking for executable suffix" 1>&5
+echo "configure:2757: checking for executable suffix" 1>&5
if test "${ac_cv_exeext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -2731,7 +2763,7 @@ else
rm -f conftest*
echo 'int main () { return 0; }' >conftest.$ac_ext
ac_cv_exeext=
- if { (eval echo configure:2735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+ if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c | *.C | *.o | *.obj | *.xcoff) ;;
@@ -2752,13 +2784,13 @@ echo "$ECHO_T""${ac_cv_exeext}" 1>&6
ac_exeext=$EXEEXT
echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6
-echo "configure:2756: checking for object suffix" 1>&5
+echo "configure:2788: checking for object suffix" 1>&5
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
rm -f conftest*
echo 'int i = 1;' >conftest.$ac_ext
-if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
@@ -2847,7 +2879,7 @@ else
fi
echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
-echo "configure:2851: checking build system type" 1>&5
+echo "configure:2883: checking build system type" 1>&5
if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
# Make sure we can run config.sub.
@@ -2881,39 +2913,6 @@ build_cpu=$ac_cv_build_cpu
build_vendor=$ac_cv_build_vendor
build_os=$ac_cv_build_os
-# Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:2888: checking for $ac_word" 1>&5
-if test "${ac_cv_prog_RANLIB+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" 1>&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
- for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-ac_dummy="$PATH"
-for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- echo "$ac_dir/$ac_word"
- fi
-done
-IFS="$ac_save_ifs"
-`; do
- ac_cv_prog_RANLIB="ranlib"
- break
- done
- test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
-fi
-fi
-RANLIB="$ac_cv_prog_RANLIB"
-if test -n "$RANLIB"; then
- echo "$ECHO_T""$RANLIB" 1>&6
-else
- echo "$ECHO_T""no" 1>&6
-fi
-
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
withval="$with_gnu_ld"
@@ -2926,8 +2925,14 @@ ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6
-echo "configure:2930: checking for ld used by GCC" 1>&5
- ac_prog=`($CC -print-prog-name=ld) 2>&5`
+echo "configure:2929: checking for ld used by GCC" 1>&5
+ case $lt_target in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
case "$ac_prog" in
# Accept absolute paths.
[\\/]* | [A-Za-z]:[\\/]*)
@@ -2950,10 +2955,10 @@ echo "configure:2930: checking for ld used by GCC" 1>&5
esac
elif test "$with_gnu_ld" = yes; then
echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6
-echo "configure:2954: checking for GNU ld" 1>&5
+echo "configure:2959: checking for GNU ld" 1>&5
else
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6
-echo "configure:2957: checking for non-GNU ld" 1>&5
+echo "configure:2962: checking for non-GNU ld" 1>&5
fi
if test "${ac_cv_path_LD+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
@@ -2988,7 +2993,7 @@ else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6
-echo "configure:2992: checking if the linker ($LD) is GNU ld" 1>&5
+echo "configure:2997: checking if the linker ($LD) is GNU ld" 1>&5
if test "${ac_cv_prog_gnu_ld+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3000,9 +3005,21 @@ else
fi
fi
echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6
+with_gnu_ld=$ac_cv_prog_gnu_ld
+
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6
+echo "configure:3012: checking for $LD option to reload object files" 1>&5
+if test "${lt_cv_ld_reload_flag+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+echo "$ECHO_T""$lt_cv_ld_reload_flag" 1>&6
+reload_flag=$lt_cv_ld_reload_flag
+test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6
-echo "configure:3006: checking for BSD-compatible nm" 1>&5
+echo "configure:3023: checking for BSD-compatible nm" 1>&5
if test "${ac_cv_path_NM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3037,11 +3054,410 @@ fi
NM="$ac_cv_path_NM"
echo "$ECHO_T""$NM" 1>&6
+echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6
+echo "configure:3059: checking how to recognise dependant libraries" 1>&5
+if test "${lt_cv_deplibs_check_method+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ lt_cv_file_magic_cmd='${MAGIC}'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [regex]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given egrep regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case "$host_os" in
+aix4* | beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi4*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin* | mingw*)
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+ lt_cv_file_magic_cmd='${OBJDUMP} -f'
+ ;;
+
+freebsd*)
+ case "$version_type" in
+ freebsd-elf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+irix5* | irix6*)
+ case "$host_os" in
+ irix5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+ ;;
+ *)
+ case "$LD" in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+ ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux-gnu*)
+ case "$host_cpu" in
+ alpha* | i*86 | powerpc* | sparc* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
+osf3* | osf4* | osf5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sco3.2v5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ case "$host_vendor" in
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ esac
+ ;;
+esac
+
+fi
+echo "$ECHO_T""$lt_cv_deplibs_check_method" 1>&6
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+
+if test $host != $build; then
+ ac_tool_prefix=${host_alias}-
+else
+ ac_tool_prefix=
+fi
+
+# Only perform the check for file, if the check method requires it
+case "$deplibs_check_method" in
+file_magic*)
+ if test "$file_magic_cmd" = '${MAGIC}'; then
+
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6
+echo "configure:3183: checking for ${ac_tool_prefix}file" 1>&5
+if test "${lt_cv_path_MAGIC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ case "$MAGIC" in
+ /*)
+ lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+ ;;
+ *)
+ ac_save_MAGIC="$MAGIC"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="/usr/bin:$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/${ac_tool_prefix}file; then
+ lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case "$deplibs_check_method" in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC="$lt_cv_path_MAGIC"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ egrep "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ MAGIC="$ac_save_MAGIC"
+ ;;
+esac
+fi
+
+MAGIC="$lt_cv_path_MAGIC"
+if test -n "$MAGIC"; then
+ echo "$ECHO_T""$MAGIC" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+if test -z "$lt_cv_path_MAGIC"; then
+ if test -n "$ac_tool_prefix"; then
+ echo $ECHO_N "checking for file... $ECHO_C" 1>&6
+echo "configure:3245: checking for file" 1>&5
+if test "${lt_cv_path_MAGIC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ case "$MAGIC" in
+ /*)
+ lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
+ ;;
+ *)
+ ac_save_MAGIC="$MAGIC"
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="/usr/bin:$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/file; then
+ lt_cv_path_MAGIC="$ac_dir/file"
+ if test -n "$file_magic_test_file"; then
+ case "$deplibs_check_method" in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC="$lt_cv_path_MAGIC"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ egrep "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ MAGIC="$ac_save_MAGIC"
+ ;;
+esac
+fi
+
+MAGIC="$lt_cv_path_MAGIC"
+if test -n "$MAGIC"; then
+ echo "$ECHO_T""$MAGIC" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+ else
+ MAGIC=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
case "$target" in
NONE) lt_target="$host" ;;
*) lt_target="$target" ;;
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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
+echo "configure:3321: checking for $ac_word" 1>&5
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+ for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ echo "$ac_dir/$ac_word"
+ fi
+done
+IFS="$ac_save_ifs"
+`; do
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ break
+ done
+fi
+fi
+RANLIB="$ac_cv_prog_RANLIB"
+if test -n "$RANLIB"; then
+ echo "$ECHO_T""$RANLIB" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+if test -z "$ac_cv_prog_RANLIB"; then
+ 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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
+echo "configure:3355: checking for $ac_word" 1>&5
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+ for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ echo "$ac_dir/$ac_word"
+ fi
+done
+IFS="$ac_save_ifs"
+`; do
+ ac_cv_prog_RANLIB="ranlib"
+ break
+ done
+ test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
+fi
+fi
+RANLIB="$ac_cv_prog_RANLIB"
+if test -n "$RANLIB"; then
+ echo "$ECHO_T""$RANLIB" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+ else
+ RANLIB=":"
+ fi
+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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
+echo "configure:3393: checking for $ac_word" 1>&5
+if test "${ac_cv_prog_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+ for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ echo "$ac_dir/$ac_word"
+ fi
+done
+IFS="$ac_save_ifs"
+`; do
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ break
+ done
+fi
+fi
+STRIP="$ac_cv_prog_STRIP"
+if test -n "$STRIP"; then
+ echo "$ECHO_T""$STRIP" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+if test -z "$ac_cv_prog_STRIP"; then
+ 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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
+echo "configure:3427: checking for $ac_word" 1>&5
+if test "${ac_cv_prog_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+ for ac_path in `IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ echo "$ac_dir/$ac_word"
+ fi
+done
+IFS="$ac_save_ifs"
+`; do
+ ac_cv_prog_STRIP="strip"
+ break
+ done
+ test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
+fi
+fi
+STRIP="$ac_cv_prog_STRIP"
+if test -n "$STRIP"; then
+ echo "$ECHO_T""$STRIP" 1>&6
+else
+ echo "$ECHO_T""no" 1>&6
+fi
+
+ else
+ STRIP=":"
+ fi
+fi
+
# Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
@@ -3058,13 +3474,23 @@ fi
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
+# Check whether --with-pic or --without-pic was given.
+if test "${with_pic+set}" = set; then
+ withval="$with_pic"
+ pic_mode="$withval"
+else
+ pic_mode=default
+fi
+test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
+test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
+
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$lt_target" in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3067 "configure"' > conftest.$ac_ext
- if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ echo '#line 3493 "configure"' > conftest.$ac_ext
+ if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
@@ -3085,12 +3511,20 @@ case "$lt_target" in
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6
-echo "configure:3089: checking whether the C compiler needs -belf" 1>&5
+echo "configure:3515: checking whether the C compiler needs -belf" 1>&5
if test "${lt_cv_cc_needs_belf+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
- cat >conftest.$ac_ext <<EOF
-#line 3094 "configure"
+
+ 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
+
+ cat >conftest.$ac_ext <<EOF
+#line 3528 "configure"
#include "confdefs.h"
int
@@ -3101,7 +3535,7 @@ main()
return 0;
}
EOF
-if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3539: \"$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
@@ -3112,6 +3546,13 @@ else
fi
rm -f conftest*
+ 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
+
fi
echo "$ECHO_T""$lt_cv_cc_needs_belf" 1>&6
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
@@ -3138,7 +3579,7 @@ esac
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:3142: checking for $ac_word" 1>&5
+echo "configure:3583: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3171,7 +3612,7 @@ fi
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:3175: checking for $ac_word" 1>&5
+echo "configure:3616: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3225,7 +3666,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 $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
-echo "configure:3229: checking for $ac_word" 1>&5
+echo "configure:3670: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3263,7 +3704,7 @@ done
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
-echo "configure:3267: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
+echo "configure:3708: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -3274,12 +3715,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat >conftest.$ac_ext <<EOF
-#line 3278 "configure"
+#line 3719 "configure"
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3724: \"$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
@@ -3305,12 +3746,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 77; }
fi
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6
-echo "configure:3309: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
+echo "configure:3750: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6
-echo "configure:3314: checking whether we are using GNU C" 1>&5
+echo "configure:3755: checking whether we are using GNU C" 1>&5
if test "${ac_cv_prog_gcc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3319,7 +3760,7 @@ else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3323: \"$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:3764: \"$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
@@ -3337,7 +3778,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" 1>&6
-echo "configure:3341: checking whether ${CC-cc} accepts -g" 1>&5
+echo "configure:3782: checking whether ${CC-cc} accepts -g" 1>&5
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
@@ -3367,6 +3808,52 @@ else
fi
fi
+depcc="$CC"
+depcpp="$CPP"
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" 1>&6
+echo "configure:3815: checking dependency style of $depcc" 1>&5
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" 1>&6
+else
+
+if test -z "$AMDEP"; then
+ echo '#include "conftest.h"' > conftest.c
+ echo 'int i;' > conftest.h
+
+ am_cv_CC_dependencies_compiler_type=none
+ for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
+ case "$depmode" in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ if depmode="$depmode" \
+ source=conftest.c object=conftest.o \
+ depfile=conftest.Po tmpdepfile=conftest.TPo \
+ $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
+ grep conftest.h conftest.Po > /dev/null 2>&1; then
+ am_cv_CC_dependencies_compiler_type="$depmode"
+ break
+ fi
+ done
+
+ rm -f conftest.*
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+
+echo "$ECHO_T""$am_cv_CC_dependencies_compiler_type" 1>&6
+CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
+
CC=$gmp_save_CC
CFLAGS=$gmp_save_CFLAGS
ac_cv_prog_gcc=$gmp_save_ac_cv_prog_gcc
@@ -3422,12 +3909,14 @@ fi
rm -f confcache
# Actually configure libtool. ac_aux_dir is where install-sh is found.
-CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
-LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
-LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
-DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
+AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
+objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
+deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
+$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $lt_target \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
# Reload cache, that may have been modified by ltconfig
@@ -3450,12 +3939,12 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
exec 5>>./config.log
echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6
-echo "configure:3454: checking whether optarg is declared" 1>&5
+echo "configure:3943: checking whether optarg is declared" 1>&5
if test "${ac_cv_have_decl_optarg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 3459 "configure"
+#line 3948 "configure"
#include "confdefs.h"
$ac_includes_default
int
@@ -3469,7 +3958,7 @@ main ()
return 0;
}
EOF
-if { (eval echo configure:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_decl_optarg=yes
else
@@ -3494,13 +3983,13 @@ EOF
fi
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
-echo "configure:3498: checking for ANSI C header files" 1>&5
+echo "configure:3987: checking for ANSI C header files" 1>&5
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 3504 "configure"
+#line 3993 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -3509,7 +3998,7 @@ cat >conftest.$ac_ext <<EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -3527,7 +4016,7 @@ if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
-#line 3531 "configure"
+#line 4020 "configure"
#include "confdefs.h"
#include <string.h>
@@ -3547,7 +4036,7 @@ if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
-#line 3551 "configure"
+#line 4040 "configure"
#include "confdefs.h"
#include <stdlib.h>
@@ -3569,7 +4058,7 @@ if test "$cross_compiling" = yes; then
:
else
cat >conftest.$ac_ext <<EOF
-#line 3573 "configure"
+#line 4062 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
@@ -3594,7 +4083,7 @@ main ()
exit (0);
}
EOF
-if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@@ -3618,12 +4107,12 @@ EOF
fi
echo $ECHO_N "checking for void... $ECHO_C" 1>&6
-echo "configure:3622: checking for void" 1>&5
+echo "configure:4111: checking for void" 1>&5
if test "${ac_cv_type_void+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 3627 "configure"
+#line 4116 "configure"
#include "confdefs.h"
$ac_includes_default
int
@@ -3637,7 +4126,7 @@ if (sizeof (void))
return 0;
}
EOF
-if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_void=yes
else
@@ -3657,13 +4146,13 @@ EOF
fi
echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6
-echo "configure:3661: checking for preprocessor stringizing operator" 1>&5
+echo "configure:4150: checking for preprocessor stringizing operator" 1>&5
if test "${ac_cv_c_stringize+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
-#line 3667 "configure"
+#line 4156 "configure"
#include "confdefs.h"
#define x(y) #y
@@ -4019,7 +4508,7 @@ config_headers="\\
config_links="\\
$gmp_links"
config_commands="\\
- default-1"
+ default-1 default-2"
ac_cs_usage="\\
\\\`$CONFIG_STATUS' instantiates files from templates according to the
@@ -4117,6 +4606,7 @@ Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;;
'mpbsd/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/tests/Makefile" ;;
'$gmp_links' ) CONFIG_LINKS="\$CONFIG_LINKS $gmp_links" ;;
'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;;
+ 'default-2' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-2" ;;
'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h:config.in" ;;
# This is an error.
@@ -4149,6 +4639,9 @@ cat >>$CONFIG_STATUS <<EOF
# INIT-COMMANDS section.
#
+AMDEP="$AMDEP"
+ac_aux_dir="$ac_aux_dir"
+
EOF
cat >>$CONFIG_STATUS <<EOF
@@ -4214,7 +4707,13 @@ s%@AUTOCONF@%$AUTOCONF%;t t
s%@AUTOMAKE@%$AUTOMAKE%;t t
s%@AUTOHEADER@%$AUTOHEADER%;t t
s%@MAKEINFO@%$MAKEINFO%;t t
+s%@AMTAR@%$AMTAR%;t t
+s%@install_sh@%$install_sh%;t t
+s%@AWK@%$AWK%;t t
s%@SET_MAKE@%$SET_MAKE%;t t
+s%@AMDEP@%$AMDEP%;t t
+s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%;t t
+s%@DEPDIR@%$DEPDIR%;t t
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%;t t
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%;t t
s%@MAINT@%$MAINT%;t t
@@ -4229,7 +4728,9 @@ s%@AR@%$AR%;t t
s%@NM@%$NM%;t t
s%@EXEEXT@%$EXEEXT%;t t
s%@OBJEXT@%$OBJEXT%;t t
+s%@CCDEPMODE@%$CCDEPMODE%;t t
s%@RANLIB@%$RANLIB%;t t
+s%@STRIP@%$STRIP%;t t
s%@LIBTOOL@%$LIBTOOL%;t t
s%@mpn_objects@%$mpn_objects%;t t
s%@mpn_objs_in_libgmp@%$mpn_objs_in_libgmp%;t t
@@ -4554,6 +5055,45 @@ for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then
case "$ac_dest" in
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
+ default-2 )
+test x"$AMDEP" != x"" ||
+for mf in $CONFIG_FILES; do
+ case "$mf" in
+ Makefile) dirpart=.;;
+ */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
+ *) continue;;
+ esac
+ grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
+ # Extract the definition of DEP_FILES from the Makefile without
+ # running `make'.
+ DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n -e '/^U = / s///p' < "$mf"`
+ test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
+ # We invoke sed twice because it is the simplest approach to
+ # changing $(DEPDIR) to its actual value in the expansion.
+ for file in `sed -n -e '
+ /^DEP_FILES = .*\\\\$/ {
+ s/^DEP_FILES = //
+ :loop
+ s/\\\\$//
+ p
+ n
+ /\\\\$/ b loop
+ p
+ }
+ /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
+ $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+done
+ ;;
esac
fi;done
EOF
@@ -4567,3 +5107,4 @@ rm -fr confdefs* $ac_clean_files
trap 'exit 1' 1 2 15
test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+