| version 1.1, 2003/09/02 03:24:50 |
version 1.2, 2006/10/05 20:44:58 |
|
|
| #! /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.59. |
| # |
# |
| # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 2003 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. |
| ## --------------------- ## |
## --------------------- ## |
| Line 20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/ |
|
| Line 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/ |
|
| 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 |
| |
DUALCASE=1; export DUALCASE # for MKS sh |
| |
|
| # Support unset when possible. |
# Support unset when possible. |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| as_unset=unset |
as_unset=unset |
| else |
else |
| as_unset=false |
as_unset=false |
|
|
| LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
| do |
do |
| if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
| else |
else |
| $as_unset $as_var |
$as_unset $as_var |
| Line 218 rm -f conf$$ conf$$.exe conf$$.file |
|
| Line 218 rm -f conf$$ conf$$.exe conf$$.file |
|
| if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
| as_mkdir_p=: |
as_mkdir_p=: |
| else |
else |
| |
test -d ./-p && rmdir ./-p |
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
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. |
| as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
| # Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
| as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
| |
|
| # IFS |
# IFS |
|
|
| PACKAGE_BUGREPORT= |
PACKAGE_BUGREPORT= |
| |
|
| ac_unique_file="file2.c" |
ac_unique_file="file2.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' |
# Factoring default headers for most tests. |
| |
ac_includes_default="\ |
| |
#include <stdio.h> |
| |
#if HAVE_SYS_TYPES_H |
| |
# include <sys/types.h> |
| |
#endif |
| |
#if HAVE_SYS_STAT_H |
| |
# include <sys/stat.h> |
| |
#endif |
| |
#if STDC_HEADERS |
| |
# include <stdlib.h> |
| |
# include <stddef.h> |
| |
#else |
| |
# if HAVE_STDLIB_H |
| |
# include <stdlib.h> |
| |
# endif |
| |
#endif |
| |
#if HAVE_STRING_H |
| |
# if !STDC_HEADERS && HAVE_MEMORY_H |
| |
# include <memory.h> |
| |
# endif |
| |
# include <string.h> |
| |
#endif |
| |
#if HAVE_STRINGS_H |
| |
# include <strings.h> |
| |
#endif |
| |
#if HAVE_INTTYPES_H |
| |
# include <inttypes.h> |
| |
#else |
| |
# if HAVE_STDINT_H |
| |
# include <stdint.h> |
| |
# endif |
| |
#endif |
| |
#if HAVE_UNISTD_H |
| |
# include <unistd.h> |
| |
#endif" |
| |
|
| |
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 CFLAG2 CPP EGREP LIBOBJS LTLIBOBJS' |
| ac_subst_files='' |
ac_subst_files='' |
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
|
|
| |
|
| # Be sure to have absolute paths. |
# Be sure to have absolute paths. |
| for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| localstatedir libdir includedir oldincludedir infodir mandir |
localstatedir libdir includedir oldincludedir infodir mandir |
| do |
do |
| eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
| case $ac_val in |
case $ac_val in |
| Line 670 if test -z "$srcdir"; then |
|
| Line 708 if test -z "$srcdir"; then |
|
| # Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
| ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`(dirname "$0") 2>/dev/null || |
| $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
| X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
| X"$0" : 'X\(/\)' \| \ |
X"$0" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
| echo X"$0" | |
echo X"$0" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 728 ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
| Line 766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
| ac_env_CPPFLAGS_value=$CPPFLAGS |
ac_env_CPPFLAGS_value=$CPPFLAGS |
| ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| |
ac_env_CPP_set=${CPP+set} |
| |
ac_env_CPP_value=$CPP |
| |
ac_cv_env_CPP_set=${CPP+set} |
| |
ac_cv_env_CPP_value=$CPP |
| |
|
| # |
# |
| # Report the --help message. |
# Report the --help message. |
|
|
| cat <<_ACEOF |
cat <<_ACEOF |
| Installation directories: |
Installation directories: |
| --prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
| [$ac_default_prefix] |
[$ac_default_prefix] |
| --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| [PREFIX] |
[PREFIX] |
| |
|
| By default, \`make install' will install all the files in |
By default, \`make install' will install all the files in |
| \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| Line 802 Some influential environment variables: |
|
| Line 844 Some influential environment variables: |
|
| nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
| CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
| |
CPP C preprocessor |
| |
|
| Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
|
|
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac |
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` |
|
| |
|
| |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| |
# the directories may not exist. |
| |
case `pwd` in |
| |
.) ac_abs_builddir="$ac_dir";; |
| |
*) |
| |
case "$ac_dir" in |
| |
.) ac_abs_builddir=`pwd`;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| |
*) |
| |
case ${ac_top_builddir}. in |
| |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_srcdir=$ac_srcdir;; |
| |
*) |
| |
case $ac_srcdir in |
| |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| |
*) |
| |
case $ac_top_srcdir in |
| |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| |
esac;; |
| |
esac |
| |
|
| cd $ac_dir |
cd $ac_dir |
| # Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
| if test -f $ac_srcdir/configure.gnu; then |
if test -f $ac_srcdir/configure.gnu; then |
| Line 855 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir & |
|
| Line 931 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir & |
|
| echo |
echo |
| $SHELL $ac_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
| elif test -f $ac_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
| test -f $ac_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
| echo |
echo |
| $ac_configure --help |
$ac_configure --help |
| else |
else |
| Line 869 test -n "$ac_init_help" && exit 0 |
|
| Line 945 test -n "$ac_init_help" && exit 0 |
|
| if $ac_init_version; then |
if $ac_init_version; then |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
| Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Copyright (C) 2003 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. |
| _ACEOF |
_ACEOF |
| Line 882 This file contains any messages produced by compilers |
|
| Line 957 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.59. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
| |
|
|
|
| 2) |
2) |
| ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| if test $ac_must_keep_next = true; then |
if test $ac_must_keep_next = true; then |
| ac_must_keep_next=false # Got value, back to normal. |
ac_must_keep_next=false # Got value, back to normal. |
| else |
else |
| case $ac_arg in |
case $ac_arg in |
| *=* | --config-cache | -C | -disable-* | --disable-* \ |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| | -with-* | --with-* | -without-* | --without-* | --x) |
| -with-* | --with-* | -without-* | --without-* | --x) |
| case "$ac_configure_args0 " in |
case "$ac_configure_args0 " in |
| "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| esac |
esac |
| ;; |
;; |
| -* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
| esac |
esac |
| fi |
fi |
| ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| # Get rid of the leading space. |
# Get rid of the leading space. |
|
|
| case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| *ac_space=\ *) |
*ac_space=\ *) |
| sed -n \ |
sed -n \ |
| "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| ;; |
;; |
| *) |
*) |
| sed -n \ |
sed -n \ |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| ;; |
;; |
| esac; |
esac; |
| } |
} |
|
|
| for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
| do |
do |
| eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
| echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$ac_var='"'"'$ac_val'"'"'" |
| done | sort |
done | sort |
| echo |
echo |
| fi |
fi |
|
|
| echo "$as_me: caught signal $ac_signal" |
echo "$as_me: caught signal $ac_signal" |
| echo "$as_me: exit $exit_status" |
echo "$as_me: exit $exit_status" |
| } >&5 |
} >&5 |
| rm -f core core.* *.core && |
rm -f core *.core && |
| rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| exit $exit_status |
exit $exit_status |
| ' 0 |
' 0 |
|
|
| # value. |
# value. |
| ac_cache_corrupted=false |
ac_cache_corrupted=false |
| for ac_var in `(set) 2>&1 | |
for ac_var in `(set) 2>&1 | |
| sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
| eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| Line 1155 echo "$as_me: error: \`$ac_var' was not set in the pre |
|
| Line 1230 echo "$as_me: error: \`$ac_var' was not set in the pre |
|
| ,);; |
,);; |
| *) |
*) |
| if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
| { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
| ac_cache_corrupted=: |
ac_cache_corrupted=: |
| fi;; |
fi;; |
| esac |
esac |
| # Pass precious variables to config.status. |
# Pass precious variables to config.status. |
| Line 1545 ac_compiler=`set X $ac_compile; echo $2` |
|
| Line 1620 ac_compiler=`set X $ac_compile; echo $2` |
|
| (exit $ac_status); } |
(exit $ac_status); } |
| |
|
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| Line 1565 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
| Line 1639 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
| # 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. |
| echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| (eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
|
|
| test -f "$ac_file" || continue |
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 | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| ;; |
;; |
| conftest.$ac_ext ) |
conftest.$ac_ext ) |
| # This is the source file. |
# This is the source file. |
| ;; |
;; |
| [ab].out ) |
[ab].out ) |
| # We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
| # certainly right. |
# certainly right. |
| break;; |
break;; |
| *.* ) |
*.* ) |
| ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| # FIXME: I believe we export ac_cv_exeext for Libtool, |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| # but it would be cool to find out if it's true. Does anybody |
# but it would be cool to find out if it's true. Does anybody |
| # maintain Libtool? --akim. |
# maintain Libtool? --akim. |
| export ac_cv_exeext |
export ac_cv_exeext |
| break;; |
break;; |
| * ) |
* ) |
| break;; |
break;; |
| esac |
esac |
| done |
done |
| else |
else |
| Line 1676 for ac_file in conftest.exe conftest conftest.*; do |
|
| Line 1750 for ac_file in conftest.exe conftest conftest.*; do |
|
| case $ac_file in |
case $ac_file in |
| *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| export ac_cv_exeext |
export ac_cv_exeext |
| break;; |
break;; |
| * ) break;; |
* ) break;; |
| esac |
esac |
| done |
done |
| Line 1702 if test "${ac_cv_objext+set}" = set; then |
|
| Line 1776 if test "${ac_cv_objext+set}" = set; then |
|
| echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else |
else |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| Line 1753 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
| Line 1826 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
| echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else |
else |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_compiler_gnu=yes |
ac_compiler_gnu=yes |
| else |
else |
| Line 1790 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 1872 sed 's/^/| /' 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.err conftest.$ac_objext conftest.$ac_ext |
| ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| |
|
| fi |
fi |
| Line 1806 if test "${ac_cv_prog_cc_g+set}" = set; then |
|
| Line 1888 if test "${ac_cv_prog_cc_g+set}" = set; then |
|
| echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else |
else |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
| else |
else |
| Line 1840 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 1931 sed 's/^/| /' 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.err conftest.$ac_objext conftest.$ac_ext |
| fi |
fi |
| echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
|
|
| ac_cv_prog_cc_stdc=no |
ac_cv_prog_cc_stdc=no |
| ac_save_CC=$CC |
ac_save_CC=$CC |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| Line 1895 static char *f (char * (*g) (char **, int), char **p, |
|
| Line 1985 static char *f (char * (*g) (char **, int), char **p, |
|
| va_end (v); |
va_end (v); |
| return s; |
return s; |
| } |
} |
| |
|
| |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| |
function prototypes and stuff, but not '\xHH' hex character constants. |
| |
These don't provoke an error unfortunately, instead are silently treated |
| |
as 'x'. The following induces an error, until -std1 is added to get |
| |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| |
array size at least. It's necessary to write '\x00'==0 to get something |
| |
that's true only with -std1. */ |
| |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| |
|
| int test (int i, double x); |
int test (int i, double x); |
| struct s1 {int (*f) (int a);}; |
struct s1 {int (*f) (int a);}; |
| struct s2 {int (*f) (double a);}; |
struct s2 {int (*f) (double a);}; |
|
|
| CC="$ac_save_CC $ac_arg" |
CC="$ac_save_CC $ac_arg" |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_prog_cc_stdc=$ac_arg |
ac_cv_prog_cc_stdc=$ac_arg |
| break |
break |
|
|
| sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| fi |
fi |
| rm -f conftest.$ac_objext |
rm -f conftest.err conftest.$ac_objext |
| done |
done |
| rm -f conftest.$ac_ext conftest.$ac_objext |
rm -f conftest.$ac_ext conftest.$ac_objext |
| CC=$ac_save_CC |
CC=$ac_save_CC |
| Line 1966 cat >conftest.$ac_ext <<_ACEOF |
|
| Line 2076 cat >conftest.$ac_ext <<_ACEOF |
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| for ac_declaration in \ |
for ac_declaration in \ |
| ''\ |
'' \ |
| '#include <stdlib.h>' \ |
|
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ |
| 'extern "C" void exit (int) throw ();' \ |
'extern "C" void exit (int) throw ();' \ |
| Line 1986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
| Line 2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
| 'void exit (int);' |
'void exit (int);' |
| do |
do |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdlib.h> |
|
| $ac_declaration |
$ac_declaration |
| |
#include <stdlib.h> |
| int |
int |
| main () |
main () |
| { |
{ |
|
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| : |
: |
| else |
else |
| Line 2021 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 2149 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| |
|
| continue |
continue |
| fi |
fi |
| rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| break |
break |
| else |
else |
|
|
| sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| fi |
fi |
| rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| done |
done |
| rm -f conftest* |
rm -f conftest* |
| if test -n "$ac_declaration"; then |
if test -n "$ac_declaration"; then |
|
|
| sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| fi |
fi |
| rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 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 2165 if test "${ac_cv_func_socket+set}" = set; then |
|
| Line 2302 if test "${ac_cv_func_socket+set}" = set; then |
|
| echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else |
else |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
/* Define socket to an innocuous variant, in case <limits.h> declares socket. |
| |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| |
#define socket innocuous_socket |
| |
|
| /* 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 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| <limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
| |
|
| #ifdef __STDC__ |
#ifdef __STDC__ |
| # include <limits.h> |
# include <limits.h> |
| #else |
#else |
| # include <assert.h> |
# include <assert.h> |
| #endif |
#endif |
| |
|
| |
#undef socket |
| |
|
| /* 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" |
| Line 2210 return f != socket; |
|
| Line 2354 return f != socket; |
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_func_socket=yes |
ac_cv_func_socket=yes |
| else |
else |
| Line 2227 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 2381 sed 's/^/| /' 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.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| fi |
fi |
| echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
| echo "${ECHO_T}$ac_cv_func_socket" >&6 |
echo "${ECHO_T}$ac_cv_func_socket" >&6 |
|
|
| ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_lib_socket_socket=yes |
ac_cv_lib_socket_socket=yes |
| else |
else |
| Line 2283 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 2447 sed 's/^/| /' 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.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| fi |
fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
| Line 2304 if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
| Line 2469 if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
| echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else |
else |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
| |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| |
#define gethostbyname innocuous_gethostbyname |
| |
|
| /* 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 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| <limits.h> exists even on freestanding compilers. */ |
<limits.h> exists even on freestanding compilers. */ |
| |
|
| #ifdef __STDC__ |
#ifdef __STDC__ |
| # include <limits.h> |
# include <limits.h> |
| #else |
#else |
| # include <assert.h> |
# include <assert.h> |
| #endif |
#endif |
| |
|
| |
#undef gethostbyname |
| |
|
| /* 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" |
| Line 2349 return f != gethostbyname; |
|
| Line 2521 return f != gethostbyname; |
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_func_gethostbyname=yes |
ac_cv_func_gethostbyname=yes |
| else |
else |
| Line 2366 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 2548 sed 's/^/| /' 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.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| fi |
fi |
| echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
| echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
|
|
| ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" |
|
| /* confdefs.h. */ |
/* confdefs.h. */ |
| _ACEOF |
_ACEOF |
| cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| Line 2405 gethostbyname (); |
|
| Line 2587 gethostbyname (); |
|
| _ACEOF |
_ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
| ac_status=$? |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && |
(exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| ac_status=$? |
ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
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 |
(exit $ac_status); }; }; then |
| ac_cv_lib_nsl_gethostbyname=yes |
ac_cv_lib_nsl_gethostbyname=yes |
| else |
else |
| Line 2422 sed 's/^/| /' conftest.$ac_ext >&5 |
|
| Line 2614 sed 's/^/| /' 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.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
| fi |
fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
|
| |
|
| fi |
fi |
| |
|
| |
ac_ext=c |
| |
ac_cpp='$CPP $CPPFLAGS' |
| |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| |
# On Suns, sometimes $CPP names a directory. |
| |
if test -n "$CPP" && test -d "$CPP"; then |
| |
CPP= |
| |
fi |
| |
if test -z "$CPP"; then |
| |
if test "${ac_cv_prog_CPP+set}" = set; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
else |
| |
# Double quotes because CPP needs to be expanded |
| |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| |
do |
| |
ac_preproc_ok=false |
| |
for ac_c_preproc_warn_flag in '' yes |
| |
do |
| |
# Use a header file that comes with gcc, so configuring glibc |
| |
# with a fresh cross-compiler works. |
| |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| |
# <limits.h> exists even on freestanding compilers. |
| |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| |
# not just through cpp. "Syntax error" is here to catch this case. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#ifdef __STDC__ |
| |
# include <limits.h> |
| |
#else |
| |
# include <assert.h> |
| |
#endif |
| |
Syntax error |
| |
_ACEOF |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } >/dev/null; then |
| |
if test -s conftest.err; then |
| |
ac_cpp_err=$ac_c_preproc_warn_flag |
| |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| |
else |
| |
ac_cpp_err= |
| |
fi |
| |
else |
| |
ac_cpp_err=yes |
| |
fi |
| |
if test -z "$ac_cpp_err"; then |
| |
: |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
# Broken: fails on valid input. |
| |
continue |
| |
fi |
| |
rm -f conftest.err conftest.$ac_ext |
| |
|
| |
# OK, works on sane cases. Now check whether non-existent headers |
| |
# can be detected and how. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <ac_nonexistent.h> |
| |
_ACEOF |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } >/dev/null; then |
| |
if test -s conftest.err; then |
| |
ac_cpp_err=$ac_c_preproc_warn_flag |
| |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| |
else |
| |
ac_cpp_err= |
| |
fi |
| |
else |
| |
ac_cpp_err=yes |
| |
fi |
| |
if test -z "$ac_cpp_err"; then |
| |
# Broken: success on invalid input. |
| |
continue |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
# Passes both tests. |
| |
ac_preproc_ok=: |
| |
break |
| |
fi |
| |
rm -f conftest.err conftest.$ac_ext |
| |
|
| |
done |
| |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| |
rm -f conftest.err conftest.$ac_ext |
| |
if $ac_preproc_ok; then |
| |
break |
| |
fi |
| |
|
| |
done |
| |
ac_cv_prog_CPP=$CPP |
| |
|
| |
fi |
| |
CPP=$ac_cv_prog_CPP |
| |
else |
| |
ac_cv_prog_CPP=$CPP |
| |
fi |
| |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| |
echo "${ECHO_T}$CPP" >&6 |
| |
ac_preproc_ok=false |
| |
for ac_c_preproc_warn_flag in '' yes |
| |
do |
| |
# Use a header file that comes with gcc, so configuring glibc |
| |
# with a fresh cross-compiler works. |
| |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| |
# <limits.h> exists even on freestanding compilers. |
| |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| |
# not just through cpp. "Syntax error" is here to catch this case. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#ifdef __STDC__ |
| |
# include <limits.h> |
| |
#else |
| |
# include <assert.h> |
| |
#endif |
| |
Syntax error |
| |
_ACEOF |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } >/dev/null; then |
| |
if test -s conftest.err; then |
| |
ac_cpp_err=$ac_c_preproc_warn_flag |
| |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| |
else |
| |
ac_cpp_err= |
| |
fi |
| |
else |
| |
ac_cpp_err=yes |
| |
fi |
| |
if test -z "$ac_cpp_err"; then |
| |
: |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
# Broken: fails on valid input. |
| |
continue |
| |
fi |
| |
rm -f conftest.err conftest.$ac_ext |
| |
|
| |
# OK, works on sane cases. Now check whether non-existent headers |
| |
# can be detected and how. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <ac_nonexistent.h> |
| |
_ACEOF |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } >/dev/null; then |
| |
if test -s conftest.err; then |
| |
ac_cpp_err=$ac_c_preproc_warn_flag |
| |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| |
else |
| |
ac_cpp_err= |
| |
fi |
| |
else |
| |
ac_cpp_err=yes |
| |
fi |
| |
if test -z "$ac_cpp_err"; then |
| |
# Broken: success on invalid input. |
| |
continue |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
# Passes both tests. |
| |
ac_preproc_ok=: |
| |
break |
| |
fi |
| |
rm -f conftest.err conftest.$ac_ext |
| |
|
| |
done |
| |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| |
rm -f conftest.err conftest.$ac_ext |
| |
if $ac_preproc_ok; then |
| |
: |
| |
else |
| |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| |
See \`config.log' for more details." >&5 |
| |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| |
See \`config.log' for more details." >&2;} |
| |
{ (exit 1); exit 1; }; } |
| |
fi |
| |
|
| |
ac_ext=c |
| |
ac_cpp='$CPP $CPPFLAGS' |
| |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
|
| |
|
| |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| |
if test "${ac_cv_prog_egrep+set}" = set; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
else |
| |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| |
then ac_cv_prog_egrep='grep -E' |
| |
else ac_cv_prog_egrep='egrep' |
| |
fi |
| |
fi |
| |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| |
EGREP=$ac_cv_prog_egrep |
| |
|
| |
|
| |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| |
if test "${ac_cv_header_stdc+set}" = set; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
else |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <stdlib.h> |
| |
#include <stdarg.h> |
| |
#include <string.h> |
| |
#include <float.h> |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
rm -f conftest.$ac_objext |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| |
(eval $ac_compile) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } && |
| |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| |
{ (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); }; } && |
| |
{ 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_header_stdc=yes |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_cv_header_stdc=no |
| |
fi |
| |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
|
| |
if test $ac_cv_header_stdc = yes; then |
| |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <string.h> |
| |
|
| |
_ACEOF |
| |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| |
$EGREP "memchr" >/dev/null 2>&1; then |
| |
: |
| |
else |
| |
ac_cv_header_stdc=no |
| |
fi |
| |
rm -f conftest* |
| |
|
| |
fi |
| |
|
| |
if test $ac_cv_header_stdc = yes; then |
| |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <stdlib.h> |
| |
|
| |
_ACEOF |
| |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| |
$EGREP "free" >/dev/null 2>&1; then |
| |
: |
| |
else |
| |
ac_cv_header_stdc=no |
| |
fi |
| |
rm -f conftest* |
| |
|
| |
fi |
| |
|
| |
if test $ac_cv_header_stdc = yes; then |
| |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| |
if test "$cross_compiling" = yes; then |
| |
: |
| |
else |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <ctype.h> |
| |
#if ((' ' & 0x0FF) == 0x020) |
| |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| |
#else |
| |
# define ISLOWER(c) \ |
| |
(('a' <= (c) && (c) <= 'i') \ |
| |
|| ('j' <= (c) && (c) <= 'r') \ |
| |
|| ('s' <= (c) && (c) <= 'z')) |
| |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| |
#endif |
| |
|
| |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| |
int |
| |
main () |
| |
{ |
| |
int i; |
| |
for (i = 0; i < 256; i++) |
| |
if (XOR (islower (i), ISLOWER (i)) |
| |
|| toupper (i) != TOUPPER (i)) |
| |
exit(2); |
| |
exit (0); |
| |
} |
| |
_ACEOF |
| |
rm -f 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='./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 |
| |
: |
| |
else |
| |
echo "$as_me: program exited with status $ac_status" >&5 |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
( exit $ac_status ) |
| |
ac_cv_header_stdc=no |
| |
fi |
| |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| |
fi |
| |
fi |
| |
fi |
| |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| |
if test $ac_cv_header_stdc = yes; then |
| |
|
| |
cat >>confdefs.h <<\_ACEOF |
| |
#define STDC_HEADERS 1 |
| |
_ACEOF |
| |
|
| |
fi |
| |
|
| |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| |
inttypes.h stdint.h unistd.h |
| |
do |
| |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
else |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
$ac_includes_default |
| |
|
| |
#include <$ac_header> |
| |
_ACEOF |
| |
rm -f conftest.$ac_objext |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| |
(eval $ac_compile) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } && |
| |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| |
{ (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); }; } && |
| |
{ 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 |
| |
eval "$as_ac_Header=yes" |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
eval "$as_ac_Header=no" |
| |
fi |
| |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
fi |
| |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| |
_ACEOF |
| |
|
| |
fi |
| |
|
| |
done |
| |
|
| |
|
| |
if test "${ac_cv_header_sys_appleapiopts_h+set}" = set; then |
| |
echo "$as_me:$LINENO: checking for sys/appleapiopts.h" >&5 |
| |
echo $ECHO_N "checking for sys/appleapiopts.h... $ECHO_C" >&6 |
| |
if test "${ac_cv_header_sys_appleapiopts_h+set}" = set; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
fi |
| |
echo "$as_me:$LINENO: result: $ac_cv_header_sys_appleapiopts_h" >&5 |
| |
echo "${ECHO_T}$ac_cv_header_sys_appleapiopts_h" >&6 |
| |
else |
| |
# Is the header compilable? |
| |
echo "$as_me:$LINENO: checking sys/appleapiopts.h usability" >&5 |
| |
echo $ECHO_N "checking sys/appleapiopts.h usability... $ECHO_C" >&6 |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
$ac_includes_default |
| |
#include <sys/appleapiopts.h> |
| |
_ACEOF |
| |
rm -f conftest.$ac_objext |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| |
(eval $ac_compile) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } && |
| |
{ ac_try='test -z "$ac_c_werror_flag" |
| |
|| test ! -s conftest.err' |
| |
{ (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); }; } && |
| |
{ 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_header_compiler=yes |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_header_compiler=no |
| |
fi |
| |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| |
|
| |
# Is the header present? |
| |
echo "$as_me:$LINENO: checking sys/appleapiopts.h presence" >&5 |
| |
echo $ECHO_N "checking sys/appleapiopts.h presence... $ECHO_C" >&6 |
| |
cat >conftest.$ac_ext <<_ACEOF |
| |
/* confdefs.h. */ |
| |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
#include <sys/appleapiopts.h> |
| |
_ACEOF |
| |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| |
ac_status=$? |
| |
grep -v '^ *+' conftest.er1 >conftest.err |
| |
rm -f conftest.er1 |
| |
cat conftest.err >&5 |
| |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| |
(exit $ac_status); } >/dev/null; then |
| |
if test -s conftest.err; then |
| |
ac_cpp_err=$ac_c_preproc_warn_flag |
| |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| |
else |
| |
ac_cpp_err= |
| |
fi |
| |
else |
| |
ac_cpp_err=yes |
| |
fi |
| |
if test -z "$ac_cpp_err"; then |
| |
ac_header_preproc=yes |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_header_preproc=no |
| |
fi |
| |
rm -f conftest.err conftest.$ac_ext |
| |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| |
|
| |
# So? What about this header? |
| |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| |
yes:no: ) |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: proceeding with the compiler's result" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: proceeding with the compiler's result" >&2;} |
| |
ac_header_preproc=yes |
| |
;; |
| |
no:yes:* ) |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: present but cannot be compiled" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: present but cannot be compiled" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: check for missing prerequisite headers?" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: check for missing prerequisite headers?" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: see the Autoconf documentation" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: see the Autoconf documentation" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: section \"Present But Cannot Be Compiled\"" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: proceeding with the preprocessor's result" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: proceeding with the preprocessor's result" >&2;} |
| |
{ echo "$as_me:$LINENO: WARNING: sys/appleapiopts.h: in the future, the compiler will take precedence" >&5 |
| |
echo "$as_me: WARNING: sys/appleapiopts.h: in the future, the compiler will take precedence" >&2;} |
| |
( |
| |
cat <<\_ASBOX |
| |
## ------------------------------------------ ## |
| |
## Report this to the AC_PACKAGE_NAME lists. ## |
| |
## ------------------------------------------ ## |
| |
_ASBOX |
| |
) | |
| |
sed "s/^/$as_me: WARNING: /" >&2 |
| |
;; |
| |
esac |
| |
echo "$as_me:$LINENO: checking for sys/appleapiopts.h" >&5 |
| |
echo $ECHO_N "checking for sys/appleapiopts.h... $ECHO_C" >&6 |
| |
if test "${ac_cv_header_sys_appleapiopts_h+set}" = set; then |
| |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| |
else |
| |
ac_cv_header_sys_appleapiopts_h=$ac_header_preproc |
| |
fi |
| |
echo "$as_me:$LINENO: result: $ac_cv_header_sys_appleapiopts_h" >&5 |
| |
echo "${ECHO_T}$ac_cv_header_sys_appleapiopts_h" >&6 |
| |
|
| |
fi |
| |
if test $ac_cv_header_sys_appleapiopts_h = yes; then |
| |
CFLAG2=" -arch ppc -arch i386" |
| |
|
| |
else |
| |
CFLAG2=" " |
| |
|
| |
fi |
| |
|
| |
|
| |
|
| |
|
| ac_config_files="$ac_config_files Makefile" |
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 |
|
|
| # `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
| # substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| sed -n \ |
sed -n \ |
| "s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| ;; |
;; |
| *) |
*) |
| # `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| sed -n \ |
sed -n \ |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| ;; |
;; |
| esac; |
esac; |
| } | |
} | |
| Line 2504 test "x$exec_prefix" = xNONE && exec_prefix='${prefix} |
|
| Line 3332 test "x$exec_prefix" = xNONE && exec_prefix='${prefix} |
|
| # trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
| # (actually we leave an empty line to preserve line numbers). |
# (actually we leave an empty line to preserve line numbers). |
| if test "x$srcdir" = x.; then |
if test "x$srcdir" = x.; then |
| ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| s/:*\$(srcdir):*/:/; |
s/:*\$(srcdir):*/:/; |
| s/:*\${srcdir}:*/:/; |
s/:*\${srcdir}:*/:/; |
| s/:*@srcdir@:*/:/; |
s/:*@srcdir@:*/:/; |
| s/^\([^=]*=[ ]*\):*/\1/; |
s/^\([^=]*=[ ]*\):*/\1/; |
| s/:*$//; |
s/:*$//; |
| s/^[^=]*=[ ]*$//; |
s/^[^=]*=[ ]*$//; |
| }' |
}' |
| fi |
fi |
| |
|
|
|
| cat >confdef2opt.sed <<\_ACEOF |
cat >confdef2opt.sed <<\_ACEOF |
| t clear |
t clear |
| : clear |
: clear |
| s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
| t quote |
t quote |
| s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
| t quote |
t quote |
| d |
d |
| : quote |
: quote |
| s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
| s,\[,\\&,g |
s,\[,\\&,g |
| s,\],\\&,g |
s,\],\\&,g |
| s,\$,$$,g |
s,\$,$$,g |
|
|
| for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| # 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
| ac_i=`echo "$ac_i" | |
ac_i=`echo "$ac_i" | |
| sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| # 2. Add them. |
# 2. Add them. |
| ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| Line 2596 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/ |
|
| Line 3424 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/ |
|
| 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 |
| |
DUALCASE=1; export DUALCASE # for MKS sh |
| |
|
| # Support unset when possible. |
# Support unset when possible. |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| as_unset=unset |
as_unset=unset |
| else |
else |
| as_unset=false |
as_unset=false |
| Line 2617 for as_var in \ |
|
| Line 3446 for as_var in \ |
|
| LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| LC_TELEPHONE LC_TIME |
LC_TELEPHONE LC_TIME |
| do |
do |
| if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
| else |
else |
| $as_unset $as_var |
$as_unset $as_var |
| Line 2796 rm -f conf$$ conf$$.exe conf$$.file |
|
| Line 3625 rm -f conf$$ conf$$.exe conf$$.file |
|
| if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
| as_mkdir_p=: |
as_mkdir_p=: |
| else |
else |
| |
test -d ./-p && rmdir ./-p |
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
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. |
| as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
| # Sed expression to map a string onto a valid variable name. |
# Sed expression to map a string onto a valid variable name. |
| as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
| |
|
| # IFS |
# IFS |
|
|
| 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.59. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
| CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
| Line 2876 Usage: $0 [OPTIONS] [FILE]... |
|
| Line 3706 Usage: $0 [OPTIONS] [FILE]... |
|
| -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] |
| instantiate the configuration file FILE |
instantiate the configuration file FILE |
| |
|
| Configuration files: |
Configuration files: |
| $config_files |
$config_files |
|
|
| 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.59, |
| 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 (C) 2003 Free Software Foundation, Inc. |
| 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 |
| Line 3082 s,@EXEEXT@,$EXEEXT,;t t |
|
| Line 3911 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,@CFLAG2@,$CFLAG2,;t t |
| |
s,@CPP@,$CPP,;t t |
| |
s,@EGREP@,$EGREP,;t t |
| s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
| s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| CEOF |
CEOF |
|
|
| (echo ':t |
(echo ':t |
| /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| if test -z "$ac_sed_cmds"; then |
if test -z "$ac_sed_cmds"; then |
| ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| else |
else |
| ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| fi |
fi |
| ac_sed_frag=`expr $ac_sed_frag + 1` |
ac_sed_frag=`expr $ac_sed_frag + 1` |
| ac_beg=$ac_end |
ac_beg=$ac_end |
| Line 3133 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = |
|
| Line 3965 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = |
|
| # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| case $ac_file in |
case $ac_file in |
| - | *:- | *:-:* ) # input from stdin |
- | *:- | *:-:* ) # input from stdin |
| cat >$tmp/stdin |
cat >$tmp/stdin |
| ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| * ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
| esac |
esac |
| |
|
| # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| ac_dir=`(dirname "$ac_file") 2>/dev/null || |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
| X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
| echo X"$ac_file" | |
echo X"$ac_file" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 3163 echo X"$ac_file" | |
|
| Line 3995 echo X"$ac_file" | |
|
| as_dirs="$as_dir $as_dirs" |
as_dirs="$as_dir $as_dirs" |
| as_dir=`(dirname "$as_dir") 2>/dev/null || |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
| X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
| echo X"$as_dir" | |
echo X"$as_dir" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 3204 case $srcdir in |
|
| Line 4036 case $srcdir in |
|
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac |
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` |
|
| |
|
| |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| |
# the directories may not exist. |
| |
case `pwd` in |
| |
.) ac_abs_builddir="$ac_dir";; |
| |
*) |
| |
case "$ac_dir" in |
| |
.) ac_abs_builddir=`pwd`;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| |
*) |
| |
case ${ac_top_builddir}. in |
| |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_srcdir=$ac_srcdir;; |
| |
*) |
| |
case $ac_srcdir in |
| |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| |
esac;; |
| |
esac |
| |
case $ac_abs_builddir in |
| |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| |
*) |
| |
case $ac_top_srcdir in |
| |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| |
esac;; |
| |
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 |
| echo "$as_me: creating $ac_file" >&6;} |
echo "$as_me: creating $ac_file" >&6;} |
| Line 3227 echo "$as_me: creating $ac_file" >&6;} |
|
| Line 4092 echo "$as_me: creating $ac_file" >&6;} |
|
| configure_input="$ac_file. " |
configure_input="$ac_file. " |
| fi |
fi |
| configure_input=$configure_input"Generated from `echo $ac_file_in | |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| sed 's,.*/,,'` by configure." |
sed 's,.*/,,'` by configure." |
| |
|
| # First look for the input files in the build tree, otherwise in the |
# First look for the input files in the build tree, otherwise in the |
| # src tree. |
# src tree. |
| Line 3236 echo "$as_me: creating $ac_file" >&6;} |
|
| Line 4101 echo "$as_me: creating $ac_file" >&6;} |
|
| case $f in |
case $f in |
| -) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
| [\\/$]*) |
[\\/$]*) |
| # Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
| test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| echo $f;; |
echo "$f";; |
| *) # Relative |
*) # Relative |
| if test -f "$f"; then |
if test -f "$f"; then |
| # Build tree |
# Build tree |
| echo $f |
echo "$f" |
| elif test -f "$srcdir/$f"; then |
elif test -f "$srcdir/$f"; then |
| # Source tree |
# Source tree |
| echo $srcdir/$f |
echo "$srcdir/$f" |
| else |
else |
| # /dev/null tree |
# /dev/null tree |
| { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| fi;; |
fi;; |
| esac |
esac |
| done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
| _ACEOF |
_ACEOF |