emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/configure
Date: Fri, 10 May 2002 04:36:10 -0400

Index: emacs/configure
diff -c emacs/configure:1.90 emacs/configure:1.91
*** emacs/configure:1.90        Wed May  1 00:30:59 2002
--- emacs/configure     Fri May 10 04:36:08 2002
***************
*** 1,22 ****
  #! /bin/sh
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.53.
  #
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  # Free Software Foundation, Inc.
  # This configure script is free software; the Free Software Foundation
  # gives unlimited permission to copy, distribute and modify it.
  
! if expr a : '\(a\)' >/dev/null 2>&1; then
!   as_expr=expr
! else
!   as_expr=false
! fi
  
  
! ## --------------------- ##
! ## M4sh Initialization.  ##
! ## --------------------- ##
  
  # Be Bourne compatible
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
--- 1,24 ----
  #! /bin/sh
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by Autoconf 2.52.
  #
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  # Free Software Foundation, Inc.
  # This configure script is free software; the Free Software Foundation
  # gives unlimited permission to copy, distribute and modify it.
  
! # Avoid depending upon Character Ranges.
! as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! as_cr_digits='0123456789'
! as_cr_alnum=$as_cr_Letters$as_cr_digits
  
+ # Sed expression to map a string onto a valid variable name.
+ as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  
! # Sed expression to map a string onto a valid CPP name.
! as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  
  # Be Bourne compatible
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
***************
*** 26,190 ****
    set -o posix
  fi
  
- # NLS nuisances.
- # Support unset when possible.
- if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-   as_unset=unset
- else
-   as_unset=false
- fi
- 
- (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
-     { $as_unset LANG || test "${LANG+set}" != set; } ||
-       { LANG=C; export LANG; }
- (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
-     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
-       { LC_ALL=C; export LC_ALL; }
- (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
-     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
-       { LC_TIME=C; export LC_TIME; }
- (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
-     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
-       { LC_CTYPE=C; export LC_CTYPE; }
- (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
-     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
-       { LANGUAGE=C; export LANGUAGE; }
- (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
-     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
-       { LC_COLLATE=C; export LC_COLLATE; }
- (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
-     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
-       { LC_NUMERIC=C; export LC_NUMERIC; }
- (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
-     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
-       { LC_MESSAGES=C; export LC_MESSAGES; }
- 
- 
  # Name of the executable.
! as_me=`(basename "$0") 2>/dev/null ||
! $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
!        X"$0" : 'X\(//\)$' \| \
!        X"$0" : 'X\(/\)$' \| \
!        .     : '\(.\)' 2>/dev/null ||
! echo X/"$0" |
!     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
!         /^X\/\(\/\/\)$/{ s//\1/; q; }
!         /^X\/\(\/\).*/{ s//\1/; q; }
!         s/.*/./; q'`
! 
! # PATH needs CR, and LINENO needs CR and PATH.
! # Avoid depending upon Character Ranges.
! as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! as_cr_digits='0123456789'
! as_cr_alnum=$as_cr_Letters$as_cr_digits
! 
! # The user is always right.
! if test "${PATH_SEPARATOR+set}" != set; then
!   echo "#! /bin/sh" >conftest.sh
!   echo  "exit 0"   >>conftest.sh
!   chmod +x conftest.sh
!   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
!     PATH_SEPARATOR=';'
!   else
!     PATH_SEPARATOR=:
!   fi
!   rm -f conftest.sh
! fi
! 
! 
!   as_lineno_1=$LINENO
!   as_lineno_2=$LINENO
!   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
!   test "x$as_lineno_1" != "x$as_lineno_2" &&
!   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
!   # Find who we are.  Look in the path if we contain no path at all
!   # relative or not.
!   case $0 in
!     *[\\/]* ) as_myself=$0 ;;
!     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! done
! 
!        ;;
!   esac
!   # We did not find ourselves, most probably we were run as `sh COMMAND'
!   # in which case we are not to be found in the path.
!   if test "x$as_myself" = x; then
!     as_myself=$0
!   fi
!   if test ! -f "$as_myself"; then
!     { echo "$as_me: error: cannot find myself; rerun with an absolute path" 
>&2
!    { (exit 1); exit 1; }; }
!   fi
!   case $CONFIG_SHELL in
!   '')
!     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for as_base in sh bash ksh sh5; do
!        case $as_dir in
!        /*)
!          if ("$as_dir/$as_base" -c '
!   as_lineno_1=$LINENO
!   as_lineno_2=$LINENO
!   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
!   test "x$as_lineno_1" != "x$as_lineno_2" &&
!   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
!            CONFIG_SHELL=$as_dir/$as_base
!            export CONFIG_SHELL
!            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
!          fi;;
!        esac
!        done
! done
! ;;
!   esac
! 
!   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
!   # uniformly replaced by the line number.  The first 'sed' inserts a
!   # line-number line before each line; the second 'sed' does the real
!   # work.  The second script uses 'N' to pair each line-number line
!   # with the numbered line, and appends trailing '-' during
!   # substitution so that $LINENO is not a special case at line end.
!   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
!   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
!   sed '=' <$as_myself |
!     sed '
!       N
!       s,$,-,
!       : loop
!       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
!       t loop
!       s,-$,,
!       s,^['$as_cr_digits']*\n,,
!     ' >$as_me.lineno &&
!   chmod +x $as_me.lineno ||
!     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX 
shell" >&2
!    { (exit 1); exit 1; }; }
! 
!   # Don't try to exec as it changes $[0], causing all sort of problems
!   # (the dirname of $[0] is not the place where we might find the
!   # original and so on.  Autoconf is especially sensible to this).
!   . ./$as_me.lineno
!   # Exit status is that of the last command.
!   exit
! }
! 
! 
! case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
!   *c*,-n*) ECHO_N= ECHO_C='
! ' ECHO_T='    ' ;;
!   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
!   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
! esac
  
  if expr a : '\(a\)' >/dev/null 2>&1; then
    as_expr=expr
--- 28,35 ----
    set -o posix
  fi
  
  # Name of the executable.
! as_me=`echo "$0" |sed 's,.*[\\/],,'`
  
  if expr a : '\(a\)' >/dev/null 2>&1; then
    as_expr=expr
***************
*** 212,223 ****
  
  as_executable_p="test -f"
  
! # Sed expression to map a string onto a valid CPP name.
! as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 
! # Sed expression to map a string onto a valid variable name.
! as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  
  
  # IFS
  # We need space, tab and new line, in precisely that order.
--- 57,78 ----
  
  as_executable_p="test -f"
  
! # Support unset when possible.
! if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
!   as_unset=unset
! else
!   as_unset=false
! fi
  
+ # NLS nuisances.
+ $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+ $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; 
}
+ $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export 
LC_TIME; }
+ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export 
LC_CTYPE; }
+ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export 
LANGUAGE; }
+ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; 
export LC_COLLATE; }
+ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; 
export LC_NUMERIC; }
+ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; 
export LC_MESSAGES; }
  
  # IFS
  # We need space, tab and new line, in precisely that order.
***************
*** 226,233 ****
  IFS="         $as_nl"
  
  # CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; 
export CDPATH; }
! 
  
  # Name of the host.
  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
--- 81,87 ----
  IFS="         $as_nl"
  
  # CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; 
}
  
  # Name of the host.
  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
***************
*** 242,249 ****
  ac_default_prefix=/usr/local
  cross_compiling=no
  subdirs=
! MFLAGS=
! MAKEFLAGS=
  SHELL=${CONFIG_SHELL-/bin/sh}
  
  # Maximum number of lines to put in a shell here document.
--- 96,102 ----
  ac_default_prefix=/usr/local
  cross_compiling=no
  subdirs=
! MFLAGS= MAKEFLAGS=
  SHELL=${CONFIG_SHELL-/bin/sh}
  
  # Maximum number of lines to put in a shell here document.
***************
*** 251,263 ****
  # only ac_max_sed_lines should be used.
  : ${ac_max_here_lines=38}
  
- # Identity of this package.
- PACKAGE_NAME=
- PACKAGE_TARNAME=
- PACKAGE_VERSION=
- PACKAGE_STRING=
- PACKAGE_BUGREPORT=
- 
  ac_unique_file="src/lisp.h"
  # Factoring default headers for most tests.
  ac_includes_default="\
--- 104,109 ----
***************
*** 296,302 ****
  # include <unistd.h>
  #endif"
  
- 
  # Initialize some variables set by options.
  ac_init_help=
  ac_init_version=false
--- 142,147 ----
***************
*** 335,340 ****
--- 180,192 ----
  infodir='${prefix}/info'
  mandir='${prefix}/man'
  
+ # Identity of this package.
+ PACKAGE_NAME=
+ PACKAGE_TARNAME=
+ PACKAGE_VERSION=
+ PACKAGE_STRING=
+ PACKAGE_BUGREPORT=
+ 
  ac_prev=
  for ac_option
  do
***************
*** 467,473 ****
      with_fp=no ;;
  
    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
!   | --no-cr | --no-c | -n)
      no_create=yes ;;
  
    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
--- 319,325 ----
      with_fp=no ;;
  
    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
!   | --no-cr | --no-c)
      no_create=yes ;;
  
    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
***************
*** 646,652 ****
    eval ac_val=$`echo $ac_var`
    case $ac_val in
      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
!     *)  { echo "$as_me: error: expected an absolute directory name for 
--$ac_var: $ac_val" >&2
     { (exit 1); exit 1; }; };;
    esac
  done
--- 498,504 ----
    eval ac_val=$`echo $ac_var`
    case $ac_val in
      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
!     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: 
$ac_val" >&2
     { (exit 1); exit 1; }; };;
    esac
  done
***************
*** 658,676 ****
    eval ac_val=$`echo $ac_var`
    case $ac_val in
      [\\/$]* | ?:[\\/]* ) ;;
!     *)  { echo "$as_me: error: expected an absolute directory name for 
--$ac_var: $ac_val" >&2
     { (exit 1); exit 1; }; };;
    esac
  done
  
  # There might be people who depend on the old broken behavior: `$host'
  # used to hold the argument of --host etc.
- # FIXME: To remove some day.
  build=$build_alias
  host=$host_alias
  target=$target_alias
  
! # FIXME: To remove some day.
  if test "x$host_alias" != x; then
    if test "x$build_alias" = x; then
      cross_compiling=maybe
--- 510,527 ----
    eval ac_val=$`echo $ac_var`
    case $ac_val in
      [\\/$]* | ?:[\\/]* ) ;;
!     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: 
$ac_val" >&2
     { (exit 1); exit 1; }; };;
    esac
  done
  
  # There might be people who depend on the old broken behavior: `$host'
  # used to hold the argument of --host etc.
  build=$build_alias
  host=$host_alias
  target=$target_alias
  
! # FIXME: should be removed in autoconf 3.0.
  if test "x$host_alias" != x; then
    if test "x$build_alias" = x; then
      cross_compiling=maybe
***************
*** 686,708 ****
  
  test "$silent" = yes && exec 6>/dev/null
  
- 
  # Find the source files, if location was not specified.
  if test -z "$srcdir"; then
    ac_srcdir_defaulted=yes
    # Try the directory containing this script, then its parent.
!   ac_confdir=`(dirname "$0") 2>/dev/null ||
! $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
!          X"$0" : 'X\(//\)[^/]' \| \
!          X"$0" : 'X\(//\)$' \| \
!          X"$0" : 'X\(/\)' \| \
!          .     : '\(.\)' 2>/dev/null ||
! echo X"$0" |
!     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
!         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
!         /^X\(\/\/\)$/{ s//\1/; q; }
!         /^X\(\/\).*/{ s//\1/; q; }
!         s/.*/./; q'`
    srcdir=$ac_confdir
    if test ! -r $srcdir/$ac_unique_file; then
      srcdir=..
--- 537,549 ----
  
  test "$silent" = yes && exec 6>/dev/null
  
  # Find the source files, if location was not specified.
  if test -z "$srcdir"; then
    ac_srcdir_defaulted=yes
    # Try the directory containing this script, then its parent.
!   ac_prog=$0
!   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
!   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    srcdir=$ac_confdir
    if test ! -r $srcdir/$ac_unique_file; then
      srcdir=..
***************
*** 712,721 ****
  fi
  if test ! -r $srcdir/$ac_unique_file; then
    if test "$ac_srcdir_defaulted" = yes; then
!     { echo "$as_me: error: cannot find sources ($ac_unique_file) in 
$ac_confdir or .." >&2
     { (exit 1); exit 1; }; }
    else
!     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" 
>&2
     { (exit 1); exit 1; }; }
    fi
  fi
--- 553,562 ----
  fi
  if test ! -r $srcdir/$ac_unique_file; then
    if test "$ac_srcdir_defaulted" = yes; then
!     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
     { (exit 1); exit 1; }; }
    else
!     { echo "$as_me: error: cannot find sources in $srcdir" >&2
     { (exit 1); exit 1; }; }
    fi
  fi
***************
*** 759,765 ****
  if test "$ac_init_help" = "long"; then
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
!   cat <<_ACEOF
  \`configure' configures this package to adapt to many kinds of systems.
  
  Usage: $0 [OPTION]... [VAR=VALUE]...
--- 600,606 ----
  if test "$ac_init_help" = "long"; then
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
!   cat <<EOF
  \`configure' configures this package to adapt to many kinds of systems.
  
  Usage: $0 [OPTION]... [VAR=VALUE]...
***************
*** 780,788 ****
    -n, --no-create         do not create output files
        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  
! _ACEOF
  
!   cat <<_ACEOF
  Installation directories:
    --prefix=PREFIX         install architecture-independent files in PREFIX
                            [$ac_default_prefix]
--- 621,629 ----
    -n, --no-create         do not create output files
        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  
! EOF
  
!   cat <<EOF
  Installation directories:
    --prefix=PREFIX         install architecture-independent files in PREFIX
                            [$ac_default_prefix]
***************
*** 809,817 ****
    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    --infodir=DIR          info documentation [PREFIX/info]
    --mandir=DIR           man documentation [PREFIX/man]
! _ACEOF
  
!   cat <<\_ACEOF
  
  Program names:
    --program-prefix=PREFIX            prepend PREFIX to installed program names
--- 650,658 ----
    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    --infodir=DIR          info documentation [PREFIX/info]
    --mandir=DIR           man documentation [PREFIX/man]
! EOF
  
!   cat <<\EOF
  
  Program names:
    --program-prefix=PREFIX            prepend PREFIX to installed program names
***************
*** 824,836 ****
  
  System types:
    --build=BUILD     configure for building on BUILD [guessed]
!   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
! _ACEOF
  fi
  
  if test -n "$ac_init_help"; then
  
!   cat <<\_ACEOF
  
  Optional Features:
    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
--- 665,677 ----
  
  System types:
    --build=BUILD     configure for building on BUILD [guessed]
!   --host=HOST       build programs to run on HOST [BUILD]
! EOF
  fi
  
  if test -n "$ac_init_help"; then
  
!   cat <<\EOF
  
  Optional Features:
    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
***************
*** 872,931 ****
  Use these variables to override the choices made by `configure' or to help
  it to find libraries and programs with nonstandard names/locations.
  
! _ACEOF
  fi
  
  if test "$ac_init_help" = "recursive"; then
    # If there are subdirs, report their specific --help.
    ac_popdir=`pwd`
!   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
!     test -d $ac_dir || continue
!     ac_builddir=.
! 
! if test "$ac_dir" != .; then
!   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
!   # A "../" for each directory in $ac_dir_suffix.
!   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
!   ac_dir_suffix= ac_top_builddir=
! fi
! 
! case $srcdir in
!   .)  # No --srcdir option.  We are building in place.
!     ac_srcdir=.
!     if test -z "$ac_top_builddir"; then
!        ac_top_srcdir=.
!     else
!        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
!     fi ;;
!   [\\/]* | ?:[\\/]* )  # Absolute path.
!     ac_srcdir=$srcdir$ac_dir_suffix;
!     ac_top_srcdir=$srcdir ;;
!   *) # Relative path.
!     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
!     ac_top_srcdir=$ac_top_builddir$srcdir ;;
! esac
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  
-     cd $ac_dir
      # Check for guested configure; otherwise get Cygnus style configure.
!     if test -f $ac_srcdir/configure.gnu; then
        echo
!       $SHELL $ac_srcdir/configure.gnu  --help=recursive
!     elif test -f $ac_srcdir/configure; then
        echo
!       $SHELL $ac_srcdir/configure  --help=recursive
!     elif test -f $ac_srcdir/configure.ac ||
!            test -f $ac_srcdir/configure.in; then
        echo
        $ac_configure --help
      else
!       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
      fi
      cd $ac_popdir
    done
--- 713,752 ----
  Use these variables to override the choices made by `configure' or to help
  it to find libraries and programs with nonstandard names/locations.
  
! EOF
  fi
  
  if test "$ac_init_help" = "recursive"; then
    # If there are subdirs, report their specific --help.
    ac_popdir=`pwd`
!   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
!     cd $ac_subdir
!     # A "../" for each directory in /$ac_subdir.
!     ac_dots=`echo $ac_subdir |
!              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
! 
!     case $srcdir in
!     .) # No --srcdir option.  We are building in place.
!       ac_sub_srcdir=$srcdir ;;
!     [\\/]* | ?:[\\/]* ) # Absolute path.
!       ac_sub_srcdir=$srcdir/$ac_subdir ;;
!     *) # Relative path.
!       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
!     esac
  
      # Check for guested configure; otherwise get Cygnus style configure.
!     if test -f $ac_sub_srcdir/configure.gnu; then
        echo
!       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
!     elif test -f $ac_sub_srcdir/configure; then
        echo
!       $SHELL $ac_sub_srcdir/configure  --help=recursive
!     elif test -f $ac_sub_srcdir/configure.ac ||
!            test -f $ac_sub_srcdir/configure.in; then
        echo
        $ac_configure --help
      else
!       echo "$as_me: WARNING: no configuration information is in $ac_subdir" 
>&2
      fi
      cd $ac_popdir
    done
***************
*** 933,963 ****
  
  test -n "$ac_init_help" && exit 0
  if $ac_init_version; then
!   cat <<\_ACEOF
  
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  Free Software Foundation, Inc.
  This configure script is free software; the Free Software Foundation
  gives unlimited permission to copy, distribute and modify it.
! _ACEOF
    exit 0
  fi
  exec 5>config.log
! cat >&5 <<_ACEOF
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.
  
  It was created by $as_me, which was
! generated by GNU Autoconf 2.53.  Invocation command line was
  
    $ $0 $@
  
! _ACEOF
  {
  cat <<_ASUNAME
! ## --------- ##
! ## Platform. ##
! ## --------- ##
  
  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  uname -m = `(uname -m) 2>/dev/null || echo unknown`
--- 754,784 ----
  
  test -n "$ac_init_help" && exit 0
  if $ac_init_version; then
!   cat <<\EOF
  
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  Free Software Foundation, Inc.
  This configure script is free software; the Free Software Foundation
  gives unlimited permission to copy, distribute and modify it.
! EOF
    exit 0
  fi
  exec 5>config.log
! cat >&5 <<EOF
  This file contains any messages produced by compilers while
  running configure, to aid debugging if configure makes a mistake.
  
  It was created by $as_me, which was
! generated by GNU Autoconf 2.52.  Invocation command line was
  
    $ $0 $@
  
! EOF
  {
  cat <<_ASUNAME
! ## ---------- ##
! ## Platform.  ##
! ## ---------- ##
  
  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  uname -m = `(uname -m) 2>/dev/null || echo unknown`
***************
*** 976,1002 ****
  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo 
unknown`
  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo 
unknown`
  
! _ASUNAME
! 
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   echo "PATH: $as_dir"
! done
  
  } >&5
  
! cat >&5 <<_ACEOF
! 
! 
! ## ----------- ##
! ## Core tests. ##
! ## ----------- ##
! 
! _ACEOF
  
  
  # Keep a trace of the command line.
  # Strip out --no-create and --no-recursion so they do not pile up.
--- 797,813 ----
  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo 
unknown`
  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo 
unknown`
  
! PATH = $PATH
  
+ _ASUNAME
  } >&5
  
! cat >&5 <<EOF
! ## ------------ ##
! ## Core tests.  ##
! ## ------------ ##
  
+ EOF
  
  # Keep a trace of the command line.
  # Strip out --no-create and --no-recursion so they do not pile up.
***************
*** 1007,1023 ****
  do
    case $ac_arg in
    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
!   | --no-cr | --no-c | -n ) continue ;;
    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
!   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
!     continue ;;
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
!     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
!   esac
!   case " $ac_configure_args " in
!     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
!     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
!        ac_sep=" " ;;
    esac
    # Get rid of the leading space.
  done
--- 818,832 ----
  do
    case $ac_arg in
    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
!   | --no-cr | --no-c) ;;
    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
!   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
!     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
!     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
!     ac_sep=" " ;;
!   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
!      ac_sep=" " ;;
    esac
    # Get rid of the leading space.
  done
***************
*** 1025,1043 ****
  # When interrupted or exit'd, cleanup temporary files, and complete
  # config.log.  We remove comments because anyway the quotes in there
  # would cause problems or look ugly.
- # WARNING: Be sure not to use single quotes in there, as some shells,
- # such as our DU 5.0 friend, will then `close' the trap.
  trap 'exit_status=$?
    # Save into config.log some information that might help in debugging.
!   {
!     echo
!     cat <<\_ASBOX
! ## ---------------- ##
! ## Cache variables. ##
! ## ---------------- ##
! _ASBOX
!     echo
!     # The following way of writing the cache mishandles newlines in values,
  {
    (set) 2>&1 |
      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
--- 834,847 ----
  # When interrupted or exit'd, cleanup temporary files, and complete
  # config.log.  We remove comments because anyway the quotes in there
  # would cause problems or look ugly.
  trap 'exit_status=$?
    # Save into config.log some information that might help in debugging.
!   echo >&5
!   echo "## ----------------- ##" >&5
!   echo "## Cache variables.  ##" >&5
!   echo "## ----------------- ##" >&5
!   echo >&5
!   # The following way of writing the cache mishandles newlines in values,
  {
    (set) 2>&1 |
      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
***************
*** 1051,1074 ****
          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        ;;
      esac;
! }
!     echo
!     if test -s confdefs.h; then
!       cat <<\_ASBOX
! ## ----------- ##
! ## confdefs.h. ##
! ## ----------- ##
! _ASBOX
!       echo
!       sed "/^$/d" confdefs.h
!       echo
!     fi
!     test "$ac_signal" != 0 &&
!       echo "$as_me: caught signal $ac_signal"
!     echo "$as_me: exit $exit_status"
!   } >&5
!   rm -f core core.* *.core &&
!   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
      exit $exit_status
       ' 0
  for ac_signal in 1 2 13 15; do
--- 855,875 ----
          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        ;;
      esac;
! } >&5
!   sed "/^$/d" confdefs.h >conftest.log
!   if test -s conftest.log; then
!     echo >&5
!     echo "## ------------ ##" >&5
!     echo "## confdefs.h.  ##" >&5
!     echo "## ------------ ##" >&5
!     echo >&5
!     cat conftest.log >&5
!   fi
!   (echo; echo) >&5
!   test "$ac_signal" != 0 &&
!     echo "$as_me: caught signal $ac_signal" >&5
!   echo "$as_me: exit $exit_status" >&5
!   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
      exit $exit_status
       ' 0
  for ac_signal in 1 2 13 15; do
***************
*** 1081,1113 ****
  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  echo >confdefs.h
  
- # Predefined preprocessor variables.
- 
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_NAME "$PACKAGE_NAME"
- _ACEOF
- 
- 
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
- _ACEOF
- 
- 
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_VERSION "$PACKAGE_VERSION"
- _ACEOF
- 
- 
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_STRING "$PACKAGE_STRING"
- _ACEOF
- 
- 
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
- _ACEOF
- 
- 
  # Let the site file select an alternate cache file if it wants to.
  # Prefer explicitly selected file to automatically selected ones.
  if test -z "$CONFIG_SITE"; then
--- 882,887 ----
***************
*** 1119,1127 ****
  fi
  for ac_site_file in $CONFIG_SITE; do
    if test -r "$ac_site_file"; then
!     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  echo "$as_me: loading site script $ac_site_file" >&6;}
!     sed 's/^/| /' "$ac_site_file" >&5
      . "$ac_site_file"
    fi
  done
--- 893,901 ----
  fi
  for ac_site_file in $CONFIG_SITE; do
    if test -r "$ac_site_file"; then
!     { echo "$as_me:896: loading site script $ac_site_file" >&5
  echo "$as_me: loading site script $ac_site_file" >&6;}
!     cat "$ac_site_file" >&5
      . "$ac_site_file"
    fi
  done
***************
*** 1130,1136 ****
    # Some versions of bash will fail to source /dev/null (special
    # files actually), so we avoid doing that.
    if test -f "$cache_file"; then
!     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  echo "$as_me: loading cache $cache_file" >&6;}
      case $cache_file in
        [\\/]* | ?:[\\/]* ) . $cache_file;;
--- 904,910 ----
    # Some versions of bash will fail to source /dev/null (special
    # files actually), so we avoid doing that.
    if test -f "$cache_file"; then
!     { echo "$as_me:907: loading cache $cache_file" >&5
  echo "$as_me: loading cache $cache_file" >&6;}
      case $cache_file in
        [\\/]* | ?:[\\/]* ) . $cache_file;;
***************
*** 1138,1144 ****
      esac
    fi
  else
!   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  echo "$as_me: creating cache $cache_file" >&6;}
    >$cache_file
  fi
--- 912,918 ----
      esac
    fi
  else
!   { echo "$as_me:915: creating cache $cache_file" >&5
  echo "$as_me: creating cache $cache_file" >&6;}
    >$cache_file
  fi
***************
*** 1154,1195 ****
    eval ac_new_val="\$ac_env_${ac_var}_value"
    case $ac_old_set,$ac_new_set in
      set,)
!       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in 
the previous run" >&5
  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous 
run" >&2;}
        ac_cache_corrupted=: ;;
      ,set)
!       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous 
run" >&5
  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        ac_cache_corrupted=: ;;
      ,);;
      *)
        if test "x$ac_old_val" != "x$ac_new_val"; then
!         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the 
previous run:" >&5
  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
!         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  echo "$as_me:   former value:  $ac_old_val" >&2;}
!         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  echo "$as_me:   current value: $ac_new_val" >&2;}
          ac_cache_corrupted=:
        fi;;
    esac
!   # Pass precious variables to config.status.
    if test "$ac_new_set" = set; then
      case $ac_new_val in
      *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
!       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
!     *) ac_arg=$ac_var=$ac_new_val ;;
!     esac
!     case " $ac_configure_args " in
!       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
!       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
      esac
    fi
  done
  if $ac_cache_corrupted; then
!   { echo "$as_me:$LINENO: error: changes in the environment can compromise 
the build" >&5
  echo "$as_me: error: changes in the environment can compromise the build" 
>&2;}
!   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm 
$cache_file' and start over" >&5
  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start 
over" >&2;}
     { (exit 1); exit 1; }; }
  fi
--- 928,969 ----
    eval ac_new_val="\$ac_env_${ac_var}_value"
    case $ac_old_set,$ac_new_set in
      set,)
!       { echo "$as_me:931: error: \`$ac_var' was set to \`$ac_old_val' in the 
previous run" >&5
  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous 
run" >&2;}
        ac_cache_corrupted=: ;;
      ,set)
!       { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" 
>&5
  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        ac_cache_corrupted=: ;;
      ,);;
      *)
        if test "x$ac_old_val" != "x$ac_new_val"; then
!         { echo "$as_me:941: error: \`$ac_var' has changed since the previous 
run:" >&5
  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
!         { echo "$as_me:943:   former value:  $ac_old_val" >&5
  echo "$as_me:   former value:  $ac_old_val" >&2;}
!         { echo "$as_me:945:   current value: $ac_new_val" >&5
  echo "$as_me:   current value: $ac_new_val" >&2;}
          ac_cache_corrupted=:
        fi;;
    esac
!   # Pass precious variables to config.status.  It doesn't matter if
!   # we pass some twice (in addition to the command line arguments).
    if test "$ac_new_set" = set; then
      case $ac_new_val in
      *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
!       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
!       ac_configure_args="$ac_configure_args '$ac_arg'"
!       ;;
!     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
!        ;;
      esac
    fi
  done
  if $ac_cache_corrupted; then
!   { echo "$as_me:964: error: changes in the environment can compromise the 
build" >&5
  echo "$as_me: error: changes in the environment can compromise the build" 
>&2;}
!   { { echo "$as_me:966: error: run \`make distclean' and/or \`rm $cache_file' 
and start over" >&5
  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start 
over" >&2;}
     { (exit 1); exit 1; }; }
  fi
***************
*** 1200,1225 ****
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
  
  ac_config_headers="$ac_config_headers src/config.h:src/config.in"
  
- 
  test "$program_prefix" != NONE &&
    program_transform_name="s,^,$program_prefix,;$program_transform_name"
  # Use a double $ so make ignores it.
--- 974,1002 ----
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
! case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
!   *c*,-n*) ECHO_N= ECHO_C='
! ' ECHO_T='    ' ;;
!   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
!   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
! esac
! echo "#! $SHELL" >conftest.sh
! echo  "exit 0"   >>conftest.sh
! chmod +x conftest.sh
! if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5
!   (PATH=".;."; conftest.sh) 2>&5
!   ac_status=$?
!   echo "$as_me:989: \$? = $ac_status" >&5
!   (exit $ac_status); }; then
!   ac_path_separator=';'
! else
!   ac_path_separator=:
! fi
! PATH_SEPARATOR="$ac_path_separator"
! rm -f conftest.sh
  
  ac_config_headers="$ac_config_headers src/config.h:src/config.in"
  
  test "$program_prefix" != NONE &&
    program_transform_name="s,^,$program_prefix,;$program_transform_name"
  # Use a double $ so make ignores it.
***************
*** 1233,1239 ****
  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  rm conftest.sed
  
- 
  lispdir='${datadir}/emacs/${version}/lisp'
  locallisppath='${datadir}/emacs/${version}/site-lisp:'\
  '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
--- 1010,1015 ----
***************
*** 1243,1249 ****
  docdir='${datadir}/emacs/${version}/etc'
  gamedir=yes
  
- 
  # Check whether --with-game-dir or --without-game-dir was given.
  if test "${with_game_dir+set}" = set; then
    withval="$with_game_dir"
--- 1019,1024 ----
***************
*** 1257,1265 ****
  eval tgamedir=\"$gamedir\"
  if test "$gamedir" != no; then
  
! cat >>confdefs.h <<_ACEOF
  #define HAVE_SHARED_GAME_DIR "$tgamedir"
! _ACEOF
  
  fi
  
--- 1032,1040 ----
  eval tgamedir=\"$gamedir\"
  if test "$gamedir" != no; then
  
! cat >>confdefs.h <<EOF
  #define HAVE_SHARED_GAME_DIR "$tgamedir"
! EOF
  
  fi
  
***************
*** 1271,1277 ****
    gameuser="$withval"
  fi;
  
- 
  # Check whether --with-gcc or --without-gcc was given.
  if test "${with_gcc+set}" = set; then
    withval="$with_gcc"
--- 1046,1051 ----
***************
*** 1282,1327 ****
  if test "${with_pop+set}" = set; then
    withval="$with_pop"
    if test "$withval" = yes; then
!    cat >>confdefs.h <<\_ACEOF
  #define MAIL_USE_POP 1
! _ACEOF
  
  else :
  fi
  else
!   cat >>confdefs.h <<\_ACEOF
  #define MAIL_USE_POP 1
! _ACEOF
  
  fi;
  
- 
  # Check whether --with-kerberos or --without-kerberos was given.
  if test "${with_kerberos+set}" = set; then
    withval="$with_kerberos"
