version 1.4, 2003/11/11 04:24:40 |
version 1.7, 2004/06/28 12:39:11 |
|
|
|
|
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
|
Program names: |
|
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
|
X features: |
X features: |
--x-includes=DIR X include files are in DIR |
--x-includes=DIR X include files are in DIR |
--x-libraries=DIR X library files are in DIR |
--x-libraries=DIR X library files are in DIR |
|
|
|
System types: |
|
--build=BUILD configure for building on BUILD [guessed] |
|
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
--target=TARGET configure for building compilers for TARGET [HOST] |
_ACEOF |
_ACEOF |
fi |
fi |
|
|
Line 786 if test -n "$ac_init_help"; then |
|
Line 796 if test -n "$ac_init_help"; then |
|
|
|
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
|
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-shared=PKGS build shared libraries default=yes |
|
--enable-static=PKGS build static libraries default=yes |
|
--enable-fast-install=PKGS optimize for fast installation default=yes |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
--with-gnu-ld assume the C compiler uses GNU ld default=no |
--with-x use the X Window System |
--with-x use the X Window System |
--with-gmp with the GNU MP library [no] |
--with-gmp with the GNU MP library [no] |
|
|
Line 1149 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
Line 1172 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
|
|
|
ac_aux_dir= |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
if test -f $ac_dir/install-sh; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
break |
|
elif test -f $ac_dir/install.sh; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
break |
|
elif test -f $ac_dir/shtool; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
break |
|
fi |
|
done |
|
if test -z "$ac_aux_dir"; then |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
|
|
# 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: |
|
# SysV /etc/install, /usr/sbin/install |
|
# SunOS /usr/etc/install |
|
# IRIX /sbin/install |
|
# AIX /bin/install |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
if test -z "$INSTALL"; then |
|
if test "${ac_cv_path_install+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
# Account for people who put trailing slashes in PATH elements. |
|
case $as_dir/ in |
|
./ | .// | /cC/* | \ |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
/usr/ucb/* ) ;; |
|
*) |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
# Don't use installbsd from OSF since it installs stuff as root |
|
# by default. |
|
for ac_prog in ginstall scoinst install; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
if test $ac_prog = install && |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
# AIX install. It has an incompatible calling convention. |
|
: |
|
elif test $ac_prog = install && |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
# program-specific install script used by HP pwplus--don't use. |
|
: |
|
else |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
break 3 |
|
fi |
|
fi |
|
done |
|
done |
|
;; |
|
esac |
|
done |
|
|
|
|
|
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
INSTALL=$ac_cv_path_install |
|
else |
|
# As a last resort, use the slow shell script. We don't cache a |
|
# path for INSTALL within a source directory, because that will |
|
# break other packages using the cache if that directory is |
|
# removed, or if the path is relative. |
|
INSTALL=$ac_install_sh |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
echo "${ECHO_T}$INSTALL" >&6 |
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
# It thinks the first close brace ends the variable substitution. |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
|
# Just in case |
|
sleep 1 |
|
echo timestamp > conftest.file |
|
# Do `set' in a subshell so we don't clobber the current shell's |
|
# arguments. Must try -L first in case configure is actually a |
|
# symlink; some systems play weird games with the mod time of symlinks |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
|
# directory). |
|
if ( |
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
if test "$*" = "X"; then |
|
# -L didn't work. |
|
set X `ls -t $srcdir/configure conftest.file` |
|
fi |
|
rm -f conftest.file |
|
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
|
# If neither matched, then we have a broken ls. This can happen |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
# broken ls alias from the environment. This has actually |
|
# happened. Such a system could not be considered "sane". |
|
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
alias in your environment" >&5 |
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|
alias in your environment" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
test "$2" = conftest.file |
|
) |
|
then |
|
# Ok. |
|
: |
|
else |
|
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
Check your system clock" >&5 |
|
echo "$as_me: error: newly created file is older than distributed files! |
|
Check your system clock" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
test "$program_prefix" != NONE && |
|
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
# Use a double $ so make ignores it. |
|
test "$program_suffix" != NONE && |
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
# Double any \ or $. echo might interpret backslashes. |
|
# By default was `s,x,x', remove it if useless. |
|
cat <<\_ACEOF >conftest.sed |
|
s/[\\$]/&&/g;s/;s,x,x,$// |
|
_ACEOF |
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
rm conftest.sed |
|
|
|
|
|
# expand $ac_aux_dir to an absolute path |
|
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd` |
|
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
# Use eval to expand $SHELL |
|
if eval "$MISSING --run true"; then |
|
am_missing_run="$MISSING --run " |
|
else |
|
am_missing_run= |
|
am_backtick='`' |
|
{ echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5 |
|
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;} |
|
fi |
|
|
|
for ac_prog in gawk mawk 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 "$as_me:$LINENO: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_AWK+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$AWK"; then |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_AWK="$ac_prog" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
fi |
|
fi |
|
AWK=$ac_cv_prog_AWK |
|
if test -n "$AWK"; then |
|
echo "$as_me:$LINENO: result: $AWK" >&5 |
|
echo "${ECHO_T}$AWK" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
test -n "$AWK" && break |
|
done |
|
|
|
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
|
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" >&6 |
|
else |
|
cat >conftest.make <<\_ACEOF |
|
all: |
|
@echo 'ac_maketemp="${MAKE}"' |
|
_ACEOF |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
if test -n "$ac_maketemp"; then |
|
eval ac_cv_prog_make_${ac_make}_set=yes |
|
else |
|
eval ac_cv_prog_make_${ac_make}_set=no |
|
fi |
|
rm -f conftest.make |
|
fi |
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
SET_MAKE= |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
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 |
|
am_depcomp="$ac_aux_dir/depcomp" |
|
AMDEPBACKSLASH='\' |
|
fi |
|
|
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
AMDEP_TRUE= |
|
AMDEP_FALSE='#' |
|
else |
|
AMDEP_TRUE='#' |
|
AMDEP_FALSE= |
|
fi |
|
|
|
|
|
|
|
|
|
rm -f .deps 2>/dev/null |
|
mkdir .deps 2>/dev/null |
|
if test -d .deps; then |
|
DEPDIR=.deps |
|
else |
|
# MS-DOS does not allow filenames that begin with a dot. |
|
DEPDIR=_deps |
|
fi |
|
rmdir .deps 2>/dev/null |
|
|
|
|
|
# test to see if srcdir already configured |
|
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && |
|
test -f $srcdir/config.status; then |
|
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
# Define the identity of the package. |
|
PACKAGE=ox_toolkit |
|
VERSION=20040628 |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE "$PACKAGE" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define VERSION "$VERSION" |
|
_ACEOF |
|
|
|
|
|
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow |
|
# the ones we care about. |
|
|
|
# Autoconf 2.50 always computes EXEEXT. However we need to be |
|
# compatible with 2.13, for now. So we always define EXEEXT, but we |
|
# don't compute it. |
|
|
|
# Similar for OBJEXT -- only we only use OBJEXT if the user actually |
|
# requests that it be used. This is a bit dumb. |
|
: ${OBJEXT=o} |
|
|
|
|
|
# Some tools Automake needs. |
|
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} |
|
|
|
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
|
|
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} |
|
|
|
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
|
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|
|
|
# We need awk for the "check" target. The system "awk" is bad on |
|
# some platforms. |
|
|
|
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
|
if test "${enable_maintainer_mode+set}" = set; then |
|
enableval="$enable_maintainer_mode" |
|
USE_MAINTAINER_MODE=$enableval |
|
else |
|
USE_MAINTAINER_MODE=no |
|
fi; |
|
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
|
|
|
|
|
if test $USE_MAINTAINER_MODE = yes; then |
|
MAINTAINER_MODE_TRUE= |
|
MAINTAINER_MODE_FALSE='#' |
|
else |
|
MAINTAINER_MODE_TRUE='#' |
|
MAINTAINER_MODE_FALSE= |
|
fi |
|
MAINT=$MAINTAINER_MODE_TRUE |
|
|
|
|
|
# Make sure we can run config.sub. |
|
$ac_config_sub sun4 >/dev/null 2>&1 || |
|
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
echo "$as_me:$LINENO: checking build system type" >&5 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
if test "${ac_cv_build+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_build_alias=$build_alias |
|
test -z "$ac_cv_build_alias" && |
|
ac_cv_build_alias=`$ac_config_guess` |
|
test -z "$ac_cv_build_alias" && |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
echo "${ECHO_T}$ac_cv_build" >&6 |
|
build=$ac_cv_build |
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
|
echo "$as_me:$LINENO: checking host system type" >&5 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
if test "${ac_cv_host+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_host_alias=$host_alias |
|
test -z "$ac_cv_host_alias" && |
|
ac_cv_host_alias=$ac_cv_build_alias |
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
echo "${ECHO_T}$ac_cv_host" >&6 |
|
host=$ac_cv_host |
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
|
echo "$as_me:$LINENO: checking target system type" >&5 |
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
|
if test "${ac_cv_target+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_target_alias=$target_alias |
|
test "x$ac_cv_target_alias" = "x" && |
|
ac_cv_target_alias=$ac_cv_host_alias |
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
|
echo "${ECHO_T}$ac_cv_target" >&6 |
|
target=$ac_cv_target |
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
|
# The aliases save the names the user supplied, while $host etc. |
|
# will get canonicalized. |
|
test -n "$target_alias" && |
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
|
NONENONEs,x,x, && |
|
program_prefix=${target_alias}- |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 1907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext |
|
Line 2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_config_commands="$ac_config_commands default-1" |
|
|
|
am_make=${MAKE-make} |
|
cat > confinc << 'END' |
|
doit: |
|
@echo done |
|
END |
|
# If we don't find an include directive, just comment out the code. |
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
|
am__include='#' |
|
am__quote= |
|
_am_result=none |
|
# First try GNU make style include. |
|
echo "include confinc" > confmf |
|
# We grep out `Entering directory' and `Leaving directory' |
|
# messages which can occur if `w' ends up in MAKEFLAGS. |
|
# In particular we don't look at `^make:' because GNU make might |
|
# be invoked under some other name (usually "gmake"), in which |
|
# case it prints its new name instead of `make'. |
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
|
am__include=include |
|
am__quote= |
|
_am_result=GNU |
|
fi |
|
# Now try BSD make style include. |
|
if test "$am__include" = "#"; then |
|
echo '.include "confinc"' > confmf |
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
am__include=.include |
|
am__quote='"' |
|
_am_result=BSD |
|
fi |
|
fi |
|
|
|
|
|
echo "$as_me:$LINENO: result: $_am_result" >&5 |
|
echo "${ECHO_T}$_am_result" >&6 |
|
rm -f confinc confmf |
|
|
|
|
|
depcc="$CC" am_compiler_list= |
|
|
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
# We make a subdir and do the tests there. Otherwise we can end up |
|
# making bogus files that we don't know about and never remove. For |
|
# instance it was reported that on HP-UX the gcc test will end up |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
|
# in D'. |
|
mkdir conftest.dir |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
# using a relative directory. |
|
cp "$am_depcomp" conftest.dir |
|
cd conftest.dir |
|
|
|
am_cv_CC_dependencies_compiler_type=none |
|
if test "$am_compiler_list" = ""; then |
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
fi |
|
for depmode in $am_compiler_list; do |
|
# We need to recreate these files for each test, as the compiler may |
|
# overwrite some of them when testing with obscure command lines. |
|
# This happens at least with the AIX C compiler. |
|
echo '#include "conftest.h"' > conftest.c |
|
echo 'int i;' > conftest.h |
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
|
|
|
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 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
# handle `-M -o', and we need to detect this. |
|
if depmode=$depmode \ |
|
source=conftest.c object=conftest.o \ |
|
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
|
grep conftest.h conftest.Po > /dev/null 2>&1 && |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
break |
|
fi |
|
done |
|
|
|
cd .. |
|
rm -rf conftest.dir |
|
else |
|
am_cv_CC_dependencies_compiler_type=none |
|
fi |
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
|
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type" |
|
|
|
|
|
# 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: |
|
# SysV /etc/install, /usr/sbin/install |
|
# SunOS /usr/etc/install |
|
# IRIX /sbin/install |
|
# AIX /bin/install |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
if test -z "$INSTALL"; then |
|
if test "${ac_cv_path_install+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
# Account for people who put trailing slashes in PATH elements. |
|
case $as_dir/ in |
|
./ | .// | /cC/* | \ |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
/usr/ucb/* ) ;; |
|
*) |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
# Don't use installbsd from OSF since it installs stuff as root |
|
# by default. |
|
for ac_prog in ginstall scoinst install; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
if test $ac_prog = install && |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
# AIX install. It has an incompatible calling convention. |
|
: |
|
elif test $ac_prog = install && |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
# program-specific install script used by HP pwplus--don't use. |
|
: |
|
else |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
break 3 |
|
fi |
|
fi |
|
done |
|
done |
|
;; |
|
esac |
|
done |
|
|
|
|
|
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
INSTALL=$ac_cv_path_install |
|
else |
|
# As a last resort, use the slow shell script. We don't cache a |
|
# path for INSTALL within a source directory, because that will |
|
# break other packages using the cache if that directory is |
|
# removed, or if the path is relative. |
|
INSTALL=$ac_install_sh |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
echo "${ECHO_T}$INSTALL" >&6 |
|
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
# It thinks the first close brace ends the variable substitution. |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
# Check whether --enable-shared or --disable-shared was given. |
|
if test "${enable_shared+set}" = set; then |
|
enableval="$enable_shared" |
|
p=${PACKAGE-default} |
|
case "$enableval" in |
|
yes) enable_shared=yes ;; |
|
no) enable_shared=no ;; |
|
*) |
|
enable_shared=no |
|
# Look at the argument we got. We use all the common list separators. |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
for pkg in $enableval; do |
|
if test "X$pkg" = "X$p"; then |
|
enable_shared=yes |
|
fi |
|
done |
|
IFS="$ac_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_shared=yes |
|
fi; |
|
# Check whether --enable-static or --disable-static was given. |
|
if test "${enable_static+set}" = set; then |
|
enableval="$enable_static" |
|
p=${PACKAGE-default} |
|
case "$enableval" in |
|
yes) enable_static=yes ;; |
|
no) enable_static=no ;; |
|
*) |
|
enable_static=no |
|
# Look at the argument we got. We use all the common list separators. |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
for pkg in $enableval; do |
|
if test "X$pkg" = "X$p"; then |
|
enable_static=yes |
|
fi |
|
done |
|
IFS="$ac_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_static=yes |
|
fi; |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
|
if test "${enable_fast_install+set}" = set; then |
|
enableval="$enable_fast_install" |
|
p=${PACKAGE-default} |
|
case "$enableval" in |
|
yes) enable_fast_install=yes ;; |
|
no) enable_fast_install=no ;; |
|
*) |
|
enable_fast_install=no |
|
# Look at the argument we got. We use all the common list separators. |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
for pkg in $enableval; do |
|
if test "X$pkg" = "X$p"; then |
|
enable_fast_install=yes |
|
fi |
|
done |
|
IFS="$ac_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_fast_install=yes |
|
fi; |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
# 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 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
fi |
fi |
|
|
|
|
|
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
|
if test "${with_gnu_ld+set}" = set; then |
|
withval="$with_gnu_ld" |
|
test "$withval" = no || with_gnu_ld=yes |
|
else |
|
with_gnu_ld=no |
|
fi; |
|
ac_prog=ld |
|
if test "$ac_cv_c_compiler_gnu" = yes; then |
|
# Check if gcc -print-prog-name=ld gives a path. |
|
echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
|
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` |
|
case "$ac_prog" in |
|
# Accept absolute paths. |
|
[\\/]* | [A-Za-z]:[\\/]*) |
|
re_direlt='/[^/][^/]*/\.\./' |
|
# Canonicalize the path of ld |
|
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
|
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
|
done |
|
test -z "$LD" && LD="$ac_prog" |
|
;; |
|
"") |
|
# If it fails, then pretend we aren't using GCC. |
|
ac_prog=ld |
|
;; |
|
*) |
|
# If it is relative, then search for the first ld in PATH. |
|
with_gnu_ld=unknown |
|
;; |
|
esac |
|
elif test "$with_gnu_ld" = yes; then |
|
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
|
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
|
else |
|
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
|
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
|
fi |
|
if test "${ac_cv_path_LD+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -z "$LD"; then |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
|
for ac_dir in $PATH; do |
|
test -z "$ac_dir" && ac_dir=. |
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
ac_cv_path_LD="$ac_dir/$ac_prog" |
|
# Check to see if the program is GNU ld. I'd rather use --version, |
|
# but apparently some GNU ld's only accept -v. |
|
# Break only if it was the GNU/non-GNU ld that we prefer. |
|
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
|
test "$with_gnu_ld" != no && break |
|
else |
|
test "$with_gnu_ld" != yes && break |
|
fi |
|
fi |
|
done |
|
IFS="$ac_save_ifs" |
|
else |
|
ac_cv_path_LD="$LD" # Let the user override the test with a path. |
|
fi |
|
fi |
|
|
|
LD="$ac_cv_path_LD" |
|
if test -n "$LD"; then |
|
echo "$as_me:$LINENO: result: $LD" >&5 |
|
echo "${ECHO_T}$LD" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
|
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
|
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_gnu_ld+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
|
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
|
ac_cv_prog_gnu_ld=yes |
|
else |
|
ac_cv_prog_gnu_ld=no |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6 |
|
|
|
|
|
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
|
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
|
if test "${ac_cv_path_NM+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$NM"; then |
|
# Let the user override the test. |
|
ac_cv_path_NM="$NM" |
|
else |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
|
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
|
test -z "$ac_dir" && ac_dir=. |
|
if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then |
|
# Check to see if the nm accepts a BSD-compat flag. |
|
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
# nm: unknown option "B" ignored |
|
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then |
|
ac_cv_path_NM="$ac_dir/nm -B" |
|
break |
|
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then |
|
ac_cv_path_NM="$ac_dir/nm -p" |
|
break |
|
else |
|
ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but |
|
continue # so that we can try to find one that supports BSD flags |
|
fi |
|
fi |
|
done |
|
IFS="$ac_save_ifs" |
|
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm |
|
fi |
|
fi |
|
|
|
NM="$ac_cv_path_NM" |
|
echo "$as_me:$LINENO: result: $NM" >&5 |
|
echo "${ECHO_T}$NM" >&6 |
|
|
|
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
|
LN_S=$as_ln_s |
|
if test "$LN_S" = "ln -s"; then |
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
echo "${ECHO_T}no, using $LN_S" >&6 |
|
fi |
|
|
|
|
|
|
|
case "$target" in |
|
NONE) lt_target="$host" ;; |
|
*) lt_target="$target" ;; |
|
esac |
|
|
|
# Check for any special flags to pass to ltconfig. |
|
libtool_flags="--cache-file=$cache_file" |
|
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" |
|
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" |
|
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" |
|
test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc" |
|
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |
|
|
|
|
|
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
|
if test "${enable_libtool_lock+set}" = set; then |
|
enableval="$enable_libtool_lock" |
|
|
|
fi; |
|
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" |
|
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |
|
|
|
# Some flags need to be propagated to the compiler or linker for good |
|
# libtool support. |
|
case "$lt_target" in |
|
*-*-irix6*) |
|
# Find out which ABI we are using. |
|
echo '#line 2879 "configure"' > conftest.$ac_ext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; then |
|
case "`/usr/bin/file conftest.o`" in |
|
*32-bit*) |
|
LD="${LD-ld} -32" |
|
;; |
|
*N32*) |
|
LD="${LD-ld} -n32" |
|
;; |
|
*64-bit*) |
|
LD="${LD-ld} -64" |
|
;; |
|
esac |
|
fi |
|
rm -rf conftest* |
|
;; |
|
|
|
*-*-sco3.2v5*) |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
SAVE_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS -belf" |
|
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
|
if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
#include "confdefs.h" |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
lt_cv_cc_needs_belf=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
lt_cv_cc_needs_belf=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
CFLAGS="$SAVE_CFLAGS" |
|
fi |
|
;; |
|
|
|
|
|
esac |
|
|
|
|
|
# Save cache, so that ltconfig can load it |
|
cat >confcache <<\_ACEOF |
|
# This file is a shell script that caches the results of configure |
|
# tests run on this system so they can be shared between configure |
|
# scripts and configure runs, see configure's option --config-cache. |
|
# It is not useful on other systems. If it contains results you don't |
|
# want to keep, you may remove or edit it. |
|
# |
|
# config.status only pays attention to the cache file if you give it |
|
# the --recheck option to rerun configure. |
|
# |
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
# following values. |
|
|
|
_ACEOF |
|
|
|
# The following way of writing the cache mishandles newlines in values, |
|
# but we know of no workaround that is simple, portable, and efficient. |
|
# So, don't put newlines in cache variables' values. |
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
# and sets the high bit in the cache file unless we assign to the vars. |
|
{ |
|
(set) 2>&1 | |
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
|
*ac_space=\ *) |
|
# `set' does not quote correctly, so add quotes (double-quote |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
|
sed -n \ |
|
"s/'/'\\\\''/g; |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
;; |
|
*) |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
sed -n \ |
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
;; |
|
esac; |
|
} | |
|
sed ' |
|
t clear |
|
: clear |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
t end |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
: end' >>confcache |
|
if cmp -s $cache_file confcache; then :; else |
|
if test -w $cache_file; then |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
|
cat confcache >$cache_file |
|
else |
|
echo "not updating unwritable cache $cache_file" |
|
fi |
|
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" \ |
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ |
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ |
|
|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 |
|
echo "$as_me: error: libtool configure failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Reload cache, that may have been modified by ltconfig |
|
if test -r "$cache_file"; then |
|
# Some versions of bash will fail to source /dev/null (special |
|
# files actually), so we avoid doing that. |
|
if test -f "$cache_file"; then |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
|
case $cache_file in |
|
[\\/]* | ?:[\\/]* ) . $cache_file;; |
|
*) . ./$cache_file;; |
|
esac |
|
fi |
|
else |
|
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|
echo "$as_me: creating cache $cache_file" >&6;} |
|
>$cache_file |
|
fi |
|
|
|
|
|
# This can be used to rebuild libtool when needed |
|
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" |
|
|
|
# Always use our own libtool. |
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
|
|
# Redirect the config.log output again, so that the ltconfig log is not |
|
# clobbered by the next message. |
|
exec 5>>./config.log |
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
fi |
fi |
|
|
|
|
|
if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then |
|
CFLAGS="${CFLAGS} -finline-functions" |
|
fi |
|
|
|
|
# Check whether --with-gmp or --without-gmp was given. |
# Check whether --with-gmp or --without-gmp was given. |
if test "${with_gmp+set}" = set; then |
if test "${with_gmp+set}" = set; then |
withval="$with_gmp" |
withval="$with_gmp" |
Line 3375 if test ${with_gmp:=no} != no ; then |
|
Line 4443 if test ${with_gmp:=no} != no ; then |
|
#define WITH_GMP 1 |
#define WITH_GMP 1 |
_ACEOF |
_ACEOF |
|
|
GMPLIB="-lgmp" |
|
USE_GMP='#' |
|
fi |
fi |
|
|
|
|
|
if test "$with_gmp" = yes; then |
|
USE_GMP_TRUE= |
|
USE_GMP_FALSE='#' |
|
else |
|
USE_GMP_TRUE='#' |
|
USE_GMP_FALSE= |
|
fi |
|
|
|
case "${host}" in |
|
i[3-6]86-*-interix*) |
|
cat >>confdefs.h <<\_ACEOF |
|
#define _ALL_SOURCE 1 |
|
_ACEOF |
|
|
|
;; |
|
*) |
|
;; |
|
esac |
|
|
echo "$as_me:$LINENO: checking for socket" >&5 |
echo "$as_me:$LINENO: checking for socket" >&5 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
if test "${ac_cv_func_socket+set}" = set; then |
if test "${ac_cv_func_socket+set}" = set; then |
Line 4190 Usage: $0 [OPTIONS] [FILE]... |
|
Line 5274 Usage: $0 [OPTIONS] [FILE]... |
|
Configuration files: |
Configuration files: |
$config_files |
$config_files |
|
|
|
Configuration commands: |
|
$config_commands |
|
|
Report bugs to <bug-autoconf@gnu.org>." |
Report bugs to <bug-autoconf@gnu.org>." |
_ACEOF |
_ACEOF |
|
|
Line 4204 Free Software Foundation, Inc. |
|
Line 5291 Free Software Foundation, Inc. |
|
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
srcdir=$srcdir |
srcdir=$srcdir |
|
INSTALL="$INSTALL" |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
|
|
_ACEOF |
_ACEOF |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
# |
|
# INIT-COMMANDS section. |
|
# |
|
|
|
AMDEP_TRUE="$AMDEP_TRUE" |
|
ac_aux_dir="$ac_aux_dir" |
|
|
|
_ACEOF |
|
|
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
for ac_config_target in $ac_config_targets |
for ac_config_target in $ac_config_targets |
do |
do |
case "$ac_config_target" in |
case "$ac_config_target" in |
# Handling of arguments. |
# Handling of arguments. |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
|
|
# bizarre bug on SunOS 4.1.3. |
# bizarre bug on SunOS 4.1.3. |
if $ac_need_defaults; then |
if $ac_need_defaults; then |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
fi |
fi |
|
|
# Create a temporary directory, and hook for its removal unless debugging. |
# Create a temporary directory, and hook for its removal unless debugging. |
Line 4362 s,@ECHO_C@,$ECHO_C,;t t |
|
Line 5460 s,@ECHO_C@,$ECHO_C,;t t |
|
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
|
s,@PACKAGE@,$PACKAGE,;t t |
|
s,@VERSION@,$VERSION,;t t |
|
s,@EXEEXT@,$EXEEXT,;t t |
|
s,@OBJEXT@,$OBJEXT,;t t |
|
s,@ACLOCAL@,$ACLOCAL,;t t |
|
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,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
|
s,@AWK@,$AWK,;t t |
|
s,@SET_MAKE@,$SET_MAKE,;t t |
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;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 |
|
s,@build@,$build,;t t |
|
s,@build_cpu@,$build_cpu,;t t |
|
s,@build_vendor@,$build_vendor,;t t |
|
s,@build_os@,$build_os,;t t |
|
s,@host@,$host,;t t |
|
s,@host_cpu@,$host_cpu,;t t |
|
s,@host_vendor@,$host_vendor,;t t |
|
s,@host_os@,$host_os,;t t |
|
s,@target@,$target,;t t |
|
s,@target_cpu@,$target_cpu,;t t |
|
s,@target_vendor@,$target_vendor,;t t |
|
s,@target_os@,$target_os,;t t |
s,@CC@,$CC,;t t |
s,@CC@,$CC,;t t |
s,@CFLAGS@,$CFLAGS,;t t |
s,@CFLAGS@,$CFLAGS,;t t |
s,@LDFLAGS@,$LDFLAGS,;t t |
s,@LDFLAGS@,$LDFLAGS,;t t |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
s,@EXEEXT@,$EXEEXT,;t t |
s,@am__include@,$am__include,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
s,@am__quote@,$am__quote,;t t |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
s,@LN_S@,$LN_S,;t t |
|
s,@LIBTOOL@,$LIBTOOL,;t t |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
s,@X_CFLAGS@,$X_CFLAGS,;t t |
s,@X_CFLAGS@,$X_CFLAGS,;t t |
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
s,@X_LIBS@,$X_LIBS,;t t |
s,@X_LIBS@,$X_LIBS,;t t |
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
s,@GMPLIB@,$GMPLIB,;t t |
s,@USE_GMP_TRUE@,$USE_GMP_TRUE,;t t |
s,@USE_GMP@,$USE_GMP,;t t |
s,@USE_GMP_FALSE@,$USE_GMP_FALSE,;t t |
CEOF |
CEOF |
|
|
_ACEOF |
_ACEOF |
Line 4501 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
Line 5638 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
|
|
|
|
case $INSTALL in |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
esac |
|
|
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
Line 4562 s,@builddir@,$ac_builddir,;t t |
|
Line 5703 s,@builddir@,$ac_builddir,;t t |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
s,@abs_builddir@,$ac_abs_builddir,;t t |
s,@top_builddir@,$ac_top_builddir,;t t |
s,@top_builddir@,$ac_top_builddir,;t t |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
|
s,@INSTALL@,$ac_INSTALL,;t t |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
rm -f $tmp/stdin |
rm -f $tmp/stdin |
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
Line 4571 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
|
Line 5713 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
|
rm -f $tmp/out |
rm -f $tmp/out |
fi |
fi |
|
|
|
done |
|
_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
|
# |
|
# CONFIG_COMMANDS section. |
|
# |
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
X"$ac_dest" : 'X\(//\)$' \| \ |
|
X"$ac_dest" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$ac_dest" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
ac_builddir=. |
|
|
|
if test "$ac_dir" != .; then |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
# A "../" for each directory in $ac_dir_suffix. |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
else |
|
ac_dir_suffix= ac_top_builddir= |
|
fi |
|
|
|
case $srcdir in |
|
.) # No --srcdir option. We are building in place. |
|
ac_srcdir=. |
|
if test -z "$ac_top_builddir"; then |
|
ac_top_srcdir=. |
|
else |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
|
ac_top_srcdir=$srcdir ;; |
|
*) # Relative path. |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
esac |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
# absolute. |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
|
|
|
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
echo "$as_me: executing $ac_dest commands" >&6;} |
|
case $ac_dest in |
|
default-1 ) |
|
test x"$AMDEP_TRUE" != 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 |
done |
done |
_ACEOF |
_ACEOF |
|
|