version 1.32 | | version 1.33 |
---|
| | |
#! /bin/sh | | #! /bin/sh |
# From configure.ac Id: configure.ac. | | # From configure.ac Id: configure.ac. |
# Guess values for system-dependent variables and create Makefiles. | | # Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.53 for crossfire 1.4.0. | | # Generated by GNU Autoconf 2.57 for crossfire 1.4.0. |
# | | # |
# Report bugs to <crossfire-devel@listserv.real-time.com>. | | # Report bugs to <crossfire-devel@listserv.real-time.com>. |
# | | # |
| | |
# 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. |
| | ## --------------------- ## |
| | ## M4sh Initialization. ## |
| | ## --------------------- ## |
| | |
# Find the correct PATH separator. Usually this is `:', but | | # Be Bourne compatible |
# DJGPP uses `;' like DOS. | | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test "X${PATH_SEPARATOR+set}" != Xset; then | | emulate sh |
UNAME=${UNAME-`uname 2>/dev/null`} | | NULLCMD=: |
case X$UNAME in | | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
*-DOS) lt_cv_sys_path_separator=';' ;; | | # is contrary to our usage. Disable this feature. |
*) lt_cv_sys_path_separator=':' ;; | | alias -g '${1+"$@"}'='"$@"' |
esac | | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
PATH_SEPARATOR=$lt_cv_sys_path_separator | | set -o posix |
fi | | fi |
| | |
| | # Support unset when possible. |
# Check that we are running under the correct shell. | | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
SHELL=${CONFIG_SHELL-/bin/sh} | | as_unset=unset |
| | |
case X$ECHO in | | |
X*--fallback-echo) | | |
# Remove one level of quotation (which was required for Make). | | |
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | | |
;; | | |
esac | | |
| | |
echo=${ECHO-echo} | | |
if test "X$1" = X--no-reexec; then | | |
# Discard the --no-reexec flag, and continue. | | |
shift | | |
elif test "X$1" = X--fallback-echo; then | | |
# Avoid inline document here, it may be left over | | |
: | | |
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then | | |
# Yippee, $echo works! | | |
: | | |
else | | else |
# Restart under the correct shell. | | as_unset=false |
exec $SHELL "$0" --no-reexec ${1+"$@"} | | |
fi | | |
| | |
if test "X$1" = X--fallback-echo; then | | |
# used as fallback echo | | |
shift | | |
cat <<EOF | | |
| | |
EOF | | |
exit 0 | | |
fi | | |
| | |
# The HP-UX ksh and POSIX shell print the target directory to stdout | | |
# if CDPATH is set. | | |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | | |
| | |
if test -z "$ECHO"; then | | |
if test "X${echo_test_string+set}" != Xset; then | | |
# find a string as large as possible, as long as the shell can cope with it | | |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | | |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | | |
if (echo_test_string="`eval $cmd`") 2>/dev/null && | | |
echo_test_string="`eval $cmd`" && | | |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | | |
then | | |
break | | |
fi | | |
done | | |
fi | | fi |
| | |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | | |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | | |
test "X$echo_testing_string" = "X$echo_test_string"; then | | |
: | | |
else | | |
# The Solaris, AIX, and Digital Unix default echo programs unquote | | |
# backslashes. This makes it impossible to quote backslashes using | | |
# echo "$something" | sed 's/\\/\\\\/g' | | |
# | | |
# So, first we look for a working echo in the user's PATH. | | |
| | |
IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR | | # Work around bugs in pre-3.0 UWIN ksh. |
for dir in $PATH /usr/ucb; do | | $as_unset ENV MAIL MAILPATH |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | | PS1='$ ' |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | | PS2='> ' |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | | PS4='+ ' |
test "X$echo_testing_string" = "X$echo_test_string"; then | | |
echo="$dir/echo" | | |
break | | |
fi | | |
done | | |
IFS="$save_ifs" | | |
| | |
if test "X$echo" = Xecho; then | | # NLS nuisances. |
# We didn't find a better echo, so look for alternatives. | | for as_var in \ |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
test "X$echo_testing_string" = "X$echo_test_string"; then | | LC_TELEPHONE LC_TIME |
# This shell has a builtin print -r that does the trick. | | do |
echo='print -r' | | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | | eval $as_var=C; export $as_var |
test "X$CONFIG_SHELL" != X/bin/ksh; then | | |
# If we have ksh, try running configure again with it. | | |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | | |
export ORIGINAL_CONFIG_SHELL | | |
CONFIG_SHELL=/bin/ksh | | |
export CONFIG_SHELL | | |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | | |
else | | |
# Try using printf. | | |
echo='printf %s\n' | | |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | | |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | | |
test "X$echo_testing_string" = "X$echo_test_string"; then | | |
# Cool, printf works | | |
: | | |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | | |
test "X$echo_testing_string" = 'X\t' && | | |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | | |
test "X$echo_testing_string" = "X$echo_test_string"; then | | |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | | |
export CONFIG_SHELL | | |
SHELL="$CONFIG_SHELL" | | |
export SHELL | | |
echo="$CONFIG_SHELL $0 --fallback-echo" | | |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | | |
test "X$echo_testing_string" = 'X\t' && | | |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | | |
test "X$echo_testing_string" = "X$echo_test_string"; then | | |
echo="$CONFIG_SHELL $0 --fallback-echo" | | |
else | | else |
# maybe with a smaller string... | | $as_unset $as_var |
prev=: | | |
| | |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | | |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | | |
then | | |
break | | |
fi | | fi |
prev="$cmd" | | |
done | | done |
| | |
if test "$prev" != 'sed 50q "$0"'; then | | # Required to use basename. |
echo_test_string=`eval $prev` | | |
export echo_test_string | | |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | | |
else | | |
# Oops. We lost completely, so just stick with echo. | | |
echo=echo | | |
fi | | |
fi | | |
fi | | |
fi | | |
fi | | |
fi | | |
| | |
# Copy echo and quote the copy suitably for passing to libtool from | | |
# the Makefile, instead of quoting the original, which is used later. | | |
ECHO=$echo | | |
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | | |
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | | |
fi | | |
| | |
| | |
| | |
if expr a : '\(a\)' >/dev/null 2>&1; then | | if expr a : '\(a\)' >/dev/null 2>&1; then |
as_expr=expr | | as_expr=expr |
else | | else |
as_expr=false | | as_expr=false |
fi | | fi |
| | |
| | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
## --------------------- ## | | as_basename=basename |
## M4sh Initialization. ## | | |
## --------------------- ## | | |
| | |
# Be Bourne compatible | | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | |
emulate sh | | |
NULLCMD=: | | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | | |
set -o posix | | |
fi | | |
| | |
# NLS nuisances. | | |
# Support unset when possible. | | |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | | |
as_unset=unset | | |
else | | else |
as_unset=false | | as_basename=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; } | | |
| | |
| | |
# 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' |
| | |
| | |
# 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 |
| | 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_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| | |
| | |
# IFS | | # IFS |
# We need space, tab and new line, in precisely that order. | | # We need space, tab and new line, in precisely that order. |
as_nl=' | | as_nl=' |
' | | ' |
IFS=" $as_nl" | | IFS=" $as_nl" |
| | |
| | # CDPATH. |
| | $as_unset CDPATH |
| | |
| | |
| | # Find the correct PATH separator. Usually this is `:', but |
| | # DJGPP uses `;' like DOS. |
| | if test "X${PATH_SEPARATOR+set}" != Xset; then |
| | UNAME=${UNAME-`uname 2>/dev/null`} |
| | case X$UNAME in |
| | *-DOS) lt_cv_sys_path_separator=';' ;; |
| | *) lt_cv_sys_path_separator=':' ;; |
| | esac |
| | PATH_SEPARATOR=$lt_cv_sys_path_separator |
| | fi |
| | |
| | |
| | # Check that we are running under the correct shell. |
| | SHELL=${CONFIG_SHELL-/bin/sh} |
| | |
| | case X$ECHO in |
| | X*--fallback-echo) |
| | # Remove one level of quotation (which was required for Make). |
| | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` |
| | ;; |
| | esac |
| | |
| | echo=${ECHO-echo} |
| | if test "X$1" = X--no-reexec; then |
| | # Discard the --no-reexec flag, and continue. |
| | shift |
| | elif test "X$1" = X--fallback-echo; then |
| | # Avoid inline document here, it may be left over |
| | : |
| | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then |
| | # Yippee, $echo works! |
| | : |
| | else |
| | # Restart under the correct shell. |
| | exec $SHELL "$0" --no-reexec ${1+"$@"} |
| | fi |
| | |
| | if test "X$1" = X--fallback-echo; then |
| | # used as fallback echo |
| | shift |
| | cat <<EOF |
| | |
| | EOF |
| | exit 0 |
| | fi |
| | |
| | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| | # if CDPATH is set. |
| | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
| | |
| | if test -z "$ECHO"; then |
| | if test "X${echo_test_string+set}" != Xset; then |
| | # find a string as large as possible, as long as the shell can cope with it |
| | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
| | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| | if (echo_test_string="`eval $cmd`") 2>/dev/null && |
| | echo_test_string="`eval $cmd`" && |
| | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
| | then |
| | break |
| | fi |
| | done |
| | fi |
| | |
| | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | : |
| | else |
| | # The Solaris, AIX, and Digital Unix default echo programs unquote |
| | # backslashes. This makes it impossible to quote backslashes using |
| | # echo "$something" | sed 's/\\/\\\\/g' |
| | # |
| | # So, first we look for a working echo in the user's PATH. |
| | |
| | IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| | for dir in $PATH /usr/ucb; do |
| | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
| | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
| | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | echo="$dir/echo" |
| | break |
| | fi |
| | done |
| | IFS="$save_ifs" |
| | |
| | if test "X$echo" = Xecho; then |
| | # We didn't find a better echo, so look for alternatives. |
| | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
| | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | # This shell has a builtin print -r that does the trick. |
| | echo='print -r' |
| | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
| | test "X$CONFIG_SHELL" != X/bin/ksh; then |
| | # If we have ksh, try running configure again with it. |
| | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| | export ORIGINAL_CONFIG_SHELL |
| | CONFIG_SHELL=/bin/ksh |
| | export CONFIG_SHELL |
| | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
| | else |
| | # Try using printf. |
| | echo='printf %s\n' |
| | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | # Cool, printf works |
| | : |
| | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
| | test "X$echo_testing_string" = 'X\t' && |
| | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
| | export CONFIG_SHELL |
| | SHELL="$CONFIG_SHELL" |
| | export SHELL |
| | echo="$CONFIG_SHELL $0 --fallback-echo" |
| | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
| | test "X$echo_testing_string" = 'X\t' && |
| | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| | test "X$echo_testing_string" = "X$echo_test_string"; then |
| | echo="$CONFIG_SHELL $0 --fallback-echo" |
| | else |
| | # maybe with a smaller string... |
| | prev=: |
| | |
| | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
| | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
| | then |
| | break |
| | fi |
| | prev="$cmd" |
| | done |
| | |
| | if test "$prev" != 'sed 50q "$0"'; then |
| | echo_test_string=`eval $prev` |
| | export echo_test_string |
| | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
| | else |
| | # Oops. We lost completely, so just stick with echo. |
| | echo=echo |
| | fi |
| | fi |
| | fi |
| | fi |
| | fi |
| | fi |
| | |
| | # Copy echo and quote the copy suitably for passing to libtool from |
| | # the Makefile, instead of quoting the original, which is used later. |
| | ECHO=$echo |
| | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
| | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
| | fi |
| | |
# CDPATH. | | |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | | |
| | |
| | |
# Name of the host. | | # Name of the host. |
| | |
# Initializations. | | # Initializations. |
# | | # |
ac_default_prefix=/usr/local | | ac_default_prefix=/usr/local |
| | ac_config_libobj_dir=. |
cross_compiling=no | | cross_compiling=no |
subdirs= | | subdirs= |
MFLAGS= | | MFLAGS= |
| | |
# include <unistd.h> | | # include <unistd.h> |
#endif" | | #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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT LATEX GZIP GUNZIP PERL BASENAME COMPRESS UNCOMPRESS BZIP BUNZIP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS x_includes x_libraries no_x X11LIBS pkgstatedir pkgconfdir HAVE_LIBDL_TRUE HAVE_LIBDL_FALSE PYTHON_LIB PY_LIBS PY_INCLUDES PYTHON_PLUGIN_TRUE PYTHON_PLUGIN_FALSE PLUGIN_PYTHON LTLIBOBJS' |
| | ac_subst_files='' |
| | |
# Initialize some variables set by options. | | # Initialize some variables set by options. |
ac_init_help= | | ac_init_help= |
| | |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
fi | | fi |
| | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| | { (exit 1); exit 1; }; } |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
ac_env_build_alias_set=${build_alias+set} | | ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_value=$build_alias | | ac_env_build_alias_value=$build_alias |
| | |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# absolute. | | # absolute. |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| | |
| | |
if $ac_init_version; then | | if $ac_init_version; then |
cat <<\_ACEOF | | cat <<\_ACEOF |
crossfire configure 1.4.0 | | crossfire configure 1.4.0 |
generated by GNU Autoconf 2.53 | | generated by GNU Autoconf 2.57 |
| | |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Free Software Foundation, Inc. | | Free Software Foundation, Inc. |
| | |
running configure, to aid debugging if configure makes a mistake. | | running configure, to aid debugging if configure makes a mistake. |
| | |
It was created by crossfire $as_me 1.4.0, which was | | It was created by crossfire $as_me 1.4.0, which was |
generated by GNU Autoconf 2.53. Invocation command line was | | generated by GNU Autoconf 2.57. Invocation command line was |
| | |
$ $0 $@ | | $ $0 $@ |
| | |
| | |
| | |
# Keep a trace of the command line. | | # Keep a trace of the command line. |
# Strip out --no-create and --no-recursion so they do not pile up. | | # Strip out --no-create and --no-recursion so they do not pile up. |
| | # Strip out --silent because we don't want to record it for future runs. |
# Also quote any args containing shell meta-characters. | | # Also quote any args containing shell meta-characters. |
| | # Make two passes to allow for proper duplicate-argument suppression. |
ac_configure_args= | | ac_configure_args= |
| | ac_configure_args0= |
| | ac_configure_args1= |
ac_sep= | | ac_sep= |
| | ac_must_keep_next=false |
| | for ac_pass in 1 2 |
| | do |
for ac_arg | | for ac_arg |
do | | do |
case $ac_arg in | | case $ac_arg in |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ | | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| --no-cr | --no-c | -n ) continue ;; | | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ | | | -silent | --silent | --silen | --sile | --sil) |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | | |
continue ;; | | continue ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
esac | | esac |
case " $ac_configure_args " in | | case $ac_pass in |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | | 2) |
ac_sep=" " ;; | | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| | 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 | | esac |
| | fi |
| | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
# Get rid of the leading space. | | # 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 |
| | |
# Save into config.log some information that might help in debugging. | | # Save into config.log some information that might help in debugging. |
{ | | { |
echo | | echo |
| | |
cat <<\_ASBOX | | cat <<\_ASBOX |
## ---------------- ## | | ## ---------------- ## |
## Cache variables. ## | | ## Cache variables. ## |
| | |
esac; | | esac; |
} | | } |
echo | | echo |
| | |
| | cat <<\_ASBOX |
| | ## ----------------- ## |
| | ## Output variables. ## |
| | ## ----------------- ## |
| | _ASBOX |
| | echo |
| | for ac_var in $ac_subst_vars |
| | do |
| | eval ac_val=$`echo $ac_var` |
| | echo "$ac_var='"'"'$ac_val'"'"'" |
| | done | sort |
| | echo |
| | |
| | if test -n "$ac_subst_files"; then |
| | cat <<\_ASBOX |
| | ## ------------- ## |
| | ## Output files. ## |
| | ## ------------- ## |
| | _ASBOX |
| | echo |
| | for ac_var in $ac_subst_files |
| | do |
| | eval ac_val=$`echo $ac_var` |
| | echo "$ac_var='"'"'$ac_val'"'"'" |
| | done | sort |
| | echo |
| | fi |
| | |
if test -s confdefs.h; then | | if test -s confdefs.h; then |
cat <<\_ASBOX | | cat <<\_ASBOX |
## ----------- ## | | ## ----------- ## |
| | |
## ----------- ## | | ## ----------- ## |
_ASBOX | | _ASBOX |
echo | | echo |
sed "/^$/d" confdefs.h | | sed "/^$/d" confdefs.h | sort |
echo | | echo |
fi | | fi |
test "$ac_signal" != 0 && | | test "$ac_signal" != 0 && |
| | |
| | |
| | |
| | |
| | |
ac_aux_dir= | | ac_aux_dir= |
for ac_dir in utils $srcdir/utils; do | | for ac_dir in utils $srcdir/utils; do |
if test -f $ac_dir/install-sh; then | | if test -f $ac_dir/install-sh; then |
| | |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| | |
| | |
am__api_version="1.6" | | am__api_version="1.7" |
# Find a good install program. We prefer a C program (faster), | | # Find a good install program. We prefer a C program (faster), |
# so one script is as good as another. But avoid the broken or | | # so one script is as good as another. But avoid the broken or |
# incompatible versions: | | # incompatible versions: |
| | |
test -n "$AWK" && break | | test -n "$AWK" && break |
done | | done |
| | |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 | | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | | else |
cat >conftest.make <<\_ACEOF | | cat >conftest.make <<\_ACEOF |
all: | | all: |
@echo 'ac_maketemp="${MAKE}"' | | @echo 'ac_maketemp="$(MAKE)"' |
_ACEOF | | _ACEOF |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. | | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| | |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
| | |
| | # test whether we have cygpath |
| | if test -z "$CYGPATH_W"; then |
| | if (cygpath --version) >/dev/null 2>/dev/null; then |
| | CYGPATH_W='cygpath -w' |
| | else |
| | CYGPATH_W=echo |
| | fi |
| | fi |
| | |
| | |
# Define the identity of the package. | | # Define the identity of the package. |
PACKAGE=crossfire | | PACKAGE=crossfire |
VERSION=1.4.0 | | VERSION=1.4.0 |
| | |
| | |
| | |
| | |
# Add the stamp file to the list of files AC keeps track of, | | |
# along with our hook. | | |
ac_config_headers="$ac_config_headers include/autoconf.h" | | ac_config_headers="$ac_config_headers include/autoconf.h" |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
# Check whether --enable-shared or --disable-shared was given. | | # Check whether --enable-shared or --disable-shared was given. |
if test "${enable_shared+set}" = set; then | | if test "${enable_shared+set}" = set; then |
enableval="$enable_shared" | | enableval="$enable_shared" |
| | |
# In particular we don't look at `^make:' because GNU make might | | # In particular we don't look at `^make:' because GNU make might |
# be invoked under some other name (usually "gmake"), in which | | # be invoked under some other name (usually "gmake"), in which |
# case it prints its new name instead of `make'. | | # case it prints its new name instead of `make'. |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then | | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
am__include=include | | am__include=include |
am__quote= | | am__quote= |
_am_result=GNU | | _am_result=GNU |
| | |
# 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. |
| | |
| | |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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. |
| | |
# 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 | | ;; |
| | conftest.$ac_ext ) |
| | # This is the source file. |
| | ;; |
| | [ab].out ) |
| | # We found the default executable, but exeext='' is most |
# certainly right. | | # certainly right. |
break;; | | break;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | *.* ) |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. | | 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 | | export ac_cv_exeext |
break;; | | break;; |
* ) 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 |
| | |
| | |
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. |
| | |
# 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;; |
| | |
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 |
| | |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
(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 |
| | |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
| | |
CFLAGS= | | CFLAGS= |
fi | | fi |
fi | | fi |
| | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | else |
| | ac_cv_prog_cc_stdc=no |
| | ac_save_CC=$CC |
| | cat >conftest.$ac_ext <<_ACEOF |
| | #line $LINENO "configure" |
| | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
| | #include <stdarg.h> |
| | #include <stdio.h> |
| | #include <sys/types.h> |
| | #include <sys/stat.h> |
| | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| | struct buf { int x; }; |
| | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| | static char *e (p, i) |
| | char **p; |
| | int i; |
| | { |
| | return p[i]; |
| | } |
| | static char *f (char * (*g) (char **, int), char **p, ...) |
| | { |
| | char *s; |
| | va_list v; |
| | va_start (v,p); |
| | s = g (p, va_arg (v,int)); |
| | va_end (v); |
| | return s; |
| | } |
| | int test (int i, double x); |
| | struct s1 {int (*f) (int a);}; |
| | struct s2 {int (*f) (double a);}; |
| | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| | int argc; |
| | char **argv; |
| | int |
| | main () |
| | { |
| | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| | ; |
| | return 0; |
| | } |
| | _ACEOF |
| | # Don't try gcc -ansi; that turns off useful extensions and |
| | # breaks some systems' header files. |
| | # AIX -qlanglvl=ansi |
| | # Ultrix and OSF/1 -std1 |
| | # HP-UX 10.20 and later -Ae |
| | # HP-UX older versions -Aa -D_HPUX_SOURCE |
| | # SVR4 -Xc -D__EXTENSIONS__ |
| | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| | do |
| | CC="$ac_save_CC $ac_arg" |
| | rm -f conftest.$ac_objext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); } && |
| | { ac_try='test -s conftest.$ac_objext' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; }; then |
| | ac_cv_prog_cc_stdc=$ac_arg |
| | break |
| | else |
| | echo "$as_me: failed program was:" >&5 |
| | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
| | fi |
| | rm -f conftest.$ac_objext |
| | done |
| | rm -f conftest.$ac_ext conftest.$ac_objext |
| | CC=$ac_save_CC |
| | |
| | fi |
| | |
| | case "x$ac_cv_prog_cc_stdc" in |
| | x|xno) |
| | echo "$as_me:$LINENO: result: none needed" >&5 |
| | echo "${ECHO_T}none needed" >&6 ;; |
| | *) |
| | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| | CC="$CC $ac_cv_prog_cc_stdc" ;; |
| | esac |
| | |
# Some people use a C++ compiler to compile C. Since we use `exit', | | # Some people use a C++ compiler to compile C. Since we use `exit', |
# in C++ we need to declare it. In case someone uses the same compiler | | # in C++ we need to declare it. In case someone uses the same compiler |
# for both compiling C and C++ we need to have the C++ compiler decide | | # for both compiling C and C++ we need to have the C++ compiler decide |
| | |
do | | do |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
$ac_declaration | | $ac_declaration |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
: | | : |
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.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
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 |
| | |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
ac_ext=c | | ac_ext=c |
| | |
if depmode=$depmode \ | | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ | | source=conftest.c object=conftest.o \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ | | depfile=conftest.Po tmpdepfile=conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && | | $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && | | grep conftest.h conftest.Po > /dev/null 2>&1 && |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then | | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
am_cv_CC_dependencies_compiler_type=$depmode | | am_cv_CC_dependencies_compiler_type=$depmode |
| | |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| | |
| | |
| | |
| | if |
| | test "x$enable_dependency_tracking" != xno \ |
| | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| | am__fastdepCC_TRUE= |
| | am__fastdepCC_FALSE='#' |
| | else |
| | am__fastdepCC_TRUE='#' |
| | am__fastdepCC_FALSE= |
| | fi |
| | |
| | |
# Find the correct PATH separator. Usually this is `:', but | | # Find the correct PATH separator. Usually this is `:', but |
# DJGPP uses `;' like DOS. | | # DJGPP uses `;' like DOS. |
if test "X${PATH_SEPARATOR+set}" != Xset; then | | if test "X${PATH_SEPARATOR+set}" != Xset; then |
| | |
fi | | fi |
fi | | fi |
done | | done |
IFS="$ac_save_ifs" | | IFS="$ac_save_ifs" |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
fi | | fi |
| | fi |
| | |
| | NM="$lt_cv_path_NM" |
| | echo "$as_me:$LINENO: result: $NM" >&5 |
| | echo "${ECHO_T}$NM" >&6 |
| | |
| | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
| | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
| | if test "${lt_cv_path_SED+set}" = set; then |
| | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | else |
| | # Loop through the user's path and test for sed and gsed. |
| | # Then use that list of sed's as ones to test for truncation. |
| | as_executable_p="test -f" |
| | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | for as_dir in $PATH |
| | do |
| | IFS=$as_save_IFS |
| | test -z "$as_dir" && as_dir=. |
| | for ac_prog in sed gsed; do |
| | for ac_exec_ext in '' $ac_executable_extensions; do |
| | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| | _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" |
| | fi |
| | done |
| | done |
| | done |
| | |
| | # Create a temporary directory, and hook for its removal unless debugging. |
| | $debug || |
| | { |
| | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| | } |
| | |
| | # Create a (secure) tmp directory for tmp files. |
| | : ${TMPDIR=/tmp} |
| | { |
| | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && |
| | test -n "$tmp" && test -d "$tmp" |
| | } || |
| | { |
| | tmp=$TMPDIR/sed$$-$RANDOM |
| | (umask 077 && mkdir $tmp) |
| | } || |
| | { |
| | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
| | { (exit 1); exit 1; } |
| | } |
| | _max=0 |
| | _count=0 |
| | # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
| | # along with /bin/sed that truncates output. |
| | for _sed in $_sed_list /usr/xpg4/bin/sed; do |
| | test ! -f ${_sed} && break |
| | cat /dev/null > "$tmp/sed.in" |
| | _count=0 |
| | echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" |
| | # Check for GNU sed and select it if it is found. |
| | if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then |
| | lt_cv_path_SED=${_sed} |
| | break |
| | fi |
| | while true; do |
| | cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" |
| | mv "$tmp/sed.tmp" "$tmp/sed.in" |
| | cp "$tmp/sed.in" "$tmp/sed.nl" |
| | echo >>"$tmp/sed.nl" |
| | ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break |
| | cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break |
| | # 40000 chars as input seems more than enough |
| | test $_count -gt 10 && break |
| | _count=`expr $_count + 1` |
| | if test $_count -gt $_max; then |
| | _max=$_count |
| | lt_cv_path_SED=$_sed |
| | fi |
| | done |
| | done |
| | rm -rf "$tmp" |
| | |
fi | | fi |
| | |
NM="$lt_cv_path_NM" | | if test "X$SED" != "X"; then |
echo "$as_me:$LINENO: result: $NM" >&5 | | lt_cv_path_SED=$SED |
echo "${ECHO_T}$NM" >&6 | | else |
| | SED=$lt_cv_path_SED |
| | fi |
| | echo "$as_me:$LINENO: result: $SED" >&5 |
| | echo "${ECHO_T}$SED" >&6 |
| | |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 | | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
| | |
echo "${ECHO_T}no, using $LN_S" >&6 | | echo "${ECHO_T}no, using $LN_S" >&6 |
fi | | fi |
| | |
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 | | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 |
if test "${lt_cv_deplibs_check_method+set}" = set; then | | if test "${lt_cv_deplibs_check_method+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | | else |
| | |
lt_cv_file_magic_test_file=/usr/lib/libc.sl | | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
;; | | ;; |
| | |
irix5* | irix6*) | | irix5* | irix6* | nonstopux*) |
case $host_os in | | case $host_os in |
irix5*) | | irix5* | nonstopux*) |
# this will be overridden with pass_all, but let us keep it just in case | | # this will be overridden with pass_all, but let us keep it just in case |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
;; | | ;; |
| | |
# This must be Linux ELF. | | # This must be Linux ELF. |
linux-gnu*) | | linux-gnu*) |
case $host_cpu in | | case $host_cpu in |
alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) | | alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) |
lt_cv_deplibs_check_method=pass_all ;; | | lt_cv_deplibs_check_method=pass_all ;; |
*) | | *) |
# glibc up to 2.1.1 does not perform some relocations on ARM | | # glibc up to 2.1.1 does not perform some relocations on ARM |
| | |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
lt_cv_file_magic_test_file=/lib/libc.so | | lt_cv_file_magic_test_file=/lib/libc.so |
;; | | ;; |
| | siemens) |
| | lt_cv_deplibs_check_method=pass_all |
| | ;; |
esac | | esac |
;; | | ;; |
esac | | esac |
| | |
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" | | lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
;; | | ;; |
irix*) | | irix* | nonstopux*) |
symcode='[BCDEGRST]' | | symcode='[BCDEGRST]' |
;; | | ;; |
| | osf*) |
| | symcode='[BCDEGQRST]' |
| | ;; |
solaris* | sysv5*) | | solaris* | sysv5*) |
symcode='[BDT]' | | symcode='[BDT]' |
;; | | ;; |
| | |
(eval $ac_link) 2>&5 | | (eval $ac_link) 2>&5 |
ac_status=$? | | ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && test -s conftest; then | | (exit $ac_status); } && test -s conftest$ac_exeext; then |
pipe_works=yes | | pipe_works=yes |
fi | | fi |
LIBS="$save_LIBS" | | LIBS="$save_LIBS" |
| | |
do | | do |
# Use a header file that comes with gcc, so configuring glibc | | # Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. | | # 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, | | # 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. | | # not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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> | | #include <assert.h> |
| | #endif |
Syntax error | | Syntax error |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
: | | : |
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 |
| | |
# Broken: fails on valid input. | | # Broken: fails on valid input. |
continue | | continue |
fi | | fi |
| | |
# can be detected and how. | | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ac_nonexistent.h> | | #include <ac_nonexistent.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
continue | | continue |
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 |
| | |
# Passes both tests. | | # Passes both tests. |
ac_preproc_ok=: | | ac_preproc_ok=: |
break | | break |
| | |
do | | do |
# Use a header file that comes with gcc, so configuring glibc | | # Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. | | # 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, | | # 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. | | # not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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> | | #include <assert.h> |
| | #endif |
Syntax error | | Syntax error |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
: | | : |
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 |
| | |
# Broken: fails on valid input. | | # Broken: fails on valid input. |
continue | | continue |
fi | | fi |
| | |
# can be detected and how. | | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ac_nonexistent.h> | | #include <ac_nonexistent.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
continue | | continue |
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 |
| | |
# Passes both tests. | | # Passes both tests. |
ac_preproc_ok=: | | ac_preproc_ok=: |
break | | break |
| | |
if $ac_preproc_ok; then | | if $ac_preproc_ok; then |
: | | : |
else | | else |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | | 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; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
| | |
| | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 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 "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
if test "${ac_cv_header_stdc+set}" = set; then | | if test "${ac_cv_header_stdc+set}" = set; then |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
#include <stdarg.h> | | #include <stdarg.h> |
#include <string.h> | | #include <string.h> |
#include <float.h> | | #include <float.h> |
| | |
| | int |
| | main () |
| | { |
| | |
| | ; |
| | return 0; |
| | } |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | rm -f conftest.$ac_objext |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
ac_status=$? | | ac_status=$? |
egrep -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); } >/dev/null; then | | (exit $ac_status); } && |
if test -s conftest.err; then | | { ac_try='test -s conftest.$ac_objext' |
ac_cpp_err=$ac_c_preproc_warn_flag | | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
else | | (eval $ac_try) 2>&5 |
ac_cpp_err= | | ac_status=$? |
fi | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else | | (exit $ac_status); }; }; then |
ac_cpp_err=yes | | |
fi | | |
if test -z "$ac_cpp_err"; then | | |
ac_cv_header_stdc=yes | | ac_cv_header_stdc=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_header_stdc=no | | ac_cv_header_stdc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <string.h> | | #include <string.h> |
| | |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "memchr" >/dev/null 2>&1; then | | $EGREP "memchr" >/dev/null 2>&1; then |
: | | : |
else | | else |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
| | |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "free" >/dev/null 2>&1; then | | $EGREP "free" >/dev/null 2>&1; then |
: | | : |
else | | else |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ctype.h> | | #include <ctype.h> |
#if ((' ' & 0x0FF) == 0x020) | | #if ((' ' & 0x0FF) == 0x020) |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
#else | | #else |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | | # define ISLOWER(c) \ |
| | (('a' <= (c) && (c) <= 'i') \ |
|| ('j' <= (c) && (c) <= 'r') \ | | || ('j' <= (c) && (c) <= 'r') \ |
|| ('s' <= (c) && (c) <= 'z')) | | || ('s' <= (c) && (c) <= 'z')) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| | |
else | | else |
echo "$as_me: program exited with status $ac_status" >&5 | | echo "$as_me: program exited with status $ac_status" >&5 |
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 |
| | |
( exit $ac_status ) | | ( exit $ac_status ) |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
fi | | fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi | | fi |
fi | | fi |
fi | | fi |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
| | |
#include <$ac_header> | | #include <$ac_header> |
| | |
eval "$as_ac_Header=yes" | | eval "$as_ac_Header=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 |
| | |
eval "$as_ac_Header=no" | | eval "$as_ac_Header=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
| | |
ac_header_compiler=yes | | ac_header_compiler=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_header_compiler=no | | ac_header_compiler=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
ac_header_preproc=yes | | ac_header_preproc=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_header_preproc=no | | ac_header_preproc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.err conftest.$ac_ext |
| | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
no:yes ) | | no:yes ) |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
esac | | esac |
echo "$as_me:$LINENO: checking for $ac_header" >&5 | | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | |
| | |
| | |
| | |
| | |
# Only perform the check for file, if the check method requires it | | # Only perform the check for file, if the check method requires it |
case $deplibs_check_method in | | case $deplibs_check_method in |
file_magic*) | | file_magic*) |
| | |
case $host in | | case $host in |
*-*-irix6*) | | *-*-irix6*) |
# Find out which ABI we are using. | | # Find out which ABI we are using. |
echo '#line 4186 "configure"' > conftest.$ac_ext | | echo '#line 4584 "configure"' > conftest.$ac_ext |
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>&5 |
ac_status=$? | | ac_status=$? |
| | |
| | |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
lt_cv_cc_needs_belf=yes | | lt_cv_cc_needs_belf=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 |
| | |
lt_cv_cc_needs_belf=no | | lt_cv_cc_needs_belf=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
# like `-m68040'. | | # like `-m68040'. |
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' | | lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' |
;; | | ;; |
beos* | irix5* | irix6* | osf3* | osf4* | osf5*) | | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
# PIC is the default for these OSes. | | # PIC is the default for these OSes. |
;; | | ;; |
darwin* | rhapsody*) | | darwin* | rhapsody*) |
| | |
lt_cv_prog_cc_pic='+Z' | | lt_cv_prog_cc_pic='+Z' |
;; | | ;; |
| | |
irix5* | irix6*) | | irix5* | irix6* | nonstopux*) |
lt_cv_prog_cc_wl='-Wl,' | | lt_cv_prog_cc_wl='-Wl,' |
lt_cv_prog_cc_static='-non_shared' | | lt_cv_prog_cc_static='-non_shared' |
# PIC (with -KPIC) is the default. | | # PIC (with -KPIC) is the default. |
| | |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
lt_cv_prog_cc_pic='-KPIC' | | lt_cv_prog_cc_pic='-KPIC' |
lt_cv_prog_cc_static='-Bstatic' | | lt_cv_prog_cc_static='-Bstatic' |
if test "x$host_vendor" = xsni; then | | |
lt_cv_prog_cc_wl='-LD' | | |
else | | |
lt_cv_prog_cc_wl='-Wl,' | | lt_cv_prog_cc_wl='-Wl,' |
fi | | |
;; | | ;; |
| | |
uts4*) | | uts4*) |
| | |
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
| | |
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 |
| | |
lt_cv_prog_cc_pic_works=no | | lt_cv_prog_cc_pic_works=no |
| | |
fi | | fi |
| | |
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
lt_cv_prog_cc_static_works=yes | | lt_cv_prog_cc_static_works=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 |
| | |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LDFLAGS="$save_LDFLAGS" | | LDFLAGS="$save_LDFLAGS" |
| | |
save_CFLAGS="$CFLAGS" | | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
compiler_c_o=no | | compiler_c_o=no |
if { (eval echo configure:4722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then | | if { (eval echo configure:5113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | | # So say no if there are warnings |
if test -s out/conftest.err; then | | if test -s out/conftest.err; then |
| | |
ac_objext=lo | | ac_objext=lo |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
| | |
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.$ac_objext conftest.$ac_ext |
ac_objext="$save_objext" | | ac_objext="$save_objext" |
| | |
compiler_rtti_exceptions=no | | compiler_rtti_exceptions=no |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
| | |
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.$ac_objext conftest.$ac_ext |
CFLAGS="$save_CFLAGS" | | CFLAGS="$save_CFLAGS" |
| | |
# If the export-symbols file already is a .def file (1st line | | # If the export-symbols file already is a .def file (1st line |
# is EXPORTS), use it as is. | | # is EXPORTS), use it as is. |
# If DATA tags from a recent dlltool are present, honour them! | | # If DATA tags from a recent dlltool are present, honour them! |
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then | | archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then |
cp $export_symbols $output_objdir/$soname-def; | | cp $export_symbols $output_objdir/$soname-def; |
else | | else |
echo EXPORTS > $output_objdir/$soname-def; | | echo EXPORTS > $output_objdir/$soname-def; |
| | |
set dummy \$symbol; | | set dummy \$symbol; |
case \$# in | | case \$# in |
2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; | | 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; |
| | 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; |
*) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; | | *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; |
esac; | | esac; |
_lt_hint=`expr 1 + \$_lt_hint`; | | _lt_hint=`expr 1 + \$_lt_hint`; |
| | |
# need to do runtime linking. | | # need to do runtime linking. |
case $host_os in aix4.[23]|aix4.[23].*|aix5*) | | case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
for ld_flag in $LDFLAGS; do | | for ld_flag in $LDFLAGS; do |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | | case $ld_flag in |
| | *-brtl*) |
aix_use_runtimelinking=yes | | aix_use_runtimelinking=yes |
break | | break |
fi | | ;; |
| | esac |
done | | done |
esac | | esac |
| | |
| | |
esac | | esac |
# FIXME: Relying on posixy $() will cause problems for | | # FIXME: Relying on posixy $() will cause problems for |
# cross-compilation, but unfortunately the echo tests do not | | # cross-compilation, but unfortunately the echo tests do not |
# yet detect zsh echo's removal of \ escapes. | | # yet detect zsh echo's removal of \ escapes. Also zsh mangles |
archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' | | # `"' quotes if we put them in here... so don't! |
| | archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' |
# We need to add '_' to the symbols in $export_symbols first | | # We need to add '_' to the symbols in $export_symbols first |
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' | | #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' |
hardcode_direct=yes | | hardcode_direct=yes |
| | |
export_dynamic_flag_spec='${wl}-E' | | export_dynamic_flag_spec='${wl}-E' |
;; | | ;; |
| | |
irix5* | irix6*) | | irix5* | irix6* | nonstopux*) |
if test "$GCC" = yes; then | | if test "$GCC" = yes; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
else | | else |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
| | hardcode_libdir_flag_spec='-rpath $libdir' |
fi | | fi |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | | |
hardcode_libdir_separator=: | | hardcode_libdir_separator=: |
link_all_deplibs=yes | | link_all_deplibs=yes |
;; | | ;; |
| | |
hardcode_direct=yes | | hardcode_direct=yes |
hardcode_shlibpath_var=no | | hardcode_shlibpath_var=no |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
export_dynamic_flag_spec='${wl}-E' | | export_dynamic_flag_spec='${wl}-E' |
else | | else |
| | |
hardcode_libdir_flag_spec='-R$libdir' | | hardcode_libdir_flag_spec='-R$libdir' |
;; | | ;; |
*) | | *) |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
;; | | ;; |
esac | | esac |
| | |
;; | | ;; |
| | |
sysv4) | | sysv4) |
if test "x$host_vendor" = xsno; then | | case $host_vendor in |
archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' | | sni) |
| | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
hardcode_direct=yes # is this really true??? | | hardcode_direct=yes # is this really true??? |
else | | ;; |
| | siemens) |
| | ## LD is ld it makes a PLAMLIB |
| | ## CC just makes a GrossModule. |
| | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| | reload_cmds='$CC -r -o $output$reload_objs' |
| | hardcode_direct=no |
| | ;; |
| | motorola) |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie | | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
fi | | ;; |
| | esac |
runpath_var='LD_RUN_PATH' | | runpath_var='LD_RUN_PATH' |
hardcode_shlibpath_var=no | | hardcode_shlibpath_var=no |
;; | | ;; |
| | |
| | |
aix4* | aix5*) | | aix4* | aix5*) |
version_type=linux | | version_type=linux |
| | need_lib_prefix=no |
| | need_version=no |
| | hardcode_into_libs=yes |
if test "$host_cpu" = ia64; then | | if test "$host_cpu" = ia64; then |
# AIX 5 supports IA64 | | # AIX 5 supports IA64 |
library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' | | library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' |
| | |
fi | | fi |
shlibpath_var=LIBPATH | | shlibpath_var=LIBPATH |
fi | | fi |
| | hardcode_into_libs=yes |
;; | | ;; |
| | |
amigaos*) | | amigaos*) |
| | |
;; | | ;; |
yes,mingw*) | | yes,mingw*) |
library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | | library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` | | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` |
;; | | ;; |
yes,pw32*) | | yes,pw32*) |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' | | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' |
| | |
postinstall_cmds='chmod 555 $lib' | | postinstall_cmds='chmod 555 $lib' |
;; | | ;; |
| | |
irix5* | irix6*) | | irix5* | irix6* | nonstopux*) |
version_type=irix | | case $host_os in |
| | nonstopux*) version_type=nonstopux ;; |
| | *) version_type=irix ;; |
| | esac |
need_lib_prefix=no | | need_lib_prefix=no |
need_version=no | | need_version=no |
soname_spec='${libname}${release}.so$major' | | soname_spec='${libname}${release}.so$major' |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' | | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' |
case $host_os in | | case $host_os in |
irix5*) | | irix5* | nonstopux*) |
libsuff= shlibsuff= | | libsuff= shlibsuff= |
;; | | ;; |
*) | | *) |
| | |
osf3* | osf4* | osf5*) | | osf3* | osf4* | osf5*) |
version_type=osf | | version_type=osf |
need_version=no | | need_version=no |
soname_spec='${libname}${release}.so' | | soname_spec='${libname}${release}.so$major' |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
shlibpath_var=LD_LIBRARY_PATH | | shlibpath_var=LD_LIBRARY_PATH |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| | hardcode_into_libs=yes |
;; | | ;; |
| | |
sco3.2v5*) | | sco3.2v5*) |
| | |
case $host_vendor in | | case $host_vendor in |
sni) | | sni) |
shlibpath_overrides_runpath=no | | shlibpath_overrides_runpath=no |
| | need_lib_prefix=no |
| | export_dynamic_flag_spec='${wl}-Blargedynsym' |
| | runpath_var=LD_RUN_PATH |
| | ;; |
| | siemens) |
| | need_lib_prefix=no |
;; | | ;; |
motorola) | | motorola) |
need_lib_prefix=no | | need_lib_prefix=no |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char shl_load (); below. */ | | which can conflict with char shl_load (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char shl_load (); | | char shl_load (); |
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_shl_load) || defined (__stub___shl_load) | | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
choke me | | choke me |
#else | | #else |
f = shl_load; | | char (*f) () = shl_load; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != shl_load; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
ac_cv_func_shl_load=yes | | ac_cv_func_shl_load=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_shl_load=no | | ac_cv_func_shl_load=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldld $LIBS" | | LIBS="-ldld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 shl_load (); | | char shl_load (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_dld_shl_load=yes | | ac_cv_lib_dld_shl_load=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_dld_shl_load=no | | ac_cv_lib_dld_shl_load=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char dlopen (); below. */ | | which can conflict with char dlopen (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char 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 |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != dlopen; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
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.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldl $LIBS" | | LIBS="-ldl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lsvld $LIBS" | | LIBS="-lsvld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_svld_dlopen=yes | | ac_cv_lib_svld_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_svld_dlopen=no | | ac_cv_lib_svld_dlopen=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldld $LIBS" | | LIBS="-ldld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 dld_link (); | | char dld_link (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_dld_dld_link=yes | | ac_cv_lib_dld_dld_link=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_dld_dld_link=no | | ac_cv_lib_dld_dld_link=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown | | lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 6515 "configure" | | #line 6945 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#if HAVE_DLFCN_H | | #if HAVE_DLFCN_H |
| | |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown | | lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 6613 "configure" | | #line 7043 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#if HAVE_DLFCN_H | | #if HAVE_DLFCN_H |
| | |
# Now quote all the things that may contain metacharacters while being | | # Now quote all the things that may contain metacharacters while being |
# careful not to overquote the AC_SUBSTed values. We take copies of the | | # careful not to overquote the AC_SUBSTed values. We take copies of the |
# variables and quote the copies for generation of the libtool script. | | # variables and quote the copies for generation of the libtool script. |
for var in echo old_CC old_CFLAGS \ | | for var in echo old_CC old_CFLAGS SED \ |
AR AR_FLAGS CC LD LN_S NM SHELL \ | | AR AR_FLAGS CC LD LN_S NM SHELL \ |
reload_flag reload_cmds wl \ | | reload_flag reload_cmds wl \ |
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ | | pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ |
| | |
# configuration script generated by Autoconf, you may include it under | | # configuration script generated by Autoconf, you may include it under |
# the same distribution terms that you use for the rest of that program. | | # the same distribution terms that you use for the rest of that program. |
| | |
| | # A sed that does not truncate output. |
| | SED=$lt_SED |
| | |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. | | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
Xsed="sed -e s/^X//" | | Xsed="${SED} -e s/^X//" |
| | |
# The HP-UX ksh and POSIX shell print the target directory to stdout | | # The HP-UX ksh and POSIX shell print the target directory to stdout |
# if CDPATH is set. | | # if CDPATH is set. |
| | |
# 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. |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
| | |
CFLAGS= | | CFLAGS= |
fi | | fi |
fi | | fi |
| | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | else |
| | ac_cv_prog_cc_stdc=no |
| | ac_save_CC=$CC |
| | cat >conftest.$ac_ext <<_ACEOF |
| | #line $LINENO "configure" |
| | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
| | #include <stdarg.h> |
| | #include <stdio.h> |
| | #include <sys/types.h> |
| | #include <sys/stat.h> |
| | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| | struct buf { int x; }; |
| | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| | static char *e (p, i) |
| | char **p; |
| | int i; |
| | { |
| | return p[i]; |
| | } |
| | static char *f (char * (*g) (char **, int), char **p, ...) |
| | { |
| | char *s; |
| | va_list v; |
| | va_start (v,p); |
| | s = g (p, va_arg (v,int)); |
| | va_end (v); |
| | return s; |
| | } |
| | int test (int i, double x); |
| | struct s1 {int (*f) (int a);}; |
| | struct s2 {int (*f) (double a);}; |
| | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| | int argc; |
| | char **argv; |
| | int |
| | main () |
| | { |
| | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| | ; |
| | return 0; |
| | } |
| | _ACEOF |
| | # Don't try gcc -ansi; that turns off useful extensions and |
| | # breaks some systems' header files. |
| | # AIX -qlanglvl=ansi |
| | # Ultrix and OSF/1 -std1 |
| | # HP-UX 10.20 and later -Ae |
| | # HP-UX older versions -Aa -D_HPUX_SOURCE |
| | # SVR4 -Xc -D__EXTENSIONS__ |
| | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| | do |
| | CC="$ac_save_CC $ac_arg" |
| | rm -f conftest.$ac_objext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); } && |
| | { ac_try='test -s conftest.$ac_objext' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; }; then |
| | ac_cv_prog_cc_stdc=$ac_arg |
| | break |
| | else |
| | echo "$as_me: failed program was:" >&5 |
| | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
| | fi |
| | rm -f conftest.$ac_objext |
| | done |
| | rm -f conftest.$ac_ext conftest.$ac_objext |
| | CC=$ac_save_CC |
| | |
| | fi |
| | |
| | case "x$ac_cv_prog_cc_stdc" in |
| | x|xno) |
| | echo "$as_me:$LINENO: result: none needed" >&5 |
| | echo "${ECHO_T}none needed" >&6 ;; |
| | *) |
| | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| | CC="$CC $ac_cv_prog_cc_stdc" ;; |
| | esac |
| | |
# Some people use a C++ compiler to compile C. Since we use `exit', | | # Some people use a C++ compiler to compile C. Since we use `exit', |
# in C++ we need to declare it. In case someone uses the same compiler | | # in C++ we need to declare it. In case someone uses the same compiler |
# for both compiling C and C++ we need to have the C++ compiler decide | | # for both compiling C and C++ we need to have the C++ compiler decide |
| | |
do | | do |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
$ac_declaration | | $ac_declaration |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
: | | : |
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.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest.$ac_ext |
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 |
| | |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
ac_ext=c | | ac_ext=c |
| | |
if depmode=$depmode \ | | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ | | source=conftest.c object=conftest.o \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ | | depfile=conftest.Po tmpdepfile=conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && | | $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && | | grep conftest.h conftest.Po > /dev/null 2>&1 && |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then | | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
am_cv_CC_dependencies_compiler_type=$depmode | | am_cv_CC_dependencies_compiler_type=$depmode |
| | |
| | |
| | |
| | |
| | if |
| | test "x$enable_dependency_tracking" != xno \ |
| | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| | am__fastdepCC_TRUE= |
| | am__fastdepCC_FALSE='#' |
| | else |
| | am__fastdepCC_TRUE='#' |
| | am__fastdepCC_FALSE= |
| | fi |
| | |
| | |
| | |
case "$target" in | | case "$target" in |
alpha-dec-osf*) | | alpha-dec-osf*) |
# If we are not using gcc, we want the ansi version of cc. | | # If we are not using gcc, we want the ansi version of cc. |
| | |
do | | do |
# Use a header file that comes with gcc, so configuring glibc | | # Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. | | # 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, | | # 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. | | # not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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> | | #include <assert.h> |
| | #endif |
Syntax error | | Syntax error |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
: | | : |
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 |
| | |
# Broken: fails on valid input. | | # Broken: fails on valid input. |
continue | | continue |
fi | | fi |
| | |
# can be detected and how. | | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ac_nonexistent.h> | | #include <ac_nonexistent.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
continue | | continue |
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 |
| | |
# Passes both tests. | | # Passes both tests. |
ac_preproc_ok=: | | ac_preproc_ok=: |
break | | break |
| | |
do | | do |
# Use a header file that comes with gcc, so configuring glibc | | # Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. | | # 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, | | # 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. | | # not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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> | | #include <assert.h> |
| | #endif |
Syntax error | | Syntax error |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
: | | : |
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 |
| | |
# Broken: fails on valid input. | | # Broken: fails on valid input. |
continue | | continue |
fi | | fi |
| | |
# can be detected and how. | | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ac_nonexistent.h> | | #include <ac_nonexistent.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
continue | | continue |
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 |
| | |
# Passes both tests. | | # Passes both tests. |
ac_preproc_ok=: | | ac_preproc_ok=: |
break | | break |
| | |
if $ac_preproc_ok; then | | if $ac_preproc_ok; then |
: | | : |
else | | else |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | | 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; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
| | |
| | |
LIBS="-lfl $LIBS" | | LIBS="-lfl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 yywrap (); | | char yywrap (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_fl_yywrap=yes | | ac_cv_lib_fl_yywrap=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_fl_yywrap=no | | ac_cv_lib_fl_yywrap=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ll $LIBS" | | LIBS="-ll $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 yywrap (); | | char yywrap (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_l_yywrap=yes | | ac_cv_lib_l_yywrap=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_l_yywrap=no | | ac_cv_lib_l_yywrap=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
ac_cv_prog_lex_yytext_pointer=yes | | ac_cv_prog_lex_yytext_pointer=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 |
| | |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_save_LIBS | | LIBS=$ac_save_LIBS |
| | |
LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_nsl_main=yes | | ac_cv_lib_nsl_main=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_main=no | | ac_cv_lib_nsl_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lsocket $LIBS" | | LIBS="-lsocket $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_socket_main=yes | | ac_cv_lib_socket_main=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_main=no | | ac_cv_lib_socket_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
# First, try using that file with no special directory specified. | | # First, try using that file with no special directory specified. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <X11/Intrinsic.h> | | #include <X11/Intrinsic.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
ac_x_includes= | | ac_x_includes= |
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 |
| | |
for ac_dir in $ac_x_header_dirs; do | | for ac_dir in $ac_x_header_dirs; do |
if test -r "$ac_dir/X11/Intrinsic.h"; then | | if test -r "$ac_dir/X11/Intrinsic.h"; then |
ac_x_includes=$ac_dir | | ac_x_includes=$ac_dir |
| | |
LIBS="-lXt $LIBS" | | LIBS="-lXt $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <X11/Intrinsic.h> | | #include <X11/Intrinsic.h> |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_x_libraries= | | ac_x_libraries= |
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 |
| | |
LIBS=$ac_save_LIBS | | LIBS=$ac_save_LIBS |
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
do | | do |
| | |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" | | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_R_nospace=yes | | ac_R_nospace=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_R_nospace=no | | ac_R_nospace=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="$ac_xsave_LIBS -R $x_libraries" | | LIBS="$ac_xsave_LIBS -R $x_libraries" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_R_space=yes | | ac_R_space=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_R_space=no | | ac_R_space=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" | | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 XOpenDisplay (); | | char XOpenDisplay (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
: | | : |
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: checking for dnet_ntoa in -ldnet" >&5 | | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| | |
LIBS="-ldnet $LIBS" | | LIBS="-ldnet $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 dnet_ntoa (); | | char dnet_ntoa (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_dnet_dnet_ntoa=yes | | ac_cv_lib_dnet_dnet_ntoa=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_dnet_dnet_ntoa=no | | ac_cv_lib_dnet_dnet_ntoa=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldnet_stub $LIBS" | | LIBS="-ldnet_stub $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 dnet_ntoa (); | | char dnet_ntoa (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_dnet_stub_dnet_ntoa=yes | | ac_cv_lib_dnet_stub_dnet_ntoa=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_dnet_stub_dnet_ntoa=no | | ac_cv_lib_dnet_stub_dnet_ntoa=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char gethostbyname (); below. */ | | which can conflict with char gethostbyname (); below. |
| | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| | <limits.h> exists even on freestanding compilers. */ |
| | #ifdef __STDC__ |
| | # include <limits.h> |
| | #else |
#include <assert.h> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char gethostbyname (); | | char gethostbyname (); |
char (*f) (); | | |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | |
main () | | |
{ | | |
/* The GNU C library defines this for functions which it implements | | /* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named | | to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ | | something starting with __ and the normal name is an alias. */ |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) | | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
choke me | | choke me |
#else | | #else |
f = gethostbyname; | | char (*f) () = gethostbyname; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != gethostbyname; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
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.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lnsl $LIBS" | | LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lbsd $LIBS" | | LIBS="-lbsd $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_bsd_gethostbyname=yes | | ac_cv_lib_bsd_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_bsd_gethostbyname=no | | ac_cv_lib_bsd_gethostbyname=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char connect (); below. */ | | which can conflict with char connect (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char connect (); | | char connect (); |
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_connect) || defined (__stub___connect) | | #if defined (__stub_connect) || defined (__stub___connect) |
choke me | | choke me |
#else | | #else |
f = connect; | | char (*f) () = connect; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != connect; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
ac_cv_func_connect=yes | | ac_cv_func_connect=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_connect=no | | ac_cv_func_connect=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 connect (); | | char connect (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_socket_connect=yes | | ac_cv_lib_socket_connect=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_connect=no | | ac_cv_lib_socket_connect=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char remove (); below. */ | | which can conflict with char remove (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char remove (); | | char remove (); |
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_remove) || defined (__stub___remove) | | #if defined (__stub_remove) || defined (__stub___remove) |
choke me | | choke me |
#else | | #else |
f = remove; | | char (*f) () = remove; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != remove; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
ac_cv_func_remove=yes | | ac_cv_func_remove=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_remove=no | | ac_cv_func_remove=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lposix $LIBS" | | LIBS="-lposix $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 remove (); | | char remove (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_posix_remove=yes | | ac_cv_lib_posix_remove=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_posix_remove=no | | ac_cv_lib_posix_remove=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char shmat (); below. */ | | which can conflict with char shmat (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char shmat (); | | char shmat (); |
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_shmat) || defined (__stub___shmat) | | #if defined (__stub_shmat) || defined (__stub___shmat) |
choke me | | choke me |
#else | | #else |
f = shmat; | | char (*f) () = shmat; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != shmat; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
ac_cv_func_shmat=yes | | ac_cv_func_shmat=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_shmat=no | | ac_cv_func_shmat=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lipc $LIBS" | | LIBS="-lipc $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 shmat (); | | char shmat (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_ipc_shmat=yes | | ac_cv_lib_ipc_shmat=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_ipc_shmat=no | | ac_cv_lib_ipc_shmat=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" | | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 IceConnectionNumber (); | | char IceConnectionNumber (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_ICE_IceConnectionNumber=yes | | ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber=no | | ac_cv_lib_ICE_IceConnectionNumber=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lX11 $LIBS" | | LIBS="-lX11 $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_X11_main=yes | | ac_cv_lib_X11_main=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_X11_main=no | | ac_cv_lib_X11_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lICE $LIBS" | | LIBS="-lICE $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_ICE_main=yes | | ac_cv_lib_ICE_main=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_ICE_main=no | | ac_cv_lib_ICE_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lSM $X11LIBS $LIBS" | | LIBS="-lSM $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_SM_main=yes | | ac_cv_lib_SM_main=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_SM_main=no | | ac_cv_lib_SM_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lXext -lX11 $LIBS" | | LIBS="-lXext -lX11 $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_Xext_main=yes | | ac_cv_lib_Xext_main=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_Xext_main=no | | ac_cv_lib_Xext_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lXt $X11LIBS $LIBS" | | LIBS="-lXt $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_Xt_main=yes | | ac_cv_lib_Xt_main=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_Xt_main=no | | ac_cv_lib_Xt_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lXmu $X11LIBS $LIBS" | | LIBS="-lXmu $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_Xmu_main=yes | | ac_cv_lib_Xmu_main=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_Xmu_main=no | | ac_cv_lib_Xmu_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lXaw $X11LIBS $LIBS" | | LIBS="-lXaw $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_Xaw_main=yes | | ac_cv_lib_Xaw_main=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_Xaw_main=no | | ac_cv_lib_Xaw_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lXpm $X11LIBS $LIBS" | | LIBS="-lXpm $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_Xpm_main=yes | | ac_cv_lib_Xpm_main=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_Xpm_main=no | | ac_cv_lib_Xpm_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lm $LIBS" | | LIBS="-lm $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_m_main=yes | | ac_cv_lib_m_main=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_m_main=no | | ac_cv_lib_m_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lpng $X11LIBS $LIBS" | | LIBS="-lpng $X11LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_png_main=yes | | ac_cv_lib_png_main=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_png_main=no | | ac_cv_lib_png_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lcrypt $LIBS" | | LIBS="-lcrypt $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_crypt_main=yes | | ac_cv_lib_crypt_main=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_crypt_main=no | | ac_cv_lib_crypt_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldes $LIBS" | | LIBS="-ldes $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 des_crypt (); | | char des_crypt (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_des_des_crypt=yes | | ac_cv_lib_des_des_crypt=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_des_des_crypt=no | | ac_cv_lib_des_des_crypt=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldmalloc $LIBS" | | LIBS="-ldmalloc $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_dmalloc_main=yes | | ac_cv_lib_dmalloc_main=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_dmalloc_main=no | | ac_cv_lib_dmalloc_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-ldmalloclp $LIBS" | | LIBS="-ldmalloclp $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_dmalloclp_main=yes | | ac_cv_lib_dmalloclp_main=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_dmalloclp_main=no | | ac_cv_lib_dmalloclp_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/types.h> | | #include <sys/types.h> |
#include <$ac_hdr> | | #include <$ac_hdr> |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
eval "$as_ac_Header=yes" | | eval "$as_ac_Header=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 |
| | |
eval "$as_ac_Header=no" | | eval "$as_ac_Header=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
ac_cv_search_opendir=no | | ac_cv_search_opendir=no |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 opendir (); | | char opendir (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_search_opendir="none required" | | ac_cv_search_opendir="none required" |
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_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
if test "$ac_cv_search_opendir" = no; then | | if test "$ac_cv_search_opendir" = no; then |
| | |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" | | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 opendir (); | | char opendir (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
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_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
done | | done |
| | |
ac_cv_search_opendir=no | | ac_cv_search_opendir=no |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 |
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 opendir (); | | char opendir (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_search_opendir="none required" | | ac_cv_search_opendir="none required" |
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_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
if test "$ac_cv_search_opendir" = no; then | | if test "$ac_cv_search_opendir" = no; then |
| | |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" | | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 opendir (); | | char opendir (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
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_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
done | | done |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
#include <stdarg.h> | | #include <stdarg.h> |
#include <string.h> | | #include <string.h> |
#include <float.h> | | #include <float.h> |
| | |
| | int |
| | main () |
| | { |
| | |
| | ; |
| | return 0; |
| | } |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | rm -f conftest.$ac_objext |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
ac_status=$? | | ac_status=$? |
egrep -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); } >/dev/null; then | | (exit $ac_status); } && |
if test -s conftest.err; then | | { ac_try='test -s conftest.$ac_objext' |
ac_cpp_err=$ac_c_preproc_warn_flag | | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
else | | (eval $ac_try) 2>&5 |
ac_cpp_err= | | ac_status=$? |
fi | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else | | (exit $ac_status); }; }; then |
ac_cpp_err=yes | | |
fi | | |
if test -z "$ac_cpp_err"; then | | |
ac_cv_header_stdc=yes | | ac_cv_header_stdc=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_header_stdc=no | | ac_cv_header_stdc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
if test $ac_cv_header_stdc = yes; then | | if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <string.h> | | #include <string.h> |
| | |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "memchr" >/dev/null 2>&1; then | | $EGREP "memchr" >/dev/null 2>&1; then |
: | | : |
else | | else |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <stdlib.h> | | #include <stdlib.h> |
| | |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "free" >/dev/null 2>&1; then | | $EGREP "free" >/dev/null 2>&1; then |
: | | : |
else | | else |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <ctype.h> | | #include <ctype.h> |
#if ((' ' & 0x0FF) == 0x020) | | #if ((' ' & 0x0FF) == 0x020) |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
#else | | #else |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | | # define ISLOWER(c) \ |
| | (('a' <= (c) && (c) <= 'i') \ |
|| ('j' <= (c) && (c) <= 'r') \ | | || ('j' <= (c) && (c) <= 'r') \ |
|| ('s' <= (c) && (c) <= 'z')) | | || ('s' <= (c) && (c) <= 'z')) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| | |
else | | else |
echo "$as_me: program exited with status $ac_status" >&5 | | echo "$as_me: program exited with status $ac_status" >&5 |
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 |
| | |
( exit $ac_status ) | | ( exit $ac_status ) |
ac_cv_header_stdc=no | | ac_cv_header_stdc=no |
fi | | fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi | | fi |
fi | | fi |
fi | | fi |
| | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
| | |
ac_header_compiler=yes | | ac_header_compiler=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_header_compiler=no | | ac_header_compiler=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
ac_header_preproc=yes | | ac_header_preproc=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_header_preproc=no | | ac_header_preproc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.err conftest.$ac_ext |
| | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
no:yes ) | | no:yes ) |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
esac | | esac |
echo "$as_me:$LINENO: checking for $ac_header" >&5 | | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | |
| | |
| | |
| | |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | | |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then | | |
echo $ECHO_N "(cached) $ECHO_C" >&6 | | |
else | | |
ac_cv_prog_cc_stdc=no | | |
ac_save_CC=$CC | | |
cat >conftest.$ac_ext <<_ACEOF | | |
#line $LINENO "configure" | | |
#include "confdefs.h" | | |
#include <stdarg.h> | | |
#include <stdio.h> | | |
#include <sys/types.h> | | |
#include <sys/stat.h> | | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | | |
struct buf { int x; }; | | |
FILE * (*rcsopen) (struct buf *, struct stat *, int); | | |
static char *e (p, i) | | |
char **p; | | |
int i; | | |
{ | | |
return p[i]; | | |
} | | |
static char *f (char * (*g) (char **, int), char **p, ...) | | |
{ | | |
char *s; | | |
va_list v; | | |
va_start (v,p); | | |
s = g (p, va_arg (v,int)); | | |
va_end (v); | | |
return s; | | |
} | | |
int test (int i, double x); | | |
struct s1 {int (*f) (int a);}; | | |
struct s2 {int (*f) (double a);}; | | |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | | |
int argc; | | |
char **argv; | | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | |
main () | | |
{ | | |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | | |
; | | |
return 0; | | |
} | | |
_ACEOF | | |
# Don't try gcc -ansi; that turns off useful extensions and | | |
# breaks some systems' header files. | | |
# AIX -qlanglvl=ansi | | |
# Ultrix and OSF/1 -std1 | | |
# HP-UX 10.20 and later -Ae | | |
# HP-UX older versions -Aa -D_HPUX_SOURCE | | |
# SVR4 -Xc -D__EXTENSIONS__ | | |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | | |
do | | |
CC="$ac_save_CC $ac_arg" | | |
rm -f conftest.$ac_objext | | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | | |
(eval $ac_compile) 2>&5 | | |
ac_status=$? | | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | |
(exit $ac_status); } && | | |
{ ac_try='test -s conftest.$ac_objext' | | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | | |
(eval $ac_try) 2>&5 | | |
ac_status=$? | | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | |
(exit $ac_status); }; }; then | | |
ac_cv_prog_cc_stdc=$ac_arg | | |
break | | |
else | | |
echo "$as_me: failed program was:" >&5 | | |
cat conftest.$ac_ext >&5 | | |
fi | | |
rm -f conftest.$ac_objext | | |
done | | |
rm -f conftest.$ac_ext conftest.$ac_objext | | |
CC=$ac_save_CC | | |
| | |
fi | | |
| | |
case "x$ac_cv_prog_cc_stdc" in | | |
x|xno) | | |
echo "$as_me:$LINENO: result: none needed" >&5 | | |
echo "${ECHO_T}none needed" >&6 ;; | | |
*) | | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | | |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | | |
CC="$CC $ac_cv_prog_cc_stdc" ;; | | |
esac | | |
| | |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
if test "${ac_cv_c_const+set}" = set; then | | if test "${ac_cv_c_const+set}" = set; then |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_c_const=yes | | ac_cv_c_const=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_c_const=no | | ac_cv_c_const=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
for ac_kw in inline __inline__ __inline; do | | for ac_kw in inline __inline__ __inline; do |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#ifndef __cplusplus | | #ifndef __cplusplus |
static $ac_kw int static_foo () {return 0; } | | typedef int foo_t; |
$ac_kw int foo () {return 0; } | | static $ac_kw foo_t static_foo () {return 0; } |
| | $ac_kw foo_t foo () {return 0; } |
#endif | | #endif |
| | |
_ACEOF | | _ACEOF |
| | |
ac_cv_c_inline=$ac_kw; break | | ac_cv_c_inline=$ac_kw; 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.$ac_objext conftest.$ac_ext |
done | | done |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_type_pid_t=yes | | ac_cv_type_pid_t=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_type_pid_t=no | | ac_cv_type_pid_t=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_type_size_t=yes | | ac_cv_type_size_t=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_type_size_t=no | | ac_cv_type_size_t=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/types.h> | | #include <sys/types.h> |
#include <sys/time.h> | | #include <sys/time.h> |
#include <time.h> | | #include <time.h> |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_header_time=yes | | ac_cv_header_time=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_header_time=no | | ac_cv_header_time=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/types.h> | | #include <sys/types.h> |
#include <time.h> | | #include <time.h> |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_struct_tm=time.h | | ac_cv_struct_tm=time.h |
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_struct_tm=sys/time.h | | ac_cv_struct_tm=sys/time.h |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/types.h> | | #include <sys/types.h> |
| | |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "uid_t" >/dev/null 2>&1; then | | $EGREP "uid_t" >/dev/null 2>&1; then |
ac_cv_type_uid_t=yes | | ac_cv_type_uid_t=yes |
else | | else |
ac_cv_type_uid_t=no | | ac_cv_type_uid_t=no |
| | |
ac_pattern="Autoconf.*'x'" | | ac_pattern="Autoconf.*'x'" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sgtty.h> | | #include <sgtty.h> |
Autoconf TIOCGETP | | Autoconf TIOCGETP |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "$ac_pattern" >/dev/null 2>&1; then | | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
ac_cv_prog_gcc_traditional=yes | | ac_cv_prog_gcc_traditional=yes |
else | | else |
ac_cv_prog_gcc_traditional=no | | ac_cv_prog_gcc_traditional=no |
| | |
if test $ac_cv_prog_gcc_traditional = no; then | | if test $ac_cv_prog_gcc_traditional = no; then |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <termio.h> | | #include <termio.h> |
Autoconf TCGETA | | Autoconf TCGETA |
_ACEOF | | _ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "$ac_pattern" >/dev/null 2>&1; then | | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
ac_cv_prog_gcc_traditional=yes | | ac_cv_prog_gcc_traditional=yes |
fi | | fi |
rm -f conftest* | | rm -f conftest* |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
else | | else |
echo "$as_me: program exited with status $ac_status" >&5 | | echo "$as_me: program exited with status $ac_status" >&5 |
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 |
| | |
( exit $ac_status ) | | ( exit $ac_status ) |
ac_cv_func_memcmp_working=no | | ac_cv_func_memcmp_working=no |
fi | | fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi | | fi |
fi | | fi |
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#if HAVE_UNISTD_H | | #if HAVE_UNISTD_H |
# include <unistd.h> | | # include <unistd.h> |
#endif | | #endif |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
else | | else |
echo "$as_me: program exited with status $ac_status" >&5 | | echo "$as_me: program exited with status $ac_status" >&5 |
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 |
| | |
( exit $ac_status ) | | ( exit $ac_status ) |
ac_cv_func_setpgrp_void=yes | | ac_cv_func_setpgrp_void=yes |
fi | | fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi | | fi |
fi | | fi |
echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5 | | echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5 |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/types.h> | | #include <sys/types.h> |
#include <signal.h> | | #include <signal.h> |
#ifdef signal | | #ifdef signal |
| | |
void (*signal ()) (); | | void (*signal ()) (); |
#endif | | #endif |
| | |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_type_signal=void | | ac_cv_type_signal=void |
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_type_signal=int | | ac_cv_type_signal=int |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ | | which can conflict with char $ac_func (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char $ac_func (); | | char $ac_func (); |
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_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me | | choke me |
#else | | #else |
f = $ac_func; | | char (*f) () = $ac_func; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != $ac_func; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
eval "$as_ac_var=yes" | | eval "$as_ac_var=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 |
| | |
eval "$as_ac_var=no" | | eval "$as_ac_var=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lintl $LIBS" | | LIBS="-lintl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 strftime (); | | char strftime (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_cv_lib_intl_strftime=yes | | ac_cv_lib_intl_strftime=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_intl_strftime=no | | ac_cv_lib_intl_strftime=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ | | which can conflict with char $ac_func (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char $ac_func (); | | char $ac_func (); |
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_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me | | choke me |
#else | | #else |
f = $ac_func; | | char (*f) () = $ac_func; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != $ac_func; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
eval "$as_ac_var=yes" | | eval "$as_ac_var=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 |
| | |
eval "$as_ac_var=no" | | eval "$as_ac_var=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char _doprnt (); below. */ | | which can conflict with char _doprnt (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char _doprnt (); | | char _doprnt (); |
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__doprnt) || defined (__stub____doprnt) | | #if defined (__stub__doprnt) || defined (__stub____doprnt) |
choke me | | choke me |
#else | | #else |
f = _doprnt; | | char (*f) () = _doprnt; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != _doprnt; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
ac_cv_func__doprnt=yes | | ac_cv_func__doprnt=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__doprnt=no | | ac_cv_func__doprnt=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, | | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ | | which can conflict with char $ac_func (); below. |
| | 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> | | #include <assert.h> |
| | #endif |
/* Override any gcc2 internal prototype to avoid an error. */ | | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | | #ifdef __cplusplus |
extern "C" | | extern "C" |
| | { |
#endif | | #endif |
/* We use char because int might match the return type of a gcc2 | | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | | builtin and then its argument prototype would still apply. */ |
char $ac_func (); | | char $ac_func (); |
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_$ac_func) || defined (__stub___$ac_func) | | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me | | choke me |
#else | | #else |
f = $ac_func; | | char (*f) () = $ac_func; |
| | #endif |
| | #ifdef __cplusplus |
| | } |
#endif | | #endif |
| | |
| | int |
| | main () |
| | { |
| | return f != $ac_func; |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
eval "$as_ac_var=yes" | | eval "$as_ac_var=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 |
| | |
eval "$as_ac_var=no" | | eval "$as_ac_var=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
else | | else |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_gettimeofday_args=2 | | ac_gettimeofday_args=2 |
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 |
| | |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <sys/time.h> | | #include <sys/time.h> |
#include <unistd.h> | | #include <unistd.h> |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
ac_gettimeofday_args=1 | | ac_gettimeofday_args=1 |
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_gettimeofday_args=0 | | ac_gettimeofday_args=0 |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
LIBS="-ldl $LIBS" | | LIBS="-ldl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
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.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
| | |
ac_header_compiler=yes | | ac_header_compiler=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_header_compiler=no | | ac_header_compiler=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
ac_header_preproc=yes | | ac_header_preproc=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_header_preproc=no | | ac_header_preproc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.err conftest.$ac_ext |
| | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
no:yes ) | | no:yes ) |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
esac | | esac |
echo "$as_me:$LINENO: checking for $ac_header" >&5 | | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
$ac_includes_default | | $ac_includes_default |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
| | |
ac_header_compiler=yes | | ac_header_compiler=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_header_compiler=no | | ac_header_compiler=no |
fi | | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest.$ac_ext |
| | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
#include <$ac_header> | | #include <$ac_header> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? | | ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err | | grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 | | rm -f conftest.er1 |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | |
ac_header_preproc=yes | | ac_header_preproc=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_header_preproc=no | | ac_header_preproc=no |
fi | | fi |
rm -f conftest.err conftest.$ac_ext | | rm -f conftest.err conftest.$ac_ext |
| | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
no:yes ) | | no:yes ) |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | ( |
| | cat <<\_ASBOX |
| | ## ------------------------------------ ## |
| | ## Report this to bug-autoconf@gnu.org. ## |
| | ## ------------------------------------ ## |
| | _ASBOX |
| | ) | |
| | sed "s/^/$as_me: WARNING: /" >&2 |
| | ;; |
esac | | esac |
echo "$as_me:$LINENO: checking for $ac_header" >&5 | | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | |
LIBS="-l$lib $LIBS" | | LIBS="-l$lib $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 PyArg_ParseTuple (); | | char PyArg_ParseTuple (); |
#ifdef F77_DUMMY_MAIN | | |
# ifdef __cplusplus | | |
extern "C" | | |
# endif | | |
int F77_DUMMY_MAIN() { return 1; } | | |
#endif | | |
int | | int |
main () | | main () |
{ | | { |
| | |
eval "$as_ac_Lib=yes" | | eval "$as_ac_Lib=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 |
| | |
eval "$as_ac_Lib=no" | | eval "$as_ac_Lib=no" |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lpthread $PY_LIBS $LIBS" | | LIBS="-lpthread $PY_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_pthread_main=yes | | ac_cv_lib_pthread_main=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_pthread_main=no | | ac_cv_lib_pthread_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
LIBS="-lutil $PY_LIBS $LIBS" | | LIBS="-lutil $PY_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
#line $LINENO "configure" | | #line $LINENO "configure" |
#include "confdefs.h" | | /* 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 () |
{ | | { |
| | |
ac_cv_lib_util_main=yes | | ac_cv_lib_util_main=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_util_main=no | | ac_cv_lib_util_main=no |
fi | | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
| | |
| | |
| | |
| | |
ac_config_files="$ac_config_files Makefile crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile crossedit/Cnv/Makefile crossedit/bitmaps/Makefile doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile doc/playbook-html/Makefile doc/scripts/Makefile lib/Makefile random_maps/Makefile socket/Makefile server/Makefile include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl utils/crossloop.web common/Makefile plugin/Makefile" | | ac_config_files="$ac_config_files Makefile crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile crossedit/Cnv/Makefile crossedit/bitmaps/Makefile doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile doc/playbook-html/Makefile doc/scripts/Makefile lib/Makefile random_maps/Makefile socket/Makefile server/Makefile include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl utils/crossloop.web common/Makefile plugin/Makefile devel/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 |
| | |
# 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. |
| | |
| | |
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 |
| | |
| | |
DEFS=-DHAVE_CONFIG_H | | DEFS=-DHAVE_CONFIG_H |
| | |
| | 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 |
| | |
| | |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 | | Usually this means the macro was only invoked conditionally." >&5 |
| | |
Usually this means the macro was only invoked conditionally." >&2;} | | Usually this means the macro was only invoked conditionally." >&2;} |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
| | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| | Usually this means the macro was only invoked conditionally." >&5 |
| | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| | Usually this means the macro was only invoked conditionally." >&2;} |
| | { (exit 1); exit 1; }; } |
| | fi |
| | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| | Usually this means the macro was only invoked conditionally." >&5 |
| | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| | Usually this means the macro was only invoked conditionally." >&2;} |
| | { (exit 1); exit 1; }; } |
| | fi |
if test -z "${HAVE_LIBDL_TRUE}" && test -z "${HAVE_LIBDL_FALSE}"; then | | if test -z "${HAVE_LIBDL_TRUE}" && test -z "${HAVE_LIBDL_FALSE}"; then |
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBDL\" was never defined. | | { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBDL\" was never defined. |
Usually this means the macro was only invoked conditionally." >&5 | | Usually this means the macro was only invoked conditionally." >&5 |
| | |
# 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. ## |
## --------------------- ## | | ## --------------------- ## |
| | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh | | emulate sh |
NULLCMD=: | | NULLCMD=: |
| | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| | # is contrary to our usage. Disable this feature. |
| | alias -g '${1+"$@"}'='"$@"' |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix | | set -o posix |
fi | | fi |
| | |
# NLS nuisances. | | |
# Support unset when possible. | | # Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset | | as_unset=unset |
| | |
as_unset=false | | as_unset=false |
fi | | fi |
| | |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | | |
{ $as_unset LANG || test "${LANG+set}" != set; } || | | # Work around bugs in pre-3.0 UWIN ksh. |
{ LANG=C; export LANG; } | | $as_unset ENV MAIL MAILPATH |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | | PS1='$ ' |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | | PS2='> ' |
{ LC_ALL=C; export LC_ALL; } | | PS4='+ ' |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | | |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | | # NLS nuisances. |
{ LC_TIME=C; export LC_TIME; } | | for as_var in \ |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
{ LC_CTYPE=C; export LC_CTYPE; } | | LC_TELEPHONE LC_TIME |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | | do |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
{ LANGUAGE=C; export LANGUAGE; } | | eval $as_var=C; export $as_var |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | | else |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | | $as_unset $as_var |
{ LC_COLLATE=C; export LC_COLLATE; } | | fi |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | | done |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | | |
{ LC_NUMERIC=C; export LC_NUMERIC; } | | # Required to use basename. |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | | if expr a : '\(a\)' >/dev/null 2>&1; then |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | | as_expr=expr |
{ LC_MESSAGES=C; export LC_MESSAGES; } | | 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' |
| | |
| | |
# 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 |
| | as_mkdir_p=false |
| | fi |
| | |
as_executable_p="test -f" | | as_executable_p="test -f" |
| | |
# Sed expression to map a string onto a valid CPP name. | | # Sed expression to map a string onto a valid CPP name. |
| | |
IFS=" $as_nl" | | IFS=" $as_nl" |
| | |
# CDPATH. | | # CDPATH. |
$as_unset CDPATH || 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 crossfire $as_me 1.4.0, which was | | This file was extended by crossfire $as_me 1.4.0, which was |
generated by GNU Autoconf 2.53. Invocation command line was | | generated by GNU Autoconf 2.57. Invocation command line was |
| | |
CONFIG_FILES = $CONFIG_FILES | | CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS | | CONFIG_HEADERS = $CONFIG_HEADERS |
| | |
| | |
-h, --help print this help, then exit | | -h, --help print this help, then exit |
-V, --version print version number, then exit | | -V, --version print version number, then exit |
| | -q, --quiet do not print progress messages |
-d, --debug don't remove temporary files | | -d, --debug don't remove temporary files |
--recheck update $as_me by reconfiguring in the same conditions | | --recheck update $as_me by reconfiguring in the same conditions |
--file=FILE[:TEMPLATE] | | --file=FILE[:TEMPLATE] |
| | |
cat >>$CONFIG_STATUS <<_ACEOF | | cat >>$CONFIG_STATUS <<_ACEOF |
ac_cs_version="\\ | | ac_cs_version="\\ |
crossfire config.status 1.4.0 | | crossfire config.status 1.4.0 |
configured by $0, generated by GNU Autoconf 2.53, | | configured by $0, generated by GNU Autoconf 2.57, |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| | |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
| | |
--*=*) | | --*=*) |
ac_option=`expr "x$1" : 'x\([^=]*\)='` | | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
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) |
| | |
--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 |
| | |
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 |
| | 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 | | _ACEOF |
| | |
cat >>$CONFIG_STATUS <<_ACEOF | | cat >>$CONFIG_STATUS <<_ACEOF |
| | |
"utils/crossloop.web" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop.web" ;; | | "utils/crossloop.web" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop.web" ;; |
"common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; | | "common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; |
"plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;; | | "plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;; |
| | "devel/Makefile" ) CONFIG_FILES="$CONFIG_FILES devel/Makefile" ;; |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"include/autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;; | | "include/autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;; |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
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; } |
} | | } |
| | |
| | |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t | | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| | s,@CYGPATH_W@,$CYGPATH_W,;t t |
s,@PACKAGE@,$PACKAGE,;t t | | s,@PACKAGE@,$PACKAGE,;t t |
s,@VERSION@,$VERSION,;t t | | s,@VERSION@,$VERSION,;t t |
s,@ACLOCAL@,$ACLOCAL,;t t | | s,@ACLOCAL@,$ACLOCAL,;t t |
| | |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t | | s,@CCDEPMODE@,$CCDEPMODE,;t t |
| | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
s,@LN_S@,$LN_S,;t t | | s,@LN_S@,$LN_S,;t t |
s,@ECHO@,$ECHO,;t t | | s,@ECHO@,$ECHO,;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,@CPP@,$CPP,;t t | | s,@CPP@,$CPP,;t t |
| | s,@EGREP@,$EGREP,;t t |
s,@LIBTOOL@,$LIBTOOL,;t t | | s,@LIBTOOL@,$LIBTOOL,;t t |
s,@LEX@,$LEX,;t t | | s,@LEX@,$LEX,;t t |
s,@LEXLIB@,$LEXLIB,;t t | | s,@LEXLIB@,$LEXLIB,;t t |
| | |
s,@PYTHON_PLUGIN_TRUE@,$PYTHON_PLUGIN_TRUE,;t t | | s,@PYTHON_PLUGIN_TRUE@,$PYTHON_PLUGIN_TRUE,;t t |
s,@PYTHON_PLUGIN_FALSE@,$PYTHON_PLUGIN_FALSE,;t t | | s,@PYTHON_PLUGIN_FALSE@,$PYTHON_PLUGIN_FALSE,;t t |
s,@PLUGIN_PYTHON@,$PLUGIN_PYTHON,;t t | | s,@PLUGIN_PYTHON@,$PLUGIN_PYTHON,;t t |
| | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
CEOF | | CEOF |
| | |
_ACEOF | | _ACEOF |
| | |
/^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=. |
| | |
| | |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# absolute. | | # absolute. |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| | |
| | |
# Break up conftest.defines because some shells have a limit on the size | | # Break up conftest.defines because some shells have a limit on the size |
# of here documents, and old seds have small limits too (100 cmds). | | # of here documents, and old seds have small limits too (100 cmds). |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS | | echo ' :' >>$CONFIG_STATUS |
rm -f conftest.tail | | rm -f conftest.tail |
| | |
mv conftest.tail conftest.defines | | mv conftest.tail conftest.defines |
done | | done |
rm -f conftest.defines | | rm -f conftest.defines |
echo ' fi # egrep' >>$CONFIG_STATUS | | echo ' fi # grep' >>$CONFIG_STATUS |
echo >>$CONFIG_STATUS | | echo >>$CONFIG_STATUS |
| | |
# Break up conftest.undefs because some shells have a limit on the size | | # Break up conftest.undefs because some shells have a limit on the size |
| | |
cat $tmp/in >>$tmp/config.h | | cat $tmp/in >>$tmp/config.h |
rm -f $tmp/in | | rm -f $tmp/in |
if test x"$ac_file" != x-; then | | if test x"$ac_file" != x-; then |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
echo "$as_me: $ac_file is unchanged" >&6;} | | echo "$as_me: $ac_file is unchanged" >&6;} |
else | | else |
| | |
/^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; }; }; } |
| | |
rm -f $ac_file | | rm -f $ac_file |
mv $tmp/config.h $ac_file | | mv $tmp/config.h $ac_file |
| | |
cat $tmp/config.h | | cat $tmp/config.h |
rm -f $tmp/config.h | | rm -f $tmp/config.h |
fi | | fi |
# Run the commands associated with the file. | | _am_stamp_count=`expr ${_am_stamp_count-0} + 1` |
case $ac_file in | | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
include/autoconf.h ) # update the timestamp | | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
echo 'timestamp for include/autoconf.h' >"include/stamp-h1" | | X$ac_file : 'X\(//\)[^/]' \| \ |
;; | | X$ac_file : 'X\(//\)$' \| \ |
esac | | X$ac_file : 'X\(/\)' \| \ |
| | . : '\(.\)' 2>/dev/null || |
| | echo X$ac_file | |
| | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| | /^X\(\/\/\)$/{ s//\1/; q; } |
| | /^X\(\/\).*/{ s//\1/; q; } |
| | s/.*/./; q'`/stamp-h$_am_stamp_count |
done | | done |
_ACEOF | | _ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF | | cat >>$CONFIG_STATUS <<\_ACEOF |
| | |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
# absolute. | | # absolute. |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| | |
| | |
/^X\(\/\/\)$/{ s//\1/; q; } | | /^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } | | /^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` | | s/.*/./; q'` |
{ case $dirpart/$fdir in | | { if $as_mkdir_p; then |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; | | mkdir -p $dirpart/$fdir |
*) as_incr_dir=.;; | | else |
esac | | as_dir=$dirpart/$fdir |
as_dummy=$dirpart/$fdir | | 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 $dirpart/$fdir" >&5 | | echo X"$as_dir" | |
echo "$as_me: error: cannot create $dirpart/$fdir" >&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 $dirpart/$fdir" >&5 |
| | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
| | { (exit 1); exit 1; }; }; } |
| | |
# echo "creating $dirpart/$file" | | # echo "creating $dirpart/$file" |
echo '# dummy' > "$dirpart/$file" | | echo '# dummy' > "$dirpart/$file" |
| | |
# 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. |