version 1.1, 2003/11/24 08:16:13 |
version 1.2, 2003/12/04 07:54:51 |
|
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.57. |
# Generated by GNU Autoconf 2.53. |
# |
# |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
# This configure script is free software; the Free Software Foundation |
# This configure 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. |
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
|
## --------------------- ## |
## --------------------- ## |
## M4sh Initialization. ## |
## M4sh Initialization. ## |
## --------------------- ## |
## --------------------- ## |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
# is contrary to our usage. Disable this feature. |
|
alias -g '${1+"$@"}'='"$@"' |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix |
set -o posix |
fi |
fi |
|
|
|
# NLS nuisances. |
# Support unset when possible. |
# Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
as_unset=false |
as_unset=false |
fi |
fi |
|
|
|
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
|
{ $as_unset LANG || test "${LANG+set}" != set; } || |
|
{ LANG=C; export LANG; } |
|
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
|
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
|
{ LC_ALL=C; export LC_ALL; } |
|
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
|
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
|
{ LC_TIME=C; export LC_TIME; } |
|
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
|
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
|
{ LC_CTYPE=C; export LC_CTYPE; } |
|
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
|
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
|
{ LANGUAGE=C; export LANGUAGE; } |
|
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
|
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
|
{ LC_COLLATE=C; export LC_COLLATE; } |
|
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
|
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
|
{ LC_NUMERIC=C; export LC_NUMERIC; } |
|
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
|
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
|
{ LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
|
$as_unset ENV MAIL MAILPATH |
|
PS1='$ ' |
|
PS2='> ' |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
for as_var in \ |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
$as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
as_basename=basename |
|
else |
|
as_basename=false |
|
fi |
|
|
|
|
|
# Name of the executable. |
# Name of the executable. |
as_me=`$as_basename "$0" || |
as_me=`(basename "$0") 2>/dev/null || |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
|
|
/^X\/\(\/\).*/{ s//\1/; q; } |
/^X\/\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
s/.*/./; q'` |
|
|
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
# PATH needs CR, and LINENO needs CR and PATH. |
# Avoid depending upon Character Ranges. |
# Avoid depending upon Character Ranges. |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
Line 85 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
Line 82 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
|
# The user is always right. |
# The user is always right. |
if test "${PATH_SEPARATOR+set}" != set; then |
if test "${PATH_SEPARATOR+set}" != set; then |
echo "#! /bin/sh" >conf$$.sh |
echo "#! /bin/sh" >conftest.sh |
echo "exit 0" >>conf$$.sh |
echo "exit 0" >>conftest.sh |
chmod +x conf$$.sh |
chmod +x conftest.sh |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
else |
else |
PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
fi |
fi |
rm -f conf$$.sh |
rm -f conftest.sh |
fi |
fi |
|
|
|
|
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
CONFIG_SHELL=$as_dir/$as_base |
CONFIG_SHELL=$as_dir/$as_base |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
if mkdir -p . 2>/dev/null; then |
|
as_mkdir_p=: |
|
else |
|
as_mkdir_p=false |
|
fi |
|
|
|
as_executable_p="test -f" |
as_executable_p="test -f" |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
|
|
IFS=" $as_nl" |
IFS=" $as_nl" |
|
|
# CDPATH. |
# CDPATH. |
$as_unset CDPATH |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
|
|
|
|
# Name of the host. |
# Name of the host. |
|
|
# Initializations. |
# Initializations. |
# |
# |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
ac_config_libobj_dir=. |
|
cross_compiling=no |
cross_compiling=no |
subdirs= |
subdirs= |
MFLAGS= |
MFLAGS= |
|
|
PACKAGE_BUGREPORT= |
PACKAGE_BUGREPORT= |
|
|
ac_unique_file="tree2polymake.c" |
ac_unique_file="tree2polymake.c" |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB LIBOBJS LTLIBOBJS' |
|
ac_subst_files='' |
|
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
ac_init_help= |
ac_init_help= |
Line 696 if test ! -r $srcdir/$ac_unique_file; then |
|
Line 682 if test ! -r $srcdir/$ac_unique_file; then |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
fi |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
|
{ (exit 1); exit 1; }; } |
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_value=$build_alias |
ac_env_build_alias_value=$build_alias |
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# absolute. |
# absolute. |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_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_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` |
|
|
Line 882 This file contains any messages produced by compilers |
|
Line 865 This file contains any messages produced by compilers |
|
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by $as_me, which was |
It was created by $as_me, which was |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.53. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
|
|
|
|
# Keep a trace of the command line. |
# Keep a trace of the command line. |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Strip out --silent because we don't want to record it for future runs. |
|
# Also quote any args containing shell meta-characters. |
# Also quote any args containing shell meta-characters. |
# Make two passes to allow for proper duplicate-argument suppression. |
|
ac_configure_args= |
ac_configure_args= |
ac_configure_args0= |
|
ac_configure_args1= |
|
ac_sep= |
ac_sep= |
ac_must_keep_next=false |
for ac_arg |
for ac_pass in 1 2 |
|
do |
do |
for ac_arg |
case $ac_arg in |
do |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
case $ac_arg in |
| --no-cr | --no-c | -n ) continue ;; |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| -silent | --silent | --silen | --sile | --sil) |
continue ;; |
continue ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
esac |
esac |
case " $ac_configure_args " in |
case $ac_pass in |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
2) |
ac_sep=" " ;; |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
esac |
if test $ac_must_keep_next = true; then |
# Get rid of the leading space. |
ac_must_keep_next=false # Got value, back to normal. |
|
else |
|
case $ac_arg in |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
|
case "$ac_configure_args0 " in |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
esac |
|
;; |
|
-* ) ac_must_keep_next=true ;; |
|
esac |
|
fi |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
# Get rid of the leading space. |
|
ac_sep=" " |
|
;; |
|
esac |
|
done |
|
done |
done |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
|
|
# When interrupted or exit'd, cleanup temporary files, and complete |
# When interrupted or exit'd, cleanup temporary files, and complete |
# config.log. We remove comments because anyway the quotes in there |
# config.log. We remove comments because anyway the quotes in there |
Line 992 trap 'exit_status=$? |
|
Line 948 trap 'exit_status=$? |
|
# Save into config.log some information that might help in debugging. |
# Save into config.log some information that might help in debugging. |
{ |
{ |
echo |
echo |
|
|
cat <<\_ASBOX |
cat <<\_ASBOX |
## ---------------- ## |
## ---------------- ## |
## Cache variables. ## |
## Cache variables. ## |
|
|
esac; |
esac; |
} |
} |
echo |
echo |
|
|
cat <<\_ASBOX |
|
## ----------------- ## |
|
## Output variables. ## |
|
## ----------------- ## |
|
_ASBOX |
|
echo |
|
for ac_var in $ac_subst_vars |
|
do |
|
eval ac_val=$`echo $ac_var` |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
|
done | sort |
|
echo |
|
|
|
if test -n "$ac_subst_files"; then |
|
cat <<\_ASBOX |
|
## ------------- ## |
|
## Output files. ## |
|
## ------------- ## |
|
_ASBOX |
|
echo |
|
for ac_var in $ac_subst_files |
|
do |
|
eval ac_val=$`echo $ac_var` |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
|
done | sort |
|
echo |
|
fi |
|
|
|
if test -s confdefs.h; then |
if test -s confdefs.h; then |
cat <<\_ASBOX |
cat <<\_ASBOX |
## ----------- ## |
## ----------- ## |
|
|
## ----------- ## |
## ----------- ## |
_ASBOX |
_ASBOX |
echo |
echo |
sed "/^$/d" confdefs.h | sort |
sed "/^$/d" confdefs.h |
echo |
echo |
fi |
fi |
test "$ac_signal" != 0 && |
test "$ac_signal" != 0 && |
Line 1208 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
Line 1134 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
|
|
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 1413 if test $ac_prog_rejected = yes; then |
|
Line 1338 if test $ac_prog_rejected = yes; then |
|
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
shift |
shift |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
|
shift |
|
ac_cv_prog_CC="$@" |
fi |
fi |
fi |
fi |
fi |
fi |
|
|
fi |
fi |
|
|
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Provide some information about the compiler. |
# Provide some information about the compiler. |
Line 1546 ac_compiler=`set X $ac_compile; echo $2` |
|
Line 1471 ac_compiler=`set X $ac_compile; echo $2` |
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
|
|
} |
} |
_ACEOF |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
ac_clean_files="$ac_clean_files a.out a.exe" |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
# of exeext. |
# of exeext. |
Line 1580 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"" |
|
Line 1507 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"" |
|
# Be careful to initialize this variable, since it used to be cached. |
# Be careful to initialize this variable, since it used to be cached. |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
ac_cv_exeext= |
ac_cv_exeext= |
# b.out is created by i960 compilers. |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
ls a.out conftest 2>/dev/null; |
do |
ls a.* conftest.* 2>/dev/null`; do |
test -f "$ac_file" || continue |
|
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
;; |
a.out ) # We found the default executable, but exeext='' is most |
conftest.$ac_ext ) |
# certainly right. |
# This is the source file. |
break;; |
;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
[ab].out ) |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
# We found the default executable, but exeext='' is most |
export ac_cv_exeext |
# certainly right. |
break;; |
break;; |
* ) break;; |
*.* ) |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
|
# but it would be cool to find out if it's true. Does anybody |
|
# maintain Libtool? --akim. |
|
export ac_cv_exeext |
|
break;; |
|
* ) |
|
break;; |
|
esac |
esac |
done |
done |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C compiler cannot create executables |
|
See \`config.log' for more details." >&2;} |
|
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
fi |
fi |
|
|
Line 1639 if test "$cross_compiling" != yes; then |
|
Line 1553 if test "$cross_compiling" != yes; then |
|
cross_compiling=yes |
cross_compiling=yes |
else |
else |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'." >&5 |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot run C compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'." >&2;} |
See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
fi |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
rm -f a.out a.exe conftest$ac_cv_exeext |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
Line 1671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
Line 1583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# `rm'. |
# `rm'. |
for ac_file in conftest.exe conftest conftest.*; do |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
test -f "$ac_file" || continue |
|
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
export ac_cv_exeext |
export ac_cv_exeext |
break;; |
break;; |
Line 1682 for ac_file in conftest.exe conftest conftest.*; do |
|
Line 1593 for ac_file in conftest.exe conftest conftest.*; do |
|
esac |
esac |
done |
done |
else |
else |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
Line 1703 if test "${ac_cv_objext+set}" = set; then |
|
Line 1612 if test "${ac_cv_objext+set}" = set; then |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 1725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(exit $ac_status); }; then |
(exit $ac_status); }; then |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; |
break;; |
esac |
esac |
done |
done |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
Line 1754 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
Line 1662 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 1786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
ac_compiler_gnu=yes |
ac_compiler_gnu=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_compiler_gnu=no |
ac_compiler_gnu=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
Line 1807 if test "${ac_cv_prog_cc_g+set}" = set; then |
|
Line 1716 if test "${ac_cv_prog_cc_g+set}" = set; then |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 1836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_g=no |
ac_cv_prog_cc_g=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
CFLAGS= |
CFLAGS= |
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_prog_cc_stdc=no |
|
ac_save_CC=$CC |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
#include <sys/stat.h> |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
|
int |
|
main () |
|
{ |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Don't try gcc -ansi; that turns off useful extensions and |
|
# breaks some systems' header files. |
|
# AIX -qlanglvl=ansi |
|
# Ultrix and OSF/1 -std1 |
|
# HP-UX 10.20 and later -Ae |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
rm -f conftest.$ac_objext |
|
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); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (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 |
|
ac_cv_prog_cc_stdc=$ac_arg |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.$ac_objext |
|
done |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
|
CC=$ac_save_CC |
|
|
|
fi |
|
|
|
case "x$ac_cv_prog_cc_stdc" in |
|
x|xno) |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
|
echo "${ECHO_T}none needed" >&6 ;; |
|
*) |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
esac |
|
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
# Some people use a C++ compiler to compile C. Since we use `exit', |
# in C++ we need to declare it. In case someone uses the same compiler |
# in C++ we need to declare it. In case someone uses the same compiler |
# for both compiling C and C++ we need to have the C++ compiler decide |
# for both compiling C and C++ we need to have the C++ compiler decide |
Line 1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
do |
do |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
#include <stdlib.h> |
$ac_declaration |
$ac_declaration |
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
continue |
continue |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_declaration |
$ac_declaration |
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 2053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
Line 1870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
break |
break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
done |
done |
|
|
|
|
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
ac_ext=c |
ac_ext=c |
Line 2166 if test "${ac_cv_func_socket+set}" = set; then |
|
Line 1981 if test "${ac_cv_func_socket+set}" = set; then |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char socket (); below. |
which can conflict with char socket (); below. */ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
#include <assert.h> |
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char socket (); |
char socket (); |
|
char (*f) (); |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int |
|
main () |
|
{ |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_socket) || defined (__stub___socket) |
#if defined (__stub_socket) || defined (__stub___socket) |
choke me |
choke me |
#else |
#else |
char (*f) () = socket; |
f = socket; |
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != socket; |
|
; |
; |
return 0; |
return 0; |
} |
} |
Line 2223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
Line 2031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
ac_cv_func_socket=yes |
ac_cv_func_socket=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_cv_func_socket=no |
ac_cv_func_socket=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char socket (); |
char socket (); |
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 2279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
Line 2088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
ac_cv_lib_socket_socket=yes |
ac_cv_lib_socket_socket=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_cv_lib_socket_socket=no |
ac_cv_lib_socket_socket=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
Line 2305 if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
Line 2113 if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char gethostbyname (); below. |
which can conflict with char gethostbyname (); below. */ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
#include <assert.h> |
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char gethostbyname (); |
char gethostbyname (); |
|
char (*f) (); |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int |
|
main () |
|
{ |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
choke me |
choke me |
#else |
#else |
char (*f) () = gethostbyname; |
f = gethostbyname; |
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != gethostbyname; |
|
; |
; |
return 0; |
return 0; |
} |
} |
Line 2362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
Line 2163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
ac_cv_func_gethostbyname=yes |
ac_cv_func_gethostbyname=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_cv_func_gethostbyname=no |
ac_cv_func_gethostbyname=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" |
#line $LINENO "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char gethostbyname (); |
char gethostbyname (); |
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
int |
int |
main () |
main () |
{ |
{ |
Line 2418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
Line 2220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
ac_cv_lib_nsl_gethostbyname=yes |
ac_cv_lib_nsl_gethostbyname=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
|
|
ac_cv_lib_nsl_gethostbyname=no |
ac_cv_lib_nsl_gethostbyname=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
fi |
fi |
|
|
fi |
fi |
|
echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
if test "${ac_cv_func_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
#include "confdefs.h" |
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char dlopen (); below. */ |
|
#include <assert.h> |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char dlopen (); |
|
char (*f) (); |
|
|
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined (__stub_dlopen) || defined (__stub___dlopen) |
|
choke me |
|
#else |
|
f = dlopen; |
|
#endif |
|
|
ac_config_files="$ac_config_files Makefile" |
; |
|
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 |
|
ac_cv_func_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
ac_cv_func_dlopen=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
|
if test "$ac_cv_func_dlopen" = no ; then |
|
|
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldl $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
#include "confdefs.h" |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char dlopen (); |
|
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int |
|
main () |
|
{ |
|
dlopen (); |
|
; |
|
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 |
|
ac_cv_lib_dl_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
ac_cv_lib_dl_dlopen=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBDL 1 |
|
_ACEOF |
|
|
|
LIBS="-ldl $LIBS" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
Line 2450 cat >confcache <<\_ACEOF |
|
Line 2383 cat >confcache <<\_ACEOF |
|
# config.status only pays attention to the cache file if you give it |
# config.status only pays attention to the cache file if you give it |
# the --recheck option to rerun configure. |
# the --recheck option to rerun configure. |
# |
# |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# following values. |
# following values. |
|
|
|
|
t end |
t end |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
: end' >>confcache |
: end' >>confcache |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
if cmp -s $cache_file confcache; then :; else |
if test -w $cache_file; then |
if test -w $cache_file; then |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
cat confcache >$cache_file |
cat confcache >$cache_file |
Line 2547 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_L |
|
Line 2480 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_L |
|
rm -f confdef2opt.sed |
rm -f confdef2opt.sed |
|
|
|
|
ac_libobjs= |
|
ac_ltlibobjs= |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
# 1. Remove the extension, and $U if already installed. |
|
ac_i=`echo "$ac_i" | |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
|
# 2. Add them. |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
|
done |
|
LIBOBJS=$ac_libobjs |
|
|
|
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
|
|
: ${CONFIG_STATUS=./config.status} |
: ${CONFIG_STATUS=./config.status} |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
Line 2576 cat >$CONFIG_STATUS <<_ACEOF |
|
Line 2494 cat >$CONFIG_STATUS <<_ACEOF |
|
# configure, is in config.log if it exists. |
# configure, is in config.log if it exists. |
|
|
debug=false |
debug=false |
ac_cs_recheck=false |
|
ac_cs_silent=false |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
SHELL=\${CONFIG_SHELL-$SHELL} |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
## --------------------- ## |
## --------------------- ## |
## M4sh Initialization. ## |
## M4sh Initialization. ## |
## --------------------- ## |
## --------------------- ## |
Line 2590 cat >>$CONFIG_STATUS <<\_ACEOF |
|
Line 2507 cat >>$CONFIG_STATUS <<\_ACEOF |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
# is contrary to our usage. Disable this feature. |
|
alias -g '${1+"$@"}'='"$@"' |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix |
set -o posix |
fi |
fi |
|
|
|
# NLS nuisances. |
# Support unset when possible. |
# Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
as_unset=false |
as_unset=false |
fi |
fi |
|
|
|
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
|
{ $as_unset LANG || test "${LANG+set}" != set; } || |
|
{ LANG=C; export LANG; } |
|
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
|
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
|
{ LC_ALL=C; export LC_ALL; } |
|
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
|
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
|
{ LC_TIME=C; export LC_TIME; } |
|
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
|
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
|
{ LC_CTYPE=C; export LC_CTYPE; } |
|
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
|
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
|
{ LANGUAGE=C; export LANGUAGE; } |
|
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
|
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
|
{ LC_COLLATE=C; export LC_COLLATE; } |
|
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
|
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
|
{ LC_NUMERIC=C; export LC_NUMERIC; } |
|
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
|
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
|
{ LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
|
$as_unset ENV MAIL MAILPATH |
|
PS1='$ ' |
|
PS2='> ' |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
for as_var in \ |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
$as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
as_basename=basename |
|
else |
|
as_basename=false |
|
fi |
|
|
|
|
|
# Name of the executable. |
# Name of the executable. |
as_me=`$as_basename "$0" || |
as_me=`(basename "$0") 2>/dev/null || |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
|
|
/^X\/\(\/\).*/{ s//\1/; q; } |
/^X\/\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
s/.*/./; q'` |
|
|
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
# PATH needs CR, and LINENO needs CR and PATH. |
# Avoid depending upon Character Ranges. |
# Avoid depending upon Character Ranges. |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
Line 2661 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
Line 2567 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
|
# The user is always right. |
# The user is always right. |
if test "${PATH_SEPARATOR+set}" != set; then |
if test "${PATH_SEPARATOR+set}" != set; then |
echo "#! /bin/sh" >conf$$.sh |
echo "#! /bin/sh" >conftest.sh |
echo "exit 0" >>conf$$.sh |
echo "exit 0" >>conftest.sh |
chmod +x conf$$.sh |
chmod +x conftest.sh |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
else |
else |
PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
fi |
fi |
rm -f conf$$.sh |
rm -f conftest.sh |
fi |
fi |
|
|
|
|
|
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_1" != "x$as_lineno_2" && |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
CONFIG_SHELL=$as_dir/$as_base |
CONFIG_SHELL=$as_dir/$as_base |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
if mkdir -p . 2>/dev/null; then |
|
as_mkdir_p=: |
|
else |
|
as_mkdir_p=false |
|
fi |
|
|
|
as_executable_p="test -f" |
as_executable_p="test -f" |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
|
|
IFS=" $as_nl" |
IFS=" $as_nl" |
|
|
# CDPATH. |
# CDPATH. |
$as_unset CDPATH |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
|
|
exec 6>&1 |
exec 6>&1 |
|
|
|
|
cat >&5 <<_CSEOF |
cat >&5 <<_CSEOF |
|
|
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
generated by GNU Autoconf 2.57. Invocation command line was |
generated by GNU Autoconf 2.53. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 2872 Usage: $0 [OPTIONS] [FILE]... |
|
Line 2770 Usage: $0 [OPTIONS] [FILE]... |
|
|
|
-h, --help print this help, then exit |
-h, --help print this help, then exit |
-V, --version print version number, then exit |
-V, --version print version number, then exit |
-q, --quiet do not print progress messages |
|
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
ac_cs_version="\\ |
ac_cs_version="\\ |
config.status |
config.status |
configured by $0, generated by GNU Autoconf 2.57, |
configured by $0, generated by GNU Autoconf 2.53, |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
--*=*) |
--*=*) |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_shift=: |
shift |
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
|
shift |
;; |
;; |
-*) |
-*);; |
ac_option=$1 |
|
ac_optarg=$2 |
|
ac_shift=shift |
|
;; |
|
*) # This is not an option, so the user has probably given explicit |
*) # This is not an option, so the user has probably given explicit |
# arguments. |
# arguments. |
ac_option=$1 |
|
ac_need_defaults=false;; |
ac_need_defaults=false;; |
esac |
esac |
|
|
case $ac_option in |
case $1 in |
# Handling of the options. |
# Handling of the options. |
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
ac_cs_recheck=: ;; |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
|
_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
--version | --vers* | -V ) |
--version | --vers* | -V ) |
echo "$ac_cs_version"; exit 0 ;; |
echo "$ac_cs_version"; exit 0 ;; |
--he | --h) |
--he | --h) |
Line 2940 Try \`$0 --help' for more information." >&2;} |
|
Line 2837 Try \`$0 --help' for more information." >&2;} |
|
--debug | --d* | -d ) |
--debug | --d* | -d ) |
debug=: ;; |
debug=: ;; |
--file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
$ac_shift |
shift |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
CONFIG_FILES="$CONFIG_FILES $1" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
--header | --heade | --head | --hea ) |
--header | --heade | --head | --hea ) |
$ac_shift |
shift |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
ac_cs_silent=: ;; |
|
|
|
# This is an error. |
# This is an error. |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
Line 2964 Try \`$0 --help' for more information." >&2;} |
|
Line 2858 Try \`$0 --help' for more information." >&2;} |
|
shift |
shift |
done |
done |
|
|
ac_configure_extra_args= |
|
|
|
if $ac_cs_silent; then |
|
exec 6>/dev/null |
|
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
fi |
|
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
|
if \$ac_cs_recheck; then |
|
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
fi |
|
|
|
_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 |
Line 3004 if $ac_need_defaults; then |
|
Line 2884 if $ac_need_defaults; then |
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
fi |
fi |
|
|
# Have a temporary directory for convenience. Make it in the build tree |
|
# simply because there is no reason to put it here, and in addition, |
|
# creating and moving files from /tmp can sometimes cause problems. |
|
# Create a temporary directory, and hook for its removal unless debugging. |
# Create a temporary directory, and hook for its removal unless debugging. |
$debug || |
$debug || |
{ |
{ |
|
|
} |
} |
|
|
# Create a (secure) tmp directory for tmp files. |
# Create a (secure) tmp directory for tmp files. |
|
: ${TMPDIR=/tmp} |
{ |
{ |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" |
test -n "$tmp" && test -d "$tmp" |
} || |
} || |
{ |
{ |
tmp=./confstat$$-$RANDOM |
tmp=$TMPDIR/cs$$-$RANDOM |
(umask 077 && mkdir $tmp) |
(umask 077 && mkdir $tmp) |
} || |
} || |
{ |
{ |
echo "$me: cannot create a temporary directory in ." >&2 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
} |
} |
|
|
Line 3082 s,@EXEEXT@,$EXEEXT,;t t |
|
Line 2959 s,@EXEEXT@,$EXEEXT,;t t |
|
s,@OBJEXT@,$OBJEXT,;t t |
s,@OBJEXT@,$OBJEXT,;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,@LIBOBJS@,$LIBOBJS,;t t |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
|
CEOF |
CEOF |
|
|
_ACEOF |
_ACEOF |
Line 3154 echo X"$ac_file" | |
|
Line 3029 echo X"$ac_file" | |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
s/.*/./; q'` |
{ if $as_mkdir_p; then |
{ case "$ac_dir" in |
mkdir -p "$ac_dir" |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
else |
*) as_incr_dir=.;; |
as_dir="$ac_dir" |
esac |
as_dirs= |
as_dummy="$ac_dir" |
while test ! -d "$as_dir"; do |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
as_dirs="$as_dir $as_dirs" |
case $as_mkdir_dir in |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
# Skip DOS drivespec |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
?:) as_incr_dir=$as_mkdir_dir ;; |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
*) |
X"$as_dir" : 'X\(//\)$' \| \ |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
X"$as_dir" : 'X\(/\)' \| \ |
test -d "$as_incr_dir" || |
. : '\(.\)' 2>/dev/null || |
mkdir "$as_incr_dir" || |
echo X"$as_dir" | |
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
{ (exit 1); exit 1; }; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
;; |
/^X\(\/\).*/{ s//\1/; q; } |
esac |
s/.*/./; q'` |
done; } |
done |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
{ (exit 1); exit 1; }; }; } |
|
|
|
ac_builddir=. |
ac_builddir=. |
|
|
|
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# absolute. |
# absolute. |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_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_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` |
|
|
Line 3303 ac_clean_files=$ac_clean_files_save |
|
Line 3173 ac_clean_files=$ac_clean_files_save |
|
# need to make the FD available again. |
# need to make the FD available again. |
if test "$no_create" != yes; then |
if test "$no_create" != yes; then |
ac_cs_success=: |
ac_cs_success=: |
ac_config_status_args= |
|
test "$silent" = yes && |
|
ac_config_status_args="$ac_config_status_args --quiet" |
|
exec 5>/dev/null |
exec 5>/dev/null |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
exec 5>>config.log |
exec 5>>config.log |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# would make configure fail if this is the last instruction. |
# would make configure fail if this is the last instruction. |