5 kx #! /bin/sh
5 kx # Guess values for system-dependent variables and create Makefiles.
5 kx # Generated by GNU Autoconf 2.61 for procinfo-ng 2.0.
5 kx #
5 kx # Report bugs to <tabrisnet@users.sourceforge.net>.
5 kx #
5 kx # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 kx # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 kx # This configure script is free software; the Free Software Foundation
5 kx # gives unlimited permission to copy, distribute and modify it.
5 kx ## --------------------- ##
5 kx ## M4sh Initialization. ##
5 kx ## --------------------- ##
5 kx
5 kx # Be more Bourne compatible
5 kx DUALCASE=1; export DUALCASE # for MKS sh
5 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5 kx emulate sh
5 kx NULLCMD=:
5 kx # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5 kx # is contrary to our usage. Disable this feature.
5 kx alias -g '${1+"$@"}'='"$@"'
5 kx setopt NO_GLOB_SUBST
5 kx else
5 kx case `(set -o) 2>/dev/null` in
5 kx *posix*) set -o posix ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx
5 kx
5 kx
5 kx # PATH needs CR
5 kx # Avoid depending upon Character Ranges.
5 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5 kx as_cr_digits='0123456789'
5 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
5 kx
5 kx # The user is always right.
5 kx if test "${PATH_SEPARATOR+set}" != set; then
5 kx echo "#! /bin/sh" >conf$$.sh
5 kx echo "exit 0" >>conf$$.sh
5 kx chmod +x conf$$.sh
5 kx if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5 kx PATH_SEPARATOR=';'
5 kx else
5 kx PATH_SEPARATOR=:
5 kx fi
5 kx rm -f conf$$.sh
5 kx fi
5 kx
5 kx # Support unset when possible.
5 kx if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5 kx as_unset=unset
5 kx else
5 kx as_unset=false
5 kx fi
5 kx
5 kx
5 kx # IFS
5 kx # We need space, tab and new line, in precisely that order. Quoting is
5 kx # there to prevent editors from complaining about space-tab.
5 kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5 kx # splitting by setting IFS to empty value.)
5 kx as_nl='
5 kx '
5 kx IFS=" "" $as_nl"
5 kx
5 kx # Find who we are. Look in the path if we contain no directory separator.
5 kx case $0 in
5 kx *[\\/]* ) as_myself=$0 ;;
5 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx ;;
5 kx esac
5 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
5 kx # in which case we are not to be found in the path.
5 kx if test "x$as_myself" = x; then
5 kx as_myself=$0
5 kx fi
5 kx if test ! -f "$as_myself"; then
5 kx echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5 kx { (exit 1); exit 1; }
5 kx fi
5 kx
5 kx # Work around bugs in pre-3.0 UWIN ksh.
5 kx for as_var in ENV MAIL MAILPATH
5 kx do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5 kx done
5 kx PS1='$ '
5 kx PS2='> '
5 kx PS4='+ '
5 kx
5 kx # NLS nuisances.
5 kx for as_var in \
5 kx LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5 kx LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5 kx LC_TELEPHONE LC_TIME
5 kx do
5 kx if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5 kx eval $as_var=C; export $as_var
5 kx else
5 kx ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5 kx fi
5 kx done
5 kx
5 kx # Required to use basename.
5 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
5 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
5 kx as_expr=expr
5 kx else
5 kx as_expr=false
5 kx fi
5 kx
5 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5 kx as_basename=basename
5 kx else
5 kx as_basename=false
5 kx fi
5 kx
5 kx
5 kx # Name of the executable.
5 kx as_me=`$as_basename -- "$0" ||
5 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5 kx X"$0" : 'X\(//\)$' \| \
5 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5 kx echo X/"$0" |
5 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\/\(\/\/\)$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\/\(\/\).*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx s/.*/./; q'`
5 kx
5 kx # CDPATH.
5 kx $as_unset CDPATH
5 kx
5 kx
5 kx if test "x$CONFIG_SHELL" = x; then
5 kx if (eval ":") 2>/dev/null; then
5 kx as_have_required=yes
5 kx else
5 kx as_have_required=no
5 kx fi
5 kx
5 kx if test $as_have_required = yes && (eval ":
5 kx (as_func_return () {
5 kx (exit \$1)
5 kx }
5 kx as_func_success () {
5 kx as_func_return 0
5 kx }
5 kx as_func_failure () {
5 kx as_func_return 1
5 kx }
5 kx as_func_ret_success () {
5 kx return 0
5 kx }
5 kx as_func_ret_failure () {
5 kx return 1
5 kx }
5 kx
5 kx exitcode=0
5 kx if as_func_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_success failed.
5 kx fi
5 kx
5 kx if as_func_failure; then
5 kx exitcode=1
5 kx echo as_func_failure succeeded.
5 kx fi
5 kx
5 kx if as_func_ret_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_ret_success failed.
5 kx fi
5 kx
5 kx if as_func_ret_failure; then
5 kx exitcode=1
5 kx echo as_func_ret_failure succeeded.
5 kx fi
5 kx
5 kx if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo positional parameters were not saved.
5 kx fi
5 kx
5 kx test \$exitcode = 0) || { (exit 1); exit 1; }
5 kx
5 kx (
5 kx as_lineno_1=\$LINENO
5 kx as_lineno_2=\$LINENO
5 kx test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5 kx test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5 kx ") 2> /dev/null; then
5 kx :
5 kx else
5 kx as_candidate_shells=
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx case $as_dir in
5 kx /*)
5 kx for as_base in sh bash ksh sh5; do
5 kx as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5 kx done;;
5 kx esac
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx
5 kx for as_shell in $as_candidate_shells $SHELL; do
5 kx # Try only shells that exist, to save several forks.
5 kx if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5 kx { ("$as_shell") 2> /dev/null <<\_ASEOF
5 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5 kx emulate sh
5 kx NULLCMD=:
5 kx # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5 kx # is contrary to our usage. Disable this feature.
5 kx alias -g '${1+"$@"}'='"$@"'
5 kx setopt NO_GLOB_SUBST
5 kx else
5 kx case `(set -o) 2>/dev/null` in
5 kx *posix*) set -o posix ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx
5 kx :
5 kx _ASEOF
5 kx }; then
5 kx CONFIG_SHELL=$as_shell
5 kx as_have_required=yes
5 kx if { "$as_shell" 2> /dev/null <<\_ASEOF
5 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5 kx emulate sh
5 kx NULLCMD=:
5 kx # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5 kx # is contrary to our usage. Disable this feature.
5 kx alias -g '${1+"$@"}'='"$@"'
5 kx setopt NO_GLOB_SUBST
5 kx else
5 kx case `(set -o) 2>/dev/null` in
5 kx *posix*) set -o posix ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx
5 kx :
5 kx (as_func_return () {
5 kx (exit $1)
5 kx }
5 kx as_func_success () {
5 kx as_func_return 0
5 kx }
5 kx as_func_failure () {
5 kx as_func_return 1
5 kx }
5 kx as_func_ret_success () {
5 kx return 0
5 kx }
5 kx as_func_ret_failure () {
5 kx return 1
5 kx }
5 kx
5 kx exitcode=0
5 kx if as_func_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_success failed.
5 kx fi
5 kx
5 kx if as_func_failure; then
5 kx exitcode=1
5 kx echo as_func_failure succeeded.
5 kx fi
5 kx
5 kx if as_func_ret_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_ret_success failed.
5 kx fi
5 kx
5 kx if as_func_ret_failure; then
5 kx exitcode=1
5 kx echo as_func_ret_failure succeeded.
5 kx fi
5 kx
5 kx if ( set x; as_func_ret_success y && test x = "$1" ); then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo positional parameters were not saved.
5 kx fi
5 kx
5 kx test $exitcode = 0) || { (exit 1); exit 1; }
5 kx
5 kx (
5 kx as_lineno_1=$LINENO
5 kx as_lineno_2=$LINENO
5 kx test "x$as_lineno_1" != "x$as_lineno_2" &&
5 kx test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
5 kx
5 kx _ASEOF
5 kx }; then
5 kx break
5 kx fi
5 kx
5 kx fi
5 kx
5 kx done
5 kx
5 kx if test "x$CONFIG_SHELL" != x; then
5 kx for as_var in BASH_ENV ENV
5 kx do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5 kx done
5 kx export CONFIG_SHELL
5 kx exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5 kx fi
5 kx
5 kx
5 kx if test $as_have_required = no; then
5 kx echo This script requires a shell more modern than all the
5 kx echo shells that I found on your system. Please install a
5 kx echo modern shell, or manually run the script under such a
5 kx echo shell if you do have one.
5 kx { (exit 1); exit 1; }
5 kx fi
5 kx
5 kx
5 kx fi
5 kx
5 kx fi
5 kx
5 kx
5 kx
5 kx (eval "as_func_return () {
5 kx (exit \$1)
5 kx }
5 kx as_func_success () {
5 kx as_func_return 0
5 kx }
5 kx as_func_failure () {
5 kx as_func_return 1
5 kx }
5 kx as_func_ret_success () {
5 kx return 0
5 kx }
5 kx as_func_ret_failure () {
5 kx return 1
5 kx }
5 kx
5 kx exitcode=0
5 kx if as_func_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_success failed.
5 kx fi
5 kx
5 kx if as_func_failure; then
5 kx exitcode=1
5 kx echo as_func_failure succeeded.
5 kx fi
5 kx
5 kx if as_func_ret_success; then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo as_func_ret_success failed.
5 kx fi
5 kx
5 kx if as_func_ret_failure; then
5 kx exitcode=1
5 kx echo as_func_ret_failure succeeded.
5 kx fi
5 kx
5 kx if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5 kx :
5 kx else
5 kx exitcode=1
5 kx echo positional parameters were not saved.
5 kx fi
5 kx
5 kx test \$exitcode = 0") || {
5 kx echo No shell found that supports shell functions.
5 kx echo Please tell autoconf@gnu.org about your system,
5 kx echo including any error possibly output before this
5 kx echo message
5 kx }
5 kx
5 kx
5 kx
5 kx as_lineno_1=$LINENO
5 kx as_lineno_2=$LINENO
5 kx test "x$as_lineno_1" != "x$as_lineno_2" &&
5 kx test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5 kx
5 kx # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5 kx # uniformly replaced by the line number. The first 'sed' inserts a
5 kx # line-number line after each line using $LINENO; the second 'sed'
5 kx # does the real work. The second script uses 'N' to pair each
5 kx # line-number line with the line containing $LINENO, and appends
5 kx # trailing '-' during substitution so that $LINENO is not a special
5 kx # case at line end.
5 kx # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5 kx # scripts with optimization help from Paolo Bonzini. Blame Lee
5 kx # E. McMahon (1931-1989) for sed's syntax. :-)
5 kx sed -n '
5 kx p
5 kx /[$]LINENO/=
5 kx ' <$as_myself |
5 kx sed '
5 kx s/[$]LINENO.*/&-/
5 kx t lineno
5 kx b
5 kx :lineno
5 kx N
5 kx :loop
5 kx s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5 kx t loop
5 kx s/-\n.*//
5 kx ' >$as_me.lineno &&
5 kx chmod +x "$as_me.lineno" ||
5 kx { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5 kx { (exit 1); exit 1; }; }
5 kx
5 kx # Don't try to exec as it changes $[0], causing all sort of problems
5 kx # (the dirname of $[0] is not the place where we might find the
5 kx # original and so on. Autoconf is especially sensitive to this).
5 kx . "./$as_me.lineno"
5 kx # Exit status is that of the last command.
5 kx exit
5 kx }
5 kx
5 kx
5 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5 kx as_dirname=dirname
5 kx else
5 kx as_dirname=false
5 kx fi
5 kx
5 kx ECHO_C= ECHO_N= ECHO_T=
5 kx case `echo -n x` in
5 kx -n*)
5 kx case `echo 'x\c'` in
5 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5 kx *) ECHO_C='\c';;
5 kx esac;;
5 kx *)
5 kx ECHO_N='-n';;
5 kx esac
5 kx
5 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
5 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
5 kx as_expr=expr
5 kx else
5 kx as_expr=false
5 kx fi
5 kx
5 kx rm -f conf$$ conf$$.exe conf$$.file
5 kx if test -d conf$$.dir; then
5 kx rm -f conf$$.dir/conf$$.file
5 kx else
5 kx rm -f conf$$.dir
5 kx mkdir conf$$.dir
5 kx fi
5 kx echo >conf$$.file
5 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
5 kx as_ln_s='ln -s'
5 kx # ... but there are two gotchas:
5 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5 kx # In both cases, we have to default to `cp -p'.
5 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5 kx as_ln_s='cp -p'
5 kx elif ln conf$$.file conf$$ 2>/dev/null; then
5 kx as_ln_s=ln
5 kx else
5 kx as_ln_s='cp -p'
5 kx fi
5 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5 kx rmdir conf$$.dir 2>/dev/null
5 kx
5 kx if mkdir -p . 2>/dev/null; then
5 kx as_mkdir_p=:
5 kx else
5 kx test -d ./-p && rmdir ./-p
5 kx as_mkdir_p=false
5 kx fi
5 kx
5 kx if test -x / >/dev/null 2>&1; then
5 kx as_test_x='test -x'
5 kx else
5 kx if ls -dL / >/dev/null 2>&1; then
5 kx as_ls_L_option=L
5 kx else
5 kx as_ls_L_option=
5 kx fi
5 kx as_test_x='
5 kx eval sh -c '\''
5 kx if test -d "$1"; then
5 kx test -d "$1/.";
5 kx else
5 kx case $1 in
5 kx -*)set "./$1";;
5 kx esac;
5 kx case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5 kx ???[sx]*):;;*)false;;esac;fi
5 kx '\'' sh
5 kx '
5 kx fi
5 kx as_executable_p=$as_test_x
5 kx
5 kx # Sed expression to map a string onto a valid CPP name.
5 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5 kx
5 kx # Sed expression to map a string onto a valid variable name.
5 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5 kx
5 kx
5 kx
5 kx exec 7<&0 </dev/null 6>&1
5 kx
5 kx # Name of the host.
5 kx # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5 kx # so uname gets run too.
5 kx ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5 kx
5 kx #
5 kx # Initializations.
5 kx #
5 kx ac_default_prefix=/usr/local
5 kx ac_clean_files=
5 kx ac_config_libobj_dir=.
5 kx LIBOBJS=
5 kx cross_compiling=no
5 kx subdirs=
5 kx MFLAGS=
5 kx MAKEFLAGS=
5 kx SHELL=${CONFIG_SHELL-/bin/sh}
5 kx
5 kx # Identity of this package.
5 kx PACKAGE_NAME='procinfo-ng'
5 kx PACKAGE_TARNAME='procinfo-ng'
5 kx PACKAGE_VERSION='2.0'
5 kx PACKAGE_STRING='procinfo-ng 2.0'
5 kx PACKAGE_BUGREPORT='tabrisnet@users.sourceforge.net'
5 kx
5 kx ac_unique_file="procinfo.cpp"
5 kx # Factoring default headers for most tests.
5 kx ac_includes_default="\
5 kx #include <stdio.h>
5 kx #ifdef HAVE_SYS_TYPES_H
5 kx # include <sys/types.h>
5 kx #endif
5 kx #ifdef HAVE_SYS_STAT_H
5 kx # include <sys/stat.h>
5 kx #endif
5 kx #ifdef STDC_HEADERS
5 kx # include <stdlib.h>
5 kx # include <stddef.h>
5 kx #else
5 kx # ifdef HAVE_STDLIB_H
5 kx # include <stdlib.h>
5 kx # endif
5 kx #endif
5 kx #ifdef HAVE_STRING_H
5 kx # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5 kx # include <memory.h>
5 kx # endif
5 kx # include <string.h>
5 kx #endif
5 kx #ifdef HAVE_STRINGS_H
5 kx # include <strings.h>
5 kx #endif
5 kx #ifdef HAVE_INTTYPES_H
5 kx # include <inttypes.h>
5 kx #endif
5 kx #ifdef HAVE_STDINT_H
5 kx # include <stdint.h>
5 kx #endif
5 kx #ifdef HAVE_UNISTD_H
5 kx # include <unistd.h>
5 kx #endif"
5 kx
5 kx ac_subst_vars='SHELL
5 kx PATH_SEPARATOR
5 kx PACKAGE_NAME
5 kx PACKAGE_TARNAME
5 kx PACKAGE_VERSION
5 kx PACKAGE_STRING
5 kx PACKAGE_BUGREPORT
5 kx exec_prefix
5 kx prefix
5 kx program_transform_name
5 kx bindir
5 kx sbindir
5 kx libexecdir
5 kx datarootdir
5 kx datadir
5 kx sysconfdir
5 kx sharedstatedir
5 kx localstatedir
5 kx includedir
5 kx oldincludedir
5 kx docdir
5 kx infodir
5 kx htmldir
5 kx dvidir
5 kx pdfdir
5 kx psdir
5 kx libdir
5 kx localedir
5 kx mandir
5 kx DEFS
5 kx ECHO_C
5 kx ECHO_N
5 kx ECHO_T
5 kx LIBS
5 kx build_alias
5 kx host_alias
5 kx target_alias
5 kx CC
5 kx CFLAGS
5 kx LDFLAGS
5 kx CPPFLAGS
5 kx ac_ct_CC
5 kx EXEEXT
5 kx OBJEXT
5 kx CXX
5 kx CXXFLAGS
5 kx ac_ct_CXX
5 kx INSTALL_PROGRAM
5 kx INSTALL_SCRIPT
5 kx INSTALL_DATA
5 kx CPP
5 kx GREP
5 kx EGREP
5 kx POW_LIB
5 kx LIBOBJS
5 kx LTLIBOBJS'
5 kx ac_subst_files=''
5 kx ac_precious_vars='build_alias
5 kx host_alias
5 kx target_alias
5 kx CC
5 kx CFLAGS
5 kx LDFLAGS
5 kx LIBS
5 kx CPPFLAGS
5 kx CXX
5 kx CXXFLAGS
5 kx CCC
5 kx CPP'
5 kx
5 kx
5 kx # Initialize some variables set by options.
5 kx ac_init_help=
5 kx ac_init_version=false
5 kx # The variables have the same names as the options, with
5 kx # dashes changed to underlines.
5 kx cache_file=/dev/null
5 kx exec_prefix=NONE
5 kx no_create=
5 kx no_recursion=
5 kx prefix=NONE
5 kx program_prefix=NONE
5 kx program_suffix=NONE
5 kx program_transform_name=s,x,x,
5 kx silent=
5 kx site=
5 kx srcdir=
5 kx verbose=
5 kx x_includes=NONE
5 kx x_libraries=NONE
5 kx
5 kx # Installation directory options.
5 kx # These are left unexpanded so users can "make install exec_prefix=/foo"
5 kx # and all the variables that are supposed to be based on exec_prefix
5 kx # by default will actually change.
5 kx # Use braces instead of parens because sh, perl, etc. also accept them.
5 kx # (The list follows the same order as the GNU Coding Standards.)
5 kx bindir='${exec_prefix}/bin'
5 kx sbindir='${exec_prefix}/sbin'
5 kx libexecdir='${exec_prefix}/libexec'
5 kx datarootdir='${prefix}/share'
5 kx datadir='${datarootdir}'
5 kx sysconfdir='${prefix}/etc'
5 kx sharedstatedir='${prefix}/com'
5 kx localstatedir='${prefix}/var'
5 kx includedir='${prefix}/include'
5 kx oldincludedir='/usr/include'
5 kx docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
5 kx infodir='${datarootdir}/info'
5 kx htmldir='${docdir}'
5 kx dvidir='${docdir}'
5 kx pdfdir='${docdir}'
5 kx psdir='${docdir}'
5 kx libdir='${exec_prefix}/lib'
5 kx localedir='${datarootdir}/locale'
5 kx mandir='${datarootdir}/man'
5 kx
5 kx ac_prev=
5 kx ac_dashdash=
5 kx for ac_option
5 kx do
5 kx # If the previous option needs an argument, assign it.
5 kx if test -n "$ac_prev"; then
5 kx eval $ac_prev=\$ac_option
5 kx ac_prev=
5 kx continue
5 kx fi
5 kx
5 kx case $ac_option in
5 kx *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
5 kx *) ac_optarg=yes ;;
5 kx esac
5 kx
5 kx # Accept the important Cygnus configure options, so we can diagnose typos.
5 kx
5 kx case $ac_dashdash$ac_option in
5 kx --)
5 kx ac_dashdash=yes ;;
5 kx
5 kx -bindir | --bindir | --bindi | --bind | --bin | --bi)
5 kx ac_prev=bindir ;;
5 kx -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5 kx bindir=$ac_optarg ;;
5 kx
5 kx -build | --build | --buil | --bui | --bu)
5 kx ac_prev=build_alias ;;
5 kx -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5 kx build_alias=$ac_optarg ;;
5 kx
5 kx -cache-file | --cache-file | --cache-fil | --cache-fi \
5 kx | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5 kx ac_prev=cache_file ;;
5 kx -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5 kx | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5 kx cache_file=$ac_optarg ;;
5 kx
5 kx --config-cache | -C)
5 kx cache_file=config.cache ;;
5 kx
5 kx -datadir | --datadir | --datadi | --datad)
5 kx ac_prev=datadir ;;
5 kx -datadir=* | --datadir=* | --datadi=* | --datad=*)
5 kx datadir=$ac_optarg ;;
5 kx
5 kx -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
5 kx | --dataroo | --dataro | --datar)
5 kx ac_prev=datarootdir ;;
5 kx -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
5 kx | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
5 kx datarootdir=$ac_optarg ;;
5 kx
5 kx -disable-* | --disable-*)
5 kx ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5 kx # Reject names that are not valid shell variable names.
5 kx expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5 kx { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5 kx { (exit 1); exit 1; }; }
5 kx ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
5 kx eval enable_$ac_feature=no ;;
5 kx
5 kx -docdir | --docdir | --docdi | --doc | --do)
5 kx ac_prev=docdir ;;
5 kx -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
5 kx docdir=$ac_optarg ;;
5 kx
5 kx -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
5 kx ac_prev=dvidir ;;
5 kx -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
5 kx dvidir=$ac_optarg ;;
5 kx
5 kx -enable-* | --enable-*)
5 kx ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5 kx # Reject names that are not valid shell variable names.
5 kx expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5 kx { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5 kx { (exit 1); exit 1; }; }
5 kx ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
5 kx eval enable_$ac_feature=\$ac_optarg ;;
5 kx
5 kx -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5 kx | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5 kx | --exec | --exe | --ex)
5 kx ac_prev=exec_prefix ;;
5 kx -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5 kx | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
5 kx | --exec=* | --exe=* | --ex=*)
5 kx exec_prefix=$ac_optarg ;;
5 kx
5 kx -gas | --gas | --ga | --g)
5 kx # Obsolete; use --with-gas.
5 kx with_gas=yes ;;
5 kx
5 kx -help | --help | --hel | --he | -h)
5 kx ac_init_help=long ;;
5 kx -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
5 kx ac_init_help=recursive ;;
5 kx -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
5 kx ac_init_help=short ;;
5 kx
5 kx -host | --host | --hos | --ho)
5 kx ac_prev=host_alias ;;
5 kx -host=* | --host=* | --hos=* | --ho=*)
5 kx host_alias=$ac_optarg ;;
5 kx
5 kx -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
5 kx ac_prev=htmldir ;;
5 kx -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
5 kx | --ht=*)
5 kx htmldir=$ac_optarg ;;
5 kx
5 kx -includedir | --includedir | --includedi | --included | --include \
5 kx | --includ | --inclu | --incl | --inc)
5 kx ac_prev=includedir ;;
5 kx -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5 kx | --includ=* | --inclu=* | --incl=* | --inc=*)
5 kx includedir=$ac_optarg ;;
5 kx
5 kx -infodir | --infodir | --infodi | --infod | --info | --inf)
5 kx ac_prev=infodir ;;
5 kx -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5 kx infodir=$ac_optarg ;;
5 kx
5 kx -libdir | --libdir | --libdi | --libd)
5 kx ac_prev=libdir ;;
5 kx -libdir=* | --libdir=* | --libdi=* | --libd=*)
5 kx libdir=$ac_optarg ;;
5 kx
5 kx -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5 kx | --libexe | --libex | --libe)
5 kx ac_prev=libexecdir ;;
5 kx -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5 kx | --libexe=* | --libex=* | --libe=*)
5 kx libexecdir=$ac_optarg ;;
5 kx
5 kx -localedir | --localedir | --localedi | --localed | --locale)
5 kx ac_prev=localedir ;;
5 kx -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
5 kx localedir=$ac_optarg ;;
5 kx
5 kx -localstatedir | --localstatedir | --localstatedi | --localstated \
5 kx | --localstate | --localstat | --localsta | --localst | --locals)
5 kx ac_prev=localstatedir ;;
5 kx -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5 kx | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
5 kx localstatedir=$ac_optarg ;;
5 kx
5 kx -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5 kx ac_prev=mandir ;;
5 kx -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
5 kx mandir=$ac_optarg ;;
5 kx
5 kx -nfp | --nfp | --nf)
5 kx # Obsolete; use --without-fp.
5 kx with_fp=no ;;
5 kx
5 kx -no-create | --no-create | --no-creat | --no-crea | --no-cre \
5 kx | --no-cr | --no-c | -n)
5 kx no_create=yes ;;
5 kx
5 kx -no-recursion | --no-recursion | --no-recursio | --no-recursi \
5 kx | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5 kx no_recursion=yes ;;
5 kx
5 kx -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5 kx | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
5 kx | --oldin | --oldi | --old | --ol | --o)
5 kx ac_prev=oldincludedir ;;
5 kx -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
5 kx | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
5 kx | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
5 kx oldincludedir=$ac_optarg ;;
5 kx
5 kx -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5 kx ac_prev=prefix ;;
5 kx -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5 kx prefix=$ac_optarg ;;
5 kx
5 kx -program-prefix | --program-prefix | --program-prefi | --program-pref \
5 kx | --program-pre | --program-pr | --program-p)
5 kx ac_prev=program_prefix ;;
5 kx -program-prefix=* | --program-prefix=* | --program-prefi=* \
5 kx | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
5 kx program_prefix=$ac_optarg ;;
5 kx
5 kx -program-suffix | --program-suffix | --program-suffi | --program-suff \
5 kx | --program-suf | --program-su | --program-s)
5 kx ac_prev=program_suffix ;;
5 kx -program-suffix=* | --program-suffix=* | --program-suffi=* \
5 kx | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
5 kx program_suffix=$ac_optarg ;;
5 kx
5 kx -program-transform-name | --program-transform-name \
5 kx | --program-transform-nam | --program-transform-na \
5 kx | --program-transform-n | --program-transform- \
5 kx | --program-transform | --program-transfor \
5 kx | --program-transfo | --program-transf \
5 kx | --program-trans | --program-tran \
5 kx | --progr-tra | --program-tr | --program-t)
5 kx ac_prev=program_transform_name ;;
5 kx -program-transform-name=* | --program-transform-name=* \
5 kx | --program-transform-nam=* | --program-transform-na=* \
5 kx | --program-transform-n=* | --program-transform-=* \
5 kx | --program-transform=* | --program-transfor=* \
5 kx | --program-transfo=* | --program-transf=* \
5 kx | --program-trans=* | --program-tran=* \
5 kx | --progr-tra=* | --program-tr=* | --program-t=*)
5 kx program_transform_name=$ac_optarg ;;
5 kx
5 kx -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
5 kx ac_prev=pdfdir ;;
5 kx -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
5 kx pdfdir=$ac_optarg ;;
5 kx
5 kx -psdir | --psdir | --psdi | --psd | --ps)
5 kx ac_prev=psdir ;;
5 kx -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
5 kx psdir=$ac_optarg ;;
5 kx
5 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5 kx | -silent | --silent | --silen | --sile | --sil)
5 kx silent=yes ;;
5 kx
5 kx -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5 kx ac_prev=sbindir ;;
5 kx -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5 kx | --sbi=* | --sb=*)
5 kx sbindir=$ac_optarg ;;
5 kx
5 kx -sharedstatedir | --sharedstatedir | --sharedstatedi \
5 kx | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5 kx | --sharedst | --shareds | --shared | --share | --shar \
5 kx | --sha | --sh)
5 kx ac_prev=sharedstatedir ;;
5 kx -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5 kx | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5 kx | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5 kx | --sha=* | --sh=*)
5 kx sharedstatedir=$ac_optarg ;;
5 kx
5 kx -site | --site | --sit)
5 kx ac_prev=site ;;
5 kx -site=* | --site=* | --sit=*)
5 kx site=$ac_optarg ;;
5 kx
5 kx -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5 kx ac_prev=srcdir ;;
5 kx -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5 kx srcdir=$ac_optarg ;;
5 kx
5 kx -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5 kx | --syscon | --sysco | --sysc | --sys | --sy)
5 kx ac_prev=sysconfdir ;;
5 kx -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5 kx | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5 kx sysconfdir=$ac_optarg ;;
5 kx
5 kx -target | --target | --targe | --targ | --tar | --ta | --t)
5 kx ac_prev=target_alias ;;
5 kx -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5 kx target_alias=$ac_optarg ;;
5 kx
5 kx -v | -verbose | --verbose | --verbos | --verbo | --verb)
5 kx verbose=yes ;;
5 kx
5 kx -version | --version | --versio | --versi | --vers | -V)
5 kx ac_init_version=: ;;
5 kx
5 kx -with-* | --with-*)
5 kx ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5 kx # Reject names that are not valid shell variable names.
5 kx expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5 kx { echo "$as_me: error: invalid package name: $ac_package" >&2
5 kx { (exit 1); exit 1; }; }
5 kx ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
5 kx eval with_$ac_package=\$ac_optarg ;;
5 kx
5 kx -without-* | --without-*)
5 kx ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5 kx # Reject names that are not valid shell variable names.
5 kx expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5 kx { echo "$as_me: error: invalid package name: $ac_package" >&2
5 kx { (exit 1); exit 1; }; }
5 kx ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
5 kx eval with_$ac_package=no ;;
5 kx
5 kx --x)
5 kx # Obsolete; use --with-x.
5 kx with_x=yes ;;
5 kx
5 kx -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5 kx | --x-incl | --x-inc | --x-in | --x-i)
5 kx ac_prev=x_includes ;;
5 kx -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5 kx | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
5 kx x_includes=$ac_optarg ;;
5 kx
5 kx -x-libraries | --x-libraries | --x-librarie | --x-librari \
5 kx | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5 kx ac_prev=x_libraries ;;
5 kx -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5 kx | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5 kx x_libraries=$ac_optarg ;;
5 kx
5 kx -*) { echo "$as_me: error: unrecognized option: $ac_option
5 kx Try \`$0 --help' for more information." >&2
5 kx { (exit 1); exit 1; }; }
5 kx ;;
5 kx
5 kx *=*)
5 kx ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
5 kx # Reject names that are not valid shell variable names.
5 kx expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
5 kx { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
5 kx { (exit 1); exit 1; }; }
5 kx eval $ac_envvar=\$ac_optarg
5 kx export $ac_envvar ;;
5 kx
5 kx *)
5 kx # FIXME: should be removed in autoconf 3.0.
5 kx echo "$as_me: WARNING: you should use --build, --host, --target" >&2
5 kx expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
5 kx echo "$as_me: WARNING: invalid host type: $ac_option" >&2
5 kx : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
5 kx ;;
5 kx
5 kx esac
5 kx done
5 kx
5 kx if test -n "$ac_prev"; then
5 kx ac_option=--`echo $ac_prev | sed 's/_/-/g'`
5 kx { echo "$as_me: error: missing argument to $ac_option" >&2
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx # Be sure to have absolute directory names.
5 kx for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
5 kx datadir sysconfdir sharedstatedir localstatedir includedir \
5 kx oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
5 kx libdir localedir mandir
5 kx do
5 kx eval ac_val=\$$ac_var
5 kx case $ac_val in
5 kx [\\/$]* | ?:[\\/]* ) continue;;
5 kx NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
5 kx esac
5 kx { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
5 kx { (exit 1); exit 1; }; }
5 kx done
5 kx
5 kx # There might be people who depend on the old broken behavior: `$host'
5 kx # used to hold the argument of --host etc.
5 kx # FIXME: To remove some day.
5 kx build=$build_alias
5 kx host=$host_alias
5 kx target=$target_alias
5 kx
5 kx # FIXME: To remove some day.
5 kx if test "x$host_alias" != x; then
5 kx if test "x$build_alias" = x; then
5 kx cross_compiling=maybe
5 kx echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5 kx If a cross compiler is detected then cross compile mode will be used." >&2
5 kx elif test "x$build_alias" != "x$host_alias"; then
5 kx cross_compiling=yes
5 kx fi
5 kx fi
5 kx
5 kx ac_tool_prefix=
5 kx test -n "$host_alias" && ac_tool_prefix=$host_alias-
5 kx
5 kx test "$silent" = yes && exec 6>/dev/null
5 kx
5 kx
5 kx ac_pwd=`pwd` && test -n "$ac_pwd" &&
5 kx ac_ls_di=`ls -di .` &&
5 kx ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
5 kx { echo "$as_me: error: Working directory cannot be determined" >&2
5 kx { (exit 1); exit 1; }; }
5 kx test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
5 kx { echo "$as_me: error: pwd does not report name of working directory" >&2
5 kx { (exit 1); exit 1; }; }
5 kx
5 kx
5 kx # Find the source files, if location was not specified.
5 kx if test -z "$srcdir"; then
5 kx ac_srcdir_defaulted=yes
5 kx # Try the directory containing this script, then the parent directory.
5 kx ac_confdir=`$as_dirname -- "$0" ||
5 kx $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5 kx X"$0" : 'X\(//\)[^/]' \| \
5 kx X"$0" : 'X\(//\)$' \| \
5 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5 kx echo X"$0" |
5 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)[^/].*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\).*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx s/.*/./; q'`
5 kx srcdir=$ac_confdir
5 kx if test ! -r "$srcdir/$ac_unique_file"; then
5 kx srcdir=..
5 kx fi
5 kx else
5 kx ac_srcdir_defaulted=no
5 kx fi
5 kx if test ! -r "$srcdir/$ac_unique_file"; then
5 kx test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
5 kx { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
5 kx ac_abs_confdir=`(
5 kx cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
5 kx { (exit 1); exit 1; }; }
5 kx pwd)`
5 kx # When building in place, set srcdir=.
5 kx if test "$ac_abs_confdir" = "$ac_pwd"; then
5 kx srcdir=.
5 kx fi
5 kx # Remove unnecessary trailing slashes from srcdir.
5 kx # Double slashes in file names in object file debugging info
5 kx # mess up M-x gdb in Emacs.
5 kx case $srcdir in
5 kx */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
5 kx esac
5 kx for ac_var in $ac_precious_vars; do
5 kx eval ac_env_${ac_var}_set=\${${ac_var}+set}
5 kx eval ac_env_${ac_var}_value=\$${ac_var}
5 kx eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
5 kx eval ac_cv_env_${ac_var}_value=\$${ac_var}
5 kx done
5 kx
5 kx #
5 kx # Report the --help message.
5 kx #
5 kx if test "$ac_init_help" = "long"; then
5 kx # Omit some internal or obsolete options to make the list less imposing.
5 kx # This message is too long to be a string in the A/UX 3.1 sh.
5 kx cat <<_ACEOF
5 kx \`configure' configures procinfo-ng 2.0 to adapt to many kinds of systems.
5 kx
5 kx Usage: $0 [OPTION]... [VAR=VALUE]...
5 kx
5 kx To assign environment variables (e.g., CC, CFLAGS...), specify them as
5 kx VAR=VALUE. See below for descriptions of some of the useful variables.
5 kx
5 kx Defaults for the options are specified in brackets.
5 kx
5 kx Configuration:
5 kx -h, --help display this help and exit
5 kx --help=short display options specific to this package
5 kx --help=recursive display the short help of all the included packages
5 kx -V, --version display version information and exit
5 kx -q, --quiet, --silent do not print \`checking...' messages
5 kx --cache-file=FILE cache test results in FILE [disabled]
5 kx -C, --config-cache alias for \`--cache-file=config.cache'
5 kx -n, --no-create do not create output files
5 kx --srcdir=DIR find the sources in DIR [configure dir or \`..']
5 kx
5 kx Installation directories:
5 kx --prefix=PREFIX install architecture-independent files in PREFIX
5 kx [$ac_default_prefix]
5 kx --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5 kx [PREFIX]
5 kx
5 kx By default, \`make install' will install all the files in
5 kx \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
5 kx an installation prefix other than \`$ac_default_prefix' using \`--prefix',
5 kx for instance \`--prefix=\$HOME'.
5 kx
5 kx For better control, use the options below.
5 kx
5 kx Fine tuning of the installation directories:
5 kx --bindir=DIR user executables [EPREFIX/bin]
5 kx --sbindir=DIR system admin executables [EPREFIX/sbin]
5 kx --libexecdir=DIR program executables [EPREFIX/libexec]
5 kx --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
5 kx --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
5 kx --localstatedir=DIR modifiable single-machine data [PREFIX/var]
5 kx --libdir=DIR object code libraries [EPREFIX/lib]
5 kx --includedir=DIR C header files [PREFIX/include]
5 kx --oldincludedir=DIR C header files for non-gcc [/usr/include]
5 kx --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
5 kx --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
5 kx --infodir=DIR info documentation [DATAROOTDIR/info]
5 kx --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
5 kx --mandir=DIR man documentation [DATAROOTDIR/man]
5 kx --docdir=DIR documentation root [DATAROOTDIR/doc/procinfo-ng]
5 kx --htmldir=DIR html documentation [DOCDIR]
5 kx --dvidir=DIR dvi documentation [DOCDIR]
5 kx --pdfdir=DIR pdf documentation [DOCDIR]
5 kx --psdir=DIR ps documentation [DOCDIR]
5 kx _ACEOF
5 kx
5 kx cat <<\_ACEOF
5 kx _ACEOF
5 kx fi
5 kx
5 kx if test -n "$ac_init_help"; then
5 kx case $ac_init_help in
5 kx short | recursive ) echo "Configuration of procinfo-ng 2.0:";;
5 kx esac
5 kx cat <<\_ACEOF
5 kx
5 kx Optional Features:
5 kx --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5 kx --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5 kx --enable-maintainer-mode Enables debug symbols and disables optimizations default=no
5 kx
5 kx Some influential environment variables:
5 kx CC C compiler command
5 kx CFLAGS C compiler flags
5 kx LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
5 kx nonstandard directory <lib dir>
5 kx LIBS libraries to pass to the linker, e.g. -l<library>
5 kx CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
5 kx you have headers in a nonstandard directory <include dir>
5 kx CXX C++ compiler command
5 kx CXXFLAGS C++ compiler flags
5 kx CPP C preprocessor
5 kx
5 kx Use these variables to override the choices made by `configure' or to help
5 kx it to find libraries and programs with nonstandard names/locations.
5 kx
5 kx Report bugs to <tabrisnet@users.sourceforge.net>.
5 kx _ACEOF
5 kx ac_status=$?
5 kx fi
5 kx
5 kx if test "$ac_init_help" = "recursive"; then
5 kx # If there are subdirs, report their specific --help.
5 kx for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
5 kx test -d "$ac_dir" || continue
5 kx ac_builddir=.
5 kx
5 kx case "$ac_dir" in
5 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5 kx *)
5 kx ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5 kx # A ".." for each directory in $ac_dir_suffix.
5 kx ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5 kx case $ac_top_builddir_sub in
5 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5 kx esac ;;
5 kx esac
5 kx ac_abs_top_builddir=$ac_pwd
5 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
5 kx # for backward compatibility:
5 kx ac_top_builddir=$ac_top_build_prefix
5 kx
5 kx case $srcdir in
5 kx .) # We are building in place.
5 kx ac_srcdir=.
5 kx ac_top_srcdir=$ac_top_builddir_sub
5 kx ac_abs_top_srcdir=$ac_pwd ;;
5 kx [\\/]* | ?:[\\/]* ) # Absolute name.
5 kx ac_srcdir=$srcdir$ac_dir_suffix;
5 kx ac_top_srcdir=$srcdir
5 kx ac_abs_top_srcdir=$srcdir ;;
5 kx *) # Relative name.
5 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
5 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5 kx esac
5 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5 kx
5 kx cd "$ac_dir" || { ac_status=$?; continue; }
5 kx # Check for guested configure.
5 kx if test -f "$ac_srcdir/configure.gnu"; then
5 kx echo &&
5 kx $SHELL "$ac_srcdir/configure.gnu" --help=recursive
5 kx elif test -f "$ac_srcdir/configure"; then
5 kx echo &&
5 kx $SHELL "$ac_srcdir/configure" --help=recursive
5 kx else
5 kx echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
5 kx fi || ac_status=$?
5 kx cd "$ac_pwd" || { ac_status=$?; break; }
5 kx done
5 kx fi
5 kx
5 kx test -n "$ac_init_help" && exit $ac_status
5 kx if $ac_init_version; then
5 kx cat <<\_ACEOF
5 kx procinfo-ng configure 2.0
5 kx generated by GNU Autoconf 2.61
5 kx
5 kx Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 kx 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5 kx This configure script is free software; the Free Software Foundation
5 kx gives unlimited permission to copy, distribute and modify it.
5 kx _ACEOF
5 kx exit
5 kx fi
5 kx cat >config.log <<_ACEOF
5 kx This file contains any messages produced by compilers while
5 kx running configure, to aid debugging if configure makes a mistake.
5 kx
5 kx It was created by procinfo-ng $as_me 2.0, which was
5 kx generated by GNU Autoconf 2.61. Invocation command line was
5 kx
5 kx $ $0 $@
5 kx
5 kx _ACEOF
5 kx exec 5>>config.log
5 kx {
5 kx cat <<_ASUNAME
5 kx ## --------- ##
5 kx ## Platform. ##
5 kx ## --------- ##
5 kx
5 kx hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
5 kx uname -m = `(uname -m) 2>/dev/null || echo unknown`
5 kx uname -r = `(uname -r) 2>/dev/null || echo unknown`
5 kx uname -s = `(uname -s) 2>/dev/null || echo unknown`
5 kx uname -v = `(uname -v) 2>/dev/null || echo unknown`
5 kx
5 kx /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
5 kx /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
5 kx
5 kx /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
5 kx /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
5 kx /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
5 kx /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
5 kx /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
5 kx /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
5 kx /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
5 kx
5 kx _ASUNAME
5 kx
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx echo "PATH: $as_dir"
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx } >&5
5 kx
5 kx cat >&5 <<_ACEOF
5 kx
5 kx
5 kx ## ----------- ##
5 kx ## Core tests. ##
5 kx ## ----------- ##
5 kx
5 kx _ACEOF
5 kx
5 kx
5 kx # Keep a trace of the command line.
5 kx # Strip out --no-create and --no-recursion so they do not pile up.
5 kx # Strip out --silent because we don't want to record it for future runs.
5 kx # Also quote any args containing shell meta-characters.
5 kx # Make two passes to allow for proper duplicate-argument suppression.
5 kx ac_configure_args=
5 kx ac_configure_args0=
5 kx ac_configure_args1=
5 kx ac_must_keep_next=false
5 kx for ac_pass in 1 2
5 kx do
5 kx for ac_arg
5 kx do
5 kx case $ac_arg in
5 kx -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
5 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5 kx | -silent | --silent | --silen | --sile | --sil)
5 kx continue ;;
5 kx *\'*)
5 kx ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5 kx esac
5 kx case $ac_pass in
5 kx 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
5 kx 2)
5 kx ac_configure_args1="$ac_configure_args1 '$ac_arg'"
5 kx if test $ac_must_keep_next = true; then
5 kx ac_must_keep_next=false # Got value, back to normal.
5 kx else
5 kx case $ac_arg in
5 kx *=* | --config-cache | -C | -disable-* | --disable-* \
5 kx | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
5 kx | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
5 kx | -with-* | --with-* | -without-* | --without-* | --x)
5 kx case "$ac_configure_args0 " in
5 kx "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
5 kx esac
5 kx ;;
5 kx -* ) ac_must_keep_next=true ;;
5 kx esac
5 kx fi
5 kx ac_configure_args="$ac_configure_args '$ac_arg'"
5 kx ;;
5 kx esac
5 kx done
5 kx done
5 kx $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
5 kx $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
5 kx
5 kx # When interrupted or exit'd, cleanup temporary files, and complete
5 kx # config.log. We remove comments because anyway the quotes in there
5 kx # would cause problems or look ugly.
5 kx # WARNING: Use '\'' to represent an apostrophe within the trap.
5 kx # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
5 kx trap 'exit_status=$?
5 kx # Save into config.log some information that might help in debugging.
5 kx {
5 kx echo
5 kx
5 kx cat <<\_ASBOX
5 kx ## ---------------- ##
5 kx ## Cache variables. ##
5 kx ## ---------------- ##
5 kx _ASBOX
5 kx echo
5 kx # The following way of writing the cache mishandles newlines in values,
5 kx (
5 kx for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
5 kx eval ac_val=\$$ac_var
5 kx case $ac_val in #(
5 kx *${as_nl}*)
5 kx case $ac_var in #(
5 kx *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5 kx echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5 kx esac
5 kx case $ac_var in #(
5 kx _ | IFS | as_nl) ;; #(
5 kx *) $as_unset $ac_var ;;
5 kx esac ;;
5 kx esac
5 kx done
5 kx (set) 2>&1 |
5 kx case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
5 kx *${as_nl}ac_space=\ *)
5 kx sed -n \
5 kx "s/'\''/'\''\\\\'\'''\''/g;
5 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
5 kx ;; #(
5 kx *)
5 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5 kx ;;
5 kx esac |
5 kx sort
5 kx )
5 kx echo
5 kx
5 kx cat <<\_ASBOX
5 kx ## ----------------- ##
5 kx ## Output variables. ##
5 kx ## ----------------- ##
5 kx _ASBOX
5 kx echo
5 kx for ac_var in $ac_subst_vars
5 kx do
5 kx eval ac_val=\$$ac_var
5 kx case $ac_val in
5 kx *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
5 kx esac
5 kx echo "$ac_var='\''$ac_val'\''"
5 kx done | sort
5 kx echo
5 kx
5 kx if test -n "$ac_subst_files"; then
5 kx cat <<\_ASBOX
5 kx ## ------------------- ##
5 kx ## File substitutions. ##
5 kx ## ------------------- ##
5 kx _ASBOX
5 kx echo
5 kx for ac_var in $ac_subst_files
5 kx do
5 kx eval ac_val=\$$ac_var
5 kx case $ac_val in
5 kx *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
5 kx esac
5 kx echo "$ac_var='\''$ac_val'\''"
5 kx done | sort
5 kx echo
5 kx fi
5 kx
5 kx if test -s confdefs.h; then
5 kx cat <<\_ASBOX
5 kx ## ----------- ##
5 kx ## confdefs.h. ##
5 kx ## ----------- ##
5 kx _ASBOX
5 kx echo
5 kx cat confdefs.h
5 kx echo
5 kx fi
5 kx test "$ac_signal" != 0 &&
5 kx echo "$as_me: caught signal $ac_signal"
5 kx echo "$as_me: exit $exit_status"
5 kx } >&5
5 kx rm -f core *.core core.conftest.* &&
5 kx rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
5 kx exit $exit_status
5 kx ' 0
5 kx for ac_signal in 1 2 13 15; do
5 kx trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
5 kx done
5 kx ac_signal=0
5 kx
5 kx # confdefs.h avoids OS command line length limits that DEFS can exceed.
5 kx rm -f -r conftest* confdefs.h
5 kx
5 kx # Predefined preprocessor variables.
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define PACKAGE_NAME "$PACKAGE_NAME"
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define PACKAGE_VERSION "$PACKAGE_VERSION"
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define PACKAGE_STRING "$PACKAGE_STRING"
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
5 kx _ACEOF
5 kx
5 kx
5 kx # Let the site file select an alternate cache file if it wants to.
5 kx # Prefer explicitly selected file to automatically selected ones.
5 kx if test -n "$CONFIG_SITE"; then
5 kx set x "$CONFIG_SITE"
5 kx elif test "x$prefix" != xNONE; then
5 kx set x "$prefix/share/config.site" "$prefix/etc/config.site"
5 kx else
5 kx set x "$ac_default_prefix/share/config.site" \
5 kx "$ac_default_prefix/etc/config.site"
5 kx fi
5 kx shift
5 kx for ac_site_file
5 kx do
5 kx if test -r "$ac_site_file"; then
5 kx { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
5 kx echo "$as_me: loading site script $ac_site_file" >&6;}
5 kx sed 's/^/| /' "$ac_site_file" >&5
5 kx . "$ac_site_file"
5 kx fi
5 kx done
5 kx
5 kx if test -r "$cache_file"; then
5 kx # Some versions of bash will fail to source /dev/null (special
5 kx # files actually), so we avoid doing that.
5 kx if test -f "$cache_file"; then
5 kx { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5 kx echo "$as_me: loading cache $cache_file" >&6;}
5 kx case $cache_file in
5 kx [\\/]* | ?:[\\/]* ) . "$cache_file";;
5 kx *) . "./$cache_file";;
5 kx esac
5 kx fi
5 kx else
5 kx { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5 kx echo "$as_me: creating cache $cache_file" >&6;}
5 kx >$cache_file
5 kx fi
5 kx
5 kx # Check that the precious variables saved in the cache have kept the same
5 kx # value.
5 kx ac_cache_corrupted=false
5 kx for ac_var in $ac_precious_vars; do
5 kx eval ac_old_set=\$ac_cv_env_${ac_var}_set
5 kx eval ac_new_set=\$ac_env_${ac_var}_set
5 kx eval ac_old_val=\$ac_cv_env_${ac_var}_value
5 kx eval ac_new_val=\$ac_env_${ac_var}_value
5 kx case $ac_old_set,$ac_new_set in
5 kx set,)
5 kx { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
5 kx echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
5 kx ac_cache_corrupted=: ;;
5 kx ,set)
5 kx { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
5 kx echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
5 kx ac_cache_corrupted=: ;;
5 kx ,);;
5 kx *)
5 kx if test "x$ac_old_val" != "x$ac_new_val"; then
5 kx { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
5 kx echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
5 kx { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
5 kx echo "$as_me: former value: $ac_old_val" >&2;}
5 kx { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
5 kx echo "$as_me: current value: $ac_new_val" >&2;}
5 kx ac_cache_corrupted=:
5 kx fi;;
5 kx esac
5 kx # Pass precious variables to config.status.
5 kx if test "$ac_new_set" = set; then
5 kx case $ac_new_val in
5 kx *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
5 kx *) ac_arg=$ac_var=$ac_new_val ;;
5 kx esac
5 kx case " $ac_configure_args " in
5 kx *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
5 kx *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
5 kx esac
5 kx fi
5 kx done
5 kx if $ac_cache_corrupted; then
5 kx { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
5 kx echo "$as_me: error: changes in the environment can compromise the build" >&2;}
5 kx { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
5 kx echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx
5 kx
5 kx
5 kx
5 kx # Checks for programs.
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx if test -n "$ac_tool_prefix"; then
5 kx # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5 kx set dummy ${ac_tool_prefix}gcc; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$CC"; then
5 kx ac_cv_prog_CC="$CC" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_CC="${ac_tool_prefix}gcc"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx CC=$ac_cv_prog_CC
5 kx if test -n "$CC"; then
5 kx { echo "$as_me:$LINENO: result: $CC" >&5
5 kx echo "${ECHO_T}$CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx fi
5 kx if test -z "$ac_cv_prog_CC"; then
5 kx ac_ct_CC=$CC
5 kx # Extract the first word of "gcc", so it can be a program name with args.
5 kx set dummy gcc; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$ac_ct_CC"; then
5 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_ac_ct_CC="gcc"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
5 kx if test -n "$ac_ct_CC"; then
5 kx { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5 kx echo "${ECHO_T}$ac_ct_CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx if test "x$ac_ct_CC" = x; then
5 kx CC=""
5 kx else
5 kx case $cross_compiling:$ac_tool_warned in
5 kx yes:)
5 kx { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&5
5 kx echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5 kx ac_tool_warned=yes ;;
5 kx esac
5 kx CC=$ac_ct_CC
5 kx fi
5 kx else
5 kx CC="$ac_cv_prog_CC"
5 kx fi
5 kx
5 kx if test -z "$CC"; then
5 kx if test -n "$ac_tool_prefix"; then
5 kx # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5 kx set dummy ${ac_tool_prefix}cc; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$CC"; then
5 kx ac_cv_prog_CC="$CC" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_CC="${ac_tool_prefix}cc"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx CC=$ac_cv_prog_CC
5 kx if test -n "$CC"; then
5 kx { echo "$as_me:$LINENO: result: $CC" >&5
5 kx echo "${ECHO_T}$CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx fi
5 kx fi
5 kx if test -z "$CC"; then
5 kx # Extract the first word of "cc", so it can be a program name with args.
5 kx set dummy cc; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$CC"; then
5 kx ac_cv_prog_CC="$CC" # Let the user override the test.
5 kx else
5 kx ac_prog_rejected=no
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5 kx ac_prog_rejected=yes
5 kx continue
5 kx fi
5 kx ac_cv_prog_CC="cc"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx if test $ac_prog_rejected = yes; then
5 kx # We found a bogon in the path, so make sure we never use it.
5 kx set dummy $ac_cv_prog_CC
5 kx shift
5 kx if test $# != 0; then
5 kx # We chose a different compiler from the bogus one.
5 kx # However, it has the same basename, so the bogon will be chosen
5 kx # first if we set CC to just the basename; use the full file name.
5 kx shift
5 kx ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5 kx fi
5 kx fi
5 kx fi
5 kx fi
5 kx CC=$ac_cv_prog_CC
5 kx if test -n "$CC"; then
5 kx { echo "$as_me:$LINENO: result: $CC" >&5
5 kx echo "${ECHO_T}$CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx fi
5 kx if test -z "$CC"; then
5 kx if test -n "$ac_tool_prefix"; then
5 kx for ac_prog in cl.exe
5 kx do
5 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$CC"; then
5 kx ac_cv_prog_CC="$CC" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx CC=$ac_cv_prog_CC
5 kx if test -n "$CC"; then
5 kx { echo "$as_me:$LINENO: result: $CC" >&5
5 kx echo "${ECHO_T}$CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx test -n "$CC" && break
5 kx done
5 kx fi
5 kx if test -z "$CC"; then
5 kx ac_ct_CC=$CC
5 kx for ac_prog in cl.exe
5 kx do
5 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
5 kx set dummy $ac_prog; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$ac_ct_CC"; then
5 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_ac_ct_CC="$ac_prog"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
5 kx if test -n "$ac_ct_CC"; then
5 kx { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5 kx echo "${ECHO_T}$ac_ct_CC" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx test -n "$ac_ct_CC" && break
5 kx done
5 kx
5 kx if test "x$ac_ct_CC" = x; then
5 kx CC=""
5 kx else
5 kx case $cross_compiling:$ac_tool_warned in
5 kx yes:)
5 kx { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&5
5 kx echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5 kx ac_tool_warned=yes ;;
5 kx esac
5 kx CC=$ac_ct_CC
5 kx fi
5 kx fi
5 kx
5 kx fi
5 kx
5 kx
5 kx test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: no acceptable C compiler found in \$PATH
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx
5 kx # Provide some information about the compiler.
5 kx echo "$as_me:$LINENO: checking for C compiler version" >&5
5 kx ac_compiler=`set X $ac_compile; echo $2`
5 kx { (ac_try="$ac_compiler --version >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler --version >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx { (ac_try="$ac_compiler -v >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler -v >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx { (ac_try="$ac_compiler -V >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler -V >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx ac_clean_files_save=$ac_clean_files
5 kx ac_clean_files="$ac_clean_files a.out a.exe b.out"
5 kx # Try to create an executable without -o first, disregard a.out.
5 kx # It will help us diagnose broken compilers, and finding out an intuition
5 kx # of exeext.
5 kx { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
5 kx echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
5 kx ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5 kx #
5 kx # List of possible output files, starting from the most likely.
5 kx # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
5 kx # only as a last resort. b.out is created by i960 compilers.
5 kx ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
5 kx #
5 kx # The IRIX 6 linker writes into existing files which may not be
5 kx # executable, retaining their permissions. Remove them first so a
5 kx # subsequent execution test works.
5 kx ac_rmfiles=
5 kx for ac_file in $ac_files
5 kx do
5 kx case $ac_file in
5 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
5 kx * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5 kx esac
5 kx done
5 kx rm -f $ac_rmfiles
5 kx
5 kx if { (ac_try="$ac_link_default"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link_default") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; then
5 kx # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5 kx # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5 kx # in a Makefile. We should not override ac_cv_exeext if it was cached,
5 kx # so that the user can short-circuit this test for compilers unknown to
5 kx # Autoconf.
5 kx for ac_file in $ac_files ''
5 kx do
5 kx test -f "$ac_file" || continue
5 kx case $ac_file in
5 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
5 kx ;;
5 kx [ab].out )
5 kx # We found the default executable, but exeext='' is most
5 kx # certainly right.
5 kx break;;
5 kx *.* )
5 kx if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5 kx then :; else
5 kx ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5 kx fi
5 kx # We set ac_cv_exeext here because the later test for it is not
5 kx # safe: cross compilers may not add the suffix if given an `-o'
5 kx # argument, so we may need to know it at that point already.
5 kx # Even if this section looks crufty: it has the advantage of
5 kx # actually working.
5 kx break;;
5 kx * )
5 kx break;;
5 kx esac
5 kx done
5 kx test "$ac_cv_exeext" = no && ac_cv_exeext=
5 kx
5 kx else
5 kx ac_file=''
5 kx fi
5 kx
5 kx { echo "$as_me:$LINENO: result: $ac_file" >&5
5 kx echo "${ECHO_T}$ac_file" >&6; }
5 kx if test -z "$ac_file"; then
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx { { echo "$as_me:$LINENO: error: C compiler cannot create executables
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: C compiler cannot create executables
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 77); exit 77; }; }
5 kx fi
5 kx
5 kx ac_exeext=$ac_cv_exeext
5 kx
5 kx # Check that the compiler produces executables we can run. If not, either
5 kx # the compiler is broken, or we cross compile.
5 kx { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
5 kx echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
5 kx # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
5 kx # If not cross compiling, check that we can run a simple program.
5 kx if test "$cross_compiling" != yes; then
5 kx if { ac_try='./$ac_file'
5 kx { (case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_try") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; }; then
5 kx cross_compiling=no
5 kx else
5 kx if test "$cross_compiling" = maybe; then
5 kx cross_compiling=yes
5 kx else
5 kx { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
5 kx If you meant to cross compile, use \`--host'.
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: cannot run C compiled programs.
5 kx If you meant to cross compile, use \`--host'.
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx fi
5 kx fi
5 kx { echo "$as_me:$LINENO: result: yes" >&5
5 kx echo "${ECHO_T}yes" >&6; }
5 kx
5 kx rm -f a.out a.exe conftest$ac_cv_exeext b.out
5 kx ac_clean_files=$ac_clean_files_save
5 kx # Check that the compiler produces executables we can run. If not, either
5 kx # the compiler is broken, or we cross compile.
5 kx { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5 kx echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
5 kx { echo "$as_me:$LINENO: result: $cross_compiling" >&5
5 kx echo "${ECHO_T}$cross_compiling" >&6; }
5 kx
5 kx { echo "$as_me:$LINENO: checking for suffix of executables" >&5
5 kx echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; then
5 kx # If both `conftest.exe' and `conftest' are `present' (well, observable)
5 kx # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5 kx # work properly (i.e., refer to `conftest.exe'), while it won't with
5 kx # `rm'.
5 kx for ac_file in conftest.exe conftest conftest.*; do
5 kx test -f "$ac_file" || continue
5 kx case $ac_file in
5 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
5 kx *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5 kx break;;
5 kx * ) break;;
5 kx esac
5 kx done
5 kx else
5 kx { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx rm -f conftest$ac_cv_exeext
5 kx { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5 kx echo "${ECHO_T}$ac_cv_exeext" >&6; }
5 kx
5 kx rm -f conftest.$ac_ext
5 kx EXEEXT=$ac_cv_exeext
5 kx ac_exeext=$EXEEXT
5 kx { echo "$as_me:$LINENO: checking for suffix of object files" >&5
5 kx echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
5 kx if test "${ac_cv_objext+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.o conftest.obj
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; then
5 kx for ac_file in conftest.o conftest.obj conftest.*; do
5 kx test -f "$ac_file" || continue;
5 kx case $ac_file in
5 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
5 kx *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5 kx break;;
5 kx esac
5 kx done
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: cannot compute suffix of object files: cannot compile
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx rm -f conftest.$ac_cv_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
5 kx echo "${ECHO_T}$ac_cv_objext" >&6; }
5 kx OBJEXT=$ac_cv_objext
5 kx ac_objext=$OBJEXT
5 kx { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5 kx echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_compiler_gnu+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx #ifndef __GNUC__
5 kx choke me
5 kx #endif
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_compiler_gnu=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_compiler_gnu=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx ac_cv_c_compiler_gnu=$ac_compiler_gnu
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5 kx echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5 kx GCC=`test $ac_compiler_gnu = yes && echo yes`
5 kx ac_test_CFLAGS=${CFLAGS+set}
5 kx ac_save_CFLAGS=$CFLAGS
5 kx { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5 kx echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_cc_g+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_save_c_werror_flag=$ac_c_werror_flag
5 kx ac_c_werror_flag=yes
5 kx ac_cv_prog_cc_g=no
5 kx CFLAGS="-g"
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_prog_cc_g=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx CFLAGS=""
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_c_werror_flag=$ac_save_c_werror_flag
5 kx CFLAGS="-g"
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_prog_cc_g=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx ac_c_werror_flag=$ac_save_c_werror_flag
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5 kx echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5 kx if test "$ac_test_CFLAGS" = set; then
5 kx CFLAGS=$ac_save_CFLAGS
5 kx elif test $ac_cv_prog_cc_g = yes; then
5 kx if test "$GCC" = yes; then
5 kx CFLAGS="-g -O2"
5 kx else
5 kx CFLAGS="-g"
5 kx fi
5 kx else
5 kx if test "$GCC" = yes; then
5 kx CFLAGS="-O2"
5 kx else
5 kx CFLAGS=
5 kx fi
5 kx fi
5 kx { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5 kx echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_cc_c89+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_prog_cc_c89=no
5 kx ac_save_CC=$CC
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <stdarg.h>
5 kx #include <stdio.h>
5 kx #include <sys/types.h>
5 kx #include <sys/stat.h>
5 kx /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5 kx struct buf { int x; };
5 kx FILE * (*rcsopen) (struct buf *, struct stat *, int);
5 kx static char *e (p, i)
5 kx char **p;
5 kx int i;
5 kx {
5 kx return p[i];
5 kx }
5 kx static char *f (char * (*g) (char **, int), char **p, ...)
5 kx {
5 kx char *s;
5 kx va_list v;
5 kx va_start (v,p);
5 kx s = g (p, va_arg (v,int));
5 kx va_end (v);
5 kx return s;
5 kx }
5 kx
5 kx /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5 kx function prototypes and stuff, but not '\xHH' hex character constants.
5 kx These don't provoke an error unfortunately, instead are silently treated
5 kx as 'x'. The following induces an error, until -std is added to get
5 kx proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5 kx array size at least. It's necessary to write '\x00'==0 to get something
5 kx that's true only with -std. */
5 kx int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5 kx
5 kx /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5 kx inside strings and character constants. */
5 kx #define FOO(x) 'x'
5 kx int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5 kx
5 kx int test (int i, double x);
5 kx struct s1 {int (*f) (int a);};
5 kx struct s2 {int (*f) (double a);};
5 kx int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5 kx int argc;
5 kx char **argv;
5 kx int
5 kx main ()
5 kx {
5 kx return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5 kx -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5 kx do
5 kx CC="$ac_save_CC $ac_arg"
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_prog_cc_c89=$ac_arg
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext
5 kx test "x$ac_cv_prog_cc_c89" != "xno" && break
5 kx done
5 kx rm -f conftest.$ac_ext
5 kx CC=$ac_save_CC
5 kx
5 kx fi
5 kx # AC_CACHE_VAL
5 kx case "x$ac_cv_prog_cc_c89" in
5 kx x)
5 kx { echo "$as_me:$LINENO: result: none needed" >&5
5 kx echo "${ECHO_T}none needed" >&6; } ;;
5 kx xno)
5 kx { echo "$as_me:$LINENO: result: unsupported" >&5
5 kx echo "${ECHO_T}unsupported" >&6; } ;;
5 kx *)
5 kx CC="$CC $ac_cv_prog_cc_c89"
5 kx { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5 kx echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5 kx esac
5 kx
5 kx
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx
5 kx ac_ext=cpp
5 kx ac_cpp='$CXXCPP $CPPFLAGS'
5 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5 kx if test -z "$CXX"; then
5 kx if test -n "$CCC"; then
5 kx CXX=$CCC
5 kx else
5 kx if test -n "$ac_tool_prefix"; then
5 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5 kx do
5 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_CXX+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$CXX"; then
5 kx ac_cv_prog_CXX="$CXX" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx CXX=$ac_cv_prog_CXX
5 kx if test -n "$CXX"; then
5 kx { echo "$as_me:$LINENO: result: $CXX" >&5
5 kx echo "${ECHO_T}$CXX" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx test -n "$CXX" && break
5 kx done
5 kx fi
5 kx if test -z "$CXX"; then
5 kx ac_ct_CXX=$CXX
5 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5 kx do
5 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
5 kx set dummy $ac_prog; ac_word=$2
5 kx { echo "$as_me:$LINENO: checking for $ac_word" >&5
5 kx echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test -n "$ac_ct_CXX"; then
5 kx ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5 kx ac_cv_prog_ac_ct_CXX="$ac_prog"
5 kx echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5 kx break 2
5 kx fi
5 kx done
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx fi
5 kx fi
5 kx ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5 kx if test -n "$ac_ct_CXX"; then
5 kx { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5 kx echo "${ECHO_T}$ac_ct_CXX" >&6; }
5 kx else
5 kx { echo "$as_me:$LINENO: result: no" >&5
5 kx echo "${ECHO_T}no" >&6; }
5 kx fi
5 kx
5 kx
5 kx test -n "$ac_ct_CXX" && break
5 kx done
5 kx
5 kx if test "x$ac_ct_CXX" = x; then
5 kx CXX="g++"
5 kx else
5 kx case $cross_compiling:$ac_tool_warned in
5 kx yes:)
5 kx { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&5
5 kx echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5 kx whose name does not start with the host triplet. If you think this
5 kx configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5 kx ac_tool_warned=yes ;;
5 kx esac
5 kx CXX=$ac_ct_CXX
5 kx fi
5 kx fi
5 kx
5 kx fi
5 kx fi
5 kx # Provide some information about the compiler.
5 kx echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5 kx ac_compiler=`set X $ac_compile; echo $2`
5 kx { (ac_try="$ac_compiler --version >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler --version >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx { (ac_try="$ac_compiler -v >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler -v >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx { (ac_try="$ac_compiler -V >&5"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compiler -V >&5") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }
5 kx
5 kx { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5 kx echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5 kx if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx #ifndef __GNUC__
5 kx choke me
5 kx #endif
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_cxx_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_compiler_gnu=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_compiler_gnu=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5 kx echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5 kx GXX=`test $ac_compiler_gnu = yes && echo yes`
5 kx ac_test_CXXFLAGS=${CXXFLAGS+set}
5 kx ac_save_CXXFLAGS=$CXXFLAGS
5 kx { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5 kx echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5 kx if test "${ac_cv_prog_cxx_g+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5 kx ac_cxx_werror_flag=yes
5 kx ac_cv_prog_cxx_g=no
5 kx CXXFLAGS="-g"
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_cxx_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_prog_cxx_g=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx CXXFLAGS=""
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_cxx_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5 kx CXXFLAGS="-g"
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_cxx_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_prog_cxx_g=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5 kx echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5 kx if test "$ac_test_CXXFLAGS" = set; then
5 kx CXXFLAGS=$ac_save_CXXFLAGS
5 kx elif test $ac_cv_prog_cxx_g = yes; then
5 kx if test "$GXX" = yes; then
5 kx CXXFLAGS="-g -O2"
5 kx else
5 kx CXXFLAGS="-g"
5 kx fi
5 kx else
5 kx if test "$GXX" = yes; then
5 kx CXXFLAGS="-O2"
5 kx else
5 kx CXXFLAGS=
5 kx fi
5 kx fi
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx
5 kx ac_aux_dir=
5 kx for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
5 kx if test -f "$ac_dir/install-sh"; then
5 kx ac_aux_dir=$ac_dir
5 kx ac_install_sh="$ac_aux_dir/install-sh -c"
5 kx break
5 kx elif test -f "$ac_dir/install.sh"; then
5 kx ac_aux_dir=$ac_dir
5 kx ac_install_sh="$ac_aux_dir/install.sh -c"
5 kx break
5 kx elif test -f "$ac_dir/shtool"; then
5 kx ac_aux_dir=$ac_dir
5 kx ac_install_sh="$ac_aux_dir/shtool install -c"
5 kx break
5 kx fi
5 kx done
5 kx if test -z "$ac_aux_dir"; then
5 kx { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
5 kx echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx # These three variables are undocumented and unsupported,
5 kx # and are intended to be withdrawn in a future Autoconf release.
5 kx # They can cause serious problems if a builder's source tree is in a directory
5 kx # whose full name contains unusual characters.
5 kx ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
5 kx ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
5 kx ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
5 kx
5 kx
5 kx # Find a good install program. We prefer a C program (faster),
5 kx # so one script is as good as another. But avoid the broken or
5 kx # incompatible versions:
5 kx # SysV /etc/install, /usr/sbin/install
5 kx # SunOS /usr/etc/install
5 kx # IRIX /sbin/install
5 kx # AIX /bin/install
5 kx # AmigaOS /C/install, which installs bootblocks on floppy discs
5 kx # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5 kx # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5 kx # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5 kx # OS/2's system install, which has a completely different semantic
5 kx # ./install, which can be erroneously created by make from ./install.sh.
5 kx { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5 kx echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5 kx if test -z "$INSTALL"; then
5 kx if test "${ac_cv_path_install+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx # Account for people who put trailing slashes in PATH elements.
5 kx case $as_dir/ in
5 kx ./ | .// | /cC/* | \
5 kx /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5 kx ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5 kx /usr/ucb/* ) ;;
5 kx *)
5 kx # OSF1 and SCO ODT 3.0 have their own names for install.
5 kx # Don't use installbsd from OSF since it installs stuff as root
5 kx # by default.
5 kx for ac_prog in ginstall scoinst install; do
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5 kx if test $ac_prog = install &&
5 kx grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5 kx # AIX install. It has an incompatible calling convention.
5 kx :
5 kx elif test $ac_prog = install &&
5 kx grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5 kx # program-specific install script used by HP pwplus--don't use.
5 kx :
5 kx else
5 kx ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5 kx break 3
5 kx fi
5 kx fi
5 kx done
5 kx done
5 kx ;;
5 kx esac
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx
5 kx fi
5 kx if test "${ac_cv_path_install+set}" = set; then
5 kx INSTALL=$ac_cv_path_install
5 kx else
5 kx # As a last resort, use the slow shell script. Don't cache a
5 kx # value for INSTALL within a source directory, because that will
5 kx # break other packages using the cache if that directory is
5 kx # removed, or if the value is a relative name.
5 kx INSTALL=$ac_install_sh
5 kx fi
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $INSTALL" >&5
5 kx echo "${ECHO_T}$INSTALL" >&6; }
5 kx
5 kx # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5 kx # It thinks the first close brace ends the variable substitution.
5 kx test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5 kx
5 kx test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5 kx
5 kx test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5 kx
5 kx
5 kx # Checks for libraries.
5 kx
5 kx # Checks for header files.
5 kx
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5 kx echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5 kx # On Suns, sometimes $CPP names a directory.
5 kx if test -n "$CPP" && test -d "$CPP"; then
5 kx CPP=
5 kx fi
5 kx if test -z "$CPP"; then
5 kx if test "${ac_cv_prog_CPP+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx # Double quotes because CPP needs to be expanded
5 kx for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5 kx do
5 kx ac_preproc_ok=false
5 kx for ac_c_preproc_warn_flag in '' yes
5 kx do
5 kx # Use a header file that comes with gcc, so configuring glibc
5 kx # with a fresh cross-compiler works.
5 kx # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5 kx # <limits.h> exists even on freestanding compilers.
5 kx # On the NeXT, cc -E runs the code through the compiler's parser,
5 kx # not just through cpp. "Syntax error" is here to catch this case.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #ifdef __STDC__
5 kx # include <limits.h>
5 kx #else
5 kx # include <assert.h>
5 kx #endif
5 kx Syntax error
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx # Broken: fails on valid input.
5 kx continue
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx
5 kx # OK, works on sane cases. Now check whether nonexistent headers
5 kx # can be detected and how.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <ac_nonexistent.h>
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx # Broken: success on invalid input.
5 kx continue
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx # Passes both tests.
5 kx ac_preproc_ok=:
5 kx break
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx
5 kx done
5 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5 kx rm -f conftest.err conftest.$ac_ext
5 kx if $ac_preproc_ok; then
5 kx break
5 kx fi
5 kx
5 kx done
5 kx ac_cv_prog_CPP=$CPP
5 kx
5 kx fi
5 kx CPP=$ac_cv_prog_CPP
5 kx else
5 kx ac_cv_prog_CPP=$CPP
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $CPP" >&5
5 kx echo "${ECHO_T}$CPP" >&6; }
5 kx ac_preproc_ok=false
5 kx for ac_c_preproc_warn_flag in '' yes
5 kx do
5 kx # Use a header file that comes with gcc, so configuring glibc
5 kx # with a fresh cross-compiler works.
5 kx # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5 kx # <limits.h> exists even on freestanding compilers.
5 kx # On the NeXT, cc -E runs the code through the compiler's parser,
5 kx # not just through cpp. "Syntax error" is here to catch this case.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #ifdef __STDC__
5 kx # include <limits.h>
5 kx #else
5 kx # include <assert.h>
5 kx #endif
5 kx Syntax error
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx # Broken: fails on valid input.
5 kx continue
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx
5 kx # OK, works on sane cases. Now check whether nonexistent headers
5 kx # can be detected and how.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <ac_nonexistent.h>
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx # Broken: success on invalid input.
5 kx continue
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx # Passes both tests.
5 kx ac_preproc_ok=:
5 kx break
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx
5 kx done
5 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5 kx rm -f conftest.err conftest.$ac_ext
5 kx if $ac_preproc_ok; then
5 kx :
5 kx else
5 kx { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5 kx See \`config.log' for more details." >&5
5 kx echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5 kx See \`config.log' for more details." >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx ac_ext=c
5 kx ac_cpp='$CPP $CPPFLAGS'
5 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5 kx echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5 kx if test "${ac_cv_path_GREP+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx # Extract the first word of "grep ggrep" to use in msg output
5 kx if test -z "$GREP"; then
5 kx set dummy grep ggrep; ac_prog_name=$2
5 kx if test "${ac_cv_path_GREP+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_path_GREP_found=false
5 kx # Loop through the user's path and test for each of PROGNAME-LIST
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_prog in grep ggrep; do
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5 kx { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5 kx # Check for GNU ac_path_GREP and select it if it is found.
5 kx # Check for GNU $ac_path_GREP
5 kx case `"$ac_path_GREP" --version 2>&1` in
5 kx *GNU*)
5 kx ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5 kx *)
5 kx ac_count=0
5 kx echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5 kx while :
5 kx do
5 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
5 kx mv "conftest.tmp" "conftest.in"
5 kx cp "conftest.in" "conftest.nl"
5 kx echo 'GREP' >> "conftest.nl"
5 kx "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5 kx ac_count=`expr $ac_count + 1`
5 kx if test $ac_count -gt ${ac_path_GREP_max-0}; then
5 kx # Best one so far, save it but keep looking for a better one
5 kx ac_cv_path_GREP="$ac_path_GREP"
5 kx ac_path_GREP_max=$ac_count
5 kx fi
5 kx # 10*(2^10) chars as input seems more than enough
5 kx test $ac_count -gt 10 && break
5 kx done
5 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5 kx esac
5 kx
5 kx
5 kx $ac_path_GREP_found && break 3
5 kx done
5 kx done
5 kx
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx
5 kx fi
5 kx
5 kx GREP="$ac_cv_path_GREP"
5 kx if test -z "$GREP"; then
5 kx { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5 kx echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx else
5 kx ac_cv_path_GREP=$GREP
5 kx fi
5 kx
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5 kx echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5 kx GREP="$ac_cv_path_GREP"
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for egrep" >&5
5 kx echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5 kx if test "${ac_cv_path_EGREP+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5 kx then ac_cv_path_EGREP="$GREP -E"
5 kx else
5 kx # Extract the first word of "egrep" to use in msg output
5 kx if test -z "$EGREP"; then
5 kx set dummy egrep; ac_prog_name=$2
5 kx if test "${ac_cv_path_EGREP+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_path_EGREP_found=false
5 kx # Loop through the user's path and test for each of PROGNAME-LIST
5 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx for ac_prog in egrep; do
5 kx for ac_exec_ext in '' $ac_executable_extensions; do
5 kx ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5 kx { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5 kx # Check for GNU ac_path_EGREP and select it if it is found.
5 kx # Check for GNU $ac_path_EGREP
5 kx case `"$ac_path_EGREP" --version 2>&1` in
5 kx *GNU*)
5 kx ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5 kx *)
5 kx ac_count=0
5 kx echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5 kx while :
5 kx do
5 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
5 kx mv "conftest.tmp" "conftest.in"
5 kx cp "conftest.in" "conftest.nl"
5 kx echo 'EGREP' >> "conftest.nl"
5 kx "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5 kx ac_count=`expr $ac_count + 1`
5 kx if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5 kx # Best one so far, save it but keep looking for a better one
5 kx ac_cv_path_EGREP="$ac_path_EGREP"
5 kx ac_path_EGREP_max=$ac_count
5 kx fi
5 kx # 10*(2^10) chars as input seems more than enough
5 kx test $ac_count -gt 10 && break
5 kx done
5 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5 kx esac
5 kx
5 kx
5 kx $ac_path_EGREP_found && break 3
5 kx done
5 kx done
5 kx
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx
5 kx fi
5 kx
5 kx EGREP="$ac_cv_path_EGREP"
5 kx if test -z "$EGREP"; then
5 kx { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5 kx echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx fi
5 kx
5 kx else
5 kx ac_cv_path_EGREP=$EGREP
5 kx fi
5 kx
5 kx
5 kx fi
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5 kx echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5 kx EGREP="$ac_cv_path_EGREP"
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5 kx echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5 kx if test "${ac_cv_header_stdc+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <stdlib.h>
5 kx #include <stdarg.h>
5 kx #include <string.h>
5 kx #include <float.h>
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_header_stdc=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_header_stdc=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx
5 kx if test $ac_cv_header_stdc = yes; then
5 kx # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <string.h>
5 kx
5 kx _ACEOF
5 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5 kx $EGREP "memchr" >/dev/null 2>&1; then
5 kx :
5 kx else
5 kx ac_cv_header_stdc=no
5 kx fi
5 kx rm -f conftest*
5 kx
5 kx fi
5 kx
5 kx if test $ac_cv_header_stdc = yes; then
5 kx # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <stdlib.h>
5 kx
5 kx _ACEOF
5 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5 kx $EGREP "free" >/dev/null 2>&1; then
5 kx :
5 kx else
5 kx ac_cv_header_stdc=no
5 kx fi
5 kx rm -f conftest*
5 kx
5 kx fi
5 kx
5 kx if test $ac_cv_header_stdc = yes; then
5 kx # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5 kx if test "$cross_compiling" = yes; then
5 kx :
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <ctype.h>
5 kx #include <stdlib.h>
5 kx #if ((' ' & 0x0FF) == 0x020)
5 kx # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5 kx # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5 kx #else
5 kx # define ISLOWER(c) \
5 kx (('a' <= (c) && (c) <= 'i') \
5 kx || ('j' <= (c) && (c) <= 'r') \
5 kx || ('s' <= (c) && (c) <= 'z'))
5 kx # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5 kx #endif
5 kx
5 kx #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5 kx int
5 kx main ()
5 kx {
5 kx int i;
5 kx for (i = 0; i < 256; i++)
5 kx if (XOR (islower (i), ISLOWER (i))
5 kx || toupper (i) != TOUPPER (i))
5 kx return 2;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5 kx { (case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_try") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; }; then
5 kx :
5 kx else
5 kx echo "$as_me: program exited with status $ac_status" >&5
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ( exit $ac_status )
5 kx ac_cv_header_stdc=no
5 kx fi
5 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx
5 kx fi
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5 kx echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5 kx if test $ac_cv_header_stdc = yes; then
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define STDC_HEADERS 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5 kx inttypes.h stdint.h unistd.h
5 kx do
5 kx as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5 kx { echo "$as_me:$LINENO: checking for $ac_header" >&5
5 kx echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx
5 kx #include <$ac_header>
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx eval "$as_ac_Header=yes"
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx eval "$as_ac_Header=no"
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx if test `eval echo '${'$as_ac_Header'}'` = yes; then
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx done
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx for ac_header in fcntl.h math.h sys/ioctl.h termios.h ncurses.h
5 kx do
5 kx as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx { echo "$as_me:$LINENO: checking for $ac_header" >&5
5 kx echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx else
5 kx # Is the header compilable?
5 kx { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5 kx echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx #include <$ac_header>
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_header_compiler=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_header_compiler=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5 kx echo "${ECHO_T}$ac_header_compiler" >&6; }
5 kx
5 kx # Is the header present?
5 kx { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5 kx echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <$ac_header>
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx ac_header_preproc=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_header_preproc=no
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5 kx echo "${ECHO_T}$ac_header_preproc" >&6; }
5 kx
5 kx # So? What about this header?
5 kx case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5 kx yes:no: )
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5 kx echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5 kx echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5 kx ac_header_preproc=yes
5 kx ;;
5 kx no:yes:* )
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5 kx echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5 kx echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5 kx echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5 kx echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5 kx echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5 kx echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5 kx ( cat <<\_ASBOX
5 kx ## ---------------------------------------------- ##
5 kx ## Report this to tabrisnet@users.sourceforge.net ##
5 kx ## ---------------------------------------------- ##
5 kx _ASBOX
5 kx ) | sed "s/^/$as_me: WARNING: /" >&2
5 kx ;;
5 kx esac
5 kx { echo "$as_me:$LINENO: checking for $ac_header" >&5
5 kx echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx eval "$as_ac_Header=\$ac_header_preproc"
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx
5 kx fi
5 kx if test `eval echo '${'$as_ac_Header'}'` = yes; then
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx done
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx ac_header_dirent=no
5 kx for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5 kx as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5 kx { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5 kx echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <sys/types.h>
5 kx #include <$ac_hdr>
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx if ((DIR *) 0)
5 kx return 0;
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx eval "$as_ac_Header=yes"
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx eval "$as_ac_Header=no"
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx if test `eval echo '${'$as_ac_Header'}'` = yes; then
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5 kx _ACEOF
5 kx
5 kx ac_header_dirent=$ac_hdr; break
5 kx fi
5 kx
5 kx done
5 kx # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5 kx if test $ac_header_dirent = dirent.h; then
5 kx { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5 kx echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_func_search_save_LIBS=$LIBS
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx /* Override any GCC internal prototype to avoid an error.
5 kx Use char because int might match the return type of a GCC
5 kx builtin and then its argument prototype would still apply. */
5 kx #ifdef __cplusplus
5 kx extern "C"
5 kx #endif
5 kx char opendir ();
5 kx int
5 kx main ()
5 kx {
5 kx return opendir ();
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx for ac_lib in '' dir; do
5 kx if test -z "$ac_lib"; then
5 kx ac_res="none required"
5 kx else
5 kx ac_res=-l$ac_lib
5 kx LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5 kx fi
5 kx rm -f conftest.$ac_objext conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest$ac_exeext &&
5 kx $as_test_x conftest$ac_exeext; then
5 kx ac_cv_search_opendir=$ac_res
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5 kx conftest$ac_exeext
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx break
5 kx fi
5 kx done
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx :
5 kx else
5 kx ac_cv_search_opendir=no
5 kx fi
5 kx rm conftest.$ac_ext
5 kx LIBS=$ac_func_search_save_LIBS
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5 kx echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5 kx ac_res=$ac_cv_search_opendir
5 kx if test "$ac_res" != no; then
5 kx test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5 kx
5 kx fi
5 kx
5 kx else
5 kx { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5 kx echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_func_search_save_LIBS=$LIBS
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx /* Override any GCC internal prototype to avoid an error.
5 kx Use char because int might match the return type of a GCC
5 kx builtin and then its argument prototype would still apply. */
5 kx #ifdef __cplusplus
5 kx extern "C"
5 kx #endif
5 kx char opendir ();
5 kx int
5 kx main ()
5 kx {
5 kx return opendir ();
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx for ac_lib in '' x; do
5 kx if test -z "$ac_lib"; then
5 kx ac_res="none required"
5 kx else
5 kx ac_res=-l$ac_lib
5 kx LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5 kx fi
5 kx rm -f conftest.$ac_objext conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest$ac_exeext &&
5 kx $as_test_x conftest$ac_exeext; then
5 kx ac_cv_search_opendir=$ac_res
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5 kx conftest$ac_exeext
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx break
5 kx fi
5 kx done
5 kx if test "${ac_cv_search_opendir+set}" = set; then
5 kx :
5 kx else
5 kx ac_cv_search_opendir=no
5 kx fi
5 kx rm conftest.$ac_ext
5 kx LIBS=$ac_func_search_save_LIBS
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5 kx echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5 kx ac_res=$ac_cv_search_opendir
5 kx if test "$ac_res" != no; then
5 kx test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5 kx
5 kx fi
5 kx
5 kx fi
5 kx
5 kx { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5 kx echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5 kx if test "${ac_cv_header_time+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <sys/types.h>
5 kx #include <sys/time.h>
5 kx #include <time.h>
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx if ((struct tm *) 0)
5 kx return 0;
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_header_time=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_header_time=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5 kx echo "${ECHO_T}$ac_cv_header_time" >&6; }
5 kx if test $ac_cv_header_time = yes; then
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define TIME_WITH_SYS_TIME 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx
5 kx # Checks for typedefs, structures, and compiler characteristics.
5 kx { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
5 kx echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
5 kx if test "${ac_cv_header_stdbool_h+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx #include <stdbool.h>
5 kx #ifndef bool
5 kx "error: bool is not defined"
5 kx #endif
5 kx #ifndef false
5 kx "error: false is not defined"
5 kx #endif
5 kx #if false
5 kx "error: false is not 0"
5 kx #endif
5 kx #ifndef true
5 kx "error: true is not defined"
5 kx #endif
5 kx #if true != 1
5 kx "error: true is not 1"
5 kx #endif
5 kx #ifndef __bool_true_false_are_defined
5 kx "error: __bool_true_false_are_defined is not defined"
5 kx #endif
5 kx
5 kx struct s { _Bool s: 1; _Bool t; } s;
5 kx
5 kx char a[true == 1 ? 1 : -1];
5 kx char b[false == 0 ? 1 : -1];
5 kx char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5 kx char d[(bool) 0.5 == true ? 1 : -1];
5 kx bool e = &s;
5 kx char f[(_Bool) 0.0 == false ? 1 : -1];
5 kx char g[true];
5 kx char h[sizeof (_Bool)];
5 kx char i[sizeof s.t];
5 kx enum { j = false, k = true, l = false * true, m = true * 256 };
5 kx _Bool n[m];
5 kx char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5 kx char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5 kx # if defined __xlc__ || defined __GNUC__
5 kx /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
5 kx reported by James Lemley on 2005-10-05; see
5 kx http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
5 kx This test is not quite right, since xlc is allowed to
5 kx reject this program, as the initializer for xlcbug is
5 kx not one of the forms that C requires support for.
5 kx However, doing the test right would require a runtime
5 kx test, and that would make cross-compilation harder.
5 kx Let us hope that IBM fixes the xlc bug, and also adds
5 kx support for this kind of constant expression. In the
5 kx meantime, this test will reject xlc, which is OK, since
5 kx our stdbool.h substitute should suffice. We also test
5 kx this with GCC, where it should work, to detect more
5 kx quickly whether someone messes up the test in the
5 kx future. */
5 kx char digs[] = "0123456789";
5 kx int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5 kx # endif
5 kx /* Catch a bug in an HP-UX C compiler. See
5 kx http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5 kx http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5 kx */
5 kx _Bool q = true;
5 kx _Bool *pq = &q;
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx
5 kx *pq |= q;
5 kx *pq |= ! q;
5 kx /* Refer to every declared value, to avoid compiler optimizations. */
5 kx return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5 kx + !m + !n + !o + !p + !q + !pq);
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_header_stdbool_h=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_header_stdbool_h=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
5 kx echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
5 kx { echo "$as_me:$LINENO: checking for _Bool" >&5
5 kx echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
5 kx if test "${ac_cv_type__Bool+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx typedef _Bool ac__type_new_;
5 kx int
5 kx main ()
5 kx {
5 kx if ((ac__type_new_ *) 0)
5 kx return 0;
5 kx if (sizeof (ac__type_new_))
5 kx return 0;
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_type__Bool=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_type__Bool=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5 kx echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
5 kx if test $ac_cv_type__Bool = yes; then
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define HAVE__BOOL 1
5 kx _ACEOF
5 kx
5 kx
5 kx fi
5 kx
5 kx if test $ac_cv_header_stdbool_h = yes; then
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define HAVE_STDBOOL_H 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5 kx echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_const+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx /* FIXME: Include the comments suggested by Paul. */
5 kx #ifndef __cplusplus
5 kx /* Ultrix mips cc rejects this. */
5 kx typedef int charset[2];
5 kx const charset cs;
5 kx /* SunOS 4.1.1 cc rejects this. */
5 kx char const *const *pcpcc;
5 kx char **ppc;
5 kx /* NEC SVR4.0.2 mips cc rejects this. */
5 kx struct point {int x, y;};
5 kx static struct point const zero = {0,0};
5 kx /* AIX XL C 1.02.0.0 rejects this.
5 kx It does not let you subtract one const X* pointer from another in
5 kx an arm of an if-expression whose if-part is not a constant
5 kx expression */
5 kx const char *g = "string";
5 kx pcpcc = &g + (g ? g-g : 0);
5 kx /* HPUX 7.0 cc rejects these. */
5 kx ++pcpcc;
5 kx ppc = (char**) pcpcc;
5 kx pcpcc = (char const *const *) ppc;
5 kx { /* SCO 3.2v4 cc rejects this. */
5 kx char *t;
5 kx char const *s = 0 ? (char *) 0 : (char const *) 0;
5 kx
5 kx *t++ = 0;
5 kx if (s) return 0;
5 kx }
5 kx { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5 kx int x[] = {25, 17};
5 kx const int *foo = &x[0];
5 kx ++foo;
5 kx }
5 kx { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5 kx typedef const int *iptr;
5 kx iptr p = 0;
5 kx ++p;
5 kx }
5 kx { /* AIX XL C 1.02.0.0 rejects this saying
5 kx "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5 kx struct s { int j; const int *ap[3]; };
5 kx struct s *b; b->j = 5;
5 kx }
5 kx { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5 kx const int foo = 10;
5 kx if (!foo) return 0;
5 kx }
5 kx return !cs[0] && !zero.x;
5 kx #endif
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_c_const=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_c_const=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5 kx echo "${ECHO_T}$ac_cv_c_const" >&6; }
5 kx if test $ac_cv_c_const = no; then
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define const
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx { echo "$as_me:$LINENO: checking for inline" >&5
5 kx echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_inline+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_c_inline=no
5 kx for ac_kw in inline __inline__ __inline; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #ifndef __cplusplus
5 kx typedef int foo_t;
5 kx static $ac_kw foo_t static_foo () {return 0; }
5 kx $ac_kw foo_t foo () {return 0; }
5 kx #endif
5 kx
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_c_inline=$ac_kw
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx test "$ac_cv_c_inline" != no && break
5 kx done
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5 kx echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5 kx
5 kx
5 kx case $ac_cv_c_inline in
5 kx inline | yes) ;;
5 kx *)
5 kx case $ac_cv_c_inline in
5 kx no) ac_val=;;
5 kx *) ac_val=$ac_cv_c_inline;;
5 kx esac
5 kx cat >>confdefs.h <<_ACEOF
5 kx #ifndef __cplusplus
5 kx #define inline $ac_val
5 kx #endif
5 kx _ACEOF
5 kx ;;
5 kx esac
5 kx
5 kx { echo "$as_me:$LINENO: checking for size_t" >&5
5 kx echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5 kx if test "${ac_cv_type_size_t+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx typedef size_t ac__type_new_;
5 kx int
5 kx main ()
5 kx {
5 kx if ((ac__type_new_ *) 0)
5 kx return 0;
5 kx if (sizeof (ac__type_new_))
5 kx return 0;
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_type_size_t=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_type_size_t=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5 kx echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5 kx if test $ac_cv_type_size_t = yes; then
5 kx :
5 kx else
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define size_t unsigned int
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5 kx echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5 kx if test "${ac_cv_header_time+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <sys/types.h>
5 kx #include <sys/time.h>
5 kx #include <time.h>
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx if ((struct tm *) 0)
5 kx return 0;
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_header_time=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_header_time=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5 kx echo "${ECHO_T}$ac_cv_header_time" >&6; }
5 kx if test $ac_cv_header_time = yes; then
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define TIME_WITH_SYS_TIME 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for uint32_t" >&5
5 kx echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_uint32_t+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_c_uint32_t=no
5 kx for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
5 kx 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx case $ac_type in
5 kx uint32_t) ac_cv_c_uint32_t=yes ;;
5 kx *) ac_cv_c_uint32_t=$ac_type ;;
5 kx esac
5 kx
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx test "$ac_cv_c_uint32_t" != no && break
5 kx done
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
5 kx echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
5 kx case $ac_cv_c_uint32_t in #(
5 kx no|yes) ;; #(
5 kx *)
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define _UINT32_T 1
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define uint32_t $ac_cv_c_uint32_t
5 kx _ACEOF
5 kx ;;
5 kx esac
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for uint64_t" >&5
5 kx echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_uint64_t+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_c_uint64_t=no
5 kx for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
5 kx 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx case $ac_type in
5 kx uint64_t) ac_cv_c_uint64_t=yes ;;
5 kx *) ac_cv_c_uint64_t=$ac_type ;;
5 kx esac
5 kx
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx test "$ac_cv_c_uint64_t" != no && break
5 kx done
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
5 kx echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; }
5 kx case $ac_cv_c_uint64_t in #(
5 kx no|yes) ;; #(
5 kx *)
5 kx
5 kx cat >>confdefs.h <<\_ACEOF
5 kx #define _UINT64_T 1
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define uint64_t $ac_cv_c_uint64_t
5 kx _ACEOF
5 kx ;;
5 kx esac
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for int32_t" >&5
5 kx echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_int32_t+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_c_int32_t=no
5 kx for ac_type in 'int32_t' 'int' 'long int' \
5 kx 'long long int' 'short int' 'signed char'; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
5 kx < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx case $ac_type in
5 kx int32_t) ac_cv_c_int32_t=yes ;;
5 kx *) ac_cv_c_int32_t=$ac_type ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx test "$ac_cv_c_int32_t" != no && break
5 kx done
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
5 kx echo "${ECHO_T}$ac_cv_c_int32_t" >&6; }
5 kx case $ac_cv_c_int32_t in #(
5 kx no|yes) ;; #(
5 kx *)
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define int32_t $ac_cv_c_int32_t
5 kx _ACEOF
5 kx ;;
5 kx esac
5 kx
5 kx
5 kx { echo "$as_me:$LINENO: checking for int64_t" >&5
5 kx echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
5 kx if test "${ac_cv_c_int64_t+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_cv_c_int64_t=no
5 kx for ac_type in 'int64_t' 'int' 'long int' \
5 kx 'long long int' 'short int' 'signed char'; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx int
5 kx main ()
5 kx {
5 kx static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
5 kx < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
5 kx test_array [0] = 0
5 kx
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx :
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx case $ac_type in
5 kx int64_t) ac_cv_c_int64_t=yes ;;
5 kx *) ac_cv_c_int64_t=$ac_type ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx test "$ac_cv_c_int64_t" != no && break
5 kx done
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
5 kx echo "${ECHO_T}$ac_cv_c_int64_t" >&6; }
5 kx case $ac_cv_c_int64_t in #(
5 kx no|yes) ;; #(
5 kx *)
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define int64_t $ac_cv_c_int64_t
5 kx _ACEOF
5 kx ;;
5 kx esac
5 kx
5 kx
5 kx # Checks for library functions.
5 kx
5 kx
5 kx for ac_header in sys/select.h sys/socket.h
5 kx do
5 kx as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx { echo "$as_me:$LINENO: checking for $ac_header" >&5
5 kx echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx else
5 kx # Is the header compilable?
5 kx { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5 kx echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx #include <$ac_header>
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_header_compiler=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_header_compiler=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5 kx echo "${ECHO_T}$ac_header_compiler" >&6; }
5 kx
5 kx # Is the header present?
5 kx { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5 kx echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx #include <$ac_header>
5 kx _ACEOF
5 kx if { (ac_try="$ac_cpp conftest.$ac_ext"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } >/dev/null && {
5 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx }; then
5 kx ac_header_preproc=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_header_preproc=no
5 kx fi
5 kx
5 kx rm -f conftest.err conftest.$ac_ext
5 kx { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5 kx echo "${ECHO_T}$ac_header_preproc" >&6; }
5 kx
5 kx # So? What about this header?
5 kx case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5 kx yes:no: )
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5 kx echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5 kx echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5 kx ac_header_preproc=yes
5 kx ;;
5 kx no:yes:* )
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5 kx echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5 kx echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5 kx echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5 kx echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5 kx echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5 kx { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5 kx echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5 kx ( cat <<\_ASBOX
5 kx ## ---------------------------------------------- ##
5 kx ## Report this to tabrisnet@users.sourceforge.net ##
5 kx ## ---------------------------------------------- ##
5 kx _ASBOX
5 kx ) | sed "s/^/$as_me: WARNING: /" >&2
5 kx ;;
5 kx esac
5 kx { echo "$as_me:$LINENO: checking for $ac_header" >&5
5 kx echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx eval "$as_ac_Header=\$ac_header_preproc"
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_Header'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx
5 kx fi
5 kx if test `eval echo '${'$as_ac_Header'}'` = yes; then
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx
5 kx done
5 kx
5 kx { echo "$as_me:$LINENO: checking types of arguments for select" >&5
5 kx echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
5 kx if test "${ac_cv_func_select_args+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5 kx for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5 kx for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx $ac_includes_default
5 kx #ifdef HAVE_SYS_SELECT_H
5 kx # include <sys/select.h>
5 kx #endif
5 kx #ifdef HAVE_SYS_SOCKET_H
5 kx # include <sys/socket.h>
5 kx #endif
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx extern int select ($ac_arg1,
5 kx $ac_arg234, $ac_arg234, $ac_arg234,
5 kx $ac_arg5);
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext
5 kx if { (ac_try="$ac_compile"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_compile") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest.$ac_objext; then
5 kx ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5 kx done
5 kx done
5 kx done
5 kx # Provide a safe default value.
5 kx : ${ac_cv_func_select_args='int,int *,struct timeval *'}
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
5 kx echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
5 kx ac_save_IFS=$IFS; IFS=','
5 kx set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5 kx IFS=$ac_save_IFS
5 kx shift
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define SELECT_TYPE_ARG1 $1
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define SELECT_TYPE_ARG234 ($2)
5 kx _ACEOF
5 kx
5 kx
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define SELECT_TYPE_ARG5 ($3)
5 kx _ACEOF
5 kx
5 kx rm -f conftest*
5 kx
5 kx { echo "$as_me:$LINENO: checking for working strtod" >&5
5 kx echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
5 kx if test "${ac_cv_func_strtod+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx if test "$cross_compiling" = yes; then
5 kx ac_cv_func_strtod=no
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx $ac_includes_default
5 kx #ifndef strtod
5 kx double strtod ();
5 kx #endif
5 kx int
5 kx main()
5 kx {
5 kx {
5 kx /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5 kx char *string = " +69";
5 kx char *term;
5 kx double value;
5 kx value = strtod (string, &term);
5 kx if (value != 69 || term != (string + 4))
5 kx return 1;
5 kx }
5 kx
5 kx {
5 kx /* Under Solaris 2.4, strtod returns the wrong value for the
5 kx terminating character under some conditions. */
5 kx char *string = "NaN";
5 kx char *term;
5 kx strtod (string, &term);
5 kx if (term != string && *(term - 1) == 0)
5 kx return 1;
5 kx }
5 kx return 0;
5 kx }
5 kx
5 kx _ACEOF
5 kx rm -f conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5 kx { (case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_try") 2>&5
5 kx ac_status=$?
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); }; }; then
5 kx ac_cv_func_strtod=yes
5 kx else
5 kx echo "$as_me: program exited with status $ac_status" >&5
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ( exit $ac_status )
5 kx ac_cv_func_strtod=no
5 kx fi
5 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5 kx fi
5 kx
5 kx
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
5 kx echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
5 kx if test $ac_cv_func_strtod = no; then
5 kx case " $LIBOBJS " in
5 kx *" strtod.$ac_objext "* ) ;;
5 kx *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
5 kx ;;
5 kx esac
5 kx
5 kx { echo "$as_me:$LINENO: checking for pow" >&5
5 kx echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
5 kx if test "${ac_cv_func_pow+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx /* Define pow to an innocuous variant, in case <limits.h> declares pow.
5 kx For example, HP-UX 11i <limits.h> declares gettimeofday. */
5 kx #define pow innocuous_pow
5 kx
5 kx /* System header to define __stub macros and hopefully few prototypes,
5 kx which can conflict with char pow (); below.
5 kx Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5 kx <limits.h> exists even on freestanding compilers. */
5 kx
5 kx #ifdef __STDC__
5 kx # include <limits.h>
5 kx #else
5 kx # include <assert.h>
5 kx #endif
5 kx
5 kx #undef pow
5 kx
5 kx /* Override any GCC internal prototype to avoid an error.
5 kx Use char because int might match the return type of a GCC
5 kx builtin and then its argument prototype would still apply. */
5 kx #ifdef __cplusplus
5 kx extern "C"
5 kx #endif
5 kx char pow ();
5 kx /* The GNU C library defines this for functions which it implements
5 kx to always fail with ENOSYS. Some functions are actually named
5 kx something starting with __ and the normal name is an alias. */
5 kx #if defined __stub_pow || defined __stub___pow
5 kx choke me
5 kx #endif
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx return pow ();
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest$ac_exeext &&
5 kx $as_test_x conftest$ac_exeext; then
5 kx ac_cv_func_pow=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_func_pow=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5 kx conftest$ac_exeext conftest.$ac_ext
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
5 kx echo "${ECHO_T}$ac_cv_func_pow" >&6; }
5 kx
5 kx if test $ac_cv_func_pow = no; then
5 kx { echo "$as_me:$LINENO: checking for pow in -lm" >&5
5 kx echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
5 kx if test "${ac_cv_lib_m_pow+set}" = set; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx ac_check_lib_save_LIBS=$LIBS
5 kx LIBS="-lm $LIBS"
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx
5 kx /* Override any GCC internal prototype to avoid an error.
5 kx Use char because int might match the return type of a GCC
5 kx builtin and then its argument prototype would still apply. */
5 kx #ifdef __cplusplus
5 kx extern "C"
5 kx #endif
5 kx char pow ();
5 kx int
5 kx main ()
5 kx {
5 kx return pow ();
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest$ac_exeext &&
5 kx $as_test_x conftest$ac_exeext; then
5 kx ac_cv_lib_m_pow=yes
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx ac_cv_lib_m_pow=no
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5 kx conftest$ac_exeext conftest.$ac_ext
5 kx LIBS=$ac_check_lib_save_LIBS
5 kx fi
5 kx { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
5 kx echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
5 kx if test $ac_cv_lib_m_pow = yes; then
5 kx POW_LIB=-lm
5 kx else
5 kx { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
5 kx echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5 kx fi
5 kx
5 kx fi
5 kx
5 kx fi
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx
5 kx for ac_func in select strtol strtoul strtoull snprintf readdir64
5 kx do
5 kx as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5 kx { echo "$as_me:$LINENO: checking for $ac_func" >&5
5 kx echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5 kx if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5 kx echo $ECHO_N "(cached) $ECHO_C" >&6
5 kx else
5 kx cat >conftest.$ac_ext <<_ACEOF
5 kx /* confdefs.h. */
5 kx _ACEOF
5 kx cat confdefs.h >>conftest.$ac_ext
5 kx cat >>conftest.$ac_ext <<_ACEOF
5 kx /* end confdefs.h. */
5 kx /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5 kx For example, HP-UX 11i <limits.h> declares gettimeofday. */
5 kx #define $ac_func innocuous_$ac_func
5 kx
5 kx /* System header to define __stub macros and hopefully few prototypes,
5 kx which can conflict with char $ac_func (); below.
5 kx Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5 kx <limits.h> exists even on freestanding compilers. */
5 kx
5 kx #ifdef __STDC__
5 kx # include <limits.h>
5 kx #else
5 kx # include <assert.h>
5 kx #endif
5 kx
5 kx #undef $ac_func
5 kx
5 kx /* Override any GCC internal prototype to avoid an error.
5 kx Use char because int might match the return type of a GCC
5 kx builtin and then its argument prototype would still apply. */
5 kx #ifdef __cplusplus
5 kx extern "C"
5 kx #endif
5 kx char $ac_func ();
5 kx /* The GNU C library defines this for functions which it implements
5 kx to always fail with ENOSYS. Some functions are actually named
5 kx something starting with __ and the normal name is an alias. */
5 kx #if defined __stub_$ac_func || defined __stub___$ac_func
5 kx choke me
5 kx #endif
5 kx
5 kx int
5 kx main ()
5 kx {
5 kx return $ac_func ();
5 kx ;
5 kx return 0;
5 kx }
5 kx _ACEOF
5 kx rm -f conftest.$ac_objext conftest$ac_exeext
5 kx if { (ac_try="$ac_link"
5 kx case "(($ac_try" in
5 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5 kx *) ac_try_echo=$ac_try;;
5 kx esac
5 kx eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5 kx (eval "$ac_link") 2>conftest.er1
5 kx ac_status=$?
5 kx grep -v '^ *+' conftest.er1 >conftest.err
5 kx rm -f conftest.er1
5 kx cat conftest.err >&5
5 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
5 kx (exit $ac_status); } && {
5 kx test -z "$ac_c_werror_flag" ||
5 kx test ! -s conftest.err
5 kx } && test -s conftest$ac_exeext &&
5 kx $as_test_x conftest$ac_exeext; then
5 kx eval "$as_ac_var=yes"
5 kx else
5 kx echo "$as_me: failed program was:" >&5
5 kx sed 's/^/| /' conftest.$ac_ext >&5
5 kx
5 kx eval "$as_ac_var=no"
5 kx fi
5 kx
5 kx rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5 kx conftest$ac_exeext conftest.$ac_ext
5 kx fi
5 kx ac_res=`eval echo '${'$as_ac_var'}'`
5 kx { echo "$as_me:$LINENO: result: $ac_res" >&5
5 kx echo "${ECHO_T}$ac_res" >&6; }
5 kx if test `eval echo '${'$as_ac_var'}'` = yes; then
5 kx cat >>confdefs.h <<_ACEOF
5 kx #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5 kx _ACEOF
5 kx
5 kx fi
5 kx done
5 kx
5 kx
5 kx # Check whether --enable-maintainer-mode was given.
5 kx if test "${enable_maintainer_mode+set}" = set; then
5 kx enableval=$enable_maintainer_mode; enable_maintainer_mode=yes
5 kx fi
5 kx
5 kx
5 kx if test "$enable_maintainer_mode" = "yes"; then
5 kx CFLAGS="$CFLAGS -O0 -g3 --pipe -Wall"
5 kx LDFLAGS="$LDFLAGS -lncurses"
5 kx else
5 kx CFLAGS="$CFLAGS -pipe -Wall"
5 kx LDFLAGS="$LDFLAGS -s -lncurses"
5 kx fi
5 kx
5 kx ac_config_files="$ac_config_files Makefile"
5 kx
5 kx cat >confcache <<\_ACEOF
5 kx # This file is a shell script that caches the results of configure
5 kx # tests run on this system so they can be shared between configure
5 kx # scripts and configure runs, see configure's option --config-cache.
5 kx # It is not useful on other systems. If it contains results you don't
5 kx # want to keep, you may remove or edit it.
5 kx #
5 kx # config.status only pays attention to the cache file if you give it
5 kx # the --recheck option to rerun configure.
5 kx #
5 kx # `ac_cv_env_foo' variables (set or unset) will be overridden when
5 kx # loading this file, other *unset* `ac_cv_foo' will be assigned the
5 kx # following values.
5 kx
5 kx _ACEOF
5 kx
5 kx # The following way of writing the cache mishandles newlines in values,
5 kx # but we know of no workaround that is simple, portable, and efficient.
5 kx # So, we kill variables containing newlines.
5 kx # Ultrix sh set writes to stderr and can't be redirected directly,
5 kx # and sets the high bit in the cache file unless we assign to the vars.
5 kx (
5 kx for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5 kx eval ac_val=\$$ac_var
5 kx case $ac_val in #(
5 kx *${as_nl}*)
5 kx case $ac_var in #(
5 kx *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5 kx echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5 kx esac
5 kx case $ac_var in #(
5 kx _ | IFS | as_nl) ;; #(
5 kx *) $as_unset $ac_var ;;
5 kx esac ;;
5 kx esac
5 kx done
5 kx
5 kx (set) 2>&1 |
5 kx case $as_nl`(ac_space=' '; set) 2>&1` in #(
5 kx *${as_nl}ac_space=\ *)
5 kx # `set' does not quote correctly, so add quotes (double-quote
5 kx # substitution turns \\\\ into \\, and sed turns \\ into \).
5 kx sed -n \
5 kx "s/'/'\\\\''/g;
5 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5 kx ;; #(
5 kx *)
5 kx # `set' quotes correctly as required by POSIX, so do not add quotes.
5 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5 kx ;;
5 kx esac |
5 kx sort
5 kx ) |
5 kx sed '
5 kx /^ac_cv_env_/b end
5 kx t clear
5 kx :clear
5 kx s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5 kx t end
5 kx s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5 kx :end' >>confcache
5 kx if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5 kx if test -w "$cache_file"; then
5 kx test "x$cache_file" != "x/dev/null" &&
5 kx { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5 kx echo "$as_me: updating cache $cache_file" >&6;}
5 kx cat confcache >$cache_file
5 kx else
5 kx { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5 kx echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5 kx fi
5 kx fi
5 kx rm -f confcache
5 kx
5 kx test "x$prefix" = xNONE && prefix=$ac_default_prefix
5 kx # Let make expand exec_prefix.
5 kx test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5 kx
5 kx # Transform confdefs.h into DEFS.
5 kx # Protect against shell expansion while executing Makefile rules.
5 kx # Protect against Makefile macro expansion.
5 kx #
5 kx # If the first sed substitution is executed (which looks for macros that
5 kx # take arguments), then branch to the quote section. Otherwise,
5 kx # look for a macro that doesn't take arguments.
5 kx ac_script='
5 kx t clear
5 kx :clear
5 kx s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5 kx t quote
5 kx s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5 kx t quote
5 kx b any
5 kx :quote
5 kx s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5 kx s/\[/\\&/g
5 kx s/\]/\\&/g
5 kx s/\$/$$/g
5 kx H
5 kx :any
5 kx ${
5 kx g
5 kx s/^\n//
5 kx s/\n/ /g
5 kx p
5 kx }
5 kx '
5 kx DEFS=`sed -n "$ac_script" confdefs.h`
5 kx
5 kx
5 kx ac_libobjs=
5 kx ac_ltlibobjs=
5 kx for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5 kx # 1. Remove the extension, and $U if already installed.
5 kx ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5 kx ac_i=`echo "$ac_i" | sed "$ac_script"`
5 kx # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5 kx # will be set to the directory where LIBOBJS objects are built.
5 kx ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5 kx ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5 kx done
5 kx LIBOBJS=$ac_libobjs
5 kx
5 kx LTLIBOBJS=$ac_ltlibobjs
5 kx
5 kx
5 kx
5 kx : ${CONFIG_STATUS=./config.status}
5 kx ac_clean_files_save=$ac_clean_files
5 kx ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5 kx { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5 kx echo "$as_me: creating $CONFIG_STATUS" >&6;}
5 kx cat >$CONFIG_STATUS <<_ACEOF
5 kx #! $SHELL
5 kx # Generated by $as_me.
5 kx # Run this file to recreate the current configuration.
5 kx # Compiler output produced by configure, useful for debugging
5 kx # configure, is in config.log if it exists.
5 kx
5 kx debug=false
5 kx ac_cs_recheck=false
5 kx ac_cs_silent=false
5 kx SHELL=\${CONFIG_SHELL-$SHELL}
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx ## --------------------- ##
5 kx ## M4sh Initialization. ##
5 kx ## --------------------- ##
5 kx
5 kx # Be more Bourne compatible
5 kx DUALCASE=1; export DUALCASE # for MKS sh
5 kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5 kx emulate sh
5 kx NULLCMD=:
5 kx # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5 kx # is contrary to our usage. Disable this feature.
5 kx alias -g '${1+"$@"}'='"$@"'
5 kx setopt NO_GLOB_SUBST
5 kx else
5 kx case `(set -o) 2>/dev/null` in
5 kx *posix*) set -o posix ;;
5 kx esac
5 kx
5 kx fi
5 kx
5 kx
5 kx
5 kx
5 kx # PATH needs CR
5 kx # Avoid depending upon Character Ranges.
5 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5 kx as_cr_digits='0123456789'
5 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
5 kx
5 kx # The user is always right.
5 kx if test "${PATH_SEPARATOR+set}" != set; then
5 kx echo "#! /bin/sh" >conf$$.sh
5 kx echo "exit 0" >>conf$$.sh
5 kx chmod +x conf$$.sh
5 kx if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5 kx PATH_SEPARATOR=';'
5 kx else
5 kx PATH_SEPARATOR=:
5 kx fi
5 kx rm -f conf$$.sh
5 kx fi
5 kx
5 kx # Support unset when possible.
5 kx if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5 kx as_unset=unset
5 kx else
5 kx as_unset=false
5 kx fi
5 kx
5 kx
5 kx # IFS
5 kx # We need space, tab and new line, in precisely that order. Quoting is
5 kx # there to prevent editors from complaining about space-tab.
5 kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5 kx # splitting by setting IFS to empty value.)
5 kx as_nl='
5 kx '
5 kx IFS=" "" $as_nl"
5 kx
5 kx # Find who we are. Look in the path if we contain no directory separator.
5 kx case $0 in
5 kx *[\\/]* ) as_myself=$0 ;;
5 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5 kx for as_dir in $PATH
5 kx do
5 kx IFS=$as_save_IFS
5 kx test -z "$as_dir" && as_dir=.
5 kx test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5 kx done
5 kx IFS=$as_save_IFS
5 kx
5 kx ;;
5 kx esac
5 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
5 kx # in which case we are not to be found in the path.
5 kx if test "x$as_myself" = x; then
5 kx as_myself=$0
5 kx fi
5 kx if test ! -f "$as_myself"; then
5 kx echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5 kx { (exit 1); exit 1; }
5 kx fi
5 kx
5 kx # Work around bugs in pre-3.0 UWIN ksh.
5 kx for as_var in ENV MAIL MAILPATH
5 kx do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5 kx done
5 kx PS1='$ '
5 kx PS2='> '
5 kx PS4='+ '
5 kx
5 kx # NLS nuisances.
5 kx for as_var in \
5 kx LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5 kx LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5 kx LC_TELEPHONE LC_TIME
5 kx do
5 kx if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5 kx eval $as_var=C; export $as_var
5 kx else
5 kx ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5 kx fi
5 kx done
5 kx
5 kx # Required to use basename.
5 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
5 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
5 kx as_expr=expr
5 kx else
5 kx as_expr=false
5 kx fi
5 kx
5 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5 kx as_basename=basename
5 kx else
5 kx as_basename=false
5 kx fi
5 kx
5 kx
5 kx # Name of the executable.
5 kx as_me=`$as_basename -- "$0" ||
5 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5 kx X"$0" : 'X\(//\)$' \| \
5 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5 kx echo X/"$0" |
5 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\/\(\/\/\)$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\/\(\/\).*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx s/.*/./; q'`
5 kx
5 kx # CDPATH.
5 kx $as_unset CDPATH
5 kx
5 kx
5 kx
5 kx as_lineno_1=$LINENO
5 kx as_lineno_2=$LINENO
5 kx test "x$as_lineno_1" != "x$as_lineno_2" &&
5 kx test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5 kx
5 kx # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5 kx # uniformly replaced by the line number. The first 'sed' inserts a
5 kx # line-number line after each line using $LINENO; the second 'sed'
5 kx # does the real work. The second script uses 'N' to pair each
5 kx # line-number line with the line containing $LINENO, and appends
5 kx # trailing '-' during substitution so that $LINENO is not a special
5 kx # case at line end.
5 kx # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5 kx # scripts with optimization help from Paolo Bonzini. Blame Lee
5 kx # E. McMahon (1931-1989) for sed's syntax. :-)
5 kx sed -n '
5 kx p
5 kx /[$]LINENO/=
5 kx ' <$as_myself |
5 kx sed '
5 kx s/[$]LINENO.*/&-/
5 kx t lineno
5 kx b
5 kx :lineno
5 kx N
5 kx :loop
5 kx s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5 kx t loop
5 kx s/-\n.*//
5 kx ' >$as_me.lineno &&
5 kx chmod +x "$as_me.lineno" ||
5 kx { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5 kx { (exit 1); exit 1; }; }
5 kx
5 kx # Don't try to exec as it changes $[0], causing all sort of problems
5 kx # (the dirname of $[0] is not the place where we might find the
5 kx # original and so on. Autoconf is especially sensitive to this).
5 kx . "./$as_me.lineno"
5 kx # Exit status is that of the last command.
5 kx exit
5 kx }
5 kx
5 kx
5 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5 kx as_dirname=dirname
5 kx else
5 kx as_dirname=false
5 kx fi
5 kx
5 kx ECHO_C= ECHO_N= ECHO_T=
5 kx case `echo -n x` in
5 kx -n*)
5 kx case `echo 'x\c'` in
5 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5 kx *) ECHO_C='\c';;
5 kx esac;;
5 kx *)
5 kx ECHO_N='-n';;
5 kx esac
5 kx
5 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
5 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
5 kx as_expr=expr
5 kx else
5 kx as_expr=false
5 kx fi
5 kx
5 kx rm -f conf$$ conf$$.exe conf$$.file
5 kx if test -d conf$$.dir; then
5 kx rm -f conf$$.dir/conf$$.file
5 kx else
5 kx rm -f conf$$.dir
5 kx mkdir conf$$.dir
5 kx fi
5 kx echo >conf$$.file
5 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
5 kx as_ln_s='ln -s'
5 kx # ... but there are two gotchas:
5 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5 kx # In both cases, we have to default to `cp -p'.
5 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5 kx as_ln_s='cp -p'
5 kx elif ln conf$$.file conf$$ 2>/dev/null; then
5 kx as_ln_s=ln
5 kx else
5 kx as_ln_s='cp -p'
5 kx fi
5 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5 kx rmdir conf$$.dir 2>/dev/null
5 kx
5 kx if mkdir -p . 2>/dev/null; then
5 kx as_mkdir_p=:
5 kx else
5 kx test -d ./-p && rmdir ./-p
5 kx as_mkdir_p=false
5 kx fi
5 kx
5 kx if test -x / >/dev/null 2>&1; then
5 kx as_test_x='test -x'
5 kx else
5 kx if ls -dL / >/dev/null 2>&1; then
5 kx as_ls_L_option=L
5 kx else
5 kx as_ls_L_option=
5 kx fi
5 kx as_test_x='
5 kx eval sh -c '\''
5 kx if test -d "$1"; then
5 kx test -d "$1/.";
5 kx else
5 kx case $1 in
5 kx -*)set "./$1";;
5 kx esac;
5 kx case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5 kx ???[sx]*):;;*)false;;esac;fi
5 kx '\'' sh
5 kx '
5 kx fi
5 kx as_executable_p=$as_test_x
5 kx
5 kx # Sed expression to map a string onto a valid CPP name.
5 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5 kx
5 kx # Sed expression to map a string onto a valid variable name.
5 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5 kx
5 kx
5 kx exec 6>&1
5 kx
5 kx # Save the log message, to keep $[0] and so on meaningful, and to
5 kx # report actual input values of CONFIG_FILES etc. instead of their
5 kx # values after options handling.
5 kx ac_log="
5 kx This file was extended by procinfo-ng $as_me 2.0, which was
5 kx generated by GNU Autoconf 2.61. Invocation command line was
5 kx
5 kx CONFIG_FILES = $CONFIG_FILES
5 kx CONFIG_HEADERS = $CONFIG_HEADERS
5 kx CONFIG_LINKS = $CONFIG_LINKS
5 kx CONFIG_COMMANDS = $CONFIG_COMMANDS
5 kx $ $0 $@
5 kx
5 kx on `(hostname || uname -n) 2>/dev/null | sed 1q`
5 kx "
5 kx
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx # Files that config.status was made for.
5 kx config_files="$ac_config_files"
5 kx
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx ac_cs_usage="\
5 kx \`$as_me' instantiates files from templates according to the
5 kx current configuration.
5 kx
5 kx Usage: $0 [OPTIONS] [FILE]...
5 kx
5 kx -h, --help print this help, then exit
5 kx -V, --version print version number and configuration settings, then exit
5 kx -q, --quiet do not print progress messages
5 kx -d, --debug don't remove temporary files
5 kx --recheck update $as_me by reconfiguring in the same conditions
5 kx --file=FILE[:TEMPLATE]
5 kx instantiate the configuration file FILE
5 kx
5 kx Configuration files:
5 kx $config_files
5 kx
5 kx Report bugs to <bug-autoconf@gnu.org>."
5 kx
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx ac_cs_version="\\
5 kx procinfo-ng config.status 2.0
5 kx configured by $0, generated by GNU Autoconf 2.61,
5 kx with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5 kx
5 kx Copyright (C) 2006 Free Software Foundation, Inc.
5 kx This config.status script is free software; the Free Software Foundation
5 kx gives unlimited permission to copy, distribute and modify it."
5 kx
5 kx ac_pwd='$ac_pwd'
5 kx srcdir='$srcdir'
5 kx INSTALL='$INSTALL'
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx # If no file are specified by the user, then we need to provide default
5 kx # value. By we need to know if files were specified by the user.
5 kx ac_need_defaults=:
5 kx while test $# != 0
5 kx do
5 kx case $1 in
5 kx --*=*)
5 kx ac_option=`expr "X$1" : 'X\([^=]*\)='`
5 kx ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5 kx ac_shift=:
5 kx ;;
5 kx *)
5 kx ac_option=$1
5 kx ac_optarg=$2
5 kx ac_shift=shift
5 kx ;;
5 kx esac
5 kx
5 kx case $ac_option in
5 kx # Handling of the options.
5 kx -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5 kx ac_cs_recheck=: ;;
5 kx --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5 kx echo "$ac_cs_version"; exit ;;
5 kx --debug | --debu | --deb | --de | --d | -d )
5 kx debug=: ;;
5 kx --file | --fil | --fi | --f )
5 kx $ac_shift
5 kx CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5 kx ac_need_defaults=false;;
5 kx --he | --h | --help | --hel | -h )
5 kx echo "$ac_cs_usage"; exit ;;
5 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5 kx | -silent | --silent | --silen | --sile | --sil | --si | --s)
5 kx ac_cs_silent=: ;;
5 kx
5 kx # This is an error.
5 kx -*) { echo "$as_me: error: unrecognized option: $1
5 kx Try \`$0 --help' for more information." >&2
5 kx { (exit 1); exit 1; }; } ;;
5 kx
5 kx *) ac_config_targets="$ac_config_targets $1"
5 kx ac_need_defaults=false ;;
5 kx
5 kx esac
5 kx shift
5 kx done
5 kx
5 kx ac_configure_extra_args=
5 kx
5 kx if $ac_cs_silent; then
5 kx exec 6>/dev/null
5 kx ac_configure_extra_args="$ac_configure_extra_args --silent"
5 kx fi
5 kx
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx if \$ac_cs_recheck; then
5 kx echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5 kx CONFIG_SHELL=$SHELL
5 kx export CONFIG_SHELL
5 kx exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5 kx fi
5 kx
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx exec 5>>config.log
5 kx {
5 kx echo
5 kx sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5 kx ## Running $as_me. ##
5 kx _ASBOX
5 kx echo "$ac_log"
5 kx } >&5
5 kx
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx
5 kx # Handling of arguments.
5 kx for ac_config_target in $ac_config_targets
5 kx do
5 kx case $ac_config_target in
5 kx "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5 kx
5 kx *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5 kx echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5 kx { (exit 1); exit 1; }; };;
5 kx esac
5 kx done
5 kx
5 kx
5 kx # If the user did not use the arguments to specify the items to instantiate,
5 kx # then the envvar interface is used. Set only those that are not.
5 kx # We use the long form for the default assignment because of an extremely
5 kx # bizarre bug on SunOS 4.1.3.
5 kx if $ac_need_defaults; then
5 kx test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5 kx fi
5 kx
5 kx # Have a temporary directory for convenience. Make it in the build tree
5 kx # simply because there is no reason against having it here, and in addition,
5 kx # creating and moving files from /tmp can sometimes cause problems.
5 kx # Hook for its removal unless debugging.
5 kx # Note that there is a small window in which the directory will not be cleaned:
5 kx # after its creation but before its name has been assigned to `$tmp'.
5 kx $debug ||
5 kx {
5 kx tmp=
5 kx trap 'exit_status=$?
5 kx { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5 kx ' 0
5 kx trap '{ (exit 1); exit 1; }' 1 2 13 15
5 kx }
5 kx # Create a (secure) tmp directory for tmp files.
5 kx
5 kx {
5 kx tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5 kx test -n "$tmp" && test -d "$tmp"
5 kx } ||
5 kx {
5 kx tmp=./conf$$-$RANDOM
5 kx (umask 077 && mkdir "$tmp")
5 kx } ||
5 kx {
5 kx echo "$me: cannot create a temporary directory in ." >&2
5 kx { (exit 1); exit 1; }
5 kx }
5 kx
5 kx #
5 kx # Set up the sed scripts for CONFIG_FILES section.
5 kx #
5 kx
5 kx # No need to generate the scripts if there are no CONFIG_FILES.
5 kx # This happens for instance when ./config.status config.h
5 kx if test -n "$CONFIG_FILES"; then
5 kx
5 kx _ACEOF
5 kx
5 kx
5 kx
5 kx ac_delim='%!_!# '
5 kx for ac_last_try in false false false false false :; do
5 kx cat >conf$$subs.sed <<_ACEOF
5 kx SHELL!$SHELL$ac_delim
5 kx PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5 kx PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5 kx PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5 kx PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5 kx PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5 kx PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5 kx exec_prefix!$exec_prefix$ac_delim
5 kx prefix!$prefix$ac_delim
5 kx program_transform_name!$program_transform_name$ac_delim
5 kx bindir!$bindir$ac_delim
5 kx sbindir!$sbindir$ac_delim
5 kx libexecdir!$libexecdir$ac_delim
5 kx datarootdir!$datarootdir$ac_delim
5 kx datadir!$datadir$ac_delim
5 kx sysconfdir!$sysconfdir$ac_delim
5 kx sharedstatedir!$sharedstatedir$ac_delim
5 kx localstatedir!$localstatedir$ac_delim
5 kx includedir!$includedir$ac_delim
5 kx oldincludedir!$oldincludedir$ac_delim
5 kx docdir!$docdir$ac_delim
5 kx infodir!$infodir$ac_delim
5 kx htmldir!$htmldir$ac_delim
5 kx dvidir!$dvidir$ac_delim
5 kx pdfdir!$pdfdir$ac_delim
5 kx psdir!$psdir$ac_delim
5 kx libdir!$libdir$ac_delim
5 kx localedir!$localedir$ac_delim
5 kx mandir!$mandir$ac_delim
5 kx DEFS!$DEFS$ac_delim
5 kx ECHO_C!$ECHO_C$ac_delim
5 kx ECHO_N!$ECHO_N$ac_delim
5 kx ECHO_T!$ECHO_T$ac_delim
5 kx LIBS!$LIBS$ac_delim
5 kx build_alias!$build_alias$ac_delim
5 kx host_alias!$host_alias$ac_delim
5 kx target_alias!$target_alias$ac_delim
5 kx CC!$CC$ac_delim
5 kx CFLAGS!$CFLAGS$ac_delim
5 kx LDFLAGS!$LDFLAGS$ac_delim
5 kx CPPFLAGS!$CPPFLAGS$ac_delim
5 kx ac_ct_CC!$ac_ct_CC$ac_delim
5 kx EXEEXT!$EXEEXT$ac_delim
5 kx OBJEXT!$OBJEXT$ac_delim
5 kx CXX!$CXX$ac_delim
5 kx CXXFLAGS!$CXXFLAGS$ac_delim
5 kx ac_ct_CXX!$ac_ct_CXX$ac_delim
5 kx INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5 kx INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5 kx INSTALL_DATA!$INSTALL_DATA$ac_delim
5 kx CPP!$CPP$ac_delim
5 kx GREP!$GREP$ac_delim
5 kx EGREP!$EGREP$ac_delim
5 kx POW_LIB!$POW_LIB$ac_delim
5 kx LIBOBJS!$LIBOBJS$ac_delim
5 kx LTLIBOBJS!$LTLIBOBJS$ac_delim
5 kx _ACEOF
5 kx
5 kx if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
5 kx break
5 kx elif $ac_last_try; then
5 kx { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5 kx echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5 kx { (exit 1); exit 1; }; }
5 kx else
5 kx ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5 kx fi
5 kx done
5 kx
5 kx ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5 kx if test -n "$ac_eof"; then
5 kx ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5 kx ac_eof=`expr $ac_eof + 1`
5 kx fi
5 kx
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5 kx /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5 kx _ACEOF
5 kx sed '
5 kx s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5 kx s/^/s,@/; s/!/@,|#_!!_#|/
5 kx :n
5 kx t n
5 kx s/'"$ac_delim"'$/,g/; t
5 kx s/$/\\/; p
5 kx N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5 kx ' >>$CONFIG_STATUS <conf$$subs.sed
5 kx rm -f conf$$subs.sed
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx :end
5 kx s/|#_!!_#|//g
5 kx CEOF$ac_eof
5 kx _ACEOF
5 kx
5 kx
5 kx # VPATH may cause trouble with some makes, so we remove $(srcdir),
5 kx # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5 kx # trailing colons and then remove the whole line if VPATH becomes empty
5 kx # (actually we leave an empty line to preserve line numbers).
5 kx if test "x$srcdir" = x.; then
5 kx ac_vpsub='/^[ ]*VPATH[ ]*=/{
5 kx s/:*\$(srcdir):*/:/
5 kx s/:*\${srcdir}:*/:/
5 kx s/:*@srcdir@:*/:/
5 kx s/^\([^=]*=[ ]*\):*/\1/
5 kx s/:*$//
5 kx s/^[^=]*=[ ]*$//
5 kx }'
5 kx fi
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx fi # test -n "$CONFIG_FILES"
5 kx
5 kx
5 kx for ac_tag in :F $CONFIG_FILES
5 kx do
5 kx case $ac_tag in
5 kx :[FHLC]) ac_mode=$ac_tag; continue;;
5 kx esac
5 kx case $ac_mode$ac_tag in
5 kx :[FHL]*:*);;
5 kx :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5 kx echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5 kx { (exit 1); exit 1; }; };;
5 kx :[FH]-) ac_tag=-:-;;
5 kx :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5 kx esac
5 kx ac_save_IFS=$IFS
5 kx IFS=:
5 kx set x $ac_tag
5 kx IFS=$ac_save_IFS
5 kx shift
5 kx ac_file=$1
5 kx shift
5 kx
5 kx case $ac_mode in
5 kx :L) ac_source=$1;;
5 kx :[FH])
5 kx ac_file_inputs=
5 kx for ac_f
5 kx do
5 kx case $ac_f in
5 kx -) ac_f="$tmp/stdin";;
5 kx *) # Look for the file first in the build tree, then in the source tree
5 kx # (if the path is not absolute). The absolute path cannot be DOS-style,
5 kx # because $ac_f cannot contain `:'.
5 kx test -f "$ac_f" ||
5 kx case $ac_f in
5 kx [\\/$]*) false;;
5 kx *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5 kx esac ||
5 kx { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5 kx echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5 kx { (exit 1); exit 1; }; };;
5 kx esac
5 kx ac_file_inputs="$ac_file_inputs $ac_f"
5 kx done
5 kx
5 kx # Let's still pretend it is `configure' which instantiates (i.e., don't
5 kx # use $as_me), people would be surprised to read:
5 kx # /* config.h. Generated by config.status. */
5 kx configure_input="Generated from "`IFS=:
5 kx echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5 kx if test x"$ac_file" != x-; then
5 kx configure_input="$ac_file. $configure_input"
5 kx { echo "$as_me:$LINENO: creating $ac_file" >&5
5 kx echo "$as_me: creating $ac_file" >&6;}
5 kx fi
5 kx
5 kx case $ac_tag in
5 kx *:-:* | *:-) cat >"$tmp/stdin";;
5 kx esac
5 kx ;;
5 kx esac
5 kx
5 kx ac_dir=`$as_dirname -- "$ac_file" ||
5 kx $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5 kx X"$ac_file" : 'X\(//\)[^/]' \| \
5 kx X"$ac_file" : 'X\(//\)$' \| \
5 kx X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5 kx echo X"$ac_file" |
5 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)[^/].*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\).*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx s/.*/./; q'`
5 kx { as_dir="$ac_dir"
5 kx case $as_dir in #(
5 kx -*) as_dir=./$as_dir;;
5 kx esac
5 kx test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5 kx as_dirs=
5 kx while :; do
5 kx case $as_dir in #(
5 kx *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5 kx *) as_qdir=$as_dir;;
5 kx esac
5 kx as_dirs="'$as_qdir' $as_dirs"
5 kx as_dir=`$as_dirname -- "$as_dir" ||
5 kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5 kx X"$as_dir" : 'X\(//\)[^/]' \| \
5 kx X"$as_dir" : 'X\(//\)$' \| \
5 kx X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5 kx echo X"$as_dir" |
5 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)[^/].*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\/\)$/{
5 kx s//\1/
5 kx q
5 kx }
5 kx /^X\(\/\).*/{
5 kx s//\1/
5 kx q
5 kx }
5 kx s/.*/./; q'`
5 kx test -d "$as_dir" && break
5 kx done
5 kx test -z "$as_dirs" || eval "mkdir $as_dirs"
5 kx } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5 kx echo "$as_me: error: cannot create directory $as_dir" >&2;}
5 kx { (exit 1); exit 1; }; }; }
5 kx ac_builddir=.
5 kx
5 kx case "$ac_dir" in
5 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5 kx *)
5 kx ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5 kx # A ".." for each directory in $ac_dir_suffix.
5 kx ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5 kx case $ac_top_builddir_sub in
5 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5 kx esac ;;
5 kx esac
5 kx ac_abs_top_builddir=$ac_pwd
5 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
5 kx # for backward compatibility:
5 kx ac_top_builddir=$ac_top_build_prefix
5 kx
5 kx case $srcdir in
5 kx .) # We are building in place.
5 kx ac_srcdir=.
5 kx ac_top_srcdir=$ac_top_builddir_sub
5 kx ac_abs_top_srcdir=$ac_pwd ;;
5 kx [\\/]* | ?:[\\/]* ) # Absolute name.
5 kx ac_srcdir=$srcdir$ac_dir_suffix;
5 kx ac_top_srcdir=$srcdir
5 kx ac_abs_top_srcdir=$srcdir ;;
5 kx *) # Relative name.
5 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
5 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5 kx esac
5 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5 kx
5 kx
5 kx case $ac_mode in
5 kx :F)
5 kx #
5 kx # CONFIG_FILE
5 kx #
5 kx
5 kx case $INSTALL in
5 kx [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5 kx *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5 kx esac
5 kx _ACEOF
5 kx
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx # If the template does not know about datarootdir, expand it.
5 kx # FIXME: This hack should be removed a few years after 2.60.
5 kx ac_datarootdir_hack=; ac_datarootdir_seen=
5 kx
5 kx case `sed -n '/datarootdir/ {
5 kx p
5 kx q
5 kx }
5 kx /@datadir@/p
5 kx /@docdir@/p
5 kx /@infodir@/p
5 kx /@localedir@/p
5 kx /@mandir@/p
5 kx ' $ac_file_inputs` in
5 kx *datarootdir*) ac_datarootdir_seen=yes;;
5 kx *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5 kx { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5 kx echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx ac_datarootdir_hack='
5 kx s&@datadir@&$datadir&g
5 kx s&@docdir@&$docdir&g
5 kx s&@infodir@&$infodir&g
5 kx s&@localedir@&$localedir&g
5 kx s&@mandir@&$mandir&g
5 kx s&\\\${datarootdir}&$datarootdir&g' ;;
5 kx esac
5 kx _ACEOF
5 kx
5 kx # Neutralize VPATH when `$srcdir' = `.'.
5 kx # Shell code in configure.ac might set extrasub.
5 kx # FIXME: do we really want to maintain this feature?
5 kx cat >>$CONFIG_STATUS <<_ACEOF
5 kx sed "$ac_vpsub
5 kx $extrasub
5 kx _ACEOF
5 kx cat >>$CONFIG_STATUS <<\_ACEOF
5 kx :t
5 kx /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5 kx s&@configure_input@&$configure_input&;t t
5 kx s&@top_builddir@&$ac_top_builddir_sub&;t t
5 kx s&@srcdir@&$ac_srcdir&;t t
5 kx s&@abs_srcdir@&$ac_abs_srcdir&;t t
5 kx s&@top_srcdir@&$ac_top_srcdir&;t t
5 kx s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5 kx s&@builddir@&$ac_builddir&;t t
5 kx s&@abs_builddir@&$ac_abs_builddir&;t t
5 kx s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5 kx s&@INSTALL@&$ac_INSTALL&;t t
5 kx $ac_datarootdir_hack
5 kx " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5 kx
5 kx test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5 kx { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5 kx { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5 kx { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5 kx which seems to be undefined. Please make sure it is defined." >&5
5 kx echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5 kx which seems to be undefined. Please make sure it is defined." >&2;}
5 kx
5 kx rm -f "$tmp/stdin"
5 kx case $ac_file in
5 kx -) cat "$tmp/out"; rm -f "$tmp/out";;
5 kx *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5 kx esac
5 kx ;;
5 kx
5 kx
5 kx
5 kx esac
5 kx
5 kx done # for ac_tag
5 kx
5 kx
5 kx { (exit 0); exit 0; }
5 kx _ACEOF
5 kx chmod +x $CONFIG_STATUS
5 kx ac_clean_files=$ac_clean_files_save
5 kx
5 kx
5 kx # configure is writing to config.log, and then calls config.status.
5 kx # config.status does its own redirection, appending to config.log.
5 kx # Unfortunately, on DOS this fails, as config.log is still kept open
5 kx # by configure, so config.status won't be able to write to it; its
5 kx # output is simply discarded. So we exec the FD to /dev/null,
5 kx # effectively closing config.log, so it can be properly (re)opened and
5 kx # appended to by config.status. When coming back to configure, we
5 kx # need to make the FD available again.
5 kx if test "$no_create" != yes; then
5 kx ac_cs_success=:
5 kx ac_config_status_args=
5 kx test "$silent" = yes &&
5 kx ac_config_status_args="$ac_config_status_args --quiet"
5 kx exec 5>/dev/null
5 kx $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5 kx exec 5>>config.log
5 kx # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5 kx # would make configure fail if this is the last instruction.
5 kx $ac_cs_success || { (exit 1); exit 1; }
5 kx fi
5 kx
5 kx #AC_CONFIG_FILES([Makefile])
5 kx #AC_OUTPUT