|
|
#! /bin/sh | #! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.53. |
# Generated by GNU Autoconf 2.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. |
# 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. |
|
|
|
|
# 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. |
|
|
|
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
for dir in $PATH /usr/ucb; do |
|
IFS="$lt_save_ifs" |
|
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="$lt_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 |
|
|
|
|
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
|
|
## --------------------- ## | ## --------------------- ## |
## M4sh Initialization. ## | ## M4sh Initialization. ## |
## --------------------- ## | ## --------------------- ## |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh | emulate sh |
NULLCMD=: | NULLCMD=: |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
# is contrary to our usage. Disable this feature. |
|
alias -g '${1+"$@"}'='"$@"' |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix | set -o posix |
fi | fi |
| |
# NLS nuisances. |
|
# Support unset when possible. | # Support unset when possible. |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
as_unset=unset | as_unset=unset |
|
|
as_unset=false | as_unset=false |
fi | fi |
| |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
|
{ $as_unset LANG || test "${LANG+set}" != set; } || |
# 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 |
|
|
|
|
|
|
|
# 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. |
|
|
|
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
for dir in $PATH /usr/ucb; do |
|
IFS="$lt_save_ifs" |
|
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="$lt_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 |
|
|
| |
| |
# 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 INSIDE_GNOME_COMMON_TRUE INSIDE_GNOME_COMMON_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 am__leading_dot 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP CXXCPP LN_S ECHO RANLIB ac_ct_RANLIB EGREP LIBTOOL GTK_CONFIG GTK_CFLAGS GTK_LIBS WOVERLOADED_VIRTUAL USE_EXCEPTIONS USE_RTTI NOOPT_CXXFLAGS NOOPT_CFLAGS REPO NOREPO KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS ENABLE_GLUT_TRUE ENABLE_GLUT_FALSE GNOME_LIBS GNOMEUI_LIBS GNOMEGNORBA_LIBS GTKXMHTML_LIBS ZVT_LIBS GNOME_LIBDIR GNOME_INCLUDEDIR GNOME_CONFIG ORBIT_CONFIG ORBIT_IDL ORBIT_CFLAGS ORBIT_LIBS GNORBA_CFLAGS GNORBA_LIBS GNOME_APPLETS_LIBS GNOME_DOCKLETS_LIBS GNOME_CAPPLET_LIBS cflags_set XPM_LIBS PTHREAD_LIB ENABLE_GTK_TRUE ENABLE_GTK_FALSE KDE_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET LIBUCB LIBDL X_INCLUDES X_LDFLAGS x_libraries x_includes LIBSM LIB_X11 LIBXINERAMA QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG KDECONFIG MEINPROC KDE_XSL_STYLESHEET kde_libs_prefix kde_libs_htmldir kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_mimedir kde_wallpaperdir kde_bindir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kde_styledir kde_widgetdir LIB_KDECORE LIB_KDEUI LIB_KIO LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KSYCOCA LIB_KFILE LIB_KFM ENABLE_KDE_TRUE ENABLE_KDE_FALSE PKGDATADIR HIPDIR ENABLE_HIPPARCOS_TRUE ENABLE_HIPPARCOS_FALSE ENABLE_CELX_TRUE ENABLE_CELX_FALSE LIBOBJS 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` |
| |
|
|
running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
| |
It was created by $as_me, which was | It was created by $as_me, which was |
generated by GNU Autoconf 2.53. Invocation command line was |
generated by GNU Autoconf 2.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= |
for ac_arg |
ac_must_keep_next=false |
|
for ac_pass in 1 2 |
do | do |
case $ac_arg in |
for ac_arg |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
do |
| --no-cr | --no-c | -n ) continue ;; |
case $ac_arg in |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
continue ;; |
| -silent | --silent | --silen | --sile | --sil) |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
continue ;; |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
esac |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
case " $ac_configure_args " in |
esac |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
case $ac_pass in |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
ac_sep=" " ;; |
2) |
esac |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
# Get rid of the leading space. |
if test $ac_must_keep_next = true; then |
|
ac_must_keep_next=false # Got value, back to normal. |
|
else |
|
case $ac_arg in |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
|
case "$ac_configure_args0 " in |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
esac |
|
;; |
|
-* ) ac_must_keep_next=true ;; |
|
esac |
|
fi |
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
# Get rid of the leading space. |
|
ac_sep=" " |
|
;; |
|
esac |
|
done |
done | done |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| |
# When interrupted or exit'd, cleanup temporary files, and complete | # When interrupted or exit'd, cleanup temporary files, and complete |
# config.log. We remove comments because anyway the quotes in there | # config.log. We remove comments because anyway the quotes in there |
|
|
# 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 admin $srcdir/admin; do | for ac_dir in admin $srcdir/admin; do |
if test -f $ac_dir/install-sh; then | if test -f $ac_dir/install-sh; then |
|
|
rm conftest.sed | rm conftest.sed |
| |
| |
am__api_version="1.6" |
am__api_version="1.7" |
| |
| |
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL | test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL |
|
|
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=` |
|
|
SET_MAKE="MAKE=${MAKE-make}" | SET_MAKE="MAKE=${MAKE-make}" |
fi | fi |
| |
|
rm -rf .tst 2>/dev/null |
|
mkdir .tst 2>/dev/null |
|
if test -d .tst; then |
|
am__leading_dot=. |
|
else |
|
am__leading_dot=_ |
|
fi |
|
rmdir .tst 2>/dev/null |
|
|
# test to see if srcdir already configured | # test to see if srcdir already configured |
if test "`cd $srcdir && pwd`" != "`pwd`" && | if test "`cd $srcdir && pwd`" != "`pwd`" && |
test -f $srcdir/config.status; then | test -f $srcdir/config.status; then |
|
|
{ (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=celestia | PACKAGE=celestia |
VERSION=1.3.1 | VERSION=1.3.1 |
|
|
| |
| |
| |
# Add the stamp file to the list of files AC keeps track of, |
ac_config_headers="$ac_config_headers config.h" |
# along with our hook. |
|
ac_config_headers="$ac_config_headers config.h" |
|
|
|
|
|
| |
| |
if test "x${CFLAGS-notset}" = "xnotset" ; then | if test "x${CFLAGS-notset}" = "xnotset" ; then |
|
|
# However, it has the same basename, so the bogon will be chosen | # However, it has the same basename, so the bogon will be chosen |
# first if we set CC to just the basename; use the full file name. | # first if we set CC to just the basename; use the full file name. |
shift | shift |
set dummy "$as_dir/$ac_word" ${1+"$@"} |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
shift |
|
ac_cv_prog_CC="$@" |
|
fi | fi |
fi | fi |
fi | fi |
|
|
fi | fi |
| |
| |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| |
# Provide some information about the compiler. | # Provide some information about the compiler. |
|
|
| |
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 |
;; |
# certainly right. |
conftest.$ac_ext ) |
break;; |
# This is the source file. |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
;; |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
[ab].out ) |
export ac_cv_exeext |
# We found the default executable, but exeext='' is most |
break;; |
# certainly right. |
* ) break;; |
break;; |
|
*.* ) |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
|
# but it would be cool to find out if it's true. Does anybody |
|
# maintain Libtool? --akim. |
|
export ac_cv_exeext |
|
break;; |
|
* ) |
|
break;; |
esac | esac |
done | done |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
|
echo "$as_me: error: C compiler cannot create executables" >&2;} |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C compiler cannot create executables |
|
See \`config.log' for more details." >&2;} |
{ (exit 77); exit 77; }; } | { (exit 77); exit 77; }; } |
fi | fi |
| |
|
|
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 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
rm -f .deps 2>/dev/null |
DEPDIR="${am__leading_dot}deps" |
mkdir .deps 2>/dev/null |
|
if test -d .deps; then |
|
DEPDIR=.deps |
|
else |
|
# MS-DOS does not allow filenames that begin with a dot. |
|
DEPDIR=_deps |
|
fi |
|
rmdir .deps 2>/dev/null |
|
|
|
| |
ac_config_commands="$ac_config_commands depfiles" |
ac_config_commands="$ac_config_commands depfiles" |
| |
| |
am_make=${MAKE-make} | am_make=${MAKE-make} |
cat > confinc << 'END' | cat > confinc << 'END' |
doit: |
am__doit: |
@echo done | @echo done |
|
.PHONY: am__doit |
END | END |
# If we don't find an include directive, just comment out the code. | # If we don't find an include directive, just comment out the code. |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|
|
# 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 |
|
|
# using a relative directory. | # using a relative directory. |
cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
cd conftest.dir | cd conftest.dir |
|
# We will build objects and dependencies in a subdirectory because |
|
# it helps to detect inapplicable dependency modes. For instance |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
# side effect of compilation, but ICC will put the dependencies in |
|
# the current directory while Tru64 will put them in the object |
|
# directory. |
|
mkdir sub |
| |
am_cv_CC_dependencies_compiler_type=none | am_cv_CC_dependencies_compiler_type=none |
if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
fi | fi |
for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
|
# Setup a source with many dependencies, because some compilers |
|
# like to wrap large dependency lists on column 80 (with \), and |
|
# we should not choose a depcomp mode which is confused by this. |
|
# |
# We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
# overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
# This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
: > sub/conftst$i.h |
|
done |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| |
case $depmode in | case $depmode in |
nosideeffect) | nosideeffect) |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
if depmode=$depmode \ | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
>/dev/null 2>conftest.err && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftest.${OBJEXT-o} sub/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 |
# icc doesn't choke on unknown options, it will just issue warnings |
break |
# (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored. |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
break |
|
fi |
fi | fi |
done | done |
| |
|
|
| |
| |
| |
|
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 |
|
|
|
|
|
|
if test "x${CXXFLAGS-notset}" = "xnotset" ; then | if test "x${CXXFLAGS-notset}" = "xnotset" ; then |
export CXXFLAGS | export CXXFLAGS |
CXXFLAGS="" | CXXFLAGS="" |
|
|
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_cxx_g=yes | ac_cv_prog_cxx_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_cxx_g=no | ac_cv_prog_cxx_g=no |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
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 |
|
|
# using a relative directory. | # using a relative directory. |
cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
cd conftest.dir | cd conftest.dir |
|
# We will build objects and dependencies in a subdirectory because |
|
# it helps to detect inapplicable dependency modes. For instance |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
# side effect of compilation, but ICC will put the dependencies in |
|
# the current directory while Tru64 will put them in the object |
|
# directory. |
|
mkdir sub |
| |
am_cv_CXX_dependencies_compiler_type=none | am_cv_CXX_dependencies_compiler_type=none |
if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
fi | fi |
for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
|
# Setup a source with many dependencies, because some compilers |
|
# like to wrap large dependency lists on column 80 (with \), and |
|
# we should not choose a depcomp mode which is confused by this. |
|
# |
# We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
# overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
# This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
: > sub/conftst$i.h |
|
done |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| |
case $depmode in | case $depmode in |
nosideeffect) | nosideeffect) |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
if depmode=$depmode \ | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
>/dev/null 2>conftest.err && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftest.${OBJEXT-o} sub/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_CXX_dependencies_compiler_type=$depmode |
# icc doesn't choke on unknown options, it will just issue warnings |
break |
# (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored. |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
am_cv_CXX_dependencies_compiler_type=$depmode |
|
break |
|
fi |
fi | fi |
done | done |
| |
|
|
| |
| |
| |
|
if |
|
test "x$enable_dependency_tracking" != xno \ |
|
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
am__fastdepCXX_TRUE= |
|
am__fastdepCXX_FALSE='#' |
|
else |
|
am__fastdepCXX_TRUE='#' |
|
am__fastdepCXX_FALSE= |
|
fi |
|
|
|
|
|
|
| |
ac_ext=c | ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
|
|
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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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 |
| |
|
|
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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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 \"$CXXCPP\" fails sanity check" >&5 |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
| |
|
|
;; | ;; |
*-*-irix6*) | *-*-irix6*) |
# Find out which ABI we are using. | # Find out which ABI we are using. |
echo '#line 4281 "configure"' > conftest.$ac_ext |
echo '#line 4603 "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 |
|
|
| |
| |
| |
|
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 |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; 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. */ |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 7580 "configure" |
#line 7980 "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 7678 "configure" |
#line 8078 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; 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. */ |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 10781 "configure" |
#line 11191 "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 10879 "configure" |
#line 11289 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
# Determine the default libpath from the value encoded in an empty executable. | # Determine the default libpath from the value encoded in an empty executable. |
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 () |
{ | { |
|
|
}'`; fi | }'`; fi |
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 -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; 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. */ |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 13503 "configure" |
#line 13923 "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 13601 "configure" |
#line 14021 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
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 <gtk/gtk.h> | #include <gtk/gtk.h> |
#include <stdio.h> | #include <stdio.h> |
|
|
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 ) |
no_gtk=yes | no_gtk=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 |
CFLAGS="$ac_save_CFLAGS" | CFLAGS="$ac_save_CFLAGS" |
LIBS="$ac_save_LIBS" | LIBS="$ac_save_LIBS" |
|
|
LIBS="$LIBS $GTK_LIBS" | LIBS="$LIBS $GTK_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 <gtk/gtk.h> | #include <gtk/gtk.h> |
#include <stdio.h> | #include <stdio.h> |
| |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
echo "*** rpm --erase --nodeps gtk gtk-devel" | echo "*** rpm --erase --nodeps gtk gtk-devel" |
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 "*** The test program failed to compile or link. See the file config.log for the" | echo "*** The test program failed to compile or link. See the file config.log for the" |
echo "*** exact error that occured. This usually means GTK was incorrectly installed" | echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
echo "*** or that you have moved GTK since it was installed. In the latter case, you" | echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
|
|
# 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 |
|
|
# using a relative directory. | # using a relative directory. |
cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
cd conftest.dir | cd conftest.dir |
|
# We will build objects and dependencies in a subdirectory because |
|
# it helps to detect inapplicable dependency modes. For instance |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
# side effect of compilation, but ICC will put the dependencies in |
|
# the current directory while Tru64 will put them in the object |
|
# directory. |
|
mkdir sub |
| |
am_cv_CC_dependencies_compiler_type=none | am_cv_CC_dependencies_compiler_type=none |
if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
fi | fi |
for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
|
# Setup a source with many dependencies, because some compilers |
|
# like to wrap large dependency lists on column 80 (with \), and |
|
# we should not choose a depcomp mode which is confused by this. |
|
# |
# We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
# overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
# This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
: > sub/conftst$i.h |
|
done |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| |
case $depmode in | case $depmode in |
nosideeffect) | nosideeffect) |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
if depmode=$depmode \ | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
>/dev/null 2>conftest.err && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftest.${OBJEXT-o} sub/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 |
# icc doesn't choke on unknown options, it will just issue warnings |
break |
# (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored. |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
break |
|
fi |
fi | fi |
done | done |
| |
|
|
| |
| |
| |
|
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 |
|
|
|
|
|
|
ac_ext=c | ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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 |
| |
|
|
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_cxx_g=yes | ac_cv_prog_cxx_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_cxx_g=no | ac_cv_prog_cxx_g=no |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
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 |
|
|
# using a relative directory. | # using a relative directory. |
cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
cd conftest.dir | cd conftest.dir |
|
# We will build objects and dependencies in a subdirectory because |
|
# it helps to detect inapplicable dependency modes. For instance |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
# side effect of compilation, but ICC will put the dependencies in |
|
# the current directory while Tru64 will put them in the object |
|
# directory. |
|
mkdir sub |
| |
am_cv_CXX_dependencies_compiler_type=none | am_cv_CXX_dependencies_compiler_type=none |
if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
fi | fi |
for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
|
# Setup a source with many dependencies, because some compilers |
|
# like to wrap large dependency lists on column 80 (with \), and |
|
# we should not choose a depcomp mode which is confused by this. |
|
# |
# We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
# overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
# This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
: > sub/conftst$i.h |
|
done |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| |
case $depmode in | case $depmode in |
nosideeffect) | nosideeffect) |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
if depmode=$depmode \ | if depmode=$depmode \ |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
>/dev/null 2>conftest.err && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftest.${OBJEXT-o} sub/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_CXX_dependencies_compiler_type=$depmode |
# icc doesn't choke on unknown options, it will just issue warnings |
break |
# (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored. |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
|
am_cv_CXX_dependencies_compiler_type=$depmode |
|
break |
|
fi |
fi | fi |
done | done |
| |
|
|
| |
| |
| |
|
if |
|
test "x$enable_dependency_tracking" != xno \ |
|
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
am__fastdepCXX_TRUE= |
|
am__fastdepCXX_FALSE='#' |
|
else |
|
am__fastdepCXX_TRUE='#' |
|
am__fastdepCXX_FALSE= |
|
fi |
|
|
|
|
|
|
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then | if test "$GXX" = "yes" || test "$CXX" = "KCC"; then |
if test "$kde_use_debug_code" != "no"; then | if test "$kde_use_debug_code" != "no"; then |
if test "$CXX" = "KCC"; then | if test "$CXX" = "KCC"; then |
|
|
CXXFLAGS="$CXXFLAGS -fno-builtin" | CXXFLAGS="$CXXFLAGS -fno-builtin" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual" | CXXFLAGS="$CXXFLAGS -Woverloaded-virtual" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -pg" | CXXFLAGS="$CXXFLAGS -pg" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -fprofile-arcs" | CXXFLAGS="$CXXFLAGS -fprofile-arcs" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -Wundef" | CXXFLAGS="$CXXFLAGS -Wundef" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -Wno-long-long" | CXXFLAGS="$CXXFLAGS -Wno-long-long" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor" | CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -fno-exceptions" | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -fno-check-new" | CXXFLAGS="$CXXFLAGS -fno-check-new" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -fexceptions" | CXXFLAGS="$CXXFLAGS -fexceptions" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --pch" | CXXFLAGS="$CXXFLAGS --pch" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6" | CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=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. */ |
| |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2" | CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0" | CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0" | CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS --one_per" | CXXFLAGS="$CXXFLAGS --one_per" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error | 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 \"$CXXCPP\" fails sanity check" >&5 |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
| |
|
|
CXXFLAGS="$CXXFLAGS -frepo" | CXXFLAGS="$CXXFLAGS -frepo" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
CXXFLAGS="$CXXFLAGS -instances=explicit" | CXXFLAGS="$CXXFLAGS -instances=explicit" |
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 () |
{ | { |
|
|
eval "kde_cv_prog_cxx_$kde_cache=yes" | eval "kde_cv_prog_cxx_$kde_cache=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 |
CXXFLAGS="$save_CXXFLAGS" | CXXFLAGS="$save_CXXFLAGS" |
|
|
# 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 |
|
|
# socket/setsockopt and other routines are undefined under SCO ODT | # socket/setsockopt and other routines are undefined under SCO ODT |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
# on later versions), says Simon Leinen: it contains gethostby* | # on later versions), says Simon Leinen: it contains gethostby* |
# variants that don't use the nameserver (or something). -lsocket |
# variants that don't use the name server (or something). -lsocket |
# must be given before -lnsl if both are needed. We assume that | # must be given before -lnsl if both are needed. We assume that |
# if connect needs -lnsl, so does gethostbyname. | # if connect needs -lnsl, so does gethostbyname. |
echo "$as_me:$LINENO: checking for connect" >&5 | echo "$as_me:$LINENO: checking for connect" >&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. */ |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 |
|
|
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="-lGL $LIBS" | LIBS="-lGL $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 glNewList (); | char glNewList (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_GL_glNewList=yes | ac_cv_lib_GL_glNewList=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_GL_glNewList=no | ac_cv_lib_GL_glNewList=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="-lMesaGL $LIBS" | LIBS="-lMesaGL $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 glNewList (); | char glNewList (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_MesaGL_glNewList=yes | ac_cv_lib_MesaGL_glNewList=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_MesaGL_glNewList=no | ac_cv_lib_MesaGL_glNewList=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 |
|
|
LIBS="-lGLU $LIBS" | LIBS="-lGLU $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 gluLookAt (); | char gluLookAt (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_GLU_gluLookAt=yes | ac_cv_lib_GLU_gluLookAt=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_GLU_gluLookAt=no | ac_cv_lib_GLU_gluLookAt=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="-lMesaGLU $LIBS" | LIBS="-lMesaGLU $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 gluLookAt (); | char gluLookAt (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_MesaGLU_gluLookAt=yes | ac_cv_lib_MesaGLU_gluLookAt=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_MesaGLU_gluLookAt=no | ac_cv_lib_MesaGLU_gluLookAt=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 |
|
|
LIBS="-lglut $LIBS" | LIBS="-lglut $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 glutKeyboardUpFunc (); | char glutKeyboardUpFunc (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_glut_glutKeyboardUpFunc=yes | ac_cv_lib_glut_glutKeyboardUpFunc=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_glut_glutKeyboardUpFunc=no | ac_cv_lib_glut_glutKeyboardUpFunc=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="-lgtkgl $LIBS" | LIBS="-lgtkgl $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 gdk_gl_query (); | char gdk_gl_query (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_gtkgl_gdk_gl_query=yes | ac_cv_lib_gtkgl_gdk_gl_query=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_gtkgl_gdk_gl_query=no | ac_cv_lib_gtkgl_gdk_gl_query=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 $LIBS" | LIBS="-lpthread $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 pthread_create (); | char pthread_create (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_pthread_pthread_create=yes | ac_cv_lib_pthread_pthread_create=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_pthread_create=no | ac_cv_lib_pthread_pthread_create=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="-lpthreads $LIBS" | LIBS="-lpthreads $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 pthread_create (); | char pthread_create (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_pthreads_pthread_create=yes | ac_cv_lib_pthreads_pthread_create=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_pthreads_pthread_create=no | ac_cv_lib_pthreads_pthread_create=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="-lc_r $LIBS" | LIBS="-lc_r $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 pthread_create (); | char pthread_create (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_c_r_pthread_create=yes | ac_cv_lib_c_r_pthread_create=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_c_r_pthread_create=no | ac_cv_lib_c_r_pthread_create=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 pthread_create (); below. */ |
which can conflict with char pthread_create (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 pthread_create (); | char pthread_create (); |
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_pthread_create) || defined (__stub___pthread_create) | #if defined (__stub_pthread_create) || defined (__stub___pthread_create) |
choke me | choke me |
#else | #else |
f = pthread_create; |
char (*f) () = pthread_create; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
#endif | #endif |
| |
|
int |
|
main () |
|
{ |
|
return f != pthread_create; |
; | ; |
return 0; | return 0; |
} | } |
|
|
ac_cv_func_pthread_create=yes | ac_cv_func_pthread_create=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_pthread_create=no | ac_cv_func_pthread_create=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 <gtk/gtk.h> | #include <gtk/gtk.h> |
#include <stdio.h> | #include <stdio.h> |
|
|
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 ) |
no_gtk=yes | no_gtk=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 |
CFLAGS="$ac_save_CFLAGS" | CFLAGS="$ac_save_CFLAGS" |
LIBS="$ac_save_LIBS" | LIBS="$ac_save_LIBS" |
|
|
LIBS="$LIBS $GTK_LIBS" | LIBS="$LIBS $GTK_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 <gtk/gtk.h> | #include <gtk/gtk.h> |
#include <stdio.h> | #include <stdio.h> |
| |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
echo "*** rpm --erase --nodeps gtk gtk-devel" | echo "*** rpm --erase --nodeps gtk gtk-devel" |
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 "*** The test program failed to compile or link. See the file config.log for the" | echo "*** The test program failed to compile or link. See the file config.log for the" |
echo "*** exact error that occured. This usually means GTK was incorrectly installed" | echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
echo "*** or that you have moved GTK since it was installed. In the latter case, you" | echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
|
|
LIBS="-lSM $x_libs -lICE $LIBS" | LIBS="-lSM $x_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. */ |
| |
/* 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 SmcSaveYourselfDone (); | char SmcSaveYourselfDone (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_SM_SmcSaveYourselfDone=yes | ac_cv_lib_SM_SmcSaveYourselfDone=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_SmcSaveYourselfDone=no | ac_cv_lib_SM_SmcSaveYourselfDone=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 |
|
|
LIBS="-lXpm $x_libs $LIBS" | LIBS="-lXpm $x_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 XpmFreeXpmImage (); | char XpmFreeXpmImage (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_Xpm_XpmFreeXpmImage=yes | ac_cv_lib_Xpm_XpmFreeXpmImage=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_XpmFreeXpmImage=no | ac_cv_lib_Xpm_XpmFreeXpmImage=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 $LIBS" | LIBS="-lutil $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 |
|
|
LIBS="-lcompat $LIBS" | LIBS="-lcompat $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_compat_main=yes | ac_cv_lib_compat_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_compat_main=no | ac_cv_lib_compat_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. */ |
| |
/* 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 crypt (); | char crypt (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_crypt_crypt=yes | ac_cv_lib_crypt_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_crypt_crypt=no | ac_cv_lib_crypt_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="-lc $LIBS" | LIBS="-lc $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 crypt (); | char crypt (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_c_crypt=yes | ac_cv_lib_c_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_c_crypt=no | ac_cv_lib_c_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 |
|
|
| |
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/socket.h> | #include <sys/socket.h> |
| |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_socklen_t=socklen_t | ac_cv_socklen_t=socklen_t |
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/types.h> | #include <sys/types.h> |
#include <sys/socket.h> | #include <sys/socket.h> |
| |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_socklen_t=int | ac_cv_socklen_t=int |
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_socklen_t=size_t | ac_cv_socklen_t=size_t |
| |
fi | fi |
|
|
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 inet_ntoa (); below. */ |
which can conflict with char inet_ntoa (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 inet_ntoa (); | char inet_ntoa (); |
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_inet_ntoa) || defined (__stub___inet_ntoa) | #if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa) |
choke me | choke me |
#else | #else |
f = inet_ntoa; |
char (*f) () = inet_ntoa; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
#endif | #endif |
| |
|
int |
|
main () |
|
{ |
|
return f != inet_ntoa; |
; | ; |
return 0; | return 0; |
} | } |
|
|
ac_cv_func_inet_ntoa=yes | ac_cv_func_inet_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_func_inet_ntoa=no | ac_cv_func_inet_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="-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 inet_ntoa (); | char inet_ntoa (); |
#ifdef F77_DUMMY_MAIN |
|
# ifdef __cplusplus |
|
extern "C" |
|
# endif |
|
int F77_DUMMY_MAIN() { return 1; } |
|
#endif |
|
int | int |
main () | main () |
{ | { |
|
|
ac_cv_lib_nsl_inet_ntoa=yes | ac_cv_lib_nsl_inet_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_nsl_inet_ntoa=no | ac_cv_lib_nsl_inet_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 connect (); below. */ |
which can conflict with char connect (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* 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 |