| version 1.2, 2003/11/11 04:20:33 |
version 1.3, 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.53. |
# 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. |
| |
|
| 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 |
| |
DUALCASE=1; export DUALCASE # for MKS sh |
| |
|
| # NLS nuisances. |
|
| # 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 |
| 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 -z "`(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=`(basename "$0") 2>/dev/null || |
as_me=`$as_basename "$0" || |
| $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 82 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
| Line 85 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" >conftest.sh |
echo "#! /bin/sh" >conf$$.sh |
| echo "exit 0" >>conftest.sh |
echo "exit 0" >>conf$$.sh |
| chmod +x conftest.sh |
chmod +x conf$$.sh |
| if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
| else |
else |
| PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
| fi |
fi |
| rm -f conftest.sh |
rm -f conf$$.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 |
| |
test -d ./-p && rmdir ./-p |
| |
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. |
| 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 |
|
|
| IFS=" $as_nl" |
IFS=" $as_nl" |
| |
|
| # CDPATH. |
# CDPATH. |
| $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
$as_unset 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="oxmain.c" |
ac_unique_file="oxmain.c" |
| |
# 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='' |
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
| ac_init_help= |
ac_init_help= |
| ac_init_version=false |
ac_init_version=false |
|
|
| |
|
| # 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 656 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 682 if test ! -r $srcdir/$ac_unique_file; then |
|
| Line 734 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 |
| Line 711 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 785 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 838 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 852 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 865 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.53. Invocation command line was |
generated by GNU Autoconf 2.59. 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= |
| for ac_arg |
ac_must_keep_next=false |
| |
for ac_pass in 1 2 |
| do |
do |
| case $ac_arg in |
for ac_arg |
| -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
do |
| | --no-cr | --no-c | -n ) continue ;; |
case $ac_arg in |
| -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| continue ;; |
| -silent | --silent | --silen | --sile | --sil) |
| *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
continue ;; |
| ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| esac |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| case " $ac_configure_args " in |
esac |
| *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
case $ac_pass in |
| *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| ac_sep=" " ;; |
2) |
| esac |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| # Get rid of the leading space. |
if test $ac_must_keep_next = true; then |
| |
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 948 trap 'exit_status=$? |
|
| Line 1067 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. ## |
|
|
| 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; |
| } |
} |
| 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 |
sed "/^$/d" confdefs.h | sort |
| echo |
echo |
| fi |
fi |
| test "$ac_signal" != 0 && |
test "$ac_signal" != 0 && |
| 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 1081 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 1134 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
| Line 1283 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 1338 if test $ac_prog_rejected = yes; then |
|
| Line 1488 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 |
| set dummy "$as_dir/$ac_word" ${1+"$@"} |
ac_cv_prog_CC="$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" >&5 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
See \`config.log' for more details." >&5 |
| |
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 1470 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. */ |
| #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" |
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 |
| Line 1507 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"" |
|
| Line 1654 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= |
| for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
# b.out is created by i960 compilers. |
| ls a.out conftest 2>/dev/null; |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| ls a.* conftest.* 2>/dev/null`; do |
do |
| |
test -f "$ac_file" || continue |
| case $ac_file in |
case $ac_file in |
| *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| a.out ) # We found the default executable, but exeext='' is most |
;; |
| # certainly right. |
conftest.$ac_ext ) |
| break;; |
# This is the source file. |
| *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
;; |
| # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
[ab].out ) |
| export ac_cv_exeext |
# We found the default executable, but exeext='' is most |
| break;; |
# certainly right. |
| * ) 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 |
| cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
|
| echo "$as_me: error: C compiler cannot create executables" >&2;} |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
| |
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 1553 if test "$cross_compiling" != yes; then |
|
| Line 1713 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'." >&5 |
If you meant to cross compile, use \`--host'. |
| |
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'." >&2;} |
If you meant to cross compile, use \`--host'. |
| |
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 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 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 1583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
| Line 1745 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 `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
for ac_file in conftest.exe conftest conftest.*; do |
| |
test -f "$ac_file" || continue |
| case $ac_file in |
case $ac_file in |
| *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$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 |
| else |
else |
| { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
See \`config.log' for more details." >&5 |
| |
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 1611 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. */ |
| #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 1636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
| Line 1798 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 ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| *) 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 |
| cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
|
| echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| |
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 1661 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. */ |
| #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 |
| 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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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 1715 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. */ |
| #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 |
| 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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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 |
|
|
| 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 |
| |
/* 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; |
| |
} |
| |
|
| |
/* 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); |
| |
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>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_prog_cc_stdc=$ac_arg |
| |
break |
| |
else |
| |
echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
fi |
| |
rm -f conftest.err 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 1780 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 1800 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. */ |
| #include "confdefs.h" |
_ACEOF |
| #include <stdlib.h> |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| $ac_declaration |
$ac_declaration |
| #ifdef F77_DUMMY_MAIN |
#include <stdlib.h> |
| # ifdef __cplusplus |
|
| extern "C" |
|
| # endif |
|
| int F77_DUMMY_MAIN() { return 1; } |
|
| #endif |
|
| 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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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. */ |
| #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 () |
| { |
{ |
|
|
| _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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat 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 |
|
|
| |
|
| else |
else |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat 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 1980 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. */ |
| #include "confdefs.h" |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* 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. |
| #include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| |
<limits.h> exists even on freestanding compilers. */ |
| |
|
| |
#ifdef __STDC__ |
| |
# include <limits.h> |
| |
#else |
| |
# include <assert.h> |
| |
#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" |
| |
{ |
| #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 |
| f = socket; |
char (*f) () = socket; |
| #endif |
#endif |
| |
#ifdef __cplusplus |
| |
} |
| |
#endif |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
return f != socket; |
| ; |
; |
| return 0; |
return 0; |
| } |
} |
| _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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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. */ |
| #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 () |
| { |
{ |
|
|
| _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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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 2112 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. */ |
| #include "confdefs.h" |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* 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. |
| #include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| |
<limits.h> exists even on freestanding compilers. */ |
| |
|
| |
#ifdef __STDC__ |
| |
# include <limits.h> |
| |
#else |
| |
# include <assert.h> |
| |
#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" |
| |
{ |
| #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 |
| f = gethostbyname; |
char (*f) () = gethostbyname; |
| #endif |
#endif |
| |
#ifdef __cplusplus |
| |
} |
| |
#endif |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
return f != gethostbyname; |
| ; |
; |
| return 0; |
return 0; |
| } |
} |
| _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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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. */ |
| #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 2207 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 |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
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 |
| Line 2244 if test "${ac_cv_func_dlopen+set}" = set; then |
|
| Line 2636 if test "${ac_cv_func_dlopen+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. */ |
| #include "confdefs.h" |
_ACEOF |
| |
cat confdefs.h >>conftest.$ac_ext |
| |
cat >>conftest.$ac_ext <<_ACEOF |
| |
/* end confdefs.h. */ |
| |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
| |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| |
#define dlopen innocuous_dlopen |
| |
|
| /* 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 dlopen (); below. */ |
which can conflict with char dlopen (); below. |
| #include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| |
<limits.h> exists even on freestanding compilers. */ |
| |
|
| |
#ifdef __STDC__ |
| |
# include <limits.h> |
| |
#else |
| |
# include <assert.h> |
| |
#endif |
| |
|
| |
#undef dlopen |
| |
|
| /* 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 dlopen (); |
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 |
/* 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_dlopen) || defined (__stub___dlopen) |
#if defined (__stub_dlopen) || defined (__stub___dlopen) |
| choke me |
choke me |
| #else |
#else |
| f = dlopen; |
char (*f) () = dlopen; |
| #endif |
#endif |
| |
#ifdef __cplusplus |
| |
} |
| |
#endif |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
return f != dlopen; |
| ; |
; |
| return 0; |
return 0; |
| } |
} |
| _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_dlopen=yes |
ac_cv_func_dlopen=yes |
| else |
else |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| ac_cv_func_dlopen=no |
ac_cv_func_dlopen=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_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
| echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
| ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
| LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| #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 dlopen (); |
char dlopen (); |
| #ifdef F77_DUMMY_MAIN |
|
| # ifdef __cplusplus |
|
| extern "C" |
|
| # endif |
|
| int F77_DUMMY_MAIN() { return 1; } |
|
| #endif |
|
| int |
int |
| main () |
main () |
| { |
{ |
|
|
| _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_dl_dlopen=yes |
ac_cv_lib_dl_dlopen=yes |
| else |
else |
| echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| ac_cv_lib_dl_dlopen=no |
ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&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 |
| |
|
| ac_config_files="$ac_config_files Makefile" |
# 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" |
| 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 2383 cat >confcache <<\_ACEOF |
|
| Line 3445 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 overriden when |
# `ac_cv_env_foo' variables (set or unset) will be overridden 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. |
| |
|
|
|
| # `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; |
| } | |
} | |
|
|
| t end |
t end |
| /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| : end' >>confcache |
: end' >>confcache |
| if cmp -s $cache_file confcache; then :; else |
if diff $cache_file confcache >/dev/null 2>&1; 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 2437 test "x$exec_prefix" = xNONE && exec_prefix='${prefix} |
|
| Line 3499 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 |
| Line 2480 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_L |
|
| Line 3542 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 2494 cat >$CONFIG_STATUS <<_ACEOF |
|
| Line 3571 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 2507 cat >>$CONFIG_STATUS <<\_ACEOF |
|
| Line 3585 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 |
| |
DUALCASE=1; export DUALCASE # for MKS sh |
| |
|
| # NLS nuisances. |
|
| # 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 |
| 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 -z "`(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=`(basename "$0") 2>/dev/null || |
as_me=`$as_basename "$0" || |
| $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 2567 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
| Line 3657 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" >conftest.sh |
echo "#! /bin/sh" >conf$$.sh |
| echo "exit 0" >>conftest.sh |
echo "exit 0" >>conf$$.sh |
| chmod +x conftest.sh |
chmod +x conf$$.sh |
| if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| PATH_SEPARATOR=';' |
PATH_SEPARATOR=';' |
| else |
else |
| PATH_SEPARATOR=: |
PATH_SEPARATOR=: |
| fi |
fi |
| rm -f conftest.sh |
rm -f conf$$.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 |
| |
test -d ./-p && rmdir ./-p |
| |
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. |
| 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 |
|
|
| IFS=" $as_nl" |
IFS=" $as_nl" |
| |
|
| # CDPATH. |
# CDPATH. |
| $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
$as_unset 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.53. 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 2770 Usage: $0 [OPTIONS] [FILE]... |
|
| Line 3869 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] |
| 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.53, |
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 |
|
|
| --*=*) |
--*=*) |
| ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| shift |
ac_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 $1 in |
case $ac_option in |
| # Handling of the options. |
# Handling of the options. |
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF |
|
| -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
| 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 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| |
ac_cs_recheck=: ;; |
| --version | --vers* | -V ) |
--version | --vers* | -V ) |
| echo "$ac_cs_version"; exit 0 ;; |
echo "$ac_cs_version"; exit 0 ;; |
| --he | --h) |
--he | --h) |
| Line 2837 Try \`$0 --help' for more information." >&2;} |
|
| Line 3936 Try \`$0 --help' for more information." >&2;} |
|
| --debug | --d* | -d ) |
--debug | --d* | -d ) |
| debug=: ;; |
debug=: ;; |
| --file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
| shift |
$ac_shift |
| CONFIG_FILES="$CONFIG_FILES $1" |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| ac_need_defaults=false;; |
ac_need_defaults=false;; |
| --header | --heade | --head | --hea ) |
--header | --heade | --head | --hea ) |
| shift |
$ac_shift |
| CONFIG_HEADERS="$CONFIG_HEADERS $1" |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 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 2858 Try \`$0 --help' for more information." >&2;} |
|
| Line 3960 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 2884 if $ac_need_defaults; then |
|
| Line 4000 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 "$TMPDIR/csXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| test -n "$tmp" && test -d "$tmp" |
test -n "$tmp" && test -d "$tmp" |
| } || |
} || |
| { |
{ |
| tmp=$TMPDIR/cs$$-$RANDOM |
tmp=./confstat$$-$RANDOM |
| (umask 077 && mkdir $tmp) |
(umask 077 && mkdir $tmp) |
| } || |
} || |
| { |
{ |
| echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
echo "$me: cannot create a temporary directory in ." >&2 |
| { (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
| } |
} |
| |
|
| Line 2959 s,@EXEEXT@,$EXEEXT,;t t |
|
| Line 4078 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,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| CEOF |
CEOF |
| |
|
| _ACEOF |
_ACEOF |
|
|
| (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 3008 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = |
|
| Line 4132 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; } |
| /^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
| /^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
| s/.*/./; q'` |
s/.*/./; q'` |
| { case "$ac_dir" in |
{ if $as_mkdir_p; then |
| [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
mkdir -p "$ac_dir" |
| *) as_incr_dir=.;; |
else |
| esac |
as_dir="$ac_dir" |
| as_dummy="$ac_dir" |
as_dirs= |
| for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
while test ! -d "$as_dir"; do |
| case $as_mkdir_dir in |
as_dirs="$as_dir $as_dirs" |
| # Skip DOS drivespec |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| ?:) as_incr_dir=$as_mkdir_dir ;; |
$as_expr 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" || |
X"$as_dir" : 'X\(/\)' \| \ |
| mkdir "$as_incr_dir" || |
. : '\(.\)' 2>/dev/null || |
| { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 |
echo X"$as_dir" | |
| echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| { (exit 1); exit 1; }; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| ;; |
/^X\(\/\/\)$/{ s//\1/; q; } |
| esac |
/^X\(\/\).*/{ s//\1/; q; } |
| done; } |
s/.*/./; q'` |
| |
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=. |
| |
|
| Line 3074 case $srcdir in |
|
| Line 4203 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 3097 echo "$as_me: creating $ac_file" >&6;} |
|
| Line 4259 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 3106 echo "$as_me: creating $ac_file" >&6;} |
|
| Line 4268 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 |
| Line 3173 ac_clean_files=$ac_clean_files_save |
|
| Line 4335 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_cs_success=false |
$SHELL $CONFIG_STATUS $ac_config_status_args || 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. |