!   cat >>confdefs.h <<\_ACEOF
  #define KERBEROS 1
! _ACEOF
  
  fi;
  
- 
  # Check whether --with-kerberos5 or --without-kerberos5 was given.
  if test "${with_kerberos5+set}" = set; then
    withval="$with_kerberos5"
    if test "${with_kerberos5+set}" = set; then
    if test "${with_kerberos+set}" != set; then
      with_kerberos=yes
!     cat >>confdefs.h <<\_ACEOF
  #define KERBEROS 1
! _ACEOF
  
    fi
  fi
  
! cat >>confdefs.h <<\_ACEOF
  #define KERBEROS5 1
! _ACEOF
  
  fi;
  
--- 1056,1099 ----
  if test "${with_pop+set}" = set; then
    withval="$with_pop"
    if test "$withval" = yes; then
!    cat >>confdefs.h <<\EOF
  #define MAIL_USE_POP 1
! EOF
  
  else :
  fi
  else
!   cat >>confdefs.h <<\EOF
  #define MAIL_USE_POP 1
! EOF
  
  fi;
  
  # Check whether --with-kerberos or --without-kerberos was given.
  if test "${with_kerberos+set}" = set; then
    withval="$with_kerberos"
!   cat >>confdefs.h <<\EOF
  #define KERBEROS 1
! EOF
  
  fi;
  
  # Check whether --with-kerberos5 or --without-kerberos5 was given.
  if test "${with_kerberos5+set}" = set; then
    withval="$with_kerberos5"
    if test "${with_kerberos5+set}" = set; then
    if test "${with_kerberos+set}" != set; then
      with_kerberos=yes
!     cat >>confdefs.h <<\EOF
  #define KERBEROS 1
! EOF
  
    fi
  fi
  
! cat >>confdefs.h <<\EOF
  #define KERBEROS5 1
! EOF
  
  fi;
  
***************
*** 1329,1348 ****
  if test "${with_hesiod+set}" = set; then
    withval="$with_hesiod"
  
! cat >>confdefs.h <<\_ACEOF
  #define HESIOD 1
! _ACEOF
  
  fi;
  
- 
  # Check whether --with-sound or --without-sound was given.
  if test "${with_sound+set}" = set; then
    withval="$with_sound"
  
  fi;
  
- 
  # Check whether --with-x-toolkit or --without-x-toolkit was given.
  if test "${with_x_toolkit+set}" = set; then
    withval="$with_x_toolkit"
--- 1101,1118 ----
  if test "${with_hesiod+set}" = set; then
    withval="$with_hesiod"
  
! cat >>confdefs.h <<\EOF
  #define HESIOD 1
! EOF
  
  fi;
  
  # Check whether --with-sound or --without-sound was given.
  if test "${with_sound+set}" = set; then
    withval="$with_sound"
  
  fi;
  
  # Check whether --with-x-toolkit or --without-x-toolkit was given.
  if test "${with_x_toolkit+set}" = set; then
    withval="$with_x_toolkit"
***************
*** 1353,1359 ****
            a | at | ath | athe | athen | athena )      val=athena ;;
            m | mo | mot | moti | motif )       val=motif ;;
            * )
! { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
  this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
  Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
  echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
--- 1123,1129 ----
            a | at | ath | athe | athen | athena )      val=athena ;;
            m | mo | mot | moti | motif )       val=motif ;;
            * )
! { { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\;
  this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
  Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
  echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
***************
*** 1441,1447 ****
  #### Check if the source directory already has a configured system in it.
  if test `pwd` != `(cd ${srcdir} && pwd)` \
     && test -f "${srcdir}/src/config.h" ; then
!   { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being 
used
     as a build directory right now; it has been configured in its own
     right.  To configure in another directory as well, you MUST
     use GNU make.  If you do not have GNU make, then you must
--- 1211,1217 ----
  #### Check if the source directory already has a configured system in it.
  if test `pwd` != `(cd ${srcdir} && pwd)` \
     && test -f "${srcdir}/src/config.h" ; then
!   { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used
     as a build directory right now; it has been configured in its own
     right.  To configure in another directory as well, you MUST
     use GNU make.  If you do not have GNU make, then you must
***************
*** 1486,1492 ****
    fi
  done
  if test -z "$ac_aux_dir"; then
!   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in 
$srcdir $srcdir/.. $srcdir/../.." >&5
  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir 
$srcdir/.. $srcdir/../.." >&2;}
     { (exit 1); exit 1; }; }
  fi
--- 1256,1262 ----
    fi
  done
  if test -z "$ac_aux_dir"; then
!   { { echo "$as_me:1259: error: cannot find install-sh or install.sh in 
$srcdir $srcdir/.. $srcdir/../.." >&5
  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir 
$srcdir/.. $srcdir/../.." >&2;}
     { (exit 1); exit 1; }; }
  fi
***************
*** 1496,1506 ****
  
  # Make sure we can run config.sub.
  $ac_config_sub sun4 >/dev/null 2>&1 ||
!   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     { (exit 1); exit 1; }; }
  
! echo "$as_me:$LINENO: checking build system type" >&5
  echo $ECHO_N "checking build system type... $ECHO_C" >&6
  if test "${ac_cv_build+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 1266,1276 ----
  
  # Make sure we can run config.sub.
  $ac_config_sub sun4 >/dev/null 2>&1 ||
!   { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5
  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     { (exit 1); exit 1; }; }
  
! echo "$as_me:1273: checking build system type" >&5
  echo $ECHO_N "checking build system type... $ECHO_C" >&6
  if test "${ac_cv_build+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 1509,1532 ****
  test -z "$ac_cv_build_alias" &&
    ac_cv_build_alias=`$ac_config_guess`
  test -z "$ac_cv_build_alias" &&
!   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify 
one" >&5
  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     { (exit 1); exit 1; }; }
  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
!   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" 
>&5
! echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     { (exit 1); exit 1; }; }
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  echo "${ECHO_T}$ac_cv_build" >&6
  build=$ac_cv_build
  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  
! 
! echo "$as_me:$LINENO: checking host system type" >&5
  echo $ECHO_N "checking host system type... $ECHO_C" >&6
  if test "${ac_cv_host+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 1279,1301 ----
  test -z "$ac_cv_build_alias" &&
    ac_cv_build_alias=`$ac_config_guess`
  test -z "$ac_cv_build_alias" &&
!   { { echo "$as_me:1282: error: cannot guess build type; you must specify 
one" >&5
  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     { (exit 1); exit 1; }; }
  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
!   { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5
! echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
     { (exit 1); exit 1; }; }
  
  fi
! echo "$as_me:1291: result: $ac_cv_build" >&5
  echo "${ECHO_T}$ac_cv_build" >&6
  build=$ac_cv_build
  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  
! echo "$as_me:1298: checking host system type" >&5
  echo $ECHO_N "checking host system type... $ECHO_C" >&6
  if test "${ac_cv_host+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 1535,1557 ****
  test -z "$ac_cv_host_alias" &&
    ac_cv_host_alias=$ac_cv_build_alias
  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
!   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" 
>&5
  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     { (exit 1); exit 1; }; }
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  echo "${ECHO_T}$ac_cv_host" >&6
  host=$ac_cv_host
  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  
- 
  canonical=$host
  configuration=${host_alias-$host}
  
- 
  ### If you add support for a new configuration, add code to this
  ### switch statement to recognize your configuration name and select
  ### the appropriate operating system and machine description files.
--- 1304,1324 ----
  test -z "$ac_cv_host_alias" &&
    ac_cv_host_alias=$ac_cv_build_alias
  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
!   { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     { (exit 1); exit 1; }; }
  
  fi
! echo "$as_me:1312: result: $ac_cv_host" >&5
  echo "${ECHO_T}$ac_cv_host" >&6
  host=$ac_cv_host
  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  
  canonical=$host
  configuration=${host_alias-$host}
  
  ### If you add support for a new configuration, add code to this
  ### switch statement to recognize your configuration name and select
  ### the appropriate operating system and machine description files.
***************
*** 2518,2526 ****
    esac
  fi
  
- 
  if test $unported = yes; then
!   { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to 
\`${canonical}' systems.
  Check \`etc/MACHINES' for recognized configuration names." >&5
  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
  Check \`etc/MACHINES' for recognized configuration names." >&2;}
--- 2285,2292 ----
    esac
  fi
  
  if test $unported = yes; then
!   { { echo "$as_me:2289: error: Emacs hasn't been ported to \`${canonical}' 
systems.
  Check \`etc/MACHINES' for recognized configuration names." >&5
  echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
  Check \`etc/MACHINES' for recognized configuration names." >&2;}
***************
*** 2530,2536 ****
  machfile="m/${machine}.h"
  opsysfile="s/${opsys}.h"
  
- 
  #### Choose a compiler.
  test -n "$CC" && cc_specified=yes
  
--- 2296,2301 ----
***************
*** 2550,2556 ****
  if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program 
name with args.
  set dummy ${ac_tool_prefix}gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2315,2321 ----
  if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program 
name with args.
  set dummy ${ac_tool_prefix}gcc; ac_word=$2
! echo "$as_me:2318: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2558,2585 ****
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_CC="${ac_tool_prefix}gcc"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:$LINENO: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2323,2347 ----
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_CC="${ac_tool_prefix}gcc"
! echo "$as_me:2333: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:2341: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:2344: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2588,2594 ****
    ac_ct_CC=$CC
    # Extract the first word of "gcc", so it can be a program name with args.
  set dummy gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2350,2356 ----
    ac_ct_CC=$CC
    # Extract the first word of "gcc", so it can be a program name with args.
  set dummy gcc; ac_word=$2
! echo "$as_me:2353: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2596,2623 ****
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_ac_ct_CC="gcc"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2358,2382 ----
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_ac_ct_CC="gcc"
! echo "$as_me:2368: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:2376: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:2379: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2630,2636 ****
    if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program 
name with args.
  set dummy ${ac_tool_prefix}cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2389,2395 ----
    if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program 
name with args.
  set dummy ${ac_tool_prefix}cc; ac_word=$2
! echo "$as_me:2392: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2638,2665 ****
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_CC="${ac_tool_prefix}cc"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:$LINENO: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2397,2421 ----
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_CC="${ac_tool_prefix}cc"
! echo "$as_me:2407: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:2415: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:2418: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2668,2674 ****
    ac_ct_CC=$CC
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2424,2430 ----
    ac_ct_CC=$CC
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
! echo "$as_me:2427: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2676,2703 ****
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_ac_ct_CC="cc"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2432,2456 ----
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_ac_ct_CC="cc"
! echo "$as_me:2442: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:2450: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:2453: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2710,2716 ****
  if test -z "$CC"; then
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2463,2469 ----
  if test -z "$CC"; then
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
! echo "$as_me:2466: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2719,2740 ****
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
    ac_prog_rejected=no
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
!        ac_prog_rejected=yes
!        continue
!      fi
!     ac_cv_prog_CC="cc"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  if test $ac_prog_rejected = yes; then
--- 2472,2490 ----
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
    ac_prog_rejected=no
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
!   ac_prog_rejected=yes
!   continue
! fi
! ac_cv_prog_CC="cc"
! echo "$as_me:2486: found $ac_dir/$ac_word" >&5
! break
  done
  
  if test $ac_prog_rejected = yes; then
***************
*** 2746,2752 ****
      # However, it has the same basename, so the bogon will be chosen
      # first if we set CC to just the basename; use the full file name.
      shift
!     set dummy "$as_dir/$ac_word" ${1+"$@"}
      shift
      ac_cv_prog_CC="$@"
    fi
--- 2496,2502 ----
      # However, it has the same basename, so the bogon will be chosen
      # first if we set CC to just the basename; use the full file name.
      shift
!     set dummy "$ac_dir/$ac_word" ${1+"$@"}
      shift
      ac_cv_prog_CC="$@"
    fi
***************
*** 2755,2764 ****
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:$LINENO: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2505,2514 ----
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:2508: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:2511: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2769,2775 ****
    do
      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a 
program name with args.
  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2519,2525 ----
    do
      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a 
program name with args.
  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! echo "$as_me:2522: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2777,2804 ****
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:$LINENO: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2527,2551 ----
    if test -n "$CC"; then
    ac_cv_prog_CC="$CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! echo "$as_me:2537: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  CC=$ac_cv_prog_CC
  if test -n "$CC"; then
!   echo "$as_me:2545: result: $CC" >&5
  echo "${ECHO_T}$CC" >&6
  else
!   echo "$as_me:2548: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2811,2817 ****
  do
    # Extract the first word of "$ac_prog", so it can be a program name with 
args.
  set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 2558,2564 ----
  do
    # Extract the first word of "$ac_prog", so it can be a program name with 
args.
  set dummy $ac_prog; ac_word=$2
! echo "$as_me:2561: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 2819,2846 ****
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_ac_ct_CC="$ac_prog"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 2566,2590 ----
    if test -n "$ac_ct_CC"; then
    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_ac_ct_CC="$ac_prog"
! echo "$as_me:2576: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  if test -n "$ac_ct_CC"; then
!   echo "$as_me:2584: result: $ac_ct_CC" >&5
  echo "${ECHO_T}$ac_ct_CC" >&6
  else
!   echo "$as_me:2587: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 2852,2892 ****
  
  fi
  
! 
! test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler 
found in \$PATH" >&5
! echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
     { (exit 1); exit 1; }; }
  
  # Provide some information about the compiler.
! echo "$as_me:$LINENO:" \
       "checking for C compiler version" >&5
  ac_compiler=`set X $ac_compile; echo $2`
! { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    (eval $ac_compiler --version </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    (eval $ac_compiler -v </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    (eval $ac_compiler -V </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }
  
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2596,2629 ----
  
  fi
  
! test -z "$CC" && { { echo "$as_me:2599: error: no acceptable cc found in 
\$PATH" >&5
! echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
     { (exit 1); exit 1; }; }
  
  # Provide some information about the compiler.
! echo "$as_me:2604:" \
       "checking for C compiler version" >&5
  ac_compiler=`set X $ac_compile; echo $2`
! { (eval echo "$as_me:2607: \"$ac_compiler --version </dev/null >&5\"") >&5
    (eval $ac_compiler --version </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:2610: \$? = $ac_status" >&5
    (exit $ac_status); }
! { (eval echo "$as_me:2612: \"$ac_compiler -v </dev/null >&5\"") >&5
    (eval $ac_compiler -v </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:2615: \$? = $ac_status" >&5
    (exit $ac_status); }
! { (eval echo "$as_me:2617: \"$ac_compiler -V </dev/null >&5\"") >&5
    (eval $ac_compiler -V </dev/null >&5) 2>&5
    ac_status=$?
!   echo "$as_me:2620: \$? = $ac_status" >&5
    (exit $ac_status); }
  
  cat >conftest.$ac_ext <<_ACEOF
! #line 2624 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 2900,2925 ****
  # Try to create an executable without -o first, disregard a.out.
  # It will help us diagnose broken compilers, and finding out an intuition
  # of exeext.
! echo "$as_me:$LINENO: checking for C compiler default output" >&5
  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    (eval $ac_link_default) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    # Find the output, starting from the most likely.  This scheme is
  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  # resort.
! 
! # Be careful to initialize this variable, since it used to be cached.
! # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! ac_cv_exeext=
! for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
                  ls a.out conftest 2>/dev/null;
                  ls a.* conftest.* 2>/dev/null`; do
    case $ac_file in
!     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
      a.out ) # We found the default executable, but exeext='' is most
              # certainly right.
              break;;
--- 2637,2658 ----
  # Try to create an executable without -o first, disregard a.out.
  # It will help us diagnose broken compilers, and finding out an intuition
  # of exeext.
! echo "$as_me:2640: checking for C compiler default output" >&5
  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! if { (eval echo "$as_me:2643: \"$ac_link_default\"") >&5
    (eval $ac_link_default) 2>&5
    ac_status=$?
!   echo "$as_me:2646: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    # Find the output, starting from the most likely.  This scheme is
  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  # resort.
! for ac_file in `ls a.exe conftest.exe 2>/dev/null;
                  ls a.out conftest 2>/dev/null;
                  ls a.* conftest.* 2>/dev/null`; do
    case $ac_file in
!     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
      a.out ) # We found the default executable, but exeext='' is most
              # certainly right.
              break;;
***************
*** 2933,2966 ****
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
  echo "$as_me: error: C compiler cannot create executables" >&2;}
     { (exit 77); exit 77; }; }
  fi
  
  ac_exeext=$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_file" >&5
  echo "${ECHO_T}$ac_file" >&6
  
  # Check the compiler produces executables we can run.  If not, either
  # the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  # If not cross compiling, check that we can run a simple program.
  if test "$cross_compiling" != yes; then
    if { ac_try='./$ac_file'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
      cross_compiling=no
    else
      if test "$cross_compiling" = maybe; then
        cross_compiling=yes
      else
!       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  If you meant to cross compile, use \`--host'." >&5
  echo "$as_me: error: cannot run C compiled programs.
  If you meant to cross compile, use \`--host'." >&2;}
--- 2666,2699 ----
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! { { echo "$as_me:2669: error: C compiler cannot create executables" >&5
  echo "$as_me: error: C compiler cannot create executables" >&2;}
     { (exit 77); exit 77; }; }
  fi
  
  ac_exeext=$ac_cv_exeext
! echo "$as_me:2675: result: $ac_file" >&5
  echo "${ECHO_T}$ac_file" >&6
  
  # Check the compiler produces executables we can run.  If not, either
  # the compiler is broken, or we cross compile.
! echo "$as_me:2680: checking whether the C compiler works" >&5
  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  # If not cross compiling, check that we can run a simple program.
  if test "$cross_compiling" != yes; then
    if { ac_try='./$ac_file'
!   { (eval echo "$as_me:2686: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2689: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
      cross_compiling=no
    else
      if test "$cross_compiling" = maybe; then
        cross_compiling=yes
      else
!       { { echo "$as_me:2696: error: cannot run C compiled programs.
  If you meant to cross compile, use \`--host'." >&5
  echo "$as_me: error: cannot run C compiled programs.
  If you meant to cross compile, use \`--host'." >&2;}
***************
*** 2968,2991 ****
      fi
    fi
  fi
! echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
  rm -f a.out a.exe conftest$ac_cv_exeext
  ac_clean_files=$ac_clean_files_save
  # Check the compiler produces executables we can run.  If not, either
  # the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! echo "$as_me:$LINENO: result: $cross_compiling" >&5
  echo "${ECHO_T}$cross_compiling" >&6
  
! echo "$as_me:$LINENO: checking for suffix of executables" >&5
! echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
--- 2701,2724 ----
      fi
    fi
  fi
! echo "$as_me:2704: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
  rm -f a.out a.exe conftest$ac_cv_exeext
  ac_clean_files=$ac_clean_files_save
  # Check the compiler produces executables we can run.  If not, either
  # the compiler is broken, or we cross compile.
! echo "$as_me:2711: checking whether we are cross compiling" >&5
  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! echo "$as_me:2713: result: $cross_compiling" >&5
  echo "${ECHO_T}$cross_compiling" >&6
  
! echo "$as_me:2716: checking for executable suffix" >&5
! echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
! if { (eval echo "$as_me:2718: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:2721: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
***************
*** 3001,3033 ****
    esac
  done
  else
!   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: 
cannot compile and link" >&5
! echo "$as_me: error: cannot compute suffix of executables: cannot compile and 
link" >&2;}
     { (exit 1); exit 1; }; }
  fi
  
  rm -f conftest$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  echo "${ECHO_T}$ac_cv_exeext" >&6
  
  rm -f conftest.$ac_ext
  EXEEXT=$ac_cv_exeext
  ac_exeext=$EXEEXT
! echo "$as_me:$LINENO: checking for suffix of object files" >&5
! echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  if test "${ac_cv_objext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2734,2760 ----
    esac
  done
  else
!   { { echo "$as_me:2737: error: cannot compute EXEEXT: cannot compile and 
link" >&5
! echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
     { (exit 1); exit 1; }; }
  fi
  
  rm -f conftest$ac_cv_exeext
! echo "$as_me:2743: result: $ac_cv_exeext" >&5
  echo "${ECHO_T}$ac_cv_exeext" >&6
  
  rm -f conftest.$ac_ext
  EXEEXT=$ac_cv_exeext
  ac_exeext=$EXEEXT
! echo "$as_me:2749: checking for object suffix" >&5
! echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
  if test "${ac_cv_objext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 2755 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 3037,3046 ****
  }
  _ACEOF
  rm -f conftest.o conftest.obj
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    case $ac_file in
--- 2764,2773 ----
  }
  _ACEOF
  rm -f conftest.o conftest.obj
! if { (eval echo "$as_me:2767: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2770: \$? = $ac_status" >&5
    (exit $ac_status); }; then
    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    case $ac_file in
***************
*** 3052,3083 ****
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: 
cannot compile" >&5
! echo "$as_me: error: cannot compute suffix of object files: cannot compile" 
>&2;}
     { (exit 1); exit 1; }; }
  fi
  
  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  echo "${ECHO_T}$ac_cv_objext" >&6
  OBJEXT=$ac_cv_objext
  ac_objext=$OBJEXT
! echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  if test "${ac_cv_c_compiler_gnu+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2779,2804 ----
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! { { echo "$as_me:2782: error: cannot compute OBJEXT: cannot compile" >&5
! echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
     { (exit 1); exit 1; }; }
  fi
  
  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  fi
! echo "$as_me:2789: result: $ac_cv_objext" >&5
  echo "${ECHO_T}$ac_cv_objext" >&6
  OBJEXT=$ac_cv_objext
  ac_objext=$OBJEXT
! echo "$as_me:2793: checking whether we are using the GNU C compiler" >&5
  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  if test "${ac_cv_c_compiler_gnu+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 2799 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 3090,3105 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_compiler_gnu=yes
  else
--- 2811,2826 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2817: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:2820: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2823: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_compiler_gnu=yes
  else
***************
*** 3111,3137 ****
  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  GCC=`test $ac_compiler_gnu = yes && echo yes`
  ac_test_CFLAGS=${CFLAGS+set}
  ac_save_CFLAGS=$CFLAGS
  CFLAGS="-g"
! echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  if test "${ac_cv_prog_cc_g+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2832,2852 ----
  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  
  fi
! echo "$as_me:2835: result: $ac_cv_c_compiler_gnu" >&5
  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  GCC=`test $ac_compiler_gnu = yes && echo yes`
  ac_test_CFLAGS=${CFLAGS+set}
  ac_save_CFLAGS=$CFLAGS
  CFLAGS="-g"
! echo "$as_me:2841: checking whether $CC accepts -g" >&5
  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  if test "${ac_cv_prog_cc_g+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 2847 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 3141,3156 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_prog_cc_g=yes
  else
--- 2856,2871 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2862: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:2865: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2868: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_prog_cc_g=yes
  else
***************
*** 3160,3166 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  if test "$ac_test_CFLAGS" = set; then
    CFLAGS=$ac_save_CFLAGS
--- 2875,2881 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:2878: result: $ac_cv_prog_cc_g" >&5
  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  if test "$ac_test_CFLAGS" = set; then
    CFLAGS=$ac_save_CFLAGS
***************
*** 3187,3202 ****
  #endif
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    for ac_declaration in \
     ''\
--- 2902,2917 ----
  #endif
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2905: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2908: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:2911: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2914: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    for ac_declaration in \
     ''\
***************
*** 3208,3223 ****
     'void exit (int);'
  do
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  $ac_declaration
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2923,2932 ----
     'void exit (int);'
  do
    cat >conftest.$ac_ext <<_ACEOF
! #line 2926 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  $ac_declaration
  int
  main ()
  {
***************
*** 3227,3242 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    :
  else
--- 2936,2951 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2939: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2942: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:2945: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2948: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    :
  else
***************
*** 3246,3260 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  $ac_declaration
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 2955,2963 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line 2958 "configure"
  #include "confdefs.h"
  $ac_declaration
  int
  main ()
  {
***************
*** 3264,3279 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
--- 2967,2982 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:2973: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:2976: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:2979: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
***************
*** 3300,3306 ****
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  
- 
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
    CPP=
--- 3003,3008 ----
***************
*** 3347,3360 ****
  #### should make an entry in src/config.h, don't forget to add an
  #### #undef clause to src/config.h.in for autoconf to modify.
  
! echo "$as_me:$LINENO: checking whether ln -s works" >&5
  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
  LN_S=$as_ln_s
  if test "$LN_S" = "ln -s"; then
!   echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  else
!   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  echo "${ECHO_T}no, using $LN_S" >&6
  fi
  
--- 3049,3062 ----
  #### should make an entry in src/config.h, don't forget to add an
  #### #undef clause to src/config.h.in for autoconf to modify.
  
! echo "$as_me:3052: checking whether ln -s works" >&5
  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
  LN_S=$as_ln_s
  if test "$LN_S" = "ln -s"; then
!   echo "$as_me:3056: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  else
!   echo "$as_me:3059: result: no, using $LN_S" >&5
  echo "${ECHO_T}no, using $LN_S" >&6
  fi
  
***************
*** 3363,3369 ****
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
! echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
--- 3065,3071 ----
  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS >&5'
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
! echo "$as_me:3068: checking how to run the C preprocessor" >&5
  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
***************
*** 3384,3401 ****
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp. "Syntax error" is here to catch this case.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <assert.h>
                       Syntax error
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 3086,3103 ----
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp. "Syntax error" is here to catch this case.
    cat >conftest.$ac_ext <<_ACEOF
! #line 3089 "configure"
  #include "confdefs.h"
  #include <assert.h>
                       Syntax error
  _ACEOF
! if { (eval echo "$as_me:3094: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:3100: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3418,3434 ****
    # OK, works on sane cases.  Now check whether non-existent headers
    # can be detected and how.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <ac_nonexistent.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 3120,3136 ----
    # OK, works on sane cases.  Now check whether non-existent headers
    # can be detected and how.
    cat >conftest.$ac_ext <<_ACEOF
! #line 3123 "configure"
  #include "confdefs.h"
  #include <ac_nonexistent.h>
  _ACEOF
! if { (eval echo "$as_me:3127: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:3133: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3465,3471 ****
  else
    ac_cv_prog_CPP=$CPP
  fi
! echo "$as_me:$LINENO: result: $CPP" >&5
  echo "${ECHO_T}$CPP" >&6
  ac_preproc_ok=false
  for ac_c_preproc_warn_flag in '' yes
--- 3167,3173 ----
  else
    ac_cv_prog_CPP=$CPP
  fi
! echo "$as_me:3170: result: $CPP" >&5
  echo "${ECHO_T}$CPP" >&6
  ac_preproc_ok=false
  for ac_c_preproc_warn_flag in '' yes
***************
*** 3475,3492 ****
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp. "Syntax error" is here to catch this case.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <assert.h>
                       Syntax error
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 3177,3194 ----
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp. "Syntax error" is here to catch this case.
    cat >conftest.$ac_ext <<_ACEOF
! #line 3180 "configure"
  #include "confdefs.h"
  #include <assert.h>
                       Syntax error
  _ACEOF
! if { (eval echo "$as_me:3185: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:3191: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3509,3525 ****
    # OK, works on sane cases.  Now check whether non-existent headers
    # can be detected and how.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <ac_nonexistent.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 3211,3227 ----
    # OK, works on sane cases.  Now check whether non-existent headers
    # can be detected and how.
    cat >conftest.$ac_ext <<_ACEOF
! #line 3214 "configure"
  #include "confdefs.h"
  #include <ac_nonexistent.h>
  _ACEOF
! if { (eval echo "$as_me:3218: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:3224: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 3547,3553 ****
  if $ac_preproc_ok; then
    :
  else
!   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity 
check" >&5
  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
     { (exit 1); exit 1; }; }
  fi
--- 3249,3255 ----
  if $ac_preproc_ok; then
    :
  else
!   { { echo "$as_me:3252: error: C preprocessor \"$CPP\" fails sanity check" 
>&5
  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
     { (exit 1); exit 1; }; }
  fi
***************
*** 3570,3617 ****
  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
! echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  if test -z "$INSTALL"; then
  if test "${ac_cv_path_install+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   # Account for people who put trailing slashes in PATH elements.
! case $as_dir/ in
!   ./ | .// | /cC/* | \
!   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
!   /usr/ucb/* ) ;;
!   *)
!     # OSF1 and SCO ODT 3.0 have their own names for install.
!     # Don't use installbsd from OSF since it installs stuff as root
!     # by default.
!     for ac_prog in ginstall scoinst install; do
!       for ac_exec_ext in '' $ac_executable_extensions; do
!         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
!           if test $ac_prog = install &&
!             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
!             # AIX install.  It has an incompatible calling convention.
!             :
!           elif test $ac_prog = install &&
!             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
!             # program-specific install script used by HP pwplus--don't use.
!             :
!           else
!             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
!             break 3
!           fi
!         fi
        done
!     done
!     ;;
! esac
! done
! 
  
  fi
    if test "${ac_cv_path_install+set}" = set; then
--- 3272,3314 ----
  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
! echo "$as_me:3275: checking for a BSD compatible install" >&5
! echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
  if test -z "$INSTALL"; then
  if test "${ac_cv_path_install+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!     ac_save_IFS=$IFS; IFS=$ac_path_separator
!   for ac_dir in $PATH; do
!     IFS=$ac_save_IFS
!     # Account for people who put trailing slashes in PATH elements.
!     case $ac_dir/ in
!     / | ./ | .// | /cC/* \
!     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
!     | /usr/ucb/* ) ;;
!     *)
!       # OSF1 and SCO ODT 3.0 have their own names for install.
!       # Don't use installbsd from OSF since it installs stuff as root
!       # by default.
!       for ac_prog in ginstall scoinst install; do
!         if $as_executable_p "$ac_dir/$ac_prog"; then
!         if test $ac_prog = install &&
!             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
!           # AIX install.  It has an incompatible calling convention.
!           :
!         elif test $ac_prog = install &&
!           grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
!           # program-specific install script used by HP pwplus--don't use.
!           :
!         else
!           ac_cv_path_install="$ac_dir/$ac_prog -c"
!           break 2
!         fi
!       fi
        done
!       ;;
!     esac
!   done
  
  fi
    if test "${ac_cv_path_install+set}" = set; then
***************
*** 3624,3630 ****
      INSTALL=$ac_install_sh
    fi
  fi
! echo "$as_me:$LINENO: result: $INSTALL" >&5
  echo "${ECHO_T}$INSTALL" >&6
  
  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
--- 3321,3327 ----
      INSTALL=$ac_install_sh
    fi
  fi
! echo "$as_me:3324: result: $INSTALL" >&5
  echo "${ECHO_T}$INSTALL" >&6
  
  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
***************
*** 3639,3645 ****
  do
    # Extract the first word of "$ac_prog", so it can be a program name with 
args.
  set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_YACC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3336,3342 ----
  do
    # Extract the first word of "$ac_prog", so it can be a program name with 
args.
  set dummy $ac_prog; ac_word=$2
! echo "$as_me:3339: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_YACC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3647,3674 ****
    if test -n "$YACC"; then
    ac_cv_prog_YACC="$YACC" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_YACC="$ac_prog"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  YACC=$ac_cv_prog_YACC
  if test -n "$YACC"; then
!   echo "$as_me:$LINENO: result: $YACC" >&5
  echo "${ECHO_T}$YACC" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 3344,3368 ----
    if test -n "$YACC"; then
    ac_cv_prog_YACC="$YACC" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_YACC="$ac_prog"
! echo "$as_me:3354: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  YACC=$ac_cv_prog_YACC
  if test -n "$YACC"; then
!   echo "$as_me:3362: result: $YACC" >&5
  echo "${ECHO_T}$YACC" >&6
  else
!   echo "$as_me:3365: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 3680,3686 ****
    if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a 
program name with args.
  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_RANLIB+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3374,3380 ----
    if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a 
program name with args.
  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo "$as_me:3377: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_RANLIB+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3688,3715 ****
    if test -n "$RANLIB"; then
    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
  fi
  fi
  RANLIB=$ac_cv_prog_RANLIB
  if test -n "$RANLIB"; then
!   echo "$as_me:$LINENO: result: $RANLIB" >&5
  echo "${ECHO_T}$RANLIB" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 3382,3406 ----
    if test -n "$RANLIB"; then
    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! echo "$as_me:3392: found $ac_dir/$ac_word" >&5
! break
  done
  
  fi
  fi
  RANLIB=$ac_cv_prog_RANLIB
  if test -n "$RANLIB"; then
!   echo "$as_me:3400: result: $RANLIB" >&5
  echo "${ECHO_T}$RANLIB" >&6
  else
!   echo "$as_me:3403: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 3718,3724 ****
    ac_ct_RANLIB=$RANLIB
    # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3409,3415 ----
    ac_ct_RANLIB=$RANLIB
    # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
! echo "$as_me:3412: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3726,3743 ****
    if test -n "$ac_ct_RANLIB"; then
    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_ac_ct_RANLIB="ranlib"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
--- 3417,3431 ----
    if test -n "$ac_ct_RANLIB"; then
    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_ac_ct_RANLIB="ranlib"
! echo "$as_me:3427: found $ac_dir/$ac_word" >&5
! break
  done
  
    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
***************
*** 3745,3754 ****
  fi
  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  if test -n "$ac_ct_RANLIB"; then
!   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  echo "${ECHO_T}$ac_ct_RANLIB" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
--- 3433,3442 ----
  fi
  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  if test -n "$ac_ct_RANLIB"; then
!   echo "$as_me:3436: result: $ac_ct_RANLIB" >&5
  echo "${ECHO_T}$ac_ct_RANLIB" >&6
  else
!   echo "$as_me:3439: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
***************
*** 3759,3771 ****
  
  fi
  
! 
! 
! 
! echo "$as_me:$LINENO: checking for AIX" >&5
  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #ifdef _AIX
    yes
--- 3447,3456 ----
  
  fi
  
! echo "$as_me:3450: checking for AIX" >&5
  echo $ECHO_N "checking for AIX... $ECHO_C" >&6
  cat >conftest.$ac_ext <<_ACEOF
! #line 3453 "configure"
  #include "confdefs.h"
  #ifdef _AIX
    yes
***************
*** 3774,3796 ****
  _ACEOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    egrep "yes" >/dev/null 2>&1; then
!   echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\_ACEOF
  #define _ALL_SOURCE 1
! _ACEOF
  
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  rm -f conftest*
  
- 
- 
  #### Extract some information from the operating system and machine files.
  
! { echo "$as_me:$LINENO: checking the machine- and system-dependent files to 
find out
   - which libraries the lib-src programs will want, and
   - whether the GNU malloc routines are usable..." >&5
  echo "$as_me: checking the machine- and system-dependent files to find out
--- 3459,3479 ----
  _ACEOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    egrep "yes" >/dev/null 2>&1; then
!   echo "$as_me:3462: result: yes" >&5
  echo "${ECHO_T}yes" >&6
! cat >>confdefs.h <<\EOF
  #define _ALL_SOURCE 1
! EOF
  
  else
!   echo "$as_me:3469: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  rm -f conftest*
  
  #### Extract some information from the operating system and machine files.
  
! { echo "$as_me:3476: checking the machine- and system-dependent files to find 
out
   - which libraries the lib-src programs will want, and
   - whether the GNU malloc routines are usable..." >&5
  echo "$as_me: checking the machine- and system-dependent files to find out
***************
*** 3940,3946 ****
  fi;
  if test "$enable_largefile" != no; then
  
!   echo "$as_me:$LINENO: checking for special C compiler options needed for 
large files" >&5
  echo $ECHO_N "checking for special C compiler options needed for large 
files... $ECHO_C" >&6
  if test "${ac_cv_sys_largefile_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3623,3629 ----
  fi;
  if test "$enable_largefile" != no; then
  
!   echo "$as_me:3626: checking for special C compiler options needed for large 
files" >&5
  echo $ECHO_N "checking for special C compiler options needed for large 
files... $ECHO_C" >&6
  if test "${ac_cv_sys_largefile_CC+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 3952,3958 ****
         # IRIX 6.2 and later do not support large files by default,
         # so use the C compiler's -n32 option if that helps.
           cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
--- 3635,3641 ----
         # IRIX 6.2 and later do not support large files by default,
         # so use the C compiler's -n32 option if that helps.
           cat >conftest.$ac_ext <<_ACEOF
! #line 3638 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 3963,3974 ****
    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3646,3651 ----
***************
*** 3978,3993 ****
  }
  _ACEOF
         rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
--- 3655,3670 ----
  }
  _ACEOF
         rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3661: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3664: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3667: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
***************
*** 3997,4012 ****
  rm -f conftest.$ac_objext
         CC="$CC -n32"
         rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_largefile_CC=' -n32'; break
  else
--- 3674,3689 ----
  rm -f conftest.$ac_objext
         CC="$CC -n32"
         rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3680: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3683: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3686: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_largefile_CC=' -n32'; break
  else
***************
*** 4020,4032 ****
         rm -f conftest.$ac_ext
      fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
    if test "$ac_cv_sys_largefile_CC" != no; then
      CC=$CC$ac_cv_sys_largefile_CC
    fi
  
!   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large 
files" >&5
  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3697,3709 ----
         rm -f conftest.$ac_ext
      fi
  fi
! echo "$as_me:3700: result: $ac_cv_sys_largefile_CC" >&5
  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
    if test "$ac_cv_sys_largefile_CC" != no; then
      CC=$CC$ac_cv_sys_largefile_CC
    fi
  
!   echo "$as_me:3706: checking for _FILE_OFFSET_BITS value needed for large 
files" >&5
  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 4034,4040 ****
    while :; do
    ac_cv_sys_file_offset_bits=no
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
--- 3711,3717 ----
    while :; do
    ac_cv_sys_file_offset_bits=no
    cat >conftest.$ac_ext <<_ACEOF
! #line 3714 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 4045,4056 ****
    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3722,3727 ----
***************
*** 4060,4075 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
--- 3731,3746 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3737: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3740: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3743: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
***************
*** 4078,4084 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #define _FILE_OFFSET_BITS 64
  #include <sys/types.h>
--- 3749,3755 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line 3752 "configure"
  #include "confdefs.h"
  #define _FILE_OFFSET_BITS 64
  #include <sys/types.h>
***************
*** 4090,4101 ****
    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3761,3766 ----
***************
*** 4105,4120 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_file_offset_bits=64; break
  else
--- 3770,3785 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3776: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3779: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3782: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_file_offset_bits=64; break
  else
***************
*** 4125,4141 ****
    break
  done
  fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
  if test "$ac_cv_sys_file_offset_bits" != no; then
  
! cat >>confdefs.h <<_ACEOF
  #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
! _ACEOF
  
  fi
  rm -f conftest*
!   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large 
files" >&5
  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_large_files+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3790,3806 ----
    break
  done
  fi
! echo "$as_me:3793: result: $ac_cv_sys_file_offset_bits" >&5
  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
  if test "$ac_cv_sys_file_offset_bits" != no; then
  
! cat >>confdefs.h <<EOF
  #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
! EOF
  
  fi
  rm -f conftest*
!   echo "$as_me:3803: checking for _LARGE_FILES value needed for large files" 
>&5
  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_large_files+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 4143,4149 ****
    while :; do
    ac_cv_sys_large_files=no
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
--- 3808,3814 ----
    while :; do
    ac_cv_sys_large_files=no
    cat >conftest.$ac_ext <<_ACEOF
! #line 3811 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
   /* Check that off_t can represent 2**63 - 1 correctly.
***************
*** 4154,4165 ****
    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3819,3824 ----
***************
*** 4169,4184 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
--- 3828,3843 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3834: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3837: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3840: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
***************
*** 4187,4193 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #define _LARGE_FILES 1
  #include <sys/types.h>
--- 3846,3852 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line 3849 "configure"
  #include "confdefs.h"
  #define _LARGE_FILES 1
  #include <sys/types.h>
***************
*** 4199,4210 ****
    int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                       && LARGE_OFF_T % 2147483647 == 1)
                      ? 1 : -1];
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3858,3863 ----
***************
*** 4214,4229 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_large_files=1; break
  else
--- 3867,3882 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:3870: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:3873: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:3876: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3879: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_large_files=1; break
  else
***************
*** 4234,4512 ****
    break
  done
  fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
  if test "$ac_cv_sys_large_files" != no; then
  
! cat >>confdefs.h <<_ACEOF
  #define _LARGE_FILES $ac_cv_sys_large_files
! _ACEOF
  
  fi
  rm -f conftest*
  fi
  
- 
  if test "${with_sound}" != "no"; then
    # Sound support for GNU/Linux and the free BSDs.
-   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
- if test "${ac_cv_header_stdc+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
- 
- _ACEOF
- if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
-   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
-   ac_status=$?
-   egrep -v '^ *\+' conftest.er1 >conftest.err
-   rm -f conftest.er1
-   cat conftest.err >&5
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } >/dev/null; then
-   if test -s conftest.err; then
-     ac_cpp_err=$ac_c_preproc_warn_flag
-   else
-     ac_cpp_err=
-   fi
- else
-   ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
-   ac_cv_header_stdc=yes
- else
-   echo "$as_me: failed program was:" >&5
-   cat conftest.$ac_ext >&5
-   ac_cv_header_stdc=no
- fi
- rm -f conftest.err conftest.$ac_ext
- 
- if test $ac_cv_header_stdc = yes; then
-   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- #include <string.h>
- 
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "memchr" >/dev/null 2>&1; then
-   :
- else
-   ac_cv_header_stdc=no
- fi
- rm -f conftest*
- 
- fi
- 
- if test $ac_cv_header_stdc = yes; then
-   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- 
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "free" >/dev/null 2>&1; then
-   :
- else
-   ac_cv_header_stdc=no
- fi
- rm -f conftest*
- 
- fi
- 
- if test $ac_cv_header_stdc = yes; then
-   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-   if test "$cross_compiling" = yes; then
-   :
- else
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #if ((' ' & 0x0FF) == 0x020)
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- #else
- # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
-                      || ('j' <= (c) && (c) <= 'r') \
-                      || ('s' <= (c) && (c) <= 'z'))
- # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- #endif
- 
- #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- int
- main ()
- {
-   int i;
-   for (i = 0; i < 256; i++)
-     if (XOR (islower (i), ISLOWER (i))
-         || toupper (i) != TOUPPER (i))
-       exit(2);
-   exit (0);
- }
- _ACEOF
- rm -f conftest$ac_exeext
- if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-   (eval $ac_link) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   :
- else
-   echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ( exit $ac_status )
- ac_cv_header_stdc=no
- fi
- rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
- fi
- fi
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
- echo "${ECHO_T}$ac_cv_header_stdc" >&6
- if test $ac_cv_header_stdc = yes; then
- 
- cat >>confdefs.h <<\_ACEOF
- #define STDC_HEADERS 1
- _ACEOF
- 
- fi
- 
- # On IRIX 5.3, sys/types and inttypes.h are conflicting.
- 
- 
- 
- 
- 
- 
- 
- 
- 
- for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
-                   inttypes.h stdint.h unistd.h
- do
- as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- 
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   eval "$as_ac_Header=yes"
- else
-   echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$as_ac_Header=no"
- fi
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- if test `eval echo '${'$as_ac_Header'}'` = yes; then
-   cat >>confdefs.h <<_ACEOF
- #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- _ACEOF
- 
- fi
- 
- done
- 
- 
- 
- 
  
  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 3887,3927 ----
    break
  done
  fi
! echo "$as_me:3890: result: $ac_cv_sys_large_files" >&5
  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
  if test "$ac_cv_sys_large_files" != no; then
  
! cat >>confdefs.h <<EOF
  #define _LARGE_FILES $ac_cv_sys_large_files
! EOF
  
  fi
  rm -f conftest*
  fi
  
  if test "${with_sound}" != "no"; then
    # Sound support for GNU/Linux and the free BSDs.
  
  for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:3908: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 3914 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:3918: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:3924: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 4517,4569 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
    # Emulation library used on NetBSD.
!   echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 3932,3957 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:3943: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
    # Emulation library used on NetBSD.
!   echo "$as_me:3954: checking for _oss_ioctl in -lossaudio" >&5
  echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
  if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 4571,4577 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lossaudio  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 3959,3965 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lossaudio  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 3962 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 4581,4592 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char _oss_ioctl ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 3969,3974 ----
***************
*** 4596,4611 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ossaudio__oss_ioctl=yes
  else
--- 3978,3993 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:3981: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:3984: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:3987: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:3990: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ossaudio__oss_ioctl=yes
  else
***************
*** 4616,4622 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
    LIBSOUND=-lossaudio
--- 3998,4004 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:4001: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
  if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
    LIBSOUND=-lossaudio
***************
*** 4624,4709 ****
    LIBSOUND=
  fi
  
- 
  fi
  
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 4006,4035 ----
    LIBSOUND=
  fi
  
  fi
  
  for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
    linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
    termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:4016: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 4022 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:4026: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:4032: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 4714,4771 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
! echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  if test "${ac_cv_header_stdc+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <stdarg.h>
--- 4040,4070 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:4051: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
! echo "$as_me:4061: checking for ANSI C header files" >&5
  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  if test "${ac_cv_header_stdc+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4067 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  #include <stdarg.h>
***************
*** 4773,4785 ****
  #include <float.h>
  
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 4072,4084 ----
  #include <float.h>
  
  _ACEOF
! if { (eval echo "$as_me:4075: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:4081: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 4801,4807 ****
  if test $ac_cv_header_stdc = yes; then
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <string.h>
  
--- 4100,4106 ----
  if test $ac_cv_header_stdc = yes; then
    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    cat >conftest.$ac_ext <<_ACEOF
! #line 4103 "configure"
  #include "confdefs.h"
  #include <string.h>
  
***************
*** 4819,4825 ****
  if test $ac_cv_header_stdc = yes; then
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  
--- 4118,4124 ----
  if test $ac_cv_header_stdc = yes; then
    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    cat >conftest.$ac_ext <<_ACEOF
! #line 4121 "configure"
  #include "confdefs.h"
  #include <stdlib.h>
  
***************
*** 4840,4846 ****
    :
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <ctype.h>
  #if ((' ' & 0x0FF) == 0x020)
--- 4139,4145 ----
    :
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4142 "configure"
  #include "confdefs.h"
  #include <ctype.h>
  #if ((' ' & 0x0FF) == 0x020)
***************
*** 4866,4921 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    :
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_header_stdc=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  echo "${ECHO_T}$ac_cv_header_stdc" >&6
  if test $ac_cv_header_stdc = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define STDC_HEADERS 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be 
included" >&5
  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... 
$ECHO_C" >&6
  if test "${ac_cv_header_time+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/time.h>
  #include <time.h>
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4165,4213 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:4168: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:4171: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:4173: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4176: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    :
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_header_stdc=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
  fi
! echo "$as_me:4189: result: $ac_cv_header_stdc" >&5
  echo "${ECHO_T}$ac_cv_header_stdc" >&6
  if test $ac_cv_header_stdc = yes; then
  
! cat >>confdefs.h <<\EOF
  #define STDC_HEADERS 1
! EOF
  
  fi
  
! echo "$as_me:4199: checking whether time.h and sys/time.h may both be 
included" >&5
  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... 
$ECHO_C" >&6
  if test "${ac_cv_header_time+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4205 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/time.h>
  #include <time.h>
  
  int
  main ()
  {
***************
*** 4926,4941 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_header_time=yes
  else
--- 4218,4233 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4221: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4224: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4227: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4230: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_header_time=yes
  else
***************
*** 4945,4967 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  echo "${ECHO_T}$ac_cv_header_time" >&6
  if test $ac_cv_header_time = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define TIME_WITH_SYS_TIME 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or 
unistd.h" >&5
  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... 
$ECHO_C" >&6
  if test "${ac_cv_decl_sys_siglist+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
--- 4237,4259 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4240: result: $ac_cv_header_time" >&5
  echo "${ECHO_T}$ac_cv_header_time" >&6
  if test $ac_cv_header_time = yes; then
  
! cat >>confdefs.h <<\EOF
  #define TIME_WITH_SYS_TIME 1
! EOF
  
  fi
  
! echo "$as_me:4250: checking for sys_siglist declaration in signal.h or 
unistd.h" >&5
  echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... 
$ECHO_C" >&6
  if test "${ac_cv_decl_sys_siglist+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4256 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
***************
*** 4970,4981 ****
  # include <unistd.h>
  #endif
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4262,4267 ----
***************
*** 4985,5000 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_decl_sys_siglist=yes
  else
--- 4271,4286 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4274: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4277: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4280: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4283: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_decl_sys_siglist=yes
  else
***************
*** 5004,5026 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
  if test $ac_cv_decl_sys_siglist = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define SYS_SIGLIST_DECLARED 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" 
>&6
  if test "${ac_cv_header_sys_wait_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/wait.h>
--- 4290,4312 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4293: result: $ac_cv_decl_sys_siglist" >&5
  echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
  if test $ac_cv_decl_sys_siglist = yes; then
  
! cat >>confdefs.h <<\EOF
  #define SYS_SIGLIST_DECLARED 1
! EOF
  
  fi
  
! echo "$as_me:4303: checking for sys/wait.h that is POSIX.1 compatible" >&5
  echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" 
>&6
  if test "${ac_cv_header_sys_wait_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4309 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <sys/wait.h>
***************
*** 5031,5042 ****
  # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  #endif
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4317,4322 ----
***************
*** 5048,5063 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_header_sys_wait_h=yes
  else
--- 4328,4343 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4334: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4337: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4340: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_header_sys_wait_h=yes
  else
***************
*** 5067,5090 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  if test $ac_cv_header_sys_wait_h = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_SYS_WAIT_H 1
! _ACEOF
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for struct utimbuf" >&5
  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
  if test "${emacs_cv_struct_utimbuf+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #ifdef TIME_WITH_SYS_TIME
  #include <sys/time.h>
--- 4347,4369 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4350: result: $ac_cv_header_sys_wait_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  if test $ac_cv_header_sys_wait_h = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_SYS_WAIT_H 1
! EOF
  
  fi
  
! echo "$as_me:4360: checking for struct utimbuf" >&5
  echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
  if test "${emacs_cv_struct_utimbuf+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4366 "configure"
  #include "confdefs.h"
  #ifdef TIME_WITH_SYS_TIME
  #include <sys/time.h>
***************
*** 5099,5110 ****
  #ifdef HAVE_UTIME_H
  #include <utime.h>
  #endif
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4378,4383 ----
***************
*** 5114,5129 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_utimbuf=yes
  else
--- 4387,4402 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4393: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4396: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4399: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_utimbuf=yes
  else
***************
*** 5133,5155 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
  if test $emacs_cv_struct_utimbuf = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_STRUCT_UTIMBUF 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
  if test "${ac_cv_type_signal+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
--- 4406,4428 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4409: result: $emacs_cv_struct_utimbuf" >&5
  echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
  if test $emacs_cv_struct_utimbuf = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_STRUCT_UTIMBUF 1
! EOF
  
  fi
  
! echo "$as_me:4419: checking return type of signal handlers" >&5
  echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
  if test "${ac_cv_type_signal+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4425 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <signal.h>
***************
*** 5162,5173 ****
  void (*signal ()) ();
  #endif
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4435,4440 ----
***************
*** 5177,5192 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_signal=void
  else
--- 4444,4459 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4447: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4450: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4453: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4456: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_signal=void
  else
***************
*** 5196,5225 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  echo "${ECHO_T}$ac_cv_type_signal" >&6
  
! cat >>confdefs.h <<_ACEOF
  #define RETSIGTYPE $ac_cv_type_signal
! _ACEOF
  
! 
! 
! echo "$as_me:$LINENO: checking for speed_t" >&5
  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
  if test "${emacs_cv_speed_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <termios.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4463,4484 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4466: result: $ac_cv_type_signal" >&5
  echo "${ECHO_T}$ac_cv_type_signal" >&6
  
! cat >>confdefs.h <<EOF
  #define RETSIGTYPE $ac_cv_type_signal
! EOF
  
! echo "$as_me:4473: checking for speed_t" >&5
  echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
  if test "${emacs_cv_speed_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4479 "configure"
  #include "confdefs.h"
  #include <termios.h>
  int
  main ()
  {
***************
*** 5229,5244 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_speed_t=yes
  else
--- 4488,4503 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4494: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4497: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4500: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_speed_t=yes
  else
***************
*** 5248,5270 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
  echo "${ECHO_T}$emacs_cv_speed_t" >&6
  if test $emacs_cv_speed_t = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_SPEED_T 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for struct timeval" >&5
  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
  if test "${emacs_cv_struct_timeval+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #ifdef TIME_WITH_SYS_TIME
  #include <sys/time.h>
--- 4507,4529 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4510: result: $emacs_cv_speed_t" >&5
  echo "${ECHO_T}$emacs_cv_speed_t" >&6
  if test $emacs_cv_speed_t = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_SPEED_T 1
! EOF
  
  fi
  
! echo "$as_me:4520: checking for struct timeval" >&5
  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
  if test "${emacs_cv_struct_timeval+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4526 "configure"
  #include "confdefs.h"
  #ifdef TIME_WITH_SYS_TIME
  #include <sys/time.h>
***************
*** 5276,5287 ****
  #include <time.h>
  #endif
  #endif
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4535,4540 ----
***************
*** 5291,5306 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_timeval=yes
  else
--- 4544,4559 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4550: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4553: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4556: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_timeval=yes
  else
***************
*** 5310,5341 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
  HAVE_TIMEVAL=$emacs_cv_struct_timeval
  if test $emacs_cv_struct_timeval = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_TIMEVAL 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for struct exception" >&5
  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
  if test "${emacs_cv_struct_exception+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <math.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4563,4588 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4566: result: $emacs_cv_struct_timeval" >&5
  echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
  HAVE_TIMEVAL=$emacs_cv_struct_timeval
  if test $emacs_cv_struct_timeval = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_TIMEVAL 1
! EOF
  
  fi
  
! echo "$as_me:4577: checking for struct exception" >&5
  echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
  if test "${emacs_cv_struct_exception+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4583 "configure"
  #include "confdefs.h"
  #include <math.h>
  int
  main ()
  {
***************
*** 5345,5360 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_exception=yes
  else
--- 4592,4607 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4598: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4601: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4604: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_exception=yes
  else
***************
*** 5364,5397 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
  HAVE_EXCEPTION=$emacs_cv_struct_exception
  if test $emacs_cv_struct_exception != yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define NO_MATHERR 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" 
>&5
  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... 
$ECHO_C" >&6
  if test "${ac_cv_struct_tm+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <time.h>
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4611,4638 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4614: result: $emacs_cv_struct_exception" >&5
  echo "${ECHO_T}$emacs_cv_struct_exception" >&6
  HAVE_EXCEPTION=$emacs_cv_struct_exception
  if test $emacs_cv_struct_exception != yes; then
  
! cat >>confdefs.h <<\EOF
  #define NO_MATHERR 1
! EOF
  
  fi
  
! echo "$as_me:4625: checking whether struct tm is in sys/time.h or time.h" >&5
  echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... 
$ECHO_C" >&6
  if test "${ac_cv_struct_tm+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4631 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <time.h>
  
  int
  main ()
  {
***************
*** 5401,5416 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_struct_tm=time.h
  else
--- 4642,4657 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4645: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4648: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4651: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4654: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_struct_tm=time.h
  else
***************
*** 5420,5453 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
  echo "${ECHO_T}$ac_cv_struct_tm" >&6
  if test $ac_cv_struct_tm = sys/time.h; then
  
! cat >>confdefs.h <<\_ACEOF
  #define TM_IN_SYS_TIME 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <$ac_cv_struct_tm>
  
- 
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4661,4687 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4664: result: $ac_cv_struct_tm" >&5
  echo "${ECHO_T}$ac_cv_struct_tm" >&6
  if test $ac_cv_struct_tm = sys/time.h; then
  
! cat >>confdefs.h <<\EOF
  #define TM_IN_SYS_TIME 1
! EOF
  
  fi
  
! echo "$as_me:4674: checking for struct tm.tm_zone" >&5
  echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
  if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4680 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
  #include <$ac_cv_struct_tm>
  
  int
  main ()
  {
***************
*** 5459,5474 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_tm_tm_zone=yes
  else
--- 4693,4708 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4696: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4699: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4702: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4705: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_tm_tm_zone=yes
  else
***************
*** 5478,5520 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
  if test $ac_cv_member_struct_tm_tm_zone = yes; then
  
! cat >>confdefs.h <<_ACEOF
  #define HAVE_STRUCT_TM_TM_ZONE 1
! _ACEOF
! 
  
  fi
  
  if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_TM_ZONE 1
! _ACEOF
  
  else
!   echo "$as_me:$LINENO: checking for tzname" >&5
  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
  if test "${ac_cv_var_tzname+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <time.h>
  #ifndef tzname /* For SGI.  */
  extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
  #endif
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4712,4747 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4715: result: $ac_cv_member_struct_tm_tm_zone" >&5
  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
  if test $ac_cv_member_struct_tm_tm_zone = yes; then
  
! cat >>confdefs.h <<EOF
  #define HAVE_STRUCT_TM_TM_ZONE 1
! EOF
  
  fi
  
  if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_TM_ZONE 1
! EOF
  
  else
!   echo "$as_me:4732: checking for tzname" >&5
  echo $ECHO_N "checking for tzname... $ECHO_C" >&6
  if test "${ac_cv_var_tzname+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4738 "configure"
  #include "confdefs.h"
  #include <time.h>
  #ifndef tzname /* For SGI.  */
  extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
  #endif
  
  int
  main ()
  {
***************
*** 5524,5539 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_var_tzname=yes
  else
--- 4751,4766 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:4754: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:4757: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:4760: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4763: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_var_tzname=yes
  else
***************
*** 5543,5575 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
  echo "${ECHO_T}$ac_cv_var_tzname" >&6
    if test $ac_cv_var_tzname = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_TZNAME 1
! _ACEOF
  
    fi
  fi
  
! echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <time.h>
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4770,4796 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:4773: result: $ac_cv_var_tzname" >&5
  echo "${ECHO_T}$ac_cv_var_tzname" >&6
    if test $ac_cv_var_tzname = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_TZNAME 1
! EOF
  
    fi
  fi
  
! echo "$as_me:4784: checking for struct tm.tm_gmtoff" >&5
  echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
  if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4790 "configure"
  #include "confdefs.h"
  #include <time.h>
  
  int
  main ()
  {
***************
*** 5581,5596 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_tm_tm_gmtoff=yes
  else
--- 4802,4817 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4808: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4811: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4814: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_tm_tm_gmtoff=yes
  else
***************
*** 5600,5618 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_TM_GMTOFF 1
! _ACEOF
  
  fi
  
! 
! 
! echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  if test "${ac_cv_prog_cc_stdc+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 4821,4837 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4824: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
  echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
  if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_TM_GMTOFF 1
! EOF
  
  fi
  
! echo "$as_me:4834: checking for $CC option to accept ANSI C" >&5
  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  if test "${ac_cv_prog_cc_stdc+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 5620,5626 ****
    ac_cv_prog_cc_stdc=no
  ac_save_CC=$CC
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdarg.h>
  #include <stdio.h>
--- 4839,4845 ----
    ac_cv_prog_cc_stdc=no
  ac_save_CC=$CC
  cat >conftest.$ac_ext <<_ACEOF
! #line 4842 "configure"
  #include "confdefs.h"
  #include <stdarg.h>
  #include <stdio.h>
***************
*** 5650,5661 ****
  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), 
int, int);
  int argc;
  char **argv;
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4869,4874 ----
***************
*** 5675,5690 ****
  do
    CC="$ac_save_CC $ac_arg"
    rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_prog_cc_stdc=$ac_arg
  break
--- 4888,4903 ----
  do
    CC="$ac_save_CC $ac_arg"
    rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4891: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4894: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4897: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4900: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_prog_cc_stdc=$ac_arg
  break
***************
*** 5701,5749 ****
  
  case "x$ac_cv_prog_cc_stdc" in
    x|xno)
!     echo "$as_me:$LINENO: result: none needed" >&5
  echo "${ECHO_T}none needed" >&6 ;;
    *)
!     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
      CC="$CC $ac_cv_prog_cc_stdc" ;;
  esac
  
! echo "$as_me:$LINENO: checking for function prototypes" >&5
  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
  if test "$ac_cv_prog_cc_stdc" != no; then
!   echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
! cat >>confdefs.h <<\_ACEOF
  #define PROTOTYPES 1
! _ACEOF
! 
! 
! cat >>confdefs.h <<\_ACEOF
! #define __PROTOTYPES 1
! _ACEOF
  
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
! echo "$as_me:$LINENO: checking for working volatile" >&5
  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
  if test "${ac_cv_c_volatile+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4914,4951 ----
  
  case "x$ac_cv_prog_cc_stdc" in
    x|xno)
!     echo "$as_me:4917: result: none needed" >&5
  echo "${ECHO_T}none needed" >&6 ;;
    *)
!     echo "$as_me:4920: result: $ac_cv_prog_cc_stdc" >&5
  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
      CC="$CC $ac_cv_prog_cc_stdc" ;;
  esac
  
! echo "$as_me:4925: checking for function prototypes" >&5
  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
  if test "$ac_cv_prog_cc_stdc" != no; then
!   echo "$as_me:4928: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
! cat >>confdefs.h <<\EOF
  #define PROTOTYPES 1
! EOF
  
  else
!   echo "$as_me:4936: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
! echo "$as_me:4940: checking for working volatile" >&5
  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
  if test "${ac_cv_c_volatile+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4946 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 5755,5770 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_volatile=yes
  else
--- 4957,4972 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:4960: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:4963: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:4966: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:4969: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_volatile=yes
  else
***************
*** 5774,5804 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
  echo "${ECHO_T}$ac_cv_c_volatile" >&6
  if test $ac_cv_c_volatile = no; then
  
! cat >>confdefs.h <<\_ACEOF
  #define volatile
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  if test "${ac_cv_c_const+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 4976,5000 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:4979: result: $ac_cv_c_volatile" >&5
  echo "${ECHO_T}$ac_cv_c_volatile" >&6
  if test $ac_cv_c_volatile = no; then
  
! cat >>confdefs.h <<\EOF
  #define volatile
! EOF
  
  fi
  
! echo "$as_me:4989: checking for an ANSI C-conforming const" >&5
  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  if test "${ac_cv_c_const+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 4995 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 5854,5869 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_const=yes
  else
--- 5050,5065 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5053: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:5056: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:5059: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5062: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_const=yes
  else
***************
*** 5873,5903 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  echo "${ECHO_T}$ac_cv_c_const" >&6
  if test $ac_cv_c_const = no; then
  
! cat >>confdefs.h <<\_ACEOF
  #define const
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for void * support" >&5
  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
  if test "${emacs_cv_void_star+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5069,5093 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:5072: result: $ac_cv_c_const" >&5
  echo "${ECHO_T}$ac_cv_c_const" >&6
  if test $ac_cv_c_const = no; then
  
! cat >>confdefs.h <<\EOF
  #define const
! EOF
  
  fi
  
! echo "$as_me:5082: checking for void * support" >&5
  echo $ECHO_N "checking for void * support... $ECHO_C" >&6
  if test "${emacs_cv_void_star+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5088 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 5907,5922 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_void_star=yes
  else
--- 5097,5112 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5100: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:5103: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:5106: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5109: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_void_star=yes
  else
***************
*** 5926,5956 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
  echo "${ECHO_T}$emacs_cv_void_star" >&6
  if test $emacs_cv_void_star = yes; then
!   cat >>confdefs.h <<\_ACEOF
  #define POINTER_TYPE void
! _ACEOF
  
  else
!   cat >>confdefs.h <<\_ACEOF
  #define POINTER_TYPE char
! _ACEOF
  
  fi
  
! 
! echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.make <<\_ACEOF
  all:
        @echo 'ac_maketemp="${MAKE}"'
! _ACEOF
  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  if test -n "$ac_maketemp"; then
--- 5116,5145 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:5119: result: $emacs_cv_void_star" >&5
  echo "${ECHO_T}$emacs_cv_void_star" >&6
  if test $emacs_cv_void_star = yes; then
!   cat >>confdefs.h <<\EOF
  #define POINTER_TYPE void
! EOF
  
  else
!   cat >>confdefs.h <<\EOF
  #define POINTER_TYPE char
! EOF
  
  fi
  
! echo "$as_me:5133: checking whether ${MAKE-make} sets \${MAKE}" >&5
  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.make <<\EOF
  all:
        @echo 'ac_maketemp="${MAKE}"'
! EOF
  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  if test -n "$ac_maketemp"; then
***************
*** 5961,5977 ****
  rm -f conftest.make
  fi
  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
!   echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
    SET_MAKE=
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
    SET_MAKE="MAKE=${MAKE-make}"
  fi
  
! 
! echo "$as_me:$LINENO: checking for long file names" >&5
  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
  if test "${ac_cv_sys_long_file_names+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 5150,5165 ----
  rm -f conftest.make
  fi
  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
!   echo "$as_me:5153: result: yes" >&5
  echo "${ECHO_T}yes" >&6
    SET_MAKE=
  else
!   echo "$as_me:5157: result: no" >&5
  echo "${ECHO_T}no" >&6
    SET_MAKE="MAKE=${MAKE-make}"
  fi
  
! echo "$as_me:5162: checking for long file names" >&5
  echo $ECHO_N "checking for long file names... $ECHO_C" >&6
  if test "${ac_cv_sys_long_file_names+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 6010,6032 ****
    rm -rf $ac_xdir 2>/dev/null
  done
  fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
  if test $ac_cv_sys_long_file_names = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_LONG_FILE_NAMES 1
! _ACEOF
  
  fi
  
- 
  #### Choose a window system.
  
! echo "$as_me:$LINENO: checking for X" >&5
  echo $ECHO_N "checking for X... $ECHO_C" >&6
  
- 
  # Check whether --with-x or --without-x was given.
  if test "${with_x+set}" = set; then
    withval="$with_x"
--- 5198,5218 ----
    rm -rf $ac_xdir 2>/dev/null
  done
  fi
! echo "$as_me:5201: result: $ac_cv_sys_long_file_names" >&5
  echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
  if test $ac_cv_sys_long_file_names = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_LONG_FILE_NAMES 1
! EOF
  
  fi
  
  #### Choose a window system.
  
! echo "$as_me:5213: checking for X" >&5
  echo $ECHO_N "checking for X... $ECHO_C" >&6
  
  # Check whether --with-x or --without-x was given.
  if test "${with_x+set}" = set; then
    withval="$with_x"
***************
*** 6050,6059 ****
  if mkdir conftest.dir; then
    cd conftest.dir
    # Make sure to not put "make" in the Imakefile rules, since we grep it out.
!   cat >Imakefile <<'_ACEOF'
  acfindx:
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; 
ac_im_libdir="${LIBDIR}"'
! _ACEOF
    if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
      # GNU make sometimes prints "make[1]: Entering...", which would confuse 
us.
      eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
--- 5236,5245 ----
  if mkdir conftest.dir; then
    cd conftest.dir
    # Make sure to not put "make" in the Imakefile rules, since we grep it out.
!   cat >Imakefile <<'EOF'
  acfindx:
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; 
ac_im_libdir="${LIBDIR}"'
! EOF
    if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
      # GNU make sometimes prints "make[1]: Entering...", which would confuse 
us.
      eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
***************
*** 6121,6137 ****
    # Guess where to find include files, by looking for Intrinsic.h.
    # First, try using that file with no special directory specified.
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 5307,5323 ----
    # Guess where to find include files, by looking for Intrinsic.h.
    # First, try using that file with no special directory specified.
    cat >conftest.$ac_ext <<_ACEOF
! #line 5310 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  _ACEOF
! if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:5320: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 6164,6178 ****
    ac_save_LIBS=$LIBS
    LIBS="-lXt $LIBS"
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5350,5358 ----
    ac_save_LIBS=$LIBS
    LIBS="-lXt $LIBS"
    cat >conftest.$ac_ext <<_ACEOF
! #line 5353 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  int
  main ()
  {
***************
*** 6182,6197 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    LIBS=$ac_save_LIBS
  # We can link X programs with no special library path.
--- 5362,5377 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5365: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:5368: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:5371: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5374: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    LIBS=$ac_save_LIBS
  # We can link X programs with no special library path.
***************
*** 6229,6235 ****
  fi # $with_x != no
  
  if test "$have_x" != yes; then
!   echo "$as_me:$LINENO: result: $have_x" >&5
  echo "${ECHO_T}$have_x" >&6
    no_x=yes
  else
--- 5409,5415 ----
  fi # $with_x != no
  
  if test "$have_x" != yes; then
!   echo "$as_me:5412: result: $have_x" >&5
  echo "${ECHO_T}$have_x" >&6
    no_x=yes
  else
***************
*** 6239,6245 ****
    # Update the cache value to reflect the command line values.
    ac_cv_have_x="have_x=yes \
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
!   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" 
>&5
  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
  fi
  
--- 5419,5425 ----
    # Update the cache value to reflect the command line values.
    ac_cv_have_x="have_x=yes \
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
!   echo "$as_me:5422: result: libraries $x_libraries, headers $x_includes" >&5
  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
  fi
  
***************
*** 6337,6349 ****
  # Assume not, until told otherwise.
  GNU_MALLOC=yes
  doug_lea_malloc=yes
! echo "$as_me:$LINENO: checking for malloc_get_state" >&5
  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
  if test "${ac_cv_func_malloc_get_state+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char malloc_get_state (); below.  */
--- 5517,5529 ----
  # Assume not, until told otherwise.
  GNU_MALLOC=yes
  doug_lea_malloc=yes
! echo "$as_me:5520: checking for malloc_get_state" >&5
  echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
  if test "${ac_cv_func_malloc_get_state+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5526 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char malloc_get_state (); below.  */
***************
*** 6357,6368 ****
  char malloc_get_state ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5537,5542 ----
***************
*** 6380,6395 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_malloc_get_state=yes
  else
--- 5554,5569 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5557: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:5560: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:5563: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5566: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_malloc_get_state=yes
  else
***************
*** 6399,6405 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
  if test $ac_cv_func_malloc_get_state = yes; then
    :
--- 5573,5579 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:5576: result: $ac_cv_func_malloc_get_state" >&5
  echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
  if test $ac_cv_func_malloc_get_state = yes; then
    :
***************
*** 6407,6419 ****
    doug_lea_malloc=no
  fi
  
! echo "$as_me:$LINENO: checking for malloc_set_state" >&5
  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
  if test "${ac_cv_func_malloc_set_state+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char malloc_set_state (); below.  */
--- 5581,5593 ----
    doug_lea_malloc=no
  fi
  
! echo "$as_me:5584: checking for malloc_set_state" >&5
  echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
  if test "${ac_cv_func_malloc_set_state+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5590 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char malloc_set_state (); below.  */
***************
*** 6427,6438 ****
  char malloc_set_state ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5601,5606 ----
***************
*** 6450,6465 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_malloc_set_state=yes
  else
--- 5618,5633 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5621: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:5624: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:5627: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5630: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_malloc_set_state=yes
  else
***************
*** 6469,6475 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
  if test $ac_cv_func_malloc_set_state = yes; then
    :
--- 5637,5643 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:5640: result: $ac_cv_func_malloc_set_state" >&5
  echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
  if test $ac_cv_func_malloc_set_state = yes; then
    :
***************
*** 6477,6497 ****
    doug_lea_malloc=no
  fi
  
! echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  extern void (* __after_morecore_hook)();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5645,5659 ----
    doug_lea_malloc=no
  fi
  
! echo "$as_me:5648: checking whether __after_morecore_hook exists" >&5
  echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
  if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5654 "configure"
  #include "confdefs.h"
  extern void (* __after_morecore_hook)();
  int
  main ()
  {
***************
*** 6501,6516 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_var___after_morecore_hook=yes
  else
--- 5663,5678 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5666: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:5669: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:5672: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5675: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_var___after_morecore_hook=yes
  else
***************
*** 6520,6526 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
  if test $emacs_cv_var___after_morecore_hook = no; then
    doug_lea_malloc=no
--- 5682,5688 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:5685: result: $emacs_cv_var___after_morecore_hook" >&5
  echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
  if test $emacs_cv_var___after_morecore_hook = no; then
    doug_lea_malloc=no
***************
*** 6536,6544 ****
        (Using Doug Lea's new malloc from the GNU C Library.)"
    fi
  
! cat >>confdefs.h <<\_ACEOF
  #define DOUG_LEA_MALLOC 1
! _ACEOF
  
  fi
  
--- 5698,5706 ----
        (Using Doug Lea's new malloc from the GNU C Library.)"
    fi
  
! cat >>confdefs.h <<\EOF
  #define DOUG_LEA_MALLOC 1
! EOF
  
  fi
  
***************
*** 6546,6612 ****
    REL_ALLOC=${GNU_MALLOC}
  fi
  
  
! 
! 
! for ac_header in stdlib.h unistd.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  $ac_includes_default
  #include <$ac_header>
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
!   ac_header_compiler=yes
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! ac_header_compiler=no
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
  
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 5708,5780 ----
    REL_ALLOC=${GNU_MALLOC}
  fi
  
+ # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  
! for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
!                   inttypes.h stdint.h unistd.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:5717: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 5723 "configure"
  #include "confdefs.h"
  $ac_includes_default
  #include <$ac_header>
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:5729: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:5732: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:5735: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5738: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:5748: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
! fi
! done
! 
! for ac_header in stdlib.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:5761: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 5767 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:5771: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:5777: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 6617,6678 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
- 
  for ac_func in getpagesize
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 5785,5818 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:5796: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_func in getpagesize
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:5809: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5815 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 6686,6697 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 5826,5831 ----
***************
*** 6709,6724 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 5843,5858 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:5846: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:5849: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:5852: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:5855: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 6728,6744 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
! echo "$as_me:$LINENO: checking for working mmap" >&5
  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 5862,5878 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:5865: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
! echo "$as_me:5875: checking for working mmap" >&5
  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 6747,6758 ****
    ac_cv_func_mmap_fixed_mapped=no
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  $ac_includes_default
- /* malloc might have been renamed as rpl_malloc. */
- #undef malloc
- 
  /* Thanks to Mike Haertel and Jim Avera for this test.
     Here is a matrix of mmap possibilities:
        mmap private not fixed
--- 5881,5889 ----
    ac_cv_func_mmap_fixed_mapped=no
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 5884 "configure"
  #include "confdefs.h"
  $ac_includes_default
  /* Thanks to Mike Haertel and Jim Avera for this test.
     Here is a matrix of mmap possibilities:
        mmap private not fixed
***************
*** 6768,6774 ****
     VM page cache was not coherent with the file system buffer cache
     like early versions of FreeBSD and possibly contemporary NetBSD.)
     For shared mappings, we should conversely verify that changes get
!    propagated back to all the places they're supposed to be.
  
     Grep wants private fixed already mapped.
     The main things grep needs to know about mmap are:
--- 5899,5905 ----
     VM page cache was not coherent with the file system buffer cache
     like early versions of FreeBSD and possibly contemporary NetBSD.)
     For shared mappings, we should conversely verify that changes get
!    propogated back to all the places they're supposed to be.
  
     Grep wants private fixed already mapped.
     The main things grep needs to know about mmap are:
***************
*** 6877,6910 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_mmap_fixed_mapped=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_func_mmap_fixed_mapped=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
  if test $ac_cv_func_mmap_fixed_mapped = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_MMAP 1
! _ACEOF
  
  fi
  rm -f conftest.mmap
--- 6008,6040 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:6011: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6014: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:6016: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6019: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_mmap_fixed_mapped=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_func_mmap_fixed_mapped=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:6031: result: $ac_cv_func_mmap_fixed_mapped" >&5
  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
  if test $ac_cv_func_mmap_fixed_mapped = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_MMAP 1
! EOF
  
  fi
  rm -f conftest.mmap
***************
*** 6915,6922 ****
  
  LIBS="$libsrc_libs $LIBS"
  
! 
! echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6045,6051 ----
  
  LIBS="$libsrc_libs $LIBS"
  
! echo "$as_me:6048: checking for dnet_ntoa in -ldnet" >&5
  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 6924,6930 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldnet  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6053,6059 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldnet  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6056 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 6934,6945 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char dnet_ntoa ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6063,6068 ----
***************
*** 6949,6964 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_dnet_dnet_ntoa=yes
  else
--- 6072,6087 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6075: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6078: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6081: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6084: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_dnet_dnet_ntoa=yes
  else
***************
*** 6969,6987 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBDNET 1
! _ACEOF
  
    LIBS="-ldnet $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6092,6109 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
  if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBDNET 1
! EOF
  
    LIBS="-ldnet $LIBS"
  
  fi
  
! echo "$as_me:6106: checking for main in -lXbsd" >&5
  echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
  if test "${ac_cv_lib_Xbsd_main+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 6989,7004 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXbsd  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- 
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6111,6119 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXbsd  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6114 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 7008,7023 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xbsd_main=yes
  else
--- 6123,6138 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6126: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6129: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6132: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6135: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xbsd_main=yes
  else
***************
*** 7028,7042 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
  if test $ac_cv_lib_Xbsd_main = yes; then
    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
  fi
  
! 
! 
! echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6143,6155 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6146: result: $ac_cv_lib_Xbsd_main" >&5
  echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
  if test $ac_cv_lib_Xbsd_main = yes; then
    LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
  fi
  
! echo "$as_me:6152: checking for cma_open in -lpthreads" >&5
  echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
  if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 7044,7050 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lpthreads  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6157,6163 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lpthreads  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6160 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 7054,7065 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char cma_open ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6167,6172 ----
***************
*** 7069,7084 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_pthreads_cma_open=yes
  else
--- 6176,6191 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6179: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6182: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6185: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6188: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_pthreads_cma_open=yes
  else
***************
*** 7089,7107 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
  if test $ac_cv_lib_pthreads_cma_open = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBPTHREADS 1
! _ACEOF
  
    LIBS="-lpthreads $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
  if test -d /usr/X386/include; then
    HAVE_XFREE386=yes
--- 6196,6213 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6199: result: $ac_cv_lib_pthreads_cma_open" >&5
  echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
  if test $ac_cv_lib_pthreads_cma_open = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBPTHREADS 1
! EOF
  
    LIBS="-lpthreads $LIBS"
  
  fi
  
! echo "$as_me:6210: checking for XFree86 in /usr/X386" >&5
  echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
  if test -d /usr/X386/include; then
    HAVE_XFREE386=yes
***************
*** 7109,7115 ****
  else
    HAVE_XFREE386=no
  fi
! echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
  echo "${ECHO_T}$HAVE_XFREE386" >&6
  
  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
--- 6215,6221 ----
  else
    HAVE_XFREE386=no
  fi
! echo "$as_me:6218: result: $HAVE_XFREE386" >&5
  echo "${ECHO_T}$HAVE_XFREE386" >&6
  
  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
***************
*** 7134,7151 ****
    fi
  
    if test "${opsys}" = "gnu-linux"; then
!     echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" 
>&5
  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
      cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6240,6251 ----
    fi
  
    if test "${opsys}" = "gnu-linux"; then
!     echo "$as_me:6243: checking whether X on GNU/Linux needs -b to link" >&5
  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
      cat >conftest.$ac_ext <<_ACEOF
! #line 6246 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 7155,7170 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    xlinux_first_failure=no
  else
--- 6255,6270 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6258: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6261: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6264: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6267: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    xlinux_first_failure=no
  else
***************
*** 7183,7197 ****
        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
        LIBS="$LIBS -b i486-linuxaout"
        cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6283,6291 ----
        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
        LIBS="$LIBS -b i486-linuxaout"
        cat >conftest.$ac_ext <<_ACEOF
! #line 6286 "configure"
  #include "confdefs.h"
  
  int
  main ()
  {
***************
*** 7201,7216 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    xlinux_second_failure=no
  else
--- 6295,6310 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6298: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6301: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6304: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6307: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    xlinux_second_failure=no
  else
***************
*** 7226,7258 ****
        C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
        CPPFLAGS="$OLD_CPPFLAGS"
        LIBS="$OLD_LIBS"
!         echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
        else
!         echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
        fi
      else
!       echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
      fi
    fi
  
    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
    # header files included from there.
!   echo "$as_me:$LINENO: checking for Xkb" >&5
  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
  #include <X11/XKBlib.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6320,6346 ----
        C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
        CPPFLAGS="$OLD_CPPFLAGS"
        LIBS="$OLD_LIBS"
!         echo "$as_me:6323: result: no" >&5
  echo "${ECHO_T}no" >&6
        else
!         echo "$as_me:6326: result: yes" >&5
  echo "${ECHO_T}yes" >&6
        fi
      else
!       echo "$as_me:6330: result: no" >&5
  echo "${ECHO_T}no" >&6
      fi
    fi
  
    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
    # header files included from there.
!   echo "$as_me:6337: checking for Xkb" >&5
  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
    cat >conftest.$ac_ext <<_ACEOF
! #line 6340 "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
  #include <X11/XKBlib.h>
  int
  main ()
  {
***************
*** 7262,7277 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_xkb=yes
  else
--- 6350,6365 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6353: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6356: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6359: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6362: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_xkb=yes
  else
***************
*** 7280,7310 ****
  emacs_xkb=no
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
!   echo "$as_me:$LINENO: result: $emacs_xkb" >&5
  echo "${ECHO_T}$emacs_xkb" >&6
    if test $emacs_xkb = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_XKBGETKEYBOARD 1
! _ACEOF
  
    fi
  
- 
- 
- 
- 
  for ac_func in XrmSetDatabase XScreenResourceString \
  XScreenNumberOfScreen XSetWMProtocols
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 6368,6394 ----
  emacs_xkb=no
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
!   echo "$as_me:6371: result: $emacs_xkb" >&5
  echo "${ECHO_T}$emacs_xkb" >&6
    if test $emacs_xkb = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_XKBGETKEYBOARD 1
! EOF
  
    fi
  
  for ac_func in XrmSetDatabase XScreenResourceString \
  XScreenNumberOfScreen XSetWMProtocols
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:6385: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6391 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 7318,7329 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6402,6407 ----
***************
*** 7341,7356 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 6419,6434 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6422: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6425: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6428: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6431: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 7360,7371 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
--- 6438,6449 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:6441: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
***************
*** 7373,7393 ****
  fi
  
  if test "${window_system}" = "x11"; then
!   echo "$as_me:$LINENO: checking X11 version 6" >&5
  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
    if test "${emacs_cv_x11_version_6+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6451,6465 ----
  fi
  
  if test "${window_system}" = "x11"; then
!   echo "$as_me:6454: checking X11 version 6" >&5
  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
    if test "${emacs_cv_x11_version_6+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6460 "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
  int
  main ()
  {
***************
*** 7400,7415 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_6=yes
  else
--- 6472,6487 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6475: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6478: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6481: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6484: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_6=yes
  else
***************
*** 7421,7455 ****
  fi
  
    if test $emacs_cv_x11_version_6 = yes; then
!     echo "$as_me:$LINENO: result: 6 or newer" >&5
  echo "${ECHO_T}6 or newer" >&6
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X11R6 1
! _ACEOF
  
    else
!     echo "$as_me:$LINENO: result: before 6" >&5
  echo "${ECHO_T}before 6" >&6
    fi
  fi
  
  if test "${window_system}" = "x11"; then
!   echo "$as_me:$LINENO: checking X11 version 5" >&5
  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
    if test "${emacs_cv_x11_version_5+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6493,6521 ----
  fi
  
    if test $emacs_cv_x11_version_6 = yes; then
!     echo "$as_me:6496: result: 6 or newer" >&5
  echo "${ECHO_T}6 or newer" >&6
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X11R6 1
! EOF
  
    else
!     echo "$as_me:6504: result: before 6" >&5
  echo "${ECHO_T}before 6" >&6
    fi
  fi
  
  if test "${window_system}" = "x11"; then
!   echo "$as_me:6510: checking X11 version 5" >&5
  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
    if test "${emacs_cv_x11_version_5+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6516 "configure"
  #include "confdefs.h"
  #include <X11/Xlib.h>
  int
  main ()
  {
***************
*** 7462,7477 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_5=yes
  else
--- 6528,6543 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6531: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6534: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6537: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6540: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_5=yes
  else
***************
*** 7483,7522 ****
  fi
  
    if test $emacs_cv_x11_version_5 = yes; then
!     echo "$as_me:$LINENO: result: 5 or newer" >&5
  echo "${ECHO_T}5 or newer" >&6
      HAVE_X11R5=yes
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X11R5 1
! _ACEOF
  
    else
      HAVE_X11R5=no
!     echo "$as_me:$LINENO: result: before 5" >&5
  echo "${ECHO_T}before 5" >&6
    fi
  fi
  
  if test x"${USE_X_TOOLKIT}" = xmaybe; then
    if test x"${HAVE_X11R5}" = xyes; then
!     echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  #include <X11/Intrinsic.h>
  #include <X11/Xaw/Simple.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6549,6582 ----
  fi
  
    if test $emacs_cv_x11_version_5 = yes; then
!     echo "$as_me:6552: result: 5 or newer" >&5
  echo "${ECHO_T}5 or newer" >&6
      HAVE_X11R5=yes
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X11R5 1
! EOF
  
    else
      HAVE_X11R5=no
!     echo "$as_me:6562: result: before 5" >&5
  echo "${ECHO_T}before 5" >&6
    fi
  fi
  
  if test x"${USE_X_TOOLKIT}" = xmaybe; then
    if test x"${HAVE_X11R5}" = xyes; then
!     echo "$as_me:6569: checking X11 version 5 with Xaw" >&5
  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6575 "configure"
  #include "confdefs.h"
  
  #include <X11/Intrinsic.h>
  #include <X11/Xaw/Simple.h>
  int
  main ()
  {
***************
*** 7526,7541 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_5_with_xaw=yes
  else
--- 6586,6601 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6589: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6592: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6595: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6598: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_version_5_with_xaw=yes
  else
***************
*** 7547,7557 ****
  fi
  
      if test $emacs_cv_x11_version_5_with_xaw = yes; then
!       echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by 
default" >&5
  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
        USE_X_TOOLKIT=LUCID
      else
!       echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by 
default" >&5
  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
        USE_X_TOOLKIT=none
      fi
--- 6607,6617 ----
  fi
  
      if test $emacs_cv_x11_version_5_with_xaw = yes; then
!       echo "$as_me:6610: result: 5 or newer, with Xaw; use toolkit by 
default" >&5
  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
        USE_X_TOOLKIT=LUCID
      else
!       echo "$as_me:6614: result: before 5 or no Xaw; do not use toolkit by 
default" >&5
  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
        USE_X_TOOLKIT=none
      fi
***************
*** 7563,7583 ****
  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
  
  if test "${USE_X_TOOLKIT}" != "none"; then
!   echo "$as_me:$LINENO: checking X11 toolkit version" >&5
  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6623,6637 ----
  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
  
  if test "${USE_X_TOOLKIT}" != "none"; then
!   echo "$as_me:6626: checking X11 toolkit version" >&5
  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6632 "configure"
  #include "confdefs.h"
  #include <X11/Intrinsic.h>
  int
  main ()
  {
***************
*** 7590,7605 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_toolkit_version_6=yes
  else
--- 6644,6659 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6647: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6650: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6653: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6656: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_x11_toolkit_version_6=yes
  else
***************
*** 7612,7626 ****
  
    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
    if test $emacs_cv_x11_toolkit_version_6 = yes; then
!     echo "$as_me:$LINENO: result: 6 or newer" >&5
  echo "${ECHO_T}6 or newer" >&6
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X11XTR6 1
! _ACEOF
  
    else
!     echo "$as_me:$LINENO: result: before 6" >&5
  echo "${ECHO_T}before 6" >&6
    fi
  
--- 6666,6680 ----
  
    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
    if test $emacs_cv_x11_toolkit_version_6 = yes; then
!     echo "$as_me:6669: result: 6 or newer" >&5
  echo "${ECHO_T}6 or newer" >&6
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X11XTR6 1
! EOF
  
    else
!     echo "$as_me:6677: result: before 6" >&5
  echo "${ECHO_T}before 6" >&6
    fi
  
***************
*** 7631,7637 ****
      LIBS="-lXt $LIBS"
    fi
  
! echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" 
>&6
  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6685,6691 ----
      LIBS="-lXt $LIBS"
    fi
  
! echo "$as_me:6688: checking for XmuConvertStandardSelection in -lXmu" >&5
  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" 
>&6
  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 7639,7645 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXmu  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6693,6699 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXmu  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6696 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 7649,7660 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char XmuConvertStandardSelection ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6703,6708 ----
***************
*** 7664,7679 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
  else
--- 6712,6727 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6715: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6718: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6721: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6724: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
  else
***************
*** 7684,7695 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBXMU 1
! _ACEOF
  
    LIBS="-lXmu $LIBS"
  
--- 6732,6743 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6735: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBXMU 1
! EOF
  
    LIBS="-lXmu $LIBS"
  
***************
*** 7702,7708 ****
  if test "${HAVE_X11}" = "yes"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
  
! echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6750,6756 ----
  if test "${HAVE_X11}" = "yes"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
  
! echo "$as_me:6753: checking for XShapeQueryExtension in -lXext" >&5
  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 7710,7716 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXext  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6758,6764 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXext  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6761 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 7720,7731 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char XShapeQueryExtension ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6768,6773 ----
***************
*** 7735,7750 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xext_XShapeQueryExtension=yes
  else
--- 6777,6792 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6780: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6783: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6786: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6789: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xext_XShapeQueryExtension=yes
  else
***************
*** 7755,7766 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBXEXT 1
! _ACEOF
  
    LIBS="-lXext $LIBS"
  
--- 6797,6808 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6800: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBXEXT 1
! EOF
  
    LIBS="-lXext $LIBS"
  
***************
*** 7770,7790 ****
  fi
  
  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
!   echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
  if test "${emacs_cv_motif_version_2_1+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <Xm/Xm.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6812,6826 ----
  fi
  
  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
!   echo "$as_me:6815: checking for Motif version 2.1" >&5
  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
  if test "${emacs_cv_motif_version_2_1+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 6821 "configure"
  #include "confdefs.h"
  #include <Xm/Xm.h>
  int
  main ()
  {
***************
*** 7798,7813 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_motif_version_2_1=yes
  else
--- 6834,6849 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:6837: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:6840: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:6843: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6846: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_motif_version_2_1=yes
  else
***************
*** 7817,7833 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
    if test $emacs_cv_motif_version_2_1 = yes; then
      HAVE_LIBXP=no
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_MOTIF_2_1 1
! _ACEOF
  
!     echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6853,6869 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:6856: result: $emacs_cv_motif_version_2_1" >&5
  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
    if test $emacs_cv_motif_version_2_1 = yes; then
      HAVE_LIBXP=no
  
! cat >>confdefs.h <<\EOF
  #define HAVE_MOTIF_2_1 1
! EOF
  
!     echo "$as_me:6866: checking for XpCreateContext in -lXp" >&5
  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 7835,7841 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXp  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6871,6877 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXp  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6874 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 7845,7856 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char XpCreateContext ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6881,6886 ----
***************
*** 7860,7875 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xp_XpCreateContext=yes
  else
--- 6890,6905 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6893: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:6896: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:6899: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:6902: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xp_XpCreateContext=yes
  else
***************
*** 7880,7886 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
    HAVE_LIBXP=yes
--- 6910,6916 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:6913: result: $ac_cv_lib_Xp_XpCreateContext" >&5
  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
    HAVE_LIBXP=yes
***************
*** 7888,7896 ****
  
      if test ${HAVE_LIBXP} = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_LIBXP 1
! _ACEOF
  
      fi
    fi
--- 6918,6926 ----
  
      if test ${HAVE_LIBXP} = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_LIBXP 1
! EOF
  
      fi
    fi
***************
*** 7900,7960 ****
  HAVE_XAW3D=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
!     if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
- echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
- echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <X11/Xaw3d/Scrollbar.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5
! echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/Xaw3d/Scrollbar.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 6930,6952 ----
  HAVE_XAW3D=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
!     echo "$as_me:6933: checking for X11/Xaw3d/Scrollbar.h" >&5
  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 6939 "configure"
  #include "confdefs.h"
  #include <X11/Xaw3d/Scrollbar.h>
  _ACEOF
! if { (eval echo "$as_me:6943: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:6949: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 7965,8008 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, 
rejected by the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with 
the preprocessor's result" >&5
- echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the 
preprocessor's result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but 
cannot be compiled" >&5
- echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with 
the preprocessor's result" >&5
- echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the 
preprocessor's result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
- echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
- if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
- 
- fi
  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
!   echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 6957,6974 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_X11_Xaw3d_Scrollbar_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:6968: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
!   echo "$as_me:6971: checking for XawScrollbarSetThumb in -lXaw3d" >&5
  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8010,8016 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXaw3d  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 6976,6982 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXaw3d  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 6979 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8020,8031 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char XawScrollbarSetThumb ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 6986,6991 ----
***************
*** 8035,8050 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
  else
--- 6995,7010 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:6998: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7001: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7004: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7007: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
  else
***************
*** 8055,8061 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
    HAVE_XAW3D=yes
--- 7015,7021 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7018: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
    HAVE_XAW3D=yes
***************
*** 8063,8107 ****
  
  fi
  
- 
      if test "${HAVE_XAW3D}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_XAW3D 1
! _ACEOF
  
      fi
    fi
  fi
  
- 
- 
  USE_TOOLKIT_SCROLL_BARS=no
  if test "${with_toolkit_scroll_bars}" != "no"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
      if test "${USE_X_TOOLKIT}" = "MOTIF"; then
!       cat >>confdefs.h <<\_ACEOF
  #define USE_TOOLKIT_SCROLL_BARS 1
! _ACEOF
  
        HAVE_XAW3D=no
        USE_TOOLKIT_SCROLL_BARS=yes
      elif test "${HAVE_XAW3D}" = "yes"; then
!       cat >>confdefs.h <<\_ACEOF
  #define USE_TOOLKIT_SCROLL_BARS 1
! _ACEOF
  
        USE_TOOLKIT_SCROLL_BARS=yes
      fi
    fi
  fi
  
- 
  if test "${with_xim}" != "no"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define USE_XIM 1
! _ACEOF
  
  fi
  
--- 7023,7063 ----
  
  fi
  
      if test "${HAVE_XAW3D}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_XAW3D 1
! EOF
  
      fi
    fi
  fi
  
  USE_TOOLKIT_SCROLL_BARS=no
  if test "${with_toolkit_scroll_bars}" != "no"; then
    if test "${USE_X_TOOLKIT}" != "none"; then
      if test "${USE_X_TOOLKIT}" = "MOTIF"; then
!       cat >>confdefs.h <<\EOF
  #define USE_TOOLKIT_SCROLL_BARS 1
! EOF
  
        HAVE_XAW3D=no
        USE_TOOLKIT_SCROLL_BARS=yes
      elif test "${HAVE_XAW3D}" = "yes"; then
!       cat >>confdefs.h <<\EOF
  #define USE_TOOLKIT_SCROLL_BARS 1
! EOF
  
        USE_TOOLKIT_SCROLL_BARS=yes
      fi
    fi
  fi
  
  if test "${with_xim}" != "no"; then
  
! cat >>confdefs.h <<\EOF
  #define USE_XIM 1
! EOF
  
  fi
  
***************
*** 8109,8169 ****
  HAVE_XPM=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_xpm}" != "no"; then
!     if test "${ac_cv_header_X11_xpm_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
- echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
- echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <X11/xpm.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
! echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/xpm.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7065,7087 ----
  HAVE_XPM=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_xpm}" != "no"; then
!     echo "$as_me:7068: checking for X11/xpm.h" >&5
  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7074 "configure"
  #include "confdefs.h"
  #include <X11/xpm.h>
  _ACEOF
! if { (eval echo "$as_me:7078: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7084: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8174,8217 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
- echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
- if test "${ac_cv_header_X11_xpm_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_X11_xpm_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
- 
- fi
  if test $ac_cv_header_X11_xpm_h = yes; then
!   echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7092,7109 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_X11_xpm_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_X11_xpm_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7103: result: $ac_cv_header_X11_xpm_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
  if test $ac_cv_header_X11_xpm_h = yes; then
!   echo "$as_me:7106: checking for XpmReadFileToPixmap in -lXpm" >&5
  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8219,8225 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXpm -lX11 $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7111,7117 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lXpm -lX11 $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7114 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8229,8240 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char XpmReadFileToPixmap ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7121,7126 ----
***************
*** 8244,8259 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
  else
--- 7130,7145 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7133: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7136: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7139: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7142: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
  else
***************
*** 8264,8270 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
    HAVE_XPM=yes
--- 7150,7156 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7153: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
    HAVE_XPM=yes
***************
*** 8272,8283 ****
  
  fi
  
- 
      if test "${HAVE_XPM}" = "yes"; then
!       echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor 
define" >&5
  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... 
$ECHO_C" >&6
        cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include "X11/xpm.h"
  #ifndef XpmReturnAllocPixels
--- 7158,7168 ----
  
  fi
  
      if test "${HAVE_XPM}" = "yes"; then
!       echo "$as_me:7162: checking for XpmReturnAllocPixels preprocessor 
define" >&5
  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... 
$ECHO_C" >&6
        cat >conftest.$ac_ext <<_ACEOF
! #line 7165 "configure"
  #include "confdefs.h"
  #include "X11/xpm.h"
  #ifndef XpmReturnAllocPixels
***************
*** 8293,8304 ****
  fi
  rm -f conftest*
  
- 
        if test "${HAVE_XPM}" = "yes"; then
!       echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
        else
!       echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
        fi
      fi
--- 7178,7188 ----
  fi
  rm -f conftest*
  
        if test "${HAVE_XPM}" = "yes"; then
!       echo "$as_me:7182: result: yes" >&5
  echo "${ECHO_T}yes" >&6
        else
!       echo "$as_me:7185: result: no" >&5
  echo "${ECHO_T}no" >&6
        fi
      fi
***************
*** 8306,8314 ****
  
    if test "${HAVE_XPM}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_XPM 1
! _ACEOF
  
    fi
  fi
--- 7190,7198 ----
  
    if test "${HAVE_XPM}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_XPM 1
! EOF
  
    fi
  fi
***************
*** 8317,8377 ****
  HAVE_JPEG=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_jpeg}" != "no"; then
!             if test "${ac_cv_header_jerror_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for jerror.h" >&5
  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
  if test "${ac_cv_header_jerror_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
- echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking jerror.h usability" >&5
- echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <jerror.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking jerror.h presence" >&5
! echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <jerror.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7201,7223 ----
  HAVE_JPEG=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_jpeg}" != "no"; then
!             echo "$as_me:7204: checking for jerror.h" >&5
  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
  if test "${ac_cv_header_jerror_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7210 "configure"
  #include "confdefs.h"
  #include <jerror.h>
  _ACEOF
! if { (eval echo "$as_me:7214: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7220: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8382,8425 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite 
headers?" >&5
- echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for jerror.h" >&5
- echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
- if test "${ac_cv_header_jerror_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_jerror_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
- 
- fi
  if test $ac_cv_header_jerror_h = yes; then
!   echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7228,7245 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_jerror_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_jerror_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7239: result: $ac_cv_header_jerror_h" >&5
  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
  if test $ac_cv_header_jerror_h = yes; then
!   echo "$as_me:7242: checking for jpeg_destroy_compress in -ljpeg" >&5
  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8427,8433 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ljpeg  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7247,7253 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ljpeg  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7250 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8437,8448 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char jpeg_destroy_compress ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7257,7262 ----
***************
*** 8452,8467 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
  else
--- 7266,7281 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7269: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7272: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7275: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7278: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
  else
***************
*** 8472,8478 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
    HAVE_JPEG=yes
--- 7286,7292 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7289: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
    HAVE_JPEG=yes
***************
*** 8480,8496 ****
  
  fi
  
- 
    fi
  
- 
    if test "${HAVE_JPEG}" = "yes"; then
!     cat >>confdefs.h <<\_ACEOF
  #define HAVE_JPEG 1
! _ACEOF
  
      cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
          #include <jpeglib.h>
         version=JPEG_LIB_VERSION
--- 7294,7308 ----
  
  fi
  
    fi
  
    if test "${HAVE_JPEG}" = "yes"; then
!     cat >>confdefs.h <<\EOF
  #define HAVE_JPEG 1
! EOF
  
      cat >conftest.$ac_ext <<_ACEOF
! #line 7305 "configure"
  #include "confdefs.h"
          #include <jpeglib.h>
         version=JPEG_LIB_VERSION
***************
*** 8498,8509 ****
  _ACEOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
!   cat >>confdefs.h <<\_ACEOF
  #define HAVE_JPEG 1
! _ACEOF
  
  else
!   { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or 
later" >&5
  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
          HAVE_JPEG=no
  fi
--- 7310,7321 ----
  _ACEOF
  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
!   cat >>confdefs.h <<\EOF
  #define HAVE_JPEG 1
! EOF
  
  else
!   { echo "$as_me:7318: WARNING: libjpeg found, but not version 6b or later" 
>&5
  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
          HAVE_JPEG=no
  fi
***************
*** 8516,8576 ****
  HAVE_PNG=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_png}" != "no"; then
!     if test "${ac_cv_header_png_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for png.h" >&5
  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
  if test "${ac_cv_header_png_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
- echo "${ECHO_T}$ac_cv_header_png_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking png.h usability" >&5
- echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <png.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking png.h presence" >&5
! echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <png.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7328,7350 ----
  HAVE_PNG=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_png}" != "no"; then
!     echo "$as_me:7331: checking for png.h" >&5
  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
  if test "${ac_cv_header_png_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7337 "configure"
  #include "confdefs.h"
  #include <png.h>
  _ACEOF
! if { (eval echo "$as_me:7341: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7347: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8581,8624 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" 
>&5
- echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite 
headers?" >&5
- echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for png.h" >&5
- echo $ECHO_N "checking for png.h... $ECHO_C" >&6
- if test "${ac_cv_header_png_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_png_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
  echo "${ECHO_T}$ac_cv_header_png_h" >&6
- 
- fi
  if test $ac_cv_header_png_h = yes; then
!   echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7355,7372 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_png_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_png_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7366: result: $ac_cv_header_png_h" >&5
  echo "${ECHO_T}$ac_cv_header_png_h" >&6
  if test $ac_cv_header_png_h = yes; then
!   echo "$as_me:7369: checking for png_get_channels in -lpng" >&5
  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8626,8632 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lpng -lz -lm $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7374,7380 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lpng -lz -lm $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7377 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8636,8647 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char png_get_channels ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7384,7389 ----
***************
*** 8651,8666 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_png_png_get_channels=yes
  else
--- 7393,7408 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7396: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7399: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7402: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7405: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_png_png_get_channels=yes
  else
***************
*** 8671,8677 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
  if test $ac_cv_lib_png_png_get_channels = yes; then
    HAVE_PNG=yes
--- 7413,7419 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7416: result: $ac_cv_lib_png_png_get_channels" >&5
  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
  if test $ac_cv_lib_png_png_get_channels = yes; then
    HAVE_PNG=yes
***************
*** 8679,8692 ****
  
  fi
  
- 
    fi
  
    if test "${HAVE_PNG}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_PNG 1
! _ACEOF
  
    fi
  fi
--- 7421,7433 ----
  
  fi
  
    fi
  
    if test "${HAVE_PNG}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_PNG 1
! EOF
  
    fi
  fi
***************
*** 8695,8755 ****
  HAVE_TIFF=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_tiff}" != "no"; then
!     if test "${ac_cv_header_tiffio_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for tiffio.h" >&5
  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
  if test "${ac_cv_header_tiffio_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
- echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
  else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking tiffio.h usability" >&5
! echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <tiffio.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
!   (eval $ac_compile) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); } &&
!          { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
!   (eval $ac_try) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); }; }; then
!   ac_header_compiler=yes
! else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking tiffio.h presence" >&5
! echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <tiffio.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7436,7458 ----
  HAVE_TIFF=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_tiff}" != "no"; then
!     echo "$as_me:7439: checking for tiffio.h" >&5
  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
  if test "${ac_cv_header_tiffio_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7445 "configure"
  #include "confdefs.h"
  #include <tiffio.h>
  _ACEOF
! if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7455: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8760,8806 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite 
headers?" >&5
- echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for tiffio.h" >&5
- echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
- if test "${ac_cv_header_tiffio_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_tiffio_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
- 
- fi
  if test $ac_cv_header_tiffio_h = yes; then
    tifflibs="-lz -lm"
        # At least one tiff package requires the jpeg library.
        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
!       echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7463,7483 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_tiffio_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_tiffio_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7474: result: $ac_cv_header_tiffio_h" >&5
  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
  if test $ac_cv_header_tiffio_h = yes; then
    tifflibs="-lz -lm"
        # At least one tiff package requires the jpeg library.
        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
!       echo "$as_me:7480: checking for TIFFGetVersion in -ltiff" >&5
  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8808,8814 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ltiff $tifflibs $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7485,7491 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ltiff $tifflibs $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7488 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8818,8829 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char TIFFGetVersion ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7495,7500 ----
***************
*** 8833,8848 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_tiff_TIFFGetVersion=yes
  else
--- 7504,7519 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7507: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7510: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7513: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7516: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_tiff_TIFFGetVersion=yes
  else
***************
*** 8853,8859 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
    HAVE_TIFF=yes
--- 7524,7530 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7527: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
    HAVE_TIFF=yes
***************
*** 8861,8874 ****
  
  fi
  
- 
    fi
  
    if test "${HAVE_TIFF}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_TIFF 1
! _ACEOF
  
    fi
  fi
--- 7532,7544 ----
  
  fi
  
    fi
  
    if test "${HAVE_TIFF}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_TIFF 1
! EOF
  
    fi
  fi
***************
*** 8877,8937 ****
  HAVE_GIF=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_gif}" != "no"; then
!     if test "${ac_cv_header_gif_lib_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for gif_lib.h" >&5
  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
  if test "${ac_cv_header_gif_lib_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
- echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
- echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <gif_lib.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
! echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <gif_lib.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7547,7569 ----
  HAVE_GIF=no
  if test "${HAVE_X11}" = "yes"; then
    if test "${with_gif}" != "no"; then
!     echo "$as_me:7550: checking for gif_lib.h" >&5
  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
  if test "${ac_cv_header_gif_lib_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7556 "configure"
  #include "confdefs.h"
  #include <gif_lib.h>
  _ACEOF
! if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7566: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 8942,8987 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for gif_lib.h" >&5
- echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
- if test "${ac_cv_header_gif_lib_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_gif_lib_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
- 
- fi
  if test $ac_cv_header_gif_lib_h = yes; then
    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
  # Earlier versions can crash Emacs.
!       echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7574,7593 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_gif_lib_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_gif_lib_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7585: result: $ac_cv_header_gif_lib_h" >&5
  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
  if test $ac_cv_header_gif_lib_h = yes; then
    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
  # Earlier versions can crash Emacs.
!       echo "$as_me:7590: checking for EGifPutExtensionLast in -lungif" >&5
  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 8989,8995 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lungif  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7595,7601 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lungif  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7598 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 8999,9010 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char EGifPutExtensionLast ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7605,7610 ----
***************
*** 9014,9029 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ungif_EGifPutExtensionLast=yes
  else
--- 7614,7629 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7617: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7620: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7623: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7626: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ungif_EGifPutExtensionLast=yes
  else
***************
*** 9034,9040 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
    HAVE_GIF=yes
--- 7634,7640 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7637: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
    HAVE_GIF=yes
***************
*** 9042,9117 ****
  
  fi
  
- 
    fi
  
    if test "${HAVE_GIF}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_GIF 1
! _ACEOF
  
    fi
  fi
  
! ### Use Mac OS X Carbon API to implement GUI.
! HAVE_CARBON=no
! if test "${with_carbon}" != "no"; then
!   if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
! echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
! if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
! echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
! else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
! echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <Carbon/Carbon.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
!   (eval $ac_compile) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); } &&
!          { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
!   (eval $ac_try) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); }; }; then
!   ac_header_compiler=yes
! else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
! echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <Carbon/Carbon.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7642,7678 ----
  
  fi
  
    fi
  
    if test "${HAVE_GIF}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_GIF 1
! EOF
  
    fi
  fi
  
! ### Use Mac OS X Carbon API to implement GUI.
! HAVE_CARBON=no
! if test "${with_carbon}" != "no"; then
!   echo "$as_me:7659: checking for Carbon/Carbon.h" >&5
! echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
! if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7665 "configure"
  #include "confdefs.h"
  #include <Carbon/Carbon.h>
  _ACEOF
! if { (eval echo "$as_me:7669: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7675: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9122,9236 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by 
the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
- echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
- if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
- 
- fi
  if test $ac_cv_header_Carbon_Carbon_h = yes; then
    HAVE_CARBON=yes
  fi
  
- 
  fi
  
  if test "${HAVE_CARBON}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_CARBON 1
! _ACEOF
  
  fi
  
  ### Use session management (-lSM -lICE) if available
  HAVE_X_SM=no
  if test "${HAVE_X11}" = "yes"; then
!   if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
- echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
- echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <X11/SM/SMlib.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
! echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <X11/SM/SMlib.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 7683,7732 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_Carbon_Carbon_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_Carbon_Carbon_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7694: result: $ac_cv_header_Carbon_Carbon_h" >&5
  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
  if test $ac_cv_header_Carbon_Carbon_h = yes; then
    HAVE_CARBON=yes
  fi
  
  fi
  
  if test "${HAVE_CARBON}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_CARBON 1
! EOF
  
  fi
  
  ### Use session management (-lSM -lICE) if available
  HAVE_X_SM=no
  if test "${HAVE_X11}" = "yes"; then
!   echo "$as_me:7713: checking for X11/SM/SMlib.h" >&5
  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 7719 "configure"
  #include "confdefs.h"
  #include <X11/SM/SMlib.h>
  _ACEOF
! if { (eval echo "$as_me:7723: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:7729: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 9241,9284 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by 
the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
- echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
- if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
- 
- fi
  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
!   echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 7737,7754 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_X11_SM_SMlib_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_X11_SM_SMlib_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:7748: result: $ac_cv_header_X11_SM_SMlib_h" >&5
  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
!   echo "$as_me:7751: checking for SmcOpenConnection in -lSM" >&5
  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9286,9292 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lSM  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 7756,7762 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lSM  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 7759 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 9296,9307 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char SmcOpenConnection ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7766,7771 ----
***************
*** 9311,9326 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_SM_SmcOpenConnection=yes
  else
--- 7775,7790 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7778: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7781: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7784: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7787: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_SM_SmcOpenConnection=yes
  else
***************
*** 9331,9337 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
    HAVE_X_SM=yes
--- 7795,7801 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:7798: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
    HAVE_X_SM=yes
***************
*** 9341,9353 ****
  
  fi
  
- 
- 
    if test "${HAVE_X_SM}" = "yes"; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X_SM 1
! _ACEOF
  
      case "$LIBS" in
        *-lSM*) ;;
--- 7805,7815 ----
  
  fi
  
    if test "${HAVE_X_SM}" = "yes"; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X_SM 1
! EOF
  
      case "$LIBS" in
        *-lSM*) ;;
***************
*** 9357,9377 ****
  fi
  
  # If netdb.h doesn't declare h_errno, we must declare it by hand.
! echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <netdb.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7819,7833 ----
  fi
  
  # If netdb.h doesn't declare h_errno, we must declare it by hand.
! echo "$as_me:7822: checking whether netdb declares h_errno" >&5
  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 7828 "configure"
  #include "confdefs.h"
  #include <netdb.h>
  int
  main ()
  {
***************
*** 9381,9396 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_netdb_declares_h_errno=yes
  else
--- 7837,7852 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7840: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7843: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7846: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7849: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_netdb_declares_h_errno=yes
  else
***************
*** 9400,9432 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
  if test $emacs_cv_netdb_declares_h_errno = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_H_ERRNO 1
! _ACEOF
  
  fi
  
  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  # for constant arguments.  Useless!
! echo "$as_me:$LINENO: checking for working alloca.h" >&5
  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
  if test "${ac_cv_working_alloca_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <alloca.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7856,7882 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:7859: result: $emacs_cv_netdb_declares_h_errno" >&5
  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
  if test $emacs_cv_netdb_declares_h_errno = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_H_ERRNO 1
! EOF
  
  fi
  
  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  # for constant arguments.  Useless!
! echo "$as_me:7871: checking for working alloca.h" >&5
  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
  if test "${ac_cv_working_alloca_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 7877 "configure"
  #include "confdefs.h"
  #include <alloca.h>
  int
  main ()
  {
***************
*** 9436,9451 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_working_alloca_h=yes
  else
--- 7886,7901 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7889: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7892: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7895: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7898: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_working_alloca_h=yes
  else
***************
*** 9455,9477 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
  if test $ac_cv_working_alloca_h = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_ALLOCA_H 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking for alloca" >&5
  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
  if test "${ac_cv_func_alloca_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #ifdef __GNUC__
  # define alloca __builtin_alloca
--- 7905,7927 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:7908: result: $ac_cv_working_alloca_h" >&5
  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
  if test $ac_cv_working_alloca_h = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_ALLOCA_H 1
! EOF
  
  fi
  
! echo "$as_me:7918: checking for alloca" >&5
  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
  if test "${ac_cv_func_alloca_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 7924 "configure"
  #include "confdefs.h"
  #ifdef __GNUC__
  # define alloca __builtin_alloca
***************
*** 9494,9505 ****
  # endif
  #endif
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 7944,7949 ----
***************
*** 9509,9524 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_alloca_works=yes
  else
--- 7953,7968 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:7956: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:7959: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:7962: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:7965: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_alloca_works=yes
  else
***************
*** 9528,9541 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
  
  if test $ac_cv_func_alloca_works = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_ALLOCA 1
! _ACEOF
  
  else
    # The SVR3 libPW and SVR4 libucb both contain incompatible functions
--- 7972,7985 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:7975: result: $ac_cv_func_alloca_works" >&5
  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
  
  if test $ac_cv_func_alloca_works = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_ALLOCA 1
! EOF
  
  else
    # The SVR3 libPW and SVR4 libucb both contain incompatible functions
***************
*** 9545,9562 ****
  
  ALLOCA=alloca.$ac_objext
  
! cat >>confdefs.h <<\_ACEOF
  #define C_ALLOCA 1
! _ACEOF
! 
  
! echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
  if test "${ac_cv_os_cray+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #if defined(CRAY) && ! defined(CRAY2)
  webecray
--- 7989,8005 ----
  
  ALLOCA=alloca.$ac_objext
  
! cat >>confdefs.h <<\EOF
  #define C_ALLOCA 1
! EOF
  
! echo "$as_me:7996: checking whether \`alloca.c' needs Cray hooks" >&5
  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
  if test "${ac_cv_os_cray+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8002 "configure"
  #include "confdefs.h"
  #if defined(CRAY) && ! defined(CRAY2)
  webecray
***************
*** 9574,9591 ****
  rm -f conftest*
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
  echo "${ECHO_T}$ac_cv_os_cray" >&6
  if test $ac_cv_os_cray = yes; then
    for ac_func in _getb67 GETB67 getb67; do
      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 8017,8034 ----
  rm -f conftest*
  
  fi
! echo "$as_me:8020: result: $ac_cv_os_cray" >&5
  echo "${ECHO_T}$ac_cv_os_cray" >&6
  if test $ac_cv_os_cray = yes; then
    for ac_func in _getb67 GETB67 getb67; do
      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8025: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8031 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 9599,9610 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8042,8047 ----
***************
*** 9622,9637 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 8059,8074 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8062: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8065: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8068: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8071: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 9641,9653 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
  
! cat >>confdefs.h <<_ACEOF
  #define CRAY_STACKSEG_END $ac_func
! _ACEOF
  
      break
  fi
--- 8078,8090 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:8081: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
  
! cat >>confdefs.h <<EOF
  #define CRAY_STACKSEG_END $ac_func
! EOF
  
      break
  fi
***************
*** 9655,9661 ****
    done
  fi
  
! echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
  if test "${ac_cv_c_stack_direction+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8092,8098 ----
    done
  fi
  
! echo "$as_me:8095: checking stack direction for C alloca" >&5
  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
  if test "${ac_cv_c_stack_direction+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9664,9670 ****
    ac_cv_c_stack_direction=0
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  int
  find_stack_direction ()
--- 8101,8107 ----
    ac_cv_c_stack_direction=0
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8104 "configure"
  #include "confdefs.h"
  int
  find_stack_direction ()
***************
*** 9687,9728 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_stack_direction=1
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_c_stack_direction=-1
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
  
! cat >>confdefs.h <<_ACEOF
  #define STACK_DIRECTION $ac_cv_c_stack_direction
! _ACEOF
! 
  
  fi
  
- 
  # fmod, logb, and frexp are found in -lm on most systems.
  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
  
! echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
  if test "${ac_cv_lib_m_sqrt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8124,8162 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:8127: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8130: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:8132: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8135: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_c_stack_direction=1
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_c_stack_direction=-1
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:8147: result: $ac_cv_c_stack_direction" >&5
  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
  
! cat >>confdefs.h <<EOF
  #define STACK_DIRECTION $ac_cv_c_stack_direction
! EOF
  
  fi
  
  # fmod, logb, and frexp are found in -lm on most systems.
  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
  
! echo "$as_me:8159: checking for sqrt in -lm" >&5
  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
  if test "${ac_cv_lib_m_sqrt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9730,9736 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lm  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 8164,8170 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lm  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 8167 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 9740,9751 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char sqrt ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8174,8179 ----
***************
*** 9755,9770 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_m_sqrt=yes
  else
--- 8183,8198 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8186: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8189: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8192: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8195: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_m_sqrt=yes
  else
***************
*** 9775,9795 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
  if test $ac_cv_lib_m_sqrt = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBM 1
! _ACEOF
  
    LIBS="-lm $LIBS"
  
  fi
  
- 
  # Check for mail-locking functions in a "mail" library
  
! echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
  if test "${ac_cv_lib_mail_maillock+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8203,8222 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:8206: result: $ac_cv_lib_m_sqrt" >&5
  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
  if test $ac_cv_lib_m_sqrt = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBM 1
! EOF
  
    LIBS="-lm $LIBS"
  
  fi
  
  # Check for mail-locking functions in a "mail" library
  
! echo "$as_me:8219: checking for maillock in -lmail" >&5
  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
  if test "${ac_cv_lib_mail_maillock+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9797,9803 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lmail  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 8224,8230 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lmail  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 8227 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 9807,9818 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char maillock ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8234,8239 ----
***************
*** 9822,9837 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_mail_maillock=yes
  else
--- 8243,8258 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8246: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8249: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8252: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8255: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_mail_maillock=yes
  else
***************
*** 9842,9860 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
  if test $ac_cv_lib_mail_maillock = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBMAIL 1
! _ACEOF
  
    LIBS="-lmail $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8263,8280 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:8266: result: $ac_cv_lib_mail_maillock" >&5
  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
  if test $ac_cv_lib_mail_maillock = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBMAIL 1
! EOF
  
    LIBS="-lmail $LIBS"
  
  fi
  
! echo "$as_me:8277: checking for maillock in -llockfile" >&5
  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9862,9868 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-llockfile  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 8282,8288 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-llockfile  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 8285 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 9872,9883 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char maillock ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8292,8297 ----
***************
*** 9887,9902 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_lockfile_maillock=yes
  else
--- 8301,8316 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8304: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8307: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8310: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8313: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_lockfile_maillock=yes
  else
***************
*** 9907,9918 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
  if test $ac_cv_lib_lockfile_maillock = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBLOCKFILE 1
! _ACEOF
  
    LIBS="-llockfile $LIBS"
  
--- 8321,8332 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:8324: result: $ac_cv_lib_lockfile_maillock" >&5
  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
  if test $ac_cv_lib_lockfile_maillock = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBLOCKFILE 1
! EOF
  
    LIBS="-llockfile $LIBS"
  
***************
*** 9924,9930 ****
  if test "$ac_cv_lib_lockfile_maillock" = no; then
        # Extract the first word of "liblockfile.so", so it can be a program 
name with args.
  set dummy liblockfile.so; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_liblockfile+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8338,8344 ----
  if test "$ac_cv_lib_lockfile_maillock" = no; then
        # Extract the first word of "liblockfile.so", so it can be a program 
name with args.
  set dummy liblockfile.so; ac_word=$2
! echo "$as_me:8341: checking for $ac_word" >&5
  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  if test "${ac_cv_prog_liblockfile+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 9932,9949 ****
    if test -n "$liblockfile"; then
    ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
  else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for ac_exec_ext in '' $ac_executable_extensions; do
!   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
!     ac_cv_prog_liblockfile="yes"
!     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
!     break 2
!   fi
! done
  done
  
    test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
--- 8346,8360 ----
    if test -n "$liblockfile"; then
    ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
  else
!   ac_save_IFS=$IFS; IFS=$ac_path_separator
! ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
! for ac_dir in $ac_dummy; do
!   IFS=$ac_save_IFS
!   test -z "$ac_dir" && ac_dir=.
!   $as_executable_p "$ac_dir/$ac_word" || continue
! ac_cv_prog_liblockfile="yes"
! echo "$as_me:8356: found $ac_dir/$ac_word" >&5
! break
  done
  
    test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
***************
*** 9951,9965 ****
  fi
  liblockfile=$ac_cv_prog_liblockfile
  if test -n "$liblockfile"; then
!   echo "$as_me:$LINENO: result: $liblockfile" >&5
  echo "${ECHO_T}$liblockfile" >&6
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
    if test $ac_cv_prog_liblockfile = yes; then
!     { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link 
against it.
  This probably means that movemail could lose mail.
  There may be a \`development' package to install containing liblockfile." >&5
  echo "$as_me: error: Shared liblockfile found but can't link against it.
--- 8362,8376 ----
  fi
  liblockfile=$ac_cv_prog_liblockfile
  if test -n "$liblockfile"; then
!   echo "$as_me:8365: result: $liblockfile" >&5
  echo "${ECHO_T}$liblockfile" >&6
  else
!   echo "$as_me:8368: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
    if test $ac_cv_prog_liblockfile = yes; then
!     { { echo "$as_me:8373: error: Shared liblockfile found but can't link 
against it.
  This probably means that movemail could lose mail.
  There may be a \`development' package to install containing liblockfile." >&5
  echo "$as_me: error: Shared liblockfile found but can't link against it.
***************
*** 9967,9975 ****
  There may be a \`development' package to install containing liblockfile." 
>&2;}
     { (exit 1); exit 1; }; }
    else
! cat >>confdefs.h <<\_ACEOF
  #define LIBMAIL -llockfile
! _ACEOF
  
    fi
    else :
--- 8378,8386 ----
  There may be a \`development' package to install containing liblockfile." 
>&2;}
     { (exit 1); exit 1; }; }
    else
! cat >>confdefs.h <<\EOF
  #define LIBMAIL -llockfile
! EOF
  
    fi
    else :
***************
*** 9978,9990 ****
  for ac_func in touchlock
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 8389,8401 ----
  for ac_func in touchlock
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8392: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8398 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 9998,10009 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8409,8414 ----
***************
*** 10021,10036 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 8426,8441 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8429: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8432: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8435: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8438: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 10040,10114 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
  for ac_header in maillock.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 8445,8480 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:8448: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_header in maillock.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8461: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 8467 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:8471: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:8477: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 10119,10225 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  for ac_func in gethostname getdomainname dup2 \
  rename closedir mkdir rmdir sysinfo \
  random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
--- 8485,8508 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:8496: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_func in gethostname getdomainname dup2 \
  rename closedir mkdir rmdir sysinfo \
  random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
***************
*** 10230,10242 ****
  gai_strerror mkstemp getline getdelim
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 8513,8525 ----
  gai_strerror mkstemp getline getdelim
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8516: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8522 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 10250,10261 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8533,8538 ----
***************
*** 10273,10288 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 8550,8565 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8553: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8556: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8559: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8562: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 10292,10367 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
- 
  for ac_header in sys/un.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 8569,8604 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:8572: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_header in sys/un.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8585: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 8591 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:8595: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:8601: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 10372,10483 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
! 
! fi
! 
! done
! 
! 
! 
! 
! for ac_header in sys/time.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
!   (eval $ac_compile) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); } &&
!          { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
!   (eval $ac_try) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); }; }; then
!   ac_header_compiler=yes
! else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
  fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
  
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 8609,8652 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:8620: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
! 
  fi
! done
  
! for ac_header in sys/time.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:8633: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 8639 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:8649: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 10488,10549 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
- 
  for ac_func in alarm
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 8657,8690 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:8668: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_func in alarm
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:8681: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8687 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 10557,10568 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8698,8703 ----
***************
*** 10580,10595 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 8715,8730 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8718: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8721: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8724: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8727: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 10599,10615 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
! echo "$as_me:$LINENO: checking for working mktime" >&5
  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
  if test "${ac_cv_func_working_mktime+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 8734,8750 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
! echo "$as_me:8747: checking for working mktime" >&5
  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
  if test "${ac_cv_func_working_mktime+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10618,10624 ****
    ac_cv_func_working_mktime=no
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* Test program from Paul Eggert and Tony Leneis.  */
  #if TIME_WITH_SYS_TIME
--- 8753,8759 ----
    ac_cv_func_working_mktime=no
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8756 "configure"
  #include "confdefs.h"
  /* Test program from Paul Eggert and Tony Leneis.  */
  #if TIME_WITH_SYS_TIME
***************
*** 10767,10794 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_working_mktime=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_func_working_mktime=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
  if test $ac_cv_func_working_mktime = no; then
    LIBOBJS="$LIBOBJS mktime.$ac_objext"
--- 8902,8928 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:8905: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8908: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:8910: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8913: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_working_mktime=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_func_working_mktime=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:8925: result: $ac_cv_func_working_mktime" >&5
  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
  if test $ac_cv_func_working_mktime = no; then
    LIBOBJS="$LIBOBJS mktime.$ac_objext"
***************
*** 10796,10804 ****
  
  if test "$ac_cv_func_working_mktime" = no; then
  
! cat >>confdefs.h <<\_ACEOF
  #define BROKEN_MKTIME 1
! _ACEOF
  
  fi
  
--- 8930,8938 ----
  
  if test "$ac_cv_func_working_mktime" = no; then
  
! cat >>confdefs.h <<\EOF
  #define BROKEN_MKTIME 1
! EOF
  
  fi
  
***************
*** 10807,10819 ****
  ac_save_LIBS=$LIBS
  
  # Check for getloadavg, but be sure not to touch the cache variable.
! (echo "$as_me:$LINENO: checking for getloadavg" >&5
  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
  if test "${ac_cv_func_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char getloadavg (); below.  */
--- 8941,8953 ----
  ac_save_LIBS=$LIBS
  
  # Check for getloadavg, but be sure not to touch the cache variable.
! (echo "$as_me:8944: checking for getloadavg" >&5
  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
  if test "${ac_cv_func_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 8950 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char getloadavg (); below.  */
***************
*** 10827,10838 ****
  char getloadavg ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 8961,8966 ----
***************
*** 10850,10865 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_getloadavg=yes
  else
--- 8978,8993 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:8981: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:8984: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:8987: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:8990: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_getloadavg=yes
  else
***************
*** 10869,10875 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
  if test $ac_cv_func_getloadavg = yes; then
    exit 0
--- 8997,9003 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:9000: result: $ac_cv_func_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
  if test $ac_cv_func_getloadavg = yes; then
    exit 0
***************
*** 10883,10895 ****
  for ac_func in pstat_getdynamic
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 9011,9023 ----
  for ac_func in pstat_getdynamic
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:9014: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 9020 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 10903,10914 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9031,9036 ----
***************
*** 10926,10941 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 9048,9063 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9051: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9054: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9057: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9060: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 10945,10964 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
  # Solaris has libkstat which does not require root.
  
! echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9067,9085 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:9070: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  # Solaris has libkstat which does not require root.
  
! echo "$as_me:9082: checking for kstat_open in -lkstat" >&5
  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 10966,10972 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkstat  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9087,9093 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkstat  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9090 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 10976,10987 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char kstat_open ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9097,9102 ----
***************
*** 10991,11006 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_kstat_kstat_open=yes
  else
--- 9106,9121 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9109: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9112: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9115: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9118: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_kstat_kstat_open=yes
  else
***************
*** 11011,11022 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
  if test $ac_cv_lib_kstat_kstat_open = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBKSTAT 1
! _ACEOF
  
    LIBS="-lkstat $LIBS"
  
--- 9126,9137 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9129: result: $ac_cv_lib_kstat_kstat_open" >&5
  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
  if test $ac_cv_lib_kstat_kstat_open = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBKSTAT 1
! EOF
  
    LIBS="-lkstat $LIBS"
  
***************
*** 11029,11035 ****
  # to get the right answer into the cache.
  # For kstat on solaris, we need libelf to force the definition of SVR4 below.
  if test $ac_have_func = no; then
!   echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9144,9150 ----
  # to get the right answer into the cache.
  # For kstat on solaris, we need libelf to force the definition of SVR4 below.
  if test $ac_have_func = no; then
!   echo "$as_me:9147: checking for elf_begin in -lelf" >&5
  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11037,11043 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lelf  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9152,9158 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lelf  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9155 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 11047,11058 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char elf_begin ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9162,9167 ----
***************
*** 11062,11077 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_elf_elf_begin=yes
  else
--- 9171,9186 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9174: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9177: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9180: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9183: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_elf_elf_begin=yes
  else
***************
*** 11082,11088 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
  if test $ac_cv_lib_elf_elf_begin = yes; then
    LIBS="-lelf $LIBS"
--- 9191,9197 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9194: result: $ac_cv_lib_elf_elf_begin" >&5
  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
  if test $ac_cv_lib_elf_elf_begin = yes; then
    LIBS="-lelf $LIBS"
***************
*** 11090,11096 ****
  
  fi
  if test $ac_have_func = no; then
!   echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9199,9205 ----
  
  fi
  if test $ac_have_func = no; then
!   echo "$as_me:9202: checking for kvm_open in -lkvm" >&5
  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11098,11104 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkvm  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9207,9213 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkvm  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9210 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 11108,11119 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char kvm_open ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9217,9222 ----
***************
*** 11123,11138 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_kvm_kvm_open=yes
  else
--- 9226,9241 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9229: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9232: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9235: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9238: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_kvm_kvm_open=yes
  else
***************
*** 11143,11156 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
  if test $ac_cv_lib_kvm_kvm_open = yes; then
    LIBS="-lkvm $LIBS"
  fi
  
    # Check for the 4.4BSD definition of getloadavg.
!   echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9246,9259 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9249: result: $ac_cv_lib_kvm_kvm_open" >&5
  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
  if test $ac_cv_lib_kvm_kvm_open = yes; then
    LIBS="-lkvm $LIBS"
  fi
  
    # Check for the 4.4BSD definition of getloadavg.
!   echo "$as_me:9256: checking for getloadavg in -lutil" >&5
  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11158,11164 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lutil  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9261,9267 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lutil  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9264 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 11168,11179 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char getloadavg ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9271,9276 ----
***************
*** 11183,11198 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_util_getloadavg=yes
  else
--- 9280,9295 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9283: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9286: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9289: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9292: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_util_getloadavg=yes
  else
***************
*** 11203,11209 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
  if test $ac_cv_lib_util_getloadavg = yes; then
    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
--- 9300,9306 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9303: result: $ac_cv_lib_util_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
  if test $ac_cv_lib_util_getloadavg = yes; then
    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
***************
*** 11216,11222 ****
    # Since it is not a standard part of AIX, it might be installed locally.
    ac_getloadavg_LIBS=$LIBS
    LIBS="-L/usr/local/lib $LIBS"
!   echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9313,9319 ----
    # Since it is not a standard part of AIX, it might be installed locally.
    ac_getloadavg_LIBS=$LIBS
    LIBS="-L/usr/local/lib $LIBS"
!   echo "$as_me:9316: checking for getloadavg in -lgetloadavg" >&5
  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11224,11230 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lgetloadavg  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9321,9327 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lgetloadavg  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9324 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 11234,11245 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char getloadavg ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9331,9336 ----
***************
*** 11249,11264 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_getloadavg_getloadavg=yes
  else
--- 9340,9355 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9343: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9346: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9349: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9352: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_getloadavg_getloadavg=yes
  else
***************
*** 11269,11275 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
    LIBS="-lgetloadavg $LIBS"
--- 9360,9366 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9363: result: $ac_cv_lib_getloadavg_getloadavg" >&5
  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
    LIBS="-lgetloadavg $LIBS"
***************
*** 11285,11297 ****
  for ac_func in getloadavg
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 9376,9388 ----
  for ac_func in getloadavg
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:9379: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 9385 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 11305,11316 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9396,9401 ----
***************
*** 11328,11343 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 9413,9428 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9416: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9419: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9422: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9425: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 11347,11423 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  else
    LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
  
! cat >>confdefs.h <<\_ACEOF
  #define C_GETLOADAVG 1
! _ACEOF
  
  # Figure out what our getloadavg.c needs.
  ac_have_func=no
! if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
- echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
- echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <sys/dg_sys_info.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
! echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/dg_sys_info.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9432,9470 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:9435: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  else
    LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
  
! cat >>confdefs.h <<\EOF
  #define C_GETLOADAVG 1
! EOF
  
  # Figure out what our getloadavg.c needs.
  ac_have_func=no
! echo "$as_me:9451: checking for sys/dg_sys_info.h" >&5
  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9457 "configure"
  #include "confdefs.h"
  #include <sys/dg_sys_info.h>
  _ACEOF
! if { (eval echo "$as_me:9461: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9467: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11428,11478 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected 
by the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
- echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
- if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
- 
- fi
  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\_ACEOF
  #define DGUX 1
! _ACEOF
  
! 
! echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9475,9498 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_sys_dg_sys_info_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_sys_dg_sys_info_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9486: result: $ac_cv_header_sys_dg_sys_info_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\EOF
  #define DGUX 1
! EOF
  
! echo "$as_me:9495: checking for dg_sys_info in -ldgc" >&5
  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 11480,11486 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldgc  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 9500,9506 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldgc  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 9503 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 11490,11501 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char dg_sys_info ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9510,9515 ----
***************
*** 11505,11520 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_dgc_dg_sys_info=yes
  else
--- 9519,9534 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9522: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9525: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9528: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9531: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_dgc_dg_sys_info=yes
  else
***************
*** 11525,11536 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBDGC 1
! _ACEOF
  
    LIBS="-ldgc $LIBS"
  
--- 9539,9550 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:9542: result: $ac_cv_lib_dgc_dg_sys_info" >&5
  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBDGC 1
! EOF
  
    LIBS="-ldgc $LIBS"
  
***************
*** 11538,11600 ****
  
  fi
  
! 
! 
! if test "${ac_cv_header_locale_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for locale.h" >&5
  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
  if test "${ac_cv_header_locale_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
- echo "${ECHO_T}$ac_cv_header_locale_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking locale.h usability" >&5
- echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <locale.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking locale.h presence" >&5
! echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <locale.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9552,9574 ----
  
  fi
  
! echo "$as_me:9555: checking for locale.h" >&5
  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
  if test "${ac_cv_header_locale_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9561 "configure"
  #include "confdefs.h"
  #include <locale.h>
  _ACEOF
! if { (eval echo "$as_me:9565: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9571: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11605,11659 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite 
headers?" >&5
- echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for locale.h" >&5
- echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
- if test "${ac_cv_header_locale_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_locale_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
  
- fi
- 
- 
- 
  for ac_func in setlocale
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 9579,9605 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_locale_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_locale_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9590: result: $ac_cv_header_locale_h" >&5
  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
  
  for ac_func in setlocale
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:9596: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 9602 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 11667,11678 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9613,9618 ----
***************
*** 11690,11705 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 9630,9645 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:9633: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:9636: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:9639: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9642: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 11709,11793 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
  # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
  # uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
  # Irix 4.0.5F has the header but not the library.
  if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\_ACEOF
  #define SVR4 1
! _ACEOF
  
  fi
  
  if test $ac_have_func = no; then
!   if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
- echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
- echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <inq_stats/cpustats.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
! echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <inq_stats/cpustats.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9649,9694 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
  # uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
  # Irix 4.0.5F has the header but not the library.
  if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\EOF
  #define SVR4 1
! EOF
  
  fi
  
  if test $ac_have_func = no; then
!   echo "$as_me:9675: checking for inq_stats/cpustats.h" >&5
  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9681 "configure"
  #include "confdefs.h"
  #include <inq_stats/cpustats.h>
  _ACEOF
! if { (eval echo "$as_me:9685: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9691: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11798,11912 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, 
rejected by the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with 
the preprocessor's result" >&5
- echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the 
preprocessor's result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot 
be compiled" >&5
- echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with 
the preprocessor's result" >&5
- echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the 
preprocessor's result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
- echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
- if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
- 
- fi
  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\_ACEOF
  #define UMAX 1
! _ACEOF
! 
  
! cat >>confdefs.h <<\_ACEOF
  #define UMAX4_3 1
! _ACEOF
  
  fi
  
- 
  fi
  
  if test $ac_have_func = no; then
!   if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
- echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
- echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <sys/cpustats.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
! echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/cpustats.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9699,9747 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_inq_stats_cpustats_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_inq_stats_cpustats_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9710: result: $ac_cv_header_inq_stats_cpustats_h" >&5
  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
    ac_have_func=yes
  
! cat >>confdefs.h <<\EOF
  #define UMAX 1
! EOF
  
! cat >>confdefs.h <<\EOF
  #define UMAX4_3 1
! EOF
  
  fi
  
  fi
  
  if test $ac_have_func = no; then
!   echo "$as_me:9728: checking for sys/cpustats.h" >&5
  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9734 "configure"
  #include "confdefs.h"
  #include <sys/cpustats.h>
  _ACEOF
! if { (eval echo "$as_me:9738: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9744: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 11917,11966 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the 
compiler, rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by 
the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite 
headers?" >&2;}
-     { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
- echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
- if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_sys_cpustats_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
- 
- fi
  if test $ac_cv_header_sys_cpustats_h = yes; then
!   ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
  #define UMAX 1
! _ACEOF
  
  fi
  
- 
  fi
  
  if test $ac_have_func = no; then
--- 9752,9774 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_sys_cpustats_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_sys_cpustats_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9763: result: $ac_cv_header_sys_cpustats_h" >&5
  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
  if test $ac_cv_header_sys_cpustats_h = yes; then
!   ac_have_func=yes; cat >>confdefs.h <<\EOF
  #define UMAX 1
! EOF
  
  fi
  
  fi
  
  if test $ac_have_func = no; then
***************
*** 11968,12028 ****
  for ac_header in mach/mach.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9776,9798 ----
  for ac_header in mach/mach.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:9779: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9785 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:9789: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9795: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 12033,12144 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
  fi
  
- 
  for ac_header in nlist.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
!   (eval $ac_compile) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); } &&
!          { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
!   (eval $ac_try) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); }; }; then
!   ac_header_compiler=yes
! else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 9803,9848 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9814: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  fi
  
  for ac_header in nlist.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:9829: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 9835 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:9839: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:9845: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 12149,12210 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
!  echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <nlist.h>
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9853,9882 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:9864: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
!  echo "$as_me:9870: checking for struct nlist.n_un.n_name" >&5
  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 9876 "configure"
  #include "confdefs.h"
  #include <nlist.h>
  
  int
  main ()
  {
***************
*** 12216,12231 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_nlist_n_un_n_name=yes
  else
--- 9888,9903 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:9894: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:9897: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:9900: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_member_struct_nlist_n_un_n_name=yes
  else
***************
*** 12235,12272 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
  
! cat >>confdefs.h <<_ACEOF
  #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
! _ACEOF
  
! 
! cat >>confdefs.h <<\_ACEOF
  #define NLIST_NAME_UNION 1
! _ACEOF
  
  fi
  
- 
  fi
- 
  done
  
  fi
  done
  
- 
  # Some definitions of getloadavg require that the program be installed setgid.
! echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include "$srcdir/getloadavg.c"
  #ifdef LDAV_PRIVILEGED
--- 9907,9940 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:9910: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
  
! cat >>confdefs.h <<EOF
  #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
! EOF
  
! cat >>confdefs.h <<\EOF
  #define NLIST_NAME_UNION 1
! EOF
  
  fi
  
  fi
  done
  
  fi
  done
  
  # Some definitions of getloadavg require that the program be installed setgid.
! echo "$as_me:9931: checking whether getloadavg requires setgid" >&5
  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 9937 "configure"
  #include "confdefs.h"
  #include "$srcdir/getloadavg.c"
  #ifdef LDAV_PRIVILEGED
***************
*** 12282,12302 ****
  rm -f conftest*
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
  if test $ac_cv_func_getloadavg_setgid = yes; then
    NEED_SETGID=true
  
! cat >>confdefs.h <<\_ACEOF
  #define GETLOADAVG_PRIVILEGED 1
! _ACEOF
  
  else
    NEED_SETGID=false
  fi
  
  if test $ac_cv_func_getloadavg_setgid = yes; then
!   echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
  if test "${ac_cv_group_kmem+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9950,9970 ----
  rm -f conftest*
  
  fi
! echo "$as_me:9953: result: $ac_cv_func_getloadavg_setgid" >&5
  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
  if test $ac_cv_func_getloadavg_setgid = yes; then
    NEED_SETGID=true
  
! cat >>confdefs.h <<\EOF
  #define GETLOADAVG_PRIVILEGED 1
! EOF
  
  else
    NEED_SETGID=false
  fi
  
  if test $ac_cv_func_getloadavg_setgid = yes; then
!   echo "$as_me:9967: checking group of /dev/kmem" >&5
  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
  if test "${ac_cv_group_kmem+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12311,12317 ****
               / /s/.* //;p;'`
  
  fi
! echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
  echo "${ECHO_T}$ac_cv_group_kmem" >&6
    KMEM_GROUP=$ac_cv_group_kmem
  fi
--- 9979,9985 ----
               / /s/.* //;p;'`
  
  fi
! echo "$as_me:9982: result: $ac_cv_group_kmem" >&5
  echo "${ECHO_T}$ac_cv_group_kmem" >&6
    KMEM_GROUP=$ac_cv_group_kmem
  fi
***************
*** 12322,12330 ****
  fi
  LIBS=$ac_save_LIBS
  
! 
! 
! echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large 
files" >&5
  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_largefile_source+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 9990,9996 ----
  fi
  LIBS=$ac_save_LIBS
  
! echo "$as_me:9993: checking for _LARGEFILE_SOURCE value needed for large 
files" >&5
  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... 
$ECHO_C" >&6
  if test "${ac_cv_sys_largefile_source+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12332,12346 ****
    while :; do
    ac_cv_sys_largefile_source=no
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdio.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 9998,10006 ----
    while :; do
    ac_cv_sys_largefile_source=no
    cat >conftest.$ac_ext <<_ACEOF
! #line 10001 "configure"
  #include "confdefs.h"
  #include <stdio.h>
  int
  main ()
  {
***************
*** 12350,12365 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
--- 10010,10025 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:10013: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:10016: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:10019: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10022: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    break
  else
***************
*** 12368,12383 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #define _LARGEFILE_SOURCE 1
  #include <stdio.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10028,10037 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
    cat >conftest.$ac_ext <<_ACEOF
! #line 10031 "configure"
  #include "confdefs.h"
  #define _LARGEFILE_SOURCE 1
  #include <stdio.h>
  int
  main ()
  {
***************
*** 12387,12402 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_largefile_source=1; break
  else
--- 10041,10056 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:10047: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:10050: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10053: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_sys_largefile_source=1; break
  else
***************
*** 12407,12419 ****
    break
  done
  fi
! echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
  if test "$ac_cv_sys_largefile_source" != no; then
  
! cat >>confdefs.h <<_ACEOF
  #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
! _ACEOF
  
  fi
  rm -f conftest*
--- 10061,10073 ----
    break
  done
  fi
! echo "$as_me:10064: result: $ac_cv_sys_largefile_source" >&5
  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
  if test "$ac_cv_sys_largefile_source" != no; then
  
! cat >>confdefs.h <<EOF
  #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
! EOF
  
  fi
  rm -f conftest*
***************
*** 12421,12441 ****
  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  # in glibc 2.1.3, but that breaks too many other things.
  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
! echo "$as_me:$LINENO: checking for fseeko" >&5
  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
  if test "${ac_cv_func_fseeko+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <stdio.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10075,10089 ----
  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  # in glibc 2.1.3, but that breaks too many other things.
  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
! echo "$as_me:10078: checking for fseeko" >&5
  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
  if test "${ac_cv_func_fseeko+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10084 "configure"
  #include "confdefs.h"
  #include <stdio.h>
  int
  main ()
  {
***************
*** 12445,12460 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_fseeko=yes
  else
--- 10093,10108 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10096: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10099: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10102: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10105: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_fseeko=yes
  else
***************
*** 12464,12492 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
  if test $ac_cv_func_fseeko = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_FSEEKO 1
! _ACEOF
  
  fi
  
- 
  # UNIX98 PTYs.
  
  for ac_func in grantpt
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 10112,10139 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10115: result: $ac_cv_func_fseeko" >&5
  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
  if test $ac_cv_func_fseeko = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_FSEEKO 1
! EOF
  
  fi
  
  # UNIX98 PTYs.
  
  for ac_func in grantpt
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:10130: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10136 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 12500,12511 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10147,10152 ----
***************
*** 12523,12538 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 10164,10179 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10167: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10170: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10173: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10176: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 12542,12570 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
  # PTY-related GNU extensions.
  
  for ac_func in getpt
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 10183,10210 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10186: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  # PTY-related GNU extensions.
  
  for ac_func in getpt
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:10201: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10207 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 12578,12589 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10218,10223 ----
***************
*** 12601,12616 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 10235,10250 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10238: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10241: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10244: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10247: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 12620,12642 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
- 
  # Check this now, so that we will NOT find the above functions in ncurses.
  # That is because we have not set up to link ncurses in lib-src.
  # It's better to believe a function is not available
  # than to expect to find it in ncurses.
  
! echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10254,10275 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10257: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  # Check this now, so that we will NOT find the above functions in ncurses.
  # That is because we have not set up to link ncurses in lib-src.
  # It's better to believe a function is not available
  # than to expect to find it in ncurses.
  
! echo "$as_me:10272: checking for tparm in -lncurses" >&5
  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12644,12650 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lncurses  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10277,10283 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lncurses  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10280 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 12654,12665 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char tparm ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10287,10292 ----
***************
*** 12669,12684 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ncurses_tparm=yes
  else
--- 10296,10311 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10299: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10302: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10305: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10308: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_ncurses_tparm=yes
  else
***************
*** 12689,12717 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
  if test $ac_cv_lib_ncurses_tparm = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBNCURSES 1
! _ACEOF
  
    LIBS="-lncurses $LIBS"
  
  fi
  
- 
  # Do we need the Hesiod library to provide the support routines?
  if test "$with_hesiod" = yes ; then
    # Don't set $LIBS here -- see comments above.
    resolv=no
!   echo "$as_me:$LINENO: checking for res_send" >&5
  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
  if test "${ac_cv_func_res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char res_send (); below.  */
--- 10316,10343 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10319: result: $ac_cv_lib_ncurses_tparm" >&5
  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
  if test $ac_cv_lib_ncurses_tparm = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBNCURSES 1
! EOF
  
    LIBS="-lncurses $LIBS"
  
  fi
  
  # Do we need the Hesiod library to provide the support routines?
  if test "$with_hesiod" = yes ; then
    # Don't set $LIBS here -- see comments above.
    resolv=no
!   echo "$as_me:10334: checking for res_send" >&5
  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
  if test "${ac_cv_func_res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10340 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char res_send (); below.  */
***************
*** 12725,12736 ****
  char res_send ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10351,10356 ----
***************
*** 12748,12763 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_res_send=yes
  else
--- 10368,10383 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10371: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10374: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10377: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10380: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_res_send=yes
  else
***************
*** 12767,12784 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
  echo "${ECHO_T}$ac_cv_func_res_send" >&6
  if test $ac_cv_func_res_send = yes; then
    :
  else
!   echo "$as_me:$LINENO: checking for __res_send" >&5
  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
  if test "${ac_cv_func___res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char __res_send (); below.  */
--- 10387,10404 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10390: result: $ac_cv_func_res_send" >&5
  echo "${ECHO_T}$ac_cv_func_res_send" >&6
  if test $ac_cv_func_res_send = yes; then
    :
  else
!   echo "$as_me:10395: checking for __res_send" >&5
  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
  if test "${ac_cv_func___res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10401 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char __res_send (); below.  */
***************
*** 12792,12803 ****
  char __res_send ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10412,10417 ----
***************
*** 12815,12830 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func___res_send=yes
  else
--- 10429,10444 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10432: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10435: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10438: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10441: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func___res_send=yes
  else
***************
*** 12834,12845 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
  echo "${ECHO_T}$ac_cv_func___res_send" >&6
  if test $ac_cv_func___res_send = yes; then
    :
  else
!   echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10448,10459 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10451: result: $ac_cv_func___res_send" >&5
  echo "${ECHO_T}$ac_cv_func___res_send" >&6
  if test $ac_cv_func___res_send = yes; then
    :
  else
!   echo "$as_me:10456: checking for res_send in -lresolv" >&5
  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12847,12853 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lresolv  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10461,10467 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lresolv  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10464 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 12857,12868 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char res_send ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10471,10476 ----
***************
*** 12872,12887 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_resolv_res_send=yes
  else
--- 10480,10495 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10483: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10486: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10489: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10492: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_resolv_res_send=yes
  else
***************
*** 12892,12903 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
  if test $ac_cv_lib_resolv_res_send = yes; then
    resolv=yes
  else
!   echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10500,10511 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10503: result: $ac_cv_lib_resolv_res_send" >&5
  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
  if test $ac_cv_lib_resolv_res_send = yes; then
    resolv=yes
  else
!   echo "$as_me:10508: checking for __res_send in -lresolv" >&5
  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 12905,12911 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lresolv  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10513,10519 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lresolv  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10516 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 12915,12926 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char __res_send ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10523,10528 ----
***************
*** 12930,12945 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_resolv___res_send=yes
  else
--- 10532,10547 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10535: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10538: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10541: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10544: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_resolv___res_send=yes
  else
***************
*** 12950,12956 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
  if test $ac_cv_lib_resolv___res_send = yes; then
    resolv=yes
--- 10552,10558 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10555: result: $ac_cv_lib_resolv___res_send" >&5
  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
  if test $ac_cv_lib_resolv___res_send = yes; then
    resolv=yes
***************
*** 12965,12984 ****
    if test "$resolv" = yes ; then
      RESOLVLIB=-lresolv
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_LIBRESOLV 1
! _ACEOF
  
    else
      RESOLVLIB=
    fi
!   echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char hes_getmailhost (); below.  */
--- 10567,10586 ----
    if test "$resolv" = yes ; then
      RESOLVLIB=-lresolv
  
! cat >>confdefs.h <<\EOF
  #define HAVE_LIBRESOLV 1
! EOF
  
    else
      RESOLVLIB=
    fi
!   echo "$as_me:10577: checking for hes_getmailhost" >&5
  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 10583 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char hes_getmailhost (); below.  */
***************
*** 12992,13003 ****
  char hes_getmailhost ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10594,10599 ----
***************
*** 13015,13030 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_hes_getmailhost=yes
  else
--- 10611,10626 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10614: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10617: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10620: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10623: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_hes_getmailhost=yes
  else
***************
*** 13034,13045 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
  if test $ac_cv_func_hes_getmailhost = yes; then
    :
  else
!   echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10630,10641 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:10633: result: $ac_cv_func_hes_getmailhost" >&5
  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
  if test $ac_cv_func_hes_getmailhost = yes; then
    :
  else
!   echo "$as_me:10638: checking for hes_getmailhost in -lhesiod" >&5
  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13047,13053 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lhesiod $RESOLVLIB $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10643,10649 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lhesiod $RESOLVLIB $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10646 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13057,13068 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char hes_getmailhost ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10653,10658 ----
***************
*** 13072,13087 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_hesiod_hes_getmailhost=yes
  else
--- 10662,10677 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10665: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10668: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10671: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10674: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_hesiod_hes_getmailhost=yes
  else
***************
*** 13092,13104 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_LIBHESIOD 1
! _ACEOF
  
  else
    :
--- 10682,10694 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10685: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_LIBHESIOD 1
! EOF
  
  else
    :
***************
*** 13111,13117 ****
  # These tell us which Kerberos-related libraries to use.
  if test "${with_kerberos+set}" = set; then
  
! echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10701,10707 ----
  # These tell us which Kerberos-related libraries to use.
  if test "${with_kerberos+set}" = set; then
  
! echo "$as_me:10704: checking for com_err in -lcom_err" >&5
  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13119,13125 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lcom_err  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10709,10715 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lcom_err  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10712 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13129,13140 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char com_err ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10719,10724 ----
***************
*** 13144,13159 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_com_err_com_err=yes
  else
--- 10728,10743 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10731: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10734: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10737: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10740: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_com_err_com_err=yes
  else
***************
*** 13164,13182 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
  if test $ac_cv_lib_com_err_com_err = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBCOM_ERR 1
! _ACEOF
  
    LIBS="-lcom_err $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10748,10765 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10751: result: $ac_cv_lib_com_err_com_err" >&5
  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
  if test $ac_cv_lib_com_err_com_err = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBCOM_ERR 1
! EOF
  
    LIBS="-lcom_err $LIBS"
  
  fi
  
! echo "$as_me:10762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13184,13190 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lk5crypto  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10767,10773 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lk5crypto  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10770 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13194,13205 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char mit_des_cbc_encrypt ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10777,10782 ----
***************
*** 13209,13224 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
  else
--- 10786,10801 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10789: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10792: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10795: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10798: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
  else
***************
*** 13229,13247 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBK5CRYPTO 1
! _ACEOF
  
    LIBS="-lk5crypto $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10806,10823 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10809: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBK5CRYPTO 1
! EOF
  
    LIBS="-lk5crypto $LIBS"
  
  fi
  
! echo "$as_me:10820: checking for mit_des_cbc_encrypt in -lcrypto" >&5
  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13249,13255 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lcrypto  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10825,10831 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lcrypto  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10828 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13259,13270 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char mit_des_cbc_encrypt ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10835,10840 ----
***************
*** 13274,13289 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
  else
--- 10844,10859 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10847: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10850: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10853: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10856: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
  else
***************
*** 13294,13312 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBCRYPTO 1
! _ACEOF
  
    LIBS="-lcrypto $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10864,10881 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10867: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBCRYPTO 1
! EOF
  
    LIBS="-lcrypto $LIBS"
  
  fi
  
! echo "$as_me:10878: checking for krb5_init_context in -lkrb5" >&5
  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13314,13320 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb5  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10883,10889 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb5  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10886 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13324,13335 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char krb5_init_context ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10893,10898 ----
***************
*** 13339,13354 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb5_krb5_init_context=yes
  else
--- 10902,10917 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10905: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10908: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10911: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10914: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb5_krb5_init_context=yes
  else
***************
*** 13359,13370 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBKRB5 1
! _ACEOF
  
    LIBS="-lkrb5 $LIBS"
  
--- 10922,10933 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10925: result: $ac_cv_lib_krb5_krb5_init_context" >&5
  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBKRB5 1
! EOF
  
    LIBS="-lkrb5 $LIBS"
  
***************
*** 13372,13378 ****
  
    if test "${with_kerberos5+set}" != set; then
  
! echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10935,10941 ----
  
    if test "${with_kerberos5+set}" != set; then
  
! echo "$as_me:10938: checking for des_cbc_encrypt in -ldes425" >&5
  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13380,13386 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldes425  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 10943,10949 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldes425  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 10946 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13390,13401 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char des_cbc_encrypt ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 10953,10958 ----
***************
*** 13405,13420 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_des425_des_cbc_encrypt=yes
  else
--- 10962,10977 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:10965: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:10968: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:10971: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:10974: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_des425_des_cbc_encrypt=yes
  else
***************
*** 13425,13442 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBDES425 1
! _ACEOF
  
    LIBS="-ldes425 $LIBS"
  
  else
  
! echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 10982,10999 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:10985: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBDES425 1
! EOF
  
    LIBS="-ldes425 $LIBS"
  
  else
  
! echo "$as_me:10996: checking for des_cbc_encrypt in -ldes" >&5
  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13444,13450 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldes  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 11001,11007 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-ldes  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 11004 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13454,13465 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char des_cbc_encrypt ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11011,11016 ----
***************
*** 13469,13484 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_des_des_cbc_encrypt=yes
  else
--- 11020,11035 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11023: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11026: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11029: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11032: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_des_des_cbc_encrypt=yes
  else
***************
*** 13489,13500 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBDES 1
! _ACEOF
  
    LIBS="-ldes $LIBS"
  
--- 11040,11051 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:11043: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBDES 1
! EOF
  
    LIBS="-ldes $LIBS"
  
***************
*** 13502,13509 ****
  
  fi
  
! 
! echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 11053,11059 ----
  
  fi
  
! echo "$as_me:11056: checking for krb_get_cred in -lkrb4" >&5
  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13511,13517 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb4  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 11061,11067 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb4  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 11064 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13521,13532 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char krb_get_cred ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11071,11076 ----
***************
*** 13536,13551 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb4_krb_get_cred=yes
  else
--- 11080,11095 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11083: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11086: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11089: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11092: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb4_krb_get_cred=yes
  else
***************
*** 13556,13573 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBKRB4 1
! _ACEOF
  
    LIBS="-lkrb4 $LIBS"
  
  else
  
! echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 11100,11117 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:11103: result: $ac_cv_lib_krb4_krb_get_cred" >&5
  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBKRB4 1
! EOF
  
    LIBS="-lkrb4 $LIBS"
  
  else
  
! echo "$as_me:11114: checking for krb_get_cred in -lkrb" >&5
  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 13575,13581 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 11119,11125 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lkrb  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 11122 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 13585,13596 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char krb_get_cred ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11129,11134 ----
***************
*** 13600,13615 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb_krb_get_cred=yes
  else
--- 11138,11153 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11141: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11144: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11147: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11150: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_krb_krb_get_cred=yes
  else
***************
*** 13620,13631 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
  if test $ac_cv_lib_krb_krb_get_cred = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBKRB 1
! _ACEOF
  
    LIBS="-lkrb $LIBS"
  
--- 11158,11169 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:11161: result: $ac_cv_lib_krb_krb_get_cred" >&5
  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
  if test $ac_cv_lib_krb_krb_get_cred = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBKRB 1
! EOF
  
    LIBS="-lkrb $LIBS"
  
***************
*** 13640,13700 ****
  for ac_header in krb5.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11178,11200 ----
  for ac_header in krb5.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11181: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11187 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11191: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11197: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 13705,13753 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
    else
--- 11205,11226 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11216: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
    else
***************
*** 13755,13815 ****
  for ac_header in des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11228,11250 ----
  for ac_header in des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11231: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11237 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11241: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11247: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 13820,13926 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  else
  
  for ac_header in kerberosIV/des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11255,11297 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11266: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  else
  
  for ac_header in kerberosIV/des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11278: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11284 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11288: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11294: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 13931,14037 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  else
  
  for ac_header in kerberos/des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11302,11344 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11313: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  else
  
  for ac_header in kerberos/des.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11325: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11331 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11335: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11341: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 14042,14159 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
  fi
- 
  done
  
  fi
- 
  done
  
- 
  for ac_header in krb.h
  do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! else
!   # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
!   (eval $ac_compile) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); } &&
!          { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
!   (eval $ac_try) 2>&5
!   ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
!   (exit $ac_status); }; }; then
!   ac_header_compiler=yes
! else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11349,11398 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11360: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  fi
  done
  
  fi
  done
  
  for ac_header in krb.h
  do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11379: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo $ECHO_N "(cached) $ECHO_C" >&6
! else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11385 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11389: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11395: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 14164,14270 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  else
  
  for ac_header in kerberosIV/krb.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11403,11445 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11414: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  else
  
  for ac_header in kerberosIV/krb.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11426: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11432 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11436: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11442: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 14275,14381 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  else
  
  for ac_header in kerberos/krb.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11450,11492 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11461: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  else
  
  for ac_header in kerberos/krb.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11473: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11479 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11483: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11489: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 14386,14442 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
  fi
- 
  done
  
  fi
- 
  done
  
    fi
--- 11497,11524 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11508: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  fi
  done
  
  fi
  done
  
    fi
***************
*** 14444,14504 ****
  for ac_header in com_err.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11526,11548 ----
  for ac_header in com_err.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:11529: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 11535 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:11539: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:11545: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 14509,14557 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
  fi
--- 11553,11574 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:11564: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  fi
***************
*** 14559,14565 ****
  # Solaris requires -lintl if you want strerror (which calls dgettext)
  # to return localized messages.
  
! echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 11576,11582 ----
  # Solaris requires -lintl if you want strerror (which calls dgettext)
  # to return localized messages.
  
! echo "$as_me:11579: checking for dgettext in -lintl" >&5
  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 14567,14573 ****
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lintl  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
--- 11584,11590 ----
    ac_check_lib_save_LIBS=$LIBS
  LIBS="-lintl  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
! #line 11587 "configure"
  #include "confdefs.h"
  
  /* Override any gcc2 internal prototype to avoid an error.  */
***************
*** 14577,14588 ****
  /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
  char dgettext ();
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11594,11599 ----
***************
*** 14592,14607 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_intl_dgettext=yes
  else
--- 11603,11618 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11606: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11609: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11612: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11615: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_lib_intl_dgettext=yes
  else
***************
*** 14612,14630 ****
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
  if test $ac_cv_lib_intl_dgettext = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define HAVE_LIBINTL 1
! _ACEOF
  
    LIBS="-lintl $LIBS"
  
  fi
  
! 
! echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
  if test "${emacs_cv_localtime_cache+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 11623,11640 ----
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LIBS=$ac_check_lib_save_LIBS
  fi
! echo "$as_me:11626: result: $ac_cv_lib_intl_dgettext" >&5
  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
  if test $ac_cv_lib_intl_dgettext = yes; then
!   cat >>confdefs.h <<EOF
  #define HAVE_LIBINTL 1
! EOF
  
    LIBS="-lintl $LIBS"
  
  fi
  
! echo "$as_me:11637: checking whether localtime caches TZ" >&5
  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
  if test "${emacs_cv_localtime_cache+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 14635,14641 ****
  emacs_cv_localtime_cache=yes
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <time.h>
  extern char **environ;
--- 11645,11651 ----
  emacs_cv_localtime_cache=yes
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11648 "configure"
  #include "confdefs.h"
  #include <time.h>
  extern char **environ;
***************
*** 14668,14689 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_localtime_cache=no
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  emacs_cv_localtime_cache=yes
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
--- 11678,11698 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:11681: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11684: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:11686: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11689: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_localtime_cache=no
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  emacs_cv_localtime_cache=yes
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
***************
*** 14694,14706 ****
        emacs_cv_localtime_cache=no
  fi
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
  if test $emacs_cv_localtime_cache = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define LOCALTIME_CACHE 1
! _ACEOF
  
  fi
  
--- 11703,11715 ----
        emacs_cv_localtime_cache=no
  fi
  fi
! echo "$as_me:11706: result: $emacs_cv_localtime_cache" >&5
  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
  if test $emacs_cv_localtime_cache = yes; then
  
! cat >>confdefs.h <<\EOF
  #define LOCALTIME_CACHE 1
! EOF
  
  fi
  
***************
*** 14709,14721 ****
  for ac_func in gettimeofday
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 11718,11730 ----
  for ac_func in gettimeofday
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:11721: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11727 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 14729,14740 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11738,11743 ----
***************
*** 14752,14767 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 11755,11770 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11758: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11761: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11764: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11767: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 14771,14794 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
    if test $ac_cv_func_gettimeofday = yes; then
!     echo "$as_me:$LINENO: checking whether gettimeofday can accept two 
arguments" >&5
  echo $ECHO_N "checking whether gettimeofday can accept two arguments... 
$ECHO_C" >&6
  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  #ifdef TIME_WITH_SYS_TIME
--- 11774,11797 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:11777: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
    if test $ac_cv_func_gettimeofday = yes; then
!     echo "$as_me:11788: checking whether gettimeofday can accept two 
arguments" >&5
  echo $ECHO_N "checking whether gettimeofday can accept two arguments... 
$ECHO_C" >&6
  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11794 "configure"
  #include "confdefs.h"
  
  #ifdef TIME_WITH_SYS_TIME
***************
*** 14801,14812 ****
  #include <time.h>
  #endif
  #endif
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11804,11809 ----
***************
*** 14817,14832 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_gettimeofday_two_arguments=yes
  else
--- 11814,11829 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:11817: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:11820: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:11823: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11826: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_gettimeofday_two_arguments=yes
  else
***************
*** 14836,14869 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
      if test $emacs_cv_gettimeofday_two_arguments = no; then
  
! cat >>confdefs.h <<\_ACEOF
  #define GETTIMEOFDAY_ONE_ARGUMENT 1
! _ACEOF
  
      fi
    fi
  fi
  
  if test "$ac_cv_func_gettimeofday" = yes; then
!   echo "$as_me:$LINENO: checking for struct timezone" >&5
  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
  if test "${emacs_cv_struct_timezone+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <sys/time.h>
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11833,11860 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:11836: result: $emacs_cv_gettimeofday_two_arguments" >&5
  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
      if test $emacs_cv_gettimeofday_two_arguments = no; then
  
! cat >>confdefs.h <<\EOF
  #define GETTIMEOFDAY_ONE_ARGUMENT 1
! EOF
  
      fi
    fi
  fi
  
  if test "$ac_cv_func_gettimeofday" = yes; then
!   echo "$as_me:11849: checking for struct timezone" >&5
  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
  if test "${emacs_cv_struct_timezone+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11855 "configure"
  #include "confdefs.h"
  #include <sys/time.h>
  int
  main ()
  {
***************
*** 14873,14894 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
                if test "$cross_compiling" = yes; then
    emacs_cv_struct_timezone=yes
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  
  #ifdef TIME_WITH_SYS_TIME
--- 11864,11885 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:11870: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:11873: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11876: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
                if test "$cross_compiling" = yes; then
    emacs_cv_struct_timezone=yes
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11882 "configure"
  #include "confdefs.h"
  
  #ifdef TIME_WITH_SYS_TIME
***************
*** 14908,14929 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_timezone=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  emacs_cv_struct_timezone=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
--- 11899,11919 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:11902: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11905: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:11907: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11910: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    emacs_cv_struct_timezone=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  emacs_cv_struct_timezone=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
***************
*** 14935,14952 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
  fi
  
  ok_so_far=yes
! echo "$as_me:$LINENO: checking for socket" >&5
  echo $ECHO_N "checking for socket... $ECHO_C" >&6
  if test "${ac_cv_func_socket+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char socket (); below.  */
--- 11925,11942 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:11928: result: $emacs_cv_struct_timezone" >&5
  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
  fi
  
  ok_so_far=yes
! echo "$as_me:11933: checking for socket" >&5
  echo $ECHO_N "checking for socket... $ECHO_C" >&6
  if test "${ac_cv_func_socket+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 11939 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char socket (); below.  */
***************
*** 14960,14971 ****
  char socket ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 11950,11955 ----
***************
*** 14983,14998 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_socket=yes
  else
--- 11967,11982 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:11970: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:11973: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:11976: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:11979: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_socket=yes
  else
***************
*** 15002,15008 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
  echo "${ECHO_T}$ac_cv_func_socket" >&6
  if test $ac_cv_func_socket = yes; then
    :
--- 11986,11992 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:11989: result: $ac_cv_func_socket" >&5
  echo "${ECHO_T}$ac_cv_func_socket" >&6
  if test $ac_cv_func_socket = yes; then
    :
***************
*** 15011,15071 ****
  fi
  
  if test $ok_so_far = yes; then
!   if test "${ac_cv_header_netinet_in_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for netinet/in.h" >&5
  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
  if test "${ac_cv_header_netinet_in_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
- echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
- echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <netinet/in.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
! echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <netinet/in.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 11995,12017 ----
  fi
  
  if test $ok_so_far = yes; then
!   echo "$as_me:11998: checking for netinet/in.h" >&5
  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
  if test "${ac_cv_header_netinet_in_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 12004 "configure"
  #include "confdefs.h"
  #include <netinet/in.h>
  _ACEOF
! if { (eval echo "$as_me:12008: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:12014: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 15076,15181 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by 
the preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for netinet/in.h" >&5
- echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
- if test "${ac_cv_header_netinet_in_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_netinet_in_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
- 
- fi
  if test $ac_cv_header_netinet_in_h = yes; then
    :
  else
    ok_so_far=no
  fi
  
- 
  fi
  if test $ok_so_far = yes; then
!   if test "${ac_cv_header_arpa_inet_h+set}" = set; then
!   echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
- echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
- echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <arpa/inet.h>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
! echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <arpa/inet.h>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 12022,12062 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_netinet_in_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_netinet_in_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:12033: result: $ac_cv_header_netinet_in_h" >&5
  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
  if test $ac_cv_header_netinet_in_h = yes; then
    :
  else
    ok_so_far=no
  fi
  
  fi
  if test $ok_so_far = yes; then
!   echo "$as_me:12043: checking for arpa/inet.h" >&5
  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 12049 "configure"
  #include "confdefs.h"
  #include <arpa/inet.h>
  _ACEOF
! if { (eval echo "$as_me:12053: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:12059: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 15186,15281 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's 
result" >&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's 
result" >&2;};;
- esac
- echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
- echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
- if test "${ac_cv_header_arpa_inet_h+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_cv_header_arpa_inet_h=$ac_header_preproc
  fi
! echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
- 
- fi
  if test $ac_cv_header_arpa_inet_h = yes; then
    :
  else
    ok_so_far=no
  fi
  
- 
  fi
  if test $ok_so_far = yes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_INET_SOCKETS 1
! _ACEOF
  
  fi
  
  if test -f /usr/lpp/X11/bin/smt.exp; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_AIX_SMT_EXP 1
! _ACEOF
  
  fi
  
! echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
!   echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_DEV_PTMX 1
! _ACEOF
  
  else
!   echo "$as_me:$LINENO: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
! echo "$as_me:$LINENO: checking for pid_t" >&5
  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
  if test "${ac_cv_type_pid_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  $ac_includes_default
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 12067,12129 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_cv_header_arpa_inet_h=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_cv_header_arpa_inet_h=no
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:12078: result: $ac_cv_header_arpa_inet_h" >&5
  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
  if test $ac_cv_header_arpa_inet_h = yes; then
    :
  else
    ok_so_far=no
  fi
  
  fi
  if test $ok_so_far = yes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_INET_SOCKETS 1
! EOF
  
  fi
  
  if test -f /usr/lpp/X11/bin/smt.exp; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_AIX_SMT_EXP 1
! EOF
  
  fi
  
! echo "$as_me:12103: checking whether system supports dynamic ptys" >&5
  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
!   echo "$as_me:12106: result: yes" >&5
  echo "${ECHO_T}yes" >&6
  
! cat >>confdefs.h <<\EOF
  #define HAVE_DEV_PTMX 1
! EOF
  
  else
!   echo "$as_me:12114: result: no" >&5
  echo "${ECHO_T}no" >&6
  fi
  
! echo "$as_me:12118: checking for pid_t" >&5
  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
  if test "${ac_cv_type_pid_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 12124 "configure"
  #include "confdefs.h"
  $ac_includes_default
  int
  main ()
  {
***************
*** 15288,15303 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_pid_t=yes
  else
--- 12136,12151 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:12139: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:12142: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:12145: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:12148: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_pid_t=yes
  else
***************
*** 15307,15384 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
  if test $ac_cv_type_pid_t = yes; then
    :
  else
  
! cat >>confdefs.h <<_ACEOF
  #define pid_t int
! _ACEOF
  
  fi
  
- 
- 
  for ac_header in unistd.h vfork.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 12155,12192 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:12158: result: $ac_cv_type_pid_t" >&5
  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
  if test $ac_cv_type_pid_t = yes; then
    :
  else
  
! cat >>confdefs.h <<EOF
  #define pid_t int
! EOF
  
  fi
  
  for ac_header in unistd.h vfork.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:12173: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 12179 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:12183: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:12189: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 15389,15451 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
  fi
- 
  done
  
- 
- 
  for ac_func in fork vfork
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
--- 12197,12230 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:12208: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  for ac_func in fork vfork
  do
  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:12221: checking for $ac_func" >&5
  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  if eval "test \"\${$as_ac_var+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 12227 "configure"
  #include "confdefs.h"
  /* System header to define __stub macros and hopefully few prototypes,
      which can conflict with char $ac_func (); below.  */
***************
*** 15459,15470 ****
  char $ac_func ();
  char (*f) ();
  
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 12238,12243 ----
***************
*** 15482,15497 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
--- 12255,12270 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:12258: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:12261: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest$ac_exeext'
!   { (eval echo "$as_me:12264: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:12267: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    eval "$as_ac_var=yes"
  else
***************
*** 15501,15519 ****
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
  
  fi
  done
  
  ac_cv_func_fork_works=$ac_cv_func_fork
  if test "x$ac_cv_func_fork" = xyes; then
!   echo "$as_me:$LINENO: checking for working fork" >&5
  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
  if test "${ac_cv_func_fork_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12274,12292 ----
  fi
  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  fi
! echo "$as_me:12277: result: `eval echo '${'$as_ac_var'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  if test `eval echo '${'$as_ac_var'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! EOF
  
  fi
  done
  
  ac_cv_func_fork_works=$ac_cv_func_fork
  if test "x$ac_cv_func_fork" = xyes; then
!   echo "$as_me:12289: checking for working fork" >&5
  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
  if test "${ac_cv_func_fork_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 15522,15528 ****
    ac_cv_func_fork_works=cross
  else
    cat >conftest.$ac_ext <<_ACEOF
! /* By Ruediger Kuhlmann. */
        #include <sys/types.h>
        #if HAVE_UNISTD_H
        # include <unistd.h>
--- 12295,12301 ----
    ac_cv_func_fork_works=cross
  else
    cat >conftest.$ac_ext <<_ACEOF
! /* By Rüdiger Kuhlmann. */
        #include <sys/types.h>
        #if HAVE_UNISTD_H
        # include <unistd.h>
***************
*** 15536,15563 ****
        }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_fork_works=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_func_fork_works=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
  
  fi
--- 12309,12335 ----
        }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:12312: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:12315: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:12317: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:12320: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_fork_works=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_func_fork_works=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:12332: result: $ac_cv_func_fork_works" >&5
  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
  
  fi
***************
*** 15571,15582 ****
        ac_cv_func_fork_works=yes
        ;;
    esac
!   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed 
because of cross compilation" >&5
! echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross 
compilation" >&2;}
  fi
  ac_cv_func_vfork_works=$ac_cv_func_vfork
  if test "x$ac_cv_func_vfork" = xyes; then
!   echo "$as_me:$LINENO: checking for working vfork" >&5
  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
  if test "${ac_cv_func_vfork_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
--- 12343,12354 ----
        ac_cv_func_fork_works=yes
        ;;
    esac
!   { echo "$as_me:12346: WARNING: CROSS: Result $ac_cv_func_fork_works guessed 
due to cross-compiling." >&5
! echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to 
cross-compiling." >&2;}
  fi
  ac_cv_func_vfork_works=$ac_cv_func_vfork
  if test "x$ac_cv_func_vfork" = xyes; then
!   echo "$as_me:12351: checking for working vfork" >&5
  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
  if test "${ac_cv_func_vfork_works+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
***************
*** 15585,15591 ****
    ac_cv_func_vfork_works=cross
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  /* Thanks to Paul Eggert for this test.  */
  #include <stdio.h>
--- 12357,12363 ----
    ac_cv_func_vfork_works=cross
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 12360 "configure"
  #include "confdefs.h"
  /* Thanks to Paul Eggert for this test.  */
  #include <stdio.h>
***************
*** 15682,15756 ****
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_vfork_works=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
- ( exit $ac_status )
  ac_cv_func_vfork_works=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
  
  fi;
  if test "x$ac_cv_func_fork_works" = xcross; then
    ac_cv_func_vfork_works=ac_cv_func_vfork
!   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed 
because of cross compilation" >&5
! echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of 
cross compilation" >&2;}
  fi
  
  if test "x$ac_cv_func_vfork_works" = xyes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_WORKING_VFORK 1
! _ACEOF
  
  else
  
! cat >>confdefs.h <<\_ACEOF
  #define vfork fork
! _ACEOF
  
  fi
  if test "x$ac_cv_func_fork_works" = xyes; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_WORKING_FORK 1
! _ACEOF
  
  fi
  
- 
  # Fixme: This should be replaced when we have autoconf 2.14.
! echo "$as_me:$LINENO: checking for size_t" >&5
  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  if test "${ac_cv_type_size_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  $ac_includes_default
- #ifdef F77_DUMMY_MAIN
- #  ifdef __cplusplus
-      extern "C"
- #  endif
-    int F77_DUMMY_MAIN() { return 1; }
- #endif
  int
  main ()
  {
--- 12454,12520 ----
  }
  _ACEOF
  rm -f conftest$ac_exeext
! if { (eval echo "$as_me:12457: \"$ac_link\"") >&5
    (eval $ac_link) 2>&5
    ac_status=$?
!   echo "$as_me:12460: \$? = $ac_status" >&5
    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
!   { (eval echo "$as_me:12462: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:12465: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_func_vfork_works=yes
  else
    echo "$as_me: program exited with status $ac_status" >&5
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_func_vfork_works=no
  fi
  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext 
conftest.$ac_ext
  fi
  fi
! echo "$as_me:12477: result: $ac_cv_func_vfork_works" >&5
  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
  
  fi;
  if test "x$ac_cv_func_fork_works" = xcross; then
    ac_cv_func_vfork_works=ac_cv_func_vfork
!   { echo "$as_me:12483: WARNING: CROSS: Result $ac_cv_func_vfork_works 
guessed due to cross-compiling." >&5
! echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to 
cross-compiling." >&2;}
  fi
  
  if test "x$ac_cv_func_vfork_works" = xyes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_WORKING_VFORK 1
! EOF
  
  else
  
! cat >>confdefs.h <<\EOF
  #define vfork fork
! EOF
  
  fi
  if test "x$ac_cv_func_fork_works" = xyes; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_WORKING_FORK 1
! EOF
  
  fi
  
  # Fixme: This should be replaced when we have autoconf 2.14.
! echo "$as_me:12509: checking for size_t" >&5
  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  if test "${ac_cv_type_size_t+set}" = set; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
    cat >conftest.$ac_ext <<_ACEOF
! #line 12515 "configure"
  #include "confdefs.h"
  $ac_includes_default
  int
  main ()
  {
***************
*** 15763,15778 ****
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_size_t=yes
  else
--- 12527,12542 ----
  }
  _ACEOF
  rm -f conftest.$ac_objext
! if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5
    (eval $ac_compile) 2>&5
    ac_status=$?
!   echo "$as_me:12533: \$? = $ac_status" >&5
    (exit $ac_status); } &&
           { ac_try='test -s conftest.$ac_objext'
!   { (eval echo "$as_me:12536: \"$ac_try\"") >&5
    (eval $ac_try) 2>&5
    ac_status=$?
!   echo "$as_me:12539: \$? = $ac_status" >&5
    (exit $ac_status); }; }; then
    ac_cv_type_size_t=yes
  else
***************
*** 15782,15800 ****
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  echo "${ECHO_T}$ac_cv_type_size_t" >&6
  if test $ac_cv_type_size_t = yes; then
    :
  else
  
! cat >>confdefs.h <<_ACEOF
  #define size_t unsigned
! _ACEOF
  
  fi
  
- 
  # Set up the CFLAGS for real compilation, so we can substitute it.
  CFLAGS="$REAL_CFLAGS"
  CPPFLAGS="$REAL_CPPFLAGS"
--- 12546,12563 ----
  fi
  rm -f conftest.$ac_objext conftest.$ac_ext
  fi
! echo "$as_me:12549: result: $ac_cv_type_size_t" >&5
  echo "${ECHO_T}$ac_cv_type_size_t" >&6
  if test $ac_cv_type_size_t = yes; then
    :
  else
  
! cat >>confdefs.h <<EOF
  #define size_t unsigned
! EOF
  
  fi
  
  # Set up the CFLAGS for real compilation, so we can substitute it.
  CFLAGS="$REAL_CFLAGS"
  CPPFLAGS="$REAL_CPPFLAGS"
***************
*** 15803,15809 ****
  version=`grep 'defconst[       ]*emacs-version' ${srcdir}/lisp/version.el \
         | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
  if test x"${version}" = x; then
!   { { echo "$as_me:$LINENO: error: can't find current emacs version in 
\`${srcdir}/lisp/version.el'." >&5
  echo "$as_me: error: can't find current emacs version in 
\`${srcdir}/lisp/version.el'." >&2;}
     { (exit 1); exit 1; }; }
  fi
--- 12566,12572 ----
  version=`grep 'defconst[       ]*emacs-version' ${srcdir}/lisp/version.el \
         | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
  if test x"${version}" = x; then
!   { { echo "$as_me:12569: error: can't find current emacs version in 
\`${srcdir}/lisp/version.el'." >&5
  echo "$as_me: error: can't find current emacs version in 
\`${srcdir}/lisp/version.el'." >&2;}
     { (exit 1); exit 1; }; }
  fi
***************
*** 15811,15998 ****
  ### Specify what sort of things we'll be editing into Makefile and config.h.
  ### Use configuration here uncanonicalized to avoid exceeding size limits.
  
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! 
! cat >>confdefs.h <<_ACEOF
  #define EMACS_CONFIGURATION "${canonical}"
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define config_machfile "${machfile}"
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define config_opsysfile "${opsysfile}"
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
! _ACEOF
! 
  
! cat >>confdefs.h <<_ACEOF
  #define UNEXEC_SRC ${UNEXEC_SRC}
! _ACEOF
! 
  
  if test "${HAVE_X_WINDOWS}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X_WINDOWS 1
! _ACEOF
  
  fi
  if test "${USE_X_TOOLKIT}" != "none" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define USE_X_TOOLKIT 1
! _ACEOF
  
  fi
  if test "${HAVE_X11}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_X11 1
! _ACEOF
  
  fi
  if test "${HAVE_XFREE386}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_XFREE386 1
! _ACEOF
  
  fi
  if test "${HAVE_MENUS}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define HAVE_MENUS 1
! _ACEOF
  
  fi
  if test "${GNU_MALLOC}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define GNU_MALLOC 1
! _ACEOF
  
  fi
  if test "${REL_ALLOC}" = "yes" ; then
  
! cat >>confdefs.h <<\_ACEOF
  #define REL_ALLOC 1
! _ACEOF
  
  fi
  
- 
  for ac_header in nlist.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
!   echo "$as_me:$LINENO: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
- fi
- echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- else
-   # Is the header compilable?
- echo "$as_me:$LINENO: checking $ac_header usability" >&5
- echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
- $ac_includes_default
- #include <$ac_header>
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-   (eval $ac_compile) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); } &&
-          { ac_try='test -s conftest.$ac_objext'
-   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-   (eval $ac_try) 2>&5
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
-   ac_header_compiler=yes
  else
!   echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
! 
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
--- 12574,12681 ----
  ### Specify what sort of things we'll be editing into Makefile and config.h.
  ### Use configuration here uncanonicalized to avoid exceeding size limits.
  
! cat >>confdefs.h <<EOF
  #define EMACS_CONFIGURATION "${canonical}"
! EOF
  
! cat >>confdefs.h <<EOF
  #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
! EOF
  
! cat >>confdefs.h <<EOF
  #define config_machfile "${machfile}"
! EOF
  
! cat >>confdefs.h <<EOF
  #define config_opsysfile "${opsysfile}"
! EOF
  
! cat >>confdefs.h <<EOF
  #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
! EOF
  
! cat >>confdefs.h <<EOF
  #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
! EOF
  
! cat >>confdefs.h <<EOF
  #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
! EOF
  
! cat >>confdefs.h <<EOF
  #define UNEXEC_SRC ${UNEXEC_SRC}
! EOF
  
  if test "${HAVE_X_WINDOWS}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X_WINDOWS 1
! EOF
  
  fi
  if test "${USE_X_TOOLKIT}" != "none" ; then
  
! cat >>confdefs.h <<\EOF
  #define USE_X_TOOLKIT 1
! EOF
  
  fi
  if test "${HAVE_X11}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_X11 1
! EOF
  
  fi
  if test "${HAVE_XFREE386}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_XFREE386 1
! EOF
  
  fi
  if test "${HAVE_MENUS}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define HAVE_MENUS 1
! EOF
  
  fi
  if test "${GNU_MALLOC}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define GNU_MALLOC 1
! EOF
  
  fi
  if test "${REL_ALLOC}" = "yes" ; then
  
! cat >>confdefs.h <<\EOF
  #define REL_ALLOC 1
! EOF
  
  fi
  
  for ac_header in nlist.h
  do
  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:12662: checking for $ac_header" >&5
  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  if eval "test \"\${$as_ac_Header+set}\" = set"; then
    echo $ECHO_N "(cached) $ECHO_C" >&6
  else
!   cat >conftest.$ac_ext <<_ACEOF
! #line 12668 "configure"
  #include "confdefs.h"
  #include <$ac_header>
  _ACEOF
! if { (eval echo "$as_me:12672: \"$ac_cpp conftest.$ac_ext\"") >&5
    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    ac_status=$?
    egrep -v '^ *\+' conftest.er1 >conftest.err
    rm -f conftest.er1
    cat conftest.err >&5
!   echo "$as_me:12678: \$? = $ac_status" >&5
    (exit $ac_status); } >/dev/null; then
    if test -s conftest.err; then
      ac_cpp_err=$ac_c_preproc_warn_flag
***************
*** 16003,16062 ****
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   ac_header_preproc=yes
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   ac_header_preproc=no
  fi
  rm -f conftest.err conftest.$ac_ext
- echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- echo "${ECHO_T}$ac_header_preproc" >&6
- 
- # So?  What about this header?
- case $ac_header_compiler:$ac_header_preproc in
-   yes:no )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, 
rejected by the preprocessor!" >&5
- echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the 
preprocessor!" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
-   no:yes )
-     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be 
compiled" >&5
- echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing 
prerequisite headers?" >&5
- echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" 
>&2;}
-     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the 
preprocessor's result" >&5
- echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" 
>&2;};;
- esac
- echo "$as_me:$LINENO: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   eval "$as_ac_Header=$ac_header_preproc"
  fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- 
- fi
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
  
! cat >>confdefs.h <<\_ACEOF
  #define NLIST_STRUCT 1
! _ACEOF
  
  fi
- 
  done
  
- 
- 
- 
- 
- 
  #### Report on what we decided to do.
  echo "
  Configured for \`${canonical}'.
--- 12686,12713 ----
    ac_cpp_err=yes
  fi
  if test -z "$ac_cpp_err"; then
!   eval "$as_ac_Header=yes"
  else
    echo "$as_me: failed program was:" >&5
    cat conftest.$ac_ext >&5
!   eval "$as_ac_Header=no"
  fi
  rm -f conftest.err conftest.$ac_ext
  fi
! echo "$as_me:12697: result: `eval echo '${'$as_ac_Header'}'`" >&5
  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  if test `eval echo '${'$as_ac_Header'}'` = yes; then
!   cat >>confdefs.h <<EOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! EOF
  
! cat >>confdefs.h <<\EOF
  #define NLIST_STRUCT 1
! EOF
  
  fi
  done
  
  #### Report on what we decided to do.
  echo "
  Configured for \`${canonical}'.
***************
*** 16104,16110 ****
  ## C preprocessor.
  
  cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
  #include "confdefs.h"
  yes..yes
  _ACEOF
--- 12755,12761 ----
  ## C preprocessor.
  
  cat >conftest.$ac_ext <<_ACEOF
! #line 12758 "configure"
  #include "confdefs.h"
  yes..yes
  _ACEOF
***************
*** 16116,16122 ****
  fi
  rm -f conftest*
  
- 
  ac_config_files="$ac_config_files Makefile 
lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile 
lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile 
lispintro/Makefile leim/Makefile"
  ac_config_commands="$ac_config_commands default"
  cat >confcache <<\_ACEOF
--- 12767,12772 ----
***************
*** 16195,16223 ****
  
  DEFS=-DHAVE_CONFIG_H
  
- 
  : ${CONFIG_STATUS=./config.status}
  ac_clean_files_save=$ac_clean_files
  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  echo "$as_me: creating $CONFIG_STATUS" >&6;}
  cat >$CONFIG_STATUS <<_ACEOF
  #! $SHELL
! # Generated by $as_me.
  # Run this file to recreate the current configuration.
  # Compiler output produced by configure, useful for debugging
  # configure, is in config.log if it exists.
  
  debug=false
  SHELL=\${CONFIG_SHELL-$SHELL}
  _ACEOF
  
  cat >>$CONFIG_STATUS <<\_ACEOF
- 
- ## --------------------- ##
- ## M4sh Initialization.  ##
- ## --------------------- ##
- 
  # Be Bourne compatible
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    emulate sh
--- 12845,12869 ----
  
  DEFS=-DHAVE_CONFIG_H
  
  : ${CONFIG_STATUS=./config.status}
  ac_clean_files_save=$ac_clean_files
  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { echo "$as_me:12851: creating $CONFIG_STATUS" >&5
  echo "$as_me: creating $CONFIG_STATUS" >&6;}
  cat >$CONFIG_STATUS <<_ACEOF
  #! $SHELL
! # Generated automatically by configure.
  # Run this file to recreate the current configuration.
  # Compiler output produced by configure, useful for debugging
  # configure, is in config.log if it exists.
  
  debug=false
  SHELL=\${CONFIG_SHELL-$SHELL}
+ ac_cs_invocation="\$0 \$@"
+ 
  _ACEOF
  
  cat >>$CONFIG_STATUS <<\_ACEOF
  # Be Bourne compatible
  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    emulate sh
***************
*** 16226,16392 ****
    set -o posix
  fi
  
- # NLS nuisances.
- # Support unset when possible.
- if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
-   as_unset=unset
- else
-   as_unset=false
- fi
- 
- (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
-     { $as_unset LANG || test "${LANG+set}" != set; } ||
-       { LANG=C; export LANG; }
- (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
-     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
-       { LC_ALL=C; export LC_ALL; }
- (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
-     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
-       { LC_TIME=C; export LC_TIME; }
- (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
-     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
-       { LC_CTYPE=C; export LC_CTYPE; }
- (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
-     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
-       { LANGUAGE=C; export LANGUAGE; }
- (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
-     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
-       { LC_COLLATE=C; export LC_COLLATE; }
- (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
-     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
-       { LC_NUMERIC=C; export LC_NUMERIC; }
- (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
-     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
-       { LC_MESSAGES=C; export LC_MESSAGES; }
- 
- 
  # Name of the executable.
! as_me=`(basename "$0") 2>/dev/null ||
! $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
!        X"$0" : 'X\(//\)$' \| \
!        X"$0" : 'X\(/\)$' \| \
!        .     : '\(.\)' 2>/dev/null ||
! echo X/"$0" |
!     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
!         /^X\/\(\/\/\)$/{ s//\1/; q; }
!         /^X\/\(\/\).*/{ s//\1/; q; }
!         s/.*/./; q'`
! 
! # PATH needs CR, and LINENO needs CR and PATH.
! # Avoid depending upon Character Ranges.
! as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! as_cr_digits='0123456789'
! as_cr_alnum=$as_cr_Letters$as_cr_digits
! 
! # The user is always right.
! if test "${PATH_SEPARATOR+set}" != set; then
!   echo "#! /bin/sh" >conftest.sh
!   echo  "exit 0"   >>conftest.sh
!   chmod +x conftest.sh
!   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
!     PATH_SEPARATOR=';'
!   else
!     PATH_SEPARATOR=:
!   fi
!   rm -f conftest.sh
! fi
! 
! 
!   as_lineno_1=$LINENO
!   as_lineno_2=$LINENO
!   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
!   test "x$as_lineno_1" != "x$as_lineno_2" &&
!   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
!   # Find who we are.  Look in the path if we contain no path at all
!   # relative or not.
!   case $0 in
!     *[\\/]* ) as_myself=$0 ;;
!     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! done
! 
!        ;;
!   esac
!   # We did not find ourselves, most probably we were run as `sh COMMAND'
!   # in which case we are not to be found in the path.
!   if test "x$as_myself" = x; then
!     as_myself=$0
!   fi
!   if test ! -f "$as_myself"; then
!     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an 
absolute path" >&5
! echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
!    { (exit 1); exit 1; }; }
!   fi
!   case $CONFIG_SHELL in
!   '')
!     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! do
!   IFS=$as_save_IFS
!   test -z "$as_dir" && as_dir=.
!   for as_base in sh bash ksh sh5; do
!        case $as_dir in
!        /*)
!          if ("$as_dir/$as_base" -c '
!   as_lineno_1=$LINENO
!   as_lineno_2=$LINENO
!   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
!   test "x$as_lineno_1" != "x$as_lineno_2" &&
!   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
!            CONFIG_SHELL=$as_dir/$as_base
!            export CONFIG_SHELL
!            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
!          fi;;
!        esac
!        done
! done
! ;;
!   esac
! 
!   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
!   # uniformly replaced by the line number.  The first 'sed' inserts a
!   # line-number line before each line; the second 'sed' does the real
!   # work.  The second script uses 'N' to pair each line-number line
!   # with the numbered line, and appends trailing '-' during
!   # substitution so that $LINENO is not a special case at line end.
!   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
!   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
!   sed '=' <$as_myself |
!     sed '
!       N
!       s,$,-,
!       : loop
!       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
!       t loop
!       s,-$,,
!       s,^['$as_cr_digits']*\n,,
!     ' >$as_me.lineno &&
!   chmod +x $as_me.lineno ||
!     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with 
a POSIX shell" >&5
! echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" 
>&2;}
!    { (exit 1); exit 1; }; }
! 
!   # Don't try to exec as it changes $[0], causing all sort of problems
!   # (the dirname of $[0] is not the place where we might find the
!   # original and so on.  Autoconf is especially sensible to this).
!   . ./$as_me.lineno
!   # Exit status is that of the last command.
!   exit
! }
! 
! 
! case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
!   *c*,-n*) ECHO_N= ECHO_C='
! ' ECHO_T='    ' ;;
!   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
!   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
! esac
  
  if expr a : '\(a\)' >/dev/null 2>&1; then
    as_expr=expr
--- 12872,12879 ----
    set -o posix
  fi
  
  # Name of the executable.
! as_me=`echo "$0" |sed 's,.*[\\/],,'`
  
  if expr a : '\(a\)' >/dev/null 2>&1; then
    as_expr=expr
***************
*** 16414,16425 ****
  
  as_executable_p="test -f"
  
! # Sed expression to map a string onto a valid CPP name.
! as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 
! # Sed expression to map a string onto a valid variable name.
! as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  
  
  # IFS
  # We need space, tab and new line, in precisely that order.
--- 12901,12922 ----
  
  as_executable_p="test -f"
  
! # Support unset when possible.
! if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
!   as_unset=unset
! else
!   as_unset=false
! fi
  
+ # NLS nuisances.
+ $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
+ $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; 
}
+ $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export 
LC_TIME; }
+ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export 
LC_CTYPE; }
+ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export 
LANGUAGE; }
+ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; 
export LC_COLLATE; }
+ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; 
export LC_NUMERIC; }
+ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; 
export LC_MESSAGES; }
  
  # IFS
  # We need space, tab and new line, in precisely that order.
***************
*** 16428,16461 ****
  IFS="         $as_nl"
  
  # CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; 
export CDPATH; }
  
  exec 6>&1
  
- # Open the log real soon, to keep \$[0] and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.  Logging --version etc. is OK.
- exec 5>>config.log
- {
-   echo
-   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- } >&5
- cat >&5 <<_CSEOF
- 
- This file was extended by $as_me, which was
- generated by GNU Autoconf 2.53.  Invocation command line was
- 
-   CONFIG_FILES    = $CONFIG_FILES
-   CONFIG_HEADERS  = $CONFIG_HEADERS
-   CONFIG_LINKS    = $CONFIG_LINKS
-   CONFIG_COMMANDS = $CONFIG_COMMANDS
-   $ $0 $@
- 
- _CSEOF
- echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
- echo >&5
  _ACEOF
  
  # Files that config.status was made for.
--- 12925,12934 ----
  IFS="         $as_nl"
  
  # CDPATH.
! $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; 
}
  
  exec 6>&1
  
  _ACEOF
  
  # Files that config.status was made for.
***************
*** 16475,16481 ****
    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  fi
  
! cat >>$CONFIG_STATUS <<\_ACEOF
  
  ac_cs_usage="\
  \`$as_me' instantiates files from templates according to the
--- 12948,12954 ----
    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  fi
  
! cat >>$CONFIG_STATUS <<\EOF
  
  ac_cs_usage="\
  \`$as_me' instantiates files from templates according to the
***************
*** 16502,16513 ****
  $config_commands
  
  Report bugs to <address@hidden>."
! _ACEOF
  
! cat >>$CONFIG_STATUS <<_ACEOF
  ac_cs_version="\\
  config.status
! configured by $0, generated by GNU Autoconf 2.53,
    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  
  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
--- 12975,12986 ----
  $config_commands
  
  Report bugs to <address@hidden>."
! EOF
  
! cat >>$CONFIG_STATUS <<EOF
  ac_cs_version="\\
  config.status
! configured by $0, generated by GNU Autoconf 2.52,
    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  
  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
***************
*** 16516,16524 ****
  gives unlimited permission to copy, distribute and modify it."
  srcdir=$srcdir
  INSTALL="$INSTALL"
! _ACEOF
  
! cat >>$CONFIG_STATUS <<\_ACEOF
  # If no file are specified by the user, then we need to provide default
  # value.  By we need to know if files were specified by the user.
  ac_need_defaults=:
--- 12989,12997 ----
  gives unlimited permission to copy, distribute and modify it."
  srcdir=$srcdir
  INSTALL="$INSTALL"
! EOF
  
! cat >>$CONFIG_STATUS <<\EOF
  # If no file are specified by the user, then we need to provide default
  # value.  By we need to know if files were specified by the user.
  ac_need_defaults=:
***************
*** 16540,16557 ****
  
    case $1 in
    # Handling of the options.
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
    --version | --vers* | -V )
      echo "$ac_cs_version"; exit 0 ;;
    --he | --h)
      # Conflict between --help and --header
!     { { echo "$as_me:$LINENO: error: ambiguous option: $1
  Try \`$0 --help' for more information." >&5
  echo "$as_me: error: ambiguous option: $1
  Try \`$0 --help' for more information." >&2;}
--- 13013,13030 ----
  
    case $1 in
    # Handling of the options.
! EOF
! cat >>$CONFIG_STATUS <<EOF
    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! EOF
! cat >>$CONFIG_STATUS <<\EOF
    --version | --vers* | -V )
      echo "$ac_cs_version"; exit 0 ;;
    --he | --h)
      # Conflict between --help and --header
!     { { echo "$as_me:13027: error: ambiguous option: $1
  Try \`$0 --help' for more information." >&5
  echo "$as_me: error: ambiguous option: $1
  Try \`$0 --help' for more information." >&2;}
***************
*** 16570,16576 ****
      ac_need_defaults=false;;
  
    # This is an error.
!   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  Try \`$0 --help' for more information." >&5
  echo "$as_me: error: unrecognized option: $1
  Try \`$0 --help' for more information." >&2;}
--- 13043,13049 ----
      ac_need_defaults=false;;
  
    # This is an error.
!   -*) { { echo "$as_me:13046: error: unrecognized option: $1
  Try \`$0 --help' for more information." >&5
  echo "$as_me: error: unrecognized option: $1
  Try \`$0 --help' for more information." >&2;}
***************
*** 16582,16601 ****
    shift
  done
  
  _ACEOF
  
! cat >>$CONFIG_STATUS <<_ACEOF
  #
  # INIT-COMMANDS section.
  #
  
  GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" 
CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
  
! _ACEOF
! 
  
! 
! cat >>$CONFIG_STATUS <<\_ACEOF
  for ac_config_target in $ac_config_targets
  do
    case "$ac_config_target" in
--- 13055,13088 ----
    shift
  done
  
+ exec 5>>config.log
+ cat >&5 << _ACEOF
+ 
+ ## ----------------------- ##
+ ## Running config.status.  ##
+ ## ----------------------- ##
+ 
+ This file was extended by $as_me 2.52, executed with
+   CONFIG_FILES    = $CONFIG_FILES
+   CONFIG_HEADERS  = $CONFIG_HEADERS
+   CONFIG_LINKS    = $CONFIG_LINKS
+   CONFIG_COMMANDS = $CONFIG_COMMANDS
+   > $ac_cs_invocation
+ on `(hostname || uname -n) 2>/dev/null | sed 1q`
+ 
  _ACEOF
+ EOF
  
! cat >>$CONFIG_STATUS <<EOF
  #
  # INIT-COMMANDS section.
  #
  
  GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" 
CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
  
! EOF
  
! cat >>$CONFIG_STATUS <<\EOF
  for ac_config_target in $ac_config_targets
  do
    case "$ac_config_target" in
***************
*** 16612,16618 ****
    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS 
src/config.h:src/config.in" ;;
!   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     { (exit 1); exit 1; }; };;
    esac
--- 13099,13105 ----
    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS 
src/config.h:src/config.in" ;;
!   *) { { echo "$as_me:13102: error: invalid argument: $ac_config_target" >&5
  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     { (exit 1); exit 1; }; };;
    esac
***************
*** 16650,16658 ****
     { (exit 1); exit 1; }
  }
  
! _ACEOF
  
! cat >>$CONFIG_STATUS <<_ACEOF
  
  #
  # CONFIG_FILES section.
--- 13137,13145 ----
     { (exit 1); exit 1; }
  }
  
! EOF
  
! cat >>$CONFIG_STATUS <<EOF
  
  #
  # CONFIG_FILES section.
***************
*** 16665,16676 ****
    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  s,@SHELL@,$SHELL,;t t
- s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
- s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
- s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
- s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
- s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
- s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  s,@exec_prefix@,$exec_prefix,;t t
  s,@prefix@,$prefix,;t t
  s,@program_transform_name@,$program_transform_name,;t t
--- 13152,13157 ----
***************
*** 16686,16698 ****
  s,@oldincludedir@,$oldincludedir,;t t
  s,@infodir@,$infodir,;t t
  s,@mandir@,$mandir,;t t
  s,@build_alias@,$build_alias,;t t
  s,@host_alias@,$host_alias,;t t
  s,@target_alias@,$target_alias,;t t
- s,@DEFS@,$DEFS,;t t
  s,@ECHO_C@,$ECHO_C,;t t
  s,@ECHO_N@,$ECHO_N,;t t
  s,@ECHO_T@,$ECHO_T,;t t
  s,@LIBS@,$LIBS,;t t
  s,@build@,$build,;t t
  s,@build_cpu@,$build_cpu,;t t
--- 13167,13185 ----
  s,@oldincludedir@,$oldincludedir,;t t
  s,@infodir@,$infodir,;t t
  s,@mandir@,$mandir,;t t
+ s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+ s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+ s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  s,@build_alias@,$build_alias,;t t
  s,@host_alias@,$host_alias,;t t
  s,@target_alias@,$target_alias,;t t
  s,@ECHO_C@,$ECHO_C,;t t
  s,@ECHO_N@,$ECHO_N,;t t
  s,@ECHO_T@,$ECHO_T,;t t
+ s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+ s,@DEFS@,$DEFS,;t t
  s,@LIBS@,$LIBS,;t t
  s,@build@,$build,;t t
  s,@build_cpu@,$build_cpu,;t t
***************
*** 16749,16757 ****
  s,@opsysfile@,$opsysfile,;t t
  CEOF
  
! _ACEOF
  
!   cat >>$CONFIG_STATUS <<\_ACEOF
    # Split the substitutions into bite-sized pieces for seds with
    # small command number limits, like on Digital OSF/1 and HP-UX.
    ac_max_sed_lines=48
--- 13236,13244 ----
  s,@opsysfile@,$opsysfile,;t t
  CEOF
  
! EOF
  
!   cat >>$CONFIG_STATUS <<\EOF
    # Split the substitutions into bite-sized pieces for seds with
    # small command number limits, like on Digital OSF/1 and HP-UX.
    ac_max_sed_lines=48
***************
*** 16790,16797 ****
    fi
  fi # test -n "$CONFIG_FILES"
  
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    case $ac_file in
--- 13277,13284 ----
    fi
  fi # test -n "$CONFIG_FILES"
  
! EOF
! cat >>$CONFIG_STATUS <<\EOF
  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    case $ac_file in
***************
*** 16805,16812 ****
    esac
  
    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
!   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
           X"$ac_file" : 'X\(//\)[^/]' \| \
           X"$ac_file" : 'X\(//\)$' \| \
           X"$ac_file" : 'X\(/\)' \| \
--- 13292,13298 ----
    esac
  
    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
!   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
           X"$ac_file" : 'X\(//\)[^/]' \| \
           X"$ac_file" : 'X\(//\)$' \| \
           X"$ac_file" : 'X\(/\)' \| \
***************
*** 16817,16823 ****
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
!   { case "$ac_dir" in
    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    *)                      as_incr_dir=.;;
  esac
--- 13303,13310 ----
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
!   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
!     { case "$ac_dir" in
    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    *)                      as_incr_dir=.;;
  esac
***************
*** 16828,16895 ****
      ?:) as_incr_dir=$as_mkdir_dir ;;
      *)
        as_incr_dir=$as_incr_dir/$as_mkdir_dir
!       test -d "$as_incr_dir" ||
!         mkdir "$as_incr_dir" ||
!       { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
!    { (exit 1); exit 1; }; }
      ;;
    esac
  done; }
  
!   ac_builddir=.
! 
! if test "$ac_dir" != .; then
!   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
!   # A "../" for each directory in $ac_dir_suffix.
!   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
!   ac_dir_suffix= ac_top_builddir=
! fi
  
! case $srcdir in
!   .)  # No --srcdir option.  We are building in place.
!     ac_srcdir=.
!     if test -z "$ac_top_builddir"; then
!        ac_top_srcdir=.
!     else
!        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
!     fi ;;
!   [\\/]* | ?:[\\/]* )  # Absolute path.
!     ac_srcdir=$srcdir$ac_dir_suffix;
!     ac_top_srcdir=$srcdir ;;
    *) # Relative path.
!     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
!     ac_top_srcdir=$ac_top_builddir$srcdir ;;
! esac
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 
  
    case $INSTALL in
    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
!   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    esac
  
    if test x"$ac_file" != x-; then
!     { echo "$as_me:$LINENO: creating $ac_file" >&5
  echo "$as_me: creating $ac_file" >&6;}
      rm -f "$ac_file"
    fi
    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
!   #    /* config.h.  Generated by config.status.  */
!   if test x"$ac_file" = x-; then
!     configure_input=
!   else
!     configure_input="$ac_file.  "
!   fi
!   configure_input=$configure_input"Generated from `echo $ac_file_in |
!                                      sed 's,.*/,,'` by configure."
  
    # First look for the input files in the build tree, otherwise in the
    # src tree.
--- 13315,13362 ----
      ?:) as_incr_dir=$as_mkdir_dir ;;
      *)
        as_incr_dir=$as_incr_dir/$as_mkdir_dir
!       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
      ;;
    esac
  done; }
  
!     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
!     # A "../" for each directory in $ac_dir_suffix.
!     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
!   else
!     ac_dir_suffix= ac_dots=
!   fi
  
!   case $srcdir in
!   .)  ac_srcdir=.
!       if test -z "$ac_dots"; then
!          ac_top_srcdir=.
!       else
!          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
!       fi ;;
!   [\\/]* | ?:[\\/]* )
!       ac_srcdir=$srcdir$ac_dir_suffix;
!       ac_top_srcdir=$srcdir ;;
    *) # Relative path.
!     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
!     ac_top_srcdir=$ac_dots$srcdir ;;
!   esac
  
    case $INSTALL in
    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
!   *) ac_INSTALL=$ac_dots$INSTALL ;;
    esac
  
    if test x"$ac_file" != x-; then
!     { echo "$as_me:13351: creating $ac_file" >&5
  echo "$as_me: creating $ac_file" >&6;}
      rm -f "$ac_file"
    fi
    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
!   #    /* config.h.  Generated automatically by config.status.  */
!   configure_input="Generated automatically from `echo $ac_file_in |
!                                                  sed 's,.*/,,'` by configure."
  
    # First look for the input files in the build tree, otherwise in the
    # src tree.
***************
*** 16899,16905 ****
        -) echo $tmp/stdin ;;
        [\\/$]*)
           # Absolute (can't be DOS-style, as IFS=:)
!          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           echo $f;;
--- 13366,13372 ----
        -) echo $tmp/stdin ;;
        [\\/$]*)
           # Absolute (can't be DOS-style, as IFS=:)
!          test -f "$f" || { { echo "$as_me:13369: error: cannot find input 
file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           echo $f;;
***************
*** 16912,16940 ****
             echo $srcdir/$f
           else
             # /dev/null tree
!            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           fi;;
        esac
      done` || { (exit 1); exit 1; }
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
    sed "$ac_vpsub
  $extrasub
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
  :t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  s,@configure_input@,$configure_input,;t t
  s,@srcdir@,$ac_srcdir,;t t
- s,@abs_srcdir@,$ac_abs_srcdir,;t t
  s,@top_srcdir@,$ac_top_srcdir,;t t
- s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
- s,@builddir@,$ac_builddir,;t t
- s,@abs_builddir@,$ac_abs_builddir,;t t
- s,@top_builddir@,$ac_top_builddir,;t t
- s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  s,@INSTALL@,$ac_INSTALL,;t t
  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    rm -f $tmp/stdin
--- 13379,13401 ----
             echo $srcdir/$f
           else
             # /dev/null tree
!            { { echo "$as_me:13382: error: cannot find input file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           fi;;
        esac
      done` || { (exit 1); exit 1; }
! EOF
! cat >>$CONFIG_STATUS <<EOF
    sed "$ac_vpsub
  $extrasub
! EOF
! cat >>$CONFIG_STATUS <<\EOF
  :t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  s,@configure_input@,$configure_input,;t t
  s,@srcdir@,$ac_srcdir,;t t
  s,@top_srcdir@,$ac_top_srcdir,;t t
  s,@INSTALL@,$ac_INSTALL,;t t
  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    rm -f $tmp/stdin
***************
*** 16946,16953 ****
    fi
  
  done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
  
  #
  # CONFIG_HEADER section.
--- 13407,13414 ----
    fi
  
  done
! EOF
! cat >>$CONFIG_STATUS <<\EOF
  
  #
  # CONFIG_HEADER section.
***************
*** 16979,16985 ****
    * )   ac_file_in=$ac_file.in ;;
    esac
  
!   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  echo "$as_me: creating $ac_file" >&6;}
  
    # First look for the input files in the build tree, otherwise in the
--- 13440,13446 ----
    * )   ac_file_in=$ac_file.in ;;
    esac
  
!   test x"$ac_file" != x- && { echo "$as_me:13443: creating $ac_file" >&5
  echo "$as_me: creating $ac_file" >&6;}
  
    # First look for the input files in the build tree, otherwise in the
***************
*** 16990,16996 ****
        -) echo $tmp/stdin ;;
        [\\/$]*)
           # Absolute (can't be DOS-style, as IFS=:)
!          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input 
file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           echo $f;;
--- 13451,13457 ----
        -) echo $tmp/stdin ;;
        [\\/$]*)
           # Absolute (can't be DOS-style, as IFS=:)
!          test -f "$f" || { { echo "$as_me:13454: error: cannot find input 
file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           echo $f;;
***************
*** 17003,17009 ****
             echo $srcdir/$f
           else
             # /dev/null tree
!            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           fi;;
--- 13464,13470 ----
             echo $srcdir/$f
           else
             # /dev/null tree
!            { { echo "$as_me:13467: error: cannot find input file: $f" >&5
  echo "$as_me: error: cannot find input file: $f" >&2;}
     { (exit 1); exit 1; }; }
           fi;;
***************
*** 17012,17018 ****
    # Remove the trailing spaces.
    sed 's/[    ]*$//' $ac_file_inputs >$tmp/in
  
! _ACEOF
  
  # Transform confdefs.h into two sed scripts, `conftest.defines' and
  # `conftest.undefs', that substitutes the proper values into
--- 13473,13479 ----
    # Remove the trailing spaces.
    sed 's/[    ]*$//' $ac_file_inputs >$tmp/in
  
! EOF
  
  # Transform confdefs.h into two sed scripts, `conftest.defines' and
  # `conftest.undefs', that substitutes the proper values into
***************
*** 17028,17043 ****
  # `end' is used to avoid that the second main sed command (meant for
  # 0-ary CPP macros) applies to n-ary macro definitions.
  # See the Autoconf documentation for `clear'.
! cat >confdef2sed.sed <<\_ACEOF
  s/[\\&,]/\\&/g
  s,[\\$`],\\&,g
  t clear
  : clear
! s,^[  ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       
]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  t end
  s,^[  ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   
]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  : end
! _ACEOF
  # If some macros were called several times there might be several times
  # the same #defines, which is useless.  Nevertheless, we may not want to
  # sort them, since we want the *last* AC-DEFINE to be honored.
--- 13489,13504 ----
  # `end' is used to avoid that the second main sed command (meant for
  # 0-ary CPP macros) applies to n-ary macro definitions.
  # See the Autoconf documentation for `clear'.
! cat >confdef2sed.sed <<\EOF
  s/[\\&,]/\\&/g
  s,[\\$`],\\&,g
  t clear
  : clear
! s,^[  ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[ 
        ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
  t end
  s,^[  ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   
]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  : end
! EOF
  # If some macros were called several times there might be several times
  # the same #defines, which is useless.  Nevertheless, we may not want to
  # sort them, since we want the *last* AC-DEFINE to be honored.
***************
*** 17048,17056 ****
  # This sed command replaces #undef with comments.  This is necessary, for
  # example, in the case of _POSIX_SOURCE, which is predefined and required
  # on some systems where configure will not decide to define it.
! cat >>conftest.undefs <<\_ACEOF
  s,^[  ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! _ACEOF
  
  # Break up conftest.defines because some shells have a limit on the size
  # of here documents, and old seds have small limits too (100 cmds).
--- 13509,13517 ----
  # This sed command replaces #undef with comments.  This is necessary, for
  # example, in the case of _POSIX_SOURCE, which is predefined and required
  # on some systems where configure will not decide to define it.
! cat >>conftest.undefs <<\EOF
  s,^[  ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! EOF
  
  # Break up conftest.defines because some shells have a limit on the size
  # of here documents, and old seds have small limits too (100 cmds).
***************
*** 17107,17130 ****
  done
  rm -f conftest.undefs
  
! cat >>$CONFIG_STATUS <<\_ACEOF
    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
!   #    /* config.h.  Generated by config.status.  */
    if test x"$ac_file" = x-; then
!     echo "/* Generated by configure.  */" >$tmp/config.h
    else
!     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    fi
    cat $tmp/in >>$tmp/config.h
    rm -f $tmp/in
    if test x"$ac_file" != x-; then
      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
!       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  echo "$as_me: $ac_file is unchanged" >&6;}
      else
!       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
           X"$ac_file" : 'X\(//\)[^/]' \| \
           X"$ac_file" : 'X\(//\)$' \| \
           X"$ac_file" : 'X\(/\)' \| \
--- 13568,13590 ----
  done
  rm -f conftest.undefs
  
! cat >>$CONFIG_STATUS <<\EOF
    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
!   #    /* config.h.  Generated automatically by config.status.  */
    if test x"$ac_file" = x-; then
!     echo "/* Generated automatically by configure.  */" >$tmp/config.h
    else
!     echo "/* $ac_file.  Generated automatically by configure.  */" 
>$tmp/config.h
    fi
    cat $tmp/in >>$tmp/config.h
    rm -f $tmp/in
    if test x"$ac_file" != x-; then
      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
!       { echo "$as_me:13584: $ac_file is unchanged" >&5
  echo "$as_me: $ac_file is unchanged" >&6;}
      else
!       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
           X"$ac_file" : 'X\(//\)[^/]' \| \
           X"$ac_file" : 'X\(//\)$' \| \
           X"$ac_file" : 'X\(/\)' \| \
***************
*** 17135,17141 ****
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
!       { case "$ac_dir" in
    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    *)                      as_incr_dir=.;;
  esac
--- 13595,13602 ----
          /^X\(\/\/\)$/{ s//\1/; q; }
          /^X\(\/\).*/{ s//\1/; q; }
          s/.*/./; q'`
!       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
!         { case "$ac_dir" in
    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    *)                      as_incr_dir=.;;
  esac
***************
*** 17146,17160 ****
      ?:) as_incr_dir=$as_mkdir_dir ;;
      *)
        as_incr_dir=$as_incr_dir/$as_mkdir_dir
!       test -d "$as_incr_dir" ||
!         mkdir "$as_incr_dir" ||
!       { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
! echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
!    { (exit 1); exit 1; }; }
      ;;
    esac
  done; }
  
        rm -f $ac_file
        mv $tmp/config.h $ac_file
      fi
--- 13607,13618 ----
      ?:) as_incr_dir=$as_mkdir_dir ;;
      *)
        as_incr_dir=$as_incr_dir/$as_mkdir_dir
!       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
      ;;
    esac
  done; }
  
+       fi
        rm -f $ac_file
        mv $tmp/config.h $ac_file
      fi
***************
*** 17163,17170 ****
      rm -f $tmp/config.h
    fi
  done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
  
  #
  # CONFIG_COMMANDS section.
--- 13621,13628 ----
      rm -f $tmp/config.h
    fi
  done
! EOF
! cat >>$CONFIG_STATUS <<\EOF
  
  #
  # CONFIG_COMMANDS section.
***************
*** 17172,17224 ****
  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
-   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
- $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-          X"$ac_dest" : 'X\(//\)[^/]' \| \
-          X"$ac_dest" : 'X\(//\)$' \| \
-          X"$ac_dest" : 'X\(/\)' \| \
-          .     : '\(.\)' 2>/dev/null ||
- echo X"$ac_dest" |
-     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
-         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
-         /^X\(\/\/\)$/{ s//\1/; q; }
-         /^X\(\/\).*/{ s//\1/; q; }
-         s/.*/./; q'`
-   ac_builddir=.
- 
- if test "$ac_dir" != .; then
-   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-   # A "../" for each directory in $ac_dir_suffix.
-   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
- else
-   ac_dir_suffix= ac_top_builddir=
- fi
- 
- case $srcdir in
-   .)  # No --srcdir option.  We are building in place.
-     ac_srcdir=.
-     if test -z "$ac_top_builddir"; then
-        ac_top_srcdir=.
-     else
-        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
-     fi ;;
-   [\\/]* | ?:[\\/]* )  # Absolute path.
-     ac_srcdir=$srcdir$ac_dir_suffix;
-     ac_top_srcdir=$srcdir ;;
-   *) # Relative path.
-     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
-     ac_top_srcdir=$ac_top_builddir$srcdir ;;
- esac
- # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
- # absolute.
- ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
- ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
- ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
- ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  
- 
-   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
- echo "$as_me: executing $ac_dest commands" >&6;}
    case $ac_dest in
      default )
  
--- 13630,13636 ----
***************
*** 17295,17310 ****
   ;;
    esac
  done
! _ACEOF
  
! cat >>$CONFIG_STATUS <<\_ACEOF
  
  { (exit 0); exit 0; }
! _ACEOF
  chmod +x $CONFIG_STATUS
  ac_clean_files=$ac_clean_files_save
  
- 
  # configure is writing to config.log, and then calls config.status.
  # config.status does its own redirection, appending to config.log.
  # Unfortunately, on DOS this fails, as config.log is still kept open
--- 13707,13721 ----
   ;;
    esac
  done
! EOF
  
! cat >>$CONFIG_STATUS <<\EOF
  
  { (exit 0); exit 0; }
! EOF
  chmod +x $CONFIG_STATUS
  ac_clean_files=$ac_clean_files_save
  
  # configure is writing to config.log, and then calls config.status.
  # config.status does its own redirection, appending to config.log.
  # Unfortunately, on DOS this fails, as config.log is still kept open
***************
*** 17322,17326 ****
    # would make configure fail if this is the last instruction.
    $ac_cs_success || { (exit 1); exit 1; }
  fi
- 
  
--- 13733,13736 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]