#! /bin/sh# Guess values for system-dependent variables and create Makefiles.# Generated by Autoconf 2.52.## Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001# Free Software Foundation, Inc.# This configure script is free software; the Free Software Foundation# gives unlimited permission to copy, distribute and modify it.# Avoid depending upon Character Ranges.as_cr_letters='abcdefghijklmnopqrstuvwxyz'as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'as_cr_Letters=$as_cr_letters$as_cr_LETTERSas_cr_digits='0123456789'as_cr_alnum=$as_cr_Letters$as_cr_digits# Sed expression to map a string onto a valid variable name.as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"# Sed expression to map a string onto a valid CPP name.as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"# Be Bourne compatibleif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=:elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posixfi# Name of the executable.as_me=`echo "$0" |sed 's,.*[\\/],,'`if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=exprelse as_expr=falsefirm -f conf$$ conf$$.exe conf$$.fileecho >conf$$.fileif ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fielif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=lnelse as_ln_s='cp -p'firm -f conf$$ conf$$.exe conf$$.fileas_executable_p="test -f"# Support unset when possible.if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unsetelse as_unset=falsefi# NLS nuisances.$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }# Name of the host.# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,# so uname gets run too.ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`exec 6>&1## Initializations.#ac_default_prefix=/usr/localcross_compiling=nosubdirs=MFLAGS= MAKEFLAGS=SHELL=${CONFIG_SHELL-/bin/sh}# Maximum number of lines to put in a shell here document.# This variable seems obsolete. It should probably be removed, and# only ac_max_sed_lines should be used.: ${ac_max_here_lines=38}ac_unique_file="src/lisp.h"# Factoring default headers for most tests.ac_includes_default="\#include <stdio.h>#if HAVE_SYS_TYPES_H# include <sys/types.h>#endif#if HAVE_SYS_STAT_H# include <sys/stat.h>#endif#if STDC_HEADERS# include <stdlib.h># include <stddef.h>#else# if HAVE_STDLIB_H# include <stdlib.h># endif#endif#if HAVE_STRING_H# if !STDC_HEADERS && HAVE_MEMORY_H# include <memory.h># endif# include <string.h>#endif#if HAVE_STRINGS_H# include <strings.h>#endif#if HAVE_INTTYPES_H# include <inttypes.h>#else# if HAVE_STDINT_H# include <stdint.h># endif#endif#if HAVE_UNISTD_H# include <unistd.h>#endif"# Initialize some variables set by options.ac_init_help=ac_init_version=false# The variables have the same names as the options, with# dashes changed to underlines.cache_file=/dev/nullexec_prefix=NONEno_create=no_recursion=prefix=NONEprogram_prefix=NONEprogram_suffix=NONEprogram_transform_name=s,x,x,silent=site=srcdir=verbose=x_includes=NONEx_libraries=NONE# 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.bindir='${exec_prefix}/bin'sbindir='${exec_prefix}/sbin'libexecdir='${exec_prefix}/libexec'datadir='${prefix}/share'sysconfdir='${prefix}/etc'sharedstatedir='${prefix}/com'localstatedir='${prefix}/var'libdir='${exec_prefix}/lib'includedir='${prefix}/include'oldincludedir='/usr/include'infodir='${prefix}/info'mandir='${prefix}/man'# Identity of this package.PACKAGE_NAME=PACKAGE_TARNAME=PACKAGE_VERSION=PACKAGE_STRING=PACKAGE_BUGREPORT=ac_prev=for ac_optiondo # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" ac_prev= continue fi ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_optionTry \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 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 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esacdoneif test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; }fi# Be sure to have absolute paths.for ac_var in exec_prefix prefixdo eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esacdone# Be sure to have absolute paths.for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandirdo eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esacdone# There might be people who depend on the old broken behavior: `$host'# used to hold the argument of --host etc.build=$build_aliashost=$host_aliastarget=$target_alias# FIXME: should be removed in autoconf 3.0.if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe 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 cross_compiling=yes fifiac_tool_prefix=test -n "$host_alias" && ac_tool_prefix=$host_alias-test "$silent" = yes && exec 6>/dev/null# Find the source files, if location was not specified.if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. ac_prog=$0 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. fielse ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources in $srcdir" >&2 { (exit 1); exit 1; }; } fifisrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`ac_env_build_alias_set=${build_alias+set}ac_env_build_alias_value=$build_aliasac_cv_env_build_alias_set=${build_alias+set}ac_cv_env_build_alias_value=$build_aliasac_env_host_alias_set=${host_alias+set}ac_env_host_alias_value=$host_aliasac_cv_env_host_alias_set=${host_alias+set}ac_cv_env_host_alias_value=$host_aliasac_env_target_alias_set=${target_alias+set}ac_env_target_alias_value=$target_aliasac_cv_env_target_alias_set=${target_alias+set}ac_cv_env_target_alias_value=$target_aliasac_env_CC_set=${CC+set}ac_env_CC_value=$CCac_cv_env_CC_set=${CC+set}ac_cv_env_CC_value=$CCac_env_CFLAGS_set=${CFLAGS+set}ac_env_CFLAGS_value=$CFLAGSac_cv_env_CFLAGS_set=${CFLAGS+set}ac_cv_env_CFLAGS_value=$CFLAGSac_env_LDFLAGS_set=${LDFLAGS+set}ac_env_LDFLAGS_value=$LDFLAGSac_cv_env_LDFLAGS_set=${LDFLAGS+set}ac_cv_env_LDFLAGS_value=$LDFLAGSac_env_CPPFLAGS_set=${CPPFLAGS+set}ac_env_CPPFLAGS_value=$CPPFLAGSac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}ac_cv_env_CPPFLAGS_value=$CPPFLAGSac_env_CPP_set=${CPP+set}ac_env_CPP_value=$CPPac_cv_env_CPP_set=${CPP+set}ac_cv_env_CPP_value=$CPP## Report the --help message.#if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<EOF\`configure' configures this package to adapt to many kinds of systems.Usage: $0 [OPTION]... [VAR=VALUE]...To assign environment variables (e.g., CC, CFLAGS...), specify them asVAR=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 \`..']EOF cat <<EOFInstallation 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 specifyan 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --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] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man]EOF cat <<\EOFProgram names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program namesX features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIRSystem types: --build=BUILD configure for building on BUILD [guessed] --host=HOST build programs to run on HOST [BUILD]EOFfiif test -n "$ac_init_help"; then cat <<\EOFOptional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-largefile omit support for large filesOptional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-gcc don't use GCC to compile Emacs if GCC is found --without-pop don't support POP mail retrieval with movemail --with-kerberos support Kerberos-authenticated POP --with-kerberos5 support Kerberos version 5 authenticated POP --with-hesiod support Hesiod to get the POP server host --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no) --with-xpm use -lXpm for displaying XPM images --with-jpeg use -ljpeg for displaying JPEG images --with-tiff use -ltiff for displaying TIFF images --with-gif use -lungif for displaying GIF images --with-png use -lpng for displaying PNG images --without-toolkit-scroll-bars don't use Motif or Xaw3d scroll bars --without-xim don't use X11 XIM --with-x use the X Window SystemSome influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> CPP C preprocessorUse these variables to override the choices made by `configure' or to helpit to find libraries and programs with nonstandard names/locations.EOFfiif test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue cd $ac_subdir # A "../" for each directory in /$ac_subdir. ac_dots=`echo $ac_subdir | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` case $srcdir in .) # No --srcdir option. We are building in place. ac_sub_srcdir=$srcdir ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_sub_srcdir=$srcdir/$ac_subdir ;; *) # Relative path. ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; esac # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_sub_srcdir/configure.gnu; then echo $SHELL $ac_sub_srcdir/configure.gnu --help=recursive elif test -f $ac_sub_srcdir/configure; then echo $SHELL $ac_sub_srcdir/configure --help=recursive elif test -f $ac_sub_srcdir/configure.ac || test -f $ac_sub_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 fi cd $ac_popdir donefitest -n "$ac_init_help" && exit 0if $ac_init_version; then cat <<\EOFCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001Free Software Foundation, Inc.This configure script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it.EOF exit 0fiexec 5>config.logcat >&5 <<EOFThis file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by $as_me, which wasgenerated by GNU Autoconf 2.52. Invocation command line was $ $0 $@EOF{cat <<_ASUNAME## ---------- #### Platform. #### ---------- ##hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`uname -m = `(uname -m) 2>/dev/null || echo unknown`uname -r = `(uname -r) 2>/dev/null || echo unknown`uname -s = `(uname -s) 2>/dev/null || echo unknown`uname -v = `(uname -v) 2>/dev/null || echo unknown`/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`hostinfo = `(hostinfo) 2>/dev/null || echo unknown`/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`PATH = $PATH_ASUNAME} >&5cat >&5 <<EOF## ------------ #### Core tests. #### ------------ ##EOF# Keep a trace of the command line.# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell meta-characters.ac_configure_args=ac_sep=for ac_argdo case $ac_arg in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" ac_sep=" " ;; *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" ac_sep=" " ;; esac # Get rid of the leading space.done# When interrupted or exit'd, cleanup temporary files, and complete# config.log. We remove comments because anyway the quotes in there# would cause problems or look ugly.trap 'exit_status=$? # Save into config.log some information that might help in debugging. echo >&5 echo "## ----------------- ##" >&5 echo "## Cache variables. ##" >&5 echo "## ----------------- ##" >&5 echo >&5 # The following way of writing the cache mishandles newlines in values,{ (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} >&5 sed "/^$/d" confdefs.h >conftest.log if test -s conftest.log; then echo >&5 echo "## ------------ ##" >&5 echo "## confdefs.h. ##" >&5 echo "## ------------ ##" >&5 echo >&5 cat conftest.log >&5 fi (echo; echo) >&5 test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" >&5 echo "$as_me: exit $exit_status" >&5 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && exit $exit_status ' 0for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signaldoneac_signal=0# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo >confdefs.h# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fififor ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:892: loading site script $ac_site_file" >&5echo "$as_me: loading site script $ac_site_file" >&6;} cat "$ac_site_file" >&5 . "$ac_site_file" fidoneif test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:903: loading cache $cache_file" >&5echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fielse { echo "$as_me:911: creating cache $cache_file" >&5echo "$as_me: creating cache $cache_file" >&6;} >$cache_filefi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falsefor ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_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,) { echo "$as_me:927: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:931: error: \`$ac_var' was not set in the previous run" >&5echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:937: error: \`$ac_var' has changed since the previous run:" >&5echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:939: former value: $ac_old_val" >&5echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:941: current value: $ac_new_val" >&5echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. It doesn't matter if # we pass some twice (in addition to the command line arguments). if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ac_configure_args="$ac_configure_args '$ac_arg'" ;; *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" ;; esac fidoneif $ac_cache_corrupted; then { echo "$as_me:960: error: changes in the environment can compromise the build" >&5echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:962: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; }fiac_ext=cac_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_compiler_gnu=$ac_cv_c_compiler_gnucase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C='' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;;esacecho "#! $SHELL" >conftest.shecho "exit 0" >>conftest.shchmod +x conftest.shif { (echo "$as_me:982: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? echo "$as_me:985: \$? = $ac_status" >&5 (exit $ac_status); }; then ac_path_separator=';'else ac_path_separator=:fiPATH_SEPARATOR="$ac_path_separator"rm -f conftest.shac_config_headers="$ac_config_headers src/config.h:src/config.in"test "$program_prefix" != NONE && program_transform_name="s,^,$program_prefix,;$program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE && program_transform_name="s,\$,$program_suffix,;$program_transform_name"# Double any \ or $. echo might interpret backslashes.# By default was `s,x,x', remove it if useless.cat <<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`rm conftest.sedlispdir='${datadir}/emacs/${version}/lisp'locallisppath='${datadir}/emacs/${version}/site-lisp:'\'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'lisppath='${locallisppath}:${lispdir}'etcdir='${datadir}/emacs/${version}/etc'archlibdir='${libexecdir}/emacs/${version}/${configuration}'docdir='${datadir}/emacs/${version}/etc'# Check whether --with-gcc or --without-gcc was given.if test "${with_gcc+set}" = set; then withval="$with_gcc"fi;# Check whether --with-pop or --without-pop was given.if test "${with_pop+set}" = set; then withval="$with_pop" if test "$withval" = yes; then cat >>confdefs.h <<\EOF#define MAIL_USE_POP 1EOFelse :fielse cat >>confdefs.h <<\EOF#define MAIL_USE_POP 1EOFfi;# Check whether --with-kerberos or --without-kerberos was given.if test "${with_kerberos+set}" = set; then withval="$with_kerberos" cat >>confdefs.h <<\EOF#define KERBEROS 1EOFfi;# Check whether --with-kerberos5 or --without-kerberos5 was given.if test "${with_kerberos5+set}" = set; then withval="$with_kerberos5" if test "${with_kerberos5+set}" = set; then if test "${with_kerberos+set}" != set; then with_kerberos=yes cat >>confdefs.h <<\EOF#define KERBEROS 1EOF fificat >>confdefs.h <<\EOF#define KERBEROS5 1EOFfi;# Check whether --with-hesiod or --without-hesiod was given.if test "${with_hesiod+set}" = set; then withval="$with_hesiod" cat >>confdefs.h <<\EOF#define HESIOD 1EOFfi;# Check whether --with-x-toolkit or --without-x-toolkit was given.if test "${with_x_toolkit+set}" = set; then withval="$with_x_toolkit" case "${withval}" in y | ye | yes ) val=athena ;; n | no ) val=no ;; l | lu | luc | luci | lucid ) val=lucid ;; a | at | ath | athe | athen | athena ) val=athena ;; m | mo | mot | moti | motif ) val=motif ;; * ){ { echo "$as_me:1086: error: \`--with-x-toolkit=$withval' is invalid\;this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} { (exit 1); exit 1; }; } ;; esac with_x_toolkit=$valfi;# Check whether --with-xpm or --without-xpm was given.if test "${with_xpm+set}" = set; then withval="$with_xpm"fi;# Check whether --with-jpeg or --without-jpeg was given.if test "${with_jpeg+set}" = set; then withval="$with_jpeg"fi;# Check whether --with-tiff or --without-tiff was given.if test "${with_tiff+set}" = set; then withval="$with_tiff"fi;# Check whether --with-gif or --without-gif was given.if test "${with_gif+set}" = set; then withval="$with_gif"fi;# Check whether --with-png or --without-png was given.if test "${with_png+set}" = set; then withval="$with_png"fi;# Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.if test "${with_toolkit_scroll_bars+set}" = set; then withval="$with_toolkit_scroll_bars"fi;# Check whether --with-xim or --without-xim was given.if test "${with_xim+set}" = set; then withval="$with_xim"fi;#### Make srcdir absolute, if it isn't already. It's important to#### avoid running the path through pwd unnecessarily, since pwd can#### give you automounter prefixes, which can go away. We do all this#### so Emacs can find its files when run uninstalled.## Make sure CDPATH doesn't affect cd (in case PWD is relative).unset CDPATHcase "${srcdir}" in /* ) ;; . ) ## We may be able to use the $PWD environment variable to make this ## absolute. But sometimes PWD is inaccurate. if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".${PWD}" ; then srcdir="$PWD" else srcdir="`(cd ${srcdir}; pwd)`" fi ;; * ) srcdir="`(cd ${srcdir}; pwd)`" ;;esac#### Check if the source directory already has a configured system in it.if test `pwd` != `(cd ${srcdir} && pwd)` \ && test -f "${srcdir}/src/config.h" ; then { echo "$as_me:1165: WARNING: The directory tree \`${srcdir}' is being used as a build directory right now; it has been configured in its own right. To configure in another directory as well, you MUST use GNU make. If you do not have GNU make, then you must now do \`make distclean' in ${srcdir}, and then run $0 again." >&5echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used as a build directory right now; it has been configured in its own right. To configure in another directory as well, you MUST use GNU make. If you do not have GNU make, then you must now do \`make distclean' in ${srcdir}, and then run $0 again." >&2;} extrasub='/^VPATH[ ]*=/c\vpath %.c $(srcdir)\vpath %.h $(srcdir)\vpath %.y $(srcdir)\vpath %.l $(srcdir)\vpath %.s $(srcdir)\vpath %.in $(srcdir)\vpath %.texi $(srcdir)'fi#### Given the configuration name, set machfile and opsysfile to the#### names of the m/*.h and s/*.h files we should use.### Canonicalize the configuration name.ac_aux_dir=for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f $ac_dir/install.sh; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f $ac_dir/shtool; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fidoneif test -z "$ac_aux_dir"; then { { echo "$as_me:1210: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.# Make sure we can run config.sub.$ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:1220: error: cannot run $ac_config_sub" >&5echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; }echo "$as_me:1224: checking build system type" >&5echo $ECHO_N "checking build system type... $ECHO_C" >&6if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_build_alias=$build_aliastest -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess`test -z "$ac_cv_build_alias" && { { echo "$as_me:1233: error: cannot guess build type; you must specify one" >&5echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; }ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:1237: error: $ac_config_sub $ac_cv_build_alias failed." >&5echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:1242: result: $ac_cv_build" >&5echo "${ECHO_T}$ac_cv_build" >&6build=$ac_cv_buildbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`echo "$as_me:1249: checking host system type" >&5echo $ECHO_N "checking host system type... $ECHO_C" >&6if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_host_alias=$host_aliastest -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_aliasac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:1258: error: $ac_config_sub $ac_cv_host_alias failed" >&5echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; }fiecho "$as_me:1263: result: $ac_cv_host" >&5echo "${ECHO_T}$ac_cv_host" >&6host=$ac_cv_hosthost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`canonical=$hostconfiguration=${host_alias-$host}### If you add support for a new configuration, add code to this### switch statement to recognize your configuration name and select### the appropriate operating system and machine description files.### You would hope that you could choose an m/*.h file pretty much### based on the machine portion of the configuration name, and an s-### file based on the operating system portion. However, it turns out### that each m/*.h file is pretty manufacturer-specific - for### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS### machines. So we basically have to have a special case for each### configuration name.###### As far as handling version numbers on operating systems is### concerned, make sure things will fail in a fixable way. If### /etc/MACHINES doesn't say anything about version numbers, be### prepared to handle anything reasonably. If version numbers### matter, be sure /etc/MACHINES says something about it.###### Eric Raymond says we should accept strings like "sysvr4" to mean### "System V Release 4"; he writes, "The old convention encouraged### confusion between `system' and `release' levels'."machine='' opsys='' unported=nocase "${canonical}" in ## FreeBSD ports *-*-freebsd* ) opsys=freebsd case "${canonical}" in alpha*-*-freebsd*) machine=alpha ;; i[3456]86-*-freebsd*) machine=intel386 ;; esac ;; ## NetBSD ports *-*-netbsd* ) opsys=netbsd case "${canonical}" in alpha*-*-netbsd*) machine=alpha ;; i[3456]86-*-netbsd*) machine=intel386 ;; m68k-*-netbsd*) # This is somewhat bogus. machine=hp9000s300 ;; powerpc-apple-netbsd*) machine=macppc ;; mips-*-netbsd*) machine=pmax ;; mipsel-*-netbsd*) machine=pmax ;; ns32k-*-netbsd*) machine=ns32000 ;; powerpc-*-netbsd*) machine=macppc ;; sparc*-*-netbsd*) machine=sparc ;; vax-*-netbsd*) machine=vax ;; arm-*-netbsd*) machine=arm ;; esac ;; ## OpenBSD ports *-*-openbsd* ) opsys=openbsd case "${canonical}" in alpha*-*-openbsd*) machine=alpha ;; i386-*-openbsd*) machine=intel386 ;; m68k-*-openbsd*) machine=hp9000s300 ;; mipsel-*-openbsd*) machine=pmax ;; ns32k-*-openbsd*) machine=ns32000 ;; sparc-*-openbsd*) machine=sparc ;; vax-*-openbsd*) machine=vax ;; esac ;; ## Acorn RISCiX: arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; arm-acorn-riscix1.2* | arm-acorn-riscix ) ## This name is riscix12 instead of riscix1.2 ## to avoid a file name conflict on MSDOS. machine=acorn opsys=riscix12 ;; ## BSDI ports *-*-bsdi* ) opsys=bsdi case "${canonical}" in i[345]86-*-bsdi*) machine=intel386 ;; sparc-*-bsdi*) machine=sparc ;; powerpc-*-bsdi*) machine=macppc ;; esac case "${canonical}" in *-*-bsd386* | *-*-bsdi1* ) opsys=bsd386 ;; *-*-bsdi2.0* ) opsys=bsdos2 ;; *-*-bsdi2* ) opsys=bsdos2-1 ;; *-*-bsdi3* ) opsys=bsdos3 ;; *-*-bsdi4* ) opsys=bsdos4 ;; esac ;; ## Alliant machines ## Strictly speaking, we need the version of the alliant operating ## system to choose the right machine file, but currently the ## configuration name doesn't tell us enough to choose the right ## one; we need to give alliants their own operating system name to ## do this right. When someone cares, they can help us. fx80-alliant-* ) machine=alliant4 opsys=bsd4-2 ;; i860-alliant-* ) machine=alliant-2800 opsys=bsd4-3 ;; ## Alpha (DEC) machines. alpha*-dec-osf* ) machine=alpha opsys=osf1 # This is needed to find X11R6.1 libraries for certain tests. NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile # due to non-traditional preprocessing with the current compiler # defaults. OSF 4 can also have that compiler version, and there # seems always to have been a usable /usr/bin/cpp. NON_GNU_CPP=/usr/bin/cpp case "${canonical}" in alpha*-dec-osf[5-9]*) opsys=osf5-0 ;; esac ;; alpha*-*-linux-gnu* ) machine=alpha opsys=gnu-linux ;; arm*-*-linux-gnu* ) machine=arm opsys=gnu-linux ;; ppc-*-linux | \ powerpc-*-linux* ) machine=macppc opsys=gnu-linux ;; ## Altos 3068 m68*-altos-sysv* ) machine=altos opsys=usg5-2 ;; ## Amdahl UTS 580-amdahl-sysv* ) machine=amdahl opsys=usg5-2-2 ;; ## Apollo, Domain/OS m68*-apollo-* ) machine=apollo opsys=bsd4-3 ;; ## AT&T 3b2, 3b5, 3b15, 3b20 we32k-att-sysv* ) machine=att3b opsys=usg5-2-2 ;; ## AT&T 3b1 - The Mighty Unix PC! m68*-att-sysv* ) machine=7300 opsys=usg5-2-2 ;; ## Bull dpx20 rs6000-bull-bosx* ) machine=ibmrs6000 opsys=aix3-2 ;; ## Bull dpx2 m68*-bull-sysv3* ) machine=dpx2 opsys=usg5-3 ;; ## Bull sps7 m68*-bull-sysv2* ) machine=sps7 opsys=usg5-2 ;; ## CCI 5/32, 6/32 -- see "Tahoe". ## Celerity ## I don't know what configuration name to use for this; config.sub ## doesn't seem to know anything about it. Hey, Celerity users, get ## in touch with us! celerity-celerity-bsd* ) machine=celerity opsys=bsd4-2 ;; ## Clipper ## What operating systems does this chip run that Emacs has been ## tested on? clipper-* ) machine=clipper ## We'll use the catch-all code at the bottom to guess the ## operating system. ;; ## Convex *-convex-bsd* | *-convex-convexos* ) machine=convex opsys=bsd4-3 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov NON_GNU_CPP="cc -E -P" ;; ## Cubix QBx/386 i[3456]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; ## Cydra 5 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;; ## Data General AViiON Machines ## DG changed naming conventions with the release of 5.4.4.10, they ## dropped the initial 5.4 but left the intervening R. Because of the ## R this shouldn't conflict with older versions of the OS (which I ## think were named like dgux4.*). In addition, DG new AViiONs series ## uses either Motorola M88k or Intel Pentium CPUs. m88k-dg-dguxR4.* | m88k-dg-dgux4* ) machine=aviion opsys=dgux4 ;; m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) ## This name is dgux5-4-3 instead of dgux5-4r3 ## to avoid a file name conflict on MSDOS. machine=aviion opsys=dgux5-4-3 ;; m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;; m88k-dg-dgux* ) machine=aviion opsys=dgux ;; ## Data General AViiON Intel (x86) Machines ## Exists from 5.4.3 (current i586-dg-dguxR4.11) ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il i[345]86-dg-dguxR4* ) machine=aviion-intel opsys=dgux4 ;; ## DECstations mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;; mips-dec-ultrix4.[12]* | mips-dec-bsd* ) machine=pmax opsys=bsd4-3 ;; mips-dec-ultrix* ) machine=pmax opsys=ultrix4-3 ;; mips-dec-osf* ) machine=pmax opsys=osf1 ;; mips-dec-mach_bsd4.3* ) machine=pmax opsys=mach-bsd4-3 ;; ## Motorola Delta machines m68k-motorola-sysv* | m68000-motorola-sysv* ) machine=delta opsys=usg5-3 if test -z "`type gnucc | grep 'not found'`" then if test -s /etc/167config then CC="gnucc -m68040" else CC="gnucc -m68881" fi else if test -z "`type gcc | grep 'not found'`" then CC=gcc else CC=cc fi fi ;; m88k-motorola-sysv4* ) # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110 # needs POSIX_SIGNALS and therefore needs usg5-4-2. # I hope there are not other 4.0 versions for this machine # which really need usg5-4 instead. machine=delta88k opsys=usg5-4-2 ;; m88k-motorola-sysv* | m88k-motorola-m88kbcs* ) machine=delta88k opsys=usg5-3 ;; ## Dual machines m68*-dual-sysv* ) machine=dual opsys=usg5-2 ;; m68*-dual-uniplus* ) machine=dual opsys=unipl5-2 ;; ## Elxsi 6400 elxsi-elxsi-sysv* ) machine=elxsi opsys=usg5-2 ;; ## Encore machines ns16k-encore-bsd* ) machine=ns16000 opsys=umax ;; ## The GEC 63 - apparently, this port isn't really finished yet. # I'm sure we finished off the last of the machines, though. -- fx ## Gould Power Node and NP1 pn-gould-bsd4.2* ) machine=gould opsys=bsd4-2 ;; pn-gould-bsd4.3* ) machine=gould opsys=bsd4-3 ;; np1-gould-bsd* ) machine=gould-np1 opsys=bsd4-3 ;; ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000 ## as far as Emacs is concerned). m88k-harris-cxux* ) # Build needs to be different on 7.0 and later releases case "`uname -r`" in [56].[0-9] ) machine=nh4000 opsys=cxux ;; [7].[0-9] ) machine=nh4000 opsys=cxux7 ;; esac NON_GNU_CPP="/lib/cpp" ;; ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000) m68k-harris-cxux* ) machine=nh3000 opsys=cxux ;; ## Harris power pc NightHawk running Power UNIX (Series 6000) powerpc-harris-powerunix ) machine=nh6000 opsys=powerunix NON_GNU_CPP="cc -Xo -E -P" ;; ## SR2001/SR2201 running HI-UX/MPP hppa1.1-hitachi-hiuxmpp* ) machine=sr2k opsys=hiuxmpp ;; hppa1.1-hitachi-hiuxwe2* ) machine=sr2k opsys=hiuxwe2 ;; ## Honeywell XPS100 xps*-honeywell-sysv* ) machine=xps100 opsys=usg5-2 ;; ## HP 9000 series 200 or 300 m68*-hp-bsd* ) machine=hp9000s300 opsys=bsd4-3 ;; ## HP/UX 7, 8, 9, and 10 are supported on these machines. m68*-hp-hpux* ) case "`uname -r`" in ## Someone's system reports A.B8.05 for this. ## I wonder what other possibilities there are. *.B8.* ) machine=hp9000s300 opsys=hpux8 ;; *.08.* ) machine=hp9000s300 opsys=hpux8 ;; *.09.* ) machine=hp9000s300 opsys=hpux9 ;; *.1[0-9].* ) machine=hp9000s300 opsys=hpux9shr ;; *) machine=hp9000s300 opsys=hpux ;; esac ;; ## HP 9000 series 700 and 800, running HP/UX hppa*-hp-hpux7* ) machine=hp800 opsys=hpux ;; hppa*-hp-hpux8* ) machine=hp800 opsys=hpux8 ;; hppa*-hp-hpux9shr* ) machine=hp800 opsys=hpux9shr ;; hppa*-hp-hpux9* ) machine=hp800 opsys=hpux9 ;; hppa*-hp-hpux10* ) machine=hp800 opsys=hpux10 ;; hppa*-hp-hpux1[1-9]* ) machine=hp800 opsys=hpux11 ;; ## HP 9000 series 700 and 800, running HP/UX hppa*-hp-hpux* ) ## Cross-compilation? Nah! case "`uname -r`" in ## Someone's system reports A.B8.05 for this. ## I wonder what other possibilities there are. *.B8.* ) machine=hp800 opsys=hpux8 ;; *.08.* ) machine=hp800 opsys=hpux8 ;; *.09.* ) machine=hp800 opsys=hpux9 ;; *) machine=hp800 opsys=hpux10 ;; esac ;; hppa*-*-nextstep* ) machine=hp800 opsys=nextstep ;; ## Orion machines orion-orion-bsd* ) machine=orion opsys=bsd4-2 ;; clipper-orion-bsd* ) machine=orion105 opsys=bsd4-2 ;; ## IBM machines i[3456]86-ibm-aix1.1* ) machine=ibmps2-aix opsys=usg5-2-2 ;; i[3456]86-ibm-aix1.[23]* | i[3456]86-ibm-aix* ) machine=ibmps2-aix opsys=usg5-3 ;; i370-ibm-aix*) machine=ibm370aix opsys=usg5-3 ;; s390-*-linux-gnu) machine=ibms390 opsys=gnu-linux ;; rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* ) machine=ibmrs6000 opsys=aix3-1 ;; rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 ) machine=ibmrs6000 opsys=aix3-2-5 ;; rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* ) machine=ibmrs6000 opsys=aix4-1 ;; rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* ) machine=ibmrs6000 opsys=aix4-2 ;; rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* ) machine=ibmrs6000 opsys=aix4 ;; rs6000-ibm-aix4* | powerpc-ibm-aix4* ) machine=ibmrs6000 opsys=aix4-1 ;; rs6000-ibm-aix* | powerpc-ibm-aix* ) machine=ibmrs6000 opsys=aix3-2 ;; romp-ibm-bsd4.3* ) machine=ibmrt opsys=bsd4-3 ;; romp-ibm-bsd4.2* ) machine=ibmrt opsys=bsd4-2 ;; romp-ibm-aos4.3* ) machine=ibmrt opsys=bsd4-3 ;; romp-ibm-aos4.2* ) machine=ibmrt opsys=bsd4-2 ;; romp-ibm-aos* ) machine=ibmrt opsys=bsd4-3 ;; romp-ibm-bsd* ) machine=ibmrt opsys=bsd4-3 ;; romp-ibm-aix* ) machine=ibmrt-aix opsys=usg5-2-2 ;; ## Integrated Solutions `Optimum V' m68*-isi-bsd4.2* ) machine=isi-ov opsys=bsd4-2 ;; m68*-isi-bsd4.3* ) machine=isi-ov opsys=bsd4-3 ;; ## Intel 386 machines where we do care about the manufacturer i[3456]86-intsys-sysv* ) machine=is386 opsys=usg5-2-2 ;; ## Prime EXL i[3456]86-prime-sysv* ) machine=i386 opsys=usg5-3 ;; ## Sequent Symmetry running Dynix i[3456]86-sequent-bsd* ) machine=symmetry opsys=bsd4-3 ;; ## Sequent Symmetry running ptx 4, which is a modified SVR4. i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* ) machine=sequent-ptx opsys=ptx4 NON_GNU_CPP=/lib/cpp ;; ## Sequent Symmetry running DYNIX/ptx ## Use the old cpp rather than the newer ANSI one. i[3456]86-sequent-ptx* ) machine=sequent-ptx opsys=ptx NON_GNU_CPP="/lib/cpp" ;; ## ncr machine running svr4.3. i[3456]86-ncr-sysv4.3 ) machine=ncr386 opsys=usg5-4-3 ;; ## Unspecified sysv on an ncr machine defaults to svr4.2. ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.) i[3456]86-ncr-sysv* ) machine=ncr386 opsys=usg5-4-2 ;; ## Intel Paragon OSF/1 i860-intel-osf1* ) machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp ;; ## Intel 860 i860-*-sysv4* ) machine=i860 opsys=usg5-4 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. ;; ## Macintosh PowerPC powerpc*-*-linux-gnu* ) machine=macppc opsys=gnu-linux ;; ## Masscomp machines m68*-masscomp-rtu* ) machine=masscomp opsys=rtu ;; ## Megatest machines m68*-megatest-bsd* ) machine=mega68 opsys=bsd4-2 ;; ## Workstations sold by MIPS ## This is not necessarily all workstations using the MIPS processor - ## Irises are produced by SGI, and DECstations by DEC. ## etc/MACHINES lists mips.h and mips4.h as possible machine files, ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance ## it gives for choosing between the alternatives seems to be "Use ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with ## the BSD world." I'll assume that these are instructions for ## handling two odd situations, and that every other situation ## should use mips.h and usg5-2-2, they being listed first. mips-mips-usg* ) machine=mips4 ## Fall through to the general code at the bottom to decide on the OS. ;; mips-mips-riscos4* ) machine=mips4 opsys=bsd4-3 NON_GNU_CC="cc -systype bsd43" NON_GNU_CPP="cc -systype bsd43 -E" ;; mips-mips-riscos5* ) machine=mips4 opsys=riscos5 NON_GNU_CC="cc -systype bsd43" NON_GNU_CPP="cc -systype bsd43 -E" ;; mips-mips-bsd* ) machine=mips opsys=bsd4-3 ;; mips-mips-* ) machine=mips opsys=usg5-2-2 ;; ## NeXT m68*-next-* | m68k-*-nextstep* ) machine=m68k opsys=nextstep ;; ## The complete machine from National Semiconductor ns32k-ns-genix* ) machine=ns32000 opsys=usg5-2 ;; ## NCR machines m68*-ncr-sysv2* | m68*-ncr-sysvr2* ) machine=tower32 opsys=usg5-2-2 ;; m68*-ncr-sysv3* | m68*-ncr-sysvr3* ) machine=tower32v3 opsys=usg5-3 ;; ## NEC EWS4800 mips-nec-sysv4*) machine=ews4800 opsys=ux4800 ;; ## Nixdorf Targon 31 m68*-nixdorf-sysv* ) machine=targon31 opsys=usg5-2-2 ;; ## Nu (TI or LMI) m68*-nu-sysv* ) machine=nu opsys=usg5-2 ;; ## Plexus m68*-plexus-sysv* ) machine=plexus opsys=usg5-2 ;; ## PowerPC reference platform powerpcle-*-solaris2* ) machine=prep opsys=sol2-5 ;; ## Pyramid machines ## I don't really have any idea what sort of processor the Pyramid has, ## so I'm assuming it is its own architecture. pyramid-pyramid-bsd* ) machine=pyramid opsys=bsd4-2 ;; ## Sequent Balance ns32k-sequent-bsd4.2* ) machine=sequent opsys=bsd4-2 ;; ns32k-sequent-bsd4.3* ) machine=sequent opsys=bsd4-3 ;; ## Siemens Nixdorf mips-siemens-sysv* | mips-sni-sysv*) machine=mips-siemens opsys=usg5-4 NON_GNU_CC=/usr/ccs/bin/cc NON_GNU_CPP=/usr/ccs/lib/cpp ;; ## Silicon Graphics machines ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; ## Iris 4D mips-sgi-irix3* ) machine=iris4d opsys=irix3-3 ;; mips-sgi-irix4* ) machine=iris4d opsys=irix4-0 ;; mips-sgi-irix6.5 ) machine=iris4d opsys=irix6-5 # Without defining _LANGUAGE_C, things get masked out in the headers # so that, for instance, grepping for `free' in stdlib.h fails and # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m). NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C" ;; mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5, # but presumably it does no harm. NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" # -32 probably isn't necessary in later v.6s -- anyone know which? NON_GCC_TEST_OPTIONS=-32 ;; mips-sgi-irix5.[01]* ) machine=iris4d opsys=irix5-0 ;; mips-sgi-irix5* | mips-sgi-irix* ) machine=iris4d opsys=irix5-2 ;; ## SONY machines m68*-sony-bsd4.2* ) machine=news opsys=bsd4-2 ;; m68*-sony-bsd4.3* ) machine=news opsys=bsd4-3 ;; m68*-sony-newsos3* | m68*-sony-news3*) machine=news opsys=bsd4-3 ;; mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*) machine=news-risc opsys=bsd4-3 ;; mips-sony-newsos6* ) machine=news-r6 opsys=newsos6 ;; mips-sony-news* ) machine=news-risc opsys=newsos5 ;; ## Stride m68*-stride-sysv* ) machine=stride opsys=usg5-2 ;; ## Suns sparc-*-linux-gnu* | sparc64-*-linux-gnu* ) machine=sparc opsys=gnu-linux ;; *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \ | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \ | rs6000-*-solaris2*) case "${canonical}" in m68*-sunos1* ) machine=sun1 ;; m68*-sunos2* ) machine=sun2 ;; m68* ) machine=sun3 ;; i[3456]86-sun-sunos[34]* ) machine=sun386 ;; i[3456]86-*-* ) machine=intel386 ;; powerpcle* ) machine=powerpcle ;; powerpc* | rs6000* ) machine=ibmrs6000 ;; sparc* ) machine=sparc ;; * ) unported=yes ;; esac case "${canonical}" in ## The Sun386 didn't get past 4.0. i[3456]86-*-sunos4 ) opsys=sunos4-0 ;; *-sunos4.0* ) opsys=sunos4-0 ;; *-sunos4.1.[3-9]*noshare ) ## This name is sunos413 instead of sunos4-1-3 ## to avoid a file name conflict on MSDOS. opsys=sunos413 NON_GNU_CPP=/usr/lib/cpp NON_GCC_TEST_OPTIONS=-Bstatic GCC_TEST_OPTIONS=-static ;; *-sunos4.1.[3-9]* | *-sunos4shr*) opsys=sunos4shr NON_GNU_CPP=/usr/lib/cpp ;; *-sunos4* | *-sunos ) opsys=sunos4-1 NON_GCC_TEST_OPTIONS=-Bstatic GCC_TEST_OPTIONS=-static ;; *-sunos5.3* | *-solaris2.3* ) opsys=sol2-3 NON_GNU_CPP=/usr/ccs/lib/cpp ;; *-sunos5.4* | *-solaris2.4* ) opsys=sol2-4 NON_GNU_CPP=/usr/ccs/lib/cpp RANLIB="ar -ts" ;; *-sunos5.5* | *-solaris2.5* ) opsys=sol2-5 NON_GNU_CPP=/usr/ccs/lib/cpp RANLIB="ar -ts" ;; *-sunos5* | *-solaris* ) opsys=sol2-5 NON_GNU_CPP=/usr/ccs/lib/cpp ;; * ) opsys=bsd4-2 ;; esac ## Watch out for a compiler that we know will not work. case "${canonical}" in *-solaris* | *-sunos5* ) if [ "x$CC" = x/usr/ucb/cc ]; then ## /usr/ucb/cc doesn't work; ## we should find some other compiler that does work. unset CC fi ;; *) ;; esac ;; sparc-*-nextstep* ) machine=sparc opsys=nextstep ;; ## Tadpole 68k m68*-tadpole-sysv* ) machine=tad68k opsys=usg5-3 ;; ## Tahoe machines tahoe-tahoe-bsd4.2* ) machine=tahoe opsys=bsd4-2 ;; tahoe-tahoe-bsd4.3* ) machine=tahoe opsys=bsd4-3 ;; ## Tandem Integrity S2 mips-tandem-sysv* ) machine=tandem-s2 opsys=usg5-3 ;; ## Tektronix XD88 m88k-tektronix-sysv3* ) machine=tekxd88 opsys=usg5-3 ;; ## Tektronix 16000 box (6130?) ns16k-tektronix-bsd* ) machine=ns16000 opsys=bsd4-2 ;; ## Tektronix 4300 ## src/m/tek4300.h hints that this is a m68k machine. m68*-tektronix-bsd* ) machine=tek4300 opsys=bsd4-3 ;; ## Titan P2 or P3 ## We seem to have lost the machine-description file titan.h! titan-titan-sysv* ) machine=titan opsys=usg5-3 ;; ## Ustation E30 (SS5E) m68*-unisys-uniplus* ) machine=ustation opsystem=unipl5-2 ;; ## Vaxen. vax-dec-* ) machine=vax case "${canonical}" in *-bsd4.1* ) opsys=bsd4-1 ;; *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;; *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;; *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;; *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;; *-vms* ) opsys=vms ;; * ) unported=yes esac ;; ## Whitechapel MG1 ns16k-whitechapel-* ) machine=mg1 ## We don't know what sort of OS runs on these; we'll let the ## operating system guessing code below try. ;; ## Wicat m68*-wicat-sysv* ) machine=wicat opsys=usg5-2 ;; ## IA-64 ia64*-*-linux* ) machine=ia64 opsys=gnu-linux ;; ## Intel 386 machines where we don't care about the manufacturer i[3456]86-*-* ) machine=intel386 case "${canonical}" in *-lynxos* ) opsys=lynxos ;; *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; *-isc2.2* ) opsys=isc2-2 ;; *-isc4.0* ) opsys=isc4-0 ;; *-isc4.* ) opsys=isc4-1 GCC_TEST_OPTIONS=-posix NON_GCC_TEST_OPTIONS=-Xp ;; *-isc* ) opsys=isc3-0 ;; *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;; *-esix* ) opsys=esix ;; *-xenix* ) opsys=xenix ;; *-linux-gnu* ) opsys=gnu-linux ;; *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; *-sco3.2v5* ) opsys=sco5 NON_GNU_CPP=/lib/cpp # Prevent -belf from being passed to $CPP. # /lib/cpp does not accept it. OVERRIDE_CPPFLAGS=" " ;; *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; *-386bsd* ) opsys=386bsd ;; *-nextstep* ) opsys=nextstep ;; ## Otherwise, we'll fall through to the generic opsys code at the bottom. esac ;; ## m68k Linux-based GNU system m68k-*-linux-gnu* ) machine=m68k opsys=gnu-linux ;; ## Mips Linux-based GNU system mips-*-linux-gnu* ) machine=mips opsys=gnu-linux ;; ## UXP/DS sparc-fujitsu-sysv4* ) machine=sparc opsys=uxpds NON_GNU_CPP=/usr/ccs/lib/cpp RANLIB="ar -ts" ;; ## UXP/V f301-fujitsu-uxpv4.1) machine=f301 opsys=uxpv ;; * ) unported=yes ;;esac### If the code above didn't choose an operating system, just choose### an operating system based on the configuration name. You really### only want to use this when you have no idea what the right### operating system is; if you know what operating systems a machine### runs, it's cleaner to make it explicit in the case statement### above.if test x"${opsys}" = x; then case "${canonical}" in *-gnu* ) opsys=gnu ;; *-bsd4.[01] ) opsys=bsd4-1 ;; *-bsd4.2 ) opsys=bsd4-2 ;; *-bsd4.3 ) opsys=bsd4-3 ;; *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;; *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;; *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;; *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;; *-sysv4.2uw* ) opsys=unixware ;; *-sysv4.1* | *-sysvr4.1* ) NON_GNU_CPP=/usr/lib/cpp opsys=usg5-4 ;; *-sysv4.[2-9]* | *-sysvr4.[2-9]* ) if [ x$NON_GNU_CPP = x ]; then if [ -f /usr/ccs/lib/cpp ]; then NON_GNU_CPP=/usr/ccs/lib/cpp else NON_GNU_CPP=/lib/cpp fi fi opsys=usg5-4-2 ;; *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;; * ) unported=yes ;; esacfiif test $unported = yes; then { { echo "$as_me:2221: error: Emacs hasn't been ported to \`${canonical}' systems.Check \`etc/MACHINES' for recognized configuration names." >&5echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.Check \`etc/MACHINES' for recognized configuration names." >&2;} { (exit 1); exit 1; }; }fimachfile="m/${machine}.h"opsysfile="s/${opsys}.h"#### Choose a compiler.test -n "$CC" && cc_specified=yes# Save the value of CFLAGS that the user specified.SPECIFIED_CFLAGS="$CFLAGS"case ${with_gcc} in "yes" ) CC="gcc" GCC=yes ;; "no" ) : ${CC=cc} ;; * )esacac_ext=cac_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_compiler_gnu=$ac_cv_c_compiler_gnuif test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.set dummy ${ac_tool_prefix}gcc; ac_word=$2echo "$as_me:2250: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="${ac_tool_prefix}gcc"echo "$as_me:2265: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:2273: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:2276: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo "$as_me:2285: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="gcc"echo "$as_me:2300: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:2308: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:2311: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.set dummy ${ac_tool_prefix}cc; ac_word=$2echo "$as_me:2324: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="${ac_tool_prefix}cc"echo "$as_me:2339: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:2347: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:2350: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:2359: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="cc"echo "$as_me:2374: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:2382: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:2385: result: no" >&5echo "${ECHO_T}no" >&6fi CC=$ac_ct_CCelse CC="$ac_cv_prog_CC"fifiif test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo "$as_me:2398: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_prog_rejected=no ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then ac_prog_rejected=yes continuefiac_cv_prog_CC="cc"echo "$as_me:2418: found $ac_dir/$ac_word" >&5breakdoneif 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 set dummy "$ac_dir/$ac_word" ${1+"$@"} shift ac_cv_prog_CC="$@" fifififiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:2440: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:2443: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.set dummy $ac_tool_prefix$ac_prog; ac_word=$2echo "$as_me:2454: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_CC="$ac_tool_prefix$ac_prog"echo "$as_me:2469: found $ac_dir/$ac_word" >&5breakdonefifiCC=$ac_cv_prog_CCif test -n "$CC"; then echo "$as_me:2477: result: $CC" >&5echo "${ECHO_T}$CC" >&6else echo "$as_me:2480: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$CC" && break donefiif test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cldo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:2493: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_CC="$ac_prog"echo "$as_me:2508: found $ac_dir/$ac_word" >&5breakdonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCif test -n "$ac_ct_CC"; then echo "$as_me:2516: result: $ac_ct_CC" >&5echo "${ECHO_T}$ac_ct_CC" >&6else echo "$as_me:2519: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$ac_ct_CC" && breakdone CC=$ac_ct_CCfifitest -z "$CC" && { { echo "$as_me:2531: error: no acceptable cc found in \$PATH" >&5echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; }# Provide some information about the compiler.echo "$as_me:2536:" \ "checking for C compiler version" >&5ac_compiler=`set X $ac_compile; echo $2`{ (eval echo "$as_me:2539: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:2542: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:2544: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:2547: \$? = $ac_status" >&5 (exit $ac_status); }{ (eval echo "$as_me:2549: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? echo "$as_me:2552: \$? = $ac_status" >&5 (exit $ac_status); }cat >conftest.$ac_ext <<_ACEOF#line 2556 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files a.out a.exe"# Try to create an executable without -o first, disregard a.out.# It will help us diagnose broken compilers, and finding out an intuition# of exeext.echo "$as_me:2572: checking for C compiler default output" >&5echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`if { (eval echo "$as_me:2575: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:2578: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is# not robust to junk in `.', hence go to wildcards (a.*) only as a last# resort.for ac_file in `ls a.exe conftest.exe 2>/dev/null; ls a.out conftest 2>/dev/null; ls a.* conftest.* 2>/dev/null`; do case $ac_file in *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; a.out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool --akim. export ac_cv_exeext break;; * ) break;; esacdoneelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5{ { echo "$as_me:2601: error: C compiler cannot create executables" >&5echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; }fiac_exeext=$ac_cv_exeextecho "$as_me:2607: result: $ac_file" >&5echo "${ECHO_T}$ac_file" >&6# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:2612: checking whether the C compiler works" >&5echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6# FIXME: These cross compiler hacks should be removed for Autoconf 3.0# If not cross compiling, check that we can run a simple program.if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (eval echo "$as_me:2618: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2621: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:2628: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'." >&5echo "$as_me: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'." >&2;} { (exit 1); exit 1; }; } fi fifiecho "$as_me:2636: result: yes" >&5echo "${ECHO_T}yes" >&6rm -f a.out a.exe conftest$ac_cv_exeextac_clean_files=$ac_clean_files_save# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo "$as_me:2643: checking whether we are cross compiling" >&5echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6echo "$as_me:2645: result: $cross_compiling" >&5echo "${ECHO_T}$cross_compiling" >&6echo "$as_me:2648: checking for executable suffix" >&5echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6if { (eval echo "$as_me:2650: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:2653: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable)# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will# work properly (i.e., refer to `conftest.exe'), while it won't with# `rm'.for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esacdoneelse { { echo "$as_me:2669: error: cannot compute EXEEXT: cannot compile and link" >&5echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; }firm -f conftest$ac_cv_exeextecho "$as_me:2675: result: $ac_cv_exeext" >&5echo "${ECHO_T}$ac_cv_exeext" >&6rm -f conftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXTecho "$as_me:2681: checking for object suffix" >&5echo $ECHO_N "checking for object suffix... $ECHO_C" >&6if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 2687 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFrm -f conftest.o conftest.objif { (eval echo "$as_me:2699: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2702: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esacdoneelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5{ { echo "$as_me:2714: error: cannot compute OBJEXT: cannot compile" >&5echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; }firm -f conftest.$ac_cv_objext conftest.$ac_extfiecho "$as_me:2721: result: $ac_cv_objext" >&5echo "${ECHO_T}$ac_cv_objext" >&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho "$as_me:2725: checking whether we are using the GNU C compiler" >&5echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 2731 "configure"#include "confdefs.h"intmain (){#ifndef __GNUC__ choke me#endif ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:2746: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2749: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:2752: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2755: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_compiler_gnu=nofirm -f conftest.$ac_objext conftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho "$as_me:2767: result: $ac_cv_c_compiler_gnu" >&5echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6GCC=`test $ac_compiler_gnu = yes && echo yes`ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"echo "$as_me:2773: checking whether $CC accepts -g" >&5echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 2779 "configure"#include "confdefs.h"intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:2791: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2794: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:2797: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2800: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_prog_cc_g=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:2810: result: $ac_cv_prog_cc_g" >&5echo "${ECHO_T}$ac_cv_prog_cc_g" >&6if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGSelif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fielse if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fifi# Some people use a C++ compiler to compile C. Since we use `exit',# in C++ we need to declare it. In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.cat >conftest.$ac_ext <<_ACEOF#ifndef __cplusplus choke me#endif_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:2837: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2840: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:2843: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2846: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ '#include <stdlib.h>' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);'do cat >conftest.$ac_ext <<_ACEOF#line 2858 "configure"#include "confdefs.h"#include <stdlib.h>$ac_declarationintmain (){exit (42); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:2871: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2874: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:2877: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2880: \$? = $ac_status" >&5 (exit $ac_status); }; }; then :else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5continuefirm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF#line 2890 "configure"#include "confdefs.h"$ac_declarationintmain (){exit (42); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:2902: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:2905: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:2908: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:2911: \$? = $ac_status" >&5 (exit $ac_status); }; }; then breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extdonerm -f conftest*if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.hfielse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_extac_ext=cac_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_compiler_gnu=$ac_cv_c_compiler_gnu# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then CPP=fi#### Some systems specify a CPP to use unless we are using GCC.#### Now that we know whether we are using GCC, we can decide whether#### to use that one.if test "x$NON_GNU_CPP" != x && test x$GCC != xyes && test "x$CPP" = xthen CPP="$NON_GNU_CPP"fi#### Some systems specify a CC to use unless we are using GCC.#### Now that we know whether we are using GCC, we can decide whether#### to use that one.if test "x$NON_GNU_CC" != x && test x$GCC != xyes && test x$cc_specified != xyesthen CC="$NON_GNU_CC"fiif test x$GCC = xyes && test "x$GCC_TEST_OPTIONS" != xthen CC="$CC $GCC_TEST_OPTIONS"fiif test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != xthen CC="$CC $NON_GCC_TEST_OPTIONS"fiif test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != xthen ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"fiif test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != xthen ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"fi#### Some other nice autoconf tests. If you add a test here which#### should make an entry in src/config.h, don't forget to add an#### #undef clause to src/config.h.in for autoconf to modify.echo "$as_me:2984: checking whether ln -s works" >&5echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6LN_S=$as_ln_sif test "$LN_S" = "ln -s"; then echo "$as_me:2988: result: yes" >&5echo "${ECHO_T}yes" >&6else echo "$as_me:2991: result: no, using $LN_S" >&5echo "${ECHO_T}no, using $LN_S" >&6fiac_ext=cac_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_compiler_gnu=$ac_cv_c_compiler_gnuecho "$as_me:3000: checking how to run the C preprocessor" >&5echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then CPP=fiif test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF#line 3021 "configure"#include "confdefs.h"#include <assert.h> Syntax error_ACEOFif { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3032: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then :else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 # Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF#line 3055 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:3059: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3065: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then # Broken: success on invalid input.continueelse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 # Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; then breakfi done ac_cv_prog_CPP=$CPPfi CPP=$ac_cv_prog_CPPelse ac_cv_prog_CPP=$CPPfiecho "$as_me:3102: result: $CPP" >&5echo "${ECHO_T}$CPP" >&6ac_preproc_ok=falsefor ac_c_preproc_warn_flag in '' yesdo # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF#line 3112 "configure"#include "confdefs.h"#include <assert.h> Syntax error_ACEOFif { (eval echo "$as_me:3117: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3123: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then :else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 # Broken: fails on valid input.continuefirm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF#line 3146 "configure"#include "confdefs.h"#include <ac_nonexistent.h>_ACEOFif { (eval echo "$as_me:3150: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3156: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then # Broken: success on invalid input.continueelse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 # Passes both tests.ac_preproc_ok=:breakfirm -f conftest.err conftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.rm -f conftest.err conftest.$ac_extif $ac_preproc_ok; then :else { { echo "$as_me:3184: error: C preprocessor \"$CPP\" fails sanity check" >&5echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; }fiac_ext=cac_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_compiler_gnu=$ac_cv_c_compiler_gnu# 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:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# ./install, which can be erroneously created by make from ./install.sh.echo "$as_me:3207: checking for a BSD compatible install" >&5echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6if test -z "$INSTALL"; thenif test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_save_IFS=$IFS; IFS=$ac_path_separator for ac_dir in $PATH; do IFS=$ac_save_IFS # Account for people who put trailing slashes in PATH elements. case $ac_dir/ in / | ./ | .// | /cC/* \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do if $as_executable_p "$ac_dir/$ac_prog"; then if test $ac_prog = install && grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$ac_dir/$ac_prog -c" break 2 fi fi done ;; esac donefi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fifiecho "$as_me:3256: result: $INSTALL" >&5echo "${ECHO_T}$INSTALL" >&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'for ac_prog in 'bison -y' byaccdo # Extract the first word of "$ac_prog", so it can be a program name with args.set dummy $ac_prog; ac_word=$2echo "$as_me:3271: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_YACC="$ac_prog"echo "$as_me:3286: found $ac_dir/$ac_word" >&5breakdonefifiYACC=$ac_cv_prog_YACCif test -n "$YACC"; then echo "$as_me:3294: result: $YACC" >&5echo "${ECHO_T}$YACC" >&6else echo "$as_me:3297: result: no" >&5echo "${ECHO_T}no" >&6fi test -n "$YACC" && breakdonetest -n "$YACC" || YACC="yacc"if test "x$RANLIB" = x; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo "$as_me:3309: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"echo "$as_me:3324: found $ac_dir/$ac_word" >&5breakdonefifiRANLIB=$ac_cv_prog_RANLIBif test -n "$RANLIB"; then echo "$as_me:3332: result: $RANLIB" >&5echo "${ECHO_T}$RANLIB" >&6else echo "$as_me:3335: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo "$as_me:3344: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="$PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_ac_ct_RANLIB="ranlib"echo "$as_me:3359: found $ac_dir/$ac_word" >&5breakdone test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"fifiac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIBif test -n "$ac_ct_RANLIB"; then echo "$as_me:3368: result: $ac_ct_RANLIB" >&5echo "${ECHO_T}$ac_ct_RANLIB" >&6else echo "$as_me:3371: result: no" >&5echo "${ECHO_T}no" >&6fi RANLIB=$ac_ct_RANLIBelse RANLIB="$ac_cv_prog_RANLIB"fifiecho "$as_me:3382: checking for AIX" >&5echo $ECHO_N "checking for AIX... $ECHO_C" >&6cat >conftest.$ac_ext <<_ACEOF#line 3385 "configure"#include "confdefs.h"#ifdef _AIX yes#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then echo "$as_me:3394: result: yes" >&5echo "${ECHO_T}yes" >&6cat >>confdefs.h <<\EOF#define _ALL_SOURCE 1EOFelse echo "$as_me:3401: result: no" >&5echo "${ECHO_T}no" >&6firm -f conftest*#### Extract some information from the operating system and machine files.{ echo "$as_me:3408: checking the machine- and system-dependent files to find out - which libraries the lib-src programs will want, and - whether the GNU malloc routines are usable..." >&5echo "$as_me: checking the machine- and system-dependent files to find out - which libraries the lib-src programs will want, and - whether the GNU malloc routines are usable..." >&6;}### First figure out CFLAGS (which we use for running the compiler here)### and REAL_CFLAGS (which we use for real compilation).### The two are the same except on a few systems, where they are made### different to work around various lossages. For example,### GCC 2.5 on GNU/Linux needs them to be different because it treats -g### as implying static linking.### If the CFLAGS env var is specified, we use that value### instead of the default.### It's not important that this name contain the PID; you can't run### two configures in the same directory and have anything work### anyway.tempcname="conftest.c"echo '#include "'${srcdir}'/src/'${opsysfile}'"#include "'${srcdir}'/src/'${machfile}'"#ifndef LIBS_MACHINE#define LIBS_MACHINE#endif#ifndef LIBS_SYSTEM#define LIBS_SYSTEM#endif#ifndef C_SWITCH_SYSTEM#define C_SWITCH_SYSTEM#endif#ifndef C_SWITCH_MACHINE#define C_SWITCH_MACHINE#endifconfigure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEMconfigure___ c_switch_system=C_SWITCH_SYSTEMconfigure___ c_switch_machine=C_SWITCH_MACHINE#ifndef LIB_X11_LIB#define LIB_X11_LIB -lX11#endif#ifndef LIBX11_MACHINE#define LIBX11_MACHINE#endif#ifndef LIBX11_SYSTEM#define LIBX11_SYSTEM#endifconfigure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM#ifdef UNEXECconfigure___ unexec=UNEXEC#elseconfigure___ unexec=unexec.o#endif#ifdef SYSTEM_MALLOCconfigure___ system_malloc=yes#elseconfigure___ system_malloc=no#endif#ifdef USE_MMAP_FOR_BUFFERSconfigure___ use_mmap_for_buffers=yes#elseconfigure___ use_mmap_for_buffers=no#endif#ifndef C_DEBUG_SWITCH#define C_DEBUG_SWITCH -g#endif#ifndef C_OPTIMIZE_SWITCH#ifdef __GNUC__#define C_OPTIMIZE_SWITCH -O2#else#define C_OPTIMIZE_SWITCH -O#endif#endif#ifndef LD_SWITCH_MACHINE#define LD_SWITCH_MACHINE#endif#ifndef LD_SWITCH_SYSTEM#define LD_SWITCH_SYSTEM#endif#ifndef LD_SWITCH_X_SITE_AUX#define LD_SWITCH_X_SITE_AUX#endifconfigure___ ld_switch_system=LD_SWITCH_SYSTEMconfigure___ ld_switch_machine=LD_SWITCH_MACHINE#ifdef THIS_IS_CONFIGURE/* Get the CFLAGS for tests in configure. */#ifdef __GNUC__configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'#elseconfigure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'#endif#else /* not THIS_IS_CONFIGURE *//* Get the CFLAGS for real compilation. */#ifdef __GNUC__configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'#elseconfigure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'#endif#endif /* not THIS_IS_CONFIGURE */' > ${tempcname}# The value of CPP is a quoted variable reference, so we need to do this# to get its actual value...CPP=`eval "echo $CPP"`eval `${CPP} -Isrc ${tempcname} \ | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`if test "x$SPECIFIED_CFLAGS" = x; then eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`else REAL_CFLAGS="$CFLAGS"firm ${tempcname}ac_link="$ac_link $ld_switch_machine $ld_switch_system"### Make sure subsequent tests use flags consistent with the build flags.if test x"${OVERRIDE_CPPFLAGS}" != x; then CPPFLAGS="${OVERRIDE_CPPFLAGS}"else CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"fi# Check whether --enable-largefile or --disable-largefile was given.if test "${enable_largefile+set}" = set; then enableval="$enable_largefile"fi;if test "$enable_largefile" != no; then echo "$as_me:3558: checking for special C compiler options needed for large files" >&5echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC 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. cat >conftest.$ac_ext <<_ACEOF#line 3570 "configure"#include "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];intmain (){ ; return 0;}_ACEOF rm -f conftest.$ac_objextif { (eval echo "$as_me:3590: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3593: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3596: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3599: \$? = $ac_status" >&5 (exit $ac_status); }; }; then breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext CC="$CC -n32" rm -f conftest.$ac_objextif { (eval echo "$as_me:3609: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3612: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3615: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3618: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_CC=' -n32'; breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fifiecho "$as_me:3632: result: $ac_cv_sys_largefile_CC" >&5echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi echo "$as_me:3638: checking for _FILE_OFFSET_BITS value needed for large files" >&5echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else while :; do ac_cv_sys_file_offset_bits=no cat >conftest.$ac_ext <<_ACEOF#line 3646 "configure"#include "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];intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:3666: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3669: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3672: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3675: \$? = $ac_status" >&5 (exit $ac_status); }; }; then breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF#line 3684 "configure"#include "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];intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:3705: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3708: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3711: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3714: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_file_offset_bits=64; breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext breakdonefiecho "$as_me:3725: result: $ac_cv_sys_file_offset_bits" >&5echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6if test "$ac_cv_sys_file_offset_bits" != no; thencat >>confdefs.h <<EOF#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bitsEOFfirm -f conftest* echo "$as_me:3735: checking for _LARGE_FILES value needed for large files" >&5echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else while :; do ac_cv_sys_large_files=no cat >conftest.$ac_ext <<_ACEOF#line 3743 "configure"#include "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];intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:3763: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3766: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3769: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3772: \$? = $ac_status" >&5 (exit $ac_status); }; }; then breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF#line 3781 "configure"#include "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];intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:3802: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:3805: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:3808: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3811: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_large_files=1; breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext breakdonefiecho "$as_me:3822: result: $ac_cv_sys_large_files" >&5echo "${ECHO_T}$ac_cv_sys_large_files" >&6if test "$ac_cv_sys_large_files" != no; thencat >>confdefs.h <<EOF#define _LARGE_FILES $ac_cv_sys_large_filesEOFfirm -f conftest*fi# Sound support for GNU/Linux and the free BSDs.for ac_header in machine/soundcard.h sys/soundcard.h soundcard.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:3839: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 3845 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:3849: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3855: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:3874: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidone# Emulation library used on NetBSD.echo "$as_me:3885: checking for _oss_ioctl in -lossaudio" >&5echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lossaudio $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 3893 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char _oss_ioctl ();intmain (){_oss_ioctl (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:3912: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:3915: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:3918: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:3921: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ossaudio__oss_ioctl=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_ossaudio__oss_ioctl=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:3932: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then LIBSOUND=-lossaudioelse LIBSOUND=fifor ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ termcap.h stdio_ext.h fcntl.h term.h strings.h coff.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:3945: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 3951 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:3955: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:3961: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:3980: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidoneecho "$as_me:3990: checking for ANSI C header files" >&5echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 3996 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>_ACEOFif { (eval echo "$as_me:4004: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:4010: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_stdc=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_stdc=nofirm -f conftest.err conftest.$ac_extif test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF#line 4032 "configure"#include "confdefs.h"#include <string.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "memchr" >/dev/null 2>&1; then :else ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF#line 4050 "configure"#include "confdefs.h"#include <stdlib.h>_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "free" >/dev/null 2>&1; then :else ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then :else cat >conftest.$ac_ext <<_ACEOF#line 4071 "configure"#include "confdefs.h"#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z'))# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))#endif#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))intmain (){ int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:4097: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:4100: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:4102: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4105: \$? = $ac_status" >&5 (exit $ac_status); }; }; then :else echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_header_stdc=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfififiecho "$as_me:4118: result: $ac_cv_header_stdc" >&5echo "${ECHO_T}$ac_cv_header_stdc" >&6if test $ac_cv_header_stdc = yes; thencat >>confdefs.h <<\EOF#define STDC_HEADERS 1EOFfiecho "$as_me:4128: checking whether time.h and sys/time.h may both be included" >&5echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4134 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/time.h>#include <time.h>intmain (){if ((struct tm *) 0)return 0; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4150: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4153: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4156: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4159: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_header_time=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4169: result: $ac_cv_header_time" >&5echo "${ECHO_T}$ac_cv_header_time" >&6if test $ac_cv_header_time = yes; thencat >>confdefs.h <<\EOF#define TIME_WITH_SYS_TIME 1EOFfiecho "$as_me:4179: checking for sys_siglist declaration in signal.h or unistd.h" >&5echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6if test "${ac_cv_decl_sys_siglist+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4185 "configure"#include "confdefs.h"#include <sys/types.h>#include <signal.h>/* NetBSD declares sys_siglist in unistd.h. */#if HAVE_UNISTD_H# include <unistd.h>#endifintmain (){char *msg = *(sys_siglist + 1); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4203: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4206: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4209: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4212: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_decl_sys_siglist=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_decl_sys_siglist=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4222: result: $ac_cv_decl_sys_siglist" >&5echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6if test $ac_cv_decl_sys_siglist = yes; thencat >>confdefs.h <<\EOF#define SYS_SIGLIST_DECLARED 1EOFfiecho "$as_me:4232: checking for sys/wait.h that is POSIX.1 compatible" >&5echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6if test "${ac_cv_header_sys_wait_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4238 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/wait.h>#ifndef WEXITSTATUS# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)#endif#ifndef WIFEXITED# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)#endifintmain (){ int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4260: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4263: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4266: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4269: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_sys_wait_h=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_header_sys_wait_h=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4279: result: $ac_cv_header_sys_wait_h" >&5echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6if test $ac_cv_header_sys_wait_h = yes; thencat >>confdefs.h <<\EOF#define HAVE_SYS_WAIT_H 1EOFfiecho "$as_me:4289: checking for struct utimbuf" >&5echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6if test "${emacs_cv_struct_utimbuf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4295 "configure"#include "confdefs.h"#ifdef TIME_WITH_SYS_TIME#include <sys/time.h>#include <time.h>#else#ifdef HAVE_SYS_TIME_H#include <sys/time.h>#else#include <time.h>#endif#endif#ifdef HAVE_UTIME_H#include <utime.h>#endifintmain (){static struct utimbuf x; x.actime = x.modtime; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4319: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4322: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4325: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4328: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_struct_utimbuf=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_struct_utimbuf=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4338: result: $emacs_cv_struct_utimbuf" >&5echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6if test $emacs_cv_struct_utimbuf = yes; then cat >>confdefs.h <<\EOF#define HAVE_STRUCT_UTIMBUF 1EOFfiecho "$as_me:4347: checking return type of signal handlers" >&5echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4353 "configure"#include "confdefs.h"#include <sys/types.h>#include <signal.h>#ifdef signal# undef signal#endif#ifdef __cplusplusextern "C" void (*signal (int, void (*)(int)))(int);#elsevoid (*signal ()) ();#endifintmain (){int i; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4375: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4378: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4381: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4384: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=voidelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_type_signal=intfirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4394: result: $ac_cv_type_signal" >&5echo "${ECHO_T}$ac_cv_type_signal" >&6cat >>confdefs.h <<EOF#define RETSIGTYPE $ac_cv_type_signalEOFecho "$as_me:4401: checking for speed_t" >&5echo $ECHO_N "checking for speed_t... $ECHO_C" >&6if test "${emacs_cv_speed_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4407 "configure"#include "confdefs.h"#include <termios.h>intmain (){speed_t x = 1; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4419: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4422: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4425: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4428: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_speed_t=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_speed_t=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4438: result: $emacs_cv_speed_t" >&5echo "${ECHO_T}$emacs_cv_speed_t" >&6if test $emacs_cv_speed_t = yes; then cat >>confdefs.h <<\EOF#define HAVE_SPEED_T 1EOFfiecho "$as_me:4447: checking for struct timeval" >&5echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6if test "${emacs_cv_struct_timeval+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4453 "configure"#include "confdefs.h"#ifdef TIME_WITH_SYS_TIME#include <sys/time.h>#include <time.h>#else#ifdef HAVE_SYS_TIME_H#include <sys/time.h>#else#include <time.h>#endif#endifintmain (){static struct timeval x; x.tv_sec = x.tv_usec; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4474: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4477: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4480: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4483: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_struct_timeval=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_struct_timeval=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4493: result: $emacs_cv_struct_timeval" >&5echo "${ECHO_T}$emacs_cv_struct_timeval" >&6HAVE_TIMEVAL=$emacs_cv_struct_timevalif test $emacs_cv_struct_timeval = yes; then cat >>confdefs.h <<\EOF#define HAVE_TIMEVAL 1EOFfiecho "$as_me:4503: checking for struct exception" >&5echo $ECHO_N "checking for struct exception... $ECHO_C" >&6if test "${emacs_cv_struct_exception+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4509 "configure"#include "confdefs.h"#include <math.h>intmain (){static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4521: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4524: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4527: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4530: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_struct_exception=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_struct_exception=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4540: result: $emacs_cv_struct_exception" >&5echo "${ECHO_T}$emacs_cv_struct_exception" >&6HAVE_EXCEPTION=$emacs_cv_struct_exceptionif test $emacs_cv_struct_exception != yes; then cat >>confdefs.h <<\EOF#define NO_MATHERR 1EOFfiecho "$as_me:4550: checking whether struct tm is in sys/time.h or time.h" >&5echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6if test "${ac_cv_struct_tm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4556 "configure"#include "confdefs.h"#include <sys/types.h>#include <time.h>intmain (){struct tm *tp; tp->tm_sec; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4570: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4573: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4576: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4579: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_struct_tm=time.helse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_struct_tm=sys/time.hfirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4589: result: $ac_cv_struct_tm" >&5echo "${ECHO_T}$ac_cv_struct_tm" >&6if test $ac_cv_struct_tm = sys/time.h; thencat >>confdefs.h <<\EOF#define TM_IN_SYS_TIME 1EOFfiecho "$as_me:4599: checking for struct tm.tm_zone" >&5echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4605 "configure"#include "confdefs.h"#include <sys/types.h>#include <$ac_cv_struct_tm>intmain (){static struct tm ac_aggr;if (ac_aggr.tm_zone)return 0; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4621: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4624: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4627: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4630: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_member_struct_tm_tm_zone=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_member_struct_tm_tm_zone=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4640: result: $ac_cv_member_struct_tm_tm_zone" >&5echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6if test $ac_cv_member_struct_tm_tm_zone = yes; thencat >>confdefs.h <<EOF#define HAVE_STRUCT_TM_TM_ZONE 1EOFfiif test "$ac_cv_member_struct_tm_tm_zone" = yes; thencat >>confdefs.h <<\EOF#define HAVE_TM_ZONE 1EOFelse echo "$as_me:4657: checking for tzname" >&5echo $ECHO_N "checking for tzname... $ECHO_C" >&6if test "${ac_cv_var_tzname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4663 "configure"#include "confdefs.h"#include <time.h>#ifndef tzname /* For SGI. */extern char *tzname[]; /* RS6000 and others reject char **tzname. */#endifintmain (){atoi(*tzname); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:4679: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:4682: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:4685: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4688: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_var_tzname=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_var_tzname=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:4698: result: $ac_cv_var_tzname" >&5echo "${ECHO_T}$ac_cv_var_tzname" >&6 if test $ac_cv_var_tzname = yes; thencat >>confdefs.h <<\EOF#define HAVE_TZNAME 1EOF fifiecho "$as_me:4709: checking for tm_gmtoff in struct tm" >&5echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6if test "${emacs_cv_tm_gmtoff+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4715 "configure"#include "confdefs.h"#include <time.h>intmain (){struct tm t; t.tm_gmtoff = 0 ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:4727: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:4730: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:4733: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4736: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_tm_gmtoff=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_tm_gmtoff=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:4746: result: $emacs_cv_tm_gmtoff" >&5echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6if test $emacs_cv_tm_gmtoff = yes; then cat >>confdefs.h <<\EOF#define HAVE_TM_GMTOFF 1EOFfiecho "$as_me:4755: checking for $CC option to accept ANSI C" >&5echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_prog_cc_stdc=noac_save_CC=$CCcat >conftest.$ac_ext <<_ACEOF#line 4763 "configure"#include "confdefs.h"#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i) char **p; int i;{ return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){ char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s;}int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;intmain (){return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0;}_ACEOF# Don't try gcc -ansi; that turns off useful extensions and# breaks some systems' header files.# AIX -qlanglvl=ansi# Ultrix and OSF/1 -std1# HP-UX 10.20 and later -Ae# HP-UX older versions -Aa -D_HPUX_SOURCE# SVR4 -Xc -D__EXTENSIONS__for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objextif { (eval echo "$as_me:4812: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4815: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4818: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4821: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_argbreakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objextdonerm -f conftest.$ac_ext conftest.$ac_objextCC=$ac_save_CCficase "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:4838: result: none needed" >&5echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:4841: result: $ac_cv_prog_cc_stdc" >&5echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;;esacecho "$as_me:4846: checking for function prototypes" >&5echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6if test "$ac_cv_prog_cc_stdc" != no; then echo "$as_me:4849: result: yes" >&5echo "${ECHO_T}yes" >&6cat >>confdefs.h <<\EOF#define PROTOTYPES 1EOFelse echo "$as_me:4857: result: no" >&5echo "${ECHO_T}no" >&6fiecho "$as_me:4861: checking for working volatile" >&5echo $ECHO_N "checking for working volatile... $ECHO_C" >&6if test "${ac_cv_c_volatile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4867 "configure"#include "confdefs.h"intmain (){volatile int x;int * volatile y; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4881: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4884: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4887: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4890: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_volatile=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_c_volatile=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4900: result: $ac_cv_c_volatile" >&5echo "${ECHO_T}$ac_cv_c_volatile" >&6if test $ac_cv_c_volatile = no; thencat >>confdefs.h <<\EOF#define volatileEOFfiecho "$as_me:4910: checking for an ANSI C-conforming const" >&5echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 4916 "configure"#include "confdefs.h"intmain (){/* FIXME: Include the comments suggested by Paul. */#ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; }#endif ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:4974: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:4977: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:4980: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:4983: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_c_const=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:4993: result: $ac_cv_c_const" >&5echo "${ECHO_T}$ac_cv_c_const" >&6if test $ac_cv_c_const = no; thencat >>confdefs.h <<\EOF#define constEOFfiecho "$as_me:5003: checking for void * support" >&5echo $ECHO_N "checking for void * support... $ECHO_C" >&6if test "${emacs_cv_void_star+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5009 "configure"#include "confdefs.h"intmain (){void * foo; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:5021: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:5024: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:5027: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5030: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_void_star=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_void_star=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:5040: result: $emacs_cv_void_star" >&5echo "${ECHO_T}$emacs_cv_void_star" >&6if test $emacs_cv_void_star = yes; then cat >>confdefs.h <<\EOF#define POINTER_TYPE voidEOFelse cat >>confdefs.h <<\EOF#define POINTER_TYPE charEOFfiecho "$as_me:5054: checking whether ${MAKE-make} sets \${MAKE}" >&5echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.make <<\EOFall: @echo 'ac_maketemp="${MAKE}"'EOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yeselse eval ac_cv_prog_make_${ac_make}_set=nofirm -f conftest.makefiif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:5074: result: yes" >&5echo "${ECHO_T}yes" >&6 SET_MAKE=else echo "$as_me:5078: result: no" >&5echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}"fiecho "$as_me:5083: checking for long file names" >&5echo $ECHO_N "checking for long file names... $ECHO_C" >&6if test "${ac_cv_sys_long_file_names+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_cv_sys_long_file_names=yes# Test for long file names in all the places we know might matter:# . the current directory, where building will happen# $prefix/lib where we will be installing things# $exec_prefix/lib likewise# eval it to expand exec_prefix.# $TMPDIR if set, where it might want to write temporary files# if $TMPDIR is not set:# /tmp where it might want to write temporary files# /var/tmp likewise# /usr/tmp likewiseif test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then ac_tmpdirs=$TMPDIRelse ac_tmpdirs='/tmp /var/tmp /usr/tmp'fifor ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do test -d $ac_dir || continue test -w $ac_dir || continue # It is less confusing to not echo anything here. ac_xdir=$ac_dir/cf$$ (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue ac_tf1=$ac_xdir/conftest9012345 ac_tf2=$ac_xdir/conftest9012346 (echo 1 >$ac_tf1) 2>/dev/null (echo 2 >$ac_tf2) 2>/dev/null ac_val=`cat $ac_tf1 2>/dev/null` if test ! -f $ac_tf1 || test "$ac_val" != 1; then ac_cv_sys_long_file_names=no rm -rf $ac_xdir 2>/dev/null break fi rm -rf $ac_xdir 2>/dev/nulldonefiecho "$as_me:5122: result: $ac_cv_sys_long_file_names" >&5echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6if test $ac_cv_sys_long_file_names = yes; thencat >>confdefs.h <<\EOF#define HAVE_LONG_FILE_NAMES 1EOFfi#### Choose a window system.echo "$as_me:5134: checking for X" >&5echo $ECHO_N "checking for X... $ECHO_C" >&6# Check whether --with-x or --without-x was given.if test "${with_x+set}" = set; then withval="$with_x"fi;# $have_x is `yes', `no', `disabled', or empty when we do not yet know.if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabledelse if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then # Both variables are already set. have_x=yes else if test "${ac_cv_have_x+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # One or both of the vars are not set, and there is no cached value.ac_x_includes=no ac_x_libraries=norm -fr conftest.dirif mkdir conftest.dir; then cd conftest.dir # Make sure to not put "make" in the Imakefile rules, since we grep it out. cat >Imakefile <<'EOF'acfindx: @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'EOF if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl; do if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && test -f $ac_im_libdir/libX11.$ac_extension; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /lib) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -fr conftest.dirfi# Standard set of common directories for X headers.# Check X11 before X11Rn because it is often a symlink to the current release.ac_x_header_dirs='/usr/X11/include/usr/X11R6/include/usr/X11R5/include/usr/X11R4/include/usr/include/X11/usr/include/X11R6/usr/include/X11R5/usr/include/X11R4/usr/local/X11/include/usr/local/X11R6/include/usr/local/X11R5/include/usr/local/X11R4/include/usr/local/include/X11/usr/local/include/X11R6/usr/local/include/X11R5/usr/local/include/X11R4/usr/X386/include/usr/x386/include/usr/XFree86/include/X11/usr/include/usr/local/include/usr/unsupported/include/usr/athena/include/usr/local/x11r5/include/usr/lpp/Xamples/include/usr/openwin/include/usr/openwin/share/include'if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF#line 5231 "configure"#include "confdefs.h"#include <X11/Intrinsic.h>_ACEOFif { (eval echo "$as_me:5235: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:5241: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then # We can compile using X headers with no special include directory.ac_x_includes=else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Intrinsic.h"; then ac_x_includes=$ac_dir break fidonefirm -f conftest.err conftest.$ac_extfi # $ac_x_includes = noif test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lXt $LIBS" cat >conftest.$ac_ext <<_ACEOF#line 5274 "configure"#include "confdefs.h"#include <X11/Intrinsic.h>intmain (){XtMalloc (0) ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5286: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5289: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:5292: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5295: \$? = $ac_status" >&5 (exit $ac_status); }; }; then LIBS=$ac_save_LIBS# We can link X programs with no special library path.ac_x_libraries=else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5LIBS=$ac_save_LIBSfor ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl; do if test -r $ac_dir/libXt.$ac_extension; then ac_x_libraries=$ac_dir break 2 fi donedonefirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfi # $ac_x_libraries = noif test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then # Didn't find X anywhere. Cache the known absence of X. ac_cv_have_x="have_x=no"else # Record where we found X for the cache. ac_cv_have_x="have_x=yes \ ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"fifi fi eval "$ac_cv_have_x"fi # $with_x != noif test "$have_x" != yes; then echo "$as_me:5333: result: $have_x" >&5echo "${ECHO_T}$have_x" >&6 no_x=yeselse # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes \ ac_x_includes=$x_includes ac_x_libraries=$x_libraries" echo "$as_me:5343: result: libraries $x_libraries, headers $x_includes" >&5echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6fiif test "$no_x" = yes; then window_system=noneelse window_system=x11fiif test "${x_libraries}" != NONE && test -n "${x_libraries}"; then LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` x_default_search_path="" for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do x_search_path="\${x_library}/X11/%L/%T/%N%C%S:\${x_library}/X11/%l/%T/%N%C%S:\${x_library}/X11/%T/%N%C%S:\${x_library}/X11/%L/%T/%N%S:\${x_library}/X11/%l/%T/%N%S:\${x_library}/X11/%T/%N%S" if test x"${x_default_search_path}" = x; then x_default_search_path=${x_search_path} else x_default_search_path="${x_search_path}:${x_default_search_path}" fi donefiif test "${x_includes}" != NONE && test -n "${x_includes}"; then C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`fiif test x"${x_includes}" = x; then bitmapdir=/usr/include/X11/bitmapselse # accumulate include directories that have X11 bitmap subdirectories bmd_acc="dummyval" for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do if test -d "${bmd}/X11/bitmaps"; then bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps" fi if test -d "${bmd}/bitmaps"; then bmd_acc="${bmd_acc}:${bmd}/bitmaps" fi done if test ${bmd_acc} != "dummyval"; then bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"` fificase "${window_system}" in x11 ) HAVE_X_WINDOWS=yes HAVE_X11=yes case "${with_x_toolkit}" in athena | lucid ) USE_X_TOOLKIT=LUCID ;; motif ) USE_X_TOOLKIT=MOTIF ;; no ) USE_X_TOOLKIT=none ;; * ) USE_X_TOOLKIT=maybe ;; esac ;; none ) HAVE_X_WINDOWS=no HAVE_X11=no USE_X_TOOLKIT=none ;;esac### If we're using X11, we should use the X menu package.HAVE_MENUS=nocase ${HAVE_X11} in yes ) HAVE_MENUS=yes ;;esacif test "${opsys}" = "hpux9"; then case "${x_libraries}" in *X11R4* ) opsysfile="s/hpux9-x11r4.h" ;; esacfiif test "${opsys}" = "hpux9shr"; then case "${x_libraries}" in *X11R4* ) opsysfile="s/hpux9shxr4.h" ;; esacfi### Compute the unexec source name from the object name.UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"# Do the opsystem or machine files prohibit the use of the GNU malloc?# Assume not, until told otherwise.GNU_MALLOC=yesdoug_lea_malloc=yesecho "$as_me:5441: checking for malloc_get_state" >&5echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6if test "${ac_cv_func_malloc_get_state+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5447 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char malloc_get_state (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char malloc_get_state ();char (*f) ();intmain (){/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)choke me#elsef = malloc_get_state;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5478: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5481: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:5484: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5487: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_malloc_get_state=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_malloc_get_state=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:5497: result: $ac_cv_func_malloc_get_state" >&5echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6if test $ac_cv_func_malloc_get_state = yes; then :else doug_lea_malloc=nofiecho "$as_me:5505: checking for malloc_set_state" >&5echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6if test "${ac_cv_func_malloc_set_state+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5511 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char malloc_set_state (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char malloc_set_state ();char (*f) ();intmain (){/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)choke me#elsef = malloc_set_state;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5542: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5545: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:5548: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5551: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_malloc_set_state=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_malloc_set_state=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:5561: result: $ac_cv_func_malloc_set_state" >&5echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6if test $ac_cv_func_malloc_set_state = yes; then :else doug_lea_malloc=nofiecho "$as_me:5569: checking whether __after_morecore_hook exists" >&5echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6if test "${emacs_cv_var___after_morecore_hook+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5575 "configure"#include "confdefs.h"extern void (* __after_morecore_hook)();intmain (){__after_morecore_hook = 0 ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5587: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5590: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:5593: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5596: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_var___after_morecore_hook=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_var___after_morecore_hook=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:5606: result: $emacs_cv_var___after_morecore_hook" >&5echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6if test $emacs_cv_var___after_morecore_hook = no; then doug_lea_malloc=nofiif test "${system_malloc}" = "yes"; then GNU_MALLOC=no GNU_MALLOC_reason=" (The GNU allocators don't work with this system configuration.)"fiif test "$doug_lea_malloc" = "yes" ; then if test "$GNU_MALLOC" = yes ; then GNU_MALLOC_reason=" (Using Doug Lea's new malloc from the GNU C Library.)" fi cat >>confdefs.h <<\EOF#define DOUG_LEA_MALLOC 1EOFfiif test x"${REL_ALLOC}" = x; then REL_ALLOC=${GNU_MALLOC}fi# On IRIX 5.3, sys/types and inttypes.h are conflicting.for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:5637: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5643 "configure"#include "confdefs.h"$ac_includes_default#include <$ac_header>_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:5649: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:5652: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:5655: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5658: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_Header=no"firm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:5668: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_header in stdlib.h unistd.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:5681: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5687 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:5691: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:5697: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:5716: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_func in getpagesizedoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:5729: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 5735 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5766: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5769: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:5772: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5775: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:5785: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidoneecho "$as_me:5795: checking for working mmap" >&5echo $ECHO_N "checking for working mmap... $ECHO_C" >&6if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=noelse cat >conftest.$ac_ext <<_ACEOF#line 5804 "configure"#include "confdefs.h"$ac_includes_default/* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the file system buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */#include <fcntl.h>#include <sys/mman.h>#if !STDC_HEADERS && !HAVE_STDLIB_Hchar *malloc ();#endif/* This mess was copied from the GNU getpagesize.h. */#if !HAVE_GETPAGESIZE/* Assume that all systems that can run configure have sys/param.h. */# if !HAVE_SYS_PARAM_H# define HAVE_SYS_PARAM_H 1# endif# ifdef _SC_PAGESIZE# define getpagesize() sysconf(_SC_PAGESIZE)# else /* no _SC_PAGESIZE */# if HAVE_SYS_PARAM_H# include <sys/param.h># ifdef EXEC_PAGESIZE# define getpagesize() EXEC_PAGESIZE# else /* no EXEC_PAGESIZE */# ifdef NBPG# define getpagesize() NBPG * CLSIZE# ifndef CLSIZE# define CLSIZE 1# endif /* no CLSIZE */# else /* no NBPG */# ifdef NBPC# define getpagesize() NBPC# else /* no NBPC */# ifdef PAGESIZE# define getpagesize() PAGESIZE# endif /* PAGESIZE */# endif /* no NBPC */# endif /* no NBPG */# endif /* no EXEC_PAGESIZE */# else /* no HAVE_SYS_PARAM_H */# define getpagesize() 8192 /* punt totally */# endif /* no HAVE_SYS_PARAM_H */# endif /* no _SC_PAGESIZE */#endif /* no HAVE_GETPAGESIZE */intmain (){ char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize (); /* First, make a file with some known garbage in it. */ data = (char *) malloc (pagesize); if (!data) exit (1); for (i = 0; i < pagesize; ++i) *(data + i) = rand (); umask (0); fd = creat ("conftest.mmap", 0600); if (fd < 0) exit (1); if (write (fd, data, pagesize) != pagesize) exit (1); close (fd); /* Next, try to mmap the file at a fixed address which already has something else allocated at it. If we can, also make sure that we see the same garbage. */ fd = open ("conftest.mmap", O_RDWR); if (fd < 0) exit (1); data2 = (char *) malloc (2 * pagesize); if (!data2) exit (1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit (1); /* Finally, make sure that changes to the mapped area do not percolate back to the file as seen by read(). (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char *) malloc (pagesize); if (!data3) exit (1); if (read (fd, data3, pagesize) != pagesize) exit (1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit (1); close (fd); exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:5931: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5934: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:5936: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:5939: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yeselse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_mmap_fixed_mapped=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:5951: result: $ac_cv_func_mmap_fixed_mapped" >&5echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6if test $ac_cv_func_mmap_fixed_mapped = yes; thencat >>confdefs.h <<\EOF#define HAVE_MMAP 1EOFfirm -f conftest.mmapif test $use_mmap_for_buffers = yes; then REL_ALLOC=nofiLIBS="$libsrc_libs $LIBS"echo "$as_me:5968: checking for dnet_ntoa in -ldnet" >&5echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ldnet $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 5976 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dnet_ntoa ();intmain (){dnet_ntoa (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:5995: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:5998: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6001: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6004: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dnet_dnet_ntoa=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_dnet_dnet_ntoa=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6015: result: $ac_cv_lib_dnet_dnet_ntoa" >&5echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6if test $ac_cv_lib_dnet_dnet_ntoa = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBDNET 1EOF LIBS="-ldnet $LIBS"fiecho "$as_me:6026: checking for main in -lXbsd" >&5echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6if test "${ac_cv_lib_Xbsd_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXbsd $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6034 "configure"#include "confdefs.h"intmain (){main (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6046: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6049: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6052: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6055: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xbsd_main=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xbsd_main=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6066: result: $ac_cv_lib_Xbsd_main" >&5echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6if test $ac_cv_lib_Xbsd_main = yes; then LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"fiecho "$as_me:6072: checking for cma_open in -lpthreads" >&5echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lpthreads $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6080 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char cma_open ();intmain (){cma_open (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6099: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6102: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6105: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6108: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_pthreads_cma_open=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_pthreads_cma_open=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6119: result: $ac_cv_lib_pthreads_cma_open" >&5echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6if test $ac_cv_lib_pthreads_cma_open = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBPTHREADS 1EOF LIBS="-lpthreads $LIBS"fiecho "$as_me:6130: checking for XFree86 in /usr/X386" >&5echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6if test -d /usr/X386/include; then HAVE_XFREE386=yes : ${C_SWITCH_X_SITE="-I/usr/X386/include"}else HAVE_XFREE386=nofiecho "$as_me:6138: result: $HAVE_XFREE386" >&5echo "${ECHO_T}$HAVE_XFREE386" >&6# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used# for the tests that follow. We set it back to REAL_CFLAGS later on.REAL_CPPFLAGS="$CPPFLAGS"if test "${HAVE_X11}" = "yes"; then DEFS="$C_SWITCH_X_SITE $DEFS" LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE" LIBS="$LIBX $LIBS" CFLAGS="$C_SWITCH_X_SITE $CFLAGS" CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS" # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. # This is handled by LD_SWITCH_X_SITE_AUX during the real build, # but it's more convenient here to set LD_RUN_PATH # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX. if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH export LD_RUN_PATH fi if test "${opsys}" = "gnu-linux"; then echo "$as_me:6163: checking whether X on GNU/Linux needs -b to link" >&5echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF#line 6166 "configure"#include "confdefs.h"intmain (){XOpenDisplay ("foo"); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6178: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6181: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6184: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6187: \$? = $ac_status" >&5 (exit $ac_status); }; }; then xlinux_first_failure=noelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5xlinux_first_failure=yesfirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "${xlinux_first_failure}" = "yes"; then OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" OLD_CPPFLAGS="$CPPFLAGS" OLD_LIBS="$LIBS" LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" CPPFLAGS="$CPPFLAGS -b i486-linuxaout" LIBS="$LIBS -b i486-linuxaout" cat >conftest.$ac_ext <<_ACEOF#line 6206 "configure"#include "confdefs.h"intmain (){XOpenDisplay ("foo"); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6218: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6221: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6224: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6227: \$? = $ac_status" >&5 (exit $ac_status); }; }; then xlinux_second_failure=noelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5xlinux_second_failure=yesfirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "${xlinux_second_failure}" = "yes"; then # If we get the same failure with -b, there is no use adding -b. # So take it out. This plays safe. LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" CPPFLAGS="$OLD_CPPFLAGS" LIBS="$OLD_LIBS" echo "$as_me:6243: result: no" >&5echo "${ECHO_T}no" >&6 else echo "$as_me:6246: result: yes" >&5echo "${ECHO_T}yes" >&6 fi else echo "$as_me:6250: result: no" >&5echo "${ECHO_T}no" >&6 fi fi # Reportedly, some broken Solaris systems have XKBlib.h but are missing # header files included from there. echo "$as_me:6257: checking for Xkb" >&5echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF#line 6260 "configure"#include "confdefs.h"#include <X11/Xlib.h>#include <X11/XKBlib.h>intmain (){XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6273: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6276: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6279: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6282: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_xkb=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_xkb=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext echo "$as_me:6291: result: $emacs_xkb" >&5echo "${ECHO_T}$emacs_xkb" >&6 if test $emacs_xkb = yes; then cat >>confdefs.h <<\EOF#define HAVE_XKBGETKEYBOARD 1EOF fifor ac_func in XrmSetDatabase XScreenResourceString \XScreenNumberOfScreen XSetWMProtocolsdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:6304: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6310 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6341: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6344: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6347: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6350: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:6360: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidonefiif test "${window_system}" = "x11"; then echo "$as_me:6373: checking X11 version 6" >&5echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 if test "${emacs_cv_x11_version_6+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6379 "configure"#include "confdefs.h"#include <X11/Xlib.h>intmain (){#if XlibSpecificationRelease < 6fail;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6394: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6397: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6400: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6403: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_x11_version_6=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_x11_version_6=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfi if test $emacs_cv_x11_version_6 = yes; then echo "$as_me:6415: result: 6 or newer" >&5echo "${ECHO_T}6 or newer" >&6 cat >>confdefs.h <<\EOF#define HAVE_X11R6 1EOF else echo "$as_me:6422: result: before 6" >&5echo "${ECHO_T}before 6" >&6 fifiif test "${window_system}" = "x11"; then echo "$as_me:6428: checking X11 version 5" >&5echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 if test "${emacs_cv_x11_version_5+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6434 "configure"#include "confdefs.h"#include <X11/Xlib.h>intmain (){#if XlibSpecificationRelease < 5fail;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6449: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6452: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6455: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6458: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_x11_version_5=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_x11_version_5=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfi if test $emacs_cv_x11_version_5 = yes; then echo "$as_me:6470: result: 5 or newer" >&5echo "${ECHO_T}5 or newer" >&6 HAVE_X11R5=yes cat >>confdefs.h <<\EOF#define HAVE_X11R5 1EOF else HAVE_X11R5=no echo "$as_me:6479: result: before 5" >&5echo "${ECHO_T}before 5" >&6 fifiif test x"${USE_X_TOOLKIT}" = xmaybe; then if test x"${HAVE_X11R5}" = xyes; then echo "$as_me:6486: checking X11 version 5 with Xaw" >&5echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6492 "configure"#include "confdefs.h"#include <X11/Intrinsic.h>#include <X11/Xaw/Simple.h>intmain (){ ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6506: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6509: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6512: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6515: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_x11_version_5_with_xaw=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_x11_version_5_with_xaw=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfi if test $emacs_cv_x11_version_5_with_xaw = yes; then echo "$as_me:6527: result: 5 or newer, with Xaw; use toolkit by default" >&5echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 USE_X_TOOLKIT=LUCID else echo "$as_me:6531: result: before 5 or no Xaw; do not use toolkit by default" >&5echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 USE_X_TOOLKIT=none fi else USE_X_TOOLKIT=none fifiX_TOOLKIT_TYPE=$USE_X_TOOLKITif test "${USE_X_TOOLKIT}" != "none"; then echo "$as_me:6543: checking X11 toolkit version" >&5echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6549 "configure"#include "confdefs.h"#include <X11/Intrinsic.h>intmain (){#if XtSpecificationRelease < 6fail;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6564: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6567: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6570: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6573: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_x11_toolkit_version_6=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_x11_toolkit_version_6=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfi HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 if test $emacs_cv_x11_toolkit_version_6 = yes; then echo "$as_me:6586: result: 6 or newer" >&5echo "${ECHO_T}6 or newer" >&6 cat >>confdefs.h <<\EOF#define HAVE_X11XTR6 1EOF else echo "$as_me:6593: result: before 6" >&5echo "${ECHO_T}before 6" >&6 fi OLDLIBS="$LIBS" if test x$HAVE_X11XTR6 = xyes; then LIBS="-lXt -lSM -lICE $LIBS" else LIBS="-lXt $LIBS" fiecho "$as_me:6604: checking for XmuConvertStandardSelection in -lXmu" >&5echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXmu $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6612 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XmuConvertStandardSelection ();intmain (){XmuConvertStandardSelection (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6631: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6634: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6637: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6640: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xmu_XmuConvertStandardSelection=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xmu_XmuConvertStandardSelection=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6651: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBXMU 1EOF LIBS="-lXmu $LIBS"fi test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"fi# On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.if test "${HAVE_X11}" = "yes"; then if test "${USE_X_TOOLKIT}" != "none"; thenecho "$as_me:6669: checking for XShapeQueryExtension in -lXext" >&5echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXext $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6677 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XShapeQueryExtension ();intmain (){XShapeQueryExtension (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6696: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6699: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6702: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6705: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xext_XShapeQueryExtension=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xext_XShapeQueryExtension=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6716: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBXEXT 1EOF LIBS="-lXext $LIBS"fi fifiif test "${USE_X_TOOLKIT}" = "MOTIF"; then echo "$as_me:6731: checking for Motif version 2.1" >&5echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6if test "${emacs_cv_motif_version_2_1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6737 "configure"#include "confdefs.h"#include <Xm/Xm.h>intmain (){#if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)int x = 5;#elseMotif version prior to 2.1.#endif ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:6753: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:6756: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:6759: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6762: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_motif_version_2_1=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_motif_version_2_1=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:6772: result: $emacs_cv_motif_version_2_1" >&5echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 if test $emacs_cv_motif_version_2_1 = yes; then HAVE_LIBXP=no cat >>confdefs.h <<\EOF#define HAVE_MOTIF_2_1 1EOF echo "$as_me:6781: checking for XpCreateContext in -lXp" >&5echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXp $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6789 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XpCreateContext ();intmain (){XpCreateContext (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6808: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6811: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6814: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6817: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xp_XpCreateContext=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xp_XpCreateContext=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6828: result: $ac_cv_lib_Xp_XpCreateContext" >&5echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6if test $ac_cv_lib_Xp_XpCreateContext = yes; then HAVE_LIBXP=yesfi if test ${HAVE_LIBXP} = yes; then cat >>confdefs.h <<\EOF#define HAVE_LIBXP 1EOF fi fifi### Is -lXaw3d available?HAVE_XAW3D=noif test "${HAVE_X11}" = "yes"; then if test "${USE_X_TOOLKIT}" != "none"; then echo "$as_me:6847: checking for X11/Xaw3d/Scrollbar.h" >&5echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6853 "configure"#include "confdefs.h"#include <X11/Xaw3d/Scrollbar.h>_ACEOFif { (eval echo "$as_me:6857: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:6863: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_X11_Xaw3d_Scrollbar_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_X11_Xaw3d_Scrollbar_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:6882: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then echo "$as_me:6885: checking for XawScrollbarSetThumb in -lXaw3d" >&5echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXaw3d $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 6893 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XawScrollbarSetThumb ();intmain (){XawScrollbarSetThumb (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:6912: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:6915: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:6918: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:6921: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xaw3d_XawScrollbarSetThumb=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:6932: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then HAVE_XAW3D=yesfifi if test "${HAVE_XAW3D}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_XAW3D 1EOF fi fifiUSE_TOOLKIT_SCROLL_BARS=noif test "${with_toolkit_scroll_bars}" != "no"; then if test "${USE_X_TOOLKIT}" != "none"; then if test "${USE_X_TOOLKIT}" = "MOTIF"; then cat >>confdefs.h <<\EOF#define USE_TOOLKIT_SCROLL_BARS 1EOF HAVE_XAW3D=no USE_TOOLKIT_SCROLL_BARS=yes elif test "${HAVE_XAW3D}" = "yes"; then cat >>confdefs.h <<\EOF#define USE_TOOLKIT_SCROLL_BARS 1EOF USE_TOOLKIT_SCROLL_BARS=yes fi fifiif test "${with_xim}" != "no"; then cat >>confdefs.h <<\EOF#define USE_XIM 1EOFfi### Use -lXpm if available, unless `--with-xpm=no'.HAVE_XPM=noif test "${HAVE_X11}" = "yes"; then if test "${with_xpm}" != "no"; then echo "$as_me:6980: checking for X11/xpm.h" >&5echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6if test "${ac_cv_header_X11_xpm_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 6986 "configure"#include "confdefs.h"#include <X11/xpm.h>_ACEOFif { (eval echo "$as_me:6990: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:6996: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_X11_xpm_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_X11_xpm_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:7015: result: $ac_cv_header_X11_xpm_h" >&5echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6if test $ac_cv_header_X11_xpm_h = yes; then echo "$as_me:7018: checking for XpmReadFileToPixmap in -lXpm" >&5echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lXpm -lX11 $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7026 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XpmReadFileToPixmap ();intmain (){XpmReadFileToPixmap (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7045: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7048: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7051: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7054: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xpm_XpmReadFileToPixmap=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_Xpm_XpmReadFileToPixmap=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7065: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then HAVE_XPM=yesfifi if test "${HAVE_XPM}" = "yes"; then echo "$as_me:7074: checking for XpmReturnAllocPixels preprocessor define" >&5echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF#line 7077 "configure"#include "confdefs.h"#include "X11/xpm.h"#ifndef XpmReturnAllocPixelsno_return_alloc_pixels#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "no_return_alloc_pixels" >/dev/null 2>&1; then HAVE_XPM=noelse HAVE_XPM=yesfirm -f conftest* if test "${HAVE_XPM}" = "yes"; then echo "$as_me:7094: result: yes" >&5echo "${ECHO_T}yes" >&6 else echo "$as_me:7097: result: no" >&5echo "${ECHO_T}no" >&6 fi fi fi if test "${HAVE_XPM}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_XPM 1EOF fifi### Use -ljpeg if available, unless `--with-jpeg=no'.HAVE_JPEG=noif test "${HAVE_X11}" = "yes"; then if test "${with_jpeg}" != "no"; then echo "$as_me:7115: checking for jerror.h" >&5echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6if test "${ac_cv_header_jerror_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7121 "configure"#include "confdefs.h"#include <jerror.h>_ACEOFif { (eval echo "$as_me:7125: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:7131: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_jerror_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_jerror_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:7150: result: $ac_cv_header_jerror_h" >&5echo "${ECHO_T}$ac_cv_header_jerror_h" >&6if test $ac_cv_header_jerror_h = yes; then echo "$as_me:7153: checking for jpeg_destroy_compress in -ljpeg" >&5echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ljpeg $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7161 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char jpeg_destroy_compress ();intmain (){jpeg_destroy_compress (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7180: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7183: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7186: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7189: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_jpeg_jpeg_destroy_compress=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_jpeg_jpeg_destroy_compress=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7200: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then HAVE_JPEG=yesfifi fi if test "${HAVE_JPEG}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_JPEG 1EOF fifi### Use -lpng if available, unless `--with-png=no'.HAVE_PNG=noif test "${HAVE_X11}" = "yes"; then if test "${with_png}" != "no"; then echo "$as_me:7222: checking for png.h" >&5echo $ECHO_N "checking for png.h... $ECHO_C" >&6if test "${ac_cv_header_png_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7228 "configure"#include "confdefs.h"#include <png.h>_ACEOFif { (eval echo "$as_me:7232: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:7238: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_png_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_png_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:7257: result: $ac_cv_header_png_h" >&5echo "${ECHO_T}$ac_cv_header_png_h" >&6if test $ac_cv_header_png_h = yes; then echo "$as_me:7260: checking for png_get_channels in -lpng" >&5echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6if test "${ac_cv_lib_png_png_get_channels+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lpng -lz -lm $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7268 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char png_get_channels ();intmain (){png_get_channels (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7287: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7290: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7293: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7296: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_png_png_get_channels=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_png_png_get_channels=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7307: result: $ac_cv_lib_png_png_get_channels" >&5echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6if test $ac_cv_lib_png_png_get_channels = yes; then HAVE_PNG=yesfifi fi if test "${HAVE_PNG}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_PNG 1EOF fifi### Use -ltiff if available, unless `--with-tiff=no'.HAVE_TIFF=noif test "${HAVE_X11}" = "yes"; then if test "${with_tiff}" != "no"; then echo "$as_me:7329: checking for tiffio.h" >&5echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6if test "${ac_cv_header_tiffio_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7335 "configure"#include "confdefs.h"#include <tiffio.h>_ACEOFif { (eval echo "$as_me:7339: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:7345: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_tiffio_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_tiffio_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:7364: result: $ac_cv_header_tiffio_h" >&5echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6if test $ac_cv_header_tiffio_h = yes; then tifflibs="-lz -lm" # At least one tiff package requires the jpeg library. if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi echo "$as_me:7370: checking for TIFFGetVersion in -ltiff" >&5echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ltiff $tifflibs $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7378 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char TIFFGetVersion ();intmain (){TIFFGetVersion (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7397: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7400: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7403: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7406: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_tiff_TIFFGetVersion=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_tiff_TIFFGetVersion=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7417: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then HAVE_TIFF=yesfifi fi if test "${HAVE_TIFF}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_TIFF 1EOF fifi### Use -lgif if available, unless `--with-gif=no'.HAVE_GIF=noif test "${HAVE_X11}" = "yes"; then if test "${with_gif}" != "no"; then echo "$as_me:7439: checking for gif_lib.h" >&5echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6if test "${ac_cv_header_gif_lib_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7445 "configure"#include "confdefs.h"#include <gif_lib.h>_ACEOFif { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:7455: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_gif_lib_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_gif_lib_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:7474: result: $ac_cv_header_gif_lib_h" >&5echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6if test $ac_cv_header_gif_lib_h = yes; then echo "$as_me:7477: checking for DGifOpen in -lungif" >&5echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lungif $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7485 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char DGifOpen ();intmain (){DGifOpen (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7504: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7507: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7510: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7513: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ungif_DGifOpen=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_ungif_DGifOpen=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7524: result: $ac_cv_lib_ungif_DGifOpen" >&5echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6if test $ac_cv_lib_ungif_DGifOpen = yes; then HAVE_GIF=yesfifi fi if test "${HAVE_GIF}" = "yes"; then cat >>confdefs.h <<\EOF#define HAVE_GIF 1EOF fifi# If netdb.h doesn't declare h_errno, we must declare it by hand.echo "$as_me:7543: checking whether netdb declares h_errno" >&5echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7549 "configure"#include "confdefs.h"#include <netdb.h>intmain (){return h_errno; ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7561: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7564: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7567: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7570: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_netdb_declares_h_errno=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_netdb_declares_h_errno=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:7580: result: $emacs_cv_netdb_declares_h_errno" >&5echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6if test $emacs_cv_netdb_declares_h_errno = yes; then cat >>confdefs.h <<\EOF#define HAVE_H_ERRNO 1EOFfi# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works# for constant arguments. Useless!echo "$as_me:7591: checking for working alloca.h" >&5echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7597 "configure"#include "confdefs.h"#include <alloca.h>intmain (){char *p = (char *) alloca (2 * sizeof (int)); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7609: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7612: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7615: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7618: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_working_alloca_h=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_working_alloca_h=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:7628: result: $ac_cv_working_alloca_h" >&5echo "${ECHO_T}$ac_cv_working_alloca_h" >&6if test $ac_cv_working_alloca_h = yes; thencat >>confdefs.h <<\EOF#define HAVE_ALLOCA_H 1EOFfiecho "$as_me:7638: checking for alloca" >&5echo $ECHO_N "checking for alloca... $ECHO_C" >&6if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7644 "configure"#include "confdefs.h"#ifdef __GNUC__# define alloca __builtin_alloca#else# ifdef _MSC_VER# include <malloc.h># define alloca _alloca# else# if HAVE_ALLOCA_H# include <alloca.h># else# ifdef _AIX #pragma alloca# else# ifndef alloca /* predefined by HP cc +Olibcalls */char *alloca ();# endif# endif# endif# endif#endifintmain (){char *p = (char *) alloca (1); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7676: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7679: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7682: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7685: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_alloca_works=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_alloca_works=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:7695: result: $ac_cv_func_alloca_works" >&5echo "${ECHO_T}$ac_cv_func_alloca_works" >&6if test $ac_cv_func_alloca_works = yes; thencat >>confdefs.h <<\EOF#define HAVE_ALLOCA 1EOFelse # The SVR3 libPW and SVR4 libucb both contain incompatible functions# that cause trouble. Some versions do not even contain alloca or# contain a buggy version. If you still want to use their alloca,# use ar to extract alloca.o from them instead of compiling alloca.c.ALLOCA=alloca.$ac_objextcat >>confdefs.h <<\EOF#define C_ALLOCA 1EOFecho "$as_me:7716: checking whether \`alloca.c' needs Cray hooks" >&5echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7722 "configure"#include "confdefs.h"#if defined(CRAY) && ! defined(CRAY2)webecray#elsewenotbecray#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yeselse ac_cv_os_cray=nofirm -f conftest*fiecho "$as_me:7740: result: $ac_cv_os_cray" >&5echo "${ECHO_T}$ac_cv_os_cray" >&6if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:7745: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 7751 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7782: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7785: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7788: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7791: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:7801: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; thencat >>confdefs.h <<EOF#define CRAY_STACKSEG_END $ac_funcEOF breakfi donefiecho "$as_me:7815: checking stack direction for C alloca" >&5echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0else cat >conftest.$ac_ext <<_ACEOF#line 7824 "configure"#include "confdefs.h"intfind_stack_direction (){ static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1;}intmain (){ exit (find_stack_direction () < 0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:7847: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7850: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:7852: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7855: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_stack_direction=1else echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_c_stack_direction=-1firm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:7867: result: $ac_cv_c_stack_direction" >&5echo "${ECHO_T}$ac_cv_c_stack_direction" >&6cat >>confdefs.h <<EOF#define STACK_DIRECTION $ac_cv_c_stack_directionEOFfi# fmod, logb, and frexp are found in -lm on most systems.# On HPUX 9.01, -lm does not contain logb, so check for sqrt.echo "$as_me:7879: checking for sqrt in -lm" >&5echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6if test "${ac_cv_lib_m_sqrt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lm $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7887 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char sqrt ();intmain (){sqrt (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7906: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7909: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7912: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7915: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_m_sqrt=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_m_sqrt=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7926: result: $ac_cv_lib_m_sqrt" >&5echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6if test $ac_cv_lib_m_sqrt = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBM 1EOF LIBS="-lm $LIBS"fi# Check for mail-locking functions in a "mail" libraryecho "$as_me:7939: checking for maillock in -lmail" >&5echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6if test "${ac_cv_lib_mail_maillock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lmail $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 7947 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char maillock ();intmain (){maillock (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:7966: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:7969: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:7972: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:7975: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_mail_maillock=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_mail_maillock=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:7986: result: $ac_cv_lib_mail_maillock" >&5echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6if test $ac_cv_lib_mail_maillock = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBMAIL 1EOF LIBS="-lmail $LIBS"fiecho "$as_me:7997: checking for maillock in -llockfile" >&5echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6if test "${ac_cv_lib_lockfile_maillock+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-llockfile $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8005 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char maillock ();intmain (){maillock (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8024: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8027: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8030: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8033: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_lockfile_maillock=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_lockfile_maillock=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:8044: result: $ac_cv_lib_lockfile_maillock" >&5echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6if test $ac_cv_lib_lockfile_maillock = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBLOCKFILE 1EOF LIBS="-llockfile $LIBS"fi# If we have the shared liblockfile, assume we must use it for mail# locking (e.g. Debian). If we couldn't link against liblockfile# (no liblockfile.a installed), ensure that we don't need to.if test "$ac_cv_lib_lockfile_maillock" = no; then # Extract the first word of "liblockfile.so", so it can be a program name with args.set dummy liblockfile.so; ac_word=$2echo "$as_me:8061: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_liblockfile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test -n "$liblockfile"; then ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.else ac_save_IFS=$IFS; IFS=$ac_path_separatorac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"for ac_dir in $ac_dummy; do IFS=$ac_save_IFS test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continueac_cv_prog_liblockfile="yes"echo "$as_me:8076: found $ac_dir/$ac_word" >&5breakdone test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"fifiliblockfile=$ac_cv_prog_liblockfileif test -n "$liblockfile"; then echo "$as_me:8085: result: $liblockfile" >&5echo "${ECHO_T}$liblockfile" >&6else echo "$as_me:8088: result: no" >&5echo "${ECHO_T}no" >&6fi if test $ac_cv_prog_liblockfile = yes; then { { echo "$as_me:8093: error: Shared liblockfile found but can't link against it.This probably means that movemail could lose mail.There may be a \`development' package to install containing liblockfile." >&5echo "$as_me: error: Shared liblockfile found but can't link against it.This probably means that movemail could lose mail.There may be a \`development' package to install containing liblockfile." >&2;} { (exit 1); exit 1; }; } else cat >>confdefs.h <<\EOF#define LIBMAIL -llockfileEOF fi else :fifor ac_func in touchlockdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:8111: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8117 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8148: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8151: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8154: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8157: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidonefor ac_header in maillock.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:8180: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8186 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:8190: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:8196: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:8215: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_func in gethostname getdomainname dup2 \rename closedir mkdir rmdir sysinfo \random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \__fpending mblen mbrlen strsignal setitimer ualarm index rindex \gai_strerror mkstempdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:8234: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8240 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8271: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8274: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8277: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8280: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:8290: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidonefor ac_header in sys/time.h unistd.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:8303: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8309 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:8313: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:8319: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:8338: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_func in alarmdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:8351: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8357 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8388: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8391: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8394: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8397: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:8407: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidoneecho "$as_me:8417: checking for working mktime" >&5echo $ECHO_N "checking for working mktime... $ECHO_C" >&6if test "${ac_cv_func_working_mktime+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test "$cross_compiling" = yes; then ac_cv_func_working_mktime=noelse cat >conftest.$ac_ext <<_ACEOF#line 8426 "configure"#include "confdefs.h"/* Test program from Paul Eggert and Tony Leneis. */#if TIME_WITH_SYS_TIME# include <sys/time.h># include <time.h>#else# if HAVE_SYS_TIME_H# include <sys/time.h># else# include <time.h># endif#endif#if HAVE_UNISTD_H# include <unistd.h>#endif#if !HAVE_ALARM# define alarm(X) /* empty */#endif/* Work around redefinition to rpl_putenv by other config tests. */#undef putenvstatic time_t time_t_max;/* Values we'll use to set the TZ environment variable. */static const char *const tz_strings[] = { (const char *) 0, "TZ=GMT0", "TZ=JST-9", "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"};#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))/* Fail if mktime fails to convert a date in the spring-forward gap. Based on a problem report from Andreas Jaeger. */static voidspring_forward_gap (){ /* glibc (up to about 1998-10-07) failed this test. */ struct tm tm; /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver" in order to detect the bug even on systems that don't support the Olson extension, or don't have the full zoneinfo tables installed. */ putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); tm.tm_year = 98; tm.tm_mon = 3; tm.tm_mday = 5; tm.tm_hour = 2; tm.tm_min = 0; tm.tm_sec = 0; tm.tm_isdst = -1; if (mktime (&tm) == (time_t)-1) exit (1);}static voidmktime_test (now) time_t now;{ struct tm *lt; if ((lt = localtime (&now)) && mktime (lt) != now) exit (1); now = time_t_max - now; if ((lt = localtime (&now)) && mktime (lt) != now) exit (1);}static voidirix_6_4_bug (){ /* Based on code from Ariel Faigon. */ struct tm tm; tm.tm_year = 96; tm.tm_mon = 3; tm.tm_mday = 0; tm.tm_hour = 0; tm.tm_min = 0; tm.tm_sec = 0; tm.tm_isdst = -1; mktime (&tm); if (tm.tm_mon != 2 || tm.tm_mday != 31) exit (1);}static voidbigtime_test (j) int j;{ struct tm tm; time_t now; tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; now = mktime (&tm); if (now != (time_t) -1) { struct tm *lt = localtime (&now); if (! (lt && lt->tm_year == tm.tm_year && lt->tm_mon == tm.tm_mon && lt->tm_mday == tm.tm_mday && lt->tm_hour == tm.tm_hour && lt->tm_min == tm.tm_min && lt->tm_sec == tm.tm_sec && lt->tm_yday == tm.tm_yday && lt->tm_wday == tm.tm_wday && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) exit (1); }}intmain (){ time_t t, delta; int i, j; /* This test makes some buggy mktime implementations loop. Give up after 60 seconds; a mktime slower than that isn't worth using anyway. */ alarm (60); for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) continue; time_t_max--; delta = time_t_max / 997; /* a suitable prime number */ for (i = 0; i < N_STRINGS; i++) { if (tz_strings[i]) putenv (tz_strings[i]); for (t = 0; t <= time_t_max - delta; t += delta) mktime_test (t); mktime_test ((time_t) 60 * 60); mktime_test ((time_t) 60 * 60 * 24); for (j = 1; 0 < j; j *= 2) bigtime_test (j); bigtime_test (j - 1); } irix_6_4_bug (); spring_forward_gap (); exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:8575: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8578: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:8580: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8583: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_working_mktime=yeselse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_working_mktime=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:8595: result: $ac_cv_func_working_mktime" >&5echo "${ECHO_T}$ac_cv_func_working_mktime" >&6if test $ac_cv_func_working_mktime = no; then LIBOBJS="$LIBOBJS mktime.$ac_objext"fiif test "$ac_cv_func_working_mktime" = no; then cat >>confdefs.h <<\EOF#define BROKEN_MKTIME 1EOFfiac_have_func=no # yes means we've found a way to get the load average.ac_save_LIBS=$LIBS# Check for getloadavg, but be sure not to touch the cache variable.(echo "$as_me:8613: checking for getloadavg" >&5echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6if test "${ac_cv_func_getloadavg+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8619 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char getloadavg (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char getloadavg ();char (*f) ();intmain (){/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_getloadavg) || defined (__stub___getloadavg)choke me#elsef = getloadavg;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8650: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8653: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8656: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8659: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_getloadavg=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_getloadavg=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:8669: result: $ac_cv_func_getloadavg" >&5echo "${ECHO_T}$ac_cv_func_getloadavg" >&6if test $ac_cv_func_getloadavg = yes; then exit 0else exit 1fi) && ac_have_func=yes# On HPUX9, an unprivileged user can get load averages through this function.for ac_func in pstat_getdynamicdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:8683: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 8689 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8720: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8723: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8726: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8729: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:8739: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidone# Solaris has libkstat which does not require root.echo "$as_me:8751: checking for kstat_open in -lkstat" >&5echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lkstat $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8759 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char kstat_open ();intmain (){kstat_open (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8778: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8781: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8784: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8787: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_kstat_kstat_open=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_kstat_kstat_open=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:8798: result: $ac_cv_lib_kstat_kstat_open" >&5echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6if test $ac_cv_lib_kstat_kstat_open = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBKSTAT 1EOF LIBS="-lkstat $LIBS"fitest $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes# Some systems with -lutil have (and need) -lkvm as well, some do not.# On Solaris, -lkvm requires nlist from -lelf, so check that first# to get the right answer into the cache.# For kstat on solaris, we need libelf to force the definition of SVR4 below.if test $ac_have_func = no; then echo "$as_me:8816: checking for elf_begin in -lelf" >&5echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6if test "${ac_cv_lib_elf_elf_begin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lelf $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8824 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char elf_begin ();intmain (){elf_begin (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8843: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8846: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8849: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8852: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_elf_elf_begin=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_elf_elf_begin=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:8863: result: $ac_cv_lib_elf_elf_begin" >&5echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6if test $ac_cv_lib_elf_elf_begin = yes; then LIBS="-lelf $LIBS"fifiif test $ac_have_func = no; then echo "$as_me:8871: checking for kvm_open in -lkvm" >&5echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lkvm $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8879 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char kvm_open ();intmain (){kvm_open (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8898: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8901: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8904: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8907: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_kvm_kvm_open=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_kvm_kvm_open=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:8918: result: $ac_cv_lib_kvm_kvm_open" >&5echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6if test $ac_cv_lib_kvm_kvm_open = yes; then LIBS="-lkvm $LIBS"fi # Check for the 4.4BSD definition of getloadavg. echo "$as_me:8925: checking for getloadavg in -lutil" >&5echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6if test "${ac_cv_lib_util_getloadavg+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lutil $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8933 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char getloadavg ();intmain (){getloadavg (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:8952: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:8955: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:8958: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:8961: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_util_getloadavg=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_util_getloadavg=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:8972: result: $ac_cv_lib_util_getloadavg" >&5echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6if test $ac_cv_lib_util_getloadavg = yes; then LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yesfifiif test $ac_have_func = no; then # There is a commonly available library for RS/6000 AIX. # Since it is not a standard part of AIX, it might be installed locally. ac_getloadavg_LIBS=$LIBS LIBS="-L/usr/local/lib $LIBS" echo "$as_me:8985: checking for getloadavg in -lgetloadavg" >&5echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lgetloadavg $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 8993 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char getloadavg ();intmain (){getloadavg (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9012: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9015: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9018: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9021: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_getloadavg_getloadavg=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_getloadavg_getloadavg=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:9032: result: $ac_cv_lib_getloadavg_getloadavg" >&5echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6if test $ac_cv_lib_getloadavg_getloadavg = yes; then LIBS="-lgetloadavg $LIBS"else LIBS=$ac_getloadavg_LIBSfifi# Make sure it is really in the library, if we think we found it,# otherwise set up the replacement function.for ac_func in getloadavgdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:9048: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9054 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9085: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9088: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9091: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9094: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:9104: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFelse LIBOBJS="$LIBOBJS getloadavg.$ac_objext"cat >>confdefs.h <<\EOF#define C_GETLOADAVG 1EOF# Figure out what our getloadavg.c needs.ac_have_func=noecho "$as_me:9120: checking for sys/dg_sys_info.h" >&5echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9126 "configure"#include "confdefs.h"#include <sys/dg_sys_info.h>_ACEOFif { (eval echo "$as_me:9130: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9136: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_sys_dg_sys_info_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_sys_dg_sys_info_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:9155: result: $ac_cv_header_sys_dg_sys_info_h" >&5echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6if test $ac_cv_header_sys_dg_sys_info_h = yes; then ac_have_func=yescat >>confdefs.h <<\EOF#define DGUX 1EOFecho "$as_me:9164: checking for dg_sys_info in -ldgc" >&5echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ldgc $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 9172 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dg_sys_info ();intmain (){dg_sys_info (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9191: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9194: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9197: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9200: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_dgc_dg_sys_info=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_dgc_dg_sys_info=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:9211: result: $ac_cv_lib_dgc_dg_sys_info" >&5echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6if test $ac_cv_lib_dgc_dg_sys_info = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBDGC 1EOF LIBS="-ldgc $LIBS"fifiecho "$as_me:9224: checking for locale.h" >&5echo $ECHO_N "checking for locale.h... $ECHO_C" >&6if test "${ac_cv_header_locale_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9230 "configure"#include "confdefs.h"#include <locale.h>_ACEOFif { (eval echo "$as_me:9234: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9240: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_locale_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_locale_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:9259: result: $ac_cv_header_locale_h" >&5echo "${ECHO_T}$ac_cv_header_locale_h" >&6for ac_func in setlocaledoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:9265: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9271 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9302: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9305: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9308: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9311: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:9321: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidone# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it# uses stabs), but it is still SVR4. We cannot check for <elf.h> because# Irix 4.0.5F has the header but not the library.if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then ac_have_func=yescat >>confdefs.h <<\EOF#define SVR4 1EOFfiif test $ac_have_func = no; then echo "$as_me:9344: checking for inq_stats/cpustats.h" >&5echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9350 "configure"#include "confdefs.h"#include <inq_stats/cpustats.h>_ACEOFif { (eval echo "$as_me:9354: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9360: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_inq_stats_cpustats_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_inq_stats_cpustats_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:9379: result: $ac_cv_header_inq_stats_cpustats_h" >&5echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6if test $ac_cv_header_inq_stats_cpustats_h = yes; then ac_have_func=yescat >>confdefs.h <<\EOF#define UMAX 1EOFcat >>confdefs.h <<\EOF#define UMAX4_3 1EOFfifiif test $ac_have_func = no; then echo "$as_me:9397: checking for sys/cpustats.h" >&5echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6if test "${ac_cv_header_sys_cpustats_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9403 "configure"#include "confdefs.h"#include <sys/cpustats.h>_ACEOFif { (eval echo "$as_me:9407: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9413: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_sys_cpustats_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_sys_cpustats_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:9432: result: $ac_cv_header_sys_cpustats_h" >&5echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6if test $ac_cv_header_sys_cpustats_h = yes; then ac_have_func=yes; cat >>confdefs.h <<\EOF#define UMAX 1EOFfifiif test $ac_have_func = no; thenfor ac_header in mach/mach.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:9448: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9454 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:9458: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9464: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:9483: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefifor ac_header in nlist.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:9498: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9504 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:9508: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:9514: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:9533: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOF echo "$as_me:9539: checking for struct nlist.n_un.n_name" >&5echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9545 "configure"#include "confdefs.h"#include <nlist.h>intmain (){static struct nlist ac_aggr;if (ac_aggr.n_un.n_name)return 0; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:9560: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:9563: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:9566: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9569: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_member_struct_nlist_n_un_n_name=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_member_struct_nlist_n_un_n_name=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:9579: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6if test $ac_cv_member_struct_nlist_n_un_n_name = yes; thencat >>confdefs.h <<EOF#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1EOFcat >>confdefs.h <<\EOF#define NLIST_NAME_UNION 1EOFfifidonefidone# Some definitions of getloadavg require that the program be installed setgid.echo "$as_me:9600: checking whether getloadavg requires setgid" >&5echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6if test "${ac_cv_func_getloadavg_setgid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9606 "configure"#include "confdefs.h"#include "$srcdir/getloadavg.c"#ifdef LDAV_PRIVILEGEDYowza Am I SETGID yet#endif_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then ac_cv_func_getloadavg_setgid=yeselse ac_cv_func_getloadavg_setgid=nofirm -f conftest*fiecho "$as_me:9622: result: $ac_cv_func_getloadavg_setgid" >&5echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6if test $ac_cv_func_getloadavg_setgid = yes; then NEED_SETGID=truecat >>confdefs.h <<\EOF#define GETLOADAVG_PRIVILEGED 1EOFelse NEED_SETGID=falsefiif test $ac_cv_func_getloadavg_setgid = yes; then echo "$as_me:9636: checking group of /dev/kmem" >&5echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6if test "${ac_cv_group_kmem+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else # On Solaris, /dev/kmem is a symlink. Get info on the real file. ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` # If we got an error (system does not support symlinks), try without -L. test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` ac_cv_group_kmem=`echo $ac_ls_output \ | sed -ne 's/[ ][ ]*/ /g; s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; / /s/.* //;p;'`fiecho "$as_me:9651: result: $ac_cv_group_kmem" >&5echo "${ECHO_T}$ac_cv_group_kmem" >&6 KMEM_GROUP=$ac_cv_group_kmemfiif test "x$ac_save_LIBS" = x; then GETLOADAVG_LIBS=$LIBSelse GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`fiLIBS=$ac_save_LIBSecho "$as_me:9662: checking for _LARGEFILE_SOURCE value needed for large files" >&5echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6if test "${ac_cv_sys_largefile_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else while :; do ac_cv_sys_largefile_source=no cat >conftest.$ac_ext <<_ACEOF#line 9670 "configure"#include "confdefs.h"#include <stdio.h>intmain (){return !fseeko; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:9682: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:9685: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:9688: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9691: \$? = $ac_status" >&5 (exit $ac_status); }; }; then breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF#line 9700 "configure"#include "confdefs.h"#define _LARGEFILE_SOURCE 1#include <stdio.h>intmain (){return !fseeko; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:9713: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:9716: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:9719: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9722: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sys_largefile_source=1; breakelse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5firm -f conftest.$ac_objext conftest.$ac_ext breakdonefiecho "$as_me:9733: result: $ac_cv_sys_largefile_source" >&5echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6if test "$ac_cv_sys_largefile_source" != no; thencat >>confdefs.h <<EOF#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_sourceEOFfirm -f conftest*# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug# in glibc 2.1.3, but that breaks too many other things.# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.echo "$as_me:9747: checking for fseeko" >&5echo $ECHO_N "checking for fseeko... $ECHO_C" >&6if test "${ac_cv_func_fseeko+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9753 "configure"#include "confdefs.h"#include <stdio.h>intmain (){return fseeko && fseeko (stdin, 0, 0); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9765: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9768: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9771: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9774: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fseeko=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_fseeko=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:9784: result: $ac_cv_func_fseeko" >&5echo "${ECHO_T}$ac_cv_func_fseeko" >&6if test $ac_cv_func_fseeko = yes; thencat >>confdefs.h <<\EOF#define HAVE_FSEEKO 1EOFfi# UNIX98 PTYs.for ac_func in grantptdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:9799: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9805 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9836: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9839: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9842: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9845: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:9855: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidone# PTY-related GNU extensions.for ac_func in getptdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:9870: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 9876 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9907: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9910: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9913: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9916: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:9926: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidone# Check this now, so that we will NOT find the above functions in ncurses.# That is because we have not set up to link ncurses in lib-src.# It's better to believe a function is not available# than to expect to find it in ncurses.echo "$as_me:9941: checking for tparm in -lncurses" >&5echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6if test "${ac_cv_lib_ncurses_tparm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lncurses $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 9949 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char tparm ();intmain (){tparm (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:9968: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:9971: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:9974: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:9977: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_ncurses_tparm=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_ncurses_tparm=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:9988: result: $ac_cv_lib_ncurses_tparm" >&5echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6if test $ac_cv_lib_ncurses_tparm = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBNCURSES 1EOF LIBS="-lncurses $LIBS"fi# Do we need the Hesiod library to provide the support routines?if test "$with_hesiod" = yes ; then # Don't set $LIBS here -- see comments above. resolv=no echo "$as_me:10003: checking for res_send" >&5echo $ECHO_N "checking for res_send... $ECHO_C" >&6if test "${ac_cv_func_res_send+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10009 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_send (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char res_send ();char (*f) ();intmain (){/* 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_res_send) || defined (__stub___res_send)choke me#elsef = res_send;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10040: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10043: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10046: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10049: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_res_send=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_res_send=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:10059: result: $ac_cv_func_res_send" >&5echo "${ECHO_T}$ac_cv_func_res_send" >&6if test $ac_cv_func_res_send = yes; then :else echo "$as_me:10064: checking for __res_send" >&5echo $ECHO_N "checking for __res_send... $ECHO_C" >&6if test "${ac_cv_func___res_send+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10070 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_send (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char __res_send ();char (*f) ();intmain (){/* 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___res_send) || defined (__stub_____res_send)choke me#elsef = __res_send;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10101: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10104: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10107: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10110: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func___res_send=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func___res_send=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:10120: result: $ac_cv_func___res_send" >&5echo "${ECHO_T}$ac_cv_func___res_send" >&6if test $ac_cv_func___res_send = yes; then :else echo "$as_me:10125: checking for res_send in -lresolv" >&5echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6if test "${ac_cv_lib_resolv_res_send+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lresolv $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10133 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char res_send ();intmain (){res_send (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10152: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10155: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10158: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10161: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_resolv_res_send=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_resolv_res_send=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10172: result: $ac_cv_lib_resolv_res_send" >&5echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6if test $ac_cv_lib_resolv_res_send = yes; then resolv=yeselse echo "$as_me:10177: checking for __res_send in -lresolv" >&5echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6if test "${ac_cv_lib_resolv___res_send+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lresolv $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10185 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char __res_send ();intmain (){__res_send (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10204: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10207: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10210: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10213: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_resolv___res_send=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_resolv___res_send=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10224: result: $ac_cv_lib_resolv___res_send" >&5echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6if test $ac_cv_lib_resolv___res_send = yes; then resolv=yesfifififi if test "$resolv" = yes ; then RESOLVLIB=-lresolv cat >>confdefs.h <<\EOF#define HAVE_LIBRESOLV 1EOF else RESOLVLIB= fi echo "$as_me:10245: checking for hes_getmailhost" >&5echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6if test "${ac_cv_func_hes_getmailhost+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10251 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char hes_getmailhost (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char hes_getmailhost ();char (*f) ();intmain (){/* 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_hes_getmailhost) || defined (__stub___hes_getmailhost)choke me#elsef = hes_getmailhost;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10282: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10285: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10288: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10291: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_hes_getmailhost=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_hes_getmailhost=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:10301: result: $ac_cv_func_hes_getmailhost" >&5echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6if test $ac_cv_func_hes_getmailhost = yes; then :else echo "$as_me:10306: checking for hes_getmailhost in -lhesiod" >&5echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lhesiod $RESOLVLIB $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10314 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char hes_getmailhost ();intmain (){hes_getmailhost (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10333: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10336: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10339: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10342: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_hesiod_hes_getmailhost=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_hesiod_hes_getmailhost=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10353: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then cat >>confdefs.h <<\EOF#define HAVE_LIBHESIOD 1EOFelse :fififi# These tell us which Kerberos-related libraries to use.if test "${with_kerberos+set}" = set; thenecho "$as_me:10371: checking for com_err in -lcom_err" >&5echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6if test "${ac_cv_lib_com_err_com_err+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lcom_err $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10379 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char com_err ();intmain (){com_err (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10398: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10401: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10404: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10407: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_com_err_com_err=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_com_err_com_err=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10418: result: $ac_cv_lib_com_err_com_err" >&5echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6if test $ac_cv_lib_com_err_com_err = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBCOM_ERR 1EOF LIBS="-lcom_err $LIBS"fiecho "$as_me:10429: checking for mit_des_cbc_encrypt in -lk5crypto" >&5echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lk5crypto $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10437 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char mit_des_cbc_encrypt ();intmain (){mit_des_cbc_encrypt (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10456: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10459: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10462: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10465: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_k5crypto_mit_des_cbc_encrypt=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10476: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBK5CRYPTO 1EOF LIBS="-lk5crypto $LIBS"fiecho "$as_me:10487: checking for mit_des_cbc_encrypt in -lcrypto" >&5echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lcrypto $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10495 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char mit_des_cbc_encrypt ();intmain (){mit_des_cbc_encrypt (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10514: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10517: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10520: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10523: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_crypto_mit_des_cbc_encrypt=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_crypto_mit_des_cbc_encrypt=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10534: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBCRYPTO 1EOF LIBS="-lcrypto $LIBS"fiecho "$as_me:10545: checking for krb5_init_context in -lkrb5" >&5echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lkrb5 $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10553 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char krb5_init_context ();intmain (){krb5_init_context (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10572: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10575: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10578: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10581: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_krb5_krb5_init_context=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_krb5_krb5_init_context=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10592: result: $ac_cv_lib_krb5_krb5_init_context" >&5echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6if test $ac_cv_lib_krb5_krb5_init_context = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBKRB5 1EOF LIBS="-lkrb5 $LIBS"fi if test "${with_kerberos5+set}" != set; thenecho "$as_me:10605: checking for des_cbc_encrypt in -ldes425" >&5echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ldes425 $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10613 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char des_cbc_encrypt ();intmain (){des_cbc_encrypt (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10632: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10635: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10638: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10641: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_des425_des_cbc_encrypt=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_des425_des_cbc_encrypt=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10652: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBDES425 1EOF LIBS="-ldes425 $LIBS"elseecho "$as_me:10663: checking for des_cbc_encrypt in -ldes" >&5echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-ldes $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10671 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char des_cbc_encrypt ();intmain (){des_cbc_encrypt (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10690: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10693: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10696: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10699: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_des_des_cbc_encrypt=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_des_des_cbc_encrypt=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10710: result: $ac_cv_lib_des_des_cbc_encrypt" >&5echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6if test $ac_cv_lib_des_des_cbc_encrypt = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBDES 1EOF LIBS="-ldes $LIBS"fifiecho "$as_me:10723: checking for krb_get_cred in -lkrb4" >&5echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lkrb4 $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10731 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char krb_get_cred ();intmain (){krb_get_cred (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10750: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10753: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10756: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10759: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_krb4_krb_get_cred=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_krb4_krb_get_cred=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10770: result: $ac_cv_lib_krb4_krb_get_cred" >&5echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6if test $ac_cv_lib_krb4_krb_get_cred = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBKRB4 1EOF LIBS="-lkrb4 $LIBS"elseecho "$as_me:10781: checking for krb_get_cred in -lkrb" >&5echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lkrb $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 10789 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char krb_get_cred ();intmain (){krb_get_cred (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:10808: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:10811: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:10814: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:10817: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_krb_krb_get_cred=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_krb_krb_get_cred=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:10828: result: $ac_cv_lib_krb_krb_get_cred" >&5echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6if test $ac_cv_lib_krb_krb_get_cred = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBKRB 1EOF LIBS="-lkrb $LIBS"fifi fi if test "${with_kerberos5+set}" = set; thenfor ac_header in krb5.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:10848: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10854 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:10858: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:10864: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:10883: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidone elsefor ac_header in des.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:10898: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10904 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:10908: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:10914: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:10933: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFelsefor ac_header in kerberosIV/des.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:10945: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10951 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:10955: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:10961: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:10980: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFelsefor ac_header in kerberos/des.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:10992: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 10998 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11002: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11008: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11027: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefidonefidonefor ac_header in krb.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:11046: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11052 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11056: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11062: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11081: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFelsefor ac_header in kerberosIV/krb.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:11093: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11099 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11103: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11109: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11128: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFelsefor ac_header in kerberos/krb.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:11140: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11146 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11150: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11156: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11175: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefidonefidone fifor ac_header in com_err.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:11196: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11202 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11206: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11212: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11231: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefi# Solaris requires -lintl if you want strerror (which calls dgettext)# to return localized messages.echo "$as_me:11246: checking for dgettext in -lintl" >&5echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else ac_check_lib_save_LIBS=$LIBSLIBS="-lintl $LIBS"cat >conftest.$ac_ext <<_ACEOF#line 11254 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dgettext ();intmain (){dgettext (); ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:11273: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11276: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:11279: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11282: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dgettext=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_lib_intl_dgettext=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho "$as_me:11293: result: $ac_cv_lib_intl_dgettext" >&5echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6if test $ac_cv_lib_intl_dgettext = yes; then cat >>confdefs.h <<EOF#define HAVE_LIBINTL 1EOF LIBS="-lintl $LIBS"fiecho "$as_me:11304: checking whether localtime caches TZ" >&5echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6if test "${emacs_cv_localtime_cache+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test x$ac_cv_func_tzset = xyes; thenif test "$cross_compiling" = yes; then # If we have tzset, assume the worst when cross-compiling.emacs_cv_localtime_cache=yeselse cat >conftest.$ac_ext <<_ACEOF#line 11315 "configure"#include "confdefs.h"#include <time.h>extern char **environ;unset_TZ (){ char **from, **to; for (to = from = environ; (*to = *from); from++) if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '=')) to++;}char TZ_GMT0[] = "TZ=GMT0";char TZ_PST8[] = "TZ=PST8";main(){ time_t now = time ((time_t *) 0); int hour_GMT0, hour_unset; if (putenv (TZ_GMT0) != 0) exit (1); hour_GMT0 = localtime (&now)->tm_hour; unset_TZ (); hour_unset = localtime (&now)->tm_hour; if (putenv (TZ_PST8) != 0) exit (1); if (localtime (&now)->tm_hour == hour_GMT0) exit (1); unset_TZ (); if (localtime (&now)->tm_hour != hour_unset) exit (1); exit (0);}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:11348: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11351: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:11353: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11356: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_localtime_cache=noelse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_localtime_cache=yesfirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfielse # If we lack tzset, report that localtime does not cache TZ, # since we can't invalidate the cache if we don't have tzset. emacs_cv_localtime_cache=nofifiecho "$as_me:11373: result: $emacs_cv_localtime_cache" >&5echo "${ECHO_T}$emacs_cv_localtime_cache" >&6if test $emacs_cv_localtime_cache = yes; then cat >>confdefs.h <<\EOF#define LOCALTIME_CACHE 1EOFfiif test "x$HAVE_TIMEVAL" = xyes; thenfor ac_func in gettimeofdaydoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:11387: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11393 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:11424: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11427: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:11430: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11433: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:11443: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidone echo "$as_me:11453: checking whether gettimeofday can accept two arguments" >&5echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11459 "configure"#include "confdefs.h"#ifdef TIME_WITH_SYS_TIME#include <sys/time.h>#include <time.h>#else#ifdef HAVE_SYS_TIME_H#include <sys/time.h>#else#include <time.h>#endif#endifintmain (){struct timeval time; gettimeofday (&time, 0); ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:11482: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:11485: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:11488: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11491: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_gettimeofday_two_arguments=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_gettimeofday_two_arguments=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:11501: result: $emacs_cv_gettimeofday_two_arguments" >&5echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 if test $emacs_cv_gettimeofday_two_arguments = no; then cat >>confdefs.h <<\EOF#define GETTIMEOFDAY_ONE_ARGUMENT 1EOF fifiif test "$ac_cv_func_gettimeofday" = yes; then echo "$as_me:11512: checking for struct timezone" >&5echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6if test "${emacs_cv_struct_timezone+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11518 "configure"#include "confdefs.h"#include <sys/time.h>intmain (){struct timezone tz; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:11530: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:11533: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:11536: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11539: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if test "$cross_compiling" = yes; then emacs_cv_struct_timezone=yeselse cat >conftest.$ac_ext <<_ACEOF#line 11545 "configure"#include "confdefs.h"#ifdef TIME_WITH_SYS_TIME#include <sys/time.h>#include <time.h>#else#ifdef HAVE_SYS_TIME_H#include <sys/time.h>#else#include <time.h>#endif#endifmain () { struct timeval time; struct timezone dummy; exit (gettimeofday (&time, &dummy));}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:11565: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11568: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:11570: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11573: \$? = $ac_status" >&5 (exit $ac_status); }; }; then emacs_cv_struct_timezone=yeselse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_struct_timezone=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfielse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5emacs_cv_struct_timezone=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:11591: result: $emacs_cv_struct_timezone" >&5echo "${ECHO_T}$emacs_cv_struct_timezone" >&6fiok_so_far=yesecho "$as_me:11596: checking for socket" >&5echo $ECHO_N "checking for socket... $ECHO_C" >&6if test "${ac_cv_func_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11602 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char socket ();char (*f) ();intmain (){/* 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_socket) || defined (__stub___socket)choke me#elsef = socket;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:11633: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11636: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:11639: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11642: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_socket=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_socket=nofirm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:11652: result: $ac_cv_func_socket" >&5echo "${ECHO_T}$ac_cv_func_socket" >&6if test $ac_cv_func_socket = yes; then :else ok_so_far=nofiif test $ok_so_far = yes; then echo "$as_me:11661: checking for netinet/in.h" >&5echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6if test "${ac_cv_header_netinet_in_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11667 "configure"#include "confdefs.h"#include <netinet/in.h>_ACEOFif { (eval echo "$as_me:11671: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11677: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_netinet_in_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_netinet_in_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:11696: result: $ac_cv_header_netinet_in_h" >&5echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6if test $ac_cv_header_netinet_in_h = yes; then :else ok_so_far=nofifiif test $ok_so_far = yes; then echo "$as_me:11706: checking for arpa/inet.h" >&5echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6if test "${ac_cv_header_arpa_inet_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11712 "configure"#include "confdefs.h"#include <arpa/inet.h>_ACEOFif { (eval echo "$as_me:11716: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11722: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then ac_cv_header_arpa_inet_h=yeselse echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_header_arpa_inet_h=nofirm -f conftest.err conftest.$ac_extfiecho "$as_me:11741: result: $ac_cv_header_arpa_inet_h" >&5echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6if test $ac_cv_header_arpa_inet_h = yes; then :else ok_so_far=nofifiif test $ok_so_far = yes; then cat >>confdefs.h <<\EOF#define HAVE_INET_SOCKETS 1EOFfiif test -f /usr/lpp/X11/bin/smt.exp; then cat >>confdefs.h <<\EOF#define HAVE_AIX_SMT_EXP 1EOFfiecho "$as_me:11764: checking whether system supports dynamic ptys" >&5echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then echo "$as_me:11767: result: yes" >&5echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF#define HAVE_DEV_PTMX 1EOFelse echo "$as_me:11774: result: no" >&5echo "${ECHO_T}no" >&6fiecho "$as_me:11778: checking for pid_t" >&5echo $ECHO_N "checking for pid_t... $ECHO_C" >&6if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11784 "configure"#include "confdefs.h"$ac_includes_defaultintmain (){if ((pid_t *) 0) return 0;if (sizeof (pid_t)) return 0; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:11799: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:11802: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:11805: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11808: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_pid_t=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_type_pid_t=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:11818: result: $ac_cv_type_pid_t" >&5echo "${ECHO_T}$ac_cv_type_pid_t" >&6if test $ac_cv_type_pid_t = yes; then :elsecat >>confdefs.h <<EOF#define pid_t intEOFfifor ac_header in unistd.h vfork.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:11833: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11839 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:11843: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:11849: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:11868: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFfidonefor ac_func in fork vforkdoas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`echo "$as_me:11881: checking for $ac_func" >&5echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 11887 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();char (*f) ();intmain (){/* 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#elsef = $ac_func;#endif ; return 0;}_ACEOFrm -f conftest.$ac_objext conftest$ac_exeextif { (eval echo "$as_me:11918: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11921: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:11924: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11927: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes"else echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5eval "$as_ac_var=no"firm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extfiecho "$as_me:11937: result: `eval echo '${'$as_ac_var'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1EOFfidoneac_cv_func_fork_works=$ac_cv_func_forkif test "x$ac_cv_func_fork" = xyes; then echo "$as_me:11949: checking for working fork" >&5echo $ECHO_N "checking for working fork... $ECHO_C" >&6if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=crosselse cat >conftest.$ac_ext <<_ACEOF/* By R�diger Kuhlmann. */ #include <sys/types.h> #if HAVE_UNISTD_H # include <unistd.h> #endif /* Some systems only have a dummy stub for fork() */ int main () { if (fork() < 0) exit (1); exit (0); }_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:11972: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:11975: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:11977: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:11980: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yeselse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_fork_works=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:11992: result: $ac_cv_func_fork_works" >&5echo "${ECHO_T}$ac_cv_func_fork_works" >&6fiif test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { echo "$as_me:12006: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}fiac_cv_func_vfork_works=$ac_cv_func_vforkif test "x$ac_cv_func_vfork" = xyes; then echo "$as_me:12011: checking for working vfork" >&5echo $ECHO_N "checking for working vfork... $ECHO_C" >&6if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=crosselse cat >conftest.$ac_ext <<_ACEOF#line 12020 "configure"#include "confdefs.h"/* Thanks to Paul Eggert for this test. */#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#if HAVE_UNISTD_H# include <unistd.h>#endif#if HAVE_VFORK_H# include <vfork.h>#endif/* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include <vfork.h>, but some compilers (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */static#ifdef __cplusplussparc_address_test (int arg)# elsesparc_address_test (arg) int arg;#endif{ static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } }}intmain (){ pid_t parent = getpid (); pid_t child; sparc_address_test (); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; exit( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); }}_ACEOFrm -f conftest$ac_exeextif { (eval echo "$as_me:12117: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:12120: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:12122: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:12125: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yeselse echo "$as_me: program exited with status $ac_status" >&5echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_func_vfork_works=nofirm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_extfifiecho "$as_me:12137: result: $ac_cv_func_vfork_works" >&5echo "${ECHO_T}$ac_cv_func_vfork_works" >&6fi;if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=ac_cv_func_vfork { echo "$as_me:12143: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}fiif test "x$ac_cv_func_vfork_works" = xyes; thencat >>confdefs.h <<\EOF#define HAVE_WORKING_VFORK 1EOFelsecat >>confdefs.h <<\EOF#define vfork forkEOFfiif test "x$ac_cv_func_fork_works" = xyes; thencat >>confdefs.h <<\EOF#define HAVE_WORKING_FORK 1EOFfi# Fixme: This should be replaced when we have autoconf 2.14.echo "$as_me:12169: checking for size_t" >&5echo $ECHO_N "checking for size_t... $ECHO_C" >&6if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 12175 "configure"#include "confdefs.h"$ac_includes_defaultintmain (){if ((size_t *) 0) return 0;if (sizeof (size_t)) return 0; ; return 0;}_ACEOFrm -f conftest.$ac_objextif { (eval echo "$as_me:12190: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:12193: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:12196: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:12199: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_size_t=yeselse echo "$as_me: failed program was:" >&5cat conftest.$ac_ext >&5ac_cv_type_size_t=nofirm -f conftest.$ac_objext conftest.$ac_extfiecho "$as_me:12209: result: $ac_cv_type_size_t" >&5echo "${ECHO_T}$ac_cv_type_size_t" >&6if test $ac_cv_type_size_t = yes; then :elsecat >>confdefs.h <<EOF#define size_t unsignedEOFfi# Set up the CFLAGS for real compilation, so we can substitute it.CFLAGS="$REAL_CFLAGS"CPPFLAGS="$REAL_CPPFLAGS"#### Find out which version of Emacs this is.version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`if test x"${version}" = x; then { { echo "$as_me:12229: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} { (exit 1); exit 1; }; }fi### Specify what sort of things we'll be editing into Makefile and config.h.### Use configuration here uncanonicalized to avoid exceeding size limits.cat >>confdefs.h <<EOF#define EMACS_CONFIGURATION "${canonical}"EOFcat >>confdefs.h <<EOF#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"EOFcat >>confdefs.h <<EOF#define config_machfile "${machfile}"EOFcat >>confdefs.h <<EOF#define config_opsysfile "${opsysfile}"EOFcat >>confdefs.h <<EOF#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}EOFcat >>confdefs.h <<EOF#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}EOFcat >>confdefs.h <<EOF#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}EOFcat >>confdefs.h <<EOF#define UNEXEC_SRC ${UNEXEC_SRC}EOFif test "${HAVE_X_WINDOWS}" = "yes" ; then cat >>confdefs.h <<\EOF#define HAVE_X_WINDOWS 1EOFfiif test "${USE_X_TOOLKIT}" != "none" ; then cat >>confdefs.h <<\EOF#define USE_X_TOOLKIT 1EOFfiif test "${HAVE_X11}" = "yes" ; then cat >>confdefs.h <<\EOF#define HAVE_X11 1EOFfiif test "${HAVE_XFREE386}" = "yes" ; then cat >>confdefs.h <<\EOF#define HAVE_XFREE386 1EOFfiif test "${HAVE_MENUS}" = "yes" ; then cat >>confdefs.h <<\EOF#define HAVE_MENUS 1EOFfiif test "${GNU_MALLOC}" = "yes" ; then cat >>confdefs.h <<\EOF#define GNU_MALLOC 1EOFfiif test "${REL_ALLOC}" = "yes" ; then cat >>confdefs.h <<\EOF#define REL_ALLOC 1EOFfifor ac_header in nlist.hdoas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`echo "$as_me:12315: checking for $ac_header" >&5echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6else cat >conftest.$ac_ext <<_ACEOF#line 12321 "configure"#include "confdefs.h"#include <$ac_header>_ACEOFif { (eval echo "$as_me:12325: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:12331: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fielse ac_cpp_err=yesfiif test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes"else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 eval "$as_ac_Header=no"firm -f conftest.err conftest.$ac_extfiecho "$as_me:12350: result: `eval echo '${'$as_ac_Header'}'`" >&5echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1EOFcat >>confdefs.h <<\EOF#define NLIST_STRUCT 1EOFfidone#### Report on what we decided to do.echo "Configured for \`${canonical}'. Where should the build process find the source code? ${srcdir} What operating system and machine description files should Emacs use? \`${opsysfile}' and \`${machfile}' What compiler should emacs be built with? ${CC} ${CFLAGS} Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers What window system should Emacs use? ${window_system} What toolkit should Emacs use? ${USE_X_TOOLKIT}"if test -n "${x_includes}"; thenecho " Where do we find X Windows header files? ${x_includes}"elseecho " Where do we find X Windows header files? Standard dirs"fiif test -n "${x_libraries}"; thenecho " Where do we find X Windows libraries? ${x_libraries}"elseecho " Where do we find X Windows libraries? Standard dirs"fiecho " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"echo " Does Emacs use -lXpm? ${HAVE_XPM}"echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"echo " Does Emacs use -ltiff? ${HAVE_TIFF}"echo " Does Emacs use -lungif? ${HAVE_GIF}"echo " Does Emacs use -lpng? ${HAVE_PNG}"echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"echo# Remove any trailing slashes in these variables.test "${prefix}" != NONE && prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`test "${exec_prefix}" != NONE && exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`## Check if the C preprocessor will convert `..' to `. .'. If so, set## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile## from Makefile.c can correctly provide the arg `-traditional' to the## C preprocessor.cat >conftest.$ac_ext <<_ACEOF#line 12410 "configure"#include "confdefs.h"yes..yes_ACEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes..yes" >/dev/null 2>&1; then CPP_NEED_TRADITIONAL=noelse CPP_NEED_TRADITIONAL=yesfirm -f conftest*ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"ac_config_commands="$ac_config_commands default"cat >confcache <<\_ACEOF# 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 overriden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# 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.{ (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcacheif cmp -s $cache_file confcache; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fifirm -f confcachetest "x$prefix" = xNONE && prefix=$ac_default_prefix# Let make expand exec_prefix.test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'# 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).if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{s/:*\$(srcdir):*/:/;s/:*\${srcdir}:*/:/;s/:*@srcdir@:*/:/;s/^\([^=]*=[ ]*\):*/\1/;s/:*$//;s/^[^=]*=[ ]*$//;}'fiDEFS=-DHAVE_CONFIG_H: ${CONFIG_STATUS=./config.status}ac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files $CONFIG_STATUS"{ echo "$as_me:12503: creating $CONFIG_STATUS" >&5echo "$as_me: creating $CONFIG_STATUS" >&6;}cat >$CONFIG_STATUS <<_ACEOF#! $SHELL# Generated automatically by configure.# Run this file to recreate the current configuration.# Compiler output produced by configure, useful for debugging# configure, is in config.log if it exists.debug=falseSHELL=\${CONFIG_SHELL-$SHELL}ac_cs_invocation="\$0 \$@"_ACEOFcat >>$CONFIG_STATUS <<\_ACEOF# Be Bourne compatibleif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=:elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posixfi# Name of the executable.as_me=`echo "$0" |sed 's,.*[\\/],,'`if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=exprelse as_expr=falsefirm -f conf$$ conf$$.exe conf$$.fileecho >conf$$.fileif ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fielif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=lnelse as_ln_s='cp -p'firm -f conf$$ conf$$.exe conf$$.fileas_executable_p="test -f"# Support unset when possible.if (FOO=FOO; unset FOO) >/dev/null 2>&1; then as_unset=unsetelse as_unset=falsefi# NLS nuisances.$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }exec 6>&1_ACEOF# Files that config.status was made for.if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUSfiif test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUSfiif test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUSfiif test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUSficat >>$CONFIG_STATUS <<\EOFac_cs_usage="\\`$as_me' instantiates files from templates according to thecurrent configuration.Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -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 --header=FILE[:TEMPLATE] instantiate the configuration header FILEConfiguration files:$config_filesConfiguration headers:$config_headersConfiguration commands:$config_commandsReport bugs to <bug-autoconf@gnu.org>."EOFcat >>$CONFIG_STATUS <<EOFac_cs_version="\\config.statusconfigured by $0, generated by GNU Autoconf 2.52, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001Free Software Foundation, Inc.This config.status script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it."srcdir=$srcdirINSTALL="$INSTALL"EOFcat >>$CONFIG_STATUS <<\EOF# If no file are specified by the user, then we need to provide default# value. By we need to know if files were specified by the user.ac_need_defaults=:while test $# != 0do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` shift set dummy "$ac_option" "$ac_optarg" ${1+"$@"} shift ;; -*);; *) # This is not an option, so the user has probably given explicit # arguments. ac_need_defaults=false;; esac case $1 in # Handling of the options.EOFcat >>$CONFIG_STATUS <<EOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;EOFcat >>$CONFIG_STATUS <<\EOF --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:12679: error: ambiguous option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: ambiguous option: $1Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) shift CONFIG_FILES="$CONFIG_FILES $1" ac_need_defaults=false;; --header | --heade | --head | --hea ) shift CONFIG_HEADERS="$CONFIG_HEADERS $1" ac_need_defaults=false;; # This is an error. -*) { { echo "$as_me:12698: error: unrecognized option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: unrecognized option: $1Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shiftdoneexec 5>>config.logcat >&5 << _ACEOF## ----------------------- #### Running config.status. #### ----------------------- ##This file was extended by $as_me 2.52, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS > $ac_cs_invocationon `(hostname || uname -n) 2>/dev/null | sed 1q`_ACEOFEOFcat >>$CONFIG_STATUS <<EOF## INIT-COMMANDS section.#GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"EOFcat >>$CONFIG_STATUS <<\EOFfor ac_config_target in $ac_config_targetsdo case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; *) { { echo "$as_me:12754: error: invalid argument: $ac_config_target" >&5echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esacdone# 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 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commandsfi# Create a temporary directory, and hook for its removal unless debugging.$debug ||{ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15}# Create a (secure) tmp directory for tmp files.: ${TMPDIR=/tmp}{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp"} ||{ tmp=$TMPDIR/cs$$-$RANDOM (umask 077 && mkdir $tmp)} ||{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 { (exit 1); exit 1; }}EOFcat >>$CONFIG_STATUS <<EOF## CONFIG_FILES section.## No need to generate the scripts if there are no CONFIG_FILES.# This happens for instance when ./config.status config.hif test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOFs,@SHELL@,$SHELL,;t ts,@exec_prefix@,$exec_prefix,;t ts,@prefix@,$prefix,;t ts,@program_transform_name@,$program_transform_name,;t ts,@bindir@,$bindir,;t ts,@sbindir@,$sbindir,;t ts,@libexecdir@,$libexecdir,;t ts,@datadir@,$datadir,;t ts,@sysconfdir@,$sysconfdir,;t ts,@sharedstatedir@,$sharedstatedir,;t ts,@localstatedir@,$localstatedir,;t ts,@libdir@,$libdir,;t ts,@includedir@,$includedir,;t ts,@oldincludedir@,$oldincludedir,;t ts,@infodir@,$infodir,;t ts,@mandir@,$mandir,;t ts,@PACKAGE_NAME@,$PACKAGE_NAME,;t ts,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t ts,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t ts,@PACKAGE_STRING@,$PACKAGE_STRING,;t ts,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t ts,@build_alias@,$build_alias,;t ts,@host_alias@,$host_alias,;t ts,@target_alias@,$target_alias,;t ts,@ECHO_C@,$ECHO_C,;t ts,@ECHO_N@,$ECHO_N,;t ts,@ECHO_T@,$ECHO_T,;t ts,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t ts,@DEFS@,$DEFS,;t ts,@LIBS@,$LIBS,;t ts,@build@,$build,;t ts,@build_cpu@,$build_cpu,;t ts,@build_vendor@,$build_vendor,;t ts,@build_os@,$build_os,;t ts,@host@,$host,;t ts,@host_cpu@,$host_cpu,;t ts,@host_vendor@,$host_vendor,;t ts,@host_os@,$host_os,;t ts,@CC@,$CC,;t ts,@CFLAGS@,$CFLAGS,;t ts,@LDFLAGS@,$LDFLAGS,;t ts,@CPPFLAGS@,$CPPFLAGS,;t ts,@ac_ct_CC@,$ac_ct_CC,;t ts,@EXEEXT@,$EXEEXT,;t ts,@OBJEXT@,$OBJEXT,;t ts,@LN_S@,$LN_S,;t ts,@CPP@,$CPP,;t ts,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t ts,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t ts,@INSTALL_DATA@,$INSTALL_DATA,;t ts,@YACC@,$YACC,;t ts,@RANLIB@,$RANLIB,;t ts,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t ts,@LIBSOUND@,$LIBSOUND,;t ts,@SET_MAKE@,$SET_MAKE,;t ts,@ALLOCA@,$ALLOCA,;t ts,@liblockfile@,$liblockfile,;t ts,@LIBOBJS@,$LIBOBJS,;t ts,@NEED_SETGID@,$NEED_SETGID,;t ts,@KMEM_GROUP@,$KMEM_GROUP,;t ts,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t ts,@version@,$version,;t ts,@configuration@,$configuration,;t ts,@canonical@,$canonical,;t ts,@srcdir@,$srcdir,;t ts,@lispdir@,$lispdir,;t ts,@locallisppath@,$locallisppath,;t ts,@lisppath@,$lisppath,;t ts,@x_default_search_path@,$x_default_search_path,;t ts,@etcdir@,$etcdir,;t ts,@archlibdir@,$archlibdir,;t ts,@docdir@,$docdir,;t ts,@bitmapdir@,$bitmapdir,;t ts,@c_switch_system@,$c_switch_system,;t ts,@c_switch_machine@,$c_switch_machine,;t ts,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t ts,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t ts,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t ts,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t ts,@machfile@,$machfile,;t ts,@opsysfile@,$opsysfile,;t tCEOFEOF cat >>$CONFIG_STATUS <<\EOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fifi # test -n "$CONFIG_FILES"EOFcat >>$CONFIG_STATUS <<\EOFfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;;esacas_dummy="$ac_dir"for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" ;; esacdone; } ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` else ac_dir_suffix= ac_dots= fi case $srcdir in .) ac_srcdir=. if test -z "$ac_dots"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_dots$srcdir$ac_dir_suffix ac_top_srcdir=$ac_dots$srcdir ;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_dots$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:13001: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated automatically by config.status. */ configure_input="Generated automatically from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:13019: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:13032: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; }EOFcat >>$CONFIG_STATUS <<EOF sed "$ac_vpsub$extrasubEOFcat >>$CONFIG_STATUS <<\EOF:t/@[a-zA-Z_][a-zA-Z_0-9]*@/!bs,@configure_input@,$configure_input,;t ts,@srcdir@,$ac_srcdir,;t ts,@top_srcdir@,$ac_top_srcdir,;t ts,@INSTALL@,$ac_INSTALL,;t t" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fidoneEOFcat >>$CONFIG_STATUS <<\EOF## CONFIG_HEADER section.## These sed commands are passed to sed as "A NAME B NAME C VALUE D", where# NAME is the cpp macro being defined and VALUE is the value it is being given.## ac_d sets the value in "#define NAME VALUE" lines.ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'ac_dB='[ ].*$,\1#\2'ac_dC=' 'ac_dD=',;t'# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'ac_uB='$,\1#\2define\3'ac_uC=' 'ac_uD=',;t'for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:13093: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:13104: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; *) # Relative if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:13117: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/inEOF# Transform confdefs.h into two sed scripts, `conftest.defines' and# `conftest.undefs', that substitutes the proper values into# config.h.in to produce config.h. The first handles `#define'# templates, and the second `#undef' templates.# And first: Protect against being on the right side of a sed subst in# config.status. Protect against being in an unquoted here document# in config.status.rm -f conftest.defines conftest.undefs# Using a here document instead of a string reduces the quoting nightmare.# Putting comments in sed scripts is not portable.## `end' is used to avoid that the second main sed command (meant for# 0-ary CPP macros) applies to n-ary macro definitions.# See the Autoconf documentation for `clear'.cat >confdef2sed.sed <<\EOFs/[\\&,]/\\&/gs,[\\$`],\\&,gt clear: clears,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gpt ends,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp: endEOF# If some macros were called several times there might be several times# the same #defines, which is useless. Nevertheless, we may not want to# sort them, since we want the *last* AC-DEFINE to be honored.uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.definessed 's/ac_d/ac_u/g' conftest.defines >conftest.undefsrm -f confdef2sed.sed# This sed command replaces #undef with comments. This is necessary, for# example, in the case of _POSIX_SOURCE, which is predefined and required# on some systems where configure will not decide to define it.cat >>conftest.undefs <<\EOFs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,EOF# Break up conftest.defines because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUSecho ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUSecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUSecho ' :' >>$CONFIG_STATUSrm -f conftest.tailwhile grep . conftest.defines >/dev/nulldo # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.definesdonerm -f conftest.definesecho ' fi # egrep' >>$CONFIG_STATUSecho >>$CONFIG_STATUS# Break up conftest.undefs because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo ' # Handle all the #undef templates' >>$CONFIG_STATUSrm -f conftest.tailwhile grep . conftest.undefs >/dev/nulldo # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefsdonerm -f conftest.undefscat >>$CONFIG_STATUS <<\EOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated automatically by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated automatically by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then { echo "$as_me:13234: $ac_file is unchanged" >&5echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then { case "$ac_dir" in [\\/]* | ?:[\\/]* ) as_incr_dir=;; *) as_incr_dir=.;;esacas_dummy="$ac_dir"for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do case $as_mkdir_dir in # Skip DOS drivespec ?:) as_incr_dir=$as_mkdir_dir ;; *) as_incr_dir=$as_incr_dir/$as_mkdir_dir test -d "$as_incr_dir" || mkdir "$as_incr_dir" ;; esacdone; } fi rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fidoneEOFcat >>$CONFIG_STATUS <<\EOF## CONFIG_COMMANDS section.#for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` case $ac_dest in default )### Make the necessary directories, if they don't exist.for dir in etc lisp ; do test -d ${dir} || mkdir ${dir}done# Build src/Makefile from ${srcdir}/src/Makefile.c# and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c# This must be done after src/config.h is built, since we rely on that file.# Now get this: Some word that is part of the ${srcdir} directory name# or the ${configuration} value might, just might, happen to be an# identifier like `sun4' or `i386' or something, and be predefined by# the C preprocessor to some helpful value like 1, or maybe the empty# string. Needless to say consequent macro substitutions are less# than conducive to the makefile finding the correct directory.undefs="`echo $top_srcdir $configuration $canonical |sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \`"echo creating src/epaths.h${MAKE-make} epaths-force# As of 2000-11-19, newest development versions of GNU cpp preprocess# `..' to `. .' unless invoked with -traditionalif test "x$GCC" = xyes && test "x$CPP_NEED_TRADITIONAL" = xyes; then CPPFLAGS="$CPPFLAGS -traditional"fiecho creating lib-src/Makefile( cd lib-src rm -f junk.c junk1.c junk2.c sed -e '/start of cpp stuff/q' \ < Makefile.c > junk1.c sed -e '1,/start of cpp stuff/d'\ -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ < Makefile.c > junk.c $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c cat junk1.c junk2.c > Makefile.new rm -f junk.c junk1.c junk2.c chmod 444 Makefile.new mv -f Makefile.new Makefile)echo creating src/Makefile( cd src rm -f junk.c junk1.c junk2.c sed -e '/start of cpp stuff/q' \ < Makefile.c > junk1.c sed -e '1,/start of cpp stuff/d'\ -e 's,/\*\*/#\(.*\)$,/* \1 */,' \ < Makefile.c > junk.c $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \ sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c cat junk1.c junk2.c > Makefile.new rm -f junk.c junk1.c junk2.c chmod 444 Makefile.new mv -f Makefile.new Makefile)if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then echo creating src/.gdbinit echo source $srcdir/src/.gdbinit > src/.gdbinitfi# This is how we know whether to re-run configure in certain cases.touch src/config.stamp ;; esacdoneEOFcat >>$CONFIG_STATUS <<\EOF{ (exit 0); exit 0; }EOFchmod +x $CONFIG_STATUSac_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# output is simply discarded. So we exec the FD to /dev/null,# 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.if test "$no_create" != yes; then ac_cs_success=: exec 5>/dev/null $SHELL $CONFIG_STATUS || 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