[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/configure
From: |
Colin Walters |
Subject: |
[Emacs-diffs] Changes to emacs/configure |
Date: |
Wed, 10 Apr 2002 18:14:12 -0400 |
Index: emacs/configure
diff -c emacs/configure:1.84 emacs/configure:1.85
*** emacs/configure:1.84 Mon Apr 8 02:17:17 2002
--- emacs/configure Wed Apr 10 18:14:09 2002
***************
*** 1,24 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by Autoconf 2.52.
#
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
! # 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
--- 1,22 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.53.
#
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
! if expr a : '\(a\)' >/dev/null 2>&1; then
! as_expr=expr
! else
! as_expr=false
! fi
! ## --------------------- ##
! ## M4sh Initialization. ##
! ## --------------------- ##
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
***************
*** 28,35 ****
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
--- 26,190 ----
set -o posix
fi
+ # NLS nuisances.
+ # Support unset when possible.
+ if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+ as_unset=unset
+ else
+ as_unset=false
+ fi
+
+ (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
+ { $as_unset LANG || test "${LANG+set}" != set; } ||
+ { LANG=C; export LANG; }
+ (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
+ { LC_ALL=C; export LC_ALL; }
+ (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
+ { LC_TIME=C; export LC_TIME; }
+ (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
+ { LC_CTYPE=C; export LC_CTYPE; }
+ (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
+ { LANGUAGE=C; export LANGUAGE; }
+ (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
+ { LC_COLLATE=C; export LC_COLLATE; }
+ (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
+ { LC_NUMERIC=C; export LC_NUMERIC; }
+ (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
+ { LC_MESSAGES=C; export LC_MESSAGES; }
+
+
# Name of the executable.
! as_me=`(basename "$0") 2>/dev/null ||
! $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" >conftest.sh
! echo "exit 0" >>conftest.sh
! chmod +x conftest.sh
! if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
! PATH_SEPARATOR=';'
! else
! PATH_SEPARATOR=:
! fi
! rm -f conftest.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
! 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
***************
*** 57,78 ****
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.
--- 212,223 ----
as_executable_p="test -f"
! # 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"
!
! # Sed expression to map a string onto a valid variable name.
! as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
# IFS
# We need space, tab and new line, in precisely that order.
***************
*** 81,87 ****
IFS=" $as_nl"
# CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH;
}
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
--- 226,233 ----
IFS=" $as_nl"
# CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR;
export CDPATH; }
!
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
***************
*** 96,102 ****
ac_default_prefix=/usr/local
cross_compiling=no
subdirs=
! MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
--- 242,249 ----
ac_default_prefix=/usr/local
cross_compiling=no
subdirs=
! MFLAGS=
! MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
***************
*** 104,109 ****
--- 251,263 ----
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}
+ # Identity of this package.
+ PACKAGE_NAME=
+ PACKAGE_TARNAME=
+ PACKAGE_VERSION=
+ PACKAGE_STRING=
+ PACKAGE_BUGREPORT=
+
ac_unique_file="src/lisp.h"
# Factoring default headers for most tests.
ac_includes_default="\
***************
*** 142,147 ****
--- 296,302 ----
# include <unistd.h>
#endif"
+
# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
***************
*** 180,192 ****
infodir='${prefix}/info'
mandir='${prefix}/man'
- # Identity of this package.
- PACKAGE_NAME=
- PACKAGE_TARNAME=
- PACKAGE_VERSION=
- PACKAGE_STRING=
- PACKAGE_BUGREPORT=
-
ac_prev=
for ac_option
do
--- 335,340 ----
***************
*** 319,325 ****
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
--- 467,473 ----
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c | -n)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
***************
*** 498,504 ****
eval ac_val=$`echo $ac_var`
case $ac_val in
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! *) { echo "$as_me: error: expected an absolute path for --$ac_var:
$ac_val" >&2
{ (exit 1); exit 1; }; };;
esac
done
--- 646,652 ----
eval ac_val=$`echo $ac_var`
case $ac_val in
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! *) { echo "$as_me: error: expected an absolute directory name for
--$ac_var: $ac_val" >&2
{ (exit 1); exit 1; }; };;
esac
done
***************
*** 510,527 ****
eval ac_val=$`echo $ac_var`
case $ac_val in
[\\/$]* | ?:[\\/]* ) ;;
! *) { echo "$as_me: error: expected an absolute path for --$ac_var:
$ac_val" >&2
{ (exit 1); exit 1; }; };;
esac
done
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
build=$build_alias
host=$host_alias
target=$target_alias
! # FIXME: should be removed in autoconf 3.0.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
--- 658,676 ----
eval ac_val=$`echo $ac_var`
case $ac_val in
[\\/$]* | ?:[\\/]* ) ;;
! *) { echo "$as_me: error: expected an absolute directory name for
--$ac_var: $ac_val" >&2
{ (exit 1); exit 1; }; };;
esac
done
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
+ # FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias
! # FIXME: To remove some day.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
***************
*** 537,549 ****
test "$silent" = yes && exec 6>/dev/null
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
! ac_prog=$0
! ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
! test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
--- 686,708 ----
test "$silent" = yes && exec 6>/dev/null
+
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
! ac_confdir=`(dirname "$0") 2>/dev/null ||
! $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 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
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
***************
*** 553,562 ****
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
! { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
{ (exit 1); exit 1; }; }
else
! { echo "$as_me: error: cannot find sources in $srcdir" >&2
{ (exit 1); exit 1; }; }
fi
fi
--- 712,721 ----
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
! { echo "$as_me: error: cannot find sources ($ac_unique_file) in
$ac_confdir or .." >&2
{ (exit 1); exit 1; }; }
else
! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir"
>&2
{ (exit 1); exit 1; }; }
fi
fi
***************
*** 600,606 ****
if test "$ac_init_help" = "long"; then
# 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.
! cat <<EOF
\`configure' configures this package to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
--- 759,765 ----
if test "$ac_init_help" = "long"; then
# 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.
! cat <<_ACEOF
\`configure' configures this package to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
***************
*** 621,629 ****
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
! EOF
! cat <<EOF
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
--- 780,788 ----
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
! _ACEOF
! cat <<_ACEOF
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
***************
*** 650,658 ****
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
! EOF
! cat <<\EOF
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--- 809,817 ----
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
! _ACEOF
! cat <<\_ACEOF
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
***************
*** 665,677 ****
System types:
--build=BUILD configure for building on BUILD [guessed]
! --host=HOST build programs to run on HOST [BUILD]
! EOF
fi
if test -n "$ac_init_help"; then
! cat <<\EOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--- 824,836 ----
System types:
--build=BUILD configure for building on BUILD [guessed]
! --host=HOST cross-compile to build programs to run on HOST [BUILD]
! _ACEOF
fi
if test -n "$ac_init_help"; then
! cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
***************
*** 681,686 ****
--- 840,847 ----
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-game-dir use a shared game directory if possible
+ --with-game-user use specified user for game directory
--without-gcc don't use GCC to compile Emacs if GCC is found
--without-pop don't support POP mail retrieval with movemail
--with-kerberos support Kerberos-authenticated POP
***************
*** 710,749 ****
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
! EOF
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
ac_popdir=`pwd`
! for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
! cd $ac_subdir
! # A "../" for each directory in /$ac_subdir.
! ac_dots=`echo $ac_subdir |
! sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
!
! case $srcdir in
! .) # No --srcdir option. We are building in place.
! ac_sub_srcdir=$srcdir ;;
! [\\/]* | ?:[\\/]* ) # Absolute path.
! ac_sub_srcdir=$srcdir/$ac_subdir ;;
! *) # Relative path.
! ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
! esac
# Check for guested configure; otherwise get Cygnus style configure.
! if test -f $ac_sub_srcdir/configure.gnu; then
echo
! $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
! elif test -f $ac_sub_srcdir/configure; then
echo
! $SHELL $ac_sub_srcdir/configure --help=recursive
! elif test -f $ac_sub_srcdir/configure.ac ||
! test -f $ac_sub_srcdir/configure.in; then
echo
$ac_configure --help
else
! echo "$as_me: WARNING: no configuration information is in $ac_subdir"
>&2
fi
cd $ac_popdir
done
--- 871,930 ----
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
! _ACEOF
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
ac_popdir=`pwd`
! for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! test -d $ac_dir || continue
! ac_builddir=.
!
! if test "$ac_dir" != .; then
! ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! # A "../" for each directory in $ac_dir_suffix.
! ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
! ac_dir_suffix= ac_top_builddir=
! fi
!
! case $srcdir in
! .) # 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
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+ cd $ac_dir
# Check for guested configure; otherwise get Cygnus style configure.
! if test -f $ac_srcdir/configure.gnu; then
echo
! $SHELL $ac_srcdir/configure.gnu --help=recursive
! elif test -f $ac_srcdir/configure; then
echo
! $SHELL $ac_srcdir/configure --help=recursive
! elif test -f $ac_srcdir/configure.ac ||
! test -f $ac_srcdir/configure.in; then
echo
$ac_configure --help
else
! echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi
cd $ac_popdir
done
***************
*** 751,781 ****
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
! cat <<\EOF
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
! EOF
exit 0
fi
exec 5>config.log
! cat >&5 <<EOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was
! generated by GNU Autoconf 2.52. Invocation command line was
$ $0 $@
! EOF
{
cat <<_ASUNAME
! ## ---------- ##
! ## Platform. ##
! ## ---------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
--- 932,962 ----
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
! cat <<\_ACEOF
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
! _ACEOF
exit 0
fi
exec 5>config.log
! cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by $as_me, which was
! generated by GNU Autoconf 2.53. Invocation command line was
$ $0 $@
! _ACEOF
{
cat <<_ASUNAME
! ## --------- ##
! ## Platform. ##
! ## --------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
***************
*** 794,810 ****
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo
unknown`
/bin/universe = `(/bin/universe) 2>/dev/null || echo
unknown`
- PATH = $PATH
-
_ASUNAME
} >&5
! cat >&5 <<EOF
! ## ------------ ##
! ## Core tests. ##
! ## ------------ ##
- EOF
# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
--- 975,1001 ----
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo
unknown`
/bin/universe = `(/bin/universe) 2>/dev/null || echo
unknown`
_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
! cat >&5 <<_ACEOF
!
!
! ## ----------- ##
! ## Core tests. ##
! ## ----------- ##
!
! _ACEOF
# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
***************
*** 815,829 ****
do
case $ac_arg in
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c) ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
! ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! ac_sep=" " ;;
! *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
! ac_sep=" " ;;
esac
# Get rid of the leading space.
done
--- 1006,1022 ----
do
case $ac_arg in
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c | -n ) continue ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! continue ;;
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! esac
! case " $ac_configure_args " in
! *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! ac_sep=" " ;;
esac
# Get rid of the leading space.
done
***************
*** 831,844 ****
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly.
trap 'exit_status=$?
# Save into config.log some information that might help in debugging.
! echo >&5
! echo "## ----------------- ##" >&5
! echo "## Cache variables. ##" >&5
! echo "## ----------------- ##" >&5
! echo >&5
! # The following way of writing the cache mishandles newlines in values,
{
(set) 2>&1 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
--- 1024,1042 ----
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# 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=$?
# Save into config.log some information that might help in debugging.
! {
! echo
! cat <<\_ASBOX
! ## ---------------- ##
! ## Cache variables. ##
! ## ---------------- ##
! _ASBOX
! echo
! # The following way of writing the cache mishandles newlines in values,
{
(set) 2>&1 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
***************
*** 852,872 ****
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
;;
esac;
! } >&5
! sed "/^$/d" confdefs.h >conftest.log
! if test -s conftest.log; then
! echo >&5
! echo "## ------------ ##" >&5
! echo "## confdefs.h. ##" >&5
! echo "## ------------ ##" >&5
! echo >&5
! cat conftest.log >&5
! fi
! (echo; echo) >&5
! test "$ac_signal" != 0 &&
! echo "$as_me: caught signal $ac_signal" >&5
! echo "$as_me: exit $exit_status" >&5
! rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
--- 1050,1073 ----
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
;;
esac;
! }
! echo
! if test -s confdefs.h; then
! cat <<\_ASBOX
! ## ----------- ##
! ## confdefs.h. ##
! ## ----------- ##
! _ASBOX
! echo
! sed "/^$/d" confdefs.h
! echo
! fi
! test "$ac_signal" != 0 &&
! echo "$as_me: caught signal $ac_signal"
! echo "$as_me: exit $exit_status"
! } >&5
! rm -f core core.* *.core &&
! rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
***************
*** 879,884 ****
--- 1080,1112 ----
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
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.
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
***************
*** 890,898 ****
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
! { echo "$as_me:893: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
! cat "$ac_site_file" >&5
. "$ac_site_file"
fi
done
--- 1118,1126 ----
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
! { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
! sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file"
fi
done
***************
*** 901,907 ****
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
! { echo "$as_me:904: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;;
--- 1129,1135 ----
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
! { echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . $cache_file;;
***************
*** 909,915 ****
esac
fi
else
! { echo "$as_me:912: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
--- 1137,1143 ----
esac
fi
else
! { echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
***************
*** 925,966 ****
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
! { echo "$as_me:928: 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;}
ac_cache_corrupted=: ;;
,set)
! { echo "$as_me:932: 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;}
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
! { echo "$as_me:938: 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:940: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
! { echo "$as_me:942: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi;;
esac
! # Pass precious variables to config.status. It doesn't matter if
! # we pass some twice (in addition to the command line arguments).
if test "$ac_new_set" = set; then
case $ac_new_val in
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
! ac_configure_args="$ac_configure_args '$ac_arg'"
! ;;
! *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
! ;;
esac
fi
done
if $ac_cache_corrupted; then
! { echo "$as_me:961: 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:963: 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;}
{ (exit 1); exit 1; }; }
fi
--- 1153,1194 ----
eval ac_new_val="\$ac_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
! { 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;}
ac_cache_corrupted=: ;;
,set)
! { 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;}
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
! { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the
previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
! { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi;;
esac
! # Pass precious variables to config.status.
if test "$ac_new_set" = set; then
case $ac_new_val in
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! *) ac_arg=$ac_var=$ac_new_val ;;
! esac
! case " $ac_configure_args " in
! *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
esac
fi
done
if $ac_cache_corrupted; then
! { 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:$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;}
{ (exit 1); exit 1; }; }
fi
***************
*** 971,999 ****
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
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:983: PATH=\".;.\"; conftest.sh") >&5
! (PATH=".;."; conftest.sh) 2>&5
! ac_status=$?
! echo "$as_me:986: \$? = $ac_status" >&5
! (exit $ac_status); }; then
! ac_path_separator=';'
! else
! ac_path_separator=:
! fi
! PATH_SEPARATOR="$ac_path_separator"
! rm -f conftest.sh
ac_config_headers="$ac_config_headers src/config.h:src/config.in"
test "$program_prefix" != NONE &&
program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
--- 1199,1224 ----
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ac_config_headers="$ac_config_headers src/config.h:src/config.in"
+
test "$program_prefix" != NONE &&
program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
***************
*** 1007,1012 ****
--- 1232,1238 ----
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
rm conftest.sed
+
lispdir='${datadir}/emacs/${version}/lisp'
locallisppath='${datadir}/emacs/${version}/site-lisp:'\
'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
***************
*** 1014,1019 ****
--- 1240,1271 ----
etcdir='${datadir}/emacs/${version}/etc'
archlibdir='${libexecdir}/emacs/${version}/${configuration}'
docdir='${datadir}/emacs/${version}/etc'
+ gamedir=yes
+
+
+ # Check whether --with-game-dir or --without-game-dir was given.
+ if test "${with_game_dir+set}" = set; then
+ withval="$with_game_dir"
+ if test "$withval" = yes; then
+ gamedir="${localstatedir}/games/emacs"
+ else
+ if test "$withval" = no; then
+ gamedir=no
+ else
+ gamedir="$withval"
+ fi
+ fi
+
+ fi;
+
+ gameuser=games
+
+ # Check whether --with-game-user or --without-game-user was given.
+ if test "${with_game_user+set}" = set; then
+ withval="$with_game_user"
+ gameuser="$withval"
+ fi;
+
# Check whether --with-gcc or --without-gcc was given.
if test "${with_gcc+set}" = set; then
***************
*** 1025,1049 ****
if test "${with_pop+set}" = set; then
withval="$with_pop"
if test "$withval" = yes; then
! cat >>confdefs.h <<\EOF
#define MAIL_USE_POP 1
! EOF
else :
fi
else
! cat >>confdefs.h <<\EOF
#define MAIL_USE_POP 1
! EOF
fi;
# Check whether --with-kerberos or --without-kerberos was given.
if test "${with_kerberos+set}" = set; then
withval="$with_kerberos"
! cat >>confdefs.h <<\EOF
#define KERBEROS 1
! EOF
fi;
--- 1277,1301 ----
if test "${with_pop+set}" = set; then
withval="$with_pop"
if test "$withval" = yes; then
! cat >>confdefs.h <<\_ACEOF
#define MAIL_USE_POP 1
! _ACEOF
else :
fi
else
! cat >>confdefs.h <<\_ACEOF
#define MAIL_USE_POP 1
! _ACEOF
fi;
# Check whether --with-kerberos or --without-kerberos was given.
if test "${with_kerberos+set}" = set; then
withval="$with_kerberos"
! cat >>confdefs.h <<\_ACEOF
#define KERBEROS 1
! _ACEOF
fi;
***************
*** 1053,1085 ****
if test "${with_kerberos5+set}" = set; then
if test "${with_kerberos+set}" != set; then
with_kerberos=yes
! cat >>confdefs.h <<\EOF
#define KERBEROS 1
! EOF
fi
fi
! cat >>confdefs.h <<\EOF
#define KERBEROS5 1
! EOF
fi;
# Check whether --with-hesiod or --without-hesiod was given.
if test "${with_hesiod+set}" = set; then
withval="$with_hesiod"
! cat >>confdefs.h <<\EOF
#define HESIOD 1
! EOF
fi;
# Check whether --with-sound or --without-sound was given.
if test "${with_sound+set}" = set; then
withval="$with_sound"
fi;
# Check whether --with-x-toolkit or --without-x-toolkit was given.
if test "${with_x_toolkit+set}" = set; then
withval="$with_x_toolkit"
--- 1305,1339 ----
if test "${with_kerberos5+set}" = set; then
if test "${with_kerberos+set}" != set; then
with_kerberos=yes
! cat >>confdefs.h <<\_ACEOF
#define KERBEROS 1
! _ACEOF
fi
fi
! cat >>confdefs.h <<\_ACEOF
#define KERBEROS5 1
! _ACEOF
fi;
# Check whether --with-hesiod or --without-hesiod was given.
if test "${with_hesiod+set}" = set; then
withval="$with_hesiod"
! cat >>confdefs.h <<\_ACEOF
#define HESIOD 1
! _ACEOF
fi;
+
# Check whether --with-sound or --without-sound was given.
if test "${with_sound+set}" = set; then
withval="$with_sound"
fi;
+
# Check whether --with-x-toolkit or --without-x-toolkit was given.
if test "${with_x_toolkit+set}" = set; then
withval="$with_x_toolkit"
***************
*** 1090,1096 ****
a | at | ath | athe | athen | athena ) val=athena ;;
m | mo | mot | moti | motif ) val=motif ;;
* )
! { { echo "$as_me:1093: error: \`--with-x-toolkit=$withval' is invalid\;
this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
--- 1344,1350 ----
a | at | ath | athe | athen | athena ) val=athena ;;
m | mo | mot | moti | motif ) val=motif ;;
* )
! { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
***************
*** 1172,1178 ****
#### Check if the source directory already has a configured system in it.
if test `pwd` != `(cd ${srcdir} && pwd)` \
&& test -f "${srcdir}/src/config.h" ; then
! { echo "$as_me:1175: WARNING: The directory tree \`${srcdir}' is being used
as a build directory right now; it has been configured in its own
right. To configure in another directory as well, you MUST
use GNU make. If you do not have GNU make, then you must
--- 1426,1432 ----
#### Check if the source directory already has a configured system in it.
if test `pwd` != `(cd ${srcdir} && pwd)` \
&& test -f "${srcdir}/src/config.h" ; then
! { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being
used
as a build directory right now; it has been configured in its own
right. To configure in another directory as well, you MUST
use GNU make. If you do not have GNU make, then you must
***************
*** 1217,1223 ****
fi
done
if test -z "$ac_aux_dir"; then
! { { echo "$as_me:1220: error: cannot find install-sh or install.sh in
$srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir
$srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; }
fi
--- 1471,1477 ----
fi
done
if test -z "$ac_aux_dir"; then
! { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in
$srcdir $srcdir/.. $srcdir/../.." >&5
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir
$srcdir/.. $srcdir/../.." >&2;}
{ (exit 1); exit 1; }; }
fi
***************
*** 1227,1237 ****
# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
! { { echo "$as_me:1230: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
{ (exit 1); exit 1; }; }
! echo "$as_me:1234: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 1481,1491 ----
# Make sure we can run config.sub.
$ac_config_sub sun4 >/dev/null 2>&1 ||
! { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
{ (exit 1); exit 1; }; }
! echo "$as_me:$LINENO: checking build system type" >&5
echo $ECHO_N "checking build system type... $ECHO_C" >&6
if test "${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 1240,1265 ****
test -z "$ac_cv_build_alias" &&
ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
! { { echo "$as_me:1243: error: cannot guess build type; you must specify
one" >&5
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
{ (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! { { echo "$as_me:1247: error: $ac_config_sub $ac_cv_build_alias failed." >&5
! echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
{ (exit 1); exit 1; }; }
fi
! echo "$as_me:1252: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- test -z "$build_alias" &&
- build_alias=$ac_cv_build
! echo "$as_me:1262: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 1494,1517 ----
test -z "$ac_cv_build_alias" &&
ac_cv_build_alias=`$ac_config_guess`
test -z "$ac_cv_build_alias" &&
! { { 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;}
{ (exit 1); exit 1; }; }
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! { { 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;}
{ (exit 1); exit 1; }; }
fi
! echo "$as_me:$LINENO: result: $ac_cv_build" >&5
echo "${ECHO_T}$ac_cv_build" >&6
build=$ac_cv_build
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! echo "$as_me:$LINENO: checking host system type" >&5
echo $ECHO_N "checking host system type... $ECHO_C" >&6
if test "${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 1268,1291 ****
test -z "$ac_cv_host_alias" &&
ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! { { echo "$as_me:1271: error: $ac_config_sub $ac_cv_host_alias failed" >&5
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi
! echo "$as_me:1276: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- test -z "$host_alias" &&
- host_alias=$ac_cv_host
canonical=$host
configuration=${host_alias-$host}
### If you add support for a new configuration, add code to this
### switch statement to recognize your configuration name and select
### the appropriate operating system and machine description files.
--- 1520,1542 ----
test -z "$ac_cv_host_alias" &&
ac_cv_host_alias=$ac_cv_build_alias
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! { { 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;}
{ (exit 1); exit 1; }; }
fi
! echo "$as_me:$LINENO: result: $ac_cv_host" >&5
echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
canonical=$host
configuration=${host_alias-$host}
+
### If you add support for a new configuration, add code to this
### switch statement to recognize your configuration name and select
### the appropriate operating system and machine description files.
***************
*** 2245,2252 ****
esac
fi
if test $unported = yes; then
! { { echo "$as_me:2249: error: Emacs hasn't been ported to \`${canonical}'
systems.
Check \`etc/MACHINES' for recognized configuration names." >&5
echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
Check \`etc/MACHINES' for recognized configuration names." >&2;}
--- 2496,2504 ----
esac
fi
+
if test $unported = yes; then
! { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to
\`${canonical}' systems.
Check \`etc/MACHINES' for recognized configuration names." >&5
echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
Check \`etc/MACHINES' for recognized configuration names." >&2;}
***************
*** 2256,2261 ****
--- 2508,2514 ----
machfile="m/${machine}.h"
opsysfile="s/${opsys}.h"
+
#### Choose a compiler.
test -n "$CC" && cc_specified=yes
***************
*** 2275,2281 ****
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.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
! echo "$as_me:2278: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2528,2534 ----
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.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2283,2307 ****
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}gcc"
! echo "$as_me:2293: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:2301: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:2304: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2536,2563 ----
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="${ac_tool_prefix}gcc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2310,2316 ****
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
! echo "$as_me:2313: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2566,2572 ----
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2318,2342 ****
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="gcc"
! echo "$as_me:2328: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:2336: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:2339: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2574,2601 ----
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="gcc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2349,2355 ****
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.
set dummy ${ac_tool_prefix}cc; ac_word=$2
! echo "$as_me:2352: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2608,2614 ----
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.
set dummy ${ac_tool_prefix}cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2357,2381 ****
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc"
! echo "$as_me:2367: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:2375: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:2378: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2616,2643 ----
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="${ac_tool_prefix}cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2384,2390 ****
ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
! echo "$as_me:2387: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2646,2652 ----
ac_ct_CC=$CC
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2392,2416 ****
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="cc"
! echo "$as_me:2402: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:2410: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:2413: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2654,2681 ----
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2423,2429 ****
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
! echo "$as_me:2426: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2688,2694 ----
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2432,2450 ****
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
! 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
! if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
! ac_prog_rejected=yes
! continue
! fi
! ac_cv_prog_CC="cc"
! echo "$as_me:2446: found $ac_dir/$ac_word" >&5
! break
done
if test $ac_prog_rejected = yes; then
--- 2697,2718 ----
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! ac_prog_rejected=yes
! continue
! fi
! ac_cv_prog_CC="cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
if test $ac_prog_rejected = yes; then
***************
*** 2456,2462 ****
# 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.
shift
! set dummy "$ac_dir/$ac_word" ${1+"$@"}
shift
ac_cv_prog_CC="$@"
fi
--- 2724,2730 ----
# 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.
shift
! set dummy "$as_dir/$ac_word" ${1+"$@"}
shift
ac_cv_prog_CC="$@"
fi
***************
*** 2465,2474 ****
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:2468: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:2471: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2733,2742 ----
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2479,2485 ****
do
# 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
! echo "$as_me:2482: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2747,2753 ----
do
# 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
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2487,2511 ****
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_CC="$ac_tool_prefix$ac_prog"
! echo "$as_me:2497: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:2505: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:2508: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2755,2782 ----
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2518,2524 ****
do
# Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:2521: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2789,2795 ----
do
# Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2526,2550 ****
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="$ac_prog"
! echo "$as_me:2536: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:2544: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:2547: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 2797,2824 ----
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 2556,2589 ****
fi
! test -z "$CC" && { { echo "$as_me:2559: error: no acceptable cc found in
\$PATH" >&5
! echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
{ (exit 1); exit 1; }; }
# Provide some information about the compiler.
! echo "$as_me:2564:" \
"checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
! { (eval echo "$as_me:2567: \"$ac_compiler --version </dev/null >&5\"") >&5
(eval $ac_compiler --version </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:2570: \$? = $ac_status" >&5
(exit $ac_status); }
! { (eval echo "$as_me:2572: \"$ac_compiler -v </dev/null >&5\"") >&5
(eval $ac_compiler -v </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:2575: \$? = $ac_status" >&5
(exit $ac_status); }
! { (eval echo "$as_me:2577: \"$ac_compiler -V </dev/null >&5\"") >&5
(eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:2580: \$? = $ac_status" >&5
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF
! #line 2584 "configure"
#include "confdefs.h"
int
main ()
{
--- 2830,2870 ----
fi
!
! test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler
found in \$PATH" >&5
! echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
{ (exit 1); exit 1; }; }
# Provide some information about the compiler.
! echo "$as_me:$LINENO:" \
"checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
! { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
(eval $ac_compiler --version </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
(eval $ac_compiler -v </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
(eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2597,2618 ****
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
! echo "$as_me:2600: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! if { (eval echo "$as_me:2603: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5
ac_status=$?
! echo "$as_me:2606: \$? = $ac_status" >&5
(exit $ac_status); }; then
# 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
# resort.
! for ac_file in `ls a.exe conftest.exe 2>/dev/null;
ls a.out conftest 2>/dev/null;
ls a.* conftest.* 2>/dev/null`; do
case $ac_file in
! *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
a.out ) # We found the default executable, but exeext='' is most
# certainly right.
break;;
--- 2878,2903 ----
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
! echo "$as_me:$LINENO: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
(eval $ac_link_default) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
# 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
# resort.
!
! # Be careful to initialize this variable, since it used to be cached.
! # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! ac_cv_exeext=
! for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
ls a.out conftest 2>/dev/null;
ls a.* conftest.* 2>/dev/null`; do
case $ac_file in
! *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
a.out ) # We found the default executable, but exeext='' is most
# certainly right.
break;;
***************
*** 2626,2659 ****
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! { { echo "$as_me:2629: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
{ (exit 77); exit 77; }; }
fi
ac_exeext=$ac_cv_exeext
! echo "$as_me:2635: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
! echo "$as_me:2640: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# 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 test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
! { (eval echo "$as_me:2646: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2649: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
! { { echo "$as_me:2656: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;}
--- 2911,2944 ----
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
echo "$as_me: error: C compiler cannot create executables" >&2;}
{ (exit 77); exit 77; }; }
fi
ac_exeext=$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# 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 test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
! { (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
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
! { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'." >&2;}
***************
*** 2661,2684 ****
fi
fi
fi
! echo "$as_me:2664: result: yes" >&5
echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
! echo "$as_me:2671: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! echo "$as_me:2673: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6
! echo "$as_me:2676: checking for executable suffix" >&5
! echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
! if { (eval echo "$as_me:2678: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:2681: \$? = $ac_status" >&5
(exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
--- 2946,2969 ----
fi
fi
fi
! echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6
! echo "$as_me:$LINENO: checking for suffix of executables" >&5
! echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 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); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
***************
*** 2694,2720 ****
esac
done
else
! { { echo "$as_me:2697: error: cannot compute EXEEXT: cannot compile and
link" >&5
! echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest$ac_cv_exeext
! echo "$as_me:2703: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
! echo "$as_me:2709: checking for object suffix" >&5
! echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 2715 "configure"
#include "confdefs.h"
int
main ()
{
--- 2979,3011 ----
esac
done
else
! { { echo "$as_me:$LINENO: error: cannot compute suffix of executables:
cannot compile and link" >&5
! echo "$as_me: error: cannot compute suffix of executables: cannot compile and
link" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
! echo "$as_me:$LINENO: checking for suffix of object files" >&5
! echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2724,2733 ****
}
_ACEOF
rm -f conftest.o conftest.obj
! if { (eval echo "$as_me:2727: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2730: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
case $ac_file in
--- 3015,3024 ----
}
_ACEOF
rm -f conftest.o conftest.obj
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
case $ac_file in
***************
*** 2739,2764 ****
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! { { echo "$as_me:2742: error: cannot compute OBJEXT: cannot compile" >&5
! echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
! echo "$as_me:2749: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
! echo "$as_me:2753: 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
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 2759 "configure"
#include "confdefs.h"
int
main ()
{
--- 3030,3061 ----
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: cannot compute suffix of object files:
cannot compile" >&5
! echo "$as_me: error: cannot compute suffix of object files: cannot compile"
>&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
! 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
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2771,2786 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2774: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2777: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:2780: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2783: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
--- 3068,3083 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
***************
*** 2792,2812 ****
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
! echo "$as_me:2795: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
! echo "$as_me:2801: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 2807 "configure"
#include "confdefs.h"
int
main ()
{
--- 3089,3115 ----
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
! echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
! echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2816,2831 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2822: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:2825: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2828: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
--- 3119,3134 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
***************
*** 2835,2841 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:2838: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
--- 3138,3144 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
***************
*** 2862,2877 ****
#endif
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2865: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2868: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:2871: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2874: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in \
''\
--- 3165,3180 ----
#endif
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in \
''\
***************
*** 2883,2892 ****
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
! #line 2886 "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
int
main ()
{
--- 3186,3201 ----
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <stdlib.h>
$ac_declaration
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2896,2911 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2899: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2902: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:2905: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2908: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
--- 3205,3220 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
***************
*** 2915,2923 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line 2918 "configure"
#include "confdefs.h"
$ac_declaration
int
main ()
{
--- 3224,3238 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
$ac_declaration
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 2927,2942 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2930: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:2933: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:2936: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:2939: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
--- 3242,3257 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
***************
*** 2963,2968 ****
--- 3278,3284 ----
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
***************
*** 3009,3022 ****
#### should make an entry in src/config.h, don't forget to add an
#### #undef clause to src/config.h.in for autoconf to modify.
! echo "$as_me:3012: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
! echo "$as_me:3016: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
! echo "$as_me:3019: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6
fi
--- 3325,3338 ----
#### should make an entry in src/config.h, don't forget to add an
#### #undef clause to src/config.h.in for autoconf to modify.
! echo "$as_me:$LINENO: checking whether ln -s works" >&5
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then
! echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
! echo "$as_me:$LINENO: result: no, using $LN_S" >&5
echo "${ECHO_T}no, using $LN_S" >&6
fi
***************
*** 3025,3031 ****
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! echo "$as_me:3028: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
--- 3341,3347 ----
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
! echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
***************
*** 3046,3063 ****
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
! #line 3049 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
! if { (eval echo "$as_me:3054: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:3060: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 3362,3379 ----
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3080,3096 ****
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
! #line 3083 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
! if { (eval echo "$as_me:3087: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:3093: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 3396,3412 ----
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3127,3133 ****
else
ac_cv_prog_CPP=$CPP
fi
! echo "$as_me:3130: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
--- 3443,3449 ----
else
ac_cv_prog_CPP=$CPP
fi
! echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
***************
*** 3137,3154 ****
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
! #line 3140 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
! if { (eval echo "$as_me:3145: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:3151: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 3453,3470 ----
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3171,3187 ****
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
! #line 3174 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
! if { (eval echo "$as_me:3178: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:3184: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 3487,3503 ----
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3209,3215 ****
if $ac_preproc_ok; then
:
else
! { { echo "$as_me:3212: error: C preprocessor \"$CPP\" fails sanity check"
>&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; }
fi
--- 3525,3531 ----
if $ac_preproc_ok; then
:
else
! { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity
check" >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; }
fi
***************
*** 3232,3274 ****
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
! echo "$as_me:3235: checking for a BSD compatible install" >&5
! echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_save_IFS=$IFS; IFS=$ac_path_separator
! for ac_dir in $PATH; do
! IFS=$ac_save_IFS
! # Account for people who put trailing slashes in PATH elements.
! case $ac_dir/ in
! / | ./ | .// | /cC/* \
! | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
! | /usr/ucb/* ) ;;
! *)
! # OSF1 and SCO ODT 3.0 have their own names for install.
! # Don't use installbsd from OSF since it installs stuff as root
! # by default.
! for ac_prog in ginstall scoinst install; do
! if $as_executable_p "$ac_dir/$ac_prog"; then
! if test $ac_prog = install &&
! grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
! # AIX install. It has an incompatible calling convention.
! :
! elif test $ac_prog = install &&
! grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
! # program-specific install script used by HP pwplus--don't use.
! :
! else
! ac_cv_path_install="$ac_dir/$ac_prog -c"
! break 2
! fi
! fi
done
! ;;
! esac
! done
fi
if test "${ac_cv_path_install+set}" = set; then
--- 3548,3595 ----
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
! echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! # Account for people who put trailing slashes in PATH elements.
! case $as_dir/ in
! ./ | .// | /cC/* | \
! /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! /usr/ucb/* ) ;;
! *)
! # OSF1 and SCO ODT 3.0 have their own names for install.
! # 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 &&
! grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! # AIX install. It has an incompatible calling convention.
! :
! elif test $ac_prog = install &&
! 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.
! :
! else
! ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! break 3
! fi
! fi
done
! done
! ;;
! esac
! done
!
fi
if test "${ac_cv_path_install+set}" = set; then
***************
*** 3281,3287 ****
INSTALL=$ac_install_sh
fi
fi
! echo "$as_me:3284: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
--- 3602,3608 ----
INSTALL=$ac_install_sh
fi
fi
! echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
***************
*** 3296,3302 ****
do
# Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:3299: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_YACC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3617,3623 ----
do
# Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_YACC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3304,3328 ****
if test -n "$YACC"; then
ac_cv_prog_YACC="$YACC" # 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_YACC="$ac_prog"
! echo "$as_me:3314: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
YACC=$ac_cv_prog_YACC
if test -n "$YACC"; then
! echo "$as_me:3322: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6
else
! echo "$as_me:3325: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 3625,3652 ----
if test -n "$YACC"; then
ac_cv_prog_YACC="$YACC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_YACC="$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
YACC=$ac_cv_prog_YACC
if test -n "$YACC"; then
! echo "$as_me:$LINENO: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 3334,3340 ****
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.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo "$as_me:3337: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3658,3664 ----
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.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3342,3366 ****
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
! echo "$as_me:3352: found $ac_dir/$ac_word" >&5
! break
done
fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
! echo "$as_me:3360: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
! echo "$as_me:3363: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 3666,3693 ----
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
! echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 3369,3375 ****
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
! echo "$as_me:3372: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3696,3702 ----
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3377,3391 ****
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
! echo "$as_me:3387: found $ac_dir/$ac_word" >&5
! break
done
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
--- 3704,3721 ----
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_RANLIB="ranlib"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
done
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
***************
*** 3393,3402 ****
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
! echo "$as_me:3396: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
! echo "$as_me:3399: result: no" >&5
echo "${ECHO_T}no" >&6
fi
--- 3723,3732 ----
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
! echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
***************
*** 3407,3416 ****
fi
! echo "$as_me:3410: checking for AIX" >&5
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
! #line 3413 "configure"
#include "confdefs.h"
#ifdef _AIX
yes
--- 3737,3749 ----
fi
!
!
!
! echo "$as_me:$LINENO: checking for AIX" >&5
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#ifdef _AIX
yes
***************
*** 3419,3439 ****
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then
! echo "$as_me:3422: result: yes" >&5
echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\EOF
#define _ALL_SOURCE 1
! EOF
else
! echo "$as_me:3429: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*
#### Extract some information from the operating system and machine files.
! { echo "$as_me:3436: checking the machine- and system-dependent files to find
out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable..." >&5
echo "$as_me: checking the machine- and system-dependent files to find out
--- 3752,3774 ----
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then
! echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\_ACEOF
#define _ALL_SOURCE 1
! _ACEOF
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest*
+
+
#### Extract some information from the operating system and machine files.
! { echo "$as_me:$LINENO: checking the machine- and system-dependent files to
find out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable..." >&5
echo "$as_me: checking the machine- and system-dependent files to find out
***************
*** 3583,3589 ****
fi;
if test "$enable_largefile" != no; then
! echo "$as_me:3586: checking for special C compiler options needed for large
files" >&5
echo $ECHO_N "checking for special C compiler options needed for large
files... $ECHO_C" >&6
if test "${ac_cv_sys_largefile_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3918,3924 ----
fi;
if test "$enable_largefile" != no; then
! echo "$as_me:$LINENO: checking for special C compiler options needed for
large files" >&5
echo $ECHO_N "checking for special C compiler options needed for large
files... $ECHO_C" >&6
if test "${ac_cv_sys_largefile_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3595,3601 ****
# IRIX 6.2 and later do not support large files by default,
# so use the C compiler's -n32 option if that helps.
cat >conftest.$ac_ext <<_ACEOF
! #line 3598 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
--- 3930,3936 ----
# IRIX 6.2 and later do not support large files by default,
# so use the C compiler's -n32 option if that helps.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 3606,3611 ****
--- 3941,3952 ----
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 3615,3630 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3618: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3621: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3624: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3627: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
--- 3956,3971 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
***************
*** 3634,3649 ****
rm -f conftest.$ac_objext
CC="$CC -n32"
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3637: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3640: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3643: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3646: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_largefile_CC=' -n32'; break
else
--- 3975,3990 ----
rm -f conftest.$ac_objext
CC="$CC -n32"
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_largefile_CC=' -n32'; break
else
***************
*** 3657,3669 ****
rm -f conftest.$ac_ext
fi
fi
! echo "$as_me:3660: result: $ac_cv_sys_largefile_CC" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
if test "$ac_cv_sys_largefile_CC" != no; then
CC=$CC$ac_cv_sys_largefile_CC
fi
! echo "$as_me:3666: checking for _FILE_OFFSET_BITS value needed for large
files" >&5
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3998,4010 ----
rm -f conftest.$ac_ext
fi
fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
if test "$ac_cv_sys_largefile_CC" != no; then
CC=$CC$ac_cv_sys_largefile_CC
fi
! echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large
files" >&5
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3671,3677 ****
while :; do
ac_cv_sys_file_offset_bits=no
cat >conftest.$ac_ext <<_ACEOF
! #line 3674 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
--- 4012,4018 ----
while :; do
ac_cv_sys_file_offset_bits=no
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 3682,3687 ****
--- 4023,4034 ----
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 3691,3706 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3694: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3697: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3700: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3703: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
--- 4038,4053 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
***************
*** 3709,3715 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line 3712 "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
--- 4056,4062 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
***************
*** 3721,3726 ****
--- 4068,4079 ----
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 3730,3745 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3733: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3736: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3739: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3742: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_file_offset_bits=64; break
else
--- 4083,4098 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_file_offset_bits=64; break
else
***************
*** 3750,3766 ****
break
done
fi
! echo "$as_me:3753: result: $ac_cv_sys_file_offset_bits" >&5
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
if test "$ac_cv_sys_file_offset_bits" != no; then
! cat >>confdefs.h <<EOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
! EOF
fi
rm -f conftest*
! echo "$as_me:3763: checking for _LARGE_FILES value needed for large files"
>&5
echo $ECHO_N "checking for _LARGE_FILES value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_large_files+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 4103,4119 ----
break
done
fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
if test "$ac_cv_sys_file_offset_bits" != no; then
! cat >>confdefs.h <<_ACEOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
! _ACEOF
fi
rm -f conftest*
! echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large
files" >&5
echo $ECHO_N "checking for _LARGE_FILES value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_large_files+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3768,3774 ****
while :; do
ac_cv_sys_large_files=no
cat >conftest.$ac_ext <<_ACEOF
! #line 3771 "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
--- 4121,4127 ----
while :; do
ac_cv_sys_large_files=no
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 3779,3784 ****
--- 4132,4143 ----
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 3788,3803 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3791: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3794: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3797: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3800: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
--- 4147,4162 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
***************
*** 3806,3812 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line 3809 "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
--- 4165,4171 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#define _LARGE_FILES 1
#include <sys/types.h>
***************
*** 3818,3823 ****
--- 4177,4188 ----
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 3827,3842 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3830: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:3833: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:3836: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:3839: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_large_files=1; break
else
--- 4192,4207 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_large_files=1; break
else
***************
*** 3847,4030 ****
break
done
fi
! echo "$as_me:3850: result: $ac_cv_sys_large_files" >&5
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
if test "$ac_cv_sys_large_files" != no; then
! cat >>confdefs.h <<EOF
#define _LARGE_FILES $ac_cv_sys_large_files
! EOF
fi
rm -f conftest*
fi
if test "${with_sound}" != "no"; then
# Sound support for GNU/Linux and the free BSDs.
!
! for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:3868: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 3874 "configure"
! #include "confdefs.h"
! #include <$ac_header>
! _ACEOF
! if { (eval echo "$as_me:3878: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:3884: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:3903: 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 <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
!
! fi
! done
!
! # Emulation library used on NetBSD.
! echo "$as_me:3914: checking for _oss_ioctl in -lossaudio" >&5
! echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
! if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lossaudio $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 3922 "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char _oss_ioctl ();
! int
! main ()
! {
! _oss_ioctl ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:3941: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:3944: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:3947: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:3950: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_ossaudio__oss_ioctl=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_ossaudio__oss_ioctl=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:3961: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
! echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
! if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
! LIBSOUND=-lossaudio
! else
! LIBSOUND=
! fi
!
! fi
!
! for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
! linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
! termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:3976: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 3982 "configure"
! #include "confdefs.h"
! #include <$ac_header>
! _ACEOF
! if { (eval echo "$as_me:3986: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:3992: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:4011: 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 <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
!
! fi
! done
!
! echo "$as_me:4021: 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
! #line 4027 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
--- 4212,4239 ----
break
done
fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
if test "$ac_cv_sys_large_files" != no; then
! cat >>confdefs.h <<_ACEOF
#define _LARGE_FILES $ac_cv_sys_large_files
! _ACEOF
fi
rm -f conftest*
fi
+
if test "${with_sound}" != "no"; then
# Sound support for GNU/Linux and the free BSDs.
! 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
***************
*** 4032,4044 ****
#include <float.h>
_ACEOF
! if { (eval echo "$as_me:4035: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:4041: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 4241,4253 ----
#include <float.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 4060,4066 ****
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
! #line 4063 "configure"
#include "confdefs.h"
#include <string.h>
--- 4269,4275 ----
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
! #line $LINENO "configure"
#include "confdefs.h"
#include <string.h>
***************
*** 4078,4084 ****
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
! #line 4081 "configure"
#include "confdefs.h"
#include <stdlib.h>
--- 4287,4293 ----
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
! #line $LINENO "configure"
#include "confdefs.h"
#include <stdlib.h>
***************
*** 4099,4105 ****
:
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4102 "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
--- 4308,4314 ----
:
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
***************
*** 4125,5275 ****
}
_ACEOF
rm -f conftest$ac_exeext
! if { (eval echo "$as_me:4128: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:4131: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:4133: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4136: \$? = $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
cat conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
fi
! echo "$as_me:4149: 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 <<\EOF
#define STDC_HEADERS 1
! EOF
fi
! echo "$as_me:4159: checking whether time.h and sys/time.h may both be
included" >&5
! echo $ECHO_N "checking whether time.h and sys/time.h may both be included...
$ECHO_C" >&6
! if test "${ac_cv_header_time+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4165 "configure"
#include "confdefs.h"
! #include <sys/types.h>
! #include <sys/time.h>
! #include <time.h>
! int
! main ()
! {
! if ((struct tm *) 0)
! return 0;
! ;
! return 0;
! }
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4181: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4184: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4187: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4190: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_header_time=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_time=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4200: result: $ac_cv_header_time" >&5
! echo "${ECHO_T}$ac_cv_header_time" >&6
! if test $ac_cv_header_time = yes; then
!
! cat >>confdefs.h <<\EOF
! #define TIME_WITH_SYS_TIME 1
! EOF
fi
! echo "$as_me:4210: checking for sys_siglist declaration in signal.h or
unistd.h" >&5
! echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h...
$ECHO_C" >&6
! if test "${ac_cv_decl_sys_siglist+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 4216 "configure"
#include "confdefs.h"
! #include <sys/types.h>
! #include <signal.h>
! /* NetBSD declares sys_siglist in unistd.h. */
! #if HAVE_UNISTD_H
! # include <unistd.h>
! #endif
!
! int
! main ()
! {
! char *msg = *(sys_siglist + 1);
! ;
! return 0;
! }
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4237: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4240: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4243: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_decl_sys_siglist=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_decl_sys_siglist=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:4253: result: $ac_cv_decl_sys_siglist" >&5
! echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
! if test $ac_cv_decl_sys_siglist = yes; then
!
! cat >>confdefs.h <<\EOF
! #define SYS_SIGLIST_DECLARED 1
! EOF
!
! fi
! echo "$as_me:4263: checking for sys/wait.h that is POSIX.1 compatible" >&5
! echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C"
>&6
! if test "${ac_cv_header_sys_wait_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 4269 "configure"
#include "confdefs.h"
! #include <sys/types.h>
! #include <sys/wait.h>
! #ifndef WEXITSTATUS
! # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
! #endif
! #ifndef WIFEXITED
! # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
! #endif
!
! int
! main ()
! {
! int s;
! wait (&s);
! s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4291: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:4294: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4297: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4300: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_header_sys_wait_h=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_sys_wait_h=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4310: result: $ac_cv_header_sys_wait_h" >&5
! echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
! if test $ac_cv_header_sys_wait_h = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_SYS_WAIT_H 1
! EOF
fi
! echo "$as_me:4320: checking for struct utimbuf" >&5
! echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
! if test "${emacs_cv_struct_utimbuf+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 4326 "configure"
#include "confdefs.h"
! #ifdef TIME_WITH_SYS_TIME
! #include <sys/time.h>
! #include <time.h>
! #else
! #ifdef HAVE_SYS_TIME_H
! #include <sys/time.h>
! #else
! #include <time.h>
! #endif
#endif
! #ifdef HAVE_UTIME_H
! #include <utime.h>
#endif
int
main ()
{
! static struct utimbuf x; x.actime = x.modtime;
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4350: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4353: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4356: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4359: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_struct_utimbuf=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_struct_utimbuf=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4369: result: $emacs_cv_struct_utimbuf" >&5
! echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
! if test $emacs_cv_struct_utimbuf = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_STRUCT_UTIMBUF 1
! EOF
fi
! echo "$as_me:4378: checking return type of signal handlers" >&5
! echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
! if test "${ac_cv_type_signal+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 4384 "configure"
#include "confdefs.h"
! #include <sys/types.h>
! #include <signal.h>
! #ifdef signal
! # undef signal
! #endif
! #ifdef __cplusplus
! extern "C" void (*signal (int, void (*)(int)))(int);
! #else
! void (*signal ()) ();
! #endif
!
! int
! main ()
! {
! int i;
! ;
! return 0;
! }
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4406: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4409: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4412: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4415: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_type_signal=void
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_type_signal=int
fi
rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:4425: result: $ac_cv_type_signal" >&5
! echo "${ECHO_T}$ac_cv_type_signal" >&6
!
! cat >>confdefs.h <<EOF
! #define RETSIGTYPE $ac_cv_type_signal
! EOF
! echo "$as_me:4432: checking for speed_t" >&5
! echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
! if test "${emacs_cv_speed_t+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 4438 "configure"
#include "confdefs.h"
! #include <termios.h>
! int
! main ()
! {
! speed_t x = 1;
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4450: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:4453: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4456: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4459: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! emacs_cv_speed_t=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_speed_t=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4469: result: $emacs_cv_speed_t" >&5
! echo "${ECHO_T}$emacs_cv_speed_t" >&6
! if test $emacs_cv_speed_t = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_SPEED_T 1
! EOF
fi
! echo "$as_me:4478: checking for struct timeval" >&5
! echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
! if test "${emacs_cv_struct_timeval+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4484 "configure"
#include "confdefs.h"
! #ifdef TIME_WITH_SYS_TIME
! #include <sys/time.h>
! #include <time.h>
! #else
! #ifdef HAVE_SYS_TIME_H
! #include <sys/time.h>
! #else
! #include <time.h>
! #endif
! #endif
! int
! main ()
! {
! static struct timeval x; x.tv_sec = x.tv_usec;
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4505: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:4508: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4511: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4514: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! emacs_cv_struct_timeval=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_struct_timeval=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4524: result: $emacs_cv_struct_timeval" >&5
! echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
! HAVE_TIMEVAL=$emacs_cv_struct_timeval
! if test $emacs_cv_struct_timeval = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_TIMEVAL 1
! EOF
fi
! echo "$as_me:4534: checking for struct exception" >&5
! echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
! if test "${emacs_cv_struct_exception+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4540 "configure"
#include "confdefs.h"
! #include <math.h>
int
main ()
{
! static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type =
1;
! ;
! return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4555: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4558: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4561: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_struct_exception=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_struct_exception=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4571: result: $emacs_cv_struct_exception" >&5
! echo "${ECHO_T}$emacs_cv_struct_exception" >&6
! HAVE_EXCEPTION=$emacs_cv_struct_exception
! if test $emacs_cv_struct_exception != yes; then
! cat >>confdefs.h <<\EOF
! #define NO_MATHERR 1
! EOF
fi
! echo "$as_me:4581: checking whether struct tm is in sys/time.h or time.h" >&5
! echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h...
$ECHO_C" >&6
! if test "${ac_cv_struct_tm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4587 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
int
main ()
{
! struct tm *tp; tp->tm_sec;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4601: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4604: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4607: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4610: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_struct_tm=time.h
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_struct_tm=sys/time.h
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4620: result: $ac_cv_struct_tm" >&5
! echo "${ECHO_T}$ac_cv_struct_tm" >&6
! if test $ac_cv_struct_tm = sys/time.h; then
! cat >>confdefs.h <<\EOF
! #define TM_IN_SYS_TIME 1
! EOF
fi
! echo "$as_me:4630: checking for struct tm.tm_zone" >&5
! echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
! if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4636 "configure"
#include "confdefs.h"
#include <sys/types.h>
! #include <$ac_cv_struct_tm>
int
main ()
{
! static struct tm ac_aggr;
! if (ac_aggr.tm_zone)
! return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4652: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4655: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4658: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4661: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_member_struct_tm_tm_zone=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_member_struct_tm_tm_zone=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4671: result: $ac_cv_member_struct_tm_tm_zone" >&5
! echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
! if test $ac_cv_member_struct_tm_tm_zone = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_STRUCT_TM_TM_ZONE 1
! EOF
fi
! if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
!
! cat >>confdefs.h <<\EOF
! #define HAVE_TM_ZONE 1
! EOF
!
! else
! echo "$as_me:4688: checking for tzname" >&5
! echo $ECHO_N "checking for tzname... $ECHO_C" >&6
! if test "${ac_cv_var_tzname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4694 "configure"
#include "confdefs.h"
! #include <time.h>
! #ifndef tzname /* For SGI. */
! extern char *tzname[]; /* RS6000 and others reject char **tzname. */
#endif
int
main ()
{
! atoi(*tzname);
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:4710: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:4713: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:4716: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4719: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_var_tzname=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_var_tzname=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:4729: result: $ac_cv_var_tzname" >&5
! echo "${ECHO_T}$ac_cv_var_tzname" >&6
! if test $ac_cv_var_tzname = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_TZNAME 1
! EOF
- fi
fi
! echo "$as_me:4740: checking for tm_gmtoff in struct tm" >&5
! echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
! if test "${emacs_cv_tm_gmtoff+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4746 "configure"
#include "confdefs.h"
#include <time.h>
int
main ()
{
! struct tm t; t.tm_gmtoff = 0
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:4758: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:4761: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:4764: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4767: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_tm_gmtoff=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_tm_gmtoff=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:4777: result: $emacs_cv_tm_gmtoff" >&5
! echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
! if test $emacs_cv_tm_gmtoff = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_TM_GMTOFF 1
! EOF
fi
! echo "$as_me:4786: checking for $CC option to accept ANSI C" >&5
! echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! if test "${ac_cv_prog_cc_stdc+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_cv_prog_cc_stdc=no
! ac_save_CC=$CC
! cat >conftest.$ac_ext <<_ACEOF
! #line 4794 "configure"
#include "confdefs.h"
- #include <stdarg.h>
- #include <stdio.h>
#include <sys/types.h>
! #include <sys/stat.h>
! /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! struct buf { int x; };
! FILE * (*rcsopen) (struct buf *, struct stat *, int);
! static char *e (p, i)
! char **p;
! int i;
! {
! return p[i];
! }
! static char *f (char * (*g) (char **, int), char **p, ...)
! {
! char *s;
! va_list v;
! va_start (v,p);
! s = g (p, va_arg (v,int));
! va_end (v);
! return s;
! }
! int test (int i, double x);
! struct s1 {int (*f) (int a);};
! struct s2 {int (*f) (double a);};
! int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),
int, int);
! int argc;
! char **argv;
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:4843: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4846: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4849: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4852: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_prog_cc_stdc=$ac_arg
! break
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
! rm -f conftest.$ac_objext
! done
! rm -f conftest.$ac_ext conftest.$ac_objext
! CC=$ac_save_CC
!
fi
! case "x$ac_cv_prog_cc_stdc" in
! x|xno)
! echo "$as_me:4869: result: none needed" >&5
! echo "${ECHO_T}none needed" >&6 ;;
! *)
! echo "$as_me:4872: result: $ac_cv_prog_cc_stdc" >&5
! echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! CC="$CC $ac_cv_prog_cc_stdc" ;;
! esac
- echo "$as_me:4877: checking for function prototypes" >&5
- echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
- if test "$ac_cv_prog_cc_stdc" != no; then
- echo "$as_me:4880: result: yes" >&5
- echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\EOF
- #define PROTOTYPES 1
- EOF
else
! echo "$as_me:4888: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! echo "$as_me:4892: checking for working volatile" >&5
! echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
! if test "${ac_cv_c_volatile+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4898 "configure"
#include "confdefs.h"
!
int
main ()
{
!
! volatile int x;
! int * volatile y;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4912: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:4915: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:4918: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:4921: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_c_volatile=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_c_volatile=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:4931: result: $ac_cv_c_volatile" >&5
! echo "${ECHO_T}$ac_cv_c_volatile" >&6
! if test $ac_cv_c_volatile = no; then
!
! cat >>confdefs.h <<\EOF
! #define volatile
! EOF
fi
! echo "$as_me:4941: checking for an ANSI C-conforming const" >&5
! echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! if test "${ac_cv_c_const+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 4947 "configure"
#include "confdefs.h"
!
int
main ()
{
! /* FIXME: Include the comments suggested by Paul. */
! #ifndef __cplusplus
! /* Ultrix mips cc rejects this. */
! typedef int charset[2];
! const charset x;
! /* SunOS 4.1.1 cc rejects this. */
! char const *const *ccp;
! char **p;
! /* NEC SVR4.0.2 mips cc rejects this. */
! struct point {int x, y;};
! static struct point const zero = {0,0};
! /* AIX XL C 1.02.0.0 rejects this.
! It does not let you subtract one const X* pointer from another in
! an arm of an if-expression whose if-part is not a constant
! expression */
! const char *g = "string";
! ccp = &g + (g ? g-g : 0);
! /* HPUX 7.0 cc rejects these. */
! ++ccp;
! p = (char**) ccp;
! ccp = (char const *const *) p;
! { /* SCO 3.2v4 cc rejects this. */
! char *t;
! char const *s = 0 ? (char *) 0 : (char const *) 0;
!
! *t++ = 0;
! }
! { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! int x[] = {25, 17};
! const int *foo = &x[0];
! ++foo;
! }
! { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! typedef const int *iptr;
! iptr p = 0;
! ++p;
! }
! { /* AIX XL C 1.02.0.0 rejects this saying
! "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! struct s { int j; const int *ap[3]; };
! struct s *b; b->j = 5;
! }
! { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! const int foo = 10;
! }
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5005: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:5008: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:5011: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5014: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_c_const=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_c_const=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:5024: result: $ac_cv_c_const" >&5
! echo "${ECHO_T}$ac_cv_c_const" >&6
! if test $ac_cv_c_const = no; then
!
! cat >>confdefs.h <<\EOF
! #define const
! EOF
fi
! echo "$as_me:5034: checking for void * support" >&5
! echo $ECHO_N "checking for void * support... $ECHO_C" >&6
! if test "${emacs_cv_void_star+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 5040 "configure"
#include "confdefs.h"
int
main ()
{
! void * foo;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5052: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:5055: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:5058: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5061: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_void_star=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_void_star=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:5071: result: $emacs_cv_void_star" >&5
! echo "${ECHO_T}$emacs_cv_void_star" >&6
! if test $emacs_cv_void_star = yes; then
! cat >>confdefs.h <<\EOF
! #define POINTER_TYPE void
! EOF
! else
! cat >>confdefs.h <<\EOF
! #define POINTER_TYPE char
! EOF
fi
! echo "$as_me:5085: checking whether ${MAKE-make} sets \${MAKE}" >&5
! echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
! set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.make <<\EOF
! all:
! @echo 'ac_maketemp="${MAKE}"'
! EOF
! # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! if test -n "$ac_maketemp"; then
! eval ac_cv_prog_make_${ac_make}_set=yes
! else
! eval ac_cv_prog_make_${ac_make}_set=no
! fi
! rm -f conftest.make
! fi
! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! echo "$as_me:5105: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! SET_MAKE=
! else
! echo "$as_me:5109: result: no" >&5
! echo "${ECHO_T}no" >&6
! SET_MAKE="MAKE=${MAKE-make}"
! fi
! echo "$as_me:5114: checking for long file names" >&5
! echo $ECHO_N "checking for long file names... $ECHO_C" >&6
! if test "${ac_cv_sys_long_file_names+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_sys_long_file_names=yes
! # Test for long file names in all the places we know might matter:
! # . the current directory, where building will happen
! # $prefix/lib where we will be installing things
! # $exec_prefix/lib likewise
! # eval it to expand exec_prefix.
! # $TMPDIR if set, where it might want to write temporary
files
! # if $TMPDIR is not set:
! # /tmp where it might want to write temporary files
! # /var/tmp likewise
! # /usr/tmp likewise
! if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
! ac_tmpdirs=$TMPDIR
else
! ac_tmpdirs='/tmp /var/tmp /usr/tmp'
fi
! for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
! test -d $ac_dir || continue
! test -w $ac_dir || continue # It is less confusing to not echo anything
here.
! ac_xdir=$ac_dir/cf$$
! (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
! ac_tf1=$ac_xdir/conftest9012345
! ac_tf2=$ac_xdir/conftest9012346
! (echo 1 >$ac_tf1) 2>/dev/null
! (echo 2 >$ac_tf2) 2>/dev/null
! ac_val=`cat $ac_tf1 2>/dev/null`
! if test ! -f $ac_tf1 || test "$ac_val" != 1; then
! ac_cv_sys_long_file_names=no
! rm -rf $ac_xdir 2>/dev/null
! break
! fi
! rm -rf $ac_xdir 2>/dev/null
! done
fi
! echo "$as_me:5153: result: $ac_cv_sys_long_file_names" >&5
! echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
! if test $ac_cv_sys_long_file_names = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_LONG_FILE_NAMES 1
! EOF
- fi
! #### Choose a window system.
! echo "$as_me:5165: checking for X" >&5
! echo $ECHO_N "checking for X... $ECHO_C" >&6
! # Check whether --with-x or --without-x was given.
! if test "${with_x+set}" = set; then
! withval="$with_x"
- fi;
- # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
- if test "x$with_x" = xno; then
- # The user explicitly disabled X.
- have_x=disabled
else
! if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
! # Both variables are already set.
! have_x=yes
! else
! if test "${ac_cv_have_x+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! # One or both of the vars are not set, and there is no cached value.
! ac_x_includes=no ac_x_libraries=no
! rm -fr conftest.dir
! if mkdir conftest.dir; then
! cd conftest.dir
! # Make sure to not put "make" in the Imakefile rules, since we grep it out.
! cat >Imakefile <<'EOF'
! acfindx:
! @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}";
ac_im_libdir="${LIBDIR}"'
! EOF
! if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
! # GNU make sometimes prints "make[1]: Entering...", which would confuse
us.
! eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
! # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
! for ac_extension in a so sl; do
! if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
! test -f $ac_im_libdir/libX11.$ac_extension; then
! ac_im_usrlibdir=$ac_im_libdir; break
! fi
! done
! # Screen out bogus values from the imake configuration. They are
! # bogus both because they are the default anyway, and because
! # using them would break gcc on systems where it needs fixed includes.
! case $ac_im_incroot in
! /usr/include) ;;
! *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
! esac
! case $ac_im_usrlibdir in
! /usr/lib | /lib) ;;
! *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
! esac
! fi
! cd ..
! rm -fr conftest.dir
! fi
! # Standard set of common directories for X headers.
! # Check X11 before X11Rn because it is often a symlink to the current release.
! ac_x_header_dirs='
! /usr/X11/include
! /usr/X11R6/include
! /usr/X11R5/include
! /usr/X11R4/include
! /usr/include/X11
! /usr/include/X11R6
! /usr/include/X11R5
! /usr/include/X11R4
! /usr/local/X11/include
! /usr/local/X11R6/include
! /usr/local/X11R5/include
! /usr/local/X11R4/include
! /usr/local/include/X11
! /usr/local/include/X11R6
! /usr/local/include/X11R5
! /usr/local/include/X11R4
! /usr/X386/include
! /usr/x386/include
! /usr/XFree86/include/X11
- /usr/include
- /usr/local/include
- /usr/unsupported/include
- /usr/athena/include
- /usr/local/x11r5/include
- /usr/lpp/Xamples/include
! /usr/openwin/include
! /usr/openwin/share/include'
! if test "$ac_x_includes" = no; then
! # Guess where to find include files, by looking for Intrinsic.h.
! # First, try using that file with no special directory specified.
! cat >conftest.$ac_ext <<_ACEOF
! #line 5262 "configure"
#include "confdefs.h"
! #include <X11/Intrinsic.h>
_ACEOF
! if { (eval echo "$as_me:5266: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:5272: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 4334,7944 ----
}
_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
cat conftest.$ac_ext >&5
+ ( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then
! cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
! _ACEOF
fi
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
!
!
!
!
!
!
!
!
!
! for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! inttypes.h stdint.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "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>&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
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f 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 machine/soundcard.h sys/soundcard.h soundcard.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
! #line $LINENO "configure"
#include "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>&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
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! 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: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! fi
! 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
!
! # Emulation library used on NetBSD.
! echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
! echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
! if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lossaudio $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
#endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char _oss_ioctl ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
! _oss_ioctl ();
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_ossaudio__oss_ioctl=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_ossaudio__oss_ioctl=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
! echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
! if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
! LIBSOUND=-lossaudio
! else
! LIBSOUND=
! fi
!
fi
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
! linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
! termcap.h stdio_ext.h fcntl.h term.h strings.h coff.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
! #line $LINENO "configure"
#include "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>&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
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! 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: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
! fi
! 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
!
! 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <stdlib.h>
! #include <stdarg.h>
! #include <string.h>
! #include <float.h>
!
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_stdc=yes
else
echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_stdc=no
fi
! rm -f conftest.err 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
! #line $LINENO "configure"
! #include "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
! #line $LINENO "configure"
! #include "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
! #line $LINENO "configure"
#include "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
cat conftest.$ac_ext >&5
! ( exit $ac_status )
! ac_cv_header_stdc=no
fi
! rm -f core core.* *.core 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
! echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be
included" >&5
! echo $ECHO_N "checking whether time.h and sys/time.h may both be included...
$ECHO_C" >&6
! if test "${ac_cv_header_time+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
+ #include <sys/time.h>
#include <time.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! if ((struct tm *) 0)
! return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_header_time=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_time=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
! echo "${ECHO_T}$ac_cv_header_time" >&6
! if test $ac_cv_header_time = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define TIME_WITH_SYS_TIME 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or
unistd.h" >&5
! echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h...
$ECHO_C" >&6
! if test "${ac_cv_decl_sys_siglist+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
! #include <signal.h>
! /* NetBSD declares sys_siglist in unistd.h. */
! #if HAVE_UNISTD_H
! # include <unistd.h>
! #endif
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! char *msg = *(sys_siglist + 1);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_decl_sys_siglist=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_decl_sys_siglist=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
! echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
! if test $ac_cv_decl_sys_siglist = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define SYS_SIGLIST_DECLARED 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
! echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C"
>&6
! if test "${ac_cv_header_sys_wait_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <sys/types.h>
! #include <sys/wait.h>
! #ifndef WEXITSTATUS
! # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
! #endif
! #ifndef WIFEXITED
! # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! int s;
! wait (&s);
! s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_header_sys_wait_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_sys_wait_h=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
! echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
! if test $ac_cv_header_sys_wait_h = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_SYS_WAIT_H 1
! _ACEOF
fi
!
! echo "$as_me:$LINENO: checking for struct utimbuf" >&5
! echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
! if test "${emacs_cv_struct_utimbuf+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #ifdef TIME_WITH_SYS_TIME
+ #include <sys/time.h>
+ #include <time.h>
+ #else
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #else
#include <time.h>
+ #endif
+ #endif
+ #ifdef HAVE_UTIME_H
+ #include <utime.h>
+ #endif
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! static struct utimbuf x; x.actime = x.modtime;
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_struct_utimbuf=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_struct_utimbuf=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
! echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
! if test $emacs_cv_struct_utimbuf = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_STRUCT_UTIMBUF 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking return type of signal handlers" >&5
! echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
! if test "${ac_cv_type_signal+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h>
! #include <signal.h>
! #ifdef signal
! # undef signal
! #endif
! #ifdef __cplusplus
! extern "C" void (*signal (int, void (*)(int)))(int);
! #else
! void (*signal ()) ();
! #endif
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! int i;
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_type_signal=void
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+ ac_cv_type_signal=int
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
+ echo "${ECHO_T}$ac_cv_type_signal" >&6
! cat >>confdefs.h <<_ACEOF
! #define RETSIGTYPE $ac_cv_type_signal
! _ACEOF
+ echo "$as_me:$LINENO: checking for speed_t" >&5
+ echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
+ if test "${emacs_cv_speed_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <termios.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! speed_t x = 1;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! emacs_cv_speed_t=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_speed_t=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
! echo "${ECHO_T}$emacs_cv_speed_t" >&6
! if test $emacs_cv_speed_t = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_SPEED_T 1
! _ACEOF
!
fi
! echo "$as_me:$LINENO: checking for struct timeval" >&5
! echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
! if test "${emacs_cv_struct_timeval+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #ifdef TIME_WITH_SYS_TIME
! #include <sys/time.h>
! #include <time.h>
! #else
! #ifdef HAVE_SYS_TIME_H
! #include <sys/time.h>
! #else
! #include <time.h>
! #endif
! #endif
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! static struct timeval x; x.tv_sec = x.tv_usec;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_struct_timeval=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_struct_timeval=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
! echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
! HAVE_TIMEVAL=$emacs_cv_struct_timeval
! if test $emacs_cv_struct_timeval = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_TIMEVAL 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking for struct exception" >&5
! echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
! if test "${emacs_cv_struct_exception+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <math.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type =
1;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_struct_exception=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_struct_exception=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
! echo "${ECHO_T}$emacs_cv_struct_exception" >&6
! HAVE_EXCEPTION=$emacs_cv_struct_exception
! if test $emacs_cv_struct_exception != yes; then
! cat >>confdefs.h <<\_ACEOF
! #define NO_MATHERR 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h"
>&5
! echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h...
$ECHO_C" >&6
! if test "${ac_cv_struct_tm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ #include <sys/types.h>
+ #include <time.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! struct tm *tp; tp->tm_sec;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_struct_tm=time.h
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_struct_tm=sys/time.h
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
! echo "${ECHO_T}$ac_cv_struct_tm" >&6
! if test $ac_cv_struct_tm = sys/time.h; then
! cat >>confdefs.h <<\_ACEOF
! #define TM_IN_SYS_TIME 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
! echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
! if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <sys/types.h>
! #include <$ac_cv_struct_tm>
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! static struct tm ac_aggr;
! if (ac_aggr.tm_zone)
! return 0;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_member_struct_tm_tm_zone=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_member_struct_tm_tm_zone=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
! echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
! if test $ac_cv_member_struct_tm_tm_zone = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_TM_TM_ZONE 1
! _ACEOF
! fi
! if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_TM_ZONE 1
! _ACEOF
else
! echo "$as_me:$LINENO: checking for tzname" >&5
! echo $ECHO_N "checking for tzname... $ECHO_C" >&6
! if test "${ac_cv_var_tzname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <time.h>
! #ifndef tzname /* For SGI. */
! extern char *tzname[]; /* RS6000 and others reject char **tzname. */
! #endif
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! atoi(*tzname);
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_var_tzname=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_var_tzname=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
! echo "${ECHO_T}$ac_cv_var_tzname" >&6
! if test $ac_cv_var_tzname = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_TZNAME 1
! _ACEOF
! fi
! fi
! echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
! echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
! if test "${emacs_cv_tm_gmtoff+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <time.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! struct tm t; t.tm_gmtoff = 0
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_tm_gmtoff=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_tm_gmtoff=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_tm_gmtoff" >&5
! echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
! if test $emacs_cv_tm_gmtoff = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_TM_GMTOFF 1
! _ACEOF
! fi
! echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! if test "${ac_cv_prog_cc_stdc+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_prog_cc_stdc=no
! ac_save_CC=$CC
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <stdarg.h>
! #include <stdio.h>
! #include <sys/types.h>
! #include <sys/stat.h>
! /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! struct buf { int x; };
! FILE * (*rcsopen) (struct buf *, struct stat *, int);
! static char *e (p, i)
! char **p;
! int i;
! {
! return p[i];
! }
! static char *f (char * (*g) (char **, int), char **p, ...)
! {
! char *s;
! va_list v;
! va_start (v,p);
! s = g (p, va_arg (v,int));
! va_end (v);
! return s;
! }
! int test (int i, double x);
! struct s1 {int (*f) (int a);};
! struct s2 {int (*f) (double a);};
! int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),
int, int);
! int argc;
! char **argv;
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! ;
! return 0;
! }
! _ACEOF
! # Don't try gcc -ansi; that turns off useful extensions and
! # breaks some systems' header files.
! # AIX -qlanglvl=ansi
! # Ultrix and OSF/1 -std1
! # HP-UX 10.20 and later -Ae
! # HP-UX older versions -Aa -D_HPUX_SOURCE
! # SVR4 -Xc -D__EXTENSIONS__
! for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc
-D__EXTENSIONS__"
! do
! CC="$ac_save_CC $ac_arg"
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_prog_cc_stdc=$ac_arg
! break
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! fi
! rm -f conftest.$ac_objext
! done
! rm -f conftest.$ac_ext conftest.$ac_objext
! CC=$ac_save_CC
!
! fi
!
! case "x$ac_cv_prog_cc_stdc" in
! x|xno)
! echo "$as_me:$LINENO: result: none needed" >&5
! echo "${ECHO_T}none needed" >&6 ;;
! *)
! echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! CC="$CC $ac_cv_prog_cc_stdc" ;;
! esac
!
! echo "$as_me:$LINENO: checking for function prototypes" >&5
! echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
! if test "$ac_cv_prog_cc_stdc" != no; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
!
! cat >>confdefs.h <<\_ACEOF
! #define PROTOTYPES 1
! _ACEOF
!
!
! cat >>confdefs.h <<\_ACEOF
! #define __PROTOTYPES 1
! _ACEOF
!
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! echo "$as_me:$LINENO: checking for working volatile" >&5
! echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
! if test "${ac_cv_c_volatile+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
!
! volatile int x;
! int * volatile y;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_c_volatile=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_c_volatile=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
! echo "${ECHO_T}$ac_cv_c_volatile" >&6
! if test $ac_cv_c_volatile = no; then
!
! cat >>confdefs.h <<\_ACEOF
! #define volatile
! _ACEOF
!
! fi
!
! echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! if test "${ac_cv_c_const+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! /* FIXME: Include the comments suggested by Paul. */
! #ifndef __cplusplus
! /* Ultrix mips cc rejects this. */
! typedef int charset[2];
! const charset x;
! /* SunOS 4.1.1 cc rejects this. */
! char const *const *ccp;
! char **p;
! /* NEC SVR4.0.2 mips cc rejects this. */
! struct point {int x, y;};
! static struct point const zero = {0,0};
! /* AIX XL C 1.02.0.0 rejects this.
! It does not let you subtract one const X* pointer from another in
! an arm of an if-expression whose if-part is not a constant
! expression */
! const char *g = "string";
! ccp = &g + (g ? g-g : 0);
! /* HPUX 7.0 cc rejects these. */
! ++ccp;
! p = (char**) ccp;
! ccp = (char const *const *) p;
! { /* SCO 3.2v4 cc rejects this. */
! char *t;
! char const *s = 0 ? (char *) 0 : (char const *) 0;
!
! *t++ = 0;
! }
! { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! int x[] = {25, 17};
! const int *foo = &x[0];
! ++foo;
! }
! { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! typedef const int *iptr;
! iptr p = 0;
! ++p;
! }
! { /* AIX XL C 1.02.0.0 rejects this saying
! "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! struct s { int j; const int *ap[3]; };
! struct s *b; b->j = 5;
! }
! { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! const int foo = 10;
! }
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_c_const=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_c_const=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! echo "${ECHO_T}$ac_cv_c_const" >&6
! if test $ac_cv_c_const = no; then
!
! cat >>confdefs.h <<\_ACEOF
! #define const
! _ACEOF
!
! fi
!
! echo "$as_me:$LINENO: checking for void * support" >&5
! echo $ECHO_N "checking for void * support... $ECHO_C" >&6
! if test "${emacs_cv_void_star+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! void * foo;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! emacs_cv_void_star=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_void_star=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
! echo "${ECHO_T}$emacs_cv_void_star" >&6
! if test $emacs_cv_void_star = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define POINTER_TYPE void
! _ACEOF
!
! else
! cat >>confdefs.h <<\_ACEOF
! #define POINTER_TYPE char
! _ACEOF
!
! fi
!
! echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
! echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
! set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.make <<\_ACEOF
! all:
! @echo 'ac_maketemp="${MAKE}"'
! _ACEOF
! # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! if test -n "$ac_maketemp"; then
! eval ac_cv_prog_make_${ac_make}_set=yes
! else
! eval ac_cv_prog_make_${ac_make}_set=no
! fi
! rm -f conftest.make
! fi
! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! SET_MAKE=
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! SET_MAKE="MAKE=${MAKE-make}"
! fi
!
!
! echo "$as_me:$LINENO: checking for long file names" >&5
! echo $ECHO_N "checking for long file names... $ECHO_C" >&6
! if test "${ac_cv_sys_long_file_names+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_sys_long_file_names=yes
! # Test for long file names in all the places we know might matter:
! # . the current directory, where building will happen
! # $prefix/lib where we will be installing things
! # $exec_prefix/lib likewise
! # eval it to expand exec_prefix.
! # $TMPDIR if set, where it might want to write temporary
files
! # if $TMPDIR is not set:
! # /tmp where it might want to write temporary files
! # /var/tmp likewise
! # /usr/tmp likewise
! if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
! ac_tmpdirs=$TMPDIR
! else
! ac_tmpdirs='/tmp /var/tmp /usr/tmp'
! fi
! for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
! test -d $ac_dir || continue
! test -w $ac_dir || continue # It is less confusing to not echo anything
here.
! ac_xdir=$ac_dir/cf$$
! (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
! ac_tf1=$ac_xdir/conftest9012345
! ac_tf2=$ac_xdir/conftest9012346
! (echo 1 >$ac_tf1) 2>/dev/null
! (echo 2 >$ac_tf2) 2>/dev/null
! ac_val=`cat $ac_tf1 2>/dev/null`
! if test ! -f $ac_tf1 || test "$ac_val" != 1; then
! ac_cv_sys_long_file_names=no
! rm -rf $ac_xdir 2>/dev/null
! break
! fi
! rm -rf $ac_xdir 2>/dev/null
! done
! fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
! echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
! if test $ac_cv_sys_long_file_names = yes; then
!
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_LONG_FILE_NAMES 1
! _ACEOF
!
! fi
!
!
! if test "$gamedir" = no; then :
! else
! echo "$as_me:$LINENO: checking for access to game group \"$gameuser\"" >&5
! echo $ECHO_N "checking for access to game group \"$gameuser\"... $ECHO_C" >&6
! rm -f conf$$chown.file
! touch conf$$chown.file
! if chown "$gameuser" conf$$chown.file 1>/dev/null 2>&1; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! if test "$gamedir" = "yes"; then
! gamedir="${localstatedir}/games/emacs"
! fi
! tgamedir=`eval "echo $gamedir"`
! cat >>confdefs.h <<_ACEOF
! #define HAVE_SHARED_GAME_DIR "$tgamedir"
! _ACEOF
!
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! gamedir=no
! fi
! fi
! #### Choose a window system.
!
! echo "$as_me:$LINENO: checking for X" >&5
! echo $ECHO_N "checking for X... $ECHO_C" >&6
!
!
! # Check whether --with-x or --without-x was given.
! if test "${with_x+set}" = set; then
! withval="$with_x"
!
! fi;
! # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
! if test "x$with_x" = xno; then
! # The user explicitly disabled X.
! have_x=disabled
! else
! if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
! # Both variables are already set.
! have_x=yes
! else
! if test "${ac_cv_have_x+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! # One or both of the vars are not set, and there is no cached value.
! ac_x_includes=no ac_x_libraries=no
! rm -fr conftest.dir
! if mkdir conftest.dir; then
! cd conftest.dir
! # Make sure to not put "make" in the Imakefile rules, since we grep it out.
! cat >Imakefile <<'_ACEOF'
! acfindx:
! @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}";
ac_im_libdir="${LIBDIR}"'
! _ACEOF
! if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
! # GNU make sometimes prints "make[1]: Entering...", which would confuse
us.
! eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
! # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
! for ac_extension in a so sl; do
! if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
! test -f $ac_im_libdir/libX11.$ac_extension; then
! ac_im_usrlibdir=$ac_im_libdir; break
! fi
! done
! # Screen out bogus values from the imake configuration. They are
! # bogus both because they are the default anyway, and because
! # using them would break gcc on systems where it needs fixed includes.
! case $ac_im_incroot in
! /usr/include) ;;
! *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
! esac
! case $ac_im_usrlibdir in
! /usr/lib | /lib) ;;
! *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
! esac
! fi
! cd ..
! rm -fr conftest.dir
! fi
!
! # Standard set of common directories for X headers.
! # Check X11 before X11Rn because it is often a symlink to the current release.
! ac_x_header_dirs='
! /usr/X11/include
! /usr/X11R6/include
! /usr/X11R5/include
! /usr/X11R4/include
!
! /usr/include/X11
! /usr/include/X11R6
! /usr/include/X11R5
! /usr/include/X11R4
!
! /usr/local/X11/include
! /usr/local/X11R6/include
! /usr/local/X11R5/include
! /usr/local/X11R4/include
!
! /usr/local/include/X11
! /usr/local/include/X11R6
! /usr/local/include/X11R5
! /usr/local/include/X11R4
!
! /usr/X386/include
! /usr/x386/include
! /usr/XFree86/include/X11
!
! /usr/include
! /usr/local/include
! /usr/unsupported/include
! /usr/athena/include
! /usr/local/x11r5/include
! /usr/lpp/Xamples/include
!
! /usr/openwin/include
! /usr/openwin/share/include'
!
! if test "$ac_x_includes" = no; then
! # Guess where to find include files, by looking for Intrinsic.h.
! # First, try using that file with no special directory specified.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Intrinsic.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! # We can compile using X headers with no special include directory.
! ac_x_includes=
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! for ac_dir in $ac_x_header_dirs; do
! if test -r "$ac_dir/X11/Intrinsic.h"; then
! ac_x_includes=$ac_dir
! break
! fi
! done
! fi
! rm -f conftest.err conftest.$ac_ext
! fi # $ac_x_includes = no
!
! if test "$ac_x_libraries" = no; then
! # Check for the libraries.
! # See if we find them without any special options.
! # Don't add to $LIBS permanently.
! ac_save_LIBS=$LIBS
! LIBS="-lXt $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Intrinsic.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XtMalloc (0)
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! LIBS=$ac_save_LIBS
! # We can link X programs with no special library path.
! ac_x_libraries=
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! LIBS=$ac_save_LIBS
! for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
! do
! # Don't even attempt the hair of trying to link an X program!
! for ac_extension in a so sl; do
! if test -r $ac_dir/libXt.$ac_extension; then
! ac_x_libraries=$ac_dir
! break 2
! fi
! done
! done
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi # $ac_x_libraries = no
!
! if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
! # Didn't find X anywhere. Cache the known absence of X.
! ac_cv_have_x="have_x=no"
! else
! # Record where we found X for the cache.
! ac_cv_have_x="have_x=yes \
! ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
! fi
! fi
!
! fi
! eval "$ac_cv_have_x"
! fi # $with_x != no
!
! if test "$have_x" != yes; then
! echo "$as_me:$LINENO: result: $have_x" >&5
! echo "${ECHO_T}$have_x" >&6
! no_x=yes
! else
! # If each of the values was on the command line, it overrides each guess.
! test "x$x_includes" = xNONE && x_includes=$ac_x_includes
! test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
! # Update the cache value to reflect the command line values.
! ac_cv_have_x="have_x=yes \
! ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
! echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes"
>&5
! echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
! fi
!
! if test "$no_x" = yes; then
! window_system=none
! else
! window_system=x11
! fi
!
! if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
! LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
! LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
! x_default_search_path=""
! for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
! x_search_path="\
! ${x_library}/X11/%L/%T/%N%C%S:\
! ${x_library}/X11/%l/%T/%N%C%S:\
! ${x_library}/X11/%T/%N%C%S:\
! ${x_library}/X11/%L/%T/%N%S:\
! ${x_library}/X11/%l/%T/%N%S:\
! ${x_library}/X11/%T/%N%S"
! if test x"${x_default_search_path}" = x; then
! x_default_search_path=${x_search_path}
! else
! x_default_search_path="${x_search_path}:${x_default_search_path}"
! fi
! done
! fi
! if test "${x_includes}" != NONE && test -n "${x_includes}"; then
! C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
! fi
!
! if test x"${x_includes}" = x; then
! bitmapdir=/usr/include/X11/bitmaps
! else
! # accumulate include directories that have X11 bitmap subdirectories
! bmd_acc="dummyval"
! for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do
! if test -d "${bmd}/X11/bitmaps"; then
! bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps"
! fi
! if test -d "${bmd}/bitmaps"; then
! bmd_acc="${bmd_acc}:${bmd}/bitmaps"
! fi
! done
! if test ${bmd_acc} != "dummyval"; then
! bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
! fi
! fi
!
! case "${window_system}" in
! x11 )
! HAVE_X_WINDOWS=yes
! HAVE_X11=yes
! case "${with_x_toolkit}" in
! athena | lucid ) USE_X_TOOLKIT=LUCID ;;
! motif ) USE_X_TOOLKIT=MOTIF ;;
! no ) USE_X_TOOLKIT=none ;;
! * ) USE_X_TOOLKIT=maybe ;;
! esac
! ;;
! none )
! HAVE_X_WINDOWS=no
! HAVE_X11=no
! USE_X_TOOLKIT=none
! ;;
! esac
!
! ### If we're using X11, we should use the X menu package.
! HAVE_MENUS=no
! case ${HAVE_X11} in
! yes ) HAVE_MENUS=yes ;;
! esac
!
! if test "${opsys}" = "hpux9"; then
! case "${x_libraries}" in
! *X11R4* )
! opsysfile="s/hpux9-x11r4.h"
! ;;
! esac
! fi
!
! if test "${opsys}" = "hpux9shr"; then
! case "${x_libraries}" in
! *X11R4* )
! opsysfile="s/hpux9shxr4.h"
! ;;
! esac
! fi
!
! ### Compute the unexec source name from the object name.
! UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
!
! # Do the opsystem or machine files prohibit the use of the GNU malloc?
! # Assume not, until told otherwise.
! GNU_MALLOC=yes
! doug_lea_malloc=yes
! echo "$as_me:$LINENO: checking for malloc_get_state" >&5
! echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
! if test "${ac_cv_func_malloc_get_state+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char malloc_get_state (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char malloc_get_state ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
! choke me
! #else
! f = malloc_get_state;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_func_malloc_get_state=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_malloc_get_state=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
! echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
! if test $ac_cv_func_malloc_get_state = yes; then
! :
! else
! doug_lea_malloc=no
! fi
!
! echo "$as_me:$LINENO: checking for malloc_set_state" >&5
! echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
! if test "${ac_cv_func_malloc_set_state+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char malloc_set_state (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char malloc_set_state ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
! choke me
! #else
! f = malloc_set_state;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_func_malloc_set_state=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_malloc_set_state=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
! echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
! if test $ac_cv_func_malloc_set_state = yes; then
! :
! else
! doug_lea_malloc=no
! fi
!
! echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
! echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
! if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! extern void (* __after_morecore_hook)();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! __after_morecore_hook = 0
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_var___after_morecore_hook=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_var___after_morecore_hook=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
! echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
! if test $emacs_cv_var___after_morecore_hook = no; then
! doug_lea_malloc=no
! fi
! if test "${system_malloc}" = "yes"; then
! GNU_MALLOC=no
! GNU_MALLOC_reason="
! (The GNU allocators don't work with this system configuration.)"
! fi
! if test "$doug_lea_malloc" = "yes" ; then
! if test "$GNU_MALLOC" = yes ; then
! GNU_MALLOC_reason="
! (Using Doug Lea's new malloc from the GNU C Library.)"
! fi
! cat >>confdefs.h <<\_ACEOF
! #define DOUG_LEA_MALLOC 1
! _ACEOF
!
! fi
!
! if test x"${REL_ALLOC}" = x; then
! REL_ALLOC=${GNU_MALLOC}
! fi
!
!
!
!
! for ac_header in stdlib.h unistd.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <$ac_header>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! 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: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
! fi
! 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_func in getpagesize
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
!
! fi
! done
!
! echo "$as_me:$LINENO: checking for working mmap" >&5
! echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
! if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test "$cross_compiling" = yes; then
! ac_cv_func_mmap_fixed_mapped=no
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! /* malloc might have been renamed as rpl_malloc. */
! #undef malloc
!
! /* Thanks to Mike Haertel and Jim Avera for this test.
! Here is a matrix of mmap possibilities:
! mmap private not fixed
! mmap private fixed at somewhere currently unmapped
! mmap private fixed at somewhere already mapped
! mmap shared not fixed
! mmap shared fixed at somewhere currently unmapped
! mmap shared fixed at somewhere already mapped
! For private mappings, we should verify that changes cannot be read()
! back from the file, nor mmap's back from the file at a different
! address. (There have been systems where private was not correctly
! implemented like the infamous i386 svr4.0, and systems where the
! VM page cache was not coherent with the file system buffer cache
! like early versions of FreeBSD and possibly contemporary NetBSD.)
! For shared mappings, we should conversely verify that changes get
! propagated back to all the places they're supposed to be.
!
! Grep wants private fixed already mapped.
! The main things grep needs to know about mmap are:
! * does it exist and is it safe to write into the mmap'd area
! * how to use it (BSD variants) */
!
! #include <fcntl.h>
! #include <sys/mman.h>
!
! #if !STDC_HEADERS && !HAVE_STDLIB_H
! char *malloc ();
! #endif
!
! /* This mess was copied from the GNU getpagesize.h. */
! #if !HAVE_GETPAGESIZE
! /* Assume that all systems that can run configure have sys/param.h. */
! # if !HAVE_SYS_PARAM_H
! # define HAVE_SYS_PARAM_H 1
! # endif
!
! # ifdef _SC_PAGESIZE
! # define getpagesize() sysconf(_SC_PAGESIZE)
! # else /* no _SC_PAGESIZE */
! # if HAVE_SYS_PARAM_H
! # include <sys/param.h>
! # ifdef EXEC_PAGESIZE
! # define getpagesize() EXEC_PAGESIZE
! # else /* no EXEC_PAGESIZE */
! # ifdef NBPG
! # define getpagesize() NBPG * CLSIZE
! # ifndef CLSIZE
! # define CLSIZE 1
! # endif /* no CLSIZE */
! # else /* no NBPG */
! # ifdef NBPC
! # define getpagesize() NBPC
! # else /* no NBPC */
! # ifdef PAGESIZE
! # define getpagesize() PAGESIZE
! # endif /* PAGESIZE */
! # endif /* no NBPC */
! # endif /* no NBPG */
! # endif /* no EXEC_PAGESIZE */
! # else /* no HAVE_SYS_PARAM_H */
! # define getpagesize() 8192 /* punt totally */
! # endif /* no HAVE_SYS_PARAM_H */
! # endif /* no _SC_PAGESIZE */
!
! #endif /* no HAVE_GETPAGESIZE */
!
! int
! main ()
! {
! char *data, *data2, *data3;
! int i, pagesize;
! int fd;
!
! pagesize = getpagesize ();
!
! /* First, make a file with some known garbage in it. */
! data = (char *) malloc (pagesize);
! if (!data)
! exit (1);
! for (i = 0; i < pagesize; ++i)
! *(data + i) = rand ();
! umask (0);
! fd = creat ("conftest.mmap", 0600);
! if (fd < 0)
! exit (1);
! if (write (fd, data, pagesize) != pagesize)
! exit (1);
! close (fd);
!
! /* Next, try to mmap the file at a fixed address which already has
! something else allocated at it. If we can, also make sure that
! we see the same garbage. */
! fd = open ("conftest.mmap", O_RDWR);
! if (fd < 0)
! exit (1);
! data2 = (char *) malloc (2 * pagesize);
! if (!data2)
! exit (1);
! data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
! if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
! MAP_PRIVATE | MAP_FIXED, fd, 0L))
! exit (1);
! for (i = 0; i < pagesize; ++i)
! if (*(data + i) != *(data2 + i))
! exit (1);
!
! /* Finally, make sure that changes to the mapped area do not
! percolate back to the file as seen by read(). (This is a bug on
! some variants of i386 svr4.0.) */
! for (i = 0; i < pagesize; ++i)
! *(data2 + i) = *(data2 + i) + 1;
! data3 = (char *) malloc (pagesize);
! if (!data3)
! exit (1);
! if (read (fd, data3, pagesize) != pagesize)
! exit (1);
! for (i = 0; i < pagesize; ++i)
! if (*(data + i) != *(data3 + i))
! exit (1);
! close (fd);
! 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
! ac_cv_func_mmap_fixed_mapped=yes
! else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ( exit $ac_status )
! ac_cv_func_mmap_fixed_mapped=no
! fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
! fi
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
! echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
! if test $ac_cv_func_mmap_fixed_mapped = yes; then
!
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_MMAP 1
! _ACEOF
!
! fi
! rm -f conftest.mmap
!
! if test $use_mmap_for_buffers = yes; then
! REL_ALLOC=no
! fi
!
! LIBS="$libsrc_libs $LIBS"
!
!
! echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
! echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
! if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-ldnet $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dnet_ntoa ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! dnet_ntoa ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_dnet_dnet_ntoa=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dnet_dnet_ntoa=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
! echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
! if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBDNET 1
! _ACEOF
!
! LIBS="-ldnet $LIBS"
!
! fi
!
!
! echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
! echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
! if test "${ac_cv_lib_Xbsd_main+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXbsd $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xbsd_main=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xbsd_main=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
! echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
! if test $ac_cv_lib_Xbsd_main = yes; then
! LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
! fi
!
!
!
! echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
! echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
! if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lpthreads $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char cma_open ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! cma_open ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_pthreads_cma_open=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_pthreads_cma_open=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
! echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
! if test $ac_cv_lib_pthreads_cma_open = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBPTHREADS 1
! _ACEOF
!
! LIBS="-lpthreads $LIBS"
!
! fi
!
!
! echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
! echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
! if test -d /usr/X386/include; then
! HAVE_XFREE386=yes
! : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
! else
! HAVE_XFREE386=no
! fi
! echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
! echo "${ECHO_T}$HAVE_XFREE386" >&6
!
! # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
! # for the tests that follow. We set it back to REAL_CFLAGS later on.
!
! REAL_CPPFLAGS="$CPPFLAGS"
!
! if test "${HAVE_X11}" = "yes"; then
! DEFS="$C_SWITCH_X_SITE $DEFS"
! LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
! LIBS="$LIBX $LIBS"
! CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
! CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
!
! # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
! # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
! # but it's more convenient here to set LD_RUN_PATH
! # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
! if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
! LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
! export LD_RUN_PATH
! fi
!
! if test "${opsys}" = "gnu-linux"; then
! echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link"
>&5
! echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XOpenDisplay ("foo");
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! xlinux_first_failure=no
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! xlinux_first_failure=yes
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! if test "${xlinux_first_failure}" = "yes"; then
! OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
! OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
! OLD_CPPFLAGS="$CPPFLAGS"
! OLD_LIBS="$LIBS"
! LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
! C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
! CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
! LIBS="$LIBS -b i486-linuxaout"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XOpenDisplay ("foo");
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! xlinux_second_failure=no
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! xlinux_second_failure=yes
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! if test "${xlinux_second_failure}" = "yes"; then
! # If we get the same failure with -b, there is no use adding -b.
! # So take it out. This plays safe.
! LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
! C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
! CPPFLAGS="$OLD_CPPFLAGS"
! LIBS="$OLD_LIBS"
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! else
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! fi
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
! fi
!
! # Reportedly, some broken Solaris systems have XKBlib.h but are missing
! # header files included from there.
! echo "$as_me:$LINENO: checking for Xkb" >&5
! echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Xlib.h>
! #include <X11/XKBlib.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_xkb=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_xkb=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $emacs_xkb" >&5
! echo "${ECHO_T}$emacs_xkb" >&6
! if test $emacs_xkb = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_XKBGETKEYBOARD 1
! _ACEOF
!
! fi
!
!
!
!
!
! for ac_func in XrmSetDatabase XScreenResourceString \
! XScreenNumberOfScreen XSetWMProtocols
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
!
! fi
! done
!
! fi
!
! if test "${window_system}" = "x11"; then
! echo "$as_me:$LINENO: checking X11 version 6" >&5
! echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_6+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Xlib.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! #if XlibSpecificationRelease < 6
! fail;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_x11_version_6=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_x11_version_6=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
!
! if test $emacs_cv_x11_version_6 = yes; then
! echo "$as_me:$LINENO: result: 6 or newer" >&5
! echo "${ECHO_T}6 or newer" >&6
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_X11R6 1
! _ACEOF
!
! else
! echo "$as_me:$LINENO: result: before 6" >&5
! echo "${ECHO_T}before 6" >&6
! fi
! fi
!
! if test "${window_system}" = "x11"; then
! echo "$as_me:$LINENO: checking X11 version 5" >&5
! echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_5+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Xlib.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! #if XlibSpecificationRelease < 5
! fail;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_x11_version_5=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_x11_version_5=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
!
! if test $emacs_cv_x11_version_5 = yes; then
! echo "$as_me:$LINENO: result: 5 or newer" >&5
! echo "${ECHO_T}5 or newer" >&6
! HAVE_X11R5=yes
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_X11R5 1
! _ACEOF
!
! else
! HAVE_X11R5=no
! echo "$as_me:$LINENO: result: before 5" >&5
! echo "${ECHO_T}before 5" >&6
! fi
! fi
!
! if test x"${USE_X_TOOLKIT}" = xmaybe; then
! if test x"${HAVE_X11R5}" = xyes; then
! echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
! echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! #include <X11/Intrinsic.h>
! #include <X11/Xaw/Simple.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_x11_version_5_with_xaw=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_x11_version_5_with_xaw=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
!
! if test $emacs_cv_x11_version_5_with_xaw = yes; then
! echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by
default" >&5
! echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
! USE_X_TOOLKIT=LUCID
! else
! echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by
default" >&5
! echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
! USE_X_TOOLKIT=none
! fi
! else
! USE_X_TOOLKIT=none
! fi
! fi
!
! X_TOOLKIT_TYPE=$USE_X_TOOLKIT
!
! if test "${USE_X_TOOLKIT}" != "none"; then
! echo "$as_me:$LINENO: checking X11 toolkit version" >&5
! echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
! if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Intrinsic.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! #if XtSpecificationRelease < 6
! fail;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! emacs_cv_x11_toolkit_version_6=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_x11_toolkit_version_6=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
!
! HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
! if test $emacs_cv_x11_toolkit_version_6 = yes; then
! echo "$as_me:$LINENO: result: 6 or newer" >&5
! echo "${ECHO_T}6 or newer" >&6
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_X11XTR6 1
! _ACEOF
!
! else
! echo "$as_me:$LINENO: result: before 6" >&5
! echo "${ECHO_T}before 6" >&6
! fi
!
! OLDLIBS="$LIBS"
! if test x$HAVE_X11XTR6 = xyes; then
! LIBS="-lXt -lSM -lICE $LIBS"
! else
! LIBS="-lXt $LIBS"
! fi
!
! echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
! echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C"
>&6
! if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXmu $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XmuConvertStandardSelection ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XmuConvertStandardSelection ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xmu_XmuConvertStandardSelection=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
! echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
! if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBXMU 1
! _ACEOF
!
! LIBS="-lXmu $LIBS"
!
! fi
!
! test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
! fi
!
! # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
! if test "${HAVE_X11}" = "yes"; then
! if test "${USE_X_TOOLKIT}" != "none"; then
!
! echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
! echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
! if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXext $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XShapeQueryExtension ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XShapeQueryExtension ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xext_XShapeQueryExtension=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xext_XShapeQueryExtension=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
! echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
! if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBXEXT 1
! _ACEOF
!
! LIBS="-lXext $LIBS"
!
! fi
!
! fi
! fi
!
! if test "${USE_X_TOOLKIT}" = "MOTIF"; then
! echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
! echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
! if test "${emacs_cv_motif_version_2_1+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <Xm/Xm.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
! int x = 5;
! #else
! Motif version prior to 2.1.
! #endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! emacs_cv_motif_version_2_1=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! emacs_cv_motif_version_2_1=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
! echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
! HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
! if test $emacs_cv_motif_version_2_1 = yes; then
! HAVE_LIBXP=no
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_MOTIF_2_1 1
! _ACEOF
!
! echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
! echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
! if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXp $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XpCreateContext ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
! int
! main ()
! {
! XpCreateContext ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xp_XpCreateContext=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xp_XpCreateContext=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
! echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
! if test $ac_cv_lib_Xp_XpCreateContext = yes; then
! HAVE_LIBXP=yes
! fi
!
! if test ${HAVE_LIBXP} = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_LIBXP 1
! _ACEOF
!
! fi
! fi
! fi
! ### Is -lXaw3d available?
! HAVE_XAW3D=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${USE_X_TOOLKIT}" != "none"; then
! if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
! echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
! echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
! echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! $ac_includes_default
! #include <X11/Xaw3d/Scrollbar.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 X11/Xaw3d/Scrollbar.h presence" >&5
! echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Xaw3d/Scrollbar.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 5280,5731 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! # We can compile using X headers with no special include directory.
! ac_x_includes=
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! for ac_dir in $ac_x_header_dirs; do
! if test -r "$ac_dir/X11/Intrinsic.h"; then
! ac_x_includes=$ac_dir
! break
! fi
! done
fi
rm -f conftest.err conftest.$ac_ext
! fi # $ac_x_includes = no
! if test "$ac_x_libraries" = no; then
! # Check for the libraries.
! # See if we find them without any special options.
! # Don't add to $LIBS permanently.
! ac_save_LIBS=$LIBS
! LIBS="-lXt $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 5305 "configure"
#include "confdefs.h"
! #include <X11/Intrinsic.h>
int
main ()
{
! XtMalloc (0)
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5317: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5320: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:5323: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5326: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! LIBS=$ac_save_LIBS
! # We can link X programs with no special library path.
! ac_x_libraries=
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! LIBS=$ac_save_LIBS
! for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
! do
! # Don't even attempt the hair of trying to link an X program!
! for ac_extension in a so sl; do
! if test -r $ac_dir/libXt.$ac_extension; then
! ac_x_libraries=$ac_dir
! break 2
! fi
! done
! done
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi # $ac_x_libraries = no
!
! if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
! # Didn't find X anywhere. Cache the known absence of X.
! ac_cv_have_x="have_x=no"
! else
! # Record where we found X for the cache.
! ac_cv_have_x="have_x=yes \
! ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi
- fi
- eval "$ac_cv_have_x"
- fi # $with_x != no
-
- if test "$have_x" != yes; then
- echo "$as_me:5364: result: $have_x" >&5
- echo "${ECHO_T}$have_x" >&6
- no_x=yes
- else
- # If each of the values was on the command line, it overrides each guess.
- test "x$x_includes" = xNONE && x_includes=$ac_x_includes
- test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
- # Update the cache value to reflect the command line values.
- ac_cv_have_x="have_x=yes \
- ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
- echo "$as_me:5374: result: libraries $x_libraries, headers $x_includes" >&5
- echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi
! if test "$no_x" = yes; then
! window_system=none
! else
! window_system=x11
fi
! if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
! LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
! LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
! x_default_search_path=""
! for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
! x_search_path="\
! ${x_library}/X11/%L/%T/%N%C%S:\
! ${x_library}/X11/%l/%T/%N%C%S:\
! ${x_library}/X11/%T/%N%C%S:\
! ${x_library}/X11/%L/%T/%N%S:\
! ${x_library}/X11/%l/%T/%N%S:\
! ${x_library}/X11/%T/%N%S"
! if test x"${x_default_search_path}" = x; then
! x_default_search_path=${x_search_path}
! else
! x_default_search_path="${x_search_path}:${x_default_search_path}"
fi
! done
fi
! if test "${x_includes}" != NONE && test -n "${x_includes}"; then
! C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
fi
! if test x"${x_includes}" = x; then
! bitmapdir=/usr/include/X11/bitmaps
else
! # accumulate include directories that have X11 bitmap subdirectories
! bmd_acc="dummyval"
! for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do
! if test -d "${bmd}/X11/bitmaps"; then
! bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps"
! fi
! if test -d "${bmd}/bitmaps"; then
! bmd_acc="${bmd_acc}:${bmd}/bitmaps"
! fi
! done
! if test ${bmd_acc} != "dummyval"; then
! bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
! fi
fi
! case "${window_system}" in
! x11 )
! HAVE_X_WINDOWS=yes
! HAVE_X11=yes
! case "${with_x_toolkit}" in
! athena | lucid ) USE_X_TOOLKIT=LUCID ;;
! motif ) USE_X_TOOLKIT=MOTIF ;;
! no ) USE_X_TOOLKIT=none ;;
! * ) USE_X_TOOLKIT=maybe ;;
! esac
! ;;
! none )
! HAVE_X_WINDOWS=no
! HAVE_X11=no
! USE_X_TOOLKIT=none
! ;;
! esac
! ### If we're using X11, we should use the X menu package.
! HAVE_MENUS=no
! case ${HAVE_X11} in
! yes ) HAVE_MENUS=yes ;;
esac
!
! if test "${opsys}" = "hpux9"; then
! case "${x_libraries}" in
! *X11R4* )
! opsysfile="s/hpux9-x11r4.h"
! ;;
! esac
fi
- if test "${opsys}" = "hpux9shr"; then
- case "${x_libraries}" in
- *X11R4* )
- opsysfile="s/hpux9shxr4.h"
- ;;
- esac
fi
!
! ### Compute the unexec source name from the object name.
! UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
!
! # Do the opsystem or machine files prohibit the use of the GNU malloc?
! # Assume not, until told otherwise.
! GNU_MALLOC=yes
! doug_lea_malloc=yes
! echo "$as_me:5472: checking for malloc_get_state" >&5
! echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
! if test "${ac_cv_func_malloc_get_state+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5478 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char malloc_get_state (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char malloc_get_state ();
! char (*f) ();
!
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
! choke me
! #else
! f = malloc_get_state;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5509: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5512: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:5515: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5518: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_func_malloc_get_state=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_malloc_get_state=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:5528: result: $ac_cv_func_malloc_get_state" >&5
! echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
! if test $ac_cv_func_malloc_get_state = yes; then
! :
! else
! doug_lea_malloc=no
fi
! echo "$as_me:5536: checking for malloc_set_state" >&5
! echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
! if test "${ac_cv_func_malloc_set_state+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5542 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char malloc_set_state (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
#endif
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char malloc_set_state ();
- char (*f) ();
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
! choke me
! #else
! f = malloc_set_state;
! #endif
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5573: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5576: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:5579: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5582: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_func_malloc_set_state=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_malloc_set_state=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:5592: result: $ac_cv_func_malloc_set_state" >&5
! echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
! if test $ac_cv_func_malloc_set_state = yes; then
! :
else
! doug_lea_malloc=no
fi
! echo "$as_me:5600: checking whether __after_morecore_hook exists" >&5
! echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
! if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5606 "configure"
#include "confdefs.h"
! extern void (* __after_morecore_hook)();
int
main ()
{
! __after_morecore_hook = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5618: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5621: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:5624: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5627: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_var___after_morecore_hook=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_var___after_morecore_hook=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:5637: result: $emacs_cv_var___after_morecore_hook" >&5
! echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
! if test $emacs_cv_var___after_morecore_hook = no; then
! doug_lea_malloc=no
fi
! if test "${system_malloc}" = "yes"; then
! GNU_MALLOC=no
! GNU_MALLOC_reason="
! (The GNU allocators don't work with this system configuration.)"
fi
! if test "$doug_lea_malloc" = "yes" ; then
! if test "$GNU_MALLOC" = yes ; then
! GNU_MALLOC_reason="
! (Using Doug Lea's new malloc from the GNU C Library.)"
fi
- cat >>confdefs.h <<\EOF
- #define DOUG_LEA_MALLOC 1
- EOF
fi
! if test x"${REL_ALLOC}" = x; then
! REL_ALLOC=${GNU_MALLOC}
fi
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
!
! for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! inttypes.h stdint.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:5668: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5674 "configure"
#include "confdefs.h"
$ac_includes_default
! #include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5680: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:5683: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:5686: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5689: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:5699: 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 <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
!
! fi
! done
! for ac_header in stdlib.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:5712: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5718 "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:5722: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:5728: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 7949,8555 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the
compiler, rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler,
rejected by the preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with
the preprocessor's result" >&5
! echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the
preprocessor's result" >&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but
cannot be compiled" >&5
! echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled"
>&2;}
! { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite
headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with
the preprocessor's result" >&5
! echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the
preprocessor's result" >&2;};;
! esac
! echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
! echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
!
! fi
! if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
! echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
! echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
! if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXaw3d $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XawScrollbarSetThumb ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! XawScrollbarSetThumb ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
+ echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
+ if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
+ HAVE_XAW3D=yes
fi
fi
!
! if test "${HAVE_XAW3D}" = "yes"; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_XAW3D 1
! _ACEOF
!
! fi
! fi
fi
!
! USE_TOOLKIT_SCROLL_BARS=no
! if test "${with_toolkit_scroll_bars}" != "no"; then
! if test "${USE_X_TOOLKIT}" != "none"; then
! if test "${USE_X_TOOLKIT}" = "MOTIF"; then
! cat >>confdefs.h <<\_ACEOF
! #define USE_TOOLKIT_SCROLL_BARS 1
! _ACEOF
!
! HAVE_XAW3D=no
! USE_TOOLKIT_SCROLL_BARS=yes
! elif test "${HAVE_XAW3D}" = "yes"; then
! cat >>confdefs.h <<\_ACEOF
! #define USE_TOOLKIT_SCROLL_BARS 1
! _ACEOF
!
! USE_TOOLKIT_SCROLL_BARS=yes
fi
! fi
fi
!
!
! if test "${with_xim}" != "no"; then
! cat >>confdefs.h <<\_ACEOF
! #define USE_XIM 1
! _ACEOF
!
fi
! ### Use -lXpm if available, unless `--with-xpm=no'.
! HAVE_XPM=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_xpm}" != "no"; then
! if test "${ac_cv_header_X11_xpm_h+set}" = set; then
! echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
! echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_xpm_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
! echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <X11/xpm.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
+ rm -f 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 X11/xpm.h presence" >&5
! echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/xpm.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result"
>&2;};;
esac
! echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
! echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_xpm_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_X11_xpm_h=$ac_header_preproc
fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
+ echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
fi
! if test $ac_cv_header_X11_xpm_h = yes; then
! echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
! echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
! if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXpm -lX11 $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char XpmReadFileToPixmap ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! XpmReadFileToPixmap ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xpm_XpmReadFileToPixmap=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
! echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
! if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
! HAVE_XPM=yes
fi
! fi
!
!
! if test "${HAVE_XPM}" = "yes"; then
! echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor
define" >&5
! echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define...
$ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include "X11/xpm.h"
! #ifndef XpmReturnAllocPixels
! no_return_alloc_pixels
#endif
! _ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "no_return_alloc_pixels" >/dev/null 2>&1; then
! HAVE_XPM=no
! else
! HAVE_XPM=yes
! fi
! rm -f conftest*
!
! if test "${HAVE_XPM}" = "yes"; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
! fi
! fi
!
! if test "${HAVE_XPM}" = "yes"; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_XPM 1
_ACEOF
!
! fi
! fi
!
! ### Use -ljpeg if available, unless `--with-jpeg=no'.
! HAVE_JPEG=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_jpeg}" != "no"; then
! if test "${ac_cv_header_jerror_h+set}" = set; then
! echo "$as_me:$LINENO: checking for jerror.h" >&5
! echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
! if test "${ac_cv_header_jerror_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
! echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking jerror.h usability" >&5
! echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <jerror.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
! rm -f 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 jerror.h presence" >&5
! echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <jerror.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
+ rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite
headers?" >&5
! echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for jerror.h" >&5
! echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
! if test "${ac_cv_header_jerror_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_cv_header_jerror_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
! echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
!
! fi
! if test $ac_cv_header_jerror_h = yes; then
! echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
! echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
! if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-ljpeg $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char jpeg_destroy_compress ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! jpeg_destroy_compress ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_jpeg_jpeg_destroy_compress=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_jpeg_jpeg_destroy_compress=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
! echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
! if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
! HAVE_JPEG=yes
fi
!
fi
!
!
fi
+ if test "${HAVE_JPEG}" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_JPEG 1
+ _ACEOF
+
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <jpeglib.h>
+ version=JPEG_LIB_VERSION
+
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_JPEG 1
+ _ACEOF
+
+ else
+ { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or
later" >&5
+ echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
+ HAVE_JPEG=no
fi
+ rm -f conftest*
! fi
fi
! ### Use -lpng if available, unless `--with-png=no'.
! HAVE_PNG=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_png}" != "no"; then
! 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
! if test "${ac_cv_header_png_h+set}" = set; then
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
! # Is the header compilable?
! echo "$as_me:$LINENO: checking png.h usability" >&5
! echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
$ac_includes_default
! #include <png.h>
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
rm -f 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
! #line $LINENO "configure"
#include "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
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 5736,6010 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:5747: 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 <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
! done
! for ac_func in getpagesize
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:5760: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 5766 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5797: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5800: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:5803: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5806: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:5816: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
!
fi
- done
-
- echo "$as_me:5826: checking for working mmap" >&5
- echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
- if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test "$cross_compiling" = yes; then
- ac_cv_func_mmap_fixed_mapped=no
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 5835 "configure"
- #include "confdefs.h"
- $ac_includes_default
- /* Thanks to Mike Haertel and Jim Avera for this test.
- Here is a matrix of mmap possibilities:
- mmap private not fixed
- mmap private fixed at somewhere currently unmapped
- mmap private fixed at somewhere already mapped
- mmap shared not fixed
- mmap shared fixed at somewhere currently unmapped
- mmap shared fixed at somewhere already mapped
- For private mappings, we should verify that changes cannot be read()
- back from the file, nor mmap's back from the file at a different
- address. (There have been systems where private was not correctly
- implemented like the infamous i386 svr4.0, and systems where the
- VM page cache was not coherent with the file system buffer cache
- like early versions of FreeBSD and possibly contemporary NetBSD.)
- For shared mappings, we should conversely verify that changes get
- propogated back to all the places they're supposed to be.
-
- Grep wants private fixed already mapped.
- The main things grep needs to know about mmap are:
- * does it exist and is it safe to write into the mmap'd area
- * how to use it (BSD variants) */
-
- #include <fcntl.h>
- #include <sys/mman.h>
-
- #if !STDC_HEADERS && !HAVE_STDLIB_H
- char *malloc ();
- #endif
-
- /* This mess was copied from the GNU getpagesize.h. */
- #if !HAVE_GETPAGESIZE
- /* Assume that all systems that can run configure have sys/param.h. */
- # if !HAVE_SYS_PARAM_H
- # define HAVE_SYS_PARAM_H 1
- # endif
-
- # ifdef _SC_PAGESIZE
- # define getpagesize() sysconf(_SC_PAGESIZE)
- # else /* no _SC_PAGESIZE */
- # if HAVE_SYS_PARAM_H
- # include <sys/param.h>
- # ifdef EXEC_PAGESIZE
- # define getpagesize() EXEC_PAGESIZE
- # else /* no EXEC_PAGESIZE */
- # ifdef NBPG
- # define getpagesize() NBPG * CLSIZE
- # ifndef CLSIZE
- # define CLSIZE 1
- # endif /* no CLSIZE */
- # else /* no NBPG */
- # ifdef NBPC
- # define getpagesize() NBPC
- # else /* no NBPC */
- # ifdef PAGESIZE
- # define getpagesize() PAGESIZE
- # endif /* PAGESIZE */
- # endif /* no NBPC */
- # endif /* no NBPG */
- # endif /* no EXEC_PAGESIZE */
- # else /* no HAVE_SYS_PARAM_H */
- # define getpagesize() 8192 /* punt totally */
- # endif /* no HAVE_SYS_PARAM_H */
- # endif /* no _SC_PAGESIZE */
! #endif /* no HAVE_GETPAGESIZE */
- int
- main ()
- {
- char *data, *data2, *data3;
- int i, pagesize;
- int fd;
! pagesize = getpagesize ();
! /* First, make a file with some known garbage in it. */
! data = (char *) malloc (pagesize);
! if (!data)
! exit (1);
! for (i = 0; i < pagesize; ++i)
! *(data + i) = rand ();
! umask (0);
! fd = creat ("conftest.mmap", 0600);
! if (fd < 0)
! exit (1);
! if (write (fd, data, pagesize) != pagesize)
! exit (1);
! close (fd);
! /* Next, try to mmap the file at a fixed address which already has
! something else allocated at it. If we can, also make sure that
! we see the same garbage. */
! fd = open ("conftest.mmap", O_RDWR);
! if (fd < 0)
! exit (1);
! data2 = (char *) malloc (2 * pagesize);
! if (!data2)
! exit (1);
! data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
! if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
! MAP_PRIVATE | MAP_FIXED, fd, 0L))
! exit (1);
! for (i = 0; i < pagesize; ++i)
! if (*(data + i) != *(data2 + i))
! exit (1);
! /* Finally, make sure that changes to the mapped area do not
! percolate back to the file as seen by read(). (This is a bug on
! some variants of i386 svr4.0.) */
! for (i = 0; i < pagesize; ++i)
! *(data2 + i) = *(data2 + i) + 1;
! data3 = (char *) malloc (pagesize);
! if (!data3)
! exit (1);
! if (read (fd, data3, pagesize) != pagesize)
! exit (1);
! for (i = 0; i < pagesize; ++i)
! if (*(data + i) != *(data3 + i))
! exit (1);
! close (fd);
! exit (0);
! }
_ACEOF
! rm -f conftest$ac_exeext
! if { (eval echo "$as_me:5962: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:5965: \$? = $ac_status" >&5
! (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:5967: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:5970: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_func_mmap_fixed_mapped=yes
else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_mmap_fixed_mapped=no
fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:5982: result: $ac_cv_func_mmap_fixed_mapped" >&5
! echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
! if test $ac_cv_func_mmap_fixed_mapped = yes; then
!
! cat >>confdefs.h <<\EOF
! #define HAVE_MMAP 1
! EOF
fi
! rm -f conftest.mmap
- if test $use_mmap_for_buffers = yes; then
- REL_ALLOC=no
fi
!
! LIBS="$libsrc_libs $LIBS"
!
! echo "$as_me:5999: checking for dnet_ntoa in -ldnet" >&5
! echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
! if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-ldnet $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 6007 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 8560,8792 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result"
>&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled"
>&5
+ echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite
headers?" >&5
+ echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result"
>&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for png.h" >&5
+ echo $ECHO_N "checking for png.h... $ECHO_C" >&6
+ if test "${ac_cv_header_png_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_png_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
! echo "${ECHO_T}$ac_cv_header_png_h" >&6
! fi
! if test $ac_cv_header_png_h = yes; then
! echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
! echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
! if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lpng -lz -lm $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char png_get_channels ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! png_get_channels ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_png_png_get_channels=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_png_png_get_channels=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
! echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
! if test $ac_cv_lib_png_png_get_channels = yes; then
! HAVE_PNG=yes
fi
! fi
! fi
! if test "${HAVE_PNG}" = "yes"; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_PNG 1
! _ACEOF
! fi
! fi
! ### Use -ltiff if available, unless `--with-tiff=no'.
! HAVE_TIFF=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_tiff}" != "no"; then
! 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
! if test "${ac_cv_header_tiffio_h+set}" = set; then
! 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
! # Is the header compilable?
! echo "$as_me:$LINENO: checking tiffio.h usability" >&5
! echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <tiffio.h>
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_header_compiler=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
! rm -f 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
! #line $LINENO "configure"
! #include "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
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
+ if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_header_preproc=no
fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
! echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
fi
! if test $ac_cv_header_tiffio_h = yes; then
! tifflibs="-lz -lm"
! # At least one tiff package requires the jpeg library.
! if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
! echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
! echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
! if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-ltiff $tifflibs $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 6013,6114 ****
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char dnet_ntoa ();
int
main ()
{
! dnet_ntoa ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6026: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6029: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6032: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6035: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_dnet_dnet_ntoa=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_dnet_dnet_ntoa=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6046: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
! echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
! if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBDNET 1
! EOF
- LIBS="-ldnet $LIBS"
fi
! echo "$as_me:6057: checking for main in -lXbsd" >&5
! echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
! if test "${ac_cv_lib_Xbsd_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXbsd $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 6065 "configure"
#include "confdefs.h"
!
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6077: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6080: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6083: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6086: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_Xbsd_main=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xbsd_main=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6097: result: $ac_cv_lib_Xbsd_main" >&5
! echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
! if test $ac_cv_lib_Xbsd_main = yes; then
! LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
fi
! echo "$as_me:6103: checking for cma_open in -lpthreads" >&5
! echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
! if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lpthreads $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 6111 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 8795,8972 ----
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char TIFFGetVersion ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! TIFFGetVersion ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_tiff_TIFFGetVersion=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_tiff_TIFFGetVersion=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
! echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
! if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
! HAVE_TIFF=yes
! fi
!
! fi
+ fi
+
+ if test "${HAVE_TIFF}" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_TIFF 1
+ _ACEOF
+
+ fi
fi
! ### Use -lgif if available, unless `--with-gif=no'.
! HAVE_GIF=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_gif}" != "no"; then
! if test "${ac_cv_header_gif_lib_h+set}" = set; then
! echo "$as_me:$LINENO: checking for gif_lib.h" >&5
! echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
! if test "${ac_cv_header_gif_lib_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
+ echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
! echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! $ac_includes_default
! #include <gif_lib.h>
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
! rm -f 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 gif_lib.h presence" >&5
! echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <gif_lib.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
+ rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for gif_lib.h" >&5
! echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
! if test "${ac_cv_header_gif_lib_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_gif_lib_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
! echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
!
! fi
! if test $ac_cv_header_gif_lib_h = yes; then
! # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
! # Earlier versions can crash Emacs.
! echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
! echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
! if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lungif $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 6117,6420 ****
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char cma_open ();
int
main ()
{
! cma_open ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6130: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6133: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6136: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6139: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_pthreads_cma_open=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_pthreads_cma_open=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6150: result: $ac_cv_lib_pthreads_cma_open" >&5
! echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
! if test $ac_cv_lib_pthreads_cma_open = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBPTHREADS 1
! EOF
!
! LIBS="-lpthreads $LIBS"
!
fi
- echo "$as_me:6161: checking for XFree86 in /usr/X386" >&5
- echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
- if test -d /usr/X386/include; then
- HAVE_XFREE386=yes
- : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
- else
- HAVE_XFREE386=no
fi
- echo "$as_me:6169: result: $HAVE_XFREE386" >&5
- echo "${ECHO_T}$HAVE_XFREE386" >&6
- # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
- # for the tests that follow. We set it back to REAL_CFLAGS later on.
! REAL_CPPFLAGS="$CPPFLAGS"
if test "${HAVE_X11}" = "yes"; then
! DEFS="$C_SWITCH_X_SITE $DEFS"
! LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
! LIBS="$LIBX $LIBS"
! CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
! CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
! # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
! # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
! # but it's more convenient here to set LD_RUN_PATH
! # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
! if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
! LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
! export LD_RUN_PATH
fi
! if test "${opsys}" = "gnu-linux"; then
! echo "$as_me:6194: checking whether X on GNU/Linux needs -b to link" >&5
! echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line 6197 "configure"
#include "confdefs.h"
int
main ()
{
! XOpenDisplay ("foo");
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6209: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6212: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6215: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6218: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! xlinux_first_failure=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! xlinux_first_failure=yes
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! if test "${xlinux_first_failure}" = "yes"; then
! OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
! OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
! OLD_CPPFLAGS="$CPPFLAGS"
! OLD_LIBS="$LIBS"
! LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
! C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
! CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
! LIBS="$LIBS -b i486-linuxaout"
! cat >conftest.$ac_ext <<_ACEOF
! #line 6237 "configure"
! #include "confdefs.h"
int
main ()
{
! XOpenDisplay ("foo");
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6249: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6252: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6255: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6258: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! xlinux_second_failure=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! xlinux_second_failure=yes
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! if test "${xlinux_second_failure}" = "yes"; then
! # If we get the same failure with -b, there is no use adding -b.
! # So take it out. This plays safe.
! LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
! C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
! CPPFLAGS="$OLD_CPPFLAGS"
! LIBS="$OLD_LIBS"
! echo "$as_me:6274: result: no" >&5
! echo "${ECHO_T}no" >&6
! else
! echo "$as_me:6277: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! fi
! else
! echo "$as_me:6281: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
! fi
! # Reportedly, some broken Solaris systems have XKBlib.h but are missing
! # header files included from there.
! echo "$as_me:6288: checking for Xkb" >&5
! echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
! #line 6291 "configure"
#include "confdefs.h"
! #include <X11/Xlib.h>
! #include <X11/XKBlib.h>
int
main ()
{
! XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6304: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6307: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6310: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6313: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_xkb=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_xkb=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! echo "$as_me:6322: result: $emacs_xkb" >&5
! echo "${ECHO_T}$emacs_xkb" >&6
! if test $emacs_xkb = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_XKBGETKEYBOARD 1
! EOF
! fi
! for ac_func in XrmSetDatabase XScreenResourceString \
! XScreenNumberOfScreen XSetWMProtocols
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:6335: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 6341 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
#endif
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char $ac_func ();
- char (*f) ();
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6372: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6375: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6378: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6381: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:6391: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
! fi
! done
fi
! if test "${window_system}" = "x11"; then
! echo "$as_me:6404: checking X11 version 6" >&5
! echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_6+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 6410 "configure"
#include "confdefs.h"
! #include <X11/Xlib.h>
int
main ()
{
! #if XlibSpecificationRelease < 6
! fail;
#endif
;
--- 8975,9475 ----
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char EGifPutExtensionLast ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! EGifPutExtensionLast ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_ungif_EGifPutExtensionLast=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_ungif_EGifPutExtensionLast=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
! echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
! if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
! HAVE_GIF=yes
fi
fi
! fi
!
! if test "${HAVE_GIF}" = "yes"; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_GIF 1
! _ACEOF
!
! fi
! fi
+ ### Use session management (-lSM -lICE) if available
+ HAVE_X_SM=no
if test "${HAVE_X11}" = "yes"; then
! if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
! echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
! echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
! echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <X11/SM/SMlib.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 X11/SM/SMlib.h presence" >&5
! echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/SM/SMlib.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
fi
+ else
+ ac_cpp_err=yes
+ fi
+ if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_header_preproc=no
+ fi
+ rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the
compiler, rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by
the preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's
result" >&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite
headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's
result" >&2;};;
! esac
! echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
! echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
!
! fi
! if test $ac_cv_header_X11_SM_SMlib_h = yes; then
! echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
! echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
! if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lSM $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ char SmcOpenConnection ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! SmcOpenConnection ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_SM_SmcOpenConnection=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_SM_SmcOpenConnection=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
! echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
! if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
! HAVE_X_SM=yes
! else
! -lICE
! fi
!
! fi
!
!
+ if test "${HAVE_X_SM}" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_X_SM 1
+ _ACEOF
+
+ case "$LIBS" in
+ *-lSM*) ;;
+ *) LIBS="-lSM -lICE $LIBS" ;;
+ esac
+ fi
+ fi
+
+ # If netdb.h doesn't declare h_errno, we must declare it by hand.
+ echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
+ echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
+ if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <netdb.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! return h_errno;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! emacs_cv_netdb_declares_h_errno=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_netdb_declares_h_errno=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
! echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
! if test $emacs_cv_netdb_declares_h_errno = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_H_ERRNO 1
! _ACEOF
! fi
!
! # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
! # for constant arguments. Useless!
! echo "$as_me:$LINENO: checking for working alloca.h" >&5
! echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
! if test "${ac_cv_working_alloca_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <alloca.h>
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! char *p = (char *) alloca (2 * sizeof (int));
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_working_alloca_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_working_alloca_h=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
! echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
! if test $ac_cv_working_alloca_h = yes; then
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_ALLOCA_H 1
! _ACEOF
! fi
!
! echo "$as_me:$LINENO: checking for alloca" >&5
! echo $ECHO_N "checking for alloca... $ECHO_C" >&6
! if test "${ac_cv_func_alloca_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #ifdef __GNUC__
! # define alloca __builtin_alloca
! #else
! # ifdef _MSC_VER
! # include <malloc.h>
! # define alloca _alloca
! # else
! # if HAVE_ALLOCA_H
! # include <alloca.h>
! # else
! # ifdef _AIX
! #pragma alloca
! # else
! # ifndef alloca /* predefined by HP cc +Olibcalls */
! char *alloca ();
! # endif
! # endif
! # endif
! # endif
#endif
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! char *p = (char *) alloca (1);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_func_alloca_works=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_alloca_works=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
! echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
! if test $ac_cv_func_alloca_works = yes; then
!
! cat >>confdefs.h <<\_ACEOF
! #define HAVE_ALLOCA 1
! _ACEOF
!
! else
! # The SVR3 libPW and SVR4 libucb both contain incompatible functions
! # that cause trouble. Some versions do not even contain alloca or
! # contain a buggy version. If you still want to use their alloca,
! # use ar to extract alloca.o from them instead of compiling alloca.c.
!
! ALLOCA=alloca.$ac_objext
!
! cat >>confdefs.h <<\_ACEOF
! #define C_ALLOCA 1
! _ACEOF
!
!
! echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
! echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
! if test "${ac_cv_os_cray+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #if defined(CRAY) && ! defined(CRAY2)
! webecray
! #else
! wenotbecray
! #endif
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "webecray" >/dev/null 2>&1; then
+ ac_cv_os_cray=yes
+ else
+ ac_cv_os_cray=no
fi
+ rm -f conftest*
! fi
! echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
! echo "${ECHO_T}$ac_cv_os_cray" >&6
! if test $ac_cv_os_cray = yes; then
! for ac_func in _getb67 GETB67 getb67; do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
#endif
;
***************
*** 6422,6646 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6425: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6428: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6431: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6434: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_x11_version_6=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_x11_version_6=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! if test $emacs_cv_x11_version_6 = yes; then
! echo "$as_me:6446: result: 6 or newer" >&5
! echo "${ECHO_T}6 or newer" >&6
! cat >>confdefs.h <<\EOF
! #define HAVE_X11R6 1
! EOF
! else
! echo "$as_me:6453: result: before 6" >&5
! echo "${ECHO_T}before 6" >&6
! fi
fi
! if test "${window_system}" = "x11"; then
! echo "$as_me:6459: checking X11 version 5" >&5
! echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_5+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 6465 "configure"
#include "confdefs.h"
- #include <X11/Xlib.h>
int
! main ()
{
! #if XlibSpecificationRelease < 5
! fail;
! #endif
! ;
! return 0;
}
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6480: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6483: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6486: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6489: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_x11_version_5=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_x11_version_5=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
- if test $emacs_cv_x11_version_5 = yes; then
- echo "$as_me:6501: result: 5 or newer" >&5
- echo "${ECHO_T}5 or newer" >&6
- HAVE_X11R5=yes
- cat >>confdefs.h <<\EOF
- #define HAVE_X11R5 1
- EOF
- else
- HAVE_X11R5=no
- echo "$as_me:6510: result: before 5" >&5
- echo "${ECHO_T}before 5" >&6
- fi
fi
! if test x"${USE_X_TOOLKIT}" = xmaybe; then
! if test x"${HAVE_X11R5}" = xyes; then
! echo "$as_me:6517: checking X11 version 5 with Xaw" >&5
! echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
! if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 6523 "configure"
#include "confdefs.h"
! #include <X11/Intrinsic.h>
! #include <X11/Xaw/Simple.h>
int
main ()
{
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6537: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6540: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6543: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6546: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_x11_version_5_with_xaw=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_x11_version_5_with_xaw=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
- if test $emacs_cv_x11_version_5_with_xaw = yes; then
- echo "$as_me:6558: result: 5 or newer, with Xaw; use toolkit by
default" >&5
- echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
- USE_X_TOOLKIT=LUCID
- else
- echo "$as_me:6562: result: before 5 or no Xaw; do not use toolkit by
default" >&5
- echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
- USE_X_TOOLKIT=none
- fi
- else
- USE_X_TOOLKIT=none
- fi
fi
- X_TOOLKIT_TYPE=$USE_X_TOOLKIT
! if test "${USE_X_TOOLKIT}" != "none"; then
! echo "$as_me:6574: checking X11 toolkit version" >&5
! echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
! if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 6580 "configure"
#include "confdefs.h"
! #include <X11/Intrinsic.h>
int
main ()
{
! #if XtSpecificationRelease < 6
! fail;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6595: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6598: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6601: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6604: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_x11_toolkit_version_6=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_x11_toolkit_version_6=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
! if test $emacs_cv_x11_toolkit_version_6 = yes; then
! echo "$as_me:6617: result: 6 or newer" >&5
! echo "${ECHO_T}6 or newer" >&6
! cat >>confdefs.h <<\EOF
! #define HAVE_X11XTR6 1
! EOF
! else
! echo "$as_me:6624: result: before 6" >&5
! echo "${ECHO_T}before 6" >&6
! fi
- OLDLIBS="$LIBS"
- if test x$HAVE_X11XTR6 = xyes; then
- LIBS="-lXt -lSM -lICE $LIBS"
- else
- LIBS="-lXt $LIBS"
- fi
! echo "$as_me:6635: checking for XmuConvertStandardSelection in -lXmu" >&5
! echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C"
>&6
! if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXmu $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 6643 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 9477,9723 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define CRAY_STACKSEG_END $ac_func
! _ACEOF
! break
fi
! done
! fi
!
! echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
! echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
! if test "${ac_cv_c_stack_direction+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+ if test "$cross_compiling" = yes; then
+ ac_cv_c_stack_direction=0
+ else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
int
! find_stack_direction ()
{
! static char *addr = 0;
! auto char dummy;
! if (addr == 0)
! {
! addr = &dummy;
! return find_stack_direction ();
! }
! else
! return (&dummy > addr) ? 1 : -1;
! }
! int
! main ()
! {
! exit (find_stack_direction () < 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
! ac_cv_c_stack_direction=1
else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ( exit $ac_status )
! ac_cv_c_stack_direction=-1
fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
+ echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
+
+ cat >>confdefs.h <<_ACEOF
+ #define STACK_DIRECTION $ac_cv_c_stack_direction
+ _ACEOF
fi
!
! # fmod, logb, and frexp are found in -lm on most systems.
! # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
!
! echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
! echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
! if test "${ac_cv_lib_m_sqrt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lm $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char sqrt ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! sqrt ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_m_sqrt=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_m_sqrt=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
+ echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
+ if test $ac_cv_lib_m_sqrt = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_LIBM 1
+ _ACEOF
+
+ LIBS="-lm $LIBS"
fi
! # Check for mail-locking functions in a "mail" library
!
! echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
! echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
! if test "${ac_cv_lib_mail_maillock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lmail $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char maillock ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! maillock ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_mail_maillock=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_mail_maillock=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
+ echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
+ if test $ac_cv_lib_mail_maillock = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_LIBMAIL 1
+ _ACEOF
! LIBS="-lmail $LIBS"
! fi
! echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
! echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
! if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-llockfile $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 6649,6897 ****
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char XmuConvertStandardSelection ();
int
main ()
{
! XmuConvertStandardSelection ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6662: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6665: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6668: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6671: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xmu_XmuConvertStandardSelection=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6682: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
! echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
! if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBXMU 1
! EOF
! LIBS="-lXmu $LIBS"
fi
! test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
fi
! # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
! if test "${HAVE_X11}" = "yes"; then
! if test "${USE_X_TOOLKIT}" != "none"; then
!
! echo "$as_me:6700: checking for XShapeQueryExtension in -lXext" >&5
! echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
! if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXext $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 6708 "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char XShapeQueryExtension ();
int
main ()
{
! XShapeQueryExtension ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6727: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:6730: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6733: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6736: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_Xext_XShapeQueryExtension=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xext_XShapeQueryExtension=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6747: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
! echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
! if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBXEXT 1
! EOF
!
! LIBS="-lXext $LIBS"
fi
- fi
- fi
! if test "${USE_X_TOOLKIT}" = "MOTIF"; then
! echo "$as_me:6762: checking for Motif version 2.1" >&5
! echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
! if test "${emacs_cv_motif_version_2_1+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 6768 "configure"
#include "confdefs.h"
! #include <Xm/Xm.h>
! int
! main ()
! {
! #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
! int x = 5;
! #else
! Motif version prior to 2.1.
! #endif
! ;
! return 0;
! }
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:6784: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:6787: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:6790: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:6793: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_motif_version_2_1=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_motif_version_2_1=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:6803: result: $emacs_cv_motif_version_2_1" >&5
! echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
! HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
! if test $emacs_cv_motif_version_2_1 = yes; then
! HAVE_LIBXP=no
! cat >>confdefs.h <<\EOF
! #define HAVE_MOTIF_2_1 1
! EOF
! echo "$as_me:6812: checking for XpCreateContext in -lXp" >&5
! echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
! if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXp $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 6820 "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XpCreateContext ();
! int
! main ()
! {
! XpCreateContext ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6839: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:6842: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6845: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:6848: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_Xp_XpCreateContext=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xp_XpCreateContext=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:6859: result: $ac_cv_lib_Xp_XpCreateContext" >&5
! echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
! if test $ac_cv_lib_Xp_XpCreateContext = yes; then
! HAVE_LIBXP=yes
! fi
!
! if test ${HAVE_LIBXP} = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_LIBXP 1
! EOF
!
! fi
! fi
! fi
!
! ### Is -lXaw3d available?
! HAVE_XAW3D=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${USE_X_TOOLKIT}" != "none"; then
! echo "$as_me:6878: checking for X11/Xaw3d/Scrollbar.h" >&5
! echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 6884 "configure"
#include "confdefs.h"
! #include <X11/Xaw3d/Scrollbar.h>
_ACEOF
! if { (eval echo "$as_me:6888: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:6894: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 9726,9968 ----
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char maillock ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! maillock ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_lockfile_maillock=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_lockfile_maillock=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
! echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
! if test $ac_cv_lib_lockfile_maillock = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBLOCKFILE 1
! _ACEOF
! LIBS="-llockfile $LIBS"
fi
! # If we have the shared liblockfile, assume we must use it for mail
! # locking (e.g. Debian). If we couldn't link against liblockfile
! # (no liblockfile.a installed), ensure that we don't need to.
! if test "$ac_cv_lib_lockfile_maillock" = no; then
! # Extract the first word of "liblockfile.so", so it can be a program
name with args.
! set dummy liblockfile.so; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_liblockfile+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test -n "$liblockfile"; then
! ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
! else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_liblockfile="yes"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
! fi
! fi
! liblockfile=$ac_cv_prog_liblockfile
! if test -n "$liblockfile"; then
! echo "$as_me:$LINENO: result: $liblockfile" >&5
! echo "${ECHO_T}$liblockfile" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! if test $ac_cv_prog_liblockfile = yes; then
! { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link
against it.
! This probably means that movemail could lose mail.
! There may be a \`development' package to install containing liblockfile." >&5
! echo "$as_me: error: Shared liblockfile found but can't link against it.
! This probably means that movemail could lose mail.
! There may be a \`development' package to install containing liblockfile."
>&2;}
! { (exit 1); exit 1; }; }
! else cat >>confdefs.h <<\_ACEOF
! #define LIBMAIL -llockfile
! _ACEOF
!
! fi
! else :
fi
! for ac_func in touchlock
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
+ done
! for ac_header in maillock.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
! #line $LINENO "configure"
#include "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>&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
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 6902,7165 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_X11_Xaw3d_Scrollbar_h=no
fi
rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:6913: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
! if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
! echo "$as_me:6916: checking for XawScrollbarSetThumb in -lXaw3d" >&5
! echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
! if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXaw3d $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 6924 "configure"
! #include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XawScrollbarSetThumb ();
! int
! main ()
! {
! XawScrollbarSetThumb ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6943: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:6946: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:6949: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:6952: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:6963: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
! echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
! if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
! HAVE_XAW3D=yes
fi
fi
! if test "${HAVE_XAW3D}" = "yes"; then
! cat >>confdefs.h <<\EOF
! #define HAVE_XAW3D 1
! EOF
- fi
- fi
- fi
- USE_TOOLKIT_SCROLL_BARS=no
- if test "${with_toolkit_scroll_bars}" != "no"; then
- if test "${USE_X_TOOLKIT}" != "none"; then
- if test "${USE_X_TOOLKIT}" = "MOTIF"; then
- cat >>confdefs.h <<\EOF
- #define USE_TOOLKIT_SCROLL_BARS 1
- EOF
- HAVE_XAW3D=no
- USE_TOOLKIT_SCROLL_BARS=yes
- elif test "${HAVE_XAW3D}" = "yes"; then
- cat >>confdefs.h <<\EOF
- #define USE_TOOLKIT_SCROLL_BARS 1
- EOF
- USE_TOOLKIT_SCROLL_BARS=yes
- fi
- fi
- fi
- if test "${with_xim}" != "no"; then
- cat >>confdefs.h <<\EOF
- #define USE_XIM 1
- EOF
- fi
! ### Use -lXpm if available, unless `--with-xpm=no'.
! HAVE_XPM=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_xpm}" != "no"; then
! echo "$as_me:7011: checking for X11/xpm.h" >&5
! echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_xpm_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 7017 "configure"
! #include "confdefs.h"
! #include <X11/xpm.h>
! _ACEOF
! if { (eval echo "$as_me:7021: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:7027: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_X11_xpm_h=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_X11_xpm_h=no
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:7046: result: $ac_cv_header_X11_xpm_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
! if test $ac_cv_header_X11_xpm_h = yes; then
! echo "$as_me:7049: checking for XpmReadFileToPixmap in -lXpm" >&5
! echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
! if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lXpm -lX11 $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7057 "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char XpmReadFileToPixmap ();
int
main ()
{
! XpmReadFileToPixmap ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7076: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7079: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7082: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7085: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_Xpm_XpmReadFileToPixmap=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:7096: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
- echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
- if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
- HAVE_XPM=yes
fi
fi
- if test "${HAVE_XPM}" = "yes"; then
- echo "$as_me:7105: checking for XpmReturnAllocPixels preprocessor
define" >&5
- echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define...
$ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line 7108 "configure"
- #include "confdefs.h"
- #include "X11/xpm.h"
- #ifndef XpmReturnAllocPixels
- no_return_alloc_pixels
- #endif
_ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "no_return_alloc_pixels" >/dev/null 2>&1; then
! HAVE_XPM=no
else
! HAVE_XPM=yes
! fi
! rm -f conftest*
!
! if test "${HAVE_XPM}" = "yes"; then
! echo "$as_me:7125: result: yes" >&5
! echo "${ECHO_T}yes" >&6
! else
! echo "$as_me:7128: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
! fi
! fi
!
! if test "${HAVE_XPM}" = "yes"; then
! cat >>confdefs.h <<\EOF
! #define HAVE_XPM 1
! EOF
!
! fi
fi
! ### Use -ljpeg if available, unless `--with-jpeg=no'.
! HAVE_JPEG=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_jpeg}" != "no"; then
! echo "$as_me:7146: checking for jerror.h" >&5
! echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
! if test "${ac_cv_header_jerror_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7152 "configure"
#include "confdefs.h"
! #include <jerror.h>
_ACEOF
! if { (eval echo "$as_me:7156: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:7162: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 9973,10221 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! 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: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
fi
+ 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_func in gethostname getdomainname dup2 \
! rename closedir mkdir rmdir sysinfo \
! random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
! strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
! utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
! __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
! sendto recvfrom getsockopt setsockopt getsockname getpeername \
! gai_strerror mkstemp getline getdelim
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
fi
+ done
+
+ for ac_header in sys/un.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
+ #line $LINENO "configure"
+ #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
+ rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 7170,7292 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_jerror_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_jerror_h=no
fi
rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:7181: result: $ac_cv_header_jerror_h" >&5
! echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
! if test $ac_cv_header_jerror_h = yes; then
! echo "$as_me:7184: checking for jpeg_destroy_compress in -ljpeg" >&5
! echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
! if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-ljpeg $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7192 "configure"
! #include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char jpeg_destroy_compress ();
! int
! main ()
! {
! jpeg_destroy_compress ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7211: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:7214: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7217: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:7220: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_jpeg_jpeg_destroy_compress=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_jpeg_jpeg_destroy_compress=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:7231: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
! echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
! if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
! HAVE_JPEG=yes
fi
fi
! fi
- if test "${HAVE_JPEG}" = "yes"; then
- cat >>confdefs.h <<\EOF
- #define HAVE_JPEG 1
- EOF
- cat >conftest.$ac_ext <<_ACEOF
- #line 7247 "configure"
- #include "confdefs.h"
- #include <jpeglib.h>
- version=JPEG_LIB_VERSION
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
- cat >>confdefs.h <<\EOF
- #define HAVE_JPEG 1
- EOF
else
! { echo "$as_me:7260: WARNING: libjpeg found, but not version 6b or later"
>&5
! echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
! HAVE_JPEG=no
! fi
! rm -f conftest*
!
! fi
fi
! ### Use -lpng if available, unless `--with-png=no'.
! HAVE_PNG=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_png}" != "no"; then
! echo "$as_me:7273: checking for png.h" >&5
! echo $ECHO_N "checking for png.h... $ECHO_C" >&6
! if test "${ac_cv_header_png_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7279 "configure"
#include "confdefs.h"
! #include <png.h>
_ACEOF
! if { (eval echo "$as_me:7283: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:7289: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 10226,10337 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! 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: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
fi
+ 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 sys/time.h unistd.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
+ #line $LINENO "configure"
+ #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
+ rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 7297,8053 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_png_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_png_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:7308: result: $ac_cv_header_png_h" >&5
! echo "${ECHO_T}$ac_cv_header_png_h" >&6
! if test $ac_cv_header_png_h = yes; then
! echo "$as_me:7311: checking for png_get_channels in -lpng" >&5
! echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
! if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lpng -lz -lm $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7319 "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char png_get_channels ();
int
main ()
{
! png_get_channels ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7338: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7341: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7344: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7347: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_png_png_get_channels=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_png_png_get_channels=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:7358: result: $ac_cv_lib_png_png_get_channels" >&5
- echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
- if test $ac_cv_lib_png_png_get_channels = yes; then
- HAVE_PNG=yes
- fi
-
fi
- fi
-
- if test "${HAVE_PNG}" = "yes"; then
- cat >>confdefs.h <<\EOF
- #define HAVE_PNG 1
- EOF
-
- fi
fi
! ### Use -ltiff if available, unless `--with-tiff=no'.
! HAVE_TIFF=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_tiff}" != "no"; then
! echo "$as_me:7380: 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
! cat >conftest.$ac_ext <<_ACEOF
! #line 7386 "configure"
! #include "confdefs.h"
! #include <tiffio.h>
! _ACEOF
! if { (eval echo "$as_me:7390: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:7396: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_tiffio_h=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_tiffio_h=no
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:7415: result: $ac_cv_header_tiffio_h" >&5
! echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
! if test $ac_cv_header_tiffio_h = yes; then
! tifflibs="-lz -lm"
! # At least one tiff package requires the jpeg library.
! if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
! echo "$as_me:7421: checking for TIFFGetVersion in -ltiff" >&5
! echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
! if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-ltiff $tifflibs $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7429 "configure"
#include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
#endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char TIFFGetVersion ();
int
main ()
{
! TIFFGetVersion ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7448: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:7451: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7454: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:7457: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_tiff_TIFFGetVersion=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_tiff_TIFFGetVersion=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:7468: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
! echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
! if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
! HAVE_TIFF=yes
! fi
!
! fi
!
! fi
! if test "${HAVE_TIFF}" = "yes"; then
! cat >>confdefs.h <<\EOF
! #define HAVE_TIFF 1
! EOF
! fi
! fi
! ### Use -lgif if available, unless `--with-gif=no'.
! HAVE_GIF=no
! if test "${HAVE_X11}" = "yes"; then
! if test "${with_gif}" != "no"; then
! echo "$as_me:7490: checking for gif_lib.h" >&5
! echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
! if test "${ac_cv_header_gif_lib_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7496 "configure"
! #include "confdefs.h"
! #include <gif_lib.h>
! _ACEOF
! if { (eval echo "$as_me:7500: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:7506: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_gif_lib_h=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_gif_lib_h=no
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:7525: result: $ac_cv_header_gif_lib_h" >&5
! echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
! if test $ac_cv_header_gif_lib_h = yes; then
! # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
! # Earlier versions can crash Emacs.
! echo "$as_me:7530: checking for EGifPutExtensionLast in -lungif" >&5
! echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
! if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lungif $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7538 "configure"
! #include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char EGifPutExtensionLast ();
! int
! main ()
! {
! EGifPutExtensionLast ();
! ;
! return 0;
}
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7557: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7560: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7563: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7566: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_ungif_EGifPutExtensionLast=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_ungif_EGifPutExtensionLast=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
- echo "$as_me:7577: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
- echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
- if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
- HAVE_GIF=yes
fi
!
fi
! fi
!
! if test "${HAVE_GIF}" = "yes"; then
! cat >>confdefs.h <<\EOF
! #define HAVE_GIF 1
! EOF
- fi
fi
! ### Use session management (-lSM -lICE) if available
! HAVE_X_SM=no
! if test "${HAVE_X11}" = "yes"; then
! echo "$as_me:7598: checking for X11/SM/SMlib.h" >&5
! echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
! if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 7604 "configure"
! #include "confdefs.h"
! #include <X11/SM/SMlib.h>
! _ACEOF
! if { (eval echo "$as_me:7608: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:7614: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_X11_SM_SMlib_h=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_header_X11_SM_SMlib_h=no
! fi
! rm -f conftest.err conftest.$ac_ext
! fi
! echo "$as_me:7633: result: $ac_cv_header_X11_SM_SMlib_h" >&5
! echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
! if test $ac_cv_header_X11_SM_SMlib_h = yes; then
! echo "$as_me:7636: checking for SmcOpenConnection in -lSM" >&5
! echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
! if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lSM $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 7644 "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char SmcOpenConnection ();
int
main ()
{
! SmcOpenConnection ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7663: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7666: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7669: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7672: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_SM_SmcOpenConnection=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_SM_SmcOpenConnection=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:7683: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
! echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
! if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
! HAVE_X_SM=yes
else
! -lICE
! fi
!
fi
! if test "${HAVE_X_SM}" = "yes"; then
! cat >>confdefs.h <<\EOF
! #define HAVE_X_SM 1
! EOF
!
! case "$LIBS" in
! *-lSM*) ;;
! *) LIBS="-lSM -lICE $LIBS" ;;
! esac
! fi
! fi
! # If netdb.h doesn't declare h_errno, we must declare it by hand.
! echo "$as_me:7706: checking whether netdb declares h_errno" >&5
! echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
! if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 7712 "configure"
#include "confdefs.h"
! #include <netdb.h>
int
main ()
{
! return h_errno;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7724: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7727: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7730: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7733: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! emacs_cv_netdb_declares_h_errno=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! emacs_cv_netdb_declares_h_errno=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:7743: result: $emacs_cv_netdb_declares_h_errno" >&5
! echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
! if test $emacs_cv_netdb_declares_h_errno = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_H_ERRNO 1
! EOF
fi
! # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
! # for constant arguments. Useless!
! echo "$as_me:7754: checking for working alloca.h" >&5
! echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
! if test "${ac_cv_working_alloca_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7760 "configure"
#include "confdefs.h"
! #include <alloca.h>
int
main ()
{
! char *p = (char *) alloca (2 * sizeof (int));
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7772: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7775: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7778: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7781: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_working_alloca_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_working_alloca_h=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:7791: result: $ac_cv_working_alloca_h" >&5
! echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
! if test $ac_cv_working_alloca_h = yes; then
! cat >>confdefs.h <<\EOF
! #define HAVE_ALLOCA_H 1
! EOF
fi
! echo "$as_me:7801: checking for alloca" >&5
! echo $ECHO_N "checking for alloca... $ECHO_C" >&6
! if test "${ac_cv_func_alloca_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7807 "configure"
#include "confdefs.h"
! #ifdef __GNUC__
! # define alloca __builtin_alloca
! #else
! # ifdef _MSC_VER
! # include <malloc.h>
! # define alloca _alloca
! # else
! # if HAVE_ALLOCA_H
! # include <alloca.h>
! # else
! # ifdef _AIX
! #pragma alloca
! # else
! # ifndef alloca /* predefined by HP cc +Olibcalls */
! char *alloca ();
! # endif
! # endif
# endif
! # endif
#endif
-
int
main ()
{
! char *p = (char *) alloca (1);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7839: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7842: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7845: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7848: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_func_alloca_works=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_alloca_works=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:7858: result: $ac_cv_func_alloca_works" >&5
! echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
!
! if test $ac_cv_func_alloca_works = yes; then
!
! cat >>confdefs.h <<\EOF
! #define HAVE_ALLOCA 1
! EOF
!
! else
! # The SVR3 libPW and SVR4 libucb both contain incompatible functions
! # that cause trouble. Some versions do not even contain alloca or
! # contain a buggy version. If you still want to use their alloca,
! # use ar to extract alloca.o from them instead of compiling alloca.c.
!
! ALLOCA=alloca.$ac_objext
!
! cat >>confdefs.h <<\EOF
! #define C_ALLOCA 1
! EOF
!
! echo "$as_me:7879: checking whether \`alloca.c' needs Cray hooks" >&5
! echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
! if test "${ac_cv_os_cray+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7885 "configure"
! #include "confdefs.h"
! #if defined(CRAY) && ! defined(CRAY2)
! webecray
! #else
! wenotbecray
! #endif
!
! _ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "webecray" >/dev/null 2>&1; then
! ac_cv_os_cray=yes
! else
! ac_cv_os_cray=no
fi
- rm -f conftest*
fi
! echo "$as_me:7903: result: $ac_cv_os_cray" >&5
! echo "${ECHO_T}$ac_cv_os_cray" >&6
! if test $ac_cv_os_cray = yes; then
! for ac_func in _getb67 GETB67 getb67; do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:7908: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7914 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7945: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:7948: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:7951: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:7954: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:7964: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
!
! cat >>confdefs.h <<EOF
! #define CRAY_STACKSEG_END $ac_func
! EOF
!
! break
! fi
!
! done
fi
! echo "$as_me:7978: checking stack direction for C alloca" >&5
! echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
! if test "${ac_cv_c_stack_direction+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if test "$cross_compiling" = yes; then
! ac_cv_c_stack_direction=0
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 7987 "configure"
#include "confdefs.h"
- int
- find_stack_direction ()
- {
- static char *addr = 0;
- auto char dummy;
- if (addr == 0)
- {
- addr = &dummy;
- return find_stack_direction ();
- }
- else
- return (&dummy > addr) ? 1 : -1;
- }
int
main ()
{
! exit (find_stack_direction () < 0);
}
_ACEOF
! rm -f conftest$ac_exeext
! if { (eval echo "$as_me:8010: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8013: \$? = $ac_status" >&5
! (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:8015: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8018: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_c_stack_direction=1
else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_c_stack_direction=-1
fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
- echo "$as_me:8030: result: $ac_cv_c_stack_direction" >&5
- echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
-
- cat >>confdefs.h <<EOF
- #define STACK_DIRECTION $ac_cv_c_stack_direction
- EOF
fi
! # fmod, logb, and frexp are found in -lm on most systems.
! # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
!
! echo "$as_me:8042: checking for sqrt in -lm" >&5
! echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
! if test "${ac_cv_lib_m_sqrt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 8050 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 10342,11083 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
! fi
! 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_func in alarm
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+ if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
fi
+ done
! echo "$as_me:$LINENO: checking for working mktime" >&5
! echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
! if test "${ac_cv_func_working_mktime+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if test "$cross_compiling" = yes; then
! ac_cv_func_working_mktime=no
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ /* Test program from Paul Eggert and Tony Leneis. */
+ #if TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
+ #else
+ # if HAVE_SYS_TIME_H
+ # include <sys/time.h>
+ # else
+ # include <time.h>
+ # endif
+ #endif
! #if HAVE_UNISTD_H
! # include <unistd.h>
#endif
!
! #if !HAVE_ALARM
! # define alarm(X) /* empty */
! #endif
!
! /* Work around redefinition to rpl_putenv by other config tests. */
! #undef putenv
!
! static time_t time_t_max;
!
! /* Values we'll use to set the TZ environment variable. */
! static const char *const tz_strings[] = {
! (const char *) 0, "TZ=GMT0", "TZ=JST-9",
! "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
! };
! #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
!
! /* Fail if mktime fails to convert a date in the spring-forward gap.
! Based on a problem report from Andreas Jaeger. */
! static void
! spring_forward_gap ()
! {
! /* glibc (up to about 1998-10-07) failed this test. */
! struct tm tm;
!
! /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
! instead of "TZ=America/Vancouver" in order to detect the bug even
! on systems that don't support the Olson extension, or don't have the
! full zoneinfo tables installed. */
! putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
!
! tm.tm_year = 98;
! tm.tm_mon = 3;
! tm.tm_mday = 5;
! tm.tm_hour = 2;
! tm.tm_min = 0;
! tm.tm_sec = 0;
! tm.tm_isdst = -1;
! if (mktime (&tm) == (time_t)-1)
! exit (1);
! }
!
! static void
! mktime_test (now)
! time_t now;
! {
! struct tm *lt;
! if ((lt = localtime (&now)) && mktime (lt) != now)
! exit (1);
! now = time_t_max - now;
! if ((lt = localtime (&now)) && mktime (lt) != now)
! exit (1);
! }
!
! static void
! irix_6_4_bug ()
! {
! /* Based on code from Ariel Faigon. */
! struct tm tm;
! tm.tm_year = 96;
! tm.tm_mon = 3;
! tm.tm_mday = 0;
! tm.tm_hour = 0;
! tm.tm_min = 0;
! tm.tm_sec = 0;
! tm.tm_isdst = -1;
! mktime (&tm);
! if (tm.tm_mon != 2 || tm.tm_mday != 31)
! exit (1);
! }
!
! static void
! bigtime_test (j)
! int j;
! {
! struct tm tm;
! time_t now;
! tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec =
j;
! now = mktime (&tm);
! if (now != (time_t) -1)
! {
! struct tm *lt = localtime (&now);
! if (! (lt
! && lt->tm_year == tm.tm_year
! && lt->tm_mon == tm.tm_mon
! && lt->tm_mday == tm.tm_mday
! && lt->tm_hour == tm.tm_hour
! && lt->tm_min == tm.tm_min
! && lt->tm_sec == tm.tm_sec
! && lt->tm_yday == tm.tm_yday
! && lt->tm_wday == tm.tm_wday
! && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
! == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
! exit (1);
! }
! }
!
int
main ()
{
! time_t t, delta;
! int i, j;
! /* This test makes some buggy mktime implementations loop.
! Give up after 60 seconds; a mktime slower than that
! isn't worth using anyway. */
! alarm (60);
! for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
! continue;
! time_t_max--;
! delta = time_t_max / 997; /* a suitable prime number */
! for (i = 0; i < N_STRINGS; i++)
! {
! if (tz_strings[i])
! putenv (tz_strings[i]);
! for (t = 0; t <= time_t_max - delta; t += delta)
! mktime_test (t);
! mktime_test ((time_t) 60 * 60);
! mktime_test ((time_t) 60 * 60 * 24);
! for (j = 1; 0 < j; j *= 2)
! bigtime_test (j);
! bigtime_test (j - 1);
! }
! irix_6_4_bug ();
! spring_forward_gap ();
! 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
! ac_cv_func_working_mktime=yes
else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ( exit $ac_status )
! ac_cv_func_working_mktime=no
fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
! echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
! if test $ac_cv_func_working_mktime = no; then
! LIBOBJS="$LIBOBJS mktime.$ac_objext"
fi
! if test "$ac_cv_func_working_mktime" = no; then
! cat >>confdefs.h <<\_ACEOF
! #define BROKEN_MKTIME 1
! _ACEOF
fi
! ac_have_func=no # yes means we've found a way to get the load average.
!
! ac_save_LIBS=$LIBS
!
! # Check for getloadavg, but be sure not to touch the cache variable.
! (echo "$as_me:$LINENO: checking for getloadavg" >&5
! echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
! if test "${ac_cv_func_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char getloadavg (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char getloadavg ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
! choke me
! #else
! f = getloadavg;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_func_getloadavg=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_func_getloadavg=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
! echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
! if test $ac_cv_func_getloadavg = yes; then
! exit 0
else
! exit 1
fi
+ ) && ac_have_func=yes
! # On HPUX9, an unprivileged user can get load averages through this function.
! for ac_func in pstat_getdynamic
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
+ done
!
! # Solaris has libkstat which does not require root.
!
! echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
! echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
! if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lkstat $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char kstat_open ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! kstat_open ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_kstat_kstat_open=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_kstat_kstat_open=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
! echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
! if test $ac_cv_lib_kstat_kstat_open = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBKSTAT 1
! _ACEOF
! LIBS="-lkstat $LIBS"
fi
! test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
!
! # Some systems with -lutil have (and need) -lkvm as well, some do not.
! # On Solaris, -lkvm requires nlist from -lelf, so check that first
! # to get the right answer into the cache.
! # For kstat on solaris, we need libelf to force the definition of SVR4 below.
! if test $ac_have_func = no; then
! echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
! echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
! if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lelf $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char elf_begin ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
# endif
! int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
! elf_begin ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_elf_elf_begin=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_elf_elf_begin=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
! echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
! if test $ac_cv_lib_elf_elf_begin = yes; then
! LIBS="-lelf $LIBS"
fi
fi
! if test $ac_have_func = no; then
! echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
! echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
! if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lkvm $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char kvm_open ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! kvm_open ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_kvm_kvm_open=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_kvm_kvm_open=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
! echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
! if test $ac_cv_lib_kvm_kvm_open = yes; then
! LIBS="-lkvm $LIBS"
fi
! # Check for the 4.4BSD definition of getloadavg.
! echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
! echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
! if test "${ac_cv_lib_util_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lutil $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ char getloadavg ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! getloadavg ();
! ;
! return 0;
}
_ACEOF
! rm -f conftest.$ac_objext 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='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
! ac_cv_lib_util_getloadavg=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_util_getloadavg=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
fi
+ echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
+ echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
+ if test $ac_cv_lib_util_getloadavg = yes; then
+ LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
fi
fi
! if test $ac_have_func = no; then
! # There is a commonly available library for RS/6000 AIX.
! # Since it is not a standard part of AIX, it might be installed locally.
! ac_getloadavg_LIBS=$LIBS
! LIBS="-L/usr/local/lib $LIBS"
! echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
! echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
! if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lgetloadavg $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 8056,8171 ****
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char sqrt ();
int
main ()
{
! sqrt ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8069: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8072: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8075: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8078: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_m_sqrt=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_m_sqrt=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:8089: result: $ac_cv_lib_m_sqrt" >&5
! echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
! if test $ac_cv_lib_m_sqrt = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBM 1
! EOF
!
! LIBS="-lm $LIBS"
fi
! # Check for mail-locking functions in a "mail" library
! echo "$as_me:8102: checking for maillock in -lmail" >&5
! echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
! if test "${ac_cv_lib_mail_maillock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lmail $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line 8110 "configure"
#include "confdefs.h"
!
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char maillock ();
int
main ()
{
! maillock ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8129: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8132: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8135: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8138: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_mail_maillock=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_mail_maillock=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:8149: result: $ac_cv_lib_mail_maillock" >&5
! echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
! if test $ac_cv_lib_mail_maillock = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBMAIL 1
! EOF
! LIBS="-lmail $LIBS"
fi
! echo "$as_me:8160: checking for maillock in -llockfile" >&5
! echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
! if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-llockfile $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 8168 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 11086,11339 ----
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char getloadavg ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! getloadavg ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_getloadavg_getloadavg=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_getloadavg_getloadavg=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
! echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
! if test $ac_cv_lib_getloadavg_getloadavg = yes; then
! LIBS="-lgetloadavg $LIBS"
! else
! LIBS=$ac_getloadavg_LIBS
! fi
fi
! # Make sure it is really in the library, if we think we found it,
! # otherwise set up the replacement function.
! for ac_func in getloadavg
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
! else
! LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
+ cat >>confdefs.h <<\_ACEOF
+ #define C_GETLOADAVG 1
+ _ACEOF
+
+ # Figure out what our getloadavg.c needs.
+ ac_have_func=no
+ if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
+ echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
+ echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
+ if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
+ echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
+ else
+ # Is the header compilable?
+ echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
+ echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_includes_default
+ #include <sys/dg_sys_info.h>
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_header_compiler=no
fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+ echo "${ECHO_T}$ac_header_compiler" >&6
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
! echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <sys/dg_sys_info.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the
compiler, rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected
by the preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's
result" >&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled"
>&2;}
! { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite
headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's
result" >&2;};;
! esac
! echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
! echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
! if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
! echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
!
! fi
! if test $ac_cv_header_sys_dg_sys_info_h = yes; then
! ac_have_func=yes
!
! cat >>confdefs.h <<\_ACEOF
! #define DGUX 1
! _ACEOF
!
!
! echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
! echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
! if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-ldgc $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 8174,8283 ****
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char maillock ();
int
main ()
{
! maillock ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8187: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8190: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8193: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8196: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_lib_lockfile_maillock=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_lockfile_maillock=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:8207: result: $ac_cv_lib_lockfile_maillock" >&5
! echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
! if test $ac_cv_lib_lockfile_maillock = yes; then
! cat >>confdefs.h <<EOF
! #define HAVE_LIBLOCKFILE 1
! EOF
! LIBS="-llockfile $LIBS"
fi
! # If we have the shared liblockfile, assume we must use it for mail
! # locking (e.g. Debian). If we couldn't link against liblockfile
! # (no liblockfile.a installed), ensure that we don't need to.
! if test "$ac_cv_lib_lockfile_maillock" = no; then
! # Extract the first word of "liblockfile.so", so it can be a program
name with args.
! set dummy liblockfile.so; ac_word=$2
! echo "$as_me:8224: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_liblockfile+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if test -n "$liblockfile"; then
! ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
else
! ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_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_liblockfile="yes"
! echo "$as_me:8239: found $ac_dir/$ac_word" >&5
! break
! done
! test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
fi
fi
! liblockfile=$ac_cv_prog_liblockfile
! if test -n "$liblockfile"; then
! echo "$as_me:8248: result: $liblockfile" >&5
! echo "${ECHO_T}$liblockfile" >&6
else
! echo "$as_me:8251: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
- if test $ac_cv_prog_liblockfile = yes; then
- { { echo "$as_me:8256: error: Shared liblockfile found but can't link
against it.
- This probably means that movemail could lose mail.
- There may be a \`development' package to install containing liblockfile." >&5
- echo "$as_me: error: Shared liblockfile found but can't link against it.
- This probably means that movemail could lose mail.
- There may be a \`development' package to install containing liblockfile."
>&2;}
- { (exit 1); exit 1; }; }
- else cat >>confdefs.h <<\EOF
- #define LIBMAIL -llockfile
- EOF
-
- fi
- else :
fi
! for ac_func in touchlock
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8274: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 8280 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 11342,11512 ----
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
! char dg_sys_info ();
! #ifdef F77_DUMMY_MAIN
! # ifdef __cplusplus
! extern "C"
! # endif
! int F77_DUMMY_MAIN() { return 1; }
! #endif
int
main ()
{
! dg_sys_info ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext 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='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
! ac_cv_lib_dgc_dg_sys_info=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_lib_dgc_dg_sys_info=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
! echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
! if test $ac_cv_lib_dgc_dg_sys_info = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBDGC 1
! _ACEOF
! LIBS="-ldgc $LIBS"
fi
! fi
!
!
!
! if test "${ac_cv_header_locale_h+set}" = set; then
! echo "$as_me:$LINENO: checking for locale.h" >&5
! echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
! if test "${ac_cv_header_locale_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
+ echo "${ECHO_T}$ac_cv_header_locale_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking locale.h usability" >&5
! echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <locale.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 locale.h presence" >&5
! echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <locale.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
+ if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_header_preproc=no
fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite
headers?" >&5
! echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for locale.h" >&5
! echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
! if test "${ac_cv_header_locale_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_cv_header_locale_h=$ac_header_preproc
fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
+ echo "${ECHO_T}$ac_cv_header_locale_h" >&6
fi
!
!
! for ac_func in setlocale
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 8291,8296 ****
--- 11520,11531 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 8308,8323 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8311: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8314: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8317: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8320: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 11543,11558 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 8327,8362 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:8330: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
! for ac_header in maillock.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8343: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 8349 "configure"
#include "confdefs.h"
! #include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:8353: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:8359: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 11562,11646 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
!
! # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
! # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
! # Irix 4.0.5F has the header but not the library.
! if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
! ac_have_func=yes
!
! cat >>confdefs.h <<\_ACEOF
! #define SVR4 1
! _ACEOF
!
! fi
!
! if test $ac_have_func = no; then
! if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
! echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
! echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
! if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
+ echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
! echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! $ac_includes_default
! #include <inq_stats/cpustats.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 inq_stats/cpustats.h presence" >&5
! echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <inq_stats/cpustats.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8367,8486 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:8378: 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 <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
! done
! for ac_func in gethostname getdomainname dup2 \
! rename closedir mkdir rmdir sysinfo \
! random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
! strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
! utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
! __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
! sendto recvfrom getsockopt setsockopt getsockname getpeername \
! gai_strerror mkstemp
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8398: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 8404 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
! ;
! return 0;
! }
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8435: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8438: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8441: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8444: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:8454: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
! done
! for ac_header in sys/un.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8467: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 8473 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:8477: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:8483: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 11651,11881 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the
compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler,
rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with
the preprocessor's result" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the
preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot
be compiled" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite
headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with
the preprocessor's result" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the
preprocessor's result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
+ echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
+ if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
! echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
fi
! if test $ac_cv_header_inq_stats_cpustats_h = yes; then
! ac_have_func=yes
! cat >>confdefs.h <<\_ACEOF
! #define UMAX 1
! _ACEOF
!
!
! cat >>confdefs.h <<\_ACEOF
! #define UMAX4_3 1
! _ACEOF
!
! fi
!
!
! fi
!
! if test $ac_have_func = no; then
! if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
! echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
! echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
! if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
+ echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
! echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! $ac_includes_default
! #include <sys/cpustats.h>
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_compiler=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
! echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <sys/cpustats.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! egrep -v '^ *\+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the
compiler, rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by
the preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's
result" >&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite
headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's
result" >&2;};;
! esac
! echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
! echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
! if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_sys_cpustats_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
! echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
fi
! if test $ac_cv_header_sys_cpustats_h = yes; then
! ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
! #define UMAX 1
! _ACEOF
! fi
!
!
! fi
!
! if test $ac_have_func = no; then
!
! for ac_header in mach/mach.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8491,8534 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:8502: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
! for ac_header in sys/time.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8515: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 8521 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:8525: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:8531: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 11886,11997 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
! fi
!
!
! for ac_header in nlist.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8539,8834 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:8550: 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 <<EOF
- #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- EOF
fi
! done
!
! for ac_func in alarm
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8563: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 8569 "configure"
#include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
int
main ()
{
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8600: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8603: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8606: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8609: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:8619: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
!
fi
! done
!
! echo "$as_me:8629: checking for working mktime" >&5
! echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
! if test "${ac_cv_func_working_mktime+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test "$cross_compiling" = yes; then
! ac_cv_func_working_mktime=no
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 8638 "configure"
! #include "confdefs.h"
! /* Test program from Paul Eggert and Tony Leneis. */
! #if TIME_WITH_SYS_TIME
! # include <sys/time.h>
! # include <time.h>
! #else
! # if HAVE_SYS_TIME_H
! # include <sys/time.h>
! # else
! # include <time.h>
! # endif
! #endif
!
! #if HAVE_UNISTD_H
! # include <unistd.h>
! #endif
!
! #if !HAVE_ALARM
! # define alarm(X) /* empty */
! #endif
!
! /* Work around redefinition to rpl_putenv by other config tests. */
! #undef putenv
!
! static time_t time_t_max;
!
! /* Values we'll use to set the TZ environment variable. */
! static const char *const tz_strings[] = {
! (const char *) 0, "TZ=GMT0", "TZ=JST-9",
! "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
! };
! #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
!
! /* Fail if mktime fails to convert a date in the spring-forward gap.
! Based on a problem report from Andreas Jaeger. */
! static void
! spring_forward_gap ()
! {
! /* glibc (up to about 1998-10-07) failed this test. */
! struct tm tm;
! /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
! instead of "TZ=America/Vancouver" in order to detect the bug even
! on systems that don't support the Olson extension, or don't have the
! full zoneinfo tables installed. */
! putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
- tm.tm_year = 98;
- tm.tm_mon = 3;
- tm.tm_mday = 5;
- tm.tm_hour = 2;
- tm.tm_min = 0;
- tm.tm_sec = 0;
- tm.tm_isdst = -1;
- if (mktime (&tm) == (time_t)-1)
- exit (1);
- }
! static void
! mktime_test (now)
! time_t now;
! {
! struct tm *lt;
! if ((lt = localtime (&now)) && mktime (lt) != now)
! exit (1);
! now = time_t_max - now;
! if ((lt = localtime (&now)) && mktime (lt) != now)
! exit (1);
! }
! static void
! irix_6_4_bug ()
! {
! /* Based on code from Ariel Faigon. */
! struct tm tm;
! tm.tm_year = 96;
! tm.tm_mon = 3;
! tm.tm_mday = 0;
! tm.tm_hour = 0;
! tm.tm_min = 0;
! tm.tm_sec = 0;
! tm.tm_isdst = -1;
! mktime (&tm);
! if (tm.tm_mon != 2 || tm.tm_mday != 31)
! exit (1);
! }
- static void
- bigtime_test (j)
- int j;
- {
- struct tm tm;
- time_t now;
- tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec =
j;
- now = mktime (&tm);
- if (now != (time_t) -1)
- {
- struct tm *lt = localtime (&now);
- if (! (lt
- && lt->tm_year == tm.tm_year
- && lt->tm_mon == tm.tm_mon
- && lt->tm_mday == tm.tm_mday
- && lt->tm_hour == tm.tm_hour
- && lt->tm_min == tm.tm_min
- && lt->tm_sec == tm.tm_sec
- && lt->tm_yday == tm.tm_yday
- && lt->tm_wday == tm.tm_wday
- && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
- == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
- exit (1);
- }
- }
! int
! main ()
! {
! time_t t, delta;
! int i, j;
! /* This test makes some buggy mktime implementations loop.
! Give up after 60 seconds; a mktime slower than that
! isn't worth using anyway. */
! alarm (60);
! for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
! continue;
! time_t_max--;
! delta = time_t_max / 997; /* a suitable prime number */
! for (i = 0; i < N_STRINGS; i++)
! {
! if (tz_strings[i])
! putenv (tz_strings[i]);
- for (t = 0; t <= time_t_max - delta; t += delta)
- mktime_test (t);
- mktime_test ((time_t) 60 * 60);
- mktime_test ((time_t) 60 * 60 * 24);
! for (j = 1; 0 < j; j *= 2)
! bigtime_test (j);
! bigtime_test (j - 1);
! }
! irix_6_4_bug ();
! spring_forward_gap ();
! exit (0);
! }
_ACEOF
! rm -f conftest$ac_exeext
! if { (eval echo "$as_me:8787: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:8790: \$? = $ac_status" >&5
! (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:8792: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:8795: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_working_mktime=yes
else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_working_mktime=no
fi
! rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:8807: result: $ac_cv_func_working_mktime" >&5
! echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
! if test $ac_cv_func_working_mktime = no; then
! LIBOBJS="$LIBOBJS mktime.$ac_objext"
fi
- if test "$ac_cv_func_working_mktime" = no; then
- cat >>confdefs.h <<\EOF
- #define BROKEN_MKTIME 1
- EOF
- fi
ac_have_func=no # yes means we've found a way to get the load average.
ac_save_LIBS=$LIBS
# Check for getloadavg, but be sure not to touch the cache variable.
! (echo "$as_me:8825: checking for getloadavg" >&5
echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
if test "${ac_cv_func_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 8831 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getloadavg (); below. */
--- 12002,12194 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi
! if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
! echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
! echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
! if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <nlist.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
! static struct nlist ac_aggr;
! if (ac_aggr.n_un.n_name)
! return 0;
;
return 0;
}
_ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
! ac_cv_member_struct_nlist_n_un_n_name=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_member_struct_nlist_n_un_n_name=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
! echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
! if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
! _ACEOF
! cat >>confdefs.h <<\_ACEOF
! #define NLIST_NAME_UNION 1
! _ACEOF
! fi
! fi
! done
! fi
! done
! # Some definitions of getloadavg require that the program be installed setgid.
! echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
! echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
! if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include "$srcdir/getloadavg.c"
! #ifdef LDAV_PRIVILEGED
! Yowza Am I SETGID yet
! #endif
_ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
! ac_cv_func_getloadavg_setgid=yes
! else
! ac_cv_func_getloadavg_setgid=no
! fi
! rm -f conftest*
!
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
! echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
! if test $ac_cv_func_getloadavg_setgid = yes; then
! NEED_SETGID=true
!
! cat >>confdefs.h <<\_ACEOF
! #define GETLOADAVG_PRIVILEGED 1
! _ACEOF
!
else
! NEED_SETGID=false
fi
!
! if test $ac_cv_func_getloadavg_setgid = yes; then
! echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
! echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
! if test "${ac_cv_group_kmem+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! # On Solaris, /dev/kmem is a symlink. Get info on the real file.
! ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
! # If we got an error (system does not support symlinks), try without -L.
! test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
! ac_cv_group_kmem=`echo $ac_ls_output \
! | sed -ne 's/[ ][ ]*/ /g;
! s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
! / /s/.* //;p;'`
!
fi
+ echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
+ echo "${ECHO_T}$ac_cv_group_kmem" >&6
+ KMEM_GROUP=$ac_cv_group_kmem
fi
! if test "x$ac_save_LIBS" = x; then
! GETLOADAVG_LIBS=$LIBS
! else
! GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
fi
+ LIBS=$ac_save_LIBS
ac_have_func=no # yes means we've found a way to get the load average.
ac_save_LIBS=$LIBS
# Check for getloadavg, but be sure not to touch the cache variable.
! (echo "$as_me:$LINENO: checking for getloadavg" >&5
echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
if test "${ac_cv_func_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getloadavg (); below. */
***************
*** 8842,8847 ****
--- 12202,12213 ----
char getloadavg ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 8859,8874 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8862: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8865: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8868: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8871: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_getloadavg=yes
else
--- 12225,12240 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func_getloadavg=yes
else
***************
*** 8878,8884 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:8881: result: $ac_cv_func_getloadavg" >&5
echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
if test $ac_cv_func_getloadavg = yes; then
exit 0
--- 12244,12250 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
if test $ac_cv_func_getloadavg = yes; then
exit 0
***************
*** 8892,8904 ****
for ac_func in pstat_getdynamic
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8895: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 8901 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 12258,12270 ----
for ac_func in pstat_getdynamic
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 8912,8917 ****
--- 12278,12289 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 8929,8944 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8932: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8935: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8938: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8941: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 12301,12316 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 8948,8966 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:8951: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
# Solaris has libkstat which does not require root.
! echo "$as_me:8963: checking for kstat_open in -lkstat" >&5
echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12320,12339 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
+
# Solaris has libkstat which does not require root.
! echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8968,8974 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkstat $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 8971 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12341,12347 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkstat $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 8978,8983 ****
--- 12351,12362 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char kstat_open ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 8987,9002 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8990: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:8993: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:8996: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:8999: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_kstat_kstat_open=yes
else
--- 12366,12381 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_kstat_kstat_open=yes
else
***************
*** 9007,9018 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9010: result: $ac_cv_lib_kstat_kstat_open" >&5
echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
if test $ac_cv_lib_kstat_kstat_open = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBKSTAT 1
! EOF
LIBS="-lkstat $LIBS"
--- 12386,12397 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
if test $ac_cv_lib_kstat_kstat_open = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBKSTAT 1
! _ACEOF
LIBS="-lkstat $LIBS"
***************
*** 9025,9031 ****
# to get the right answer into the cache.
# For kstat on solaris, we need libelf to force the definition of SVR4 below.
if test $ac_have_func = no; then
! echo "$as_me:9028: checking for elf_begin in -lelf" >&5
echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12404,12410 ----
# to get the right answer into the cache.
# For kstat on solaris, we need libelf to force the definition of SVR4 below.
if test $ac_have_func = no; then
! echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9033,9039 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lelf $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 9036 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12412,12418 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lelf $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 9043,9048 ****
--- 12422,12433 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char elf_begin ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9052,9067 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9055: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9058: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9061: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9064: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_elf_elf_begin=yes
else
--- 12437,12452 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_elf_elf_begin=yes
else
***************
*** 9072,9078 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9075: result: $ac_cv_lib_elf_elf_begin" >&5
echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
if test $ac_cv_lib_elf_elf_begin = yes; then
LIBS="-lelf $LIBS"
--- 12457,12463 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
if test $ac_cv_lib_elf_elf_begin = yes; then
LIBS="-lelf $LIBS"
***************
*** 9080,9086 ****
fi
if test $ac_have_func = no; then
! echo "$as_me:9083: checking for kvm_open in -lkvm" >&5
echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12465,12471 ----
fi
if test $ac_have_func = no; then
! echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9088,9094 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkvm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 9091 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12473,12479 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkvm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 9098,9103 ****
--- 12483,12494 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char kvm_open ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9107,9122 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9110: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9113: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9116: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9119: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_kvm_kvm_open=yes
else
--- 12498,12513 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_kvm_kvm_open=yes
else
***************
*** 9127,9140 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9130: result: $ac_cv_lib_kvm_kvm_open" >&5
echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
if test $ac_cv_lib_kvm_kvm_open = yes; then
LIBS="-lkvm $LIBS"
fi
# Check for the 4.4BSD definition of getloadavg.
! echo "$as_me:9137: checking for getloadavg in -lutil" >&5
echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
if test "${ac_cv_lib_util_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12518,12531 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
if test $ac_cv_lib_kvm_kvm_open = yes; then
LIBS="-lkvm $LIBS"
fi
# Check for the 4.4BSD definition of getloadavg.
! echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
if test "${ac_cv_lib_util_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9142,9148 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lutil $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 9145 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12533,12539 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lutil $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 9152,9157 ****
--- 12543,12554 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getloadavg ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9161,9176 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9164: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9167: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9170: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9173: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_util_getloadavg=yes
else
--- 12558,12573 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_util_getloadavg=yes
else
***************
*** 9181,9187 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9184: result: $ac_cv_lib_util_getloadavg" >&5
echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
if test $ac_cv_lib_util_getloadavg = yes; then
LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
--- 12578,12584 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
if test $ac_cv_lib_util_getloadavg = yes; then
LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
***************
*** 9194,9200 ****
# Since it is not a standard part of AIX, it might be installed locally.
ac_getloadavg_LIBS=$LIBS
LIBS="-L/usr/local/lib $LIBS"
! echo "$as_me:9197: checking for getloadavg in -lgetloadavg" >&5
echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12591,12597 ----
# Since it is not a standard part of AIX, it might be installed locally.
ac_getloadavg_LIBS=$LIBS
LIBS="-L/usr/local/lib $LIBS"
! echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9202,9208 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgetloadavg $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 9205 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12599,12605 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgetloadavg $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 9212,9217 ****
--- 12609,12620 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getloadavg ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9221,9236 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9224: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9227: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9230: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9233: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_getloadavg_getloadavg=yes
else
--- 12624,12639 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_getloadavg_getloadavg=yes
else
***************
*** 9241,9247 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9244: result: $ac_cv_lib_getloadavg_getloadavg" >&5
echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
if test $ac_cv_lib_getloadavg_getloadavg = yes; then
LIBS="-lgetloadavg $LIBS"
--- 12644,12650 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
if test $ac_cv_lib_getloadavg_getloadavg = yes; then
LIBS="-lgetloadavg $LIBS"
***************
*** 9257,9269 ****
for ac_func in getloadavg
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:9260: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 9266 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 12660,12672 ----
for ac_func in getloadavg
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 9277,9282 ****
--- 12680,12691 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9294,9309 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9297: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9300: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9303: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9306: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 12703,12718 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 9313,9351 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:9316: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
else
LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
! cat >>confdefs.h <<\EOF
#define C_GETLOADAVG 1
! EOF
# Figure out what our getloadavg.c needs.
ac_have_func=no
! echo "$as_me:9332: checking for sys/dg_sys_info.h" >&5
echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9338 "configure"
#include "confdefs.h"
#include <sys/dg_sys_info.h>
_ACEOF
! if { (eval echo "$as_me:9342: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9348: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 12722,12798 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
else
LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
! cat >>confdefs.h <<\_ACEOF
#define C_GETLOADAVG 1
! _ACEOF
# Figure out what our getloadavg.c needs.
ac_have_func=no
! if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
! echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
+ echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
! echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <sys/dg_sys_info.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
! echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/dg_sys_info.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9356,9379 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_sys_dg_sys_info_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_sys_dg_sys_info_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9367: result: $ac_cv_header_sys_dg_sys_info_h" >&5
echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
if test $ac_cv_header_sys_dg_sys_info_h = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\EOF
#define DGUX 1
! EOF
! echo "$as_me:9376: checking for dg_sys_info in -ldgc" >&5
echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12803,12853 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the
compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected
by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's
result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be
compiled" >&5
+ echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite
headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's
result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
+ echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
+ if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
+
+ fi
if test $ac_cv_header_sys_dg_sys_info_h = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\_ACEOF
#define DGUX 1
! _ACEOF
!
! echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9381,9387 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldgc $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 9384 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 12855,12861 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldgc $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 9391,9396 ****
--- 12865,12876 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dg_sys_info ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9400,9415 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9403: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9406: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9409: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9412: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_dgc_dg_sys_info=yes
else
--- 12880,12895 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_dgc_dg_sys_info=yes
else
***************
*** 9420,9431 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:9423: result: $ac_cv_lib_dgc_dg_sys_info" >&5
echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
if test $ac_cv_lib_dgc_dg_sys_info = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBDGC 1
! EOF
LIBS="-ldgc $LIBS"
--- 12900,12911 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
if test $ac_cv_lib_dgc_dg_sys_info = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDGC 1
! _ACEOF
LIBS="-ldgc $LIBS"
***************
*** 9433,9455 ****
fi
! echo "$as_me:9436: checking for locale.h" >&5
echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
if test "${ac_cv_header_locale_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9442 "configure"
#include "confdefs.h"
#include <locale.h>
_ACEOF
! if { (eval echo "$as_me:9446: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9452: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 12913,12975 ----
fi
!
!
! if test "${ac_cv_header_locale_h+set}" = set; then
! echo "$as_me:$LINENO: checking for locale.h" >&5
echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
if test "${ac_cv_header_locale_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
+ echo "${ECHO_T}$ac_cv_header_locale_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking locale.h usability" >&5
! echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <locale.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 locale.h presence" >&5
! echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <locale.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9460,9486 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_locale_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_locale_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9471: result: $ac_cv_header_locale_h" >&5
echo "${ECHO_T}$ac_cv_header_locale_h" >&6
for ac_func in setlocale
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:9477: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 9483 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 12980,13034 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler,
rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result"
>&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be
compiled" >&5
+ echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite
headers?" >&5
+ echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result"
>&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for locale.h" >&5
+ echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
+ if test "${ac_cv_header_locale_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_locale_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
echo "${ECHO_T}$ac_cv_header_locale_h" >&6
+ fi
+
+
+
for ac_func in setlocale
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 9494,9499 ****
--- 13042,13053 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9511,9526 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9514: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9517: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9520: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9523: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 13065,13080 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 9530,9575 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:9533: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
# Irix 4.0.5F has the header but not the library.
if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\EOF
#define SVR4 1
! EOF
fi
if test $ac_have_func = no; then
! echo "$as_me:9556: checking for inq_stats/cpustats.h" >&5
echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9562 "configure"
#include "confdefs.h"
#include <inq_stats/cpustats.h>
_ACEOF
! if { (eval echo "$as_me:9566: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9572: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 13084,13168 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
+
# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
# Irix 4.0.5F has the header but not the library.
if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\_ACEOF
#define SVR4 1
! _ACEOF
fi
if test $ac_have_func = no; then
! if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
! echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
+ echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
! echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <inq_stats/cpustats.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 inq_stats/cpustats.h presence" >&5
! echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <inq_stats/cpustats.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9580,9628 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_inq_stats_cpustats_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_inq_stats_cpustats_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9591: result: $ac_cv_header_inq_stats_cpustats_h" >&5
echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
if test $ac_cv_header_inq_stats_cpustats_h = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\EOF
#define UMAX 1
! EOF
! cat >>confdefs.h <<\EOF
#define UMAX4_3 1
! EOF
fi
fi
if test $ac_have_func = no; then
! echo "$as_me:9609: checking for sys/cpustats.h" >&5
echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9615 "configure"
#include "confdefs.h"
#include <sys/cpustats.h>
_ACEOF
! if { (eval echo "$as_me:9619: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9625: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 13173,13287 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the
compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler,
rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with
the preprocessor's result" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the
preprocessor's result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot
be compiled" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite
headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with
the preprocessor's result" >&5
+ echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the
preprocessor's result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
+ echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
+ if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
+
+ fi
if test $ac_cv_header_inq_stats_cpustats_h = yes; then
ac_have_func=yes
! cat >>confdefs.h <<\_ACEOF
#define UMAX 1
! _ACEOF
!
! cat >>confdefs.h <<\_ACEOF
#define UMAX4_3 1
! _ACEOF
fi
+
fi
if test $ac_have_func = no; then
! if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
! echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
+ echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
! echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <sys/cpustats.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
! echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/cpustats.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9633,9655 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_sys_cpustats_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_sys_cpustats_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9644: result: $ac_cv_header_sys_cpustats_h" >&5
echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
if test $ac_cv_header_sys_cpustats_h = yes; then
! ac_have_func=yes; cat >>confdefs.h <<\EOF
#define UMAX 1
! EOF
fi
fi
if test $ac_have_func = no; then
--- 13292,13341 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the
compiler, rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by
the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's
result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be
compiled" >&5
+ echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite
headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's
result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
+ echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
+ if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_sys_cpustats_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
+
+ fi
if test $ac_cv_header_sys_cpustats_h = yes; then
! ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
#define UMAX 1
! _ACEOF
fi
+
fi
if test $ac_have_func = no; then
***************
*** 9657,9679 ****
for ac_header in mach/mach.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:9660: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9666 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:9670: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9676: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 13343,13403 ----
for ac_header in mach/mach.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9684,9729 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9695: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
fi
for ac_header in nlist.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:9710: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 9716 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:9720: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:9726: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 13408,13519 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
fi
+
for ac_header in nlist.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
+ #line $LINENO "configure"
+ #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9734,9763 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:9745: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
! echo "$as_me:9751: checking for struct nlist.n_un.n_name" >&5
echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 9757 "configure"
#include "confdefs.h"
#include <nlist.h>
int
main ()
{
--- 13524,13585 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
! echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <nlist.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9769,9784 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:9772: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:9775: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:9778: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9781: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_nlist_n_un_n_name=yes
else
--- 13591,13606 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_nlist_n_un_n_name=yes
else
***************
*** 9788,9821 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:9791: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
! EOF
! cat >>confdefs.h <<\EOF
#define NLIST_NAME_UNION 1
! EOF
fi
fi
done
fi
done
# Some definitions of getloadavg require that the program be installed setgid.
! echo "$as_me:9812: checking whether getloadavg requires setgid" >&5
echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 9818 "configure"
#include "confdefs.h"
#include "$srcdir/getloadavg.c"
#ifdef LDAV_PRIVILEGED
--- 13610,13647 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
! _ACEOF
!
! cat >>confdefs.h <<\_ACEOF
#define NLIST_NAME_UNION 1
! _ACEOF
fi
+
fi
+
done
fi
done
+
# Some definitions of getloadavg require that the program be installed setgid.
! echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include "$srcdir/getloadavg.c"
#ifdef LDAV_PRIVILEGED
***************
*** 9831,9851 ****
rm -f conftest*
fi
! echo "$as_me:9834: result: $ac_cv_func_getloadavg_setgid" >&5
echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
if test $ac_cv_func_getloadavg_setgid = yes; then
NEED_SETGID=true
! cat >>confdefs.h <<\EOF
#define GETLOADAVG_PRIVILEGED 1
! EOF
else
NEED_SETGID=false
fi
if test $ac_cv_func_getloadavg_setgid = yes; then
! echo "$as_me:9848: checking group of /dev/kmem" >&5
echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
if test "${ac_cv_group_kmem+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 13657,13677 ----
rm -f conftest*
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
if test $ac_cv_func_getloadavg_setgid = yes; then
NEED_SETGID=true
! cat >>confdefs.h <<\_ACEOF
#define GETLOADAVG_PRIVILEGED 1
! _ACEOF
else
NEED_SETGID=false
fi
if test $ac_cv_func_getloadavg_setgid = yes; then
! echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
if test "${ac_cv_group_kmem+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9860,9866 ****
/ /s/.* //;p;'`
fi
! echo "$as_me:9863: result: $ac_cv_group_kmem" >&5
echo "${ECHO_T}$ac_cv_group_kmem" >&6
KMEM_GROUP=$ac_cv_group_kmem
fi
--- 13686,13692 ----
/ /s/.* //;p;'`
fi
! echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
echo "${ECHO_T}$ac_cv_group_kmem" >&6
KMEM_GROUP=$ac_cv_group_kmem
fi
***************
*** 9871,9877 ****
fi
LIBS=$ac_save_LIBS
! echo "$as_me:9874: checking for _LARGEFILE_SOURCE value needed for large
files" >&5
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_largefile_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 13697,13705 ----
fi
LIBS=$ac_save_LIBS
!
!
! echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large
files" >&5
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files...
$ECHO_C" >&6
if test "${ac_cv_sys_largefile_source+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9879,9887 ****
while :; do
ac_cv_sys_largefile_source=no
cat >conftest.$ac_ext <<_ACEOF
! #line 9882 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
--- 13707,13721 ----
while :; do
ac_cv_sys_largefile_source=no
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <stdio.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9891,9906 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:9894: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:9897: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:9900: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9903: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
--- 13725,13740 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
break
else
***************
*** 9909,9918 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line 9912 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <stdio.h>
int
main ()
{
--- 13743,13758 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <stdio.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9922,9937 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:9925: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:9928: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:9931: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9934: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_largefile_source=1; break
else
--- 13762,13777 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_largefile_source=1; break
else
***************
*** 9942,9954 ****
break
done
fi
! echo "$as_me:9945: result: $ac_cv_sys_largefile_source" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
if test "$ac_cv_sys_largefile_source" != no; then
! cat >>confdefs.h <<EOF
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
! EOF
fi
rm -f conftest*
--- 13782,13794 ----
break
done
fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
if test "$ac_cv_sys_largefile_source" != no; then
! cat >>confdefs.h <<_ACEOF
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
! _ACEOF
fi
rm -f conftest*
***************
*** 9956,9970 ****
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
# in glibc 2.1.3, but that breaks too many other things.
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
! echo "$as_me:9959: checking for fseeko" >&5
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
if test "${ac_cv_func_fseeko+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 9965 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
--- 13796,13816 ----
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
# in glibc 2.1.3, but that breaks too many other things.
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
! echo "$as_me:$LINENO: checking for fseeko" >&5
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
if test "${ac_cv_func_fseeko+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <stdio.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 9974,9989 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9977: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:9980: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:9983: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:9986: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_fseeko=yes
else
--- 13820,13835 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func_fseeko=yes
else
***************
*** 9993,10020 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:9996: result: $ac_cv_func_fseeko" >&5
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
if test $ac_cv_func_fseeko = yes; then
! cat >>confdefs.h <<\EOF
#define HAVE_FSEEKO 1
! EOF
fi
# UNIX98 PTYs.
for ac_func in grantpt
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:10011: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 10017 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 13839,13867 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
if test $ac_cv_func_fseeko = yes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_FSEEKO 1
! _ACEOF
fi
+
# UNIX98 PTYs.
for ac_func in grantpt
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 10028,10033 ****
--- 13875,13886 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10045,10060 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10048: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10051: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10054: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10057: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 13898,13913 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 10064,10091 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:10067: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
# PTY-related GNU extensions.
for ac_func in getpt
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:10082: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 10088 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 13917,13945 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
+
# PTY-related GNU extensions.
for ac_func in getpt
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 10099,10104 ****
--- 13953,13964 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10116,10131 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10119: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10122: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10125: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10128: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 13976,13991 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 10135,10156 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:10138: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
# Check this now, so that we will NOT find the above functions in ncurses.
# That is because we have not set up to link ncurses in lib-src.
# It's better to believe a function is not available
# than to expect to find it in ncurses.
! echo "$as_me:10153: checking for tparm in -lncurses" >&5
echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 13995,14017 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
+
# Check this now, so that we will NOT find the above functions in ncurses.
# That is because we have not set up to link ncurses in lib-src.
# It's better to believe a function is not available
# than to expect to find it in ncurses.
! echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10158,10164 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lncurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10161 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14019,14025 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lncurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10168,10173 ****
--- 14029,14040 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char tparm ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10177,10192 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10180: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10183: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10186: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10189: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_ncurses_tparm=yes
else
--- 14044,14059 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_ncurses_tparm=yes
else
***************
*** 10197,10224 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10200: result: $ac_cv_lib_ncurses_tparm" >&5
echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
if test $ac_cv_lib_ncurses_tparm = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBNCURSES 1
! EOF
LIBS="-lncurses $LIBS"
fi
# Do we need the Hesiod library to provide the support routines?
if test "$with_hesiod" = yes ; then
# Don't set $LIBS here -- see comments above.
resolv=no
! echo "$as_me:10215: checking for res_send" >&5
echo $ECHO_N "checking for res_send... $ECHO_C" >&6
if test "${ac_cv_func_res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 10221 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char res_send (); below. */
--- 14064,14092 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
if test $ac_cv_lib_ncurses_tparm = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBNCURSES 1
! _ACEOF
LIBS="-lncurses $LIBS"
fi
+
# Do we need the Hesiod library to provide the support routines?
if test "$with_hesiod" = yes ; then
# Don't set $LIBS here -- see comments above.
resolv=no
! echo "$as_me:$LINENO: checking for res_send" >&5
echo $ECHO_N "checking for res_send... $ECHO_C" >&6
if test "${ac_cv_func_res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char res_send (); below. */
***************
*** 10232,10237 ****
--- 14100,14111 ----
char res_send ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10249,10264 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10252: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10255: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10258: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10261: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_res_send=yes
else
--- 14123,14138 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func_res_send=yes
else
***************
*** 10268,10285 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:10271: result: $ac_cv_func_res_send" >&5
echo "${ECHO_T}$ac_cv_func_res_send" >&6
if test $ac_cv_func_res_send = yes; then
:
else
! echo "$as_me:10276: checking for __res_send" >&5
echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
if test "${ac_cv_func___res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 10282 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __res_send (); below. */
--- 14142,14159 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
echo "${ECHO_T}$ac_cv_func_res_send" >&6
if test $ac_cv_func_res_send = yes; then
:
else
! echo "$as_me:$LINENO: checking for __res_send" >&5
echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
if test "${ac_cv_func___res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __res_send (); below. */
***************
*** 10293,10298 ****
--- 14167,14178 ----
char __res_send ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10310,10325 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10313: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10316: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10319: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10322: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func___res_send=yes
else
--- 14190,14205 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func___res_send=yes
else
***************
*** 10329,10340 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:10332: result: $ac_cv_func___res_send" >&5
echo "${ECHO_T}$ac_cv_func___res_send" >&6
if test $ac_cv_func___res_send = yes; then
:
else
! echo "$as_me:10337: checking for res_send in -lresolv" >&5
echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14209,14220 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
echo "${ECHO_T}$ac_cv_func___res_send" >&6
if test $ac_cv_func___res_send = yes; then
:
else
! echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10342,10348 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10345 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14222,14228 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10352,10357 ****
--- 14232,14243 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char res_send ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10361,10376 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10364: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10367: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10370: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10373: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_resolv_res_send=yes
else
--- 14247,14262 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_resolv_res_send=yes
else
***************
*** 10381,10392 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10384: result: $ac_cv_lib_resolv_res_send" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
if test $ac_cv_lib_resolv_res_send = yes; then
resolv=yes
else
! echo "$as_me:10389: checking for __res_send in -lresolv" >&5
echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv___res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14267,14278 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
if test $ac_cv_lib_resolv_res_send = yes; then
resolv=yes
else
! echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv___res_send+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10394,10400 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10397 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14280,14286 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lresolv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10404,10409 ****
--- 14290,14301 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __res_send ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10413,10428 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10416: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10419: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10422: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10425: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_resolv___res_send=yes
else
--- 14305,14320 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_resolv___res_send=yes
else
***************
*** 10433,10439 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10436: result: $ac_cv_lib_resolv___res_send" >&5
echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
if test $ac_cv_lib_resolv___res_send = yes; then
resolv=yes
--- 14325,14331 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
if test $ac_cv_lib_resolv___res_send = yes; then
resolv=yes
***************
*** 10447,10466 ****
if test "$resolv" = yes ; then
RESOLVLIB=-lresolv
! cat >>confdefs.h <<\EOF
#define HAVE_LIBRESOLV 1
! EOF
else
RESOLVLIB=
fi
! echo "$as_me:10457: checking for hes_getmailhost" >&5
echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
if test "${ac_cv_func_hes_getmailhost+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 10463 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char hes_getmailhost (); below. */
--- 14339,14358 ----
if test "$resolv" = yes ; then
RESOLVLIB=-lresolv
! cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBRESOLV 1
! _ACEOF
else
RESOLVLIB=
fi
! echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
if test "${ac_cv_func_hes_getmailhost+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char hes_getmailhost (); below. */
***************
*** 10474,10479 ****
--- 14366,14377 ----
char hes_getmailhost ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10491,10506 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10494: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10497: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10500: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10503: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_hes_getmailhost=yes
else
--- 14389,14404 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func_hes_getmailhost=yes
else
***************
*** 10510,10521 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:10513: result: $ac_cv_func_hes_getmailhost" >&5
echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
if test $ac_cv_func_hes_getmailhost = yes; then
:
else
! echo "$as_me:10518: checking for hes_getmailhost in -lhesiod" >&5
echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14408,14419 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
if test $ac_cv_func_hes_getmailhost = yes; then
:
else
! echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10523,10529 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lhesiod $RESOLVLIB $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10526 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14421,14427 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lhesiod $RESOLVLIB $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10533,10538 ****
--- 14431,14442 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char hes_getmailhost ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10542,10557 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10545: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10548: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10551: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10554: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_hesiod_hes_getmailhost=yes
else
--- 14446,14461 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_hesiod_hes_getmailhost=yes
else
***************
*** 10562,10573 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10565: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
! cat >>confdefs.h <<\EOF
#define HAVE_LIBHESIOD 1
! EOF
else
:
--- 14466,14477 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBHESIOD 1
! _ACEOF
else
:
***************
*** 10580,10586 ****
# These tell us which Kerberos-related libraries to use.
if test "${with_kerberos+set}" = set; then
! echo "$as_me:10583: checking for com_err in -lcom_err" >&5
echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
if test "${ac_cv_lib_com_err_com_err+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14484,14490 ----
# These tell us which Kerberos-related libraries to use.
if test "${with_kerberos+set}" = set; then
! echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
if test "${ac_cv_lib_com_err_com_err+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10588,10594 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcom_err $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10591 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14492,14498 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcom_err $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10598,10603 ****
--- 14502,14513 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char com_err ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10607,10622 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10610: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10613: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10616: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10619: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_com_err_com_err=yes
else
--- 14517,14532 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_com_err_com_err=yes
else
***************
*** 10627,10644 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10630: result: $ac_cv_lib_com_err_com_err" >&5
echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
if test $ac_cv_lib_com_err_com_err = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBCOM_ERR 1
! EOF
LIBS="-lcom_err $LIBS"
fi
! echo "$as_me:10641: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14537,14555 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
if test $ac_cv_lib_com_err_com_err = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBCOM_ERR 1
! _ACEOF
LIBS="-lcom_err $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10646,10652 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lk5crypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10649 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14557,14563 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lk5crypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10656,10661 ****
--- 14567,14578 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mit_des_cbc_encrypt ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10665,10680 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10668: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10671: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10674: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10677: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
else
--- 14582,14597 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
else
***************
*** 10685,10702 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10688: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBK5CRYPTO 1
! EOF
LIBS="-lk5crypto $LIBS"
fi
! echo "$as_me:10699: checking for mit_des_cbc_encrypt in -lcrypto" >&5
echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14602,14620 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBK5CRYPTO 1
! _ACEOF
LIBS="-lk5crypto $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10704,10710 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10707 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14622,14628 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10714,10719 ****
--- 14632,14643 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mit_des_cbc_encrypt ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10723,10738 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10726: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10729: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10732: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10735: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
else
--- 14647,14662 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
else
***************
*** 10743,10760 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10746: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBCRYPTO 1
! EOF
LIBS="-lcrypto $LIBS"
fi
! echo "$as_me:10757: checking for krb5_init_context in -lkrb5" >&5
echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14667,14685 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBCRYPTO 1
! _ACEOF
LIBS="-lcrypto $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10762,10768 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb5 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10765 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14687,14693 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb5 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10772,10777 ****
--- 14697,14708 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb5_init_context ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10781,10796 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10784: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10787: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10790: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10793: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_krb5_krb5_init_context=yes
else
--- 14712,14727 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_krb5_krb5_init_context=yes
else
***************
*** 10801,10812 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10804: result: $ac_cv_lib_krb5_krb5_init_context" >&5
echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
if test $ac_cv_lib_krb5_krb5_init_context = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBKRB5 1
! EOF
LIBS="-lkrb5 $LIBS"
--- 14732,14743 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
if test $ac_cv_lib_krb5_krb5_init_context = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBKRB5 1
! _ACEOF
LIBS="-lkrb5 $LIBS"
***************
*** 10814,10820 ****
if test "${with_kerberos5+set}" != set; then
! echo "$as_me:10817: checking for des_cbc_encrypt in -ldes425" >&5
echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14745,14751 ----
if test "${with_kerberos5+set}" != set; then
! echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10822,10828 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldes425 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10825 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14753,14759 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldes425 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10832,10837 ****
--- 14763,14774 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char des_cbc_encrypt ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10841,10856 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10844: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10847: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10850: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10853: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_des425_des_cbc_encrypt=yes
else
--- 14778,14793 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_des425_des_cbc_encrypt=yes
else
***************
*** 10861,10878 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10864: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBDES425 1
! EOF
LIBS="-ldes425 $LIBS"
else
! echo "$as_me:10875: checking for des_cbc_encrypt in -ldes" >&5
echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14798,14815 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDES425 1
! _ACEOF
LIBS="-ldes425 $LIBS"
else
! echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10880,10886 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldes $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10883 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14817,14823 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldes $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10890,10895 ****
--- 14827,14838 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char des_cbc_encrypt ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10899,10914 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10902: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10905: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10908: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10911: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_des_des_cbc_encrypt=yes
else
--- 14842,14857 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_des_des_cbc_encrypt=yes
else
***************
*** 10919,10930 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10922: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBDES 1
! EOF
LIBS="-ldes $LIBS"
--- 14862,14873 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDES 1
! _ACEOF
LIBS="-ldes $LIBS"
***************
*** 10932,10938 ****
fi
! echo "$as_me:10935: checking for krb_get_cred in -lkrb4" >&5
echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14875,14882 ----
fi
!
! echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10940,10946 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb4 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 10943 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14884,14890 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb4 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 10950,10955 ****
--- 14894,14905 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb_get_cred ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 10959,10974 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10962: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:10965: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:10968: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:10971: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_krb4_krb_get_cred=yes
else
--- 14909,14924 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_krb4_krb_get_cred=yes
else
***************
*** 10979,10996 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:10982: result: $ac_cv_lib_krb4_krb_get_cred" >&5
echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
if test $ac_cv_lib_krb4_krb_get_cred = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBKRB4 1
! EOF
LIBS="-lkrb4 $LIBS"
else
! echo "$as_me:10993: checking for krb_get_cred in -lkrb" >&5
echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 14929,14946 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
if test $ac_cv_lib_krb4_krb_get_cred = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBKRB4 1
! _ACEOF
LIBS="-lkrb4 $LIBS"
else
! echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10998,11004 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 11001 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 14948,14954 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lkrb $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 11008,11013 ****
--- 14958,14969 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb_get_cred ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11017,11032 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11020: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11023: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:11026: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11029: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_krb_krb_get_cred=yes
else
--- 14973,14988 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_krb_krb_get_cred=yes
else
***************
*** 11037,11048 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:11040: result: $ac_cv_lib_krb_krb_get_cred" >&5
echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
if test $ac_cv_lib_krb_krb_get_cred = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBKRB 1
! EOF
LIBS="-lkrb $LIBS"
--- 14993,15004 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
if test $ac_cv_lib_krb_krb_get_cred = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBKRB 1
! _ACEOF
LIBS="-lkrb $LIBS"
***************
*** 11057,11079 ****
for ac_header in krb5.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11060: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11066 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11070: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11076: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15013,15073 ----
for ac_header in krb5.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11084,11105 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11095: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
else
--- 15078,15126 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
else
***************
*** 11107,11129 ****
for ac_header in des.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11110: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11116 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11120: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11126: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15128,15188 ----
for ac_header in des.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11134,11176 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11145: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
else
for ac_header in kerberosIV/des.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11157: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11163 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11167: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11173: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15193,15299 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
else
for ac_header in kerberosIV/des.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11181,11223 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11192: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
else
for ac_header in kerberos/des.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11204: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11210 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11214: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11220: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15304,15410 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
else
for ac_header in kerberos/des.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11228,11277 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11239: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
fi
done
fi
! done
! for ac_header in krb.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11258: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11264 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11268: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11274: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15415,15532 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
fi
+
done
fi
+
done
+
+ for ac_header in krb.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
+ #line $LINENO "configure"
+ #include "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>&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
+ cat conftest.$ac_ext >&5
+ ac_header_compiler=no
fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11282,11324 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11293: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
else
for ac_header in kerberosIV/krb.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11305: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11311 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11315: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11321: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15537,15643 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
else
for ac_header in kerberosIV/krb.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11329,11371 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11340: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
else
for ac_header in kerberos/krb.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11352: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11358 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11362: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11368: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15648,15754 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
else
for ac_header in kerberos/krb.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11376,11403 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11387: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
fi
done
fi
done
fi
--- 15759,15815 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
fi
+
done
fi
+
done
fi
***************
*** 11405,11427 ****
for ac_header in com_err.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11408: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11414 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:11418: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11424: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 15817,15877 ----
for ac_header in com_err.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11432,11453 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11443: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
fi
--- 15882,15930 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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
fi
***************
*** 11455,11461 ****
# Solaris requires -lintl if you want strerror (which calls dgettext)
# to return localized messages.
! echo "$as_me:11458: checking for dgettext in -lintl" >&5
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 15932,15938 ----
# Solaris requires -lintl if you want strerror (which calls dgettext)
# to return localized messages.
! echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11463,11469 ****
ac_check_lib_save_LIBS=$LIBS
LIBS="-lintl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line 11466 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
--- 15940,15946 ----
ac_check_lib_save_LIBS=$LIBS
LIBS="-lintl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
***************
*** 11473,11478 ****
--- 15950,15961 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dgettext ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11482,11497 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11485: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11488: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:11491: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11494: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_intl_dgettext=yes
else
--- 15965,15980 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_lib_intl_dgettext=yes
else
***************
*** 11502,11519 ****
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:11505: result: $ac_cv_lib_intl_dgettext" >&5
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
if test $ac_cv_lib_intl_dgettext = yes; then
! cat >>confdefs.h <<EOF
#define HAVE_LIBINTL 1
! EOF
LIBS="-lintl $LIBS"
fi
! echo "$as_me:11516: checking whether localtime caches TZ" >&5
echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
if test "${emacs_cv_localtime_cache+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 15985,16003 ----
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
if test $ac_cv_lib_intl_dgettext = yes; then
! cat >>confdefs.h <<_ACEOF
#define HAVE_LIBINTL 1
! _ACEOF
LIBS="-lintl $LIBS"
fi
!
! echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
if test "${emacs_cv_localtime_cache+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11524,11530 ****
emacs_cv_localtime_cache=yes
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11527 "configure"
#include "confdefs.h"
#include <time.h>
extern char **environ;
--- 16008,16014 ----
emacs_cv_localtime_cache=yes
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <time.h>
extern char **environ;
***************
*** 11557,11577 ****
}
_ACEOF
rm -f conftest$ac_exeext
! if { (eval echo "$as_me:11560: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11563: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:11565: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11568: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
emacs_cv_localtime_cache=no
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
emacs_cv_localtime_cache=yes
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
--- 16041,16062 ----
}
_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
emacs_cv_localtime_cache=no
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+ ( exit $ac_status )
emacs_cv_localtime_cache=yes
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
***************
*** 11582,11593 ****
emacs_cv_localtime_cache=no
fi
fi
! echo "$as_me:11585: result: $emacs_cv_localtime_cache" >&5
echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
if test $emacs_cv_localtime_cache = yes; then
! cat >>confdefs.h <<\EOF
#define LOCALTIME_CACHE 1
! EOF
fi
--- 16067,16078 ----
emacs_cv_localtime_cache=no
fi
fi
! echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
if test $emacs_cv_localtime_cache = yes; then
! cat >>confdefs.h <<\_ACEOF
#define LOCALTIME_CACHE 1
! _ACEOF
fi
***************
*** 11596,11608 ****
for ac_func in gettimeofday
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:11599: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11605 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 16081,16093 ----
for ac_func in gettimeofday
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 11616,11621 ****
--- 16101,16112 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11633,11648 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11636: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11639: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:11642: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11645: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 16124,16139 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 11652,11674 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:11655: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
! echo "$as_me:11665: checking whether gettimeofday can accept two arguments"
>&5
echo $ECHO_N "checking whether gettimeofday can accept two arguments...
$ECHO_C" >&6
if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11671 "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
--- 16143,16165 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
! echo "$as_me:$LINENO: checking whether gettimeofday can accept two
arguments" >&5
echo $ECHO_N "checking whether gettimeofday can accept two arguments...
$ECHO_C" >&6
if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
***************
*** 11681,11686 ****
--- 16172,16183 ----
#include <time.h>
#endif
#endif
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11691,11706 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:11694: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:11697: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:11700: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11703: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
emacs_cv_gettimeofday_two_arguments=yes
else
--- 16188,16203 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
emacs_cv_gettimeofday_two_arguments=yes
else
***************
*** 11710,11735 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:11713: result: $emacs_cv_gettimeofday_two_arguments" >&5
echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
if test $emacs_cv_gettimeofday_two_arguments = no; then
! cat >>confdefs.h <<\EOF
#define GETTIMEOFDAY_ONE_ARGUMENT 1
! EOF
fi
fi
if test "$ac_cv_func_gettimeofday" = yes; then
! echo "$as_me:11724: checking for struct timezone" >&5
echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
if test "${emacs_cv_struct_timezone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11730 "configure"
#include "confdefs.h"
#include <sys/time.h>
int
main ()
{
--- 16207,16238 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
if test $emacs_cv_gettimeofday_two_arguments = no; then
! cat >>confdefs.h <<\_ACEOF
#define GETTIMEOFDAY_ONE_ARGUMENT 1
! _ACEOF
fi
fi
if test "$ac_cv_func_gettimeofday" = yes; then
! echo "$as_me:$LINENO: checking for struct timezone" >&5
echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
if test "${emacs_cv_struct_timezone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <sys/time.h>
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11739,11760 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:11742: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:11745: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:11748: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11751: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
if test "$cross_compiling" = yes; then
emacs_cv_struct_timezone=yes
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11757 "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
--- 16242,16263 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
if test "$cross_compiling" = yes; then
emacs_cv_struct_timezone=yes
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME
***************
*** 11774,11794 ****
}
_ACEOF
rm -f conftest$ac_exeext
! if { (eval echo "$as_me:11777: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11780: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:11782: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11785: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
emacs_cv_struct_timezone=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
emacs_cv_struct_timezone=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
--- 16277,16298 ----
}
_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
emacs_cv_struct_timezone=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+ ( exit $ac_status )
emacs_cv_struct_timezone=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
***************
*** 11800,11817 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:11803: result: $emacs_cv_struct_timezone" >&5
echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
fi
ok_so_far=yes
! echo "$as_me:11808: checking for socket" >&5
echo $ECHO_N "checking for socket... $ECHO_C" >&6
if test "${ac_cv_func_socket+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11814 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char socket (); below. */
--- 16304,16321 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
fi
ok_so_far=yes
! echo "$as_me:$LINENO: checking for socket" >&5
echo $ECHO_N "checking for socket... $ECHO_C" >&6
if test "${ac_cv_func_socket+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char socket (); below. */
***************
*** 11825,11830 ****
--- 16329,16340 ----
char socket ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 11842,11857 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11845: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:11848: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:11851: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:11854: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_socket=yes
else
--- 16352,16367 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
ac_cv_func_socket=yes
else
***************
*** 11861,11867 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:11864: result: $ac_cv_func_socket" >&5
echo "${ECHO_T}$ac_cv_func_socket" >&6
if test $ac_cv_func_socket = yes; then
:
--- 16371,16377 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
echo "${ECHO_T}$ac_cv_func_socket" >&6
if test $ac_cv_func_socket = yes; then
:
***************
*** 11870,11892 ****
fi
if test $ok_so_far = yes; then
! echo "$as_me:11873: checking for netinet/in.h" >&5
echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
if test "${ac_cv_header_netinet_in_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11879 "configure"
#include "confdefs.h"
#include <netinet/in.h>
_ACEOF
! if { (eval echo "$as_me:11883: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11889: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 16380,16440 ----
fi
if test $ok_so_far = yes; then
! if test "${ac_cv_header_netinet_in_h+set}" = set; then
! echo "$as_me:$LINENO: checking for netinet/in.h" >&5
echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
if test "${ac_cv_header_netinet_in_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
+ echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
! echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <netinet/in.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 netinet/in.h presence" >&5
! echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <netinet/in.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11897,11937 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_netinet_in_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_netinet_in_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11908: result: $ac_cv_header_netinet_in_h" >&5
echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
if test $ac_cv_header_netinet_in_h = yes; then
:
else
ok_so_far=no
fi
fi
if test $ok_so_far = yes; then
! echo "$as_me:11918: checking for arpa/inet.h" >&5
echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
if test "${ac_cv_header_arpa_inet_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 11924 "configure"
#include "confdefs.h"
#include <arpa/inet.h>
_ACEOF
! if { (eval echo "$as_me:11928: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:11934: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 16445,16550 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler,
rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by
the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's
result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be
compiled" >&5
+ echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's
result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for netinet/in.h" >&5
+ echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
+ if test "${ac_cv_header_netinet_in_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_netinet_in_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
+
+ fi
if test $ac_cv_header_netinet_in_h = yes; then
:
else
ok_so_far=no
fi
+
fi
if test $ok_so_far = yes; then
! if test "${ac_cv_header_arpa_inet_h+set}" = set; then
! echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
if test "${ac_cv_header_arpa_inet_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
+ fi
+ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
+ echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
! echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <arpa/inet.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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 arpa/inet.h presence" >&5
! echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <arpa/inet.h>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11942,12001 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_cv_header_arpa_inet_h=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_arpa_inet_h=no
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:11953: result: $ac_cv_header_arpa_inet_h" >&5
echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
if test $ac_cv_header_arpa_inet_h = yes; then
:
else
ok_so_far=no
fi
fi
if test $ok_so_far = yes; then
! cat >>confdefs.h <<\EOF
#define HAVE_INET_SOCKETS 1
! EOF
fi
if test -f /usr/lpp/X11/bin/smt.exp; then
! cat >>confdefs.h <<\EOF
#define HAVE_AIX_SMT_EXP 1
! EOF
fi
! echo "$as_me:11976: checking whether system supports dynamic ptys" >&5
echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
! echo "$as_me:11979: result: yes" >&5
echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\EOF
#define HAVE_DEV_PTMX 1
! EOF
else
! echo "$as_me:11986: result: no" >&5
echo "${ECHO_T}no" >&6
fi
! echo "$as_me:11990: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
if test "${ac_cv_type_pid_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 11996 "configure"
#include "confdefs.h"
$ac_includes_default
int
main ()
{
--- 16555,16647 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc in
+ yes:no )
+ { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler,
rejected by the preprocessor!" >&5
+ echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's
result" >&2;};;
+ no:yes )
+ { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be
compiled" >&5
+ echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing
prerequisite headers?" >&5
+ echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?"
>&2;}
+ { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's
result" >&2;};;
+ esac
+ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
+ echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
+ if test "${ac_cv_header_arpa_inet_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_header_arpa_inet_h=$ac_header_preproc
fi
! echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
+
+ fi
if test $ac_cv_header_arpa_inet_h = yes; then
:
else
ok_so_far=no
fi
+
fi
if test $ok_so_far = yes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_INET_SOCKETS 1
! _ACEOF
fi
if test -f /usr/lpp/X11/bin/smt.exp; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_AIX_SMT_EXP 1
! _ACEOF
fi
! echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
! echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\_ACEOF
#define HAVE_DEV_PTMX 1
! _ACEOF
else
! echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
! echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
if test "${ac_cv_type_pid_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
$ac_includes_default
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 12008,12023 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:12011: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:12014: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:12017: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:12020: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_pid_t=yes
else
--- 16654,16669 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_pid_t=yes
else
***************
*** 12027,12064 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:12030: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
if test $ac_cv_type_pid_t = yes; then
:
else
! cat >>confdefs.h <<EOF
#define pid_t int
! EOF
fi
for ac_header in unistd.h vfork.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:12045: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 12051 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:12055: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:12061: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 16673,16750 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
if test $ac_cv_type_pid_t = yes; then
:
else
! cat >>confdefs.h <<_ACEOF
#define pid_t int
! _ACEOF
fi
+
+
for ac_header in unistd.h vfork.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 12069,12102 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:12080: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
fi
done
for ac_func in fork vfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:12093: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 12099 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
--- 16755,16817 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
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_func in fork vfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below. */
***************
*** 12110,12115 ****
--- 16825,16836 ----
char $ac_func ();
char (*f) ();
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 12127,12142 ****
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:12130: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:12133: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:12136: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:12139: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
--- 16848,16863 ----
}
_ACEOF
rm -f conftest.$ac_objext 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='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
eval "$as_ac_var=yes"
else
***************
*** 12146,12164 ****
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:12149: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
fi
done
ac_cv_func_fork_works=$ac_cv_func_fork
if test "x$ac_cv_func_fork" = xyes; then
! echo "$as_me:12161: checking for working fork" >&5
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
if test "${ac_cv_func_fork_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 16867,16885 ----
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
ac_cv_func_fork_works=$ac_cv_func_fork
if test "x$ac_cv_func_fork" = xyes; then
! echo "$as_me:$LINENO: checking for working fork" >&5
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
if test "${ac_cv_func_fork_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12167,12173 ****
ac_cv_func_fork_works=cross
else
cat >conftest.$ac_ext <<_ACEOF
! /* By Rüdiger Kuhlmann. */
#include <sys/types.h>
#if HAVE_UNISTD_H
# include <unistd.h>
--- 16888,16894 ----
ac_cv_func_fork_works=cross
else
cat >conftest.$ac_ext <<_ACEOF
! /* By Ruediger Kuhlmann. */
#include <sys/types.h>
#if HAVE_UNISTD_H
# include <unistd.h>
***************
*** 12181,12207 ****
}
_ACEOF
rm -f conftest$ac_exeext
! if { (eval echo "$as_me:12184: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:12187: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:12189: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:12192: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_fork_works=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_fork_works=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:12204: result: $ac_cv_func_fork_works" >&5
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
fi
--- 16902,16929 ----
}
_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_func_fork_works=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+ ( exit $ac_status )
ac_cv_func_fork_works=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
fi
***************
*** 12215,12226 ****
ac_cv_func_fork_works=yes
;;
esac
! { echo "$as_me:12218: WARNING: CROSS: Result $ac_cv_func_fork_works guessed
due to cross-compiling." >&5
! echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to
cross-compiling." >&2;}
fi
ac_cv_func_vfork_works=$ac_cv_func_vfork
if test "x$ac_cv_func_vfork" = xyes; then
! echo "$as_me:12223: checking for working vfork" >&5
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
if test "${ac_cv_func_vfork_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
--- 16937,16948 ----
ac_cv_func_fork_works=yes
;;
esac
! { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed
because of cross compilation" >&5
! echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross
compilation" >&2;}
fi
ac_cv_func_vfork_works=$ac_cv_func_vfork
if test "x$ac_cv_func_vfork" = xyes; then
! echo "$as_me:$LINENO: checking for working vfork" >&5
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
if test "${ac_cv_func_vfork_works+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12229,12235 ****
ac_cv_func_vfork_works=cross
else
cat >conftest.$ac_ext <<_ACEOF
! #line 12232 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
--- 16951,16957 ----
ac_cv_func_vfork_works=cross
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
***************
*** 12326,12392 ****
}
_ACEOF
rm -f conftest$ac_exeext
! if { (eval echo "$as_me:12329: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
! echo "$as_me:12332: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:12334: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:12337: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_vfork_works=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_func_vfork_works=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:12349: result: $ac_cv_func_vfork_works" >&5
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
fi;
if test "x$ac_cv_func_fork_works" = xcross; then
ac_cv_func_vfork_works=ac_cv_func_vfork
! { echo "$as_me:12355: WARNING: CROSS: Result $ac_cv_func_vfork_works
guessed due to cross-compiling." >&5
! echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to
cross-compiling." >&2;}
fi
if test "x$ac_cv_func_vfork_works" = xyes; then
! cat >>confdefs.h <<\EOF
#define HAVE_WORKING_VFORK 1
! EOF
else
! cat >>confdefs.h <<\EOF
#define vfork fork
! EOF
fi
if test "x$ac_cv_func_fork_works" = xyes; then
! cat >>confdefs.h <<\EOF
#define HAVE_WORKING_FORK 1
! EOF
fi
# Fixme: This should be replaced when we have autoconf 2.14.
! echo "$as_me:12381: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line 12387 "configure"
#include "confdefs.h"
$ac_includes_default
int
main ()
{
--- 17048,17122 ----
}
_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_func_vfork_works=yes
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
+ ( exit $ac_status )
ac_cv_func_vfork_works=no
fi
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext
fi
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
fi;
if test "x$ac_cv_func_fork_works" = xcross; then
ac_cv_func_vfork_works=ac_cv_func_vfork
! { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed
because of cross compilation" >&5
! echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of
cross compilation" >&2;}
fi
if test "x$ac_cv_func_vfork_works" = xyes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_WORKING_VFORK 1
! _ACEOF
else
! cat >>confdefs.h <<\_ACEOF
#define vfork fork
! _ACEOF
fi
if test "x$ac_cv_func_fork_works" = xyes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_WORKING_FORK 1
! _ACEOF
fi
+
# Fixme: This should be replaced when we have autoconf 2.14.
! echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
$ac_includes_default
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
+ extern "C"
+ # endif
+ int F77_DUMMY_MAIN() { return 1; }
+ #endif
int
main ()
{
***************
*** 12399,12414 ****
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:12402: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:12405: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:12408: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:12411: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_size_t=yes
else
--- 17129,17144 ----
}
_ACEOF
rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_size_t=yes
else
***************
*** 12418,12435 ****
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:12421: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
:
else
! cat >>confdefs.h <<EOF
#define size_t unsigned
! EOF
fi
# Set up the CFLAGS for real compilation, so we can substitute it.
CFLAGS="$REAL_CFLAGS"
CPPFLAGS="$REAL_CPPFLAGS"
--- 17148,17166 ----
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
:
else
! cat >>confdefs.h <<_ACEOF
#define size_t unsigned
! _ACEOF
fi
+
# Set up the CFLAGS for real compilation, so we can substitute it.
CFLAGS="$REAL_CFLAGS"
CPPFLAGS="$REAL_CPPFLAGS"
***************
*** 12438,12444 ****
version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
if test x"${version}" = x; then
! { { echo "$as_me:12441: error: can't find current emacs version in
\`${srcdir}/lisp/version.el'." >&5
echo "$as_me: error: can't find current emacs version in
\`${srcdir}/lisp/version.el'." >&2;}
{ (exit 1); exit 1; }; }
fi
--- 17169,17175 ----
version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
if test x"${version}" = x; then
! { { echo "$as_me:$LINENO: error: can't find current emacs version in
\`${srcdir}/lisp/version.el'." >&5
echo "$as_me: error: can't find current emacs version in
\`${srcdir}/lisp/version.el'." >&2;}
{ (exit 1); exit 1; }; }
fi
***************
*** 12446,12546 ****
### Specify what sort of things we'll be editing into Makefile and config.h.
### Use configuration here uncanonicalized to avoid exceeding size limits.
! cat >>confdefs.h <<EOF
#define EMACS_CONFIGURATION "${canonical}"
! EOF
! cat >>confdefs.h <<EOF
#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
! EOF
! cat >>confdefs.h <<EOF
#define config_machfile "${machfile}"
! EOF
! cat >>confdefs.h <<EOF
#define config_opsysfile "${opsysfile}"
! EOF
! cat >>confdefs.h <<EOF
#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
! EOF
! cat >>confdefs.h <<EOF
#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
! EOF
! cat >>confdefs.h <<EOF
#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
! EOF
! cat >>confdefs.h <<EOF
#define UNEXEC_SRC ${UNEXEC_SRC}
! EOF
if test "${HAVE_X_WINDOWS}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define HAVE_X_WINDOWS 1
! EOF
fi
if test "${USE_X_TOOLKIT}" != "none" ; then
! cat >>confdefs.h <<\EOF
#define USE_X_TOOLKIT 1
! EOF
fi
if test "${HAVE_X11}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define HAVE_X11 1
! EOF
fi
if test "${HAVE_XFREE386}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define HAVE_XFREE386 1
! EOF
fi
if test "${HAVE_MENUS}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define HAVE_MENUS 1
! EOF
fi
if test "${GNU_MALLOC}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define GNU_MALLOC 1
! EOF
fi
if test "${REL_ALLOC}" = "yes" ; then
! cat >>confdefs.h <<\EOF
#define REL_ALLOC 1
! EOF
fi
for ac_header in nlist.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:12527: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line 12533 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:12537: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:12543: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
--- 17177,17349 ----
### Specify what sort of things we'll be editing into Makefile and config.h.
### Use configuration here uncanonicalized to avoid exceeding size limits.
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! cat >>confdefs.h <<_ACEOF
#define EMACS_CONFIGURATION "${canonical}"
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define config_machfile "${machfile}"
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define config_opsysfile "${opsysfile}"
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
! _ACEOF
! cat >>confdefs.h <<_ACEOF
#define UNEXEC_SRC ${UNEXEC_SRC}
! _ACEOF
!
if test "${HAVE_X_WINDOWS}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_X_WINDOWS 1
! _ACEOF
fi
if test "${USE_X_TOOLKIT}" != "none" ; then
! cat >>confdefs.h <<\_ACEOF
#define USE_X_TOOLKIT 1
! _ACEOF
fi
if test "${HAVE_X11}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_X11 1
! _ACEOF
fi
if test "${HAVE_XFREE386}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_XFREE386 1
! _ACEOF
fi
if test "${HAVE_MENUS}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_MENUS 1
! _ACEOF
fi
if test "${GNU_MALLOC}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define GNU_MALLOC 1
! _ACEOF
fi
if test "${REL_ALLOC}" = "yes" ; then
! cat >>confdefs.h <<\_ACEOF
#define REL_ALLOC 1
! _ACEOF
fi
+
for ac_header in nlist.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
! #line $LINENO "configure"
! #include "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>&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
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f 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
! #line $LINENO "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 12551,12578 ****
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_ext
fi
! echo "$as_me:12562: 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 <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
! cat >>confdefs.h <<\EOF
#define NLIST_STRUCT 1
! EOF
fi
done
#### Report on what we decided to do.
echo "
Configured for \`${canonical}'.
--- 17354,17409 ----
ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
+ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+ echo "${ECHO_T}$ac_header_preproc" >&6
+
+ # So? What about this header?
+ case $ac_header_compiler:$ac_header_preproc 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
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
+ 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: proceeding with the
preprocessor's result" >&5
+ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&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
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
+
+ fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
! cat >>confdefs.h <<\_ACEOF
#define NLIST_STRUCT 1
! _ACEOF
fi
+
done
+
#### Report on what we decided to do.
echo "
Configured for \`${canonical}'.
***************
*** 12585,12591 ****
Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
Should Emacs use mmap(2) for buffer allocation?
$use_mmap_for_buffers
What window system should Emacs use? ${window_system}
! What toolkit should Emacs use? ${USE_X_TOOLKIT}"
if test -n "${x_includes}"; then
echo " Where do we find X Windows header files? ${x_includes}"
--- 17416,17423 ----
Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
Should Emacs use mmap(2) for buffer allocation?
$use_mmap_for_buffers
What window system should Emacs use? ${window_system}
! What toolkit should Emacs use? ${USE_X_TOOLKIT}
! Should Emacs use a shared game state directory? ${gamedir}"
if test -n "${x_includes}"; then
echo " Where do we find X Windows header files? ${x_includes}"
***************
*** 12619,12625 ****
## C preprocessor.
cat >conftest.$ac_ext <<_ACEOF
! #line 12622 "configure"
#include "confdefs.h"
yes..yes
_ACEOF
--- 17451,17457 ----
## C preprocessor.
cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
yes..yes
_ACEOF
***************
*** 12631,12636 ****
--- 17463,17469 ----
fi
rm -f conftest*
+
ac_config_files="$ac_config_files Makefile
lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile
lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile
lispintro/Makefile leim/Makefile"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
***************
*** 12709,12733 ****
DEFS=-DHAVE_CONFIG_H
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { echo "$as_me:12715: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
! # Generated automatically by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
- ac_cs_invocation="\$0 \$@"
-
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
--- 17542,17570 ----
DEFS=-DHAVE_CONFIG_H
+
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
! # Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
+
+ ## --------------------- ##
+ ## M4sh Initialization. ##
+ ## --------------------- ##
+
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
***************
*** 12736,12743 ****
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
--- 17573,17739 ----
set -o posix
fi
+ # NLS nuisances.
+ # Support unset when possible.
+ if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+ as_unset=unset
+ else
+ as_unset=false
+ fi
+
+ (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
+ { $as_unset LANG || test "${LANG+set}" != set; } ||
+ { LANG=C; export LANG; }
+ (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
+ { LC_ALL=C; export LC_ALL; }
+ (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
+ { LC_TIME=C; export LC_TIME; }
+ (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
+ { LC_CTYPE=C; export LC_CTYPE; }
+ (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
+ { LANGUAGE=C; export LANGUAGE; }
+ (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
+ { LC_COLLATE=C; export LC_COLLATE; }
+ (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
+ { LC_NUMERIC=C; export LC_NUMERIC; }
+ (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
+ { LC_MESSAGES=C; export LC_MESSAGES; }
+
+
# Name of the executable.
! as_me=`(basename "$0") 2>/dev/null ||
! $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" >conftest.sh
! echo "exit 0" >>conftest.sh
! chmod +x conftest.sh
! if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
! PATH_SEPARATOR=';'
! else
! PATH_SEPARATOR=:
! fi
! rm -f conftest.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:$LINENO: error: cannot find myself; rerun with an
absolute path" >&5
! 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
! 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:$LINENO: error: cannot create $as_me.lineno; rerun with
a POSIX shell" >&5
! 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
***************
*** 12765,12786 ****
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.
--- 17761,17772 ----
as_executable_p="test -f"
! # 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"
!
! # Sed expression to map a string onto a valid variable name.
! as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
# IFS
# We need space, tab and new line, in precisely that order.
***************
*** 12789,12798 ****
IFS=" $as_nl"
# CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH;
}
exec 6>&1
_ACEOF
# Files that config.status was made for.
--- 17775,17808 ----
IFS=" $as_nl"
# CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR;
export CDPATH; }
exec 6>&1
+ # Open the log real soon, to keep \$[0] and so on meaningful, and to
+ # report actual input values of CONFIG_FILES etc. instead of their
+ # values after options handling. Logging --version etc. is OK.
+ exec 5>>config.log
+ {
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+ ## Running $as_me. ##
+ _ASBOX
+ } >&5
+ cat >&5 <<_CSEOF
+
+ This file was extended by $as_me, which was
+ generated by GNU Autoconf 2.53. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+ _CSEOF
+ echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
+ echo >&5
_ACEOF
# Files that config.status was made for.
***************
*** 12812,12818 ****
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
! cat >>$CONFIG_STATUS <<\EOF
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
--- 17822,17828 ----
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
! cat >>$CONFIG_STATUS <<\_ACEOF
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
***************
*** 12839,12850 ****
$config_commands
Report bugs to <address@hidden>."
! EOF
! cat >>$CONFIG_STATUS <<EOF
ac_cs_version="\\
config.status
! configured by $0, generated by GNU Autoconf 2.52,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
--- 17849,17860 ----
$config_commands
Report bugs to <address@hidden>."
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
config.status
! configured by $0, generated by GNU Autoconf 2.53,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
***************
*** 12853,12861 ****
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
INSTALL="$INSTALL"
! EOF
! cat >>$CONFIG_STATUS <<\EOF
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
ac_need_defaults=:
--- 17863,17871 ----
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
INSTALL="$INSTALL"
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
ac_need_defaults=:
***************
*** 12877,12894 ****
case $1 in
# Handling of the options.
! EOF
! cat >>$CONFIG_STATUS <<EOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! EOF
! cat >>$CONFIG_STATUS <<\EOF
--version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
! { { echo "$as_me:12891: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
--- 17887,17904 ----
case $1 in
# Handling of the options.
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
--version | --vers* | -V )
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
! { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
***************
*** 12907,12913 ****
ac_need_defaults=false;;
# This is an error.
! -*) { { echo "$as_me:12910: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
--- 17917,17923 ----
ac_need_defaults=false;;
# This is an error.
! -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
***************
*** 12919,12952 ****
shift
done
- exec 5>>config.log
- cat >&5 << _ACEOF
-
- ## ----------------------- ##
- ## Running config.status. ##
- ## ----------------------- ##
-
- This file was extended by $as_me 2.52, executed with
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- > $ac_cs_invocation
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
-
_ACEOF
- EOF
! cat >>$CONFIG_STATUS <<EOF
#
# INIT-COMMANDS section.
#
GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP"
CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
! EOF
! cat >>$CONFIG_STATUS <<\EOF
for ac_config_target in $ac_config_targets
do
case "$ac_config_target" in
--- 17929,17948 ----
shift
done
_ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
#
# INIT-COMMANDS section.
#
GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP"
CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
! _ACEOF
!
!
! cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
case "$ac_config_target" in
***************
*** 12963,12969 ****
"leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS
src/config.h:src/config.in" ;;
! *) { { echo "$as_me:12966: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
--- 17959,17965 ----
"leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS
src/config.h:src/config.in" ;;
! *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
***************
*** 13001,13009 ****
{ (exit 1); exit 1; }
}
! EOF
! cat >>$CONFIG_STATUS <<EOF
#
# CONFIG_FILES section.
--- 17997,18005 ----
{ (exit 1); exit 1; }
}
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
#
# CONFIG_FILES section.
***************
*** 13016,13021 ****
--- 18012,18023 ----
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@SHELL@,$SHELL,;t t
+ s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+ s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+ s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+ s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
s,@exec_prefix@,$exec_prefix,;t t
s,@prefix@,$prefix,;t t
s,@program_transform_name@,$program_transform_name,;t t
***************
*** 13031,13049 ****
s,@oldincludedir@,$oldincludedir,;t t
s,@infodir@,$infodir,;t t
s,@mandir@,$mandir,;t t
- s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
- s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
- s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
- s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
- s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
s,@build_alias@,$build_alias,;t t
s,@host_alias@,$host_alias,;t t
s,@target_alias@,$target_alias,;t t
s,@ECHO_C@,$ECHO_C,;t t
s,@ECHO_N@,$ECHO_N,;t t
s,@ECHO_T@,$ECHO_T,;t t
- s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
- s,@DEFS@,$DEFS,;t t
s,@LIBS@,$LIBS,;t t
s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t
--- 18033,18045 ----
s,@oldincludedir@,$oldincludedir,;t t
s,@infodir@,$infodir,;t t
s,@mandir@,$mandir,;t t
s,@build_alias@,$build_alias,;t t
s,@host_alias@,$host_alias,;t t
s,@target_alias@,$target_alias,;t t
+ s,@DEFS@,$DEFS,;t t
s,@ECHO_C@,$ECHO_C,;t t
s,@ECHO_N@,$ECHO_N,;t t
s,@ECHO_T@,$ECHO_T,;t t
s,@LIBS@,$LIBS,;t t
s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t
***************
*** 13088,13093 ****
--- 18084,18091 ----
s,@archlibdir@,$archlibdir,;t t
s,@docdir@,$docdir,;t t
s,@bitmapdir@,$bitmapdir,;t t
+ s,@gamedir@,$gamedir,;t t
+ s,@gameuser@,$gameuser,;t t
s,@c_switch_system@,$c_switch_system,;t t
s,@c_switch_machine@,$c_switch_machine,;t t
s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
***************
*** 13098,13106 ****
s,@opsysfile@,$opsysfile,;t t
CEOF
! EOF
! cat >>$CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_lines=48
--- 18096,18104 ----
s,@opsysfile@,$opsysfile,;t t
CEOF
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_lines=48
***************
*** 13139,13146 ****
fi
fi # test -n "$CONFIG_FILES"
! EOF
! cat >>$CONFIG_STATUS <<\EOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case $ac_file in
--- 18137,18144 ----
fi
fi # test -n "$CONFIG_FILES"
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case $ac_file in
***************
*** 13154,13160 ****
esac
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| \
--- 18152,18159 ----
esac
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| \
***************
*** 13165,13172 ****
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
! if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
! { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
--- 18164,18170 ----
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
! { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
***************
*** 13177,13224 ****
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
! test -d "$as_incr_dir" || mkdir "$as_incr_dir"
;;
esac
done; }
! ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
! # A "../" for each directory in $ac_dir_suffix.
! ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
! else
! ac_dir_suffix= ac_dots=
! fi
! case $srcdir in
! .) ac_srcdir=.
! if test -z "$ac_dots"; then
! ac_top_srcdir=.
! else
! ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
! fi ;;
! [\\/]* | ?:[\\/]* )
! ac_srcdir=$srcdir$ac_dir_suffix;
! ac_top_srcdir=$srcdir ;;
*) # Relative path.
! ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
! ac_top_srcdir=$ac_dots$srcdir ;;
! esac
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! *) ac_INSTALL=$ac_dots$INSTALL ;;
esac
if test x"$ac_file" != x-; then
! { echo "$as_me:13213: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
! # /* config.h. Generated automatically by config.status. */
! configure_input="Generated automatically from `echo $ac_file_in |
! sed 's,.*/,,'` by configure."
# First look for the input files in the build tree, otherwise in the
# src tree.
--- 18175,18242 ----
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
! test -d "$as_incr_dir" ||
! mkdir "$as_incr_dir" ||
! { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
! { (exit 1); exit 1; }; }
;;
esac
done; }
! ac_builddir=.
! if test "$ac_dir" != .; then
! ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! # A "../" for each directory in $ac_dir_suffix.
! ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
! ac_dir_suffix= ac_top_builddir=
! fi
!
! case $srcdir in
! .) # 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
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
!
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
esac
if test x"$ac_file" != x-; then
! { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
! # /* config.h. Generated by config.status. */
! if test x"$ac_file" = x-; then
! configure_input=
! else
! configure_input="$ac_file. "
! fi
! configure_input=$configure_input"Generated from `echo $ac_file_in |
! sed 's,.*/,,'` by configure."
# First look for the input files in the build tree, otherwise in the
# src tree.
***************
*** 13228,13234 ****
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
! test -f "$f" || { { echo "$as_me:13231: error: cannot find input
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
--- 18246,18252 ----
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
! test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
***************
*** 13241,13263 ****
echo $srcdir/$f
else
# /dev/null tree
! { { echo "$as_me:13244: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
esac
done` || { (exit 1); exit 1; }
! EOF
! cat >>$CONFIG_STATUS <<EOF
sed "$ac_vpsub
$extrasub
! EOF
! cat >>$CONFIG_STATUS <<\EOF
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s,@configure_input@,$configure_input,;t t
s,@srcdir@,$ac_srcdir,;t t
s,@top_srcdir@,$ac_top_srcdir,;t t
s,@INSTALL@,$ac_INSTALL,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
rm -f $tmp/stdin
--- 18259,18287 ----
echo $srcdir/$f
else
# /dev/null tree
! { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
esac
done` || { (exit 1); exit 1; }
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
sed "$ac_vpsub
$extrasub
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s,@configure_input@,$configure_input,;t t
s,@srcdir@,$ac_srcdir,;t t
+ s,@abs_srcdir@,$ac_abs_srcdir,;t t
s,@top_srcdir@,$ac_top_srcdir,;t t
+ s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
+ s,@builddir@,$ac_builddir,;t t
+ s,@abs_builddir@,$ac_abs_builddir,;t t
+ s,@top_builddir@,$ac_top_builddir,;t t
+ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
s,@INSTALL@,$ac_INSTALL,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
rm -f $tmp/stdin
***************
*** 13269,13276 ****
fi
done
! EOF
! cat >>$CONFIG_STATUS <<\EOF
#
# CONFIG_HEADER section.
--- 18293,18300 ----
fi
done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
#
# CONFIG_HEADER section.
***************
*** 13302,13308 ****
* ) ac_file_in=$ac_file.in ;;
esac
! test x"$ac_file" != x- && { echo "$as_me:13305: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
--- 18326,18332 ----
* ) ac_file_in=$ac_file.in ;;
esac
! test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
***************
*** 13313,13319 ****
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
! test -f "$f" || { { echo "$as_me:13316: error: cannot find input
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
--- 18337,18343 ----
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
! test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input
file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
***************
*** 13326,13332 ****
echo $srcdir/$f
else
# /dev/null tree
! { { echo "$as_me:13329: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
--- 18350,18356 ----
echo $srcdir/$f
else
# /dev/null tree
! { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
***************
*** 13335,13341 ****
# Remove the trailing spaces.
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! EOF
# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
--- 18359,18365 ----
# Remove the trailing spaces.
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! _ACEOF
# Transform confdefs.h into two sed scripts, `conftest.defines' and
# `conftest.undefs', that substitutes the proper values into
***************
*** 13351,13366 ****
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
! cat >confdef2sed.sed <<\EOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
! s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[
]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
t end
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[
]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
! EOF
# If some macros were called several times there might be several times
# the same #defines, which is useless. Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
--- 18375,18390 ----
# `end' is used to avoid that the second main sed command (meant for
# 0-ary CPP macros) applies to n-ary macro definitions.
# See the Autoconf documentation for `clear'.
! cat >confdef2sed.sed <<\_ACEOF
s/[\\&,]/\\&/g
s,[\\$`],\\&,g
t clear
: clear
! s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[
]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
t end
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[
]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
: end
! _ACEOF
# If some macros were called several times there might be several times
# the same #defines, which is useless. Nevertheless, we may not want to
# sort them, since we want the *last* AC-DEFINE to be honored.
***************
*** 13371,13379 ****
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
! cat >>conftest.undefs <<\EOF
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! EOF
# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
--- 18395,18403 ----
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
! cat >>conftest.undefs <<\_ACEOF
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! _ACEOF
# Break up conftest.defines because some shells have a limit on the size
# of here documents, and old seds have small limits too (100 cmds).
***************
*** 13430,13452 ****
done
rm -f conftest.undefs
! cat >>$CONFIG_STATUS <<\EOF
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
! # /* config.h. Generated automatically by config.status. */
if test x"$ac_file" = x-; then
! echo "/* Generated automatically by configure. */" >$tmp/config.h
else
! echo "/* $ac_file. Generated automatically by configure. */"
>$tmp/config.h
fi
cat $tmp/in >>$tmp/config.h
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
! { echo "$as_me:13446: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
! ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| \
--- 18454,18477 ----
done
rm -f conftest.undefs
! cat >>$CONFIG_STATUS <<\_ACEOF
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
! # /* config.h. Generated by config.status. */
if test x"$ac_file" = x-; then
! echo "/* Generated by configure. */" >$tmp/config.h
else
! echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
fi
cat $tmp/in >>$tmp/config.h
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
! { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
! ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| \
***************
*** 13457,13464 ****
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
! if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
! { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
--- 18482,18488 ----
/^X\(\/\/\)$/{ s//\1/; q; }
/^X\(\/\).*/{ s//\1/; q; }
s/.*/./; q'`
! { case "$ac_dir" in
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
*) as_incr_dir=.;;
esac
***************
*** 13469,13480 ****
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
! test -d "$as_incr_dir" || mkdir "$as_incr_dir"
;;
esac
done; }
- fi
rm -f $ac_file
mv $tmp/config.h $ac_file
fi
--- 18493,18507 ----
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
! test -d "$as_incr_dir" ||
! mkdir "$as_incr_dir" ||
! { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
! { (exit 1); exit 1; }; }
;;
esac
done; }
rm -f $ac_file
mv $tmp/config.h $ac_file
fi
***************
*** 13483,13490 ****
rm -f $tmp/config.h
fi
done
! EOF
! cat >>$CONFIG_STATUS <<\EOF
#
# CONFIG_COMMANDS section.
--- 18510,18517 ----
rm -f $tmp/config.h
fi
done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
#
# CONFIG_COMMANDS section.
***************
*** 13492,13498 ****
--- 18519,18571 ----
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
+ $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_dest" : 'X\(//\)[^/]' \| \
+ X"$ac_dest" : 'X\(//\)$' \| \
+ X"$ac_dest" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+ echo X"$ac_dest" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ ac_builddir=.
+
+ if test "$ac_dir" != .; then
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+ else
+ ac_dir_suffix= ac_top_builddir=
+ fi
+
+ case $srcdir in
+ .) # 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
+ # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
+ # absolute.
+ ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
+ ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
+ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
+
+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
+ echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
default )
***************
*** 13569,13583 ****
;;
esac
done
! EOF
! cat >>$CONFIG_STATUS <<\EOF
{ (exit 0); exit 0; }
! EOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
--- 18642,18657 ----
;;
esac
done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
{ (exit 0); exit 0; }
! _ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
+
# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
***************
*** 13595,13598 ****
--- 18669,18673 ----
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; }
fi
+