configure revision 9307de3e1372410024fc582230f23bec4b30e918
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for rdesktop 1.6.0.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
# Be more Bourne compatible
NULLCMD=:
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
else
esac
fi
# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_digits='0123456789'
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=';'
else
fi
fi
# Support unset when possible.
as_unset=unset
else
as_unset=false
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
# Find who we are. Look in the path if we contain no directory separator.
case $0 in
*[\\/]* ) as_myself=$0 ;;
do
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_myself: error: cannot find myself; rerun with an absolute file name" >&2
{ (exit 1); exit 1; }
fi
# Work around bugs in pre-3.0 UWIN ksh.
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
do
else
fi
done
# Required to use basename.
else
as_expr=false
fi
else
as_basename=false
fi
# Name of the executable.
X"$0" : 'X\(//\)$' \| \
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# CDPATH.
if test "x$CONFIG_SHELL" = x; then
else
fi
(as_func_return () {
(exit \$1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test \$exitcode = 0) || { (exit 1); exit 1; }
(
as_lineno_1=\$LINENO
as_lineno_2=\$LINENO
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
:
else
do
/*)
done;;
esac
done
# Try only shells that exist, to save several forks.
NULLCMD=:
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
else
esac
fi
:
}; then
NULLCMD=:
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
else
esac
fi
:
(exit $1)
}
}
}
return 0
}
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
:
else
exitcode=1
echo positional parameters were not saved.
fi
(
}; then
break
fi
fi
done
if test "x$CONFIG_SHELL" != x; then
done
export CONFIG_SHELL
fi
if test $as_have_required = no; then
{ (exit 1); exit 1; }
fi
fi
fi
(eval "as_func_return () {
(exit \$1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test \$exitcode = 0") || {
echo message
}
test "x$as_lineno_1" != "x$as_lineno_2" &&
# 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 after each line using $LINENO; the second 'sed'
# does the real work. The second script uses 'N' to pair each
# line-number line with the line containing $LINENO, 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
# scripts with optimization help from Paolo Bonzini. Blame Lee
# E. McMahon (1931-1989) for sed's syntax. :-)
sed -n '
p
/[$]LINENO/=
' <$as_myself |
sed '
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N
:loop
t loop
s/-\n.*//
{ (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 sensitive to this).
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
}
else
as_dirname=false
fi
case `echo -n x` in
-n*)
*) ECHO_C='\c';;
esac;;
*)
ECHO_N='-n';;
esac
else
as_expr=false
fi
else
fi
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p'.
as_ln_s='cp -p'
else
as_ln_s='cp -p'
fi
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
as_test_x='test -x'
else
else
fi
eval sh -c '\''
if test -d "$1"; then
test -d "$1/.";
else
case $1 in
-*)set "./$1";;
esac;
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
fi
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
#
# Initializations.
#
# Identity of this package.
PACKAGE_NAME='rdesktop'
PACKAGE_TARNAME='rdesktop'
PACKAGE_VERSION='1.6.0'
PACKAGE_STRING='rdesktop 1.6.0'
# Factoring default headers for most tests.
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
#endif
#ifdef HAVE_SYS_STAT_H
#endif
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
INSTALL_PROGRAM
INSTALL_SCRIPT
INSTALL_DATA
CPP
GREP
EGREP
XMKMF
X_CFLAGS
X_PRE_LIBS
X_LIBS
X_EXTRA_LIBS
PKG_CONFIG
STRIP
ssldir
PCSCLITE_CFLAGS
PCSCLITE_LIBS
SCARDOBJ
VNCINC
LDVNC
VNCLINK
RDP2VNCTARGET
LIBAO_CFLAGS
LIBAO_LIBS
ALSA_CFLAGS
ALSA_LIBS
LIBSAMPLERATE_CFLAGS
LIBSAMPLERATE_LIBS
SOUNDOBJ
LIBOBJS
LIBICONV
build
build_cpu
build_vendor
build_os
host
host_cpu
host_vendor
host_os
LTLIBOBJS'
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP
XMKMF
PKG_CONFIG
PCSCLITE_CFLAGS
PCSCLITE_LIBS
LIBAO_CFLAGS
LIBAO_LIBS
ALSA_CFLAGS
ALSA_LIBS
LIBSAMPLERATE_CFLAGS
LIBSAMPLERATE_LIBS'
# Initialize some variables set by options.
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
program_transform_name=s,x,x,
site=
# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
continue
fi
case $ac_option in
esac
# Accept the important Cygnus configure options, so we can diagnose typos.
--)
ac_dashdash=yes ;;
bindir=$ac_optarg ;;
# Reject names that are not valid shell variable names.
{ (exit 1); exit 1; }; }
docdir=$ac_optarg ;;
dvidir=$ac_optarg ;;
# Reject names that are not valid shell variable names.
{ (exit 1); exit 1; }; }
# Obsolete; use --with-gas.
ac_init_help=long ;;
| --ht=*)
libdir=$ac_optarg ;;
mandir=$ac_optarg ;;
# Obsolete; use --without-fp.
no_recursion=yes ;;
prefix=$ac_optarg ;;
pdfdir=$ac_optarg ;;
psdir=$ac_optarg ;;
site=$ac_optarg ;;
srcdir=$ac_optarg ;;
ac_init_version=: ;;
# Reject names that are not valid shell variable names.
{ (exit 1); exit 1; }; }
# Reject names that are not valid shell variable names.
{ (exit 1); exit 1; }; }
--x)
# Obsolete; use --with-x.
-*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; }
;;
*=*)
# Reject names that are not valid shell variable names.
{ (exit 1); exit 1; }; }
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
*)
# FIXME: should be removed in autoconf 3.0.
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
;;
esac
done
if test -n "$ac_prev"; then
{ (exit 1); exit 1; }; }
fi
# Be sure to have absolute directory names.
do
[\\/$]* | ?:[\\/]* ) continue;;
esac
{ (exit 1); exit 1; }; }
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.
# FIXME: To remove some day.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used." >&2
elif test "x$build_alias" != "x$host_alias"; then
fi
fi
{ (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
{ (exit 1); exit 1; }; }
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
# Try the directory containing this script, then the parent directory.
X"$0" : 'X\(//\)[^/]' \| \
X"$0" : 'X\(//\)$' \| \
echo X"$0" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
if test ! -r "$srcdir/$ac_unique_file"; then
srcdir=..
fi
else
fi
if test ! -r "$srcdir/$ac_unique_file"; then
{ (exit 1); exit 1; }; }
fi
{ (exit 1); exit 1; }; }
pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
esac
done
#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
cat <<_ACEOF
\`configure' configures rdesktop 1.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print \`checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for \`--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/rdesktop]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
_ACEOF
X features:
fi
if test -n "$ac_init_help"; then
case $ac_init_help in
esac
_ACEOF
ac_status=$?
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
test -d "$ac_dir" || continue
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
# Check for guested configure.
if test -f "$ac_srcdir/configure.gnu"; then
echo &&
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
echo &&
else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
done
fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rdesktop configure 1.6.0
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 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
fi
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rdesktop $as_me 1.6.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 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
IFS=$as_save_IFS
} >&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.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_must_keep_next=false
do
for ac_arg
do
continue ;;
*\'*)
esac
2)
if test $ac_must_keep_next = true; then
ac_must_keep_next=false # Got value, back to normal.
else
esac
;;
-* ) ac_must_keep_next=true ;;
esac
fi
;;
esac
done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
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,
(
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
eval ac_val=\$$ac_var
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
*) $as_unset $ac_var ;;
esac ;;
esac
done
(set) 2>&1 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
sed -n \
"s/'\''/'\''\\\\'\'''\''/g;
;; #(
*)
;;
esac |
sort
)
echo
cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
echo
for ac_var in $ac_subst_vars
do
eval ac_val=\$$ac_var
case $ac_val in
esac
done | sort
echo
cat <<\_ASBOX
## ------------------- ##
## File substitutions. ##
## ------------------- ##
_ASBOX
echo
for ac_var in $ac_subst_files
do
eval ac_val=\$$ac_var
case $ac_val in
esac
done | sort
echo
fi
if test -s confdefs.h; then
cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
echo
cat confdefs.h
echo
fi
} >&5
rm -f core *.core core.conftest.* &&
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h
# Predefined preprocessor variables.
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
_ACEOF
# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
else
fi
shift
for ac_site_file
do
fi
done
# files actually), so we avoid doing that.
case $cache_file in
esac
fi
else
fi
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do
eval ac_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val=\$ac_cv_env_${ac_var}_value
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
ac_cache_corrupted=: ;;
,set)
ac_cache_corrupted=: ;;
,);;
*)
ac_cache_corrupted=:
fi;;
esac
# Pass precious variables to config.status.
case $ac_new_val in
*) ac_arg=$ac_var=$ac_new_val ;;
esac
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
esac
fi
done
if $ac_cache_corrupted; then
{ (exit 1); exit 1; }; }
fi
ac_ext=c
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_ext=c
ac_compiler_gnu=$ac_cv_c_compiler_gnu
set dummy ${ac_tool_prefix}gcc; ac_word=$2
else
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
else
fi
fi
ac_ct_CC=$CC
set dummy gcc; ac_word=$2
else
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
else
fi
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
else
fi
set dummy ${ac_tool_prefix}cc; ac_word=$2
else
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
else
fi
fi
fi
set dummy cc; ac_word=$2
else
else
ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
ac_prog_rejected=yes
continue
fi
break 2
fi
done
done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# != 0; then
# We chose a different compiler from the bogus one.
# 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
fi
fi
fi
fi
else
fi
fi
for ac_prog in cl.exe
do
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
else
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
else
fi
done
fi
ac_ct_CC=$CC
for ac_prog in cl.exe
do
set dummy $ac_prog; ac_word=$2
else
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
for ac_exec_ext in '' $ac_executable_extensions; do
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
else
fi
done
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
fi
See \`config.log' for more details." >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH
{ (exit 1); exit 1; }; }
# Provide some information about the compiler.
ac_compiler=`set X $ac_compile; echo $2`
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
(exit $ac_status); }
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
(exit $ac_status); }
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
# 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.
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort. b.out is created by i960 compilers.
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions. Remove them first so a
# subsequent execution test works.
ac_rmfiles=
for ac_file in $ac_files
do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
esac
done
rm -f $ac_rmfiles
if { (ac_try="$ac_link_default"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
do
;;
# We found the default executable, but exeext='' is most
# certainly right.
break;;
*.* )
then :; else
fi
# We set ac_cv_exeext here because the later test for it is not
# safe: cross compilers may not add the suffix if given an `-o'
# argument, so we may need to know it at that point already.
# Even if this section looks crufty: it has the advantage of
# actually working.
break;;
* )
break;;
esac
done
else
ac_file=''
fi
See \`config.log' for more details." >&5
echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
{ (exit 77); exit 77; }; }
fi
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
else
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
fi
fi
echo "${ECHO_T}yes" >&6; }
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
break;;
* ) break;;
esac
done
else
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
if test "${ac_cv_objext+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
for ac_file in conftest.o conftest.obj conftest.*; do
break;;
esac
done
else
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
fi
if test "${ac_cv_c_compiler_gnu+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
ac_test_CFLAGS=${CFLAGS+set}
if test "${ac_cv_prog_cc_g+set}" = set; then
else
CFLAGS="-g"
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
CFLAGS=""
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
:
else
CFLAGS="-g"
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
fi
fi
elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
CFLAGS="-O2"
else
fi
fi
if test "${ac_cv_prog_cc_c89+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not '\xHH' hex character constants.
These don't provoke an error unfortunately, instead are silently treated
as 'x'. The following induces an error, until -std is added to get
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
array size at least. It's necessary to write '\x00'==0 to get something
that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
inside strings and character constants. */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
;
return 0;
}
_ACEOF
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
done
fi
# AC_CACHE_VAL
x)
echo "${ECHO_T}none needed" >&6; } ;;
xno)
echo "${ECHO_T}unsupported" >&6; } ;;
*)
esac
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fi
ac_install_sh="$ac_aux_dir/install-sh -c"
break
break
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
{ { 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
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
if test "${ac_cv_path_install+set}" = set; then
else
do
# Account for people who put trailing slashes in PATH elements.
./ | .// | /cC/* | \
*)
# 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.
# AIX install. It has an incompatible calling convention.
:
# program-specific install script used by HP pwplus--don't use.
:
else
break 3
fi
fi
done
done
;;
esac
done
fi
if test "${ac_cv_path_install+set}" = set; then
else
# As a last resort, use the slow shell script. Don't cache a
# value for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the value is a relative name.
fi
fi
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# On Suns, sometimes $CPP names a directory.
CPP=
fi
if test "${ac_cv_prog_CPP+set}" = set; then
else
# Double quotes because CPP needs to be expanded
do
ac_preproc_ok=false
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
:
else
# Broken: fails on valid input.
continue
fi
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
# Broken: success on invalid input.
continue
else
# Passes both tests.
break
fi
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
if $ac_preproc_ok; then
break
fi
done
fi
else
fi
ac_preproc_ok=false
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# <limits.h> exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
:
else
# Broken: fails on valid input.
continue
fi
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
# Broken: success on invalid input.
continue
else
# Passes both tests.
break
fi
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
if $ac_preproc_ok; then
:
else
See \`config.log' for more details." >&5
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
if test "${ac_cv_path_GREP+set}" = set; then
else
# Extract the first word of "grep ggrep" to use in msg output
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
else
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
do
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
*GNU*)
*)
ac_count=0
while :
do
cp "conftest.in" "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
if test $ac_count -gt ${ac_path_GREP_max-0}; then
# Best one so far, save it but keep looking for a better one
fi
# 10*(2^10) chars as input seems more than enough
done
esac
$ac_path_GREP_found && break 3
done
done
done
fi
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
else
fi
fi
if test "${ac_cv_path_EGREP+set}" = set; then
else
then ac_cv_path_EGREP="$GREP -E"
else
# Extract the first word of "egrep" to use in msg output
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
else
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
do
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
*GNU*)
*)
ac_count=0
while :
do
cp "conftest.in" "conftest.nl"
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
# Best one so far, save it but keep looking for a better one
fi
# 10*(2^10) chars as input seems more than enough
done
esac
$ac_path_EGREP_found && break 3
done
done
done
fi
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
else
fi
fi
fi
if test "${ac_cv_header_stdc+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
if test $ac_cv_header_stdc = yes; then
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <string.h>
_ACEOF
:
else
fi
fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
_ACEOF
:
else
fi
fi
if test $ac_cv_header_stdc = yes; then
:
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <ctype.h>
#include <stdlib.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))
return 2;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
:
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
fi
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
do
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
eval "$as_ac_Header=yes"
else
eval "$as_ac_Header=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
if test "${ac_cv_c_bigendian+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/param.h>
int
main ()
{
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
bogus endian macros
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
# It does; now see whether it defined to BIG_ENDIAN or not.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/param.h>
int
main ()
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
else
# It does not; compile a test program.
# try to guess the endianness by grepping values into an object file
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
int
main ()
{
_ascii (); _ebcdic ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
fi
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
else
# finding both strings is unlikely to happen, but who knows?
fi
fi
else
fi
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
/* Are we little or big endian? From Harbison&Steele. */
union
{
long int l;
char c[sizeof (long int)];
} u;
u.l = 1;
return u.c[sizeof (long int) - 1] == 1;
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
case $ac_cv_c_bigendian in
yes)
cat >>confdefs.h <<\_ACEOF
#define B_ENDIAN 1
;;
no)
cat >>confdefs.h <<\_ACEOF
#define L_ENDIAN 1
;;
*)
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
echo "$as_me: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
{ (exit 1); exit 1; }; } ;;
esac
# Check whether --with-x was given.
if test "${with_x+set}" = set; then
fi
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
# The user explicitly disabled X.
else
case $x_includes,$x_libraries in #(
{ (exit 1); exit 1; }; };; #(
else
# One or both of the vars are not set, and there is no cached value.
rm -f -r conftest.dir
if mkdir conftest.dir; then
cd conftest.dir
@echo incroot='${INCROOT}'
@echo usrlibdir='${USRLIBDIR}'
@echo libdir='${LIBDIR}'
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
done
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl; do
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) ac_x_includes= ;;
esac
case $ac_im_usrlibdir in
esac
fi
cd ..
rm -f -r 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.
# Guess where to find include files, by looking for Xlib.h.
# First, try using that file with no special directory specified.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <X11/Xlib.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
# We can compile using X headers with no special include directory.
else
for ac_dir in $ac_x_header_dirs; do
break
fi
done
fi
fi # $ac_x_includes = no
# Check for the libraries.
# See if we find them without any special options.
# Don't add to $LIBS permanently.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <X11/Xlib.h>
int
main ()
{
XrmInitialize ()
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
# We can link X programs with no special library path.
else
do
# Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl; do
break 2
fi
done
done
fi
fi # $ac_x_libraries = no
case $ac_x_includes,$ac_x_libraries in #(
# Didn't find X, or a directory has "'" in its name.
*)
# 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'"
esac
fi
;; #(
esac
eval "$ac_cv_have_x"
fi # $with_x != no
else
# If each of the values was on the command line, it overrides each guess.
# 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'"
fi
# Not all programs may use this symbol, but it does not hurt to define it.
cat >>confdefs.h <<\_ACEOF
#define X_DISPLAY_MISSING 1
else
fi
# It would also be nice to do this for all -L options, not just this one.
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
echo "${ECHO_T}no" >&6; }
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
echo "${ECHO_T}yes" >&6; }
X_LIBS="$X_LIBS -R $x_libraries"
else
echo "${ECHO_T}neither works" >&6; }
fi
fi
fi
# Check for system-dependent libraries X programs must link with.
# Do this before checking for the system-independent R6 libraries
# (-lICE), since we may need -lsocket or whatever for X linking.
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
# Martyn Johnson says this is needed for Ultrix, if the X
# libraries were built with DECnet support. And Karl Berry says
# the Alpha needs dnet_stub (dnet does not exist).
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char XOpenDisplay ();
int
main ()
{
return XOpenDisplay ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
:
else
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char dnet_ntoa ();
int
main ()
{
return dnet_ntoa ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
fi
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char dnet_ntoa ();
int
main ()
{
return dnet_ntoa ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
fi
fi
fi
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
# needs -lnsl.
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to T.E. Dickey.
# The functions gethostbyname, getservbyname, and inet_addr are
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
if test "${ac_cv_func_gethostbyname+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define gethostbyname innocuous_gethostbyname
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef gethostbyname
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
/* 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_gethostbyname || defined __stub___gethostbyname
choke me
#endif
int
main ()
{
return gethostbyname ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_func_gethostbyname = no; then
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
int
main ()
{
return gethostbyname ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_nsl_gethostbyname = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
fi
if test $ac_cv_lib_nsl_gethostbyname = no; then
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char gethostbyname ();
int
main ()
{
return gethostbyname ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_bsd_gethostbyname = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
fi
fi
fi
# lieder@skyler.mavd.honeywell.com says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
# on later versions), says Simon Leinen: it contains gethostby*
# variants that don't use the name server (or something). -lsocket
# must be given before -lnsl if both are needed. We assume that
# if connect needs -lnsl, so does gethostbyname.
if test "${ac_cv_func_connect+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define connect innocuous_connect
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef connect
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char connect ();
/* 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_connect || defined __stub___connect
choke me
#endif
int
main ()
{
return connect ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_func_connect = no; then
if test "${ac_cv_lib_socket_connect+set}" = set; then
else
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char connect ();
int
main ()
{
return connect ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_socket_connect = yes; then
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
fi
fi
if test "${ac_cv_func_remove+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define remove innocuous_remove
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef remove
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char remove ();
/* 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_remove || defined __stub___remove
choke me
#endif
int
main ()
{
return remove ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_func_remove = no; then
if test "${ac_cv_lib_posix_remove+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char remove ();
int
main ()
{
return remove ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_posix_remove = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
fi
fi
if test "${ac_cv_func_shmat+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define shmat innocuous_shmat
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef shmat
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char shmat ();
/* 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_shmat || defined __stub___shmat
choke me
#endif
int
main ()
{
return shmat ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_func_shmat = no; then
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char shmat ();
int
main ()
{
return shmat ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_ipc_shmat = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
fi
fi
fi
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
# John Interrante, Karl Berry
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
else
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char IceConnectionNumber ();
int
main ()
{
return IceConnectionNumber ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
fi
fi
echo
if test -f /etc/debian_version; then
echo "Probably you need to install the libx11-dev package."
elif test -f /etc/redhat-release; then
echo "Probably you need to install the libX11-devel package."
fi
echo "To specify paths manually, use the options --x-includes and --x-libraries."
echo
exit 1
fi
# Extract the first word of "pkg-config", so it can be a program name with args.
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
else
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
;;
*)
do
break 2
fi
done
done
;;
esac
fi
else
echo "${ECHO_T}no" >&6; }
fi
if test "${ac_cv_search_socket+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char socket ();
int
main ()
{
return socket ();
;
return 0;
}
_ACEOF
ac_res="none required"
else
fi
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
if test "${ac_cv_search_socket+set}" = set; then
break
fi
done
if test "${ac_cv_search_socket+set}" = set; then
:
else
fi
fi
fi
if test "${ac_cv_search_inet_aton+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char inet_aton ();
int
main ()
{
return inet_aton ();
;
return 0;
}
_ACEOF
ac_res="none required"
else
fi
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
if test "${ac_cv_search_inet_aton+set}" = set; then
break
fi
done
if test "${ac_cv_search_inet_aton+set}" = set; then
:
else
fi
fi
fi
if test "${ac_cv_header_sys_select_h+set}" = set; then
if test "${ac_cv_header_sys_select_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/select.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/select.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
{ echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_sys_select_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_select_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_SELECT_H 1
fi
if test "${ac_cv_header_sys_modem_h+set}" = set; then
if test "${ac_cv_header_sys_modem_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/modem.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/modem.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/modem.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_sys_modem_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_modem_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_MODEM_H 1
fi
if test "${ac_cv_header_sys_filio_h+set}" = set; then
if test "${ac_cv_header_sys_filio_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/filio.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/filio.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_sys_filio_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_filio_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_FILIO_H 1
fi
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/strtio.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/strtio.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
{ echo "$as_me:$LINENO: WARNING: sys/strtio.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_sys_strtio_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_strtio_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_STRTIO_H 1
fi
if test "${ac_cv_header_locale_h+set}" = set; then
if test "${ac_cv_header_locale_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <locale.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <locale.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_locale_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_locale_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LOCALE_H 1
fi
if test "${ac_cv_header_langinfo_h+set}" = set; then
if test "${ac_cv_header_langinfo_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <langinfo.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <langinfo.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_langinfo_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_langinfo_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LANGINFO_H 1
fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
if test "${ac_cv_prog_STRIP+set}" = set; then
else
else
do
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
break 2
fi
done
done
fi
fi
else
echo "${ECHO_T}no" >&6; }
fi
fi
# Extract the first word of "strip", so it can be a program name with args.
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
else
else
do
ac_cv_prog_ac_ct_STRIP="strip"
break 2
fi
done
done
fi
fi
else
echo "${ECHO_T}no" >&6; }
fi
STRIP=":"
else
yes:)
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
esac
fi
else
fi
rpath=""
#
# OpenSSL detection borrowed from stunnel
#
ssldir="$1"
return 0
fi
return 1
}
# Check whether --with-openssl was given.
if test "${with_openssl+set}" = set; then
else
checkssldir $dir && break 2
done
done
fi
echo "${ECHO_T}Not found" >&6; }
echo
if test -f /etc/debian_version; then
echo "Probably you need to install the libssl-dev package."
elif test -f /etc/redhat-release; then
echo "Probably you need to install the openssl-devel package."
fi
echo "To specify a path manually, use the --with-openssl option."
echo
exit 1
fi
cat >>confdefs.h <<_ACEOF
#define ssldir "$ssldir"
_ACEOF
# Check whether --enable-static-openssl was given.
if test "${enable_static_openssl+set}" = set; then
else
fi
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
else
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
;;
*)
do
break 2
fi
done
done
;;
esac
fi
else
echo "${ECHO_T}no" >&6; }
fi
fi
# Extract the first word of "pkg-config", so it can be a program name with args.
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
else
case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*)
;;
*)
do
break 2
fi
done
done
;;
esac
fi
else
echo "${ECHO_T}no" >&6; }
fi
PKG_CONFIG=""
else
yes:)
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
esac
fi
else
fi
fi
_pkg_min_version=0.9.0
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
echo "${ECHO_T}yes" >&6; }
else
echo "${ECHO_T}no" >&6; }
PKG_CONFIG=""
fi
fi
# Check whether --enable-smartcard was given.
if test "${enable_smartcard+set}" = set; then
darwin*)
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <PCSC/pcsclite.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <PCSC/pcsclite.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: PCSC/pcsclite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
;;
{ echo "$as_me:$LINENO: WARNING: PCSC/pcsclite.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_PCSC_pcsclite_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_PCSC_pcsclite_h = yes; then
else
fi
PCSCLITE_LIBS="-framework PCSC"
;;
*)
else
ac_status=$?
else
fi
fi
else
fi
else
ac_status=$?
else
fi
fi
else
fi
if test $pkg_failed = yes; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
else
fi
if test $_pkg_short_errors_supported = yes; then
else
fi
# Put the nasty error message in config.log where it belongs
echo "${ECHO_T}no" >&6; }
elif test $pkg_failed = untried; then
else
echo "${ECHO_T}yes" >&6; }
fi
fi
;;
esac
cat >>confdefs.h <<\_ACEOF
#define WITH_SCARD 1
fi
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#ifdef __APPLE__
#include <PCSC/wintypes.h>
#include <PCSC/winscard.h>
#else
#include <winscard.h>
#endif
int
main ()
{
SCardControl(NULL, NULL, 0, NULL, NULL);
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
echo "${ECHO_T}yes" >&6; }
cat >>confdefs.h <<\_ACEOF
#define WITH_PCSC120 1
else
echo "${ECHO_T}no" >&6; }
fi
fi
#
# Alignment
#
echo "${ECHO_T}assuming yes" >&6; }
cat >>confdefs.h <<\_ACEOF
#define NEED_ALIGN 1
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <signal.h>
int main(int argc, char **argv)
{
unsigned char test[8] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 };
signal(SIGBUS, exit);
signal(SIGABRT, exit);
signal(SIGSEGV, exit);
if (*((unsigned int *)(test + 1)) != 0x55443322 && *((unsigned int *)(test + 1)) != 0x22334455) {
return 1;
}
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
echo "${ECHO_T}no" >&6; }
else
( exit $ac_status )
echo "${ECHO_T}yes" >&6; }
cat >>confdefs.h <<\_ACEOF
#define NEED_ALIGN 1
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
#
#
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <linux/compiler.h>
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
|| test ! -s conftest.err'
ac_status=$?
ac_status=$?
echo "${ECHO_T}yes" >&6
cat >>confdefs.h <<\_ACEOF
#define VBOX_WITH_LINUX_COMPILER_H 1
else
echo "${ECHO_T}no" >&6
fi
#
# EGD
#
# Check whether --with-egd-socket was given.
if test "${with_egd_socket+set}" = set; then
else
EGD_SOCKET="/var/run/egd-pool"
fi
cat >>confdefs.h <<_ACEOF
#define EGD_SOCKET "$EGD_SOCKET"
_ACEOF
#
# rdp2vnc
#
# Check whether --with-libvncserver-config was given.
if test "${with_libvncserver_config+set}" = set; then
fi
# Check whether --with-libvncserver was given.
if test "${with_libvncserver+set}" = set; then
RDP2VNCTARGET="rdp2vnc"
fi
#
# sound
#
sound="yes"
# Check whether --with-sound was given.
if test "${with_sound+set}" = set; then
fi
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/soundcard.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/soundcard.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
;;
{ echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_soundcard_h = yes; then
HAVE_OSS=1
else
HAVE_OSS=0
fi
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <dmedia/audio.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <dmedia/audio.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: dmedia/audio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
;;
{ echo "$as_me:$LINENO: WARNING: dmedia/audio.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_dmedia_audio_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_dmedia_audio_h = yes; then
HAVE_SGI=1
else
HAVE_SGI=0
fi
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <sys/audioio.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/audioio.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: sys/audioio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
;;
{ echo "$as_me:$LINENO: WARNING: sys/audioio.h: in the future, the compiler will take precedence" >&5
;;
esac
if test "${ac_cv_header_sys_audioio_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_sys_audioio_h = yes; then
HAVE_SUN=1
else
HAVE_SUN=0
fi
# Check whether --enable-static-libsamplerate was given.
if test "${enable_static_libsamplerate+set}" = set; then
else
fi
else
ac_status=$?
else
fi
fi
else
fi
else
ac_status=$?
else
fi
fi
else
fi
if test $pkg_failed = yes; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
else
fi
if test $_pkg_short_errors_supported = yes; then
else
fi
# Put the nasty error message in config.log where it belongs
echo "${ECHO_T}no" >&6; }
elif test $pkg_failed = untried; then
else
echo "${ECHO_T}yes" >&6; }
fi
else
ac_status=$?
else
fi
fi
else
fi
else
ac_status=$?
else
fi
fi
else
fi
if test $pkg_failed = yes; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
else
fi
if test $_pkg_short_errors_supported = yes; then
else
fi
# Put the nasty error message in config.log where it belongs
echo "${ECHO_T}no" >&6; }
elif test $pkg_failed = untried; then
else
echo "${ECHO_T}yes" >&6; }
fi
else
ac_status=$?
else
fi
fi
else
fi
else
ac_status=$?
else
fi
fi
else
fi
if test $pkg_failed = yes; then
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
else
fi
if test $_pkg_short_errors_supported = yes; then
LIBSAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "samplerate"`
else
fi
# Put the nasty error message in config.log where it belongs
echo "${ECHO_T}no" >&6; }
elif test $pkg_failed = untried; then
else
echo "${ECHO_T}yes" >&6; }
fi
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBSAMPLERATE 1
fi
fi
fi
cat >>confdefs.h <<\_ACEOF
#define WITH_RDPSND 1
fi
yes)
cat >>confdefs.h <<\_ACEOF
#define RDPSND_OSS 1
fi
cat >>confdefs.h <<\_ACEOF
#define RDPSND_SGI 1
fi
cat >>confdefs.h <<\_ACEOF
#define RDPSND_SUN 1
fi
cat >>confdefs.h <<\_ACEOF
#define RDPSND_ALSA 1
fi
cat >>confdefs.h <<\_ACEOF
#define RDPSND_LIBAO 1
fi
;;
oss)
cat >>confdefs.h <<\_ACEOF
#define RDPSND_OSS 1
else
{ (exit 1); exit 1; }; }
fi
;;
sgi)
cat >>confdefs.h <<\_ACEOF
#define RDPSND_SGI 1
else
{ (exit 1); exit 1; }; }
fi
;;
sun)
cat >>confdefs.h <<\_ACEOF
#define RDPSND_SUN 1
else
{ (exit 1); exit 1; }; }
fi
;;
alsa)
cat >>confdefs.h <<\_ACEOF
#define RDPSND_ALSA 1
else
{ (exit 1); exit 1; }; }
fi
;;
cat >>confdefs.h <<\_ACEOF
#define RDPSND_LIBAO 1
else
{ (exit 1); exit 1; }; }
fi
;;
no)
;;
*)
{ echo "$as_me:$LINENO: WARNING: Currently supported systems are Open Sound System (oss), SGI AL (sgi), Sun/BSD (sun), ALSA (alsa) and libao" >&5
echo "$as_me: WARNING: Currently supported systems are Open Sound System (oss), SGI AL (sgi), Sun/BSD (sun), ALSA (alsa) and libao" >&2;}
;;
esac
#
# dirfd
#
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <$ac_hdr>
int
main ()
{
if ((DIR *) 0)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
eval "$as_ac_Header=yes"
else
eval "$as_ac_Header=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
_ACEOF
ac_header_dirent=$ac_hdr; break
fi
done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
if test "${ac_cv_search_opendir+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char opendir ();
int
main ()
{
return opendir ();
;
return 0;
}
_ACEOF
ac_res="none required"
else
fi
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
if test "${ac_cv_search_opendir+set}" = set; then
break
fi
done
if test "${ac_cv_search_opendir+set}" = set; then
:
else
fi
fi
fi
else
if test "${ac_cv_search_opendir+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char opendir ();
int
main ()
{
return opendir ();
;
return 0;
}
_ACEOF
ac_res="none required"
else
fi
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
if test "${ac_cv_search_opendir+set}" = set; then
break
fi
done
if test "${ac_cv_search_opendir+set}" = set; then
:
else
fi
fi
fi
fi
#if HAVE_DIRENT_H
# include <dirent.h>
#else /* not HAVE_DIRENT_H */
# define dirent direct
# if HAVE_SYS_NDIR_H
# endif /* HAVE_SYS_NDIR_H */
# if HAVE_SYS_DIR_H
# endif /* HAVE_SYS_DIR_H */
# if HAVE_NDIR_H
# include <ndir.h>
# endif /* HAVE_NDIR_H */
#endif /* HAVE_DIRENT_H */
'
do
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $ac_func innocuous_$ac_func
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef $ac_func
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* 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
#endif
int
main ()
{
return $ac_func ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
eval "$as_ac_var=yes"
else
eval "$as_ac_var=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
if test "${ac_cv_have_decl_dirfd+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$dirfd_headers
int
main ()
{
#ifndef dirfd
(void) dirfd;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
if test $ac_cv_have_decl_dirfd = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_DIRFD 1
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_DIRFD 0
_ACEOF
fi
if test "${jm_cv_func_dirfd_macro+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$dirfd_headers
#ifdef dirfd
dirent_header_defines_dirfd
#endif
_ACEOF
else
fi
fi
# Use the replacement only if we have no function, macro,
# or declaration with that name.
do
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $ac_func innocuous_$ac_func
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef $ac_func
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* 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
#endif
int
main ()
{
return $ac_func ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
eval "$as_ac_var=yes"
else
eval "$as_ac_var=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
else
;;
esac
fi
done
echo $ECHO_N "checking how to get the file descriptor associated with an open DIR*... $ECHO_C" >&6; }
if test "${gl_cv_sys_dir_fd_member_name+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$dirfd_headers
int
main ()
{
DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
done
fi
if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
cat >>confdefs.h <<_ACEOF
#define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
_ACEOF
fi
fi
#
# iconv
#
# Check whether --with-libiconv-prefix was given.
if test "${with_libiconv_prefix+set}" = set; then
done
fi
if test "${ac_cv_header_iconv_h+set}" = set; then
if test "${ac_cv_header_iconv_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <iconv.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <iconv.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_iconv_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_iconv_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_ICONV_H 1
fi
if test "${am_cv_func_iconv+set}" = set; then
else
am_cv_func_iconv="no, consider installing GNU libiconv"
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
iconv(cd,NULL,NULL,NULL,NULL);
iconv_close(cd);
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
fi
cat >>confdefs.h <<\_ACEOF
#define HAVE_ICONV 1
if test "${am_cv_proto_iconv+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <iconv.h>
extern
#ifdef __cplusplus
"C"
#endif
#if defined(__STDC__) || defined(__cplusplus)
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
#else
size_t iconv();
#endif
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
am_cv_proto_iconv_arg1="const"
fi
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
fi
}$am_cv_proto_iconv" >&5
echo "${ECHO_T}${ac_t:-
}$am_cv_proto_iconv" >&6; }
cat >>confdefs.h <<_ACEOF
#define ICONV_CONST $am_cv_proto_iconv_arg1
_ACEOF
fi
LIBICONV="-liconv"
fi
#
# socklen_t
# from curl
if test "${ac_cv_type_socklen_t+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
typedef socklen_t ac__type_new_;
int
main ()
{
if ((ac__type_new_ *) 0)
return 0;
if (sizeof (ac__type_new_))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
if test $ac_cv_type_socklen_t = yes; then
:
else
if test "${socklen_t_equiv+set}" = set; then
else
# Systems have either "struct sockaddr *" or
# "void *" as the second argument to getpeername
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
int getpeername (int, $arg2 *, $t *);
int
main ()
{
$t len;
getpeername(0,0,&len);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
socklen_t_equiv="$t"
break
else
fi
done
done
{ (exit 1); exit 1; }; }
fi
fi
cat >>confdefs.h <<_ACEOF
#define socklen_t $socklen_t_equiv
_ACEOF
fi
#
# statfs stuff
#
do
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
do
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
do
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
do
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
#if HAVE_SYS_PARAM_H
#endif
"
do
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$mount_includes
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
eval "$as_ac_Header=yes"
else
eval "$as_ac_Header=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
#################################################
# these tests are taken from the GNU fileutils package
# Test for statvfs64.
# SVR4
if test "${fu_cv_sys_stat_statvfs64+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/statvfs.h>
main ()
{
struct statvfs64 fsd;
exit (statvfs64 (".", &fsd));
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
if test $fu_cv_sys_stat_statvfs64 = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATVFS64 1
fi
fi
# Perform only the link test since it seems there are no variants of the
# statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs)
# because that got a false positive on SCO OSR5. Adding the declaration
# of a `struct statvfs' causes this test to fail (as it should) on such
# systems. That system is reported to work fine with STAT_STATFS4 which
# is what it gets when this test fails.
# SVR4
if test "${fu_cv_sys_stat_statvfs+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/statvfs.h>
int
main ()
{
struct statvfs fsd; statvfs (0, &fsd);
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
else
fi
fi
if test $fu_cv_sys_stat_statvfs = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATVFS 1
fi
fi
# DEC Alpha running OSF/1
if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/param.h>
#include <sys/types.h>
#include <sys/mount.h>
main ()
{
struct statfs fsd;
fsd.f_fsize = 0;
exit (statfs (".", &fsd, sizeof (struct statfs)));
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
#C_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS3_OSF1 1
fi
fi
# AIX
{ echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6; }
if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
main ()
{
struct statfs fsd;
fsd.f_bsize = 0;
exit (statfs (".", &fsd));
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
if test $fu_cv_sys_stat_statfs2_bsize = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_BSIZE 1
fi
fi
# SVR3
if test "${fu_cv_sys_stat_statfs4+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/statfs.h>
main ()
{
struct statfs fsd;
exit (statfs (".", &fsd, sizeof fsd, 0));
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
if test $fu_cv_sys_stat_statfs4 = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS4 1
fi
fi
# 4.4BSD and NetBSD
{ echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6; }
if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
main ()
{
struct statfs fsd;
fsd.f_fsize = 0;
exit (statfs (".", &fsd));
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
if test $fu_cv_sys_stat_statfs2_fsize = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_FSIZE 1
fi
fi
# Ultrix
if test "${fu_cv_sys_stat_fs_data+set}" = set; then
else
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
#ifdef HAVE_SYS_FS_TYPES_H
#include <sys/fs_types.h>
#endif
main ()
{
struct fs_data fsd;
/* Ultrix's statfs returns 1 for success,
0 for not mounted, -1 for failure. */
exit (statfs (".", &fsd) != 1);
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
else
( exit $ac_status )
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
if test $fu_cv_sys_stat_fs_data = yes; then
cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_FS_DATA 1
fi
fi
#if HAVE_SYS_STATVFS_H
#endif
#if HAVE_SYS_VFS_H
#endif
#if !HAVE_SYS_STATVFS_H && !HAVE_SYS_VFS_H
# if HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
/* NetBSD 1.5.2 needs these, for the declaration of struct statfs. */
# elif HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H
/* Ultrix 4.4 needs these for the declaration of struct statfs. */
# include <nfs/nfs_clnt.h>
# endif
#endif
"
if test "${ac_cv_member_struct_statfs_f_namemax+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statfs ac_aggr;
if (ac_aggr.f_namemax)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statfs ac_aggr;
if (sizeof ac_aggr.f_namemax)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
fi
if test $ac_cv_member_struct_statfs_f_namemax = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_STATFS_F_NAMEMAX 1
_ACEOF
fi
if test "${ac_cv_member_struct_statvfs_f_namemax+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statvfs ac_aggr;
if (ac_aggr.f_namemax)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statvfs ac_aggr;
if (sizeof ac_aggr.f_namemax)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
fi
if test $ac_cv_member_struct_statvfs_f_namemax = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_STATVFS_F_NAMEMAX 1
_ACEOF
fi
if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statfs ac_aggr;
if (ac_aggr.f_namelen)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statfs ac_aggr;
if (sizeof ac_aggr.f_namelen)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
fi
if test $ac_cv_member_struct_statfs_f_namelen = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_STATFS_F_NAMELEN 1
_ACEOF
fi
if test "${ac_cv_member_struct_statvfs_f_namelen+set}" = set; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statvfs ac_aggr;
if (ac_aggr.f_namelen)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$statxfs_includes
int
main ()
{
static struct statvfs ac_aggr;
if (sizeof ac_aggr.f_namelen)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
fi
fi
if test $ac_cv_member_struct_statvfs_f_namelen = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_STRUCT_STATVFS_F_NAMELEN 1
_ACEOF
fi
#
# Large file support
#
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then
fi
if test "${ac_cv_sys_largefile_CC+set}" = set; then
else
while :; do
# IRIX 6.2 and later do not support large files by default,
# so use the C compiler's -n32 option if that helps.
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
break
else
fi
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
break
done
fi
fi
fi
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
else
while :; do
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_sys_file_offset_bits=no; break
else
fi
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_sys_file_offset_bits=64; break
else
fi
break
done
fi
case $ac_cv_sys_file_offset_bits in #(
*)
cat >>confdefs.h <<_ACEOF
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
_ACEOF
;;
esac
if test $ac_cv_sys_file_offset_bits = unknown; then
if test "${ac_cv_sys_large_files+set}" = set; then
else
while :; do
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_sys_large_files=no; break
else
fi
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#define _LARGE_FILES 1
#include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_sys_large_files=1; break
else
fi
break
done
fi
case $ac_cv_sys_large_files in #(
*)
cat >>confdefs.h <<_ACEOF
#define _LARGE_FILES $ac_cv_sys_large_files
_ACEOF
;;
esac
fi
fi
#
# mntent
#
if test "${ac_cv_header_mntent_h+set}" = set; then
if test "${ac_cv_header_mntent_h+set}" = set; then
fi
else
# Is the header compilable?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <mntent.h>
_ACEOF
rm -f conftest.$ac_objext
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
else
fi
# Is the header present?
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
#include <mntent.h>
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
}; then
else
fi
# So? What about this header?
{ echo "$as_me:$LINENO: WARNING: mntent.h: accepted by the compiler, rejected by the preprocessor!" >&5
;;
;;
esac
if test "${ac_cv_header_mntent_h+set}" = set; then
else
fi
fi
if test $ac_cv_header_mntent_h = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_MNTENT_H 1
fi
do
else
/* confdefs.h. */
_ACEOF
/* end confdefs.h. */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $ac_func innocuous_$ac_func
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
#undef $ac_func
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* 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
#endif
int
main ()
{
return $ac_func ();
;
return 0;
}
_ACEOF
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
ac_status=$?
rm -f conftest.er1
cat conftest.err >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
eval "$as_ac_var=yes"
else
eval "$as_ac_var=no"
fi
fi
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
#
# IPv6
#
# Check whether --with-ipv6 was given.
if test "${with_ipv6+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define IPv6 1
fi
fi
#
# debugging
#
# Check whether --with-debug was given.
if test "${with_debug+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG 1
fi
fi
# Check whether --with-debug-kbd was given.
if test "${with_debug_kbd+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_KBD 1
fi
fi
# Check whether --with-debug-rdp5 was given.
if test "${with_debug_rdp5+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_RDP5 1
fi
fi
# Check whether --with-debug-clipboard was given.
if test "${with_debug_clipboard+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_CLIPBOARD 1
fi
fi
# Check whether --with-debug-sound was given.
if test "${with_debug_sound+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_SOUND 1
fi
fi
# Check whether --with-debug-channel was given.
if test "${with_debug_channel+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_CHANNEL 1
fi
fi
# Check whether --with-debug-seamless was given.
if test "${with_debug_seamless+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_SEAMLESS 1
fi
fi
# Check whether --with-debug-smartcard was given.
if test "${with_debug_smartcard+set}" = set; then
then
cat >>confdefs.h <<\_ACEOF
#define WITH_DEBUG_SCARD 1
fi
fi
fi
#
# target-specific stuff
#
# strip leading colon from rpath
# Make sure we can run config.sub.
{ (exit 1); exit 1; }; }
if test "${ac_cv_build+set}" = set; then
else
{ (exit 1); exit 1; }; }
{ (exit 1); exit 1; }; }
fi
case $ac_cv_build in
*-*-*) ;;
{ (exit 1); exit 1; }; };;
esac
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_build
shift
build_cpu=$1
build_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
build_os=$*
if test "${ac_cv_host+set}" = set; then
else
else
{ (exit 1); exit 1; }; }
fi
fi
case $ac_cv_host in
*-*-*) ;;
{ (exit 1); exit 1; }; };;
esac
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_host
shift
host_cpu=$1
host_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
host_os=$*
*-*-solaris*)
;;
;;
*-*-hpux*)
;;
*-*-irix6.5*)
;;
esac
ac_config_files="$ac_config_files Makefile"
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, we kill variables containing newlines.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
*${as_nl}*)
esac
esac ;;
esac
done
(set) 2>&1 |
# `set' does not quote correctly, so add quotes (double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \).
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
) |
sed '
/^ac_cv_env_/b end
t clear
:clear
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
t end
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
:end' >>confcache
else
fi
fi
# Let make expand exec_prefix.
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then branch to the quote section. Otherwise,
# look for a macro that doesn't take arguments.
t clear
:clear
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
t quote
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
t quote
b any
:quote
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
s/\[/\\&/g
s/\]/\\&/g
s/\$/$$/g
H
:any
${
g
s/^\n//
s/\n/ /g
p
}
'
# 1. Remove the extension, and $U if already installed.
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
# will be set to the directory where LIBOBJS objects are built.
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
done
: ${CONFIG_STATUS=./config.status}
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
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
# Be more Bourne compatible
NULLCMD=:
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
else
esac
fi
# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_digits='0123456789'
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=';'
else
fi
fi
# Support unset when possible.
as_unset=unset
else
as_unset=false
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
# Find who we are. Look in the path if we contain no directory separator.
case $0 in
*[\\/]* ) as_myself=$0 ;;
do
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.
as_myself=$0
fi
{ (exit 1); exit 1; }
fi
# Work around bugs in pre-3.0 UWIN ksh.
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
do
else
fi
done
# Required to use basename.
else
as_expr=false
fi
else
as_basename=false
fi
# Name of the executable.
X"$0" : 'X\(//\)$' \| \
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# CDPATH.
# 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 after each line using $LINENO; the second 'sed'
# does the real work. The second script uses 'N' to pair each
# line-number line with the line containing $LINENO, 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
# scripts with optimization help from Paolo Bonzini. Blame Lee
# E. McMahon (1931-1989) for sed's syntax. :-)
sed -n '
p
/[$]LINENO/=
' <$as_myself |
sed '
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N
:loop
t loop
s/-\n.*//
{ (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 sensitive to this).
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
}
else
as_dirname=false
fi
-n*)
esac;;
*)
esac
else
as_expr=false
fi
else
fi
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p'.
as_ln_s='cp -p'
else
as_ln_s='cp -p'
fi
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
as_test_x='test -x'
else
else
fi
eval sh -c '\''
if test -d "$1"; then
test -d "$1/.";
else
case $1 in
-*)set "./$1";;
esac;
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
fi
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 6>&1
# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rdesktop $as_me 1.6.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@
"
cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.
Usage: $0 [OPTIONS] [FILE]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
-q, --quiet do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
Configuration files:
Report bugs to <bug-autoconf@gnu.org>."
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
rdesktop config.status 1.6.0
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd'
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.
while test $# != 0
do
case $1 in
--*=*)
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;
esac
case $ac_option in
# Handling of the options.
ac_cs_recheck=: ;;
debug=: ;;
ac_need_defaults=false;;
ac_cs_silent=: ;;
# This is an error.
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; } ;;
*) ac_config_targets="$ac_config_targets $1"
ac_need_defaults=false ;;
esac
shift
done
if $ac_cs_silent; then
ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
cat >>$CONFIG_STATUS <<_ACEOF
if \$ac_cs_recheck; then
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
CONFIG_SHELL=$SHELL
export CONFIG_SHELL
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
fi
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
echo
## Running $as_me. ##
_ASBOX
echo "$ac_log"
} >&5
cat >>$CONFIG_STATUS <<_ACEOF
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
# Handling of arguments.
do
case $ac_config_target in
{ (exit 1); exit 1; }; };;
esac
done
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
fi
# Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
tmp=
trap 'exit_status=$?
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.
{
} ||
{
} ||
{
{ (exit 1); exit 1; }
}
#
# Set up the sed scripts for CONFIG_FILES section.
#
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
INSTALL_DATA!$INSTALL_DATA$ac_delim
CPP!$CPP$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
XMKMF!$XMKMF$ac_delim
X_CFLAGS!$X_CFLAGS$ac_delim
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
X_LIBS!$X_LIBS$ac_delim
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
PKG_CONFIG!$PKG_CONFIG$ac_delim
STRIP!$STRIP$ac_delim
ssldir!$ssldir$ac_delim
PCSCLITE_CFLAGS!$PCSCLITE_CFLAGS$ac_delim
PCSCLITE_LIBS!$PCSCLITE_LIBS$ac_delim
SCARDOBJ!$SCARDOBJ$ac_delim
VNCINC!$VNCINC$ac_delim
LDVNC!$LDVNC$ac_delim
VNCLINK!$VNCLINK$ac_delim
RDP2VNCTARGET!$RDP2VNCTARGET$ac_delim
LIBAO_CFLAGS!$LIBAO_CFLAGS$ac_delim
LIBAO_LIBS!$LIBAO_LIBS$ac_delim
ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
ALSA_LIBS!$ALSA_LIBS$ac_delim
LIBSAMPLERATE_CFLAGS!$LIBSAMPLERATE_CFLAGS$ac_delim
LIBSAMPLERATE_LIBS!$LIBSAMPLERATE_LIBS$ac_delim
SOUNDOBJ!$SOUNDOBJ$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LIBICONV!$LIBICONV$ac_delim
build!$build$ac_delim
build_cpu!$build_cpu$ac_delim
build_vendor!$build_vendor$ac_delim
build_os!$build_os$ac_delim
host!$host$ac_delim
host_cpu!$host_cpu$ac_delim
host_vendor!$host_vendor$ac_delim
host_os!$host_os$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
break
elif $ac_last_try; then
{ (exit 1); exit 1; }; }
else
fi
done
fi
cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
s/^/s,@/; s/!/@,|#_!!_#|/
:n
t n
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
_ACEOF
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
ac_vpsub='/^[ ]*VPATH[ ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@srcdir@:*/:/
s/^\([^=]*=[ ]*\):*/\1/
s/:*$//
s/^[^=]*=[ ]*$//
}'
fi
cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"
for ac_tag in :F $CONFIG_FILES
do
esac
:[FHL]*:*);;
{ (exit 1); exit 1; }; };;
esac
IFS=:
set x $ac_tag
shift
ac_file=$1
shift
:L) ac_source=$1;;
:[FH])
for ac_f
do
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
# because $ac_f cannot contain `:'.
[\\/$]*) false;;
esac ||
{ (exit 1); exit 1; }; };;
esac
done
# 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. */
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
fi
esac
;;
esac
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
esac
while :; do
esac
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
done
{ (exit 1); exit 1; }; }; }
*)
# A ".." for each directory in $ac_dir_suffix.
case $ac_top_builddir_sub in
esac ;;
esac
# for backward compatibility:
.) # We are building in place.
[\\/]* | ?:[\\/]* ) # Absolute name.
*) # Relative name.
esac
:F)
#
# CONFIG_FILE
#
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
esac
cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
case `sed -n '/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
cat >>$CONFIG_STATUS <<_ACEOF
ac_datarootdir_hack='
s&@datadir@&$datadir&g
s&@docdir@&$docdir&g
s&@infodir@&$infodir&g
s&@localedir@&$localedir&g
s&@mandir@&$mandir&g
s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF
# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF
sed "$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
:t
s&@configure_input@&$configure_input&;t t
s&@top_builddir@&$ac_top_builddir_sub&;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&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
which seems to be undefined. Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
case $ac_file in
esac
;;
esac
done # for ac_tag
{ (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
# by configure, so config.status won't be able to write to it; its
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status. When coming back to configure, we
# need to make the FD available again.
ac_cs_success=:
ac_config_status_args=
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; }
fi