|
|
#! /bin/sh | #! /bin/sh |
# From configure.in Revision: 1.13 . |
# From configure.in Revision: 1.27 . |
# Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
# Generated by Autoconf 2.52. |
# Generated by GNU Autoconf 2.58. |
# | # |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
|
# This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
# gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
|
## --------------------- ## |
|
## M4sh Initialization. ## |
|
## --------------------- ## |
|
|
|
# Be Bourne compatible |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
emulate sh |
|
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 |
|
set -o posix |
|
fi |
|
DUALCASE=1; export DUALCASE # for MKS sh |
|
|
|
# Support unset when possible. |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
|
as_unset=false |
|
fi |
|
|
|
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
|
$as_unset ENV MAIL MAILPATH |
|
PS1='$ ' |
|
PS2='> ' |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
for as_var in \ |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
$as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
as_basename=basename |
|
else |
|
as_basename=false |
|
fi |
|
|
|
|
|
# Name of the executable. |
|
as_me=`$as_basename "$0" || |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
X"$0" : 'X\(//\)$' \| \ |
|
X"$0" : 'X\(/\)$' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X/"$0" | |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
|
|
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
|
# Avoid depending upon Character Ranges. |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
as_cr_digits='0123456789' |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
echo "#! /bin/sh" >conf$$.sh |
|
echo "exit 0" >>conf$$.sh |
|
chmod +x conf$$.sh |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
rm -f conf$$.sh |
|
fi |
|
|
|
|
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
# Find who we are. Look in the path if we contain no path at all |
|
# relative or not. |
|
case $0 in |
|
*[\\/]* ) as_myself=$0 ;; |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
done |
|
|
|
;; |
|
esac |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
# in which case we are not to be found in the path. |
|
if test "x$as_myself" = x; then |
|
as_myself=$0 |
|
fi |
|
if test ! -f "$as_myself"; then |
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
case $CONFIG_SHELL in |
|
'') |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for as_base in sh bash ksh sh5; do |
|
case $as_dir in |
|
/*) |
|
if ("$as_dir/$as_base" -c ' |
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
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 |
|
export CONFIG_SHELL |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
fi;; |
|
esac |
|
done |
|
done |
|
;; |
|
esac |
|
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
|
# line-number line before each line; the second 'sed' does the real |
|
# work. The second script uses 'N' to pair each line-number line |
|
# with the numbered line, and appends trailing '-' during |
|
# substitution so that $LINENO is not a special case at line end. |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
sed '=' <$as_myself | |
|
sed ' |
|
N |
|
s,$,-, |
|
: loop |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
t loop |
|
s,-$,, |
|
s,^['$as_cr_digits']*\n,, |
|
' >$as_me.lineno && |
|
chmod +x $as_me.lineno || |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
|
# (the dirname of $[0] is not the place where we might find the |
|
# original and so on. Autoconf is especially sensible to this). |
|
. ./$as_me.lineno |
|
# Exit status is that of the last command. |
|
exit |
|
} |
|
|
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
*c*,-n*) ECHO_N= ECHO_C=' |
|
' ECHO_T=' ' ;; |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
esac |
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
rm -f conf$$ conf$$.exe conf$$.file |
|
echo >conf$$.file |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
if test -f conf$$.exe; then |
|
# Don't use ln at all; we don't have any links |
|
as_ln_s='cp -p' |
|
else |
|
as_ln_s='ln -s' |
|
fi |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
as_ln_s=ln |
|
else |
|
as_ln_s='cp -p' |
|
fi |
|
rm -f conf$$ conf$$.exe conf$$.file |
|
|
|
if mkdir -p . 2>/dev/null; then |
|
as_mkdir_p=: |
|
else |
|
test -d ./-p && rmdir ./-p |
|
as_mkdir_p=false |
|
fi |
|
|
|
as_executable_p="test -f" |
|
|
|
# Sed expression to map a string onto a valid CPP name. |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
|
# Sed expression to map a string onto a valid variable name. |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. |
|
as_nl=' |
|
' |
|
IFS=" $as_nl" |
|
|
|
# CDPATH. |
|
$as_unset CDPATH |
|
|
| |
# Find the correct PATH separator. Usually this is `:', but | # Find the correct PATH separator. Usually this is `:', but |
# DJGPP uses `;' like DOS. | # DJGPP uses `;' like DOS. |
|
|
PATH_SEPARATOR=$lt_cv_sys_path_separator | PATH_SEPARATOR=$lt_cv_sys_path_separator |
fi | fi |
| |
|
|
# Check that we are running under the correct shell. | # Check that we are running under the correct shell. |
SHELL=${CONFIG_SHELL-/bin/sh} | SHELL=${CONFIG_SHELL-/bin/sh} |
| |
|
|
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
fi | fi |
| |
# Avoid depending upon Character Ranges. |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
as_cr_digits='0123456789' |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
|
# Sed expression to map a string onto a valid variable name. |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
# Sed expression to map a string onto a valid CPP name. |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
# Be Bourne compatible |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
emulate sh |
|
NULLCMD=: |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
set -o posix |
|
fi |
|
|
|
# Name of the executable. |
|
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
rm -f conf$$ conf$$.exe conf$$.file |
|
echo >conf$$.file |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
# We could just check for DJGPP; but this test a) works b) is more generic |
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
if test -f conf$$.exe; then |
|
# Don't use ln at all; we don't have any links |
|
as_ln_s='cp -p' |
|
else |
|
as_ln_s='ln -s' |
|
fi |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
as_ln_s=ln |
|
else |
|
as_ln_s='cp -p' |
|
fi |
|
rm -f conf$$ conf$$.exe conf$$.file |
|
|
|
as_executable_p="test -f" |
|
|
|
# Support unset when possible. |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
|
as_unset=false |
|
fi |
|
|
|
# NLS nuisances. |
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. |
|
as_nl=' |
|
' |
|
IFS=" $as_nl" |
|
| |
# CDPATH. |
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
|
| |
# Name of the host. | # Name of the host. |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
|
# 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= MAKEFLAGS= |
MFLAGS= |
|
MAKEFLAGS= |
SHELL=${CONFIG_SHELL-/bin/sh} | SHELL=${CONFIG_SHELL-/bin/sh} |
| |
# Maximum number of lines to put in a shell here document. | # Maximum number of lines to put in a shell here document. |
|
|
# only ac_max_sed_lines should be used. | # only ac_max_sed_lines should be used. |
: ${ac_max_here_lines=38} | : ${ac_max_here_lines=38} |
| |
|
# Identity of this package. |
|
PACKAGE_NAME= |
|
PACKAGE_TARNAME= |
|
PACKAGE_VERSION= |
|
PACKAGE_STRING= |
|
PACKAGE_BUGREPORT= |
|
|
ac_unique_file="README" | ac_unique_file="README" |
ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
|
# Factoring default headers for most tests. |
|
ac_includes_default="\ |
|
#include <stdio.h> |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
#if HAVE_SYS_STAT_H |
|
# include <sys/stat.h> |
|
#endif |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_STRING_H |
|
# if !STDC_HEADERS && HAVE_MEMORY_H |
|
# include <memory.h> |
|
# endif |
|
# include <string.h> |
|
#endif |
|
#if HAVE_STRINGS_H |
|
# include <strings.h> |
|
#endif |
|
#if HAVE_INTTYPES_H |
|
# include <inttypes.h> |
|
#else |
|
# if HAVE_STDINT_H |
|
# include <stdint.h> |
|
# endif |
|
#endif |
|
#if HAVE_UNISTD_H |
|
# include <unistd.h> |
|
#endif" |
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DEVIL_LTVERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT VERSIONINFO LIBJPG LIBTIFF LIBPNG LIBLCMS LIBMNG sdl_config LIBSDL HSDL LIBGL allegro_config LIBALLEGRO HALLEGRO LIBGDI32 IL_NO_BMP_TRUE IL_NO_BMP_FALSE IL_NO_DCX_TRUE IL_NO_DCX_FALSE IL_NO_DDS_TRUE IL_NO_DDS_FALSE IL_NO_DOOM_TRUE IL_NO_DOOM_FALSE IL_NO_GIF_TRUE IL_NO_GIF_FALSE IL_NO_ICO_TRUE IL_NO_ICO_FALSE IL_NO_JPG_TRUE IL_NO_JPG_FALSE IL_NO_LIF_TRUE IL_NO_LIF_FALSE IL_NO_LCMS_TRUE IL_NO_LCMS_FALSE IL_NO_MDL_TRUE IL_NO_MDL_FALSE IL_NO_MNG_TRUE IL_NO_MNG_FALSE IL_NO_PCD_TRUE IL_NO_PCD_FALSE IL_NO_PCX_TRUE IL_NO_PCX_FALSE IL_NO_PIC_TRUE IL_NO_PIC_FALSE IL_NO_PIX_TRUE IL_NO_PIX_FALSE IL_NO_PNG_TRUE IL_NO_PNG_FALSE IL_NO_PNM_TRUE IL_NO_PNM_FALSE IL_NO_PSD_TRUE IL_NO_PSD_FALSE IL_NO_PSP_TRUE IL_NO_PSP_FALSE IL_NO_PXR_TRUE IL_NO_PXR_FALSE IL_NO_RAW_TRUE IL_NO_RAW_FALSE IL_NO_SGI_TRUE IL_NO_SGI_FALSE IL_NO_TGA_TRUE IL_NO_TGA_FALSE IL_NO_TIF_TRUE IL_NO_TIF_FALSE IL_NO_WAL_TRUE IL_NO_WAL_FALSE IL_NO_XPM_TRUE IL_NO_XPM_FALSE LIBIL_CFLAGS LIBILU_CFLAGS LIBILUT_CFLAGS LIBILUT_WIN32LIBPATH LIBOBJS LTLIBOBJS' |
|
ac_subst_files='' |
| |
# Initialize some variables set by options. | # Initialize some variables set by options. |
ac_init_help= | ac_init_help= |
|
|
infodir='${prefix}/info' | infodir='${prefix}/info' |
mandir='${prefix}/man' | mandir='${prefix}/man' |
| |
# Identity of this package. |
|
PACKAGE_NAME= |
|
PACKAGE_TARNAME= |
|
PACKAGE_VERSION= |
|
PACKAGE_STRING= |
|
PACKAGE_BUGREPORT= |
|
|
|
ac_prev= | ac_prev= |
for ac_option | for ac_option |
do | do |
|
|
with_fp=no ;; | with_fp=no ;; |
| |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
no_create=yes ;; | no_create=yes ;; |
| |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
|
eval ac_val=$`echo $ac_var` | eval ac_val=$`echo $ac_var` |
case $ac_val in | case $ac_val in |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; | { (exit 1); exit 1; }; };; |
esac | esac |
done | done |
| |
# Be sure to have absolute paths. | # Be sure to have absolute paths. |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
localstatedir libdir includedir oldincludedir infodir mandir |
localstatedir libdir includedir oldincludedir infodir mandir |
do | do |
eval ac_val=$`echo $ac_var` | eval ac_val=$`echo $ac_var` |
case $ac_val in | case $ac_val in |
[\\/$]* | ?:[\\/]* ) ;; | [\\/$]* | ?:[\\/]* ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; | { (exit 1); exit 1; }; };; |
esac | esac |
done | done |
| |
# There might be people who depend on the old broken behavior: `$host' | # There might be people who depend on the old broken behavior: `$host' |
# used to hold the argument of --host etc. | # used to hold the argument of --host etc. |
|
# FIXME: To remove some day. |
build=$build_alias | build=$build_alias |
host=$host_alias | host=$host_alias |
target=$target_alias | target=$target_alias |
| |
# FIXME: should be removed in autoconf 3.0. |
# FIXME: To remove some day. |
if test "x$host_alias" != x; then | if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then | if test "x$build_alias" = x; then |
cross_compiling=maybe | cross_compiling=maybe |
|
|
| |
test "$silent" = yes && exec 6>/dev/null | test "$silent" = yes && exec 6>/dev/null |
| |
|
|
# Find the source files, if location was not specified. | # Find the source files, if location was not specified. |
if test -z "$srcdir"; then | if test -z "$srcdir"; then |
ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
# Try the directory containing this script, then its parent. | # Try the directory containing this script, then its parent. |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
|
X"$0" : 'X\(//\)$' \| \ |
|
X"$0" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$0" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
srcdir=$ac_confdir | srcdir=$ac_confdir |
if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
srcdir=.. | srcdir=.. |
|
|
fi | fi |
if test ! -r $srcdir/$ac_unique_file; then | if test ! -r $srcdir/$ac_unique_file; then |
if test "$ac_srcdir_defaulted" = yes; then | if test "$ac_srcdir_defaulted" = yes; then |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
else | else |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
{ (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 |
|
|
if test "$ac_init_help" = "long"; then | if test "$ac_init_help" = "long"; then |
# Omit some internal or obsolete options to make the list less imposing. | # Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. | # This message is too long to be a string in the A/UX 3.1 sh. |
cat <<EOF |
cat <<_ACEOF |
\`configure' configures this package to adapt to many kinds of systems. | \`configure' configures this package to adapt to many kinds of systems. |
| |
Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
-n, --no-create do not create output files | -n, --no-create do not create output files |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| |
EOF |
_ACEOF |
| |
cat <<EOF |
cat <<_ACEOF |
Installation directories: | Installation directories: |
--prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
[$ac_default_prefix] |
[$ac_default_prefix] |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
[PREFIX] |
[PREFIX] |
| |
By default, \`make install' will install all the files in | By default, \`make install' will install all the files in |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
--infodir=DIR info documentation [PREFIX/info] | --infodir=DIR info documentation [PREFIX/info] |
--mandir=DIR man documentation [PREFIX/man] | --mandir=DIR man documentation [PREFIX/man] |
EOF |
_ACEOF |
| |
cat <<\EOF |
cat <<\_ACEOF |
| |
X features: | X features: |
--x-includes=DIR X include files are in DIR | --x-includes=DIR X include files are in DIR |
|
|
| |
System types: | System types: |
--build=BUILD configure for building on BUILD [guessed] | --build=BUILD configure for building on BUILD [guessed] |
--host=HOST build programs to run on HOST [BUILD] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
EOF |
_ACEOF |
fi | fi |
| |
if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then |
| |
cat <<\EOF |
cat <<\_ACEOF |
| |
Optional Features: | Optional Features: |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
--disable-tga Doesn't compile tga support | --disable-tga Doesn't compile tga support |
--disable-tiff Doesn't compile tiff support | --disable-tiff Doesn't compile tiff support |
--disable-wal Doesn't compile wal support | --disable-wal Doesn't compile wal support |
--disable-xp, Doesn't compile xpm support |
--disable-xpm Doesn't compile xpm support |
--disable-allegro Doesn't compile allegro support | --disable-allegro Doesn't compile allegro support |
--disable-directx Doesn't compile directx support | --disable-directx Doesn't compile directx support |
--disable-opengl Doesn't compile opengl support | --disable-opengl Doesn't compile opengl support |
|
|
Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help |
it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
| |
EOF |
_ACEOF |
fi | fi |
| |
if test "$ac_init_help" = "recursive"; then | if test "$ac_init_help" = "recursive"; then |
# If there are subdirs, report their specific --help. | # If there are subdirs, report their specific --help. |
ac_popdir=`pwd` | ac_popdir=`pwd` |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
cd $ac_subdir |
test -d $ac_dir || continue |
# A "../" for each directory in /$ac_subdir. |
ac_builddir=. |
ac_dots=`echo $ac_subdir | |
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
if test "$ac_dir" != .; then |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
case $srcdir in |
# A "../" for each directory in $ac_dir_suffix. |
.) # No --srcdir option. We are building in place. |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
ac_sub_srcdir=$srcdir ;; |
else |
[\\/]* | ?:[\\/]* ) # Absolute path. |
ac_dir_suffix= ac_top_builddir= |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
fi |
*) # Relative path. |
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
case $srcdir in |
esac |
.) # No --srcdir option. We are building in place. |
|
ac_srcdir=. |
|
if test -z "$ac_top_builddir"; then |
|
ac_top_srcdir=. |
|
else |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
|
ac_top_srcdir=$srcdir ;; |
|
*) # Relative path. |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
esac |
|
case "$ac_dir" in |
|
.) ac_abs_builddir=$ac_builddir;; |
|
*) |
|
case $ac_builddir in |
|
.) ac_abs_builddir="$ac_dir";; |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
|
*) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
|
esac;; |
|
esac |
|
case "$ac_dir" in |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) |
|
case ${ac_top_builddir}. in |
|
.) ac_abs_top_builddir="$ac_dir";; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
|
esac;; |
|
esac |
|
case "$ac_dir" in |
|
.) ac_abs_srcdir=$ac_srcdir;; |
|
*) |
|
case $ac_srcdir in |
|
.) ac_abs_srcdir="$ac_dir";; |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
*) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
|
esac;; |
|
esac |
|
case "$ac_dir" in |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) |
|
case $ac_top_srcdir in |
|
.) ac_abs_top_srcdir="$ac_dir";; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
|
esac;; |
|
esac |
| |
|
cd $ac_dir |
# Check for guested configure; otherwise get Cygnus style configure. | # Check for guested configure; otherwise get Cygnus style configure. |
if test -f $ac_sub_srcdir/configure.gnu; then |
if test -f $ac_srcdir/configure.gnu; then |
echo | echo |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
elif test -f $ac_sub_srcdir/configure; then |
elif test -f $ac_srcdir/configure; then |
echo | echo |
$SHELL $ac_sub_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
elif test -f $ac_sub_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
test -f $ac_sub_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
echo | echo |
$ac_configure --help | $ac_configure --help |
else | else |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
fi | fi |
cd $ac_popdir | cd $ac_popdir |
done | done |
|
|
| |
test -n "$ac_init_help" && exit 0 | test -n "$ac_init_help" && exit 0 |
if $ac_init_version; then | if $ac_init_version; then |
cat <<\EOF |
cat <<\_ACEOF |
| |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright (C) 2003 Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
|
This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
EOF |
_ACEOF |
exit 0 | exit 0 |
fi | fi |
exec 5>config.log | exec 5>config.log |
cat >&5 <<EOF |
cat >&5 <<_ACEOF |
This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
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.52. Invocation command line was |
generated by GNU Autoconf 2.58. Invocation command line was |
| |
$ $0 $@ | $ $0 $@ |
| |
EOF |
_ACEOF |
{ | { |
cat <<_ASUNAME | cat <<_ASUNAME |
## ---------- ## |
## --------- ## |
## Platform. ## |
## Platform. ## |
## ---------- ## |
## --------- ## |
| |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
uname -m = `(uname -m) 2>/dev/null || echo unknown` | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| |
PATH = $PATH |
|
|
|
_ASUNAME | _ASUNAME |
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
echo "PATH: $as_dir" |
|
done |
|
|
} >&5 | } >&5 |
| |
cat >&5 <<EOF |
cat >&5 <<_ACEOF |
## ------------ ## |
|
## Core tests. ## |
|
## ------------ ## |
## ----------- ## |
|
## Core tests. ## |
|
## ----------- ## |
|
|
|
_ACEOF |
| |
EOF |
|
| |
# 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) ;; |
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 \ |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| -silent | --silent | --silen | --sile | --sil) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
continue ;; |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_sep=" " ;; |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
esac |
ac_sep=" " ;; |
case $ac_pass in |
esac |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
# Get rid of the leading space. |
2) |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
if test $ac_must_keep_next = true; then |
|
ac_must_keep_next=false # Got value, back to normal. |
|
else |
|
case $ac_arg in |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
|
case "$ac_configure_args0 " in |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
esac |
|
;; |
|
-* ) ac_must_keep_next=true ;; |
|
esac |
|
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 |
# would cause problems or look ugly. | # would cause problems or look ugly. |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
|
# such as our DU 5.0 friend, will then `close' the trap. |
trap 'exit_status=$? | trap 'exit_status=$? |
# Save into config.log some information that might help in debugging. | # Save into config.log some information that might help in debugging. |
echo >&5 |
{ |
echo "## ----------------- ##" >&5 |
echo |
echo "## Cache variables. ##" >&5 |
|
echo "## ----------------- ##" >&5 |
cat <<\_ASBOX |
echo >&5 |
## ---------------- ## |
# The following way of writing the cache mishandles newlines in values, |
## Cache variables. ## |
|
## ---------------- ## |
|
_ASBOX |
|
echo |
|
# The following way of writing the cache mishandles newlines in values, |
{ | { |
(set) 2>&1 | | (set) 2>&1 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
*ac_space=\ *) | *ac_space=\ *) |
sed -n \ | sed -n \ |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
;; | ;; |
*) | *) |
sed -n \ | sed -n \ |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
;; | ;; |
esac; | esac; |
} >&5 |
} |
sed "/^$/d" confdefs.h >conftest.log |
echo |
if test -s conftest.log; then |
|
echo >&5 |
cat <<\_ASBOX |
echo "## ------------ ##" >&5 |
## ----------------- ## |
echo "## confdefs.h. ##" >&5 |
## Output variables. ## |
echo "## ------------ ##" >&5 |
## ----------------- ## |
echo >&5 |
_ASBOX |
cat conftest.log >&5 |
echo |
fi |
for ac_var in $ac_subst_vars |
(echo; echo) >&5 |
do |
test "$ac_signal" != 0 && |
eval ac_val=$`echo $ac_var` |
echo "$as_me: caught signal $ac_signal" >&5 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$as_me: exit $exit_status" >&5 |
done | sort |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
echo |
exit $exit_status |
|
' 0 |
if test -n "$ac_subst_files"; then |
for ac_signal in 1 2 13 15; do |
cat <<\_ASBOX |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
## ------------- ## |
done |
## 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 |
|
cat <<\_ASBOX |
|
## ----------- ## |
|
## confdefs.h. ## |
|
## ----------- ## |
|
_ASBOX |
|
echo |
|
sed "/^$/d" confdefs.h | sort |
|
echo |
|
fi |
|
test "$ac_signal" != 0 && |
|
echo "$as_me: caught signal $ac_signal" |
|
echo "$as_me: exit $exit_status" |
|
} >&5 |
|
rm -f core *.core && |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
|
exit $exit_status |
|
' 0 |
|
for ac_signal in 1 2 13 15; do |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
done |
ac_signal=0 | ac_signal=0 |
| |
# confdefs.h avoids OS command line length limits that DEFS can exceed. | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
echo >confdefs.h | echo >confdefs.h |
| |
|
# Predefined preprocessor variables. |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
_ACEOF |
|
|
|
|
# Let the site file select an alternate cache file if it wants to. | # Let the site file select an alternate cache file if it wants to. |
# Prefer explicitly selected file to automatically selected ones. | # Prefer explicitly selected file to automatically selected ones. |
if test -z "$CONFIG_SITE"; then | if test -z "$CONFIG_SITE"; then |
|
|
fi | fi |
for ac_site_file in $CONFIG_SITE; do | for ac_site_file in $CONFIG_SITE; do |
if test -r "$ac_site_file"; then | if test -r "$ac_site_file"; then |
{ echo "$as_me:1032: loading site script $ac_site_file" >&5 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
echo "$as_me: loading site script $ac_site_file" >&6;} | echo "$as_me: loading site script $ac_site_file" >&6;} |
cat "$ac_site_file" >&5 |
sed 's/^/| /' "$ac_site_file" >&5 |
. "$ac_site_file" | . "$ac_site_file" |
fi | fi |
done | done |
|
|
# Some versions of bash will fail to source /dev/null (special | # Some versions of bash will fail to source /dev/null (special |
# files actually), so we avoid doing that. | # files actually), so we avoid doing that. |
if test -f "$cache_file"; then | if test -f "$cache_file"; then |
{ echo "$as_me:1043: loading cache $cache_file" >&5 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
echo "$as_me: loading cache $cache_file" >&6;} | echo "$as_me: loading cache $cache_file" >&6;} |
case $cache_file in | case $cache_file in |
[\\/]* | ?:[\\/]* ) . $cache_file;; | [\\/]* | ?:[\\/]* ) . $cache_file;; |
|
|
esac | esac |
fi | fi |
else | else |
{ echo "$as_me:1051: creating cache $cache_file" >&5 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
echo "$as_me: creating cache $cache_file" >&6;} | echo "$as_me: creating cache $cache_file" >&6;} |
>$cache_file | >$cache_file |
fi | fi |
|
|
# value. | # value. |
ac_cache_corrupted=false | ac_cache_corrupted=false |
for ac_var in `(set) 2>&1 | | for ac_var in `(set) 2>&1 | |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
eval ac_old_set=\$ac_cv_env_${ac_var}_set | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set | eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_new_val="\$ac_env_${ac_var}_value" | eval ac_new_val="\$ac_env_${ac_var}_value" |
case $ac_old_set,$ac_new_set in | case $ac_old_set,$ac_new_set in |
set,) | set,) |
{ echo "$as_me:1067: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
ac_cache_corrupted=: ;; | ac_cache_corrupted=: ;; |
,set) | ,set) |
{ echo "$as_me:1071: error: \`$ac_var' was not set in the previous run" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
ac_cache_corrupted=: ;; | ac_cache_corrupted=: ;; |
,);; | ,);; |
*) | *) |
if test "x$ac_old_val" != "x$ac_new_val"; then | if test "x$ac_old_val" != "x$ac_new_val"; then |
{ echo "$as_me:1077: error: \`$ac_var' has changed since the previous run:" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
{ echo "$as_me:1079: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
echo "$as_me: former value: $ac_old_val" >&2;} | echo "$as_me: former value: $ac_old_val" >&2;} |
{ echo "$as_me:1081: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
echo "$as_me: current value: $ac_new_val" >&2;} | echo "$as_me: current value: $ac_new_val" >&2;} |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
fi;; | fi;; |
esac | esac |
# Pass precious variables to config.status. It doesn't matter if |
# Pass precious variables to config.status. |
# we pass some twice (in addition to the command line arguments). |
|
if test "$ac_new_set" = set; then | if test "$ac_new_set" = set; then |
case $ac_new_val in | case $ac_new_val in |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
ac_configure_args="$ac_configure_args '$ac_arg'" |
*) ac_arg=$ac_var=$ac_new_val ;; |
;; |
esac |
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" |
case " $ac_configure_args " in |
;; |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
esac | esac |
fi | fi |
done | done |
if $ac_cache_corrupted; then | if $ac_cache_corrupted; then |
{ echo "$as_me:1100: error: changes in the environment can compromise the build" >&5 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
{ { echo "$as_me:1102: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
|
|
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 |
| |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
*c*,-n*) ECHO_N= ECHO_C=' |
|
' ECHO_T=' ' ;; |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
esac |
|
echo "#! $SHELL" >conftest.sh |
|
echo "exit 0" >>conftest.sh |
|
chmod +x conftest.sh |
|
if { (echo "$as_me:1122: PATH=\".;.\"; conftest.sh") >&5 |
|
(PATH=".;."; conftest.sh) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:1125: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; then |
|
ac_path_separator=';' |
|
else |
|
ac_path_separator=: |
|
fi |
|
PATH_SEPARATOR="$ac_path_separator" |
|
rm -f conftest.sh |
|
|
|
|
|
| |
DEVIL_MAJOR=1 | DEVIL_MAJOR=1 |
DEVIL_MINOR=6 | DEVIL_MINOR=6 |
|
|
DEVIL_VERSION=$DEVIL_MAJOR$DEVIL_MINOR$DEVIL_REVISION | DEVIL_VERSION=$DEVIL_MAJOR$DEVIL_MINOR$DEVIL_REVISION |
DEVIL_LTVERSION=1:$DEVIL_VERSION:0 | DEVIL_LTVERSION=1:$DEVIL_VERSION:0 |
| |
|
|
|
|
|
|
ac_aux_dir= | ac_aux_dir= |
for ac_dir in libtools $srcdir/libtools; do | for ac_dir in libtools $srcdir/libtools; do |
if test -f $ac_dir/install-sh; then | if test -f $ac_dir/install-sh; then |
|
|
fi | fi |
done | done |
if test -z "$ac_aux_dir"; then | if test -z "$ac_aux_dir"; then |
{ { echo "$as_me:1157: error: cannot find install-sh or install.sh in libtools $srcdir/libtools" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in libtools $srcdir/libtools" >&5 |
echo "$as_me: error: cannot find install-sh or install.sh in libtools $srcdir/libtools" >&2;} | echo "$as_me: error: cannot find install-sh or install.sh in libtools $srcdir/libtools" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| |
|
|
# Make sure we can run config.sub. | # Make sure we can run config.sub. |
$ac_config_sub sun4 >/dev/null 2>&1 || | $ac_config_sub sun4 >/dev/null 2>&1 || |
{ { echo "$as_me:1167: error: cannot run $ac_config_sub" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| |
echo "$as_me:1171: checking build system type" >&5 |
echo "$as_me:$LINENO: checking build system type" >&5 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
if test "${ac_cv_build+set}" = set; then | if test "${ac_cv_build+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
test -z "$ac_cv_build_alias" && | test -z "$ac_cv_build_alias" && |
ac_cv_build_alias=`$ac_config_guess` | ac_cv_build_alias=`$ac_config_guess` |
test -z "$ac_cv_build_alias" && | test -z "$ac_cv_build_alias" && |
{ { echo "$as_me:1180: error: cannot guess build type; you must specify one" >&5 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
{ { echo "$as_me:1184: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| |
fi | fi |
echo "$as_me:1189: result: $ac_cv_build" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
echo "${ECHO_T}$ac_cv_build" >&6 | echo "${ECHO_T}$ac_cv_build" >&6 |
build=$ac_cv_build | build=$ac_cv_build |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| |
echo "$as_me:1196: checking host system type" >&5 |
|
|
echo "$as_me:$LINENO: checking host system type" >&5 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
if test "${ac_cv_host+set}" = set; then | if test "${ac_cv_host+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
test -z "$ac_cv_host_alias" && | test -z "$ac_cv_host_alias" && |
ac_cv_host_alias=$ac_cv_build_alias | ac_cv_host_alias=$ac_cv_build_alias |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
{ { echo "$as_me:1205: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| |
fi | fi |
echo "$as_me:1210: result: $ac_cv_host" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
echo "${ECHO_T}$ac_cv_host" >&6 | echo "${ECHO_T}$ac_cv_host" >&6 |
host=$ac_cv_host | host=$ac_cv_host |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| |
|
|
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' |
|
|
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
echo "$as_me:1231: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then | if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1246: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
if test -n "$CC"; then | if test -n "$CC"; then |
echo "$as_me:1254: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
else | else |
echo "$as_me:1257: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
ac_ct_CC=$CC | ac_ct_CC=$CC |
# Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
echo "$as_me:1266: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="gcc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1281: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="gcc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
echo "$as_me:1289: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
else | else |
echo "$as_me:1292: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}cc; ac_word=$2 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
echo "$as_me:1305: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then | if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1320: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
if test -n "$CC"; then | if test -n "$CC"; then |
echo "$as_me:1328: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
else | else |
echo "$as_me:1331: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
ac_ct_CC=$CC | ac_ct_CC=$CC |
# Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
echo "$as_me:1340: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="cc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1355: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
echo "$as_me:1363: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
else | else |
echo "$as_me:1366: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
if test -z "$CC"; then | if test -z "$CC"; then |
# Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
echo "$as_me:1379: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
else | else |
ac_prog_rejected=no | ac_prog_rejected=no |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_prog_rejected=yes |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
continue |
ac_prog_rejected=yes |
fi |
continue |
ac_cv_prog_CC="cc" |
fi |
echo "$as_me:1399: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
if test $ac_prog_rejected = yes; then | if test $ac_prog_rejected = yes; then |
|
|
# However, it has the same basename, so the bogon will be chosen | # However, it has the same basename, so the bogon will be chosen |
# first if we set CC to just the basename; use the full file name. | # first if we set CC to just the basename; use the full file name. |
shift | shift |
set dummy "$ac_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 |
CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
if test -n "$CC"; then | if test -n "$CC"; then |
echo "$as_me:1421: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
else | else |
echo "$as_me:1424: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
do | do |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
echo "$as_me:1435: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then | if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1450: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
if test -n "$CC"; then | if test -n "$CC"; then |
echo "$as_me:1458: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6 |
else | else |
echo "$as_me:1461: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
do | do |
# Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
echo "$as_me:1474: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="$ac_prog" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:1489: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
echo "$as_me:1497: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
else | else |
echo "$as_me:1500: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
| |
fi | fi |
| |
test -z "$CC" && { { echo "$as_me:1512: error: no acceptable cc found in \$PATH" >&5 |
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
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. |
echo "$as_me:1517:" \ |
echo "$as_me:$LINENO:" \ |
"checking for C compiler version" >&5 | "checking for C compiler version" >&5 |
ac_compiler=`set X $ac_compile; echo $2` | ac_compiler=`set X $ac_compile; echo $2` |
{ (eval echo "$as_me:1520: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1523: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } | (exit $ac_status); } |
{ (eval echo "$as_me:1525: \"$ac_compiler -v </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1528: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } | (exit $ac_status); } |
{ (eval echo "$as_me:1530: \"$ac_compiler -V </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1533: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } | (exit $ac_status); } |
| |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1537 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
ac_clean_files_save=$ac_clean_files | ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.exe" |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
# Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
# It will help us diagnose broken compilers, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
# of exeext. | # of exeext. |
echo "$as_me:1553: checking for C compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
if { (eval echo "$as_me:1556: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
(eval $ac_link_default) 2>&5 | (eval $ac_link_default) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1559: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
# Find the output, starting from the most likely. This scheme is | # Find the output, starting from the most likely. This scheme is |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
# resort. | # resort. |
for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
|
ls a.out conftest 2>/dev/null; |
# Be careful to initialize this variable, since it used to be cached. |
ls a.* conftest.* 2>/dev/null`; do |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
ac_cv_exeext= |
|
# b.out is created by i960 compilers. |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
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 ) |
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:1582: 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 |
| |
ac_exeext=$ac_cv_exeext | ac_exeext=$ac_cv_exeext |
echo "$as_me:1588: result: $ac_file" >&5 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
echo "${ECHO_T}$ac_file" >&6 | echo "${ECHO_T}$ac_file" >&6 |
| |
# 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. |
echo "$as_me:1593: checking whether the C compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# If not cross compiling, check that we can run a simple program. | # If not cross compiling, check that we can run a simple program. |
if test "$cross_compiling" != yes; then | if test "$cross_compiling" != yes; then |
if { ac_try='./$ac_file' | if { ac_try='./$ac_file' |
{ (eval echo "$as_me:1599: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1602: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
cross_compiling=no | cross_compiling=no |
else | else |
if test "$cross_compiling" = maybe; then | if test "$cross_compiling" = maybe; then |
cross_compiling=yes | cross_compiling=yes |
else | else |
{ { echo "$as_me:1609: 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 |
fi | fi |
echo "$as_me:1617: 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. |
echo "$as_me:1624: checking whether we are cross compiling" >&5 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
echo "$as_me:1626: result: $cross_compiling" >&5 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
echo "${ECHO_T}$cross_compiling" >&6 | echo "${ECHO_T}$cross_compiling" >&6 |
| |
echo "$as_me:1629: checking for executable suffix" >&5 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
if { (eval echo "$as_me:1631: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1634: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# work properly (i.e., refer to `conftest.exe'), while it won't with | # work properly (i.e., refer to `conftest.exe'), while it won't with |
# `rm'. | # `rm'. |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
for ac_file in conftest.exe conftest conftest.*; do |
|
test -f "$ac_file" || continue |
case $ac_file in | case $ac_file in |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
export ac_cv_exeext |
export ac_cv_exeext |
break;; |
break;; |
* ) break;; | * ) break;; |
esac | esac |
done | done |
else | else |
{ { echo "$as_me:1650: error: cannot compute EXEEXT: 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 EXEEXT: 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 |
| |
rm -f conftest$ac_cv_exeext | rm -f conftest$ac_cv_exeext |
echo "$as_me:1656: result: $ac_cv_exeext" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
echo "${ECHO_T}$ac_cv_exeext" >&6 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
| |
rm -f conftest.$ac_ext | rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext | EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT | ac_exeext=$EXEEXT |
echo "$as_me:1662: checking for object suffix" >&5 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
if test "${ac_cv_objext+set}" = set; then | if test "${ac_cv_objext+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1668 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.o conftest.obj | rm -f conftest.o conftest.obj |
if { (eval echo "$as_me:1680: \"$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=$? |
echo "$as_me:1683: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
case $ac_file in | case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; | break;; |
esac | esac |
done | done |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
{ { echo "$as_me:1695: error: cannot compute OBJEXT: cannot compile" >&5 |
|
echo "$as_me: error: cannot compute OBJEXT: 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 |
| |
rm -f conftest.$ac_cv_objext conftest.$ac_ext | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi | fi |
echo "$as_me:1702: result: $ac_cv_objext" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
echo "${ECHO_T}$ac_cv_objext" >&6 | echo "${ECHO_T}$ac_cv_objext" >&6 |
OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
ac_objext=$OBJEXT | ac_objext=$OBJEXT |
echo "$as_me:1706: checking whether we are using the GNU C compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1712 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:1730: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:1733: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1736: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_compiler_gnu=yes | ac_compiler_gnu=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_compiler_gnu=no | ac_compiler_gnu=no |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
ac_cv_c_compiler_gnu=$ac_compiler_gnu | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| |
fi | fi |
echo "$as_me:1748: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
GCC=`test $ac_compiler_gnu = yes && echo yes` | GCC=`test $ac_compiler_gnu = yes && echo yes` |
ac_test_CFLAGS=${CFLAGS+set} | ac_test_CFLAGS=${CFLAGS+set} |
ac_save_CFLAGS=$CFLAGS | ac_save_CFLAGS=$CFLAGS |
CFLAGS="-g" | CFLAGS="-g" |
echo "$as_me:1754: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
if test "${ac_cv_prog_cc_g+set}" = set; then | if test "${ac_cv_prog_cc_g+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1760 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:1775: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:1778: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1781: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_prog_cc_g=yes | ac_cv_prog_cc_g=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_g=no | ac_cv_prog_cc_g=no |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
fi | fi |
echo "$as_me:1791: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
CFLAGS=$ac_save_CFLAGS | CFLAGS=$ac_save_CFLAGS |
|
|
CFLAGS= | CFLAGS= |
fi | fi |
fi | fi |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_prog_cc_stdc=no |
|
ac_save_CC=$CC |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
#include <sys/stat.h> |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
|
These don't provoke an error unfortunately, instead are silently treated |
|
as 'x'. The following induces an error, until -std1 is added to get |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
array size at least. It's necessary to write '\x00'==0 to get something |
|
that's true only with -std1. */ |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
|
int |
|
main () |
|
{ |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Don't try gcc -ansi; that turns off useful extensions and |
|
# breaks some systems' header files. |
|
# AIX -qlanglvl=ansi |
|
# Ultrix and OSF/1 -std1 |
|
# HP-UX 10.20 and later -Ae |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_prog_cc_stdc=$ac_arg |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.err conftest.$ac_objext |
|
done |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
|
CC=$ac_save_CC |
|
|
|
fi |
|
|
|
case "x$ac_cv_prog_cc_stdc" in |
|
x|xno) |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
|
echo "${ECHO_T}none needed" >&6 ;; |
|
*) |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
esac |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', | # Some people use a C++ compiler to compile C. Since we use `exit', |
# in C++ we need to declare it. In case someone uses the same compiler | # in C++ we need to declare it. In case someone uses the same compiler |
# for both compiling C and C++ we need to have the C++ compiler decide | # for both compiling C and C++ we need to have the C++ compiler decide |
|
|
#endif | #endif |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:1821: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:1824: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1827: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
for ac_declaration in \ | for ac_declaration in \ |
''\ |
'' \ |
'#include <stdlib.h>' \ |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
'extern "C" void std::exit (int); using std::exit;' \ | 'extern "C" void std::exit (int); using std::exit;' \ |
'extern "C" void exit (int) throw ();' \ | 'extern "C" void exit (int) throw ();' \ |
|
|
'void exit (int);' | 'void exit (int);' |
do | do |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1839 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
#include <stdlib.h> |
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
$ac_declaration | $ac_declaration |
|
#include <stdlib.h> |
int | int |
main () | main () |
{ | { |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:1855: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:1858: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1861: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
: | : |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
continue | continue |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 1871 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
$ac_declaration | $ac_declaration |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:1886: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:1889: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:1892: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
break | break |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
done | done |
rm -f conftest* | rm -f conftest* |
if test -n "$ac_declaration"; then | if test -n "$ac_declaration"; then |
|
|
| |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
ac_ext=c | ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
# OS/2's system install, which has a completely different semantic |
# ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
echo "$as_me:1931: checking for a BSD compatible install" >&5 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for ac_dir in $PATH; do |
for as_dir in $PATH |
IFS=$ac_save_IFS |
do |
# Account for people who put trailing slashes in PATH elements. |
IFS=$as_save_IFS |
case $ac_dir/ in |
test -z "$as_dir" && as_dir=. |
/ | ./ | .// | /cC/* \ |
# Account for people who put trailing slashes in PATH elements. |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
case $as_dir/ in |
| /usr/ucb/* ) ;; |
./ | .// | /cC/* | \ |
*) |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
# OSF1 and SCO ODT 3.0 have their own names for install. |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
# Don't use installbsd from OSF since it installs stuff as root |
/usr/ucb/* ) ;; |
# by default. |
*) |
for ac_prog in ginstall scoinst install; do |
# OSF1 and SCO ODT 3.0 have their own names for install. |
if $as_executable_p "$ac_dir/$ac_prog"; then |
# Don't use installbsd from OSF since it installs stuff as root |
|
# by default. |
|
for ac_prog in ginstall scoinst install; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if test $ac_prog = install && | if test $ac_prog = install && |
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
# AIX install. It has an incompatible calling convention. | # AIX install. It has an incompatible calling convention. |
: | : |
elif test $ac_prog = install && | elif test $ac_prog = install && |
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
# program-specific install script used by HP pwplus--don't use. | # program-specific install script used by HP pwplus--don't use. |
: | : |
else | else |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
break 2 |
break 3 |
fi | fi |
fi | fi |
done | done |
;; |
done |
esac |
;; |
done |
esac |
|
done |
|
|
| |
fi | fi |
if test "${ac_cv_path_install+set}" = set; then | if test "${ac_cv_path_install+set}" = set; then |
|
|
INSTALL=$ac_install_sh | INSTALL=$ac_install_sh |
fi | fi |
fi | fi |
echo "$as_me:1980: result: $INSTALL" >&5 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
echo "${ECHO_T}$INSTALL" >&6 | echo "${ECHO_T}$INSTALL" >&6 |
| |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
|
| |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| |
echo "$as_me:1991: 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 <<\EOF |
cat >conftest.make <<\_ACEOF |
all: | all: |
@echo 'ac_maketemp="${MAKE}"' |
@echo 'ac_maketemp="$(MAKE)"' |
EOF |
_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=` |
if test -n "$ac_maketemp"; then | if test -n "$ac_maketemp"; then |
|
|
rm -f conftest.make | rm -f conftest.make |
fi | fi |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
echo "$as_me:2011: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
SET_MAKE= | SET_MAKE= |
else | else |
echo "$as_me:2015: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
SET_MAKE="MAKE=${MAKE-make}" | SET_MAKE="MAKE=${MAKE-make}" |
fi | fi |
| |
echo "$as_me:2020: checking whether byte ordering is bigendian" >&5 |
|
|
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
if test "${ac_cv_c_bigendian+set}" = set; then | if test "${ac_cv_c_bigendian+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
ac_cv_c_bigendian=unknown |
# See if sys/param.h defines the BYTE_ORDER macro. |
# See if sys/param.h defines the BYTE_ORDER macro. |
|
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2028 "configure" |
/* confdefs.h. */ |
#include "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/param.h> | #include <sys/param.h> |
| |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2045: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2048: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2051: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2054: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
# It does; now see whether it defined to BIG_ENDIAN or not. | # It does; now see whether it defined to BIG_ENDIAN or not. |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2058 "configure" |
/* confdefs.h. */ |
#include "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/param.h> | #include <sys/param.h> |
| |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2075: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2078: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2081: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2084: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_c_bigendian=yes | ac_cv_c_bigendian=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_c_bigendian=no | ac_cv_c_bigendian=no |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
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 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
# It does not; compile a test program. |
if test $ac_cv_c_bigendian = unknown; then |
|
if test "$cross_compiling" = yes; then | if test "$cross_compiling" = yes; then |
{ { echo "$as_me:2100: error: cannot run test program while cross compiling" >&5 |
# try to guess the endianness by grepping values into an object file |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
ac_cv_c_bigendian=unknown |
{ (exit 1); exit 1; }; } |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2105 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
|
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
|
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
|
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
int | int |
main () | main () |
{ | { |
/* Are we little or big endian? From Harbison&Steele. */ |
_ascii (); _ebcdic (); |
union |
; |
{ |
return 0; |
long l; |
|
char c[sizeof (long)]; |
|
} u; |
|
u.l = 1; |
|
exit (u.c[sizeof (long) - 1] == 1); |
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:2121: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2124: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
rm -f conftest.er1 |
{ (eval echo "$as_me:2126: \"$ac_try\"") >&5 |
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2129: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_c_bigendian=no |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
else |
ac_cv_c_bigendian=yes |
echo "$as_me: program exited with status $ac_status" >&5 |
fi |
echo "$as_me: failed program was:" >&5 |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
cat conftest.$ac_ext >&5 |
if test "$ac_cv_c_bigendian" = unknown; then |
ac_cv_c_bigendian=yes |
ac_cv_c_bigendian=no |
|
else |
|
# finding both strings is unlikely to happen, but who knows? |
|
ac_cv_c_bigendian=unknown |
|
fi |
|
fi |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
int |
|
main () |
|
{ |
|
/* Are we little or big endian? From Harbison&Steele. */ |
|
union |
|
{ |
|
long l; |
|
char c[sizeof (long)]; |
|
} u; |
|
u.l = 1; |
|
exit (u.c[sizeof (long) - 1] == 1); |
|
} |
|
_ACEOF |
|
rm -f conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_c_bigendian=no |
|
else |
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
|
ac_cv_c_bigendian=yes |
fi | fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi | fi |
fi | fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
fi | fi |
echo "$as_me:2142: result: $ac_cv_c_bigendian" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
if test $ac_cv_c_bigendian = yes; then |
case $ac_cv_c_bigendian in |
|
yes) |
| |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define WORDS_BIGENDIAN 1 | #define WORDS_BIGENDIAN 1 |
EOF |
_ACEOF |
|
;; |
|
no) |
|
;; |
|
*) |
|
{ { echo "$as_me:$LINENO: error: unknown endianness |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
|
echo "$as_me: error: unknown endianness |
|
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
|
{ (exit 1); exit 1; }; } ;; |
|
esac |
| |
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' |
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 |
echo "$as_me:2157: checking how to run the C preprocessor" >&5 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
# On Suns, sometimes $CPP names a directory. | # On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then | if test -n "$CPP" && test -d "$CPP"; then |
|
|
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 2178 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
#include <assert.h> |
cat confdefs.h >>conftest.$ac_ext |
Syntax error |
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
Syntax error |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:2183: \"$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:2189: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
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 |
|
|
# Broken: fails on valid input. | # Broken: fails on valid input. |
continue | continue |
fi | fi |
|
|
# OK, works on sane cases. Now check whether non-existent headers | # OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2212 "configure" |
/* confdefs.h. */ |
#include "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:2216: \"$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:2222: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
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 |
|
|
else | else |
ac_cv_prog_CPP=$CPP | ac_cv_prog_CPP=$CPP |
fi | fi |
echo "$as_me:2259: result: $CPP" >&5 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
echo "${ECHO_T}$CPP" >&6 | echo "${ECHO_T}$CPP" >&6 |
ac_preproc_ok=false | ac_preproc_ok=false |
for ac_c_preproc_warn_flag in '' yes | for ac_c_preproc_warn_flag in '' yes |
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 2269 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
#include <assert.h> |
cat confdefs.h >>conftest.$ac_ext |
Syntax error |
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
Syntax error |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:2274: \"$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:2280: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
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 |
|
|
# Broken: fails on valid input. | # Broken: fails on valid input. |
continue | continue |
fi | fi |
|
|
# OK, works on sane cases. Now check whether non-existent headers | # OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. | # can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2303 "configure" |
/* confdefs.h. */ |
#include "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:2307: \"$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:2313: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
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:2341: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
| |
|
|
ac_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 |
| |
echo "$as_me:2352: checking for X" >&5 |
|
|
echo "$as_me:$LINENO: checking for X" >&5 |
echo $ECHO_N "checking for X... $ECHO_C" >&6 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
| |
|
|
# Check whether --with-x or --without-x was given. | # Check whether --with-x or --without-x was given. |
if test "${with_x+set}" = set; then | if test "${with_x+set}" = set; then |
withval="$with_x" | withval="$with_x" |
|
|
if mkdir conftest.dir; then | if mkdir conftest.dir; then |
cd conftest.dir | cd conftest.dir |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. | # Make sure to not put "make" in the Imakefile rules, since we grep it out. |
cat >Imakefile <<'EOF' |
cat >Imakefile <<'_ACEOF' |
acfindx: | acfindx: |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
EOF |
_ACEOF |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
# 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} acfindx 2>/dev/null | grep -v make` | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
for ac_extension in a so sl; do | for ac_extension in a so sl; do |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
test -f $ac_im_libdir/libX11.$ac_extension; then |
test -f $ac_im_libdir/libX11.$ac_extension; then |
ac_im_usrlibdir=$ac_im_libdir; break |
ac_im_usrlibdir=$ac_im_libdir; break |
fi | fi |
done | done |
# Screen out bogus values from the imake configuration. They are | # Screen out bogus values from the imake configuration. They are |
|
|
# Guess where to find include files, by looking for Intrinsic.h. | # Guess where to find include files, by looking for Intrinsic.h. |
# 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 2449 "configure" |
/* confdefs.h. */ |
#include "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:2453: \"$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:2459: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
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 |
|
|
ac_save_LIBS=$LIBS | ac_save_LIBS=$LIBS |
LIBS="-lXt $LIBS" | LIBS="-lXt $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2492 "configure" |
/* confdefs.h. */ |
#include "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> |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2504: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2507: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2510: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2513: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
LIBS=$ac_save_LIBS | LIBS=$ac_save_LIBS |
# We can link X programs with no special library path. | # We can link X programs with no special library path. |
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 |
|
|
done | done |
done | done |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi # $ac_x_libraries = no | fi # $ac_x_libraries = no |
| |
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then | if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
|
|
else | else |
# Record where we found X for the cache. | # Record where we found X for the cache. |
ac_cv_have_x="have_x=yes \ | ac_cv_have_x="have_x=yes \ |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
fi | fi |
fi | fi |
| |
|
|
fi # $with_x != no | fi # $with_x != no |
| |
if test "$have_x" != yes; then | if test "$have_x" != yes; then |
echo "$as_me:2551: result: $have_x" >&5 |
echo "$as_me:$LINENO: result: $have_x" >&5 |
echo "${ECHO_T}$have_x" >&6 | echo "${ECHO_T}$have_x" >&6 |
no_x=yes | no_x=yes |
else | else |
|
|
# Update the cache value to reflect the command line values. | # Update the cache value to reflect the command line values. |
ac_cv_have_x="have_x=yes \ | ac_cv_have_x="have_x=yes \ |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
echo "$as_me:2561: result: libraries $x_libraries, headers $x_includes" >&5 |
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
fi | fi |
| |
if test "$no_x" = yes; then | if test "$no_x" = yes; then |
# Not all programs may use this symbol, but it does not hurt to define it. | # Not all programs may use this symbol, but it does not hurt to define it. |
| |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define X_DISPLAY_MISSING 1 | #define X_DISPLAY_MISSING 1 |
EOF |
_ACEOF |
| |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
else | else |
|
|
# others require no space. Words are not sufficient . . . . | # others require no space. Words are not sufficient . . . . |
case `(uname -sr) 2>/dev/null` in | case `(uname -sr) 2>/dev/null` in |
"SunOS 5"*) | "SunOS 5"*) |
echo "$as_me:2585: checking whether -R must be followed by a space" >&5 |
echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 | echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 |
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 2589 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2601: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2604: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2607: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2610: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
if test $ac_R_nospace = yes; then | if test $ac_R_nospace = yes; then |
echo "$as_me:2620: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
X_LIBS="$X_LIBS -R$x_libraries" | X_LIBS="$X_LIBS -R$x_libraries" |
else | else |
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 2626 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2638: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2641: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2644: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2647: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
if test $ac_R_space = yes; then | if test $ac_R_space = yes; then |
echo "$as_me:2657: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
X_LIBS="$X_LIBS -R $x_libraries" | X_LIBS="$X_LIBS -R $x_libraries" |
else | else |
echo "$as_me:2661: result: neither works" >&5 |
echo "$as_me:$LINENO: result: neither works" >&5 |
echo "${ECHO_T}neither works" >&6 | echo "${ECHO_T}neither works" >&6 |
fi | fi |
fi | fi |
|
|
# the Alpha needs dnet_stub (dnet does not exist). | # the Alpha needs dnet_stub (dnet does not exist). |
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 2681 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2700: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2703: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2706: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2709: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
: | : |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
echo "$as_me:2715: 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 |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldnet $LIBS" | LIBS="-ldnet $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2723 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2742: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2745: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2748: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2751: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:2762: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
fi | fi |
| |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
echo "$as_me:2769: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 | echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldnet_stub $LIBS" | LIBS="-ldnet_stub $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2777 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2796: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2799: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2802: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2805: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:2816: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 | echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 |
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then | if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
|
|
| |
fi | fi |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS="$ac_xsave_LIBS" | LIBS="$ac_xsave_LIBS" |
| |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
|
|
# on Irix 5.2, according to T.E. Dickey. | # on Irix 5.2, according to T.E. Dickey. |
# The functions gethostbyname, getservbyname, and inet_addr are | # The functions gethostbyname, getservbyname, and inet_addr are |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
echo "$as_me:2835: checking for gethostbyname" >&5 |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
if test "${ac_cv_func_gethostbyname+set}" = set; then | if test "${ac_cv_func_gethostbyname+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2841 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define gethostbyname innocuous_gethostbyname |
|
|
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char gethostbyname (); below. */ |
which can conflict with char gethostbyname (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef gethostbyname |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
extern "C" | extern "C" |
|
{ |
#endif | #endif |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
char gethostbyname (); | char gethostbyname (); |
char (*f) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2872: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2875: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2878: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2881: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_func_gethostbyname=yes | ac_cv_func_gethostbyname=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_gethostbyname=no | ac_cv_func_gethostbyname=no |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:2891: result: $ac_cv_func_gethostbyname" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
| |
if test $ac_cv_func_gethostbyname = no; then | if test $ac_cv_func_gethostbyname = no; then |
echo "$as_me:2895: checking for gethostbyname in -lnsl" >&5 |
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2903 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2922: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2925: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2928: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2931: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_lib_nsl_gethostbyname=yes | ac_cv_lib_nsl_gethostbyname=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_nsl_gethostbyname=no | ac_cv_lib_nsl_gethostbyname=no |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:2942: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
if test $ac_cv_lib_nsl_gethostbyname = yes; then | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
fi | fi |
| |
if test $ac_cv_lib_nsl_gethostbyname = no; then | if test $ac_cv_lib_nsl_gethostbyname = no; then |
echo "$as_me:2949: checking for gethostbyname in -lbsd" >&5 |
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 | echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lbsd $LIBS" | LIBS="-lbsd $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 2957 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:2976: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:2979: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:2982: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:2985: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:2996: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 | echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 |
if test $ac_cv_lib_bsd_gethostbyname = yes; then | if test $ac_cv_lib_bsd_gethostbyname = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
|
|
# 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:3012: checking for connect" >&5 |
echo "$as_me:$LINENO: checking for connect" >&5 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 | echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
if test "${ac_cv_func_connect+set}" = set; then | if test "${ac_cv_func_connect+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3018 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define connect to an innocuous variant, in case <limits.h> declares connect. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define connect innocuous_connect |
|
|
/* 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 |
|
|
|
#undef connect |
|
|
/* 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) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3049: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3052: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3055: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3058: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_func_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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:3068: result: $ac_cv_func_connect" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
echo "${ECHO_T}$ac_cv_func_connect" >&6 | echo "${ECHO_T}$ac_cv_func_connect" >&6 |
| |
if test $ac_cv_func_connect = no; then | if test $ac_cv_func_connect = no; then |
echo "$as_me:3072: checking for connect in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 | echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 |
if test "${ac_cv_lib_socket_connect+set}" = set; then | if test "${ac_cv_lib_socket_connect+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3080 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3099: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3102: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3105: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3108: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_lib_socket_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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:3119: result: $ac_cv_lib_socket_connect" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 | echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
if test $ac_cv_lib_socket_connect = yes; then | if test $ac_cv_lib_socket_connect = yes; then |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
|
|
fi | fi |
| |
# Guillermo Gomez says -lposix is necessary on A/UX. | # Guillermo Gomez says -lposix is necessary on A/UX. |
echo "$as_me:3128: checking for remove" >&5 |
echo "$as_me:$LINENO: checking for remove" >&5 |
echo $ECHO_N "checking for remove... $ECHO_C" >&6 | echo $ECHO_N "checking for remove... $ECHO_C" >&6 |
if test "${ac_cv_func_remove+set}" = set; then | if test "${ac_cv_func_remove+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3134 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define remove to an innocuous variant, in case <limits.h> declares remove. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define remove innocuous_remove |
|
|
/* 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 |
|
|
|
#undef remove |
|
|
/* 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) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3165: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3168: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3171: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3174: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:3184: result: $ac_cv_func_remove" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
echo "${ECHO_T}$ac_cv_func_remove" >&6 | echo "${ECHO_T}$ac_cv_func_remove" >&6 |
| |
if test $ac_cv_func_remove = no; then | if test $ac_cv_func_remove = no; then |
echo "$as_me:3188: checking for remove in -lposix" >&5 |
echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 | echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 |
if test "${ac_cv_lib_posix_remove+set}" = set; then | if test "${ac_cv_lib_posix_remove+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lposix $LIBS" | LIBS="-lposix $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3196 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3215: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3218: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3221: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3224: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:3235: result: $ac_cv_lib_posix_remove" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 | echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 |
if test $ac_cv_lib_posix_remove = yes; then | if test $ac_cv_lib_posix_remove = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
|
|
fi | fi |
| |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
echo "$as_me:3244: checking for shmat" >&5 |
echo "$as_me:$LINENO: checking for shmat" >&5 |
echo $ECHO_N "checking for shmat... $ECHO_C" >&6 | echo $ECHO_N "checking for shmat... $ECHO_C" >&6 |
if test "${ac_cv_func_shmat+set}" = set; then | if test "${ac_cv_func_shmat+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3250 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define shmat innocuous_shmat |
|
|
/* 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 |
|
|
|
#undef shmat |
|
|
/* 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) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3281: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3284: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3287: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3290: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:3300: result: $ac_cv_func_shmat" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
echo "${ECHO_T}$ac_cv_func_shmat" >&6 | echo "${ECHO_T}$ac_cv_func_shmat" >&6 |
| |
if test $ac_cv_func_shmat = no; then | if test $ac_cv_func_shmat = no; then |
echo "$as_me:3304: checking for shmat in -lipc" >&5 |
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 | echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then | if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lipc $LIBS" | LIBS="-lipc $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3312 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3331: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3334: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3337: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3340: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:3351: result: $ac_cv_lib_ipc_shmat" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 | echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 |
if test $ac_cv_lib_ipc_shmat = yes; then | if test $ac_cv_lib_ipc_shmat = yes; then |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
|
|
# These have to be linked with before -lX11, unlike the other | # These have to be linked with before -lX11, unlike the other |
# libraries we check for below, so use a different variable. | # libraries we check for below, so use a different variable. |
# John Interrante, Karl Berry | # John Interrante, Karl Berry |
echo "$as_me:3369: checking for IceConnectionNumber in -lICE" >&5 |
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 | echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 3377 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:3396: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:3399: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:3402: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:3405: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:3416: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 | echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 |
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then | if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
|
|
| |
fi | fi |
| |
echo "$as_me:3426: checking whether build environment is sane" >&5 |
|
|
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
# Just in case | # Just in case |
sleep 1 | sleep 1 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a | # if, for instance, CONFIG_SHELL is bash and it inherits a |
# broken ls alias from the environment. This has actually | # broken ls alias from the environment. This has actually |
# happened. Such a system could not be considered "sane". | # happened. Such a system could not be considered "sane". |
{ { echo "$as_me:3449: error: ls -t appears to fail. Make sure there is not a broken |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
alias in your environment" >&5 | alias in your environment" >&5 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
alias in your environment" >&2;} | alias in your environment" >&2;} |
|
|
# Ok. | # Ok. |
: | : |
else | else |
{ { echo "$as_me:3462: error: newly created file is older than distributed files! |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
Check your system clock" >&5 | Check your system clock" >&5 |
echo "$as_me: error: newly created file is older than distributed files! | echo "$as_me: error: newly created file is older than distributed files! |
Check your system clock" >&2;} | Check your system clock" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
rm -f conftest* | rm -f conftest* |
echo "$as_me:3469: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
test "$program_prefix" != NONE && | test "$program_prefix" != NONE && |
program_transform_name="s,^,$program_prefix,;$program_transform_name" | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
rm conftest.sed | rm conftest.sed |
| |
|
|
PACKAGE="DevIL" | PACKAGE="DevIL" |
| |
VERSION=$DEVIL_MAJOR.$DEVIL_MINOR.$DEVIL_REVISION | VERSION=$DEVIL_MAJOR.$DEVIL_MINOR.$DEVIL_REVISION |
| |
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
{ { echo "$as_me:3489: error: source directory already configured; run \"make distclean\" there first" >&5 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
fi | fi |
| |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define PACKAGE "$PACKAGE" | #define PACKAGE "$PACKAGE" |
EOF |
_ACEOF |
|
|
| |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define VERSION "$VERSION" | #define VERSION "$VERSION" |
EOF |
_ACEOF |
|
|
|
|
| |
missing_dir=`cd $ac_aux_dir && pwd` | missing_dir=`cd $ac_aux_dir && pwd` |
echo "$as_me:3503: checking for working aclocal" >&5 |
echo "$as_me:$LINENO: checking for working aclocal" >&5 |
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 | echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 |
# Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
if (aclocal --version) < /dev/null > /dev/null 2>&1; then | if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
ACLOCAL=aclocal | ACLOCAL=aclocal |
echo "$as_me:3510: result: found" >&5 |
echo "$as_me:$LINENO: result: found" >&5 |
echo "${ECHO_T}found" >&6 | echo "${ECHO_T}found" >&6 |
else | else |
ACLOCAL="$missing_dir/missing aclocal" | ACLOCAL="$missing_dir/missing aclocal" |
echo "$as_me:3514: result: missing" >&5 |
echo "$as_me:$LINENO: result: missing" >&5 |
echo "${ECHO_T}missing" >&6 | echo "${ECHO_T}missing" >&6 |
fi | fi |
| |
echo "$as_me:3518: checking for working autoconf" >&5 |
echo "$as_me:$LINENO: checking for working autoconf" >&5 |
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 | echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 |
# Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
if (autoconf --version) < /dev/null > /dev/null 2>&1; then | if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
AUTOCONF=autoconf | AUTOCONF=autoconf |
echo "$as_me:3525: result: found" >&5 |
echo "$as_me:$LINENO: result: found" >&5 |
echo "${ECHO_T}found" >&6 | echo "${ECHO_T}found" >&6 |
else | else |
AUTOCONF="$missing_dir/missing autoconf" | AUTOCONF="$missing_dir/missing autoconf" |
echo "$as_me:3529: result: missing" >&5 |
echo "$as_me:$LINENO: result: missing" >&5 |
echo "${ECHO_T}missing" >&6 | echo "${ECHO_T}missing" >&6 |
fi | fi |
| |
echo "$as_me:3533: checking for working automake" >&5 |
echo "$as_me:$LINENO: checking for working automake" >&5 |
echo $ECHO_N "checking for working automake... $ECHO_C" >&6 | echo $ECHO_N "checking for working automake... $ECHO_C" >&6 |
# Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
if (automake --version) < /dev/null > /dev/null 2>&1; then | if (automake --version) < /dev/null > /dev/null 2>&1; then |
AUTOMAKE=automake | AUTOMAKE=automake |
echo "$as_me:3540: result: found" >&5 |
echo "$as_me:$LINENO: result: found" >&5 |
echo "${ECHO_T}found" >&6 | echo "${ECHO_T}found" >&6 |
else | else |
AUTOMAKE="$missing_dir/missing automake" | AUTOMAKE="$missing_dir/missing automake" |
echo "$as_me:3544: result: missing" >&5 |
echo "$as_me:$LINENO: result: missing" >&5 |
echo "${ECHO_T}missing" >&6 | echo "${ECHO_T}missing" >&6 |
fi | fi |
| |
echo "$as_me:3548: checking for working autoheader" >&5 |
echo "$as_me:$LINENO: checking for working autoheader" >&5 |
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 | echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 |
# Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
if (autoheader --version) < /dev/null > /dev/null 2>&1; then | if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
AUTOHEADER=autoheader | AUTOHEADER=autoheader |
echo "$as_me:3555: result: found" >&5 |
echo "$as_me:$LINENO: result: found" >&5 |
echo "${ECHO_T}found" >&6 | echo "${ECHO_T}found" >&6 |
else | else |
AUTOHEADER="$missing_dir/missing autoheader" | AUTOHEADER="$missing_dir/missing autoheader" |
echo "$as_me:3559: result: missing" >&5 |
echo "$as_me:$LINENO: result: missing" >&5 |
echo "${ECHO_T}missing" >&6 | echo "${ECHO_T}missing" >&6 |
fi | fi |
| |
echo "$as_me:3563: checking for working makeinfo" >&5 |
echo "$as_me:$LINENO: checking for working makeinfo" >&5 |
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 | echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 |
# Run test in a subshell; some versions of sh will print an error if | # Run test in a subshell; some versions of sh will print an error if |
# an executable is not found, even if stderr is redirected. | # an executable is not found, even if stderr is redirected. |
# Redirect stdin to placate older versions of autoconf. Sigh. | # Redirect stdin to placate older versions of autoconf. Sigh. |
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
MAKEINFO=makeinfo | MAKEINFO=makeinfo |
echo "$as_me:3570: result: found" >&5 |
echo "$as_me:$LINENO: result: found" >&5 |
echo "${ECHO_T}found" >&6 | echo "${ECHO_T}found" >&6 |
else | else |
MAKEINFO="$missing_dir/missing makeinfo" | MAKEINFO="$missing_dir/missing makeinfo" |
echo "$as_me:3574: result: missing" >&5 |
echo "$as_me:$LINENO: result: missing" >&5 |
echo "${ECHO_T}missing" >&6 | echo "${ECHO_T}missing" >&6 |
fi | fi |
| |
ac_config_headers="$ac_config_headers include/IL/config.h" |
|
| |
ac_config_commands="$ac_config_commands default-1" |
|
|
ac_config_headers="$ac_config_headers include/IL/config.h" |
|
|
|
ac_config_commands="$ac_config_commands default-1" |
| |
# Check whether --enable-static or --disable-static was given. | # Check whether --enable-static or --disable-static was given. |
if test "${enable_static+set}" = set; then | if test "${enable_static+set}" = set; then |
|
|
PATH_SEPARATOR=$lt_cv_sys_path_separator | PATH_SEPARATOR=$lt_cv_sys_path_separator |
fi | fi |
| |
|
|
# Check whether --with-gnu-ld or --without-gnu-ld was given. | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
if test "${with_gnu_ld+set}" = set; then | if test "${with_gnu_ld+set}" = set; then |
withval="$with_gnu_ld" | withval="$with_gnu_ld" |
|
|
ac_prog=ld | ac_prog=ld |
if test "$GCC" = yes; then | if test "$GCC" = yes; then |
# Check if gcc -print-prog-name=ld gives a path. | # Check if gcc -print-prog-name=ld gives a path. |
echo "$as_me:3669: checking for ld used by GCC" >&5 |
echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
case $host in | case $host in |
*-*-mingw*) | *-*-mingw*) |
|
|
;; | ;; |
esac | esac |
elif test "$with_gnu_ld" = yes; then | elif test "$with_gnu_ld" = yes; then |
echo "$as_me:3699: checking for GNU ld" >&5 |
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
else | else |
echo "$as_me:3702: checking for non-GNU ld" >&5 |
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
fi | fi |
if test "${lt_cv_path_LD+set}" = set; then | if test "${lt_cv_path_LD+set}" = set; then |
|
|
| |
LD="$lt_cv_path_LD" | LD="$lt_cv_path_LD" |
if test -n "$LD"; then | if test -n "$LD"; then |
echo "$as_me:3732: result: $LD" >&5 |
echo "$as_me:$LINENO: result: $LD" >&5 |
echo "${ECHO_T}$LD" >&6 | echo "${ECHO_T}$LD" >&6 |
else | else |
echo "$as_me:3735: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
test -z "$LD" && { { echo "$as_me:3738: error: no acceptable ld found in \$PATH" >&5 |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
echo "$as_me:3741: checking if the linker ($LD) is GNU ld" >&5 |
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
lt_cv_prog_gnu_ld=no | lt_cv_prog_gnu_ld=no |
fi | fi |
fi | fi |
echo "$as_me:3753: result: $lt_cv_prog_gnu_ld" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
with_gnu_ld=$lt_cv_prog_gnu_ld | with_gnu_ld=$lt_cv_prog_gnu_ld |
| |
echo "$as_me:3757: checking for $LD option to reload object files" >&5 |
|
|
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
if test "${lt_cv_ld_reload_flag+set}" = set; then | if test "${lt_cv_ld_reload_flag+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
lt_cv_ld_reload_flag='-r' | lt_cv_ld_reload_flag='-r' |
fi | fi |
echo "$as_me:3764: result: $lt_cv_ld_reload_flag" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
reload_flag=$lt_cv_ld_reload_flag | reload_flag=$lt_cv_ld_reload_flag |
test -n "$reload_flag" && reload_flag=" $reload_flag" | test -n "$reload_flag" && reload_flag=" $reload_flag" |
| |
echo "$as_me:3769: checking for BSD-compatible nm" >&5 |
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
if test "${lt_cv_path_NM+set}" = set; then | if test "${lt_cv_path_NM+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
fi | fi |
| |
NM="$lt_cv_path_NM" | NM="$lt_cv_path_NM" |
echo "$as_me:3805: result: $NM" >&5 |
echo "$as_me:$LINENO: result: $NM" >&5 |
echo "${ECHO_T}$NM" >&6 | echo "${ECHO_T}$NM" >&6 |
| |
echo "$as_me:3808: checking whether ln -s works" >&5 |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
LN_S=$as_ln_s | LN_S=$as_ln_s |
if test "$LN_S" = "ln -s"; then | if test "$LN_S" = "ln -s"; then |
echo "$as_me:3812: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
else | else |
echo "$as_me:3815: result: no, using $LN_S" >&5 |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
echo "${ECHO_T}no, using $LN_S" >&6 | echo "${ECHO_T}no, using $LN_S" >&6 |
fi | fi |
| |
echo "$as_me:3819: checking how to recognise dependant libraries" >&5 |
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
if test "${lt_cv_deplibs_check_method+set}" = set; then | if test "${lt_cv_deplibs_check_method+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
esac | esac |
| |
fi | fi |
echo "$as_me:3991: result: $lt_cv_deplibs_check_method" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
file_magic_cmd=$lt_cv_file_magic_cmd | file_magic_cmd=$lt_cv_file_magic_cmd |
deplibs_check_method=$lt_cv_deplibs_check_method | deplibs_check_method=$lt_cv_deplibs_check_method |
| |
|
|
|
|
|
|
|
|
|
|
|
|
# Check for command to grab the raw symbol name followed by C symbol from nm. | # Check for command to grab the raw symbol name followed by C symbol from nm. |
echo "$as_me:3997: checking command to parse $NM output" >&5 |
echo "$as_me:$LINENO: checking command to parse $NM output" >&5 |
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
int main(){nm_test_var='a';nm_test_func();return(0);} | int main(){nm_test_var='a';nm_test_func();return(0);} |
EOF | EOF |
| |
if { (eval echo "$as_me:4078: \"$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=$? |
echo "$as_me:4081: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
# Now try to grab the symbols. | # Now try to grab the symbols. |
nlist=conftest.nm | nlist=conftest.nm |
if { (eval echo "$as_me:4085: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:4088: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && test -s "$nlist"; then | (exit $ac_status); } && test -s "$nlist"; then |
# Try sorting and uniquifying the output. | # Try sorting and uniquifying the output. |
if sort "$nlist" | uniq > "$nlist"T; then | if sort "$nlist" | uniq > "$nlist"T; then |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
LIBS="conftstm.$ac_objext" | LIBS="conftstm.$ac_objext" |
CFLAGS="$CFLAGS$no_builtin_flag" | CFLAGS="$CFLAGS$no_builtin_flag" |
if { (eval echo "$as_me:4140: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:4143: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && test -s conftest; then | (exit $ac_status); } && test -s conftest; then |
pipe_works=yes | pipe_works=yes |
fi | fi |
|
|
fi | fi |
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; | if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; |
then | then |
echo "$as_me:4184: result: failed" >&5 |
echo "$as_me:$LINENO: result: failed" >&5 |
echo "${ECHO_T}failed" >&6 | echo "${ECHO_T}failed" >&6 |
else | else |
echo "$as_me:4187: result: ok" >&5 |
echo "$as_me:$LINENO: result: ok" >&5 |
echo "${ECHO_T}ok" >&6 | echo "${ECHO_T}ok" >&6 |
fi | fi |
| |
for ac_header in dlfcn.h |
echo "$as_me:$LINENO: checking for egrep" >&5 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
|
then ac_cv_prog_egrep='grep -E' |
|
else ac_cv_prog_egrep='egrep' |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
|
EGREP=$ac_cv_prog_egrep |
|
|
|
|
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
#include <stdarg.h> |
|
#include <string.h> |
|
#include <float.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_header_stdc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <string.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "memchr" >/dev/null 2>&1; then |
|
: |
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
|
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "free" >/dev/null 2>&1; then |
|
: |
|
else |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f conftest* |
|
|
|
fi |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
if test "$cross_compiling" = yes; then |
|
: |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <ctype.h> |
|
#if ((' ' & 0x0FF) == 0x020) |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
#else |
|
# define ISLOWER(c) \ |
|
(('a' <= (c) && (c) <= 'i') \ |
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|| ('s' <= (c) && (c) <= 'z')) |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
#endif |
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
int |
|
main () |
|
{ |
|
int i; |
|
for (i = 0; i < 256; i++) |
|
if (XOR (islower (i), ISLOWER (i)) |
|
|| toupper (i) != TOUPPER (i)) |
|
exit(2); |
|
exit (0); |
|
} |
|
_ACEOF |
|
rm -f conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
: |
|
else |
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
|
ac_cv_header_stdc=no |
|
fi |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define STDC_HEADERS 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
inttypes.h stdint.h unistd.h |
do | do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
echo "$as_me:4194: 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 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 4200 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
|
|
#include <$ac_header> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
eval "$as_ac_Header=yes" |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
eval "$as_ac_Header=no" |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
for ac_header in dlfcn.h |
|
do |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
else |
|
# Is the header compilable? |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
#include <$ac_header> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <$ac_header> | #include <$ac_header> |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:4204: \"$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:4210: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
ac_cpp_err=yes | ac_cpp_err=yes |
fi | fi |
if test -z "$ac_cpp_err"; then | if test -z "$ac_cpp_err"; then |
eval "$as_ac_Header=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 |
eval "$as_ac_Header=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: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
yes:no: ) |
|
{ echo "$as_me:$LINENO: WARNING: $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:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
no:yes:* ) |
|
{ 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:$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:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ 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:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------------ ## |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
|
## ------------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
eval "$as_ac_Header=\$ac_header_preproc" |
fi | fi |
echo "$as_me:4229: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
| |
fi | fi |
|
|
done | done |
| |
|
|
|
|
|
|
|
|
# Only perform the check for file, if the check method requires it | # Only perform the check for file, if the check method requires it |
case $deplibs_check_method in | case $deplibs_check_method in |
file_magic*) | file_magic*) |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
echo "$as_me:4243: checking for ${ac_tool_prefix}file" >&5 |
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
| |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
if test -n "$MAGIC_CMD"; then | if test -n "$MAGIC_CMD"; then |
echo "$as_me:4298: result: $MAGIC_CMD" >&5 |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
echo "${ECHO_T}$MAGIC_CMD" >&6 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
else | else |
echo "$as_me:4301: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
if test -z "$lt_cv_path_MAGIC_CMD"; then | if test -z "$lt_cv_path_MAGIC_CMD"; then |
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
echo "$as_me:4307: checking for file" >&5 |
echo "$as_me:$LINENO: checking for file" >&5 |
echo $ECHO_N "checking for file... $ECHO_C" >&6 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
| |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
if test -n "$MAGIC_CMD"; then | if test -n "$MAGIC_CMD"; then |
echo "$as_me:4362: result: $MAGIC_CMD" >&5 |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
echo "${ECHO_T}$MAGIC_CMD" >&6 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
else | else |
echo "$as_me:4365: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
echo "$as_me:4381: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_RANLIB+set}" = set; then | if test "${ac_cv_prog_RANLIB+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$RANLIB"; then | if test -n "$RANLIB"; then |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:4396: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
RANLIB=$ac_cv_prog_RANLIB | RANLIB=$ac_cv_prog_RANLIB |
if test -n "$RANLIB"; then | if test -n "$RANLIB"; then |
echo "$as_me:4404: result: $RANLIB" >&5 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
echo "${ECHO_T}$RANLIB" >&6 | echo "${ECHO_T}$RANLIB" >&6 |
else | else |
echo "$as_me:4407: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
ac_ct_RANLIB=$RANLIB | ac_ct_RANLIB=$RANLIB |
# Extract the first word of "ranlib", so it can be a program name with args. | # Extract the first word of "ranlib", so it can be a program name with args. |
set dummy ranlib; ac_word=$2 | set dummy ranlib; ac_word=$2 |
echo "$as_me:4416: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_RANLIB"; then | if test -n "$ac_ct_RANLIB"; then |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:4431: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
fi | fi |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
if test -n "$ac_ct_RANLIB"; then | if test -n "$ac_ct_RANLIB"; then |
echo "$as_me:4440: result: $ac_ct_RANLIB" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
else | else |
echo "$as_me:4443: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
set dummy ${ac_tool_prefix}strip; ac_word=$2 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
echo "$as_me:4455: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_STRIP+set}" = set; then | if test "${ac_cv_prog_STRIP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$STRIP"; then | if test -n "$STRIP"; then |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:4470: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
fi | fi |
fi | fi |
STRIP=$ac_cv_prog_STRIP | STRIP=$ac_cv_prog_STRIP |
if test -n "$STRIP"; then | if test -n "$STRIP"; then |
echo "$as_me:4478: result: $STRIP" >&5 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
echo "${ECHO_T}$STRIP" >&6 | echo "${ECHO_T}$STRIP" >&6 |
else | else |
echo "$as_me:4481: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
ac_ct_STRIP=$STRIP | ac_ct_STRIP=$STRIP |
# Extract the first word of "strip", so it can be a program name with args. | # Extract the first word of "strip", so it can be a program name with args. |
set dummy strip; ac_word=$2 | set dummy strip; ac_word=$2 |
echo "$as_me:4490: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_STRIP"; then | if test -n "$ac_ct_STRIP"; then |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
else | else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_STRIP="strip" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:4505: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_STRIP="strip" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
done | done |
| |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
fi | fi |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
if test -n "$ac_ct_STRIP"; then | if test -n "$ac_ct_STRIP"; then |
echo "$as_me:4514: result: $ac_ct_STRIP" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
else | else |
echo "$as_me:4517: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
STRIP="$ac_cv_prog_STRIP" | STRIP="$ac_cv_prog_STRIP" |
fi | fi |
| |
|
|
enable_dlopen=no | enable_dlopen=no |
enable_win32_dll=yes |
enable_win32_dll=no |
| |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
if test "${enable_libtool_lock+set}" = set; then | if test "${enable_libtool_lock+set}" = set; then |
|
|
case $host in | case $host in |
*-*-irix6*) | *-*-irix6*) |
# Find out which ABI we are using. | # Find out which ABI we are using. |
echo '#line 4541 "configure"' > conftest.$ac_ext |
echo '#line 6001 "configure"' > conftest.$ac_ext |
if { (eval echo "$as_me:4542: \"$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=$? |
echo "$as_me:4545: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
case `/usr/bin/file conftest.$ac_objext` in | case `/usr/bin/file conftest.$ac_objext` in |
*32-bit*) | *32-bit*) |
|
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
SAVE_CFLAGS="$CFLAGS" | SAVE_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -belf" | CFLAGS="$CFLAGS -belf" |
echo "$as_me:4566: checking whether the C compiler needs -belf" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
if test "${lt_cv_cc_needs_belf+set}" = set; then | if test "${lt_cv_cc_needs_belf+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
| |
|
|
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' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 4579 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4591: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:4594: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:4597: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:4600: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
ac_ext=c | ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
fi | fi |
echo "$as_me:4616: result: $lt_cv_cc_needs_belf" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
|
fi | fi |
;; | ;; |
| |
*-*-cygwin* | *-*-mingw* | *-*-pw32*) |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
|
echo "$as_me:4628: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_DLLTOOL+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$DLLTOOL"; then |
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
|
echo "$as_me:4643: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
| |
fi |
esac |
fi |
|
DLLTOOL=$ac_cv_prog_DLLTOOL |
|
if test -n "$DLLTOOL"; then |
|
echo "$as_me:4651: result: $DLLTOOL" >&5 |
|
echo "${ECHO_T}$DLLTOOL" >&6 |
|
else |
|
echo "$as_me:4654: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
fi |
|
if test -z "$ac_cv_prog_DLLTOOL"; then |
|
ac_ct_DLLTOOL=$DLLTOOL |
|
# Extract the first word of "dlltool", so it can be a program name with args. |
|
set dummy dlltool; ac_word=$2 |
|
echo "$as_me:4663: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_DLLTOOL"; then |
|
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
|
echo "$as_me:4678: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
|
|
test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false" |
|
fi |
|
fi |
|
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
|
if test -n "$ac_ct_DLLTOOL"; then |
|
echo "$as_me:4687: result: $ac_ct_DLLTOOL" >&5 |
|
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6 |
|
else |
|
echo "$as_me:4690: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
DLLTOOL=$ac_ct_DLLTOOL |
|
else |
|
DLLTOOL="$ac_cv_prog_DLLTOOL" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}as; ac_word=$2 |
|
echo "$as_me:4702: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_AS+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$AS"; then |
|
ac_cv_prog_AS="$AS" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_AS="${ac_tool_prefix}as" |
|
echo "$as_me:4717: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
|
|
fi |
|
fi |
|
AS=$ac_cv_prog_AS |
|
if test -n "$AS"; then |
|
echo "$as_me:4725: result: $AS" >&5 |
|
echo "${ECHO_T}$AS" >&6 |
|
else |
|
echo "$as_me:4728: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
fi |
|
if test -z "$ac_cv_prog_AS"; then |
|
ac_ct_AS=$AS |
|
# Extract the first word of "as", so it can be a program name with args. |
|
set dummy as; ac_word=$2 |
|
echo "$as_me:4737: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_AS"; then |
|
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_ac_ct_AS="as" |
|
echo "$as_me:4752: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
|
|
test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false" |
|
fi |
|
fi |
|
ac_ct_AS=$ac_cv_prog_ac_ct_AS |
|
if test -n "$ac_ct_AS"; then |
|
echo "$as_me:4761: result: $ac_ct_AS" >&5 |
|
echo "${ECHO_T}$ac_ct_AS" >&6 |
|
else |
|
echo "$as_me:4764: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
AS=$ac_ct_AS |
|
else |
|
AS="$ac_cv_prog_AS" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
|
echo "$as_me:4776: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$OBJDUMP"; then |
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
|
echo "$as_me:4791: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
|
|
fi |
|
fi |
|
OBJDUMP=$ac_cv_prog_OBJDUMP |
|
if test -n "$OBJDUMP"; then |
|
echo "$as_me:4799: result: $OBJDUMP" >&5 |
|
echo "${ECHO_T}$OBJDUMP" >&6 |
|
else |
|
echo "$as_me:4802: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
fi |
|
if test -z "$ac_cv_prog_OBJDUMP"; then |
|
ac_ct_OBJDUMP=$OBJDUMP |
|
# Extract the first word of "objdump", so it can be a program name with args. |
|
set dummy objdump; ac_word=$2 |
|
echo "$as_me:4811: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_OBJDUMP"; then |
|
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
|
else |
|
ac_save_IFS=$IFS; IFS=$ac_path_separator |
|
ac_dummy="$PATH" |
|
for ac_dir in $ac_dummy; do |
|
IFS=$ac_save_IFS |
|
test -z "$ac_dir" && ac_dir=. |
|
$as_executable_p "$ac_dir/$ac_word" || continue |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
|
echo "$as_me:4826: found $ac_dir/$ac_word" >&5 |
|
break |
|
done |
|
|
|
test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false" |
|
fi |
|
fi |
|
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
|
if test -n "$ac_ct_OBJDUMP"; then |
|
echo "$as_me:4835: result: $ac_ct_OBJDUMP" >&5 |
|
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6 |
|
else |
|
echo "$as_me:4838: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
OBJDUMP=$ac_ct_OBJDUMP |
|
else |
|
OBJDUMP="$ac_cv_prog_OBJDUMP" |
|
fi |
|
|
|
# recent cygwin and mingw systems supply a stub DllMain which the user |
|
# can override, but on older systems we have to supply one |
|
echo "$as_me:4849: checking if libtool should supply DllMain function" >&5 |
|
echo $ECHO_N "checking if libtool should supply DllMain function... $ECHO_C" >&6 |
|
if test "${lt_cv_need_dllmain+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line 4855 "configure" |
|
#include "confdefs.h" |
|
|
|
int |
|
main () |
|
{ |
|
extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); |
|
DllMain (0, 0, 0); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:4868: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:4871: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:4874: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:4877: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
lt_cv_need_dllmain=no |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
lt_cv_need_dllmain=yes |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:4887: result: $lt_cv_need_dllmain" >&5 |
|
echo "${ECHO_T}$lt_cv_need_dllmain" >&6 |
|
|
|
case $host/$CC in |
|
*-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) |
|
# old mingw systems require "-dll" to link a DLL, while more recent ones |
|
# require "-mdll" |
|
SAVE_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS -mdll" |
|
echo "$as_me:4896: checking how to link DLLs" >&5 |
|
echo $ECHO_N "checking how to link DLLs... $ECHO_C" >&6 |
|
if test "${lt_cv_cc_dll_switch+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line 4902 "configure" |
|
#include "confdefs.h" |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:4914: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:4917: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:4920: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:4923: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
lt_cv_cc_dll_switch=-mdll |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
lt_cv_cc_dll_switch=-dll |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:4933: result: $lt_cv_cc_dll_switch" >&5 |
|
echo "${ECHO_T}$lt_cv_cc_dll_switch" >&6 |
|
CFLAGS="$SAVE_CFLAGS" ;; |
|
*-*-cygwin* | *-*-pw32*) |
|
# cygwin systems need to pass --dll to the linker, and not link |
|
# crt.o which will require a WinMain@16 definition. |
|
lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; |
|
esac |
|
;; |
|
|
|
esac |
|
| |
# Sed substitution that helps us do robust quoting. It backslashifies | # Sed substitution that helps us do robust quoting. It backslashifies |
# metacharacters that are still active within double-quoted strings. | # metacharacters that are still active within double-quoted strings. |
|
|
set dummy $CC | set dummy $CC |
compiler="$2" | compiler="$2" |
| |
echo "$as_me:5035: checking for objdir" >&5 |
echo "$as_me:$LINENO: checking for objdir" >&5 |
echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
rm -f .libs 2>/dev/null | rm -f .libs 2>/dev/null |
mkdir .libs 2>/dev/null | mkdir .libs 2>/dev/null |
|
|
objdir=_libs | objdir=_libs |
fi | fi |
rmdir .libs 2>/dev/null | rmdir .libs 2>/dev/null |
echo "$as_me:5046: result: $objdir" >&5 |
echo "$as_me:$LINENO: result: $objdir" >&5 |
echo "${ECHO_T}$objdir" >&6 | echo "${ECHO_T}$objdir" >&6 |
| |
|
|
|
|
# Check whether --with-pic or --without-pic was given. | # Check whether --with-pic or --without-pic was given. |
if test "${with_pic+set}" = set; then | if test "${with_pic+set}" = set; then |
withval="$with_pic" | withval="$with_pic" |
|
|
# We assume here that the value for lt_cv_prog_cc_pic will not be cached | # We assume here that the value for lt_cv_prog_cc_pic will not be cached |
# in isolation, and that seeing it set (from the cache) indicates that | # in isolation, and that seeing it set (from the cache) indicates that |
# the associated values are set (in the cache) correctly too. | # the associated values are set (in the cache) correctly too. |
echo "$as_me:5061: checking for $compiler option to produce PIC" >&5 |
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
if test "${lt_cv_prog_cc_pic+set}" = set; then | if test "${lt_cv_prog_cc_pic+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
fi | fi |
| |
if test -z "$lt_cv_prog_cc_pic"; then | if test -z "$lt_cv_prog_cc_pic"; then |
echo "$as_me:5208: result: none" >&5 |
echo "$as_me:$LINENO: result: none" >&5 |
echo "${ECHO_T}none" >&6 | echo "${ECHO_T}none" >&6 |
else | else |
echo "$as_me:5211: result: $lt_cv_prog_cc_pic" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 |
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 |
| |
# Check to make sure the pic_flag actually works. | # Check to make sure the pic_flag actually works. |
echo "$as_me:5215: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 |
if test "${lt_cv_prog_cc_pic_works+set}" = set; then | if test "${lt_cv_prog_cc_pic_works+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 5223 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:5235: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:5238: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:5241: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:5244: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
case $host_os in | case $host_os in |
hpux9* | hpux10* | hpux11*) | hpux9* | hpux10* | hpux11*) |
|
|
| |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
lt_cv_prog_cc_pic_works=no | lt_cv_prog_cc_pic_works=no |
| |
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
CFLAGS="$save_CFLAGS" | CFLAGS="$save_CFLAGS" |
| |
fi | fi |
| |
|
|
if test "X$lt_cv_prog_cc_pic_works" = Xno; then | if test "X$lt_cv_prog_cc_pic_works" = Xno; then |
lt_cv_prog_cc_pic= | lt_cv_prog_cc_pic= |
lt_cv_prog_cc_can_build_shared=no | lt_cv_prog_cc_can_build_shared=no |
|
|
lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" | lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" |
fi | fi |
| |
echo "$as_me:5280: result: $lt_cv_prog_cc_pic_works" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 |
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 |
fi | fi |
| |
# Check for any special shared library compilation flags. | # Check for any special shared library compilation flags. |
if test -n "$lt_cv_prog_cc_shlib"; then | if test -n "$lt_cv_prog_cc_shlib"; then |
{ echo "$as_me:5286: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 |
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 |
echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} |
if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : | if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : |
else | else |
{ echo "$as_me:5290: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
{ echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
lt_cv_prog_cc_can_build_shared=no | lt_cv_prog_cc_can_build_shared=no |
fi | fi |
fi | fi |
| |
echo "$as_me:5296: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 |
if test "${lt_cv_prog_cc_static_works+set}" = set; then | if test "${lt_cv_prog_cc_static_works+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
save_LDFLAGS="$LDFLAGS" | save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 5305 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5317: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:5320: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:5323: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:5326: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
lt_cv_prog_cc_static_works=yes | lt_cv_prog_cc_static_works=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LDFLAGS="$save_LDFLAGS" | LDFLAGS="$save_LDFLAGS" |
| |
fi | fi |
| |
|
|
# Belt *and* braces to stop my trousers falling down: | # Belt *and* braces to stop my trousers falling down: |
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= |
echo "$as_me:5340: result: $lt_cv_prog_cc_static_works" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 |
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 |
| |
pic_flag="$lt_cv_prog_cc_pic" | pic_flag="$lt_cv_prog_cc_pic" |
|
|
no_builtin_flag="$lt_cv_prog_cc_no_builtin" | no_builtin_flag="$lt_cv_prog_cc_no_builtin" |
can_build_shared="$lt_cv_prog_cc_can_build_shared" | can_build_shared="$lt_cv_prog_cc_can_build_shared" |
| |
|
|
# Check to see if options -o and -c are simultaneously supported by compiler | # Check to see if options -o and -c are simultaneously supported by compiler |
echo "$as_me:5351: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
if test "${lt_cv_compiler_c_o+set}" = set; then | if test "${lt_cv_compiler_c_o+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
compiler_c_o=no | compiler_c_o=no |
if { (eval echo configure:5371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
if test -s out/conftest.err; then | if test -s out/conftest.err; then |
|
|
fi | fi |
| |
compiler_c_o=$lt_cv_compiler_c_o | compiler_c_o=$lt_cv_compiler_c_o |
echo "$as_me:5395: result: $compiler_c_o" >&5 |
echo "$as_me:$LINENO: result: $compiler_c_o" >&5 |
echo "${ECHO_T}$compiler_c_o" >&6 | echo "${ECHO_T}$compiler_c_o" >&6 |
| |
if test x"$compiler_c_o" = x"yes"; then | if test x"$compiler_c_o" = x"yes"; then |
# Check to see if we can write to a .lo | # Check to see if we can write to a .lo |
echo "$as_me:5400: checking if $compiler supports -c -o file.lo" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 |
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 |
if test "${lt_cv_compiler_o_lo+set}" = set; then | if test "${lt_cv_compiler_o_lo+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
save_objext="$ac_objext" | save_objext="$ac_objext" |
ac_objext=lo | ac_objext=lo |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 5412 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:5424: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:5427: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:5430: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:5433: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
|
|
| |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
ac_objext="$save_objext" | ac_objext="$save_objext" |
CFLAGS="$save_CFLAGS" | CFLAGS="$save_CFLAGS" |
| |
fi | fi |
| |
compiler_o_lo=$lt_cv_compiler_o_lo | compiler_o_lo=$lt_cv_compiler_o_lo |
echo "$as_me:5454: result: $compiler_o_lo" >&5 |
echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 |
echo "${ECHO_T}$compiler_o_lo" >&6 | echo "${ECHO_T}$compiler_o_lo" >&6 |
else | else |
compiler_o_lo=no | compiler_o_lo=no |
|
|
hard_links="nottested" | hard_links="nottested" |
if test "$compiler_c_o" = no && test "$need_locks" != no; then | if test "$compiler_c_o" = no && test "$need_locks" != no; then |
# do not overwrite the value of need_locks provided by the user | # do not overwrite the value of need_locks provided by the user |
echo "$as_me:5464: checking if we can lock with hard links" >&5 |
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
hard_links=yes | hard_links=yes |
$rm conftest* | $rm conftest* |
|
|
touch conftest.a | touch conftest.a |
ln conftest.a conftest.b 2>&5 || hard_links=no | ln conftest.a conftest.b 2>&5 || hard_links=no |
ln conftest.a conftest.b 2>/dev/null && hard_links=no | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
echo "$as_me:5472: result: $hard_links" >&5 |
echo "$as_me:$LINENO: result: $hard_links" >&5 |
echo "${ECHO_T}$hard_links" >&6 | echo "${ECHO_T}$hard_links" >&6 |
if test "$hard_links" = no; then | if test "$hard_links" = no; then |
{ echo "$as_me:5475: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
need_locks=warn | need_locks=warn |
fi | fi |
|
|
| |
if test "$GCC" = yes; then | if test "$GCC" = yes; then |
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler |
echo "$as_me:5485: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
echo "int some_variable = 0;" > conftest.$ac_ext | echo "int some_variable = 0;" > conftest.$ac_ext |
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" |
compiler_rtti_exceptions=no | compiler_rtti_exceptions=no |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 5492 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
int | int |
main () | main () |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
if { (eval echo "$as_me:5504: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:5507: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:5510: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:5513: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
|
|
| |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi | fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
CFLAGS="$save_CFLAGS" | CFLAGS="$save_CFLAGS" |
echo "$as_me:5529: result: $compiler_rtti_exceptions" >&5 |
echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 |
echo "${ECHO_T}$compiler_rtti_exceptions" >&6 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 |
| |
if test "$compiler_rtti_exceptions" = "yes"; then | if test "$compiler_rtti_exceptions" = "yes"; then |
|
|
fi | fi |
| |
# See if the linker supports building shared libraries. | # See if the linker supports building shared libraries. |
echo "$as_me:5540: checking whether the linker ($LD) supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 |
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 |
| |
allow_undefined_flag= | allow_undefined_flag= |
|
|
;; | ;; |
esac | esac |
fi | fi |
echo "$as_me:6221: result: $ld_shlibs" >&5 |
echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
echo "${ECHO_T}$ld_shlibs" >&6 | echo "${ECHO_T}$ld_shlibs" >&6 |
test "$ld_shlibs" = no && can_build_shared=no | test "$ld_shlibs" = no && can_build_shared=no |
| |
# Check hardcoding attributes. | # Check hardcoding attributes. |
echo "$as_me:6226: checking how to hardcode library paths into programs" >&5 |
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
hardcode_action= | hardcode_action= |
if test -n "$hardcode_libdir_flag_spec" || \ | if test -n "$hardcode_libdir_flag_spec" || \ |
|
|
# directories. | # directories. |
hardcode_action=unsupported | hardcode_action=unsupported |
fi | fi |
echo "$as_me:6250: result: $hardcode_action" >&5 |
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
echo "${ECHO_T}$hardcode_action" >&6 | echo "${ECHO_T}$hardcode_action" >&6 |
| |
striplib= | striplib= |
old_striplib= | old_striplib= |
echo "$as_me:6255: checking whether stripping libraries is possible" >&5 |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
echo "$as_me:6260: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
else | else |
echo "$as_me:6263: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
fi | fi |
| |
|
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| |
# PORTME Fill in your ld.so characteristics | # PORTME Fill in your ld.so characteristics |
echo "$as_me:6271: checking dynamic linker characteristics" >&5 |
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
library_names_spec= | library_names_spec= |
libname_spec='lib$name' | libname_spec='lib$name' |
|
|
dynamic_linker=no | dynamic_linker=no |
;; | ;; |
esac | esac |
echo "$as_me:6668: result: $dynamic_linker" >&5 |
echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
echo "${ECHO_T}$dynamic_linker" >&6 | echo "${ECHO_T}$dynamic_linker" >&6 |
test "$dynamic_linker" = no && can_build_shared=no | test "$dynamic_linker" = no && can_build_shared=no |
| |
# Report the final consequences. | # Report the final consequences. |
echo "$as_me:6673: checking if libtool supports shared libraries" >&5 |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
echo "$as_me:6675: result: $can_build_shared" >&5 |
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
echo "${ECHO_T}$can_build_shared" >&6 | echo "${ECHO_T}$can_build_shared" >&6 |
| |
echo "$as_me:6678: checking whether to build shared libraries" >&5 |
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
test "$can_build_shared" = "no" && enable_shared=no | test "$can_build_shared" = "no" && enable_shared=no |
| |
|
|
fi | fi |
;; | ;; |
esac | esac |
echo "$as_me:6699: result: $enable_shared" >&5 |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
echo "${ECHO_T}$enable_shared" >&6 | echo "${ECHO_T}$enable_shared" >&6 |
| |
echo "$as_me:6702: checking whether to build static libraries" >&5 |
echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
# Make sure either enable_shared or enable_static is yes. | # Make sure either enable_shared or enable_static is yes. |
test "$enable_shared" = yes || enable_static=yes | test "$enable_shared" = yes || enable_static=yes |
echo "$as_me:6706: result: $enable_static" >&5 |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
echo "${ECHO_T}$enable_static" >&6 | echo "${ECHO_T}$enable_static" >&6 |
| |
if test "$hardcode_action" = relink; then | if test "$hardcode_action" = relink; then |
|
|
;; | ;; |
| |
*) | *) |
echo "$as_me:6744: checking for shl_load" >&5 |
echo "$as_me:$LINENO: checking for shl_load" >&5 |
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
if test "${ac_cv_func_shl_load+set}" = set; then | if test "${ac_cv_func_shl_load+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 6750 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define shl_load innocuous_shl_load |
|
|
/* 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 |
|
|
|
#undef shl_load |
|
|
/* 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) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6781: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:6784: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:6787: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:6790: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_func_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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:6800: result: $ac_cv_func_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
if test $ac_cv_func_shl_load = yes; then | if test $ac_cv_func_shl_load = yes; then |
lt_cv_dlopen="shl_load" | lt_cv_dlopen="shl_load" |
else | else |
echo "$as_me:6805: checking for shl_load in -ldld" >&5 |
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 6813 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6832: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:6835: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:6838: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:6841: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_lib_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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:6852: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
if test $ac_cv_lib_dld_shl_load = yes; then | if test $ac_cv_lib_dld_shl_load = yes; then |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
else | else |
echo "$as_me:6857: checking for dlopen" >&5 |
echo "$as_me:$LINENO: checking for dlopen" >&5 |
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
if test "${ac_cv_func_dlopen+set}" = set; then | if test "${ac_cv_func_dlopen+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 6863 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define dlopen innocuous_dlopen |
|
|
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char dlopen (); below. */ |
which can conflict with char dlopen (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef dlopen |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
extern "C" | extern "C" |
|
{ |
#endif | #endif |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
char dlopen (); | char dlopen (); |
char (*f) (); |
|
|
|
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; |
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6894: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:6897: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:6900: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:6903: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_func_dlopen=yes | ac_cv_func_dlopen=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_dlopen=no | ac_cv_func_dlopen=no |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
fi | fi |
echo "$as_me:6913: result: $ac_cv_func_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
if test $ac_cv_func_dlopen = yes; then | if test $ac_cv_func_dlopen = yes; then |
lt_cv_dlopen="dlopen" | lt_cv_dlopen="dlopen" |
else | else |
echo "$as_me:6918: checking for dlopen in -ldl" >&5 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldl $LIBS" | LIBS="-ldl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 6926 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6945: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:6948: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:6951: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:6954: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
ac_cv_lib_dl_dlopen=yes | ac_cv_lib_dl_dlopen=yes |
else | else |
echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_dl_dlopen=no | ac_cv_lib_dl_dlopen=no |
fi | fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:6965: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
if test $ac_cv_lib_dl_dlopen = yes; then | if test $ac_cv_lib_dl_dlopen = yes; then |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
else | else |
echo "$as_me:6970: checking for dlopen in -lsvld" >&5 |
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsvld $LIBS" | LIBS="-lsvld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 6978 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6997: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:7000: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:7003: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:7006: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:7017: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
if test $ac_cv_lib_svld_dlopen = yes; then | if test $ac_cv_lib_svld_dlopen = yes; then |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
else | else |
echo "$as_me:7022: checking for dld_link in -ldld" >&5 |
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
#line 7030 "configure" |
/* confdefs.h. */ |
#include "confdefs.h" |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
| |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus | #ifdef __cplusplus |
|
|
} | } |
_ACEOF | _ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:7049: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>conftest.er1 |
ac_status=$? | ac_status=$? |
echo "$as_me:7052: \$? = $ac_status" >&5 |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && | (exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -z "$ac_c_werror_flag" |
{ (eval echo "$as_me:7055: \"$ac_try\"") >&5 |
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:7058: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
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.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
fi | fi |
echo "$as_me:7069: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
if test $ac_cv_lib_dld_dld_link = yes; then | if test $ac_cv_lib_dld_dld_link = yes; then |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
fi | fi |
| |
|
|
fi | fi |
| |
|
|
fi | fi |
| |
|
|
fi | fi |
| |
|
|
fi | fi |
| |
|
|
fi | fi |
| |
;; | ;; |
|
|
save_LIBS="$LIBS" | save_LIBS="$LIBS" |
LIBS="$lt_cv_dlopen_libs $LIBS" | LIBS="$lt_cv_dlopen_libs $LIBS" |
| |
echo "$as_me:7105: checking whether a program can dlopen itself" >&5 |
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
if test "${lt_cv_dlopen_self+set}" = set; then | if test "${lt_cv_dlopen_self+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
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 7116 "configure" |
#line 8465 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
exit (status); | exit (status); |
} | } |
EOF | EOF |
if { (eval echo "$as_me:7177: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:7180: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
(./conftest; exit; ) 2>/dev/null | (./conftest; exit; ) 2>/dev/null |
lt_status=$? | lt_status=$? |
|
|
fi | fi |
rm -fr conftest* | rm -fr conftest* |
| |
|
|
fi | fi |
echo "$as_me:7197: result: $lt_cv_dlopen_self" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
| |
if test "x$lt_cv_dlopen_self" = xyes; then | if test "x$lt_cv_dlopen_self" = xyes; then |
LDFLAGS="$LDFLAGS $link_static_flag" | LDFLAGS="$LDFLAGS $link_static_flag" |
echo "$as_me:7202: checking whether a statically linked program can dlopen itself" >&5 |
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
if test "${lt_cv_dlopen_self_static+set}" = set; then | if test "${lt_cv_dlopen_self_static+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
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 7213 "configure" |
#line 8563 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
exit (status); | exit (status); |
} | } |
EOF | EOF |
if { (eval echo "$as_me:7274: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 | (eval $ac_link) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:7277: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
(./conftest; exit; ) 2>/dev/null | (./conftest; exit; ) 2>/dev/null |
lt_status=$? | lt_status=$? |
|
|
fi | fi |
rm -fr conftest* | rm -fr conftest* |
| |
|
|
fi | fi |
echo "$as_me:7294: result: $lt_cv_dlopen_self_static" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
fi | fi |
| |
|
|
esac | esac |
fi | fi |
| |
|
|
if test "$enable_shared" = yes && test "$GCC" = yes; then | if test "$enable_shared" = yes && test "$GCC" = yes; then |
case $archive_cmds in | case $archive_cmds in |
*'~'*) | *'~'*) |
|
|
# Test whether the compiler implicitly links with -lc since on some | # Test whether the compiler implicitly links with -lc since on some |
# systems, -lgcc has to come before -lc. If gcc already passes -lc | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
# to ld, don't add -lc before -lgcc. | # to ld, don't add -lc before -lgcc. |
echo "$as_me:7324: checking whether -lc should be explicitly linked in" >&5 |
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then | if test "${lt_cv_archive_cmds_need_lc+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
$rm conftest* | $rm conftest* |
echo 'static int dummy;' > conftest.$ac_ext | echo 'static int dummy;' > conftest.$ac_ext |
| |
if { (eval echo "$as_me:7332: \"$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=$? |
echo "$as_me:7335: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then | (exit $ac_status); }; then |
soname=conftest | soname=conftest |
lib=conftest | lib=conftest |
|
|
libname=conftest | libname=conftest |
save_allow_undefined_flag=$allow_undefined_flag | save_allow_undefined_flag=$allow_undefined_flag |
allow_undefined_flag= | allow_undefined_flag= |
if { (eval echo "$as_me:7349: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
ac_status=$? | ac_status=$? |
echo "$as_me:7352: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } | (exit $ac_status); } |
then | then |
lt_cv_archive_cmds_need_lc=no | lt_cv_archive_cmds_need_lc=no |
|
|
fi | fi |
fi | fi |
| |
echo "$as_me:7365: result: $lt_cv_archive_cmds_need_lc" >&5 |
echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 |
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 |
;; | ;; |
esac | esac |
|
|
chmod +x "$ofile" | chmod +x "$ofile" |
fi | fi |
| |
|
|
|
|
|
|
|
|
# This can be used to rebuild libtool when needed | # This can be used to rebuild libtool when needed |
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
| |
|
|
| |
# Prevent multiple expansion | # Prevent multiple expansion |
| |
echo "$as_me:7930: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
|
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
if test "${enable_maintainer_mode+set}" = set; then | if test "${enable_maintainer_mode+set}" = set; then |
|
|
else | else |
USE_MAINTAINER_MODE=no | USE_MAINTAINER_MODE=no |
fi; | fi; |
echo "$as_me:7939: result: $USE_MAINTAINER_MODE" >&5 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
| |
|
|
if test $USE_MAINTAINER_MODE = yes; then | if test $USE_MAINTAINER_MODE = yes; then |
MAINTAINER_MODE_TRUE= | MAINTAINER_MODE_TRUE= |
MAINTAINER_MODE_FALSE='#' | MAINTAINER_MODE_FALSE='#' |
|
|
fi | fi |
MAINT=$MAINTAINER_MODE_TRUE | MAINT=$MAINTAINER_MODE_TRUE |
| |
|
|
|
|
LIBIL_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ | LIBIL_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ |
-fexpensive-optimizations" | -fexpensive-optimizations" |
LIBILU_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ | LIBILU_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ |
|
|
LIBILUT_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ | LIBILUT_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \ |
-fexpensive-optimizations" | -fexpensive-optimizations" |
| |
|
|
# Check whether --enable-bmp or --disable-bmp was given. | # Check whether --enable-bmp or --disable-bmp was given. |
if test "${enable_bmp+set}" = set; then | if test "${enable_bmp+set}" = set; then |
enableval="$enable_bmp" | enableval="$enable_bmp" |
no_bmp="yes" |
case "$enable_bmp" in |
|
no) |
|
no_bmp="yes" |
|
;; |
|
*) |
|
no_bmp="no" |
|
;; |
|
esac |
else | else |
no_bmp="no" | no_bmp="no" |
fi; | fi; |
|
|
# Check whether --enable-dcx or --disable-dcx was given. | # Check whether --enable-dcx or --disable-dcx was given. |
if test "${enable_dcx+set}" = set; then | if test "${enable_dcx+set}" = set; then |
enableval="$enable_dcx" | enableval="$enable_dcx" |
no_dcx="yes" |
case "$enable_dcx" in |
|
no) |
|
no_dcx="yes" |
|
;; |
|
*) |
|
no_dcx="no" |
|
;; |
|
esac |
else | else |
no_dcx="no" | no_dcx="no" |
fi; | fi; |
|
|
# Check whether --enable-doom or --disable-doom was given. | # Check whether --enable-doom or --disable-doom was given. |
if test "${enable_doom+set}" = set; then | if test "${enable_doom+set}" = set; then |
enableval="$enable_doom" | enableval="$enable_doom" |
no_doom="yes" |
case "$enable_doom" in |
|
no) |
|
no_doom="yes" |
|
;; |
|
*) |
|
no_doom="no" |
|
;; |
|
esac |
else | else |
no_doom="no" | no_doom="no" |
fi; | fi; |
|
|
# Check whether --enable-gif or --disable-gif was given. | # Check whether --enable-gif or --disable-gif was given. |
if test "${enable_gif+set}" = set; then | if test "${enable_gif+set}" = set; then |
enableval="$enable_gif" | enableval="$enable_gif" |
no_gif="yes" |
case "$enable_gif" in |
|
no) |
|
no_gif="yes" |
|
;; |
|
*) |
|
no_gif="no" |
|
;; |
|
esac |
else | else |
no_gif="no" | no_gif="no" |
fi; | fi; |
|
|
# Check whether --enable-icon or --disable-icon was given. | # Check whether --enable-icon or --disable-icon was given. |
if test "${enable_icon+set}" = set; then | if test "${enable_icon+set}" = set; then |
enableval="$enable_icon" | enableval="$enable_icon" |
no_icon="yes" |
case "$enable_icon" in |
|
no) |
|
no_icon="yes" |
|
;; |
|
*) |
|
no_icon="no" |
|
;; |
|
esac |
else | else |
no_icon="no" | no_icon="no" |
fi; | fi; |
|
|
# Check whether --enable-jpeg or --disable-jpeg was given. | # Check whether --enable-jpeg or --disable-jpeg was given. |
if test "${enable_jpeg+set}" = set; then | if test "${enable_jpeg+set}" = set; then |
enableval="$enable_jpeg" | enableval="$enable_jpeg" |
no_jpeg="yes" |
case "$enable_jpeg" in |
|
no) |
|
no_jpeg="yes" |
|
;; |
|
*) |
|
no_jpeg="no" |
|
;; |
|
esac |
else | else |
no_jpeg="no" | no_jpeg="no" |
fi; | fi; |
|
|
# Check whether --enable-lif or --disable-lif was given. | # Check whether --enable-lif or --disable-lif was given. |
if test "${enable_lif+set}" = set; then | if test "${enable_lif+set}" = set; then |
enableval="$enable_lif" | enableval="$enable_lif" |
no_lif="yes" |
case "$enable_lif" in |
|
no) |
|
no_lif="yes" |
|
;; |
|
*) |
|
no_lif="no" |
|
;; |
|
esac |
else | else |
no_lif="no" | no_lif="no" |
fi; | fi; |
|
|
# Check whether --enable-lcms or --disable-lcms was given. | # Check whether --enable-lcms or --disable-lcms was given. |
if test "${enable_lcms+set}" = set; then | if test "${enable_lcms+set}" = set; then |
enableval="$enable_lcms" | enableval="$enable_lcms" |
no_lcms="yes" |
case "$enable_lcms" in |
|
no) |
|
no_lcms="yes" |
|
;; |
|
*) |
|
no_lcms="no" |
|
;; |
|
esac |
else | else |
no_lcms="no" | no_lcms="no" |
fi; | fi; |
|
|
# Check whether --enable-mdl or --disable-mdl was given. | # Check whether --enable-mdl or --disable-mdl was given. |
if test "${enable_mdl+set}" = set; then | if test "${enable_mdl+set}" = set; then |
enableval="$enable_mdl" | enableval="$enable_mdl" |
no_mdl="yes" |
case "$enable_mdl" in |
|
no) |
|
no_mdl="yes" |
|
;; |
|
*) |
|
no_mdl="no" |
|
;; |
|
esac |
else | else |
no_mdl="no" | no_mdl="no" |
fi; | fi; |
|
|
# Check whether --enable-mng or --disable-mng was given. | # Check whether --enable-mng or --disable-mng was given. |
if test "${enable_mng+set}" = set; then | if test "${enable_mng+set}" = set; then |
enableval="$enable_mng" | enableval="$enable_mng" |
no_mng="yes" |
case "$enable_mng" in |
|
no) |
|
no_mng="yes" |
|
;; |
|
*) |
|
no_mng="no" |
|
;; |
|
esac |
else | else |
no_mng="no" | no_mng="no" |
fi; | fi; |
|
|
# Check whether --enable-pcd or --disable-pcd was given. | # Check whether --enable-pcd or --disable-pcd was given. |
if test "${enable_pcd+set}" = set; then | if test "${enable_pcd+set}" = set; then |
enableval="$enable_pcd" | enableval="$enable_pcd" |
no_pcd="yes" |
case "$enable_pcd" in |
|
no) |
|
no_pcd="yes" |
|
;; |
|
*) |
|
no_pcd="no" |
|
;; |
|
esac |
else | else |
no_pcd="no" | no_pcd="no" |
fi; | fi; |
|
|
# Check whether --enable-pcx or --disable-pcx was given. | # Check whether --enable-pcx or --disable-pcx was given. |
if test "${enable_pcx+set}" = set; then | if test "${enable_pcx+set}" = set; then |
enableval="$enable_pcx" | enableval="$enable_pcx" |
no_pcx="yes" |
case "$enable_pcx" in |
|
no) |
|
no_pcx="yes" |
|
;; |
|
*) |
|
no_pcx="no" |
|
;; |
|
esac |
else | else |
no_pcx="no" | no_pcx="no" |
fi; | fi; |
|
|
# Check whether --enable-pic or --disable-pic was given. | # Check whether --enable-pic or --disable-pic was given. |
if test "${enable_pic+set}" = set; then | if test "${enable_pic+set}" = set; then |
enableval="$enable_pic" | enableval="$enable_pic" |
no_pic="yes" |
case "$enable_pic" in |
|
no) |
|
no_pic="yes" |
|
;; |
|
*) |
|
no_pic="no" |
|
;; |
|
esac |
else | else |
no_pic="no" | no_pic="no" |
fi; | fi; |
|
|
# Check whether --enable-pix or --disable-pix was given. | # Check whether --enable-pix or --disable-pix was given. |
if test "${enable_pix+set}" = set; then | if test "${enable_pix+set}" = set; then |
enableval="$enable_pix" | enableval="$enable_pix" |
no_pix="yes" |
case "$enable_pix" in |
|
no) |
|
no_pix="yes" |
|
;; |
|
*) |
|
no_pix="no" |
|
;; |
|
esac |
else | else |
no_pix="no" | no_pix="no" |
fi; | fi; |
|
|
# Check whether --enable-png or --disable-png was given. | # Check whether --enable-png or --disable-png was given. |
if test "${enable_png+set}" = set; then | if test "${enable_png+set}" = set; then |
enableval="$enable_png" | enableval="$enable_png" |
no_png="yes" |
case "$enable_png" in |
|
no) |
|
no_png="yes" |
|
;; |
|
*) |
|
no_png="no" |
|
;; |
|
esac |
else | else |
no_png="no" | no_png="no" |
fi; | fi; |
|
|
# Check whether --enable-pnm or --disable-pnm was given. | # Check whether --enable-pnm or --disable-pnm was given. |
if test "${enable_pnm+set}" = set; then | if test "${enable_pnm+set}" = set; then |
enableval="$enable_pnm" | enableval="$enable_pnm" |
no_pnm="yes" |
case "$enable_pnm" in |
|
no) |
|
no_pnm="yes" |
|
;; |
|
*) |
|
no_pnm="no" |
|
;; |
|
esac |
else | else |
no_pnm="no" | no_pnm="no" |
fi; | fi; |
|
|
# Check whether --enable-psd or --disable-psd was given. | # Check whether --enable-psd or --disable-psd was given. |
if test "${enable_psd+set}" = set; then | if test "${enable_psd+set}" = set; then |
enableval="$enable_psd" | enableval="$enable_psd" |
no_psd="yes" |
case "$enable_psd" in |
|
no) |
|
no_psd="yes" |
|
;; |
|
*) |
|
no_psd="no" |
|
;; |
|
esac |
else | else |
no_psd="no" | no_psd="no" |
fi; | fi; |
|
|
# Check whether --enable-psp or --disable-psp was given. | # Check whether --enable-psp or --disable-psp was given. |
if test "${enable_psp+set}" = set; then | if test "${enable_psp+set}" = set; then |
enableval="$enable_psp" | enableval="$enable_psp" |
no_psp="yes" |
case "$enable_psp" in |
|
no) |
|
no_psp="yes" |
|
;; |
|
*) |
|
no_psp="no" |
|
;; |
|
esac |
else | else |
no_psp="no" | no_psp="no" |
fi; | fi; |
|
|
# Check whether --enable-pxr or --disable-pxr was given. | # Check whether --enable-pxr or --disable-pxr was given. |
if test "${enable_pxr+set}" = set; then | if test "${enable_pxr+set}" = set; then |
enableval="$enable_pxr" | enableval="$enable_pxr" |
no_pxr="yes" |
case "$enable_pxr" in |
|
no) |
|
no_pxr="yes" |
|
;; |
|
*) |
|
no_pxr="no" |
|
;; |
|
esac |
else | else |
no_pxr="no" | no_pxr="no" |
fi; | fi; |
|
|
# Check whether --enable-lcms or --disable-lcms was given. | # Check whether --enable-lcms or --disable-lcms was given. |
if test "${enable_lcms+set}" = set; then | if test "${enable_lcms+set}" = set; then |
enableval="$enable_lcms" | enableval="$enable_lcms" |
no_lcms="yes" |
case "$enable_lcms" in |
|
no) |
|
no_lcms="yes" |
|
;; |
|
*) |
|
no_lcms="no" |
|
;; |
|
esac |
else | else |
no_lcms="no" | no_lcms="no" |
fi; | fi; |
|
|
# Check whether --enable-raw or --disable-raw was given. | # Check whether --enable-raw or --disable-raw was given. |
if test "${enable_raw+set}" = set; then | if test "${enable_raw+set}" = set; then |
enableval="$enable_raw" | enableval="$enable_raw" |
no_raw="yes" |
case "$enable_raw" in |
|
no) |
|
no_raw="yes" |
|
;; |
|
*) |
|
no_raw="no" |
|
;; |
|
esac |
else | else |
no_raw="no" | no_raw="no" |
fi; | fi; |
|
|
# Check whether --enable-sgi or --disable-sgi was given. | # Check whether --enable-sgi or --disable-sgi was given. |
if test "${enable_sgi+set}" = set; then | if test "${enable_sgi+set}" = set; then |
enableval="$enable_sgi" | enableval="$enable_sgi" |
no_sgi="yes" |
case "$enable_sgi" in |
|
no) |
|
no_sgi="yes" |
|
;; |
|
*) |
|
no_sgi="no" |
|
;; |
|
esac |
else | else |
no_sgi="no" | no_sgi="no" |
fi; | fi; |
|
|
# Check whether --enable-tga or --disable-tga was given. | # Check whether --enable-tga or --disable-tga was given. |
if test "${enable_tga+set}" = set; then | if test "${enable_tga+set}" = set; then |
enableval="$enable_tga" | enableval="$enable_tga" |
no_tga="yes" |
case "$enable_tga" in |
|
no) |
|
no_tga="yes" |
|
;; |
|
*) |
|
no_tga="no" |
|
;; |
|
esac |
else | else |
no_tga="no" | no_tga="no" |
fi; | fi; |
|
|
# Check whether --enable-tiff or --disable-tiff was given. | # Check whether --enable-tiff or --disable-tiff was given. |
if test "${enable_tiff+set}" = set; then | if test "${enable_tiff+set}" = set; then |
enableval="$enable_tiff" | enableval="$enable_tiff" |
no_tiff="yes" |
case "$enable_tiff" in |
|
no) |
|
no_tiff="yes" |
|
;; |
|
*) |
|
no_tiff="no" |
|
;; |
|
esac |
else | else |
no_tiff="no" | no_tiff="no" |
fi; | fi; |
|
|
# Check whether --enable-wal or --disable-wal was given. | # Check whether --enable-wal or --disable-wal was given. |
if test "${enable_wal+set}" = set; then | if test "${enable_wal+set}" = set; then |
enableval="$enable_wal" | enableval="$enable_wal" |
no_wal="yes" |
case "$enable_wal" in |
|
no) |
|
no_wal="yes" |
|
;; |
|
*) |
|
no_wal="no" |
|
;; |
|
esac |
else | else |
no_wal="no" | no_wal="no" |
fi; | fi; |
|
|
# Check whether --enable-xpm or --disable-xpm was given. | # Check whether --enable-xpm or --disable-xpm was given. |
if test "${enable_xpm+set}" = set; then | if test "${enable_xpm+set}" = set; then |
enableval="$enable_xpm" | enableval="$enable_xpm" |
no_xpm="yes" |
case "$enable_xpm" in |
|
no) |
|
no_xpm="yes" |
|
;; |
|
*) |
|
no_xpm="no" |
|
;; |
|
esac |
else | else |
no_xpm="no" | no_xpm="no" |
fi; | fi; |
|
|
# Check whether --enable-allegro or --disable-allegro was given. | # Check whether --enable-allegro or --disable-allegro was given. |
if test "${enable_allegro+set}" = set; then | if test "${enable_allegro+set}" = set; then |
enableval="$enable_allegro" | enableval="$enable_allegro" |
use_allegro="no" |
use_allegro=$enable_allegro |
else | else |
use_allegro="yes" | use_allegro="yes" |
fi; | fi; |
|
|
# Check whether --enable-directx or --disable-directx was given. | # Check whether --enable-directx or --disable-directx was given. |
if test "${enable_directx+set}" = set; then | if test "${enable_directx+set}" = set; then |
enableval="$enable_directx" | enableval="$enable_directx" |
use_directx="no" |
use_directx=$enable_directx |
else | else |
use_directx="yes" | use_directx="yes" |
fi; | fi; |
|
|
# Check whether --enable-opengl or --disable-opengl was given. | # Check whether --enable-opengl or --disable-opengl was given. |
if test "${enable_opengl+set}" = set; then | if test "${enable_opengl+set}" = set; then |
enableval="$enable_opengl" | enableval="$enable_opengl" |
use_opengl="no" |
use_opengl=$enable_opengl |
else | else |
use_opengl="yes" | use_opengl="yes" |
fi; | fi; |
|
|
# Check whether --enable-sdl or --disable-sdl was given. | # Check whether --enable-sdl or --disable-sdl was given. |
if test "${enable_sdl+set}" = set; then | if test "${enable_sdl+set}" = set; then |
enableval="$enable_sdl" | enableval="$enable_sdl" |
use_sdl="no" |
use_sdl=$enable_sdl |
else | else |
use_sdl="yes" | use_sdl="yes" |
fi; | fi; |
|
|
# Check whether --enable-win32 or --disable-win32 was given. | # Check whether --enable-win32 or --disable-win32 was given. |
if test "${enable_win32+set}" = set; then | if test "${enable_win32+set}" = set; then |
enableval="$enable_win32" | enableval="$enable_win32" |
use_win32="no" |
use_win32=$enable_win32 |
else | else |
use_win32="yes" | use_win32="yes" |
fi; | fi; |
|
|
# Check whether --enable-release or --disable-release was given. | # Check whether --enable-release or --disable-release was given. |
if test "${enable_release+set}" = set; then | if test "${enable_release+set}" = set; then |
enableval="$enable_release" | enableval="$enable_release" |
debug_symbols="yes" |
case "$enable_release" in |
|
yes) |
|
debug_symbols="no" |
|
;; |
|
no) |
|
debug_symbols="yes" |
|
;; |
|
esac |
else | else |
debug_symbols="no" | debug_symbols="no" |
fi; | fi; |
|
|
;; | ;; |
esac | esac |
| |
|
|
CPPFLAGS=$X_CFLAGS | CPPFLAGS=$X_CFLAGS |
| |
echo "$as_me:8192: checking for jpeglib.h" >&5 |
if test "${ac_cv_header_jpeglib_h+set}" = set; then |
|
echo "$as_me:$LINENO: checking for jpeglib.h" >&5 |
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 | echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 |
if test "${ac_cv_header_jpeglib_h+set}" = set; then | if test "${ac_cv_header_jpeglib_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 8198 "configure" |
echo "$as_me:$LINENO: checking jpeglib.h usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking jpeglib.h usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <jpeglib.h> | #include <jpeglib.h> |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:8202: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking jpeglib.h presence" >&5 |
|
echo $ECHO_N "checking jpeglib.h presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <jpeglib.h> |
|
_ACEOF |
|
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:8208: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
ac_cpp_err=yes | ac_cpp_err=yes |
fi | fi |
if test -z "$ac_cpp_err"; then | if test -z "$ac_cpp_err"; then |
ac_cv_header_jpeglib_h=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_cv_header_jpeglib_h=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: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
yes:no: ) |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the compiler's result" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
no:yes:* ) |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: proceeding with the preprocessor's result" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: jpeglib.h: in the future, the compiler will take precedence" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------------ ## |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
|
## ------------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for jpeglib.h" >&5 |
|
echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6 |
|
if test "${ac_cv_header_jpeglib_h+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_header_jpeglib_h=$ac_header_preproc |
fi | fi |
echo "$as_me:8227: result: $ac_cv_header_jpeglib_h" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5 |
echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 | echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6 |
|
|
|
fi |
if test $ac_cv_header_jpeglib_h = yes; then | if test $ac_cv_header_jpeglib_h = yes; then |
: | : |
else | else |
no_jpeg="yes" | no_jpeg="yes" |
fi | fi |
| |
echo "$as_me:8235: checking for tiffio.h" >&5 |
|
|
if test "${ac_cv_header_tiffio_h+set}" = set; then |
|
echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
if test "${ac_cv_header_tiffio_h+set}" = set; then | if test "${ac_cv_header_tiffio_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 8241 "configure" |
echo "$as_me:$LINENO: checking tiffio.h usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <tiffio.h> | #include <tiffio.h> |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:8245: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking tiffio.h presence" >&5 |
|
echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <tiffio.h> |
|
_ACEOF |
|
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:8251: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
ac_cpp_err=yes | ac_cpp_err=yes |
fi | fi |
if test -z "$ac_cpp_err"; then | if test -z "$ac_cpp_err"; then |
ac_cv_header_tiffio_h=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_cv_header_tiffio_h=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: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
yes:no: ) |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 |
|
echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
no:yes:* ) |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------------ ## |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
|
## ------------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
|
echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 |
|
if test "${ac_cv_header_tiffio_h+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_header_tiffio_h=$ac_header_preproc |
fi | fi |
echo "$as_me:8270: result: $ac_cv_header_tiffio_h" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 |
|
|
|
fi |
if test $ac_cv_header_tiffio_h = yes; then | if test $ac_cv_header_tiffio_h = yes; then |
: | : |
else | else |
no_tiff="yes" | no_tiff="yes" |
fi | fi |
| |
echo "$as_me:8278: checking for png.h" >&5 |
|
|
if test "${ac_cv_header_png_h+set}" = set; then |
|
echo "$as_me:$LINENO: checking for png.h" >&5 |
echo $ECHO_N "checking for png.h... $ECHO_C" >&6 | echo $ECHO_N "checking for png.h... $ECHO_C" >&6 |
if test "${ac_cv_header_png_h+set}" = set; then | if test "${ac_cv_header_png_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_png_h" >&6 |
else | else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 8284 "configure" |
echo "$as_me:$LINENO: checking png.h usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking png.h usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <png.h> | #include <png.h> |
_ACEOF | _ACEOF |
if { (eval echo "$as_me:8288: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking png.h presence" >&5 |
|
echo $ECHO_N "checking png.h presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <png.h> |
|
_ACEOF |
|
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:8294: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then | if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
else | else |
ac_cpp_err= | ac_cpp_err= |
fi | fi |
|
|
ac_cpp_err=yes | ac_cpp_err=yes |
fi | fi |
if test -z "$ac_cpp_err"; then | if test -z "$ac_cpp_err"; then |
ac_cv_header_png_h=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_cv_header_png_h=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: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
yes:no: ) |
|
{ echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5 |
|
echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc= |