/[bison]/bison/configure
ViewVC logotype

Diff of /bison/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by akim, Mon Aug 6 08:35:21 2001 UTC revision 1.7.2.1 by akim, Mon Aug 27 09:33:33 2001 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by Autoconf 2.52 for bison 1.28c.  # Generated by Autoconf 2.52c for bison 1.28c.
4  #  #
5  # Report bugs to <bug-bison@gnu.org>.  # Report bugs to <bug-bison@gnu.org>.
6  #  #
# Line 22  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum Line 22  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum
22  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
23  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24    
25    ## --------------------- ##
26    ## M4sh Initialization.  ##
27    ## --------------------- ##
28    
29  # Be Bourne compatible  # Be Bourne compatible
30  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31    emulate sh    emulate sh
# Line 554  else Line 558  else
558  fi  fi
559  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
560    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
561      { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
562     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
563    else    else
564      { echo "$as_me: error: cannot find sources in $srcdir" >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
565     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
566    fi    fi
567  fi  fi
# Line 601  ac_cv_env_CPP_value=$CPP Line 605  ac_cv_env_CPP_value=$CPP
605  if test "$ac_init_help" = "long"; then  if test "$ac_init_help" = "long"; then
606    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
607    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
608    cat <<EOF    cat <<_ACEOF
609  \`configure' configures bison 1.28c to adapt to many kinds of systems.  \`configure' configures bison 1.28c to adapt to many kinds of systems.
610    
611  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 622  Configuration: Line 626  Configuration:
626    -n, --no-create         do not create output files    -n, --no-create         do not create output files
627        --srcdir=DIR        find the sources in DIR [configure dir or \`..']        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
628    
629  EOF  _ACEOF
630    
631    cat <<EOF    cat <<_ACEOF
632  Installation directories:  Installation directories:
633    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
634                            [$ac_default_prefix]                            [$ac_default_prefix]
# Line 651  Fine tuning of the installation director Line 655  Fine tuning of the installation director
655    --oldincludedir=DIR    C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
656    --infodir=DIR          info documentation [PREFIX/info]    --infodir=DIR          info documentation [PREFIX/info]
657    --mandir=DIR           man documentation [PREFIX/man]    --mandir=DIR           man documentation [PREFIX/man]
658  EOF  _ACEOF
659    
660    cat <<\EOF    cat <<\_ACEOF
661    
662  Program names:  Program names:
663    --program-prefix=PREFIX            prepend PREFIX to installed program names    --program-prefix=PREFIX            prepend PREFIX to installed program names
# Line 663  Program names: Line 667  Program names:
667  System types:  System types:
668    --build=BUILD     configure for building on BUILD [guessed]    --build=BUILD     configure for building on BUILD [guessed]
669    --host=HOST       build programs to run on HOST [BUILD]    --host=HOST       build programs to run on HOST [BUILD]
670  EOF  _ACEOF
671  fi  fi
672    
673  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
674    case $ac_init_help in    case $ac_init_help in
675       short | recursive ) echo "Configuration of bison 1.28c:";;       short | recursive ) echo "Configuration of bison 1.28c:";;
676     esac     esac
677    cat <<\EOF    cat <<\_ACEOF
678    
679  Optional Features:  Optional Features:
680    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
681    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
682      --disable-dependency-tracking Speeds up one-time builds
683      --enable-dependency-tracking  Do not reject slow dependency extractors
684    --enable-gcc-warnings   turn on lots of GCC warnings (not recommended)    --enable-gcc-warnings   turn on lots of GCC warnings (not recommended)
685    --disable-nls           do not use Native Language Support    --disable-nls           do not use Native Language Support
686    
# Line 697  Use these variables to override the choi Line 703  Use these variables to override the choi
703  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
704    
705  Report bugs to <bug-bison@gnu.org>.  Report bugs to <bug-bison@gnu.org>.
706  EOF  _ACEOF
707  fi  fi
708    
709  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
710    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
711    ac_popdir=`pwd`    ac_popdir=`pwd`
712    for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
713      cd $ac_subdir      cd $ac_dir
714      # A "../" for each directory in /$ac_subdir.      if test "$ac_dir" != .; then
715      ac_dots=`echo $ac_subdir |    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
716               sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`    # A "../" for each directory in $ac_dir_suffix.
717      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
718      case $srcdir in  else
719      .) # No --srcdir option.  We are building in place.    ac_dir_suffix= ac_top_builddir=
720        ac_sub_srcdir=$srcdir ;;  fi
721      [\\/]* | ?:[\\/]* ) # Absolute path.  
722        ac_sub_srcdir=$srcdir/$ac_subdir ;;  case $srcdir in
723      *) # Relative path.    .)  # No --srcdir option.  We are building in place.
724        ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;      ac_srcdir=.
725      esac      if test -z "$ac_top_builddir"; then
726           ac_top_srcdir=.
727        else
728           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
729        fi ;;
730      [\\/]* | ?:[\\/]* )  # Absolute path.
731        ac_srcdir=$srcdir$ac_dir_suffix;
732        ac_top_srcdir=$srcdir ;;
733      *) # Relative path.
734        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
735        ac_top_srcdir=$ac_top_builddir$srcdir ;;
736    esac
737    
738      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
739      if test -f $ac_sub_srcdir/configure.gnu; then      if test -f $ac_srcdir/configure.gnu; then
740        echo        echo
741        $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive        $SHELL $ac_srcdir/configure.gnu  --help=recursive
742      elif test -f $ac_sub_srcdir/configure; then      elif test -f $ac_srcdir/configure; then
743        echo        echo
744        $SHELL $ac_sub_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
745      elif test -f $ac_sub_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
746             test -f $ac_sub_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
747        echo        echo
748        $ac_configure --help        $ac_configure --help
749      else      else
750        echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
751      fi      fi
752      cd $ac_popdir      cd $ac_popdir
753    done    done
# Line 738  fi Line 755  fi
755    
756  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
757  if $ac_init_version; then  if $ac_init_version; then
758    cat <<\EOF    cat <<\_ACEOF
759  bison configure 1.28c  bison configure 1.28c
760  generated by GNU Autoconf 2.52  generated by GNU Autoconf 2.52c
761    
762  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
763  Free Software Foundation, Inc.  Free Software Foundation, Inc.
764  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
765  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
766  EOF  _ACEOF
767    exit 0    exit 0
768  fi  fi
769  exec 5>config.log  exec 5>config.log
770  cat >&5 <<EOF  cat >&5 <<_ACEOF
771  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
772  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
773    
774  It was created by bison $as_me 1.28c, which was  It was created by bison $as_me 1.28c, which was
775  generated by GNU Autoconf 2.52.  Invocation command line was  generated by GNU Autoconf 2.52c.  Invocation command line was
776    
777    $ $0 $@    $ $0 $@
778    
779  EOF  _ACEOF
780  {  {
781  cat <<_ASUNAME  cat <<_ASUNAME
782  ## ---------- ##  ## --------- ##
783  ## Platform.  ##  ## Platform. ##
784  ## ---------- ##  ## --------- ##
785    
786  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
787  uname -m = `(uname -m) 2>/dev/null || echo unknown`  uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 788  PATH = $PATH Line 805  PATH = $PATH
805  _ASUNAME  _ASUNAME
806  } >&5  } >&5
807    
808  cat >&5 <<EOF  cat >&5 <<_ACEOF
809  ## ------------ ##  ## ----------- ##
810  ## Core tests.  ##  ## Core tests. ##
811  ## ------------ ##  ## ----------- ##
812    
813  EOF  _ACEOF
814    
815  # Keep a trace of the command line.  # Keep a trace of the command line.
816  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
# Line 822  done Line 839  done
839  # would cause problems or look ugly.  # would cause problems or look ugly.
840  trap 'exit_status=$?  trap 'exit_status=$?
841    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
842    echo >&5    {
843    echo "## ----------------- ##" >&5      echo
844    echo "## Cache variables.  ##" >&5      cat <<\_ASBOX
845    echo "## ----------------- ##" >&5  ## ---------------- ##
846    echo >&5  ## Cache variables. ##
847    # The following way of writing the cache mishandles newlines in values,  ## ---------------- ##
848    _ASBOX
849        echo
850        # The following way of writing the cache mishandles newlines in values,
851  {  {
852    (set) 2>&1 |    (set) 2>&1 |
853      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
# Line 841  trap 'exit_status=$? Line 861  trap 'exit_status=$?
861          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
862        ;;        ;;
863      esac;      esac;
864  } >&5  }
865    sed "/^$/d" confdefs.h >conftest.log      echo
866    if test -s conftest.log; then      if test -s confdefs.h; then
867      echo >&5        cat <<\_ASBOX
868      echo "## ------------ ##" >&5  ## ----------- ##
869      echo "## confdefs.h.  ##" >&5  ## confdefs.h. ##
870      echo "## ------------ ##" >&5  ## ----------- ##
871      echo >&5  _ASBOX
872      cat conftest.log >&5        echo
873    fi        sed '/^$/d' confdefs.h
874    (echo; echo) >&5        echo
875    test "$ac_signal" != 0 &&      fi
876      echo "$as_me: caught signal $ac_signal" >&5      test "$ac_signal" != 0 &&
877    echo "$as_me: exit $exit_status" >&5        echo "$as_me: caught signal $ac_signal"
878        echo "$as_me: exit $exit_status"
879      } >&5
880    rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
881      exit $exit_status      exit $exit_status
882       ' 0       ' 0
# Line 879  if test -z "$CONFIG_SITE"; then Line 901  if test -z "$CONFIG_SITE"; then
901  fi  fi
902  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
903    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
904      { echo "$as_me:882: loading site script $ac_site_file" >&5      { echo "$as_me:904: loading site script $ac_site_file" >&5
905  echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
906      cat "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
907      . "$ac_site_file"      . "$ac_site_file"
908    fi    fi
909  done  done
# Line 890  if test -r "$cache_file"; then Line 912  if test -r "$cache_file"; then
912    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
913    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
914    if test -f "$cache_file"; then    if test -f "$cache_file"; then
915      { echo "$as_me:893: loading cache $cache_file" >&5      { echo "$as_me:915: loading cache $cache_file" >&5
916  echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
917      case $cache_file in      case $cache_file in
918        [\\/]* | ?:[\\/]* ) . $cache_file;;        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 898  echo "$as_me: loading cache $cache_file" Line 920  echo "$as_me: loading cache $cache_file"
920      esac      esac
921    fi    fi
922  else  else
923    { echo "$as_me:901: creating cache $cache_file" >&5    { echo "$as_me:923: creating cache $cache_file" >&5
924  echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
925    >$cache_file    >$cache_file
926  fi  fi
# Line 914  for ac_var in `(set) 2>&1 | Line 936  for ac_var in `(set) 2>&1 |
936    eval ac_new_val="\$ac_env_${ac_var}_value"    eval ac_new_val="\$ac_env_${ac_var}_value"
937    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
938      set,)      set,)
939        { echo "$as_me:917: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:939: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
940  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
941        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
942      ,set)      ,set)
943        { echo "$as_me:921: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:943: error: \`$ac_var' was not set in the previous run" >&5
944  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
945        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
946      ,);;      ,);;
947      *)      *)
948        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
949          { echo "$as_me:927: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:949: error: \`$ac_var' has changed since the previous run:" >&5
950  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
951          { echo "$as_me:929:   former value:  $ac_old_val" >&5          { echo "$as_me:951:   former value:  $ac_old_val" >&5
952  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
953          { echo "$as_me:931:   current value: $ac_new_val" >&5          { echo "$as_me:953:   current value: $ac_new_val" >&5
954  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
955          ac_cache_corrupted=:          ac_cache_corrupted=:
956        fi;;        fi;;
# Line 947  echo "$as_me:   current value: $ac_new_v Line 969  echo "$as_me:   current value: $ac_new_v
969    fi    fi
970  done  done
971  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
972    { echo "$as_me:950: error: changes in the environment can compromise the build" >&5    { echo "$as_me:972: error: changes in the environment can compromise the build" >&5
973  echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
974    { { echo "$as_me:952: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    { { echo "$as_me:974: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
975  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
976     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
977  fi  fi
# Line 969  esac Line 991  esac
991  echo "#! $SHELL" >conftest.sh  echo "#! $SHELL" >conftest.sh
992  echo  "exit 0"   >>conftest.sh  echo  "exit 0"   >>conftest.sh
993  chmod +x conftest.sh  chmod +x conftest.sh
994  if { (echo "$as_me:972: PATH=\".;.\"; conftest.sh") >&5  if { (echo "$as_me:994: PATH=\".;.\"; conftest.sh") >&5
995    (PATH=".;."; conftest.sh) 2>&5    (PATH=".;."; conftest.sh) 2>&5
996    ac_status=$?    ac_status=$?
997    echo "$as_me:975: \$? = $ac_status" >&5    echo "$as_me:997: \$? = $ac_status" >&5
998    (exit $ac_status); }; then    (exit $ac_status); }; then
999    ac_path_separator=';'    ac_path_separator=';'
1000  else  else
# Line 998  for ac_dir in config $srcdir/config; do Line 1020  for ac_dir in config $srcdir/config; do
1020    fi    fi
1021  done  done
1022  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1023    { { echo "$as_me:1001: error: cannot find install-sh or install.sh in config $srcdir/config" >&5    { { echo "$as_me:1023: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1024  echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1025     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1026  fi  fi
# Line 1018  ac_configure="$SHELL $ac_aux_dir/configu Line 1040  ac_configure="$SHELL $ac_aux_dir/configu
1040  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1041  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1042  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1043  echo "$as_me:1021: checking for a BSD compatible install" >&5  echo "$as_me:1043: checking for a BSD compatible install" >&5
1044  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1045  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1046  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
# Line 1067  fi Line 1089  fi
1089      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
1090    fi    fi
1091  fi  fi
1092  echo "$as_me:1070: result: $INSTALL" >&5  echo "$as_me:1092: result: $INSTALL" >&5
1093  echo "${ECHO_T}$INSTALL" >&6  echo "${ECHO_T}$INSTALL" >&6
1094    
1095  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 1078  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1100  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1100    
1101  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1102    
1103  echo "$as_me:1081: checking whether build environment is sane" >&5  echo "$as_me:1103: checking whether build environment is sane" >&5
1104  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1105  # Just in case  # Just in case
1106  sleep 1  sleep 1
1107  echo timestamp > conftestfile  echo timestamp > conftest.file
1108  # Do `set' in a subshell so we don't clobber the current shell's  # Do `set' in a subshell so we don't clobber the current shell's
1109  # arguments.  Must try -L first in case configure is actually a  # arguments.  Must try -L first in case configure is actually a
1110  # symlink; some systems play weird games with the mod time of symlinks  # symlink; some systems play weird games with the mod time of symlinks
1111  # (eg FreeBSD returns the mod time of the symlink's containing  # (eg FreeBSD returns the mod time of the symlink's containing
1112  # directory).  # directory).
1113  if (  if (
1114     set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1115     if test "$*" = "X"; then     if test "$*" = "X"; then
1116        # -L didn't work.        # -L didn't work.
1117        set X `ls -t $srcdir/configure conftestfile`        set X `ls -t $srcdir/configure conftest.file`
1118     fi     fi
1119     if test "$*" != "X $srcdir/configure conftestfile" \     rm -f conftest.file
1120        && test "$*" != "X conftestfile $srcdir/configure"; then     if test "$*" != "X $srcdir/configure conftest.file" \
1121          && test "$*" != "X conftest.file $srcdir/configure"; then
1122    
1123        # If neither matched, then we have a broken ls.  This can happen        # If neither matched, then we have a broken ls.  This can happen
1124        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
1125        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
1126        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
1127        { { echo "$as_me:1104: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:1127: error: ls -t appears to fail.  Make sure there is not a broken
1128  alias in your environment" >&5  alias in your environment" >&5
1129  echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken  echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1130  alias in your environment" >&2;}  alias in your environment" >&2;}
1131     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1132     fi     fi
1133    
1134     test "$2" = conftestfile     test "$2" = conftest.file
1135     )     )
1136  then  then
1137     # Ok.     # Ok.
1138     :     :
1139  else  else
1140     { { echo "$as_me:1117: error: newly created file is older than distributed files!     { { echo "$as_me:1140: error: newly created file is older than distributed files!
1141  Check your system clock" >&5  Check your system clock" >&5
1142  echo "$as_me: error: newly created file is older than distributed files!  echo "$as_me: error: newly created file is older than distributed files!
1143  Check your system clock" >&2;}  Check your system clock" >&2;}
1144     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1145  fi  fi
1146  rm -f conftest*  echo "$as_me:1146: result: yes" >&5
 echo "$as_me:1124: result: yes" >&5  
1147  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1148  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1149    program_transform_name="s,^,$program_prefix,;$program_transform_name"    program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Line 1136  _ACEOF Line 1158  _ACEOF
1158  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1159  rm conftest.sed  rm conftest.sed
1160    
1161  echo "$as_me:1139: checking whether ${MAKE-make} sets \${MAKE}" >&5  # expand $ac_aux_dir to an absolute path
1162    am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1163    
1164    test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1165    # Use eval to expand $SHELL
1166    if eval "$MISSING --run true"; then
1167      am_missing_run="$MISSING --run "
1168    else
1169      am_missing_run=
1170      am_backtick='`'
1171      { echo "$as_me:1171: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1172    echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1173    fi
1174    
1175    for ac_prog in mawk gawk nawk awk
1176    do
1177      # Extract the first word of "$ac_prog", so it can be a program name with args.
1178    set dummy $ac_prog; ac_word=$2
1179    echo "$as_me:1179: checking for $ac_word" >&5
1180    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1181    if test "${ac_cv_prog_AWK+set}" = set; then
1182      echo $ECHO_N "(cached) $ECHO_C" >&6
1183    else
1184      if test -n "$AWK"; then
1185      ac_cv_prog_AWK="$AWK" # Let the user override the test.
1186    else
1187      ac_save_IFS=$IFS; IFS=$ac_path_separator
1188    ac_dummy="$PATH"
1189    for ac_dir in $ac_dummy; do
1190      IFS=$ac_save_IFS
1191      test -z "$ac_dir" && ac_dir=.
1192      $as_executable_p "$ac_dir/$ac_word" || continue
1193    ac_cv_prog_AWK="$ac_prog"
1194    echo "$as_me:1194: found $ac_dir/$ac_word" >&5
1195    break
1196    done
1197    
1198    fi
1199    fi
1200    AWK=$ac_cv_prog_AWK
1201    if test -n "$AWK"; then
1202      echo "$as_me:1202: result: $AWK" >&5
1203    echo "${ECHO_T}$AWK" >&6
1204    else
1205      echo "$as_me:1205: result: no" >&5
1206    echo "${ECHO_T}no" >&6
1207    fi
1208    
1209      test -n "$AWK" && break
1210    done
1211    
1212    echo "$as_me:1212: checking whether ${MAKE-make} sets \${MAKE}" >&5
1213  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1214  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1215  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1216    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1217  else  else
1218    cat >conftest.make <<\EOF    cat >conftest.make <<\_ACEOF
1219  all:  all:
1220          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
1221  EOF  _ACEOF
1222  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1223  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1224  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
# Line 1156  fi Line 1229  fi
1229  rm -f conftest.make  rm -f conftest.make
1230  fi  fi
1231  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1232    echo "$as_me:1159: result: yes" >&5    echo "$as_me:1232: result: yes" >&5
1233  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1234    SET_MAKE=    SET_MAKE=
1235  else  else
1236    echo "$as_me:1163: result: no" >&5    echo "$as_me:1236: result: no" >&5
1237  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1238    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1239  fi  fi
1240    
1241  PACKAGE=bison  # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1242    if test "${enable_dependency_tracking+set}" = set; then
1243      enableval="$enable_dependency_tracking"
1244    
1245  VERSION=1.28c  fi;
1246    if test "x$enable_dependency_tracking" != xno; then
1247      am_depcomp="$ac_aux_dir/depcomp"
1248      AMDEPBACKSLASH='\'
1249    fi
1250    
1251    if test "x$enable_dependency_tracking" != xno; then
1252      AMDEP_TRUE=
1253      AMDEP_FALSE='#'
1254    else
1255      AMDEP_TRUE='#'
1256      AMDEP_FALSE=
1257    fi
1258    
1259    rm -f .deps 2>/dev/null
1260    mkdir .deps 2>/dev/null
1261    if test -d .deps; then
1262      DEPDIR=.deps
1263    else
1264      # MS-DOS does not allow filenames that begin with a dot.
1265      DEPDIR=_deps
1266    fi
1267    rmdir .deps 2>/dev/null
1268    
1269  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then  # test to see if srcdir already configured
1270    { { echo "$as_me:1173: error: source directory already configured; run \"make distclean\" there first" >&5  if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1271       test -f $srcdir/config.status; then
1272      { { echo "$as_me:1272: error: source directory already configured; run \"make distclean\" there first" >&5
1273  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}  echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1274     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1275  fi  fi
1276    
1277  cat >>confdefs.h <<EOF  # Define the identity of the package.
1278    PACKAGE=bison
1279    VERSION=1.28c
1280    
1281    cat >>confdefs.h <<_ACEOF
1282  #define PACKAGE "$PACKAGE"  #define PACKAGE "$PACKAGE"
1283  EOF  _ACEOF
1284    
1285  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
1286  #define VERSION "$VERSION"  #define VERSION "$VERSION"
1287  EOF  _ACEOF
1288    
1289  missing_dir=`cd $ac_aux_dir && pwd`  # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
1290  echo "$as_me:1187: checking for working aclocal" >&5  # the ones we care about.
 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (aclocal --version) < /dev/null > /dev/null 2>&1; then  
    ACLOCAL=aclocal  
    echo "$as_me:1194: result: found" >&5  
 echo "${ECHO_T}found" >&6  
 else  
    ACLOCAL="$missing_dir/missing aclocal"  
    echo "$as_me:1198: result: missing" >&5  
 echo "${ECHO_T}missing" >&6  
 fi  
   
 echo "$as_me:1202: checking for working autoconf" >&5  
 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (autoconf --version) < /dev/null > /dev/null 2>&1; then  
    AUTOCONF=autoconf  
    echo "$as_me:1209: result: found" >&5  
 echo "${ECHO_T}found" >&6  
 else  
    AUTOCONF="$missing_dir/missing autoconf"  
    echo "$as_me:1213: result: missing" >&5  
 echo "${ECHO_T}missing" >&6  
 fi  
   
 echo "$as_me:1217: checking for working automake" >&5  
 echo $ECHO_N "checking for working automake... $ECHO_C" >&6  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (automake --version) < /dev/null > /dev/null 2>&1; then  
    AUTOMAKE=automake  
    echo "$as_me:1224: result: found" >&5  
 echo "${ECHO_T}found" >&6  
 else  
    AUTOMAKE="$missing_dir/missing automake"  
    echo "$as_me:1228: result: missing" >&5  
 echo "${ECHO_T}missing" >&6  
 fi  
   
 echo "$as_me:1232: checking for working autoheader" >&5  
 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (autoheader --version) < /dev/null > /dev/null 2>&1; then  
    AUTOHEADER=autoheader  
    echo "$as_me:1239: result: found" >&5  
 echo "${ECHO_T}found" >&6  
 else  
    AUTOHEADER="$missing_dir/missing autoheader"  
    echo "$as_me:1243: result: missing" >&5  
 echo "${ECHO_T}missing" >&6  
 fi  
   
 echo "$as_me:1247: checking for working makeinfo" >&5  
 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6  
 # Run test in a subshell; some versions of sh will print an error if  
 # an executable is not found, even if stderr is redirected.  
 # Redirect stdin to placate older versions of autoconf.  Sigh.  
 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then  
    MAKEINFO=makeinfo  
    echo "$as_me:1254: result: found" >&5  
 echo "${ECHO_T}found" >&6  
 else  
    MAKEINFO="$missing_dir/missing makeinfo"  
    echo "$as_me:1258: result: missing" >&5  
 echo "${ECHO_T}missing" >&6  
 fi  
1291    
1292  ac_config_headers="$ac_config_headers config.h:config.hin"  # Autoconf 2.50 always computes EXEEXT.  However we need to be
1293    # compatible with 2.13, for now.  So we always define EXEEXT, but we
1294    # don't compute it.
1295    
1296  ac_config_commands="$ac_config_commands default-1"  # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1297    # requests that it be used.  This is a bit dumb.
1298    : ${OBJEXT=o}
1299    
1300    # Some tools Automake needs.
1301    
1302    ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1303    
1304    AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1305    
1306    AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1307    
1308    AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1309    
1310    MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1311    
1312    AMTAR=${AMTAR-"${am_missing_run}tar"}
1313    
1314    install_sh=${install_sh-"$am_aux_dir/install-sh"}
1315    
1316    INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1317    
1318    # We need awk for the "check" target.  The system "awk" is bad on
1319    # some platforms.
1320    
1321                                                        ac_config_headers="$ac_config_headers config.h:config.hin"
1322    
1323  # Initialize the test suite.  # Initialize the test suite.
1324  AT_TESTPATH=../src  AT_TESTPATH=../src
# Line 1283  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1340  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1340  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1341    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1342  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1343  echo "$as_me:1286: checking for $ac_word" >&5  echo "$as_me:1343: checking for $ac_word" >&5
1344  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1345  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1346    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1298  for ac_dir in $ac_dummy; do Line 1355  for ac_dir in $ac_dummy; do
1355    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1356    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1357  ac_cv_prog_CC="${ac_tool_prefix}gcc"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
1358  echo "$as_me:1301: found $ac_dir/$ac_word" >&5  echo "$as_me:1358: found $ac_dir/$ac_word" >&5
1359  break  break
1360  done  done
1361    
# Line 1306  fi Line 1363  fi
1363  fi  fi
1364  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1365  if test -n "$CC"; then  if test -n "$CC"; then
1366    echo "$as_me:1309: result: $CC" >&5    echo "$as_me:1366: result: $CC" >&5
1367  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1368  else  else
1369    echo "$as_me:1312: result: no" >&5    echo "$as_me:1369: result: no" >&5
1370  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1371  fi  fi
1372    
# Line 1318  if test -z "$ac_cv_prog_CC"; then Line 1375  if test -z "$ac_cv_prog_CC"; then
1375    ac_ct_CC=$CC    ac_ct_CC=$CC
1376    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
1377  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1378  echo "$as_me:1321: checking for $ac_word" >&5  echo "$as_me:1378: checking for $ac_word" >&5
1379  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1380  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1381    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1333  for ac_dir in $ac_dummy; do Line 1390  for ac_dir in $ac_dummy; do
1390    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1391    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1392  ac_cv_prog_ac_ct_CC="gcc"  ac_cv_prog_ac_ct_CC="gcc"
1393  echo "$as_me:1336: found $ac_dir/$ac_word" >&5  echo "$as_me:1393: found $ac_dir/$ac_word" >&5
1394  break  break
1395  done  done
1396    
# Line 1341  fi Line 1398  fi
1398  fi  fi
1399  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1400  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1401    echo "$as_me:1344: result: $ac_ct_CC" >&5    echo "$as_me:1401: result: $ac_ct_CC" >&5
1402  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1403  else  else
1404    echo "$as_me:1347: result: no" >&5    echo "$as_me:1404: result: no" >&5
1405  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1406  fi  fi
1407    
# Line 1357  if test -z "$CC"; then Line 1414  if test -z "$CC"; then
1414    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1415    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1416  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1417  echo "$as_me:1360: checking for $ac_word" >&5  echo "$as_me:1417: checking for $ac_word" >&5
1418  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1419  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1420    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1372  for ac_dir in $ac_dummy; do Line 1429  for ac_dir in $ac_dummy; do
1429    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1430    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1431  ac_cv_prog_CC="${ac_tool_prefix}cc"  ac_cv_prog_CC="${ac_tool_prefix}cc"
1432  echo "$as_me:1375: found $ac_dir/$ac_word" >&5  echo "$as_me:1432: found $ac_dir/$ac_word" >&5
1433  break  break
1434  done  done
1435    
# Line 1380  fi Line 1437  fi
1437  fi  fi
1438  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1439  if test -n "$CC"; then  if test -n "$CC"; then
1440    echo "$as_me:1383: result: $CC" >&5    echo "$as_me:1440: result: $CC" >&5
1441  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1442  else  else
1443    echo "$as_me:1386: result: no" >&5    echo "$as_me:1443: result: no" >&5
1444  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1445  fi  fi
1446    
# Line 1392  if test -z "$ac_cv_prog_CC"; then Line 1449  if test -z "$ac_cv_prog_CC"; then
1449    ac_ct_CC=$CC    ac_ct_CC=$CC
1450    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1451  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1452  echo "$as_me:1395: checking for $ac_word" >&5  echo "$as_me:1452: checking for $ac_word" >&5
1453  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1454  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1455    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1407  for ac_dir in $ac_dummy; do Line 1464  for ac_dir in $ac_dummy; do
1464    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1465    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1466  ac_cv_prog_ac_ct_CC="cc"  ac_cv_prog_ac_ct_CC="cc"
1467  echo "$as_me:1410: found $ac_dir/$ac_word" >&5  echo "$as_me:1467: found $ac_dir/$ac_word" >&5
1468  break  break
1469  done  done
1470    
# Line 1415  fi Line 1472  fi
1472  fi  fi
1473  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1474  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1475    echo "$as_me:1418: result: $ac_ct_CC" >&5    echo "$as_me:1475: result: $ac_ct_CC" >&5
1476  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1477  else  else
1478    echo "$as_me:1421: result: no" >&5    echo "$as_me:1478: result: no" >&5
1479  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1480  fi  fi
1481    
# Line 1431  fi Line 1488  fi
1488  if test -z "$CC"; then  if test -z "$CC"; then
1489    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1490  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1491  echo "$as_me:1434: checking for $ac_word" >&5  echo "$as_me:1491: checking for $ac_word" >&5
1492  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1493  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1494    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1451  if test "$ac_dir/$ac_word" = "/usr/ucb/c Line 1508  if test "$ac_dir/$ac_word" = "/usr/ucb/c
1508    continue    continue
1509  fi  fi
1510  ac_cv_prog_CC="cc"  ac_cv_prog_CC="cc"
1511  echo "$as_me:1454: found $ac_dir/$ac_word" >&5  echo "$as_me:1511: found $ac_dir/$ac_word" >&5
1512  break  break
1513  done  done
1514    
# Line 1473  fi Line 1530  fi
1530  fi  fi
1531  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1532  if test -n "$CC"; then  if test -n "$CC"; then
1533    echo "$as_me:1476: result: $CC" >&5    echo "$as_me:1533: result: $CC" >&5
1534  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1535  else  else
1536    echo "$as_me:1479: result: no" >&5    echo "$as_me:1536: result: no" >&5
1537  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1538  fi  fi
1539    
# Line 1487  if test -z "$CC"; then Line 1544  if test -z "$CC"; then
1544    do    do
1545      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1546  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1547  echo "$as_me:1490: checking for $ac_word" >&5  echo "$as_me:1547: checking for $ac_word" >&5
1548  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1549  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1550    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1502  for ac_dir in $ac_dummy; do Line 1559  for ac_dir in $ac_dummy; do
1559    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1560    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1561  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1562  echo "$as_me:1505: found $ac_dir/$ac_word" >&5  echo "$as_me:1562: found $ac_dir/$ac_word" >&5
1563  break  break
1564  done  done
1565    
# Line 1510  fi Line 1567  fi
1567  fi  fi
1568  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1569  if test -n "$CC"; then  if test -n "$CC"; then
1570    echo "$as_me:1513: result: $CC" >&5    echo "$as_me:1570: result: $CC" >&5
1571  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CC" >&6
1572  else  else
1573    echo "$as_me:1516: result: no" >&5    echo "$as_me:1573: result: no" >&5
1574  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1575  fi  fi
1576    
# Line 1526  if test -z "$CC"; then Line 1583  if test -z "$CC"; then
1583  do  do
1584    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
1585  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1586  echo "$as_me:1529: checking for $ac_word" >&5  echo "$as_me:1586: checking for $ac_word" >&5
1587  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1589    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1541  for ac_dir in $ac_dummy; do Line 1598  for ac_dir in $ac_dummy; do
1598    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
1599    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
1600  ac_cv_prog_ac_ct_CC="$ac_prog"  ac_cv_prog_ac_ct_CC="$ac_prog"
1601  echo "$as_me:1544: found $ac_dir/$ac_word" >&5  echo "$as_me:1601: found $ac_dir/$ac_word" >&5
1602  break  break
1603  done  done
1604    
# Line 1549  fi Line 1606  fi
1606  fi  fi
1607  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1608  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1609    echo "$as_me:1552: result: $ac_ct_CC" >&5    echo "$as_me:1609: result: $ac_ct_CC" >&5
1610  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1611  else  else
1612    echo "$as_me:1555: result: no" >&5    echo "$as_me:1612: result: no" >&5
1613  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1614  fi  fi
1615    
# Line 1564  fi Line 1621  fi
1621    
1622  fi  fi
1623    
1624  test -z "$CC" && { { echo "$as_me:1567: error: no acceptable cc found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:1624: error: no acceptable cc found in \$PATH" >&5
1625  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}  echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1626     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1627    
1628  # Provide some information about the compiler.  # Provide some information about the compiler.
1629  echo "$as_me:1572:" \  echo "$as_me:1629:" \
1630       "checking for C compiler version" >&5       "checking for C compiler version" >&5
1631  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
1632  { (eval echo "$as_me:1575: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:1632: \"$ac_compiler --version </dev/null >&5\"") >&5
1633    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
1634    ac_status=$?    ac_status=$?
1635    echo "$as_me:1578: \$? = $ac_status" >&5    echo "$as_me:1635: \$? = $ac_status" >&5
1636    (exit $ac_status); }    (exit $ac_status); }
1637  { (eval echo "$as_me:1580: \"$ac_compiler -v </dev/null >&5\"") >&5  { (eval echo "$as_me:1637: \"$ac_compiler -v </dev/null >&5\"") >&5
1638    (eval $ac_compiler -v </dev/null >&5) 2>&5    (eval $ac_compiler -v </dev/null >&5) 2>&5
1639    ac_status=$?    ac_status=$?
1640    echo "$as_me:1583: \$? = $ac_status" >&5    echo "$as_me:1640: \$? = $ac_status" >&5
1641    (exit $ac_status); }    (exit $ac_status); }
1642  { (eval echo "$as_me:1585: \"$ac_compiler -V </dev/null >&5\"") >&5  { (eval echo "$as_me:1642: \"$ac_compiler -V </dev/null >&5\"") >&5
1643    (eval $ac_compiler -V </dev/null >&5) 2>&5    (eval $ac_compiler -V </dev/null >&5) 2>&5
1644    ac_status=$?    ac_status=$?
1645    echo "$as_me:1588: \$? = $ac_status" >&5    echo "$as_me:1645: \$? = $ac_status" >&5
1646    (exit $ac_status); }    (exit $ac_status); }
1647    
1648  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
1649  #line 1592 "configure"  #line 1649 "configure"
1650  #include "confdefs.h"  #include "confdefs.h"
1651    
1652    #ifdef F77_DUMMY_MAIN
1653    #  ifdef __cplusplus
1654         extern "C"
1655    #  endif
1656       int F77_DUMMY_MAIN() { return 1; }
1657    #endif
1658  int  int
1659  main ()  main ()
1660  {  {
# Line 1605  ac_clean_files="$ac_clean_files a.out a. Line 1668  ac_clean_files="$ac_clean_files a.out a.
1668  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1669  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1670  # of exeext.  # of exeext.
1671  echo "$as_me:1608: checking for C compiler default output" >&5  echo "$as_me:1671: checking for C compiler default output" >&5
1672  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1673  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1674  if { (eval echo "$as_me:1611: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:1674: \"$ac_link_default\"") >&5
1675    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
1676    ac_status=$?    ac_status=$?
1677    echo "$as_me:1614: \$? = $ac_status" >&5    echo "$as_me:1677: \$? = $ac_status" >&5
1678    (exit $ac_status); }; then    (exit $ac_status); }; then
1679    # Find the output, starting from the most likely.  This scheme is    # Find the output, starting from the most likely.  This scheme is
1680  # not robust to junk in `.', hence go to wildcards (a.*) only as a last  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
# Line 1620  for ac_file in `ls a.exe conftest.exe 2> Line 1683  for ac_file in `ls a.exe conftest.exe 2>
1683                  ls a.out conftest 2>/dev/null;                  ls a.out conftest 2>/dev/null;
1684                  ls a.* conftest.* 2>/dev/null`; do                  ls a.* conftest.* 2>/dev/null`; do
1685    case $ac_file in    case $ac_file in
1686      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1687      a.out ) # We found the default executable, but exeext='' is most      a.out ) # We found the default executable, but exeext='' is most
1688              # certainly right.              # certainly right.
1689              break;;              break;;
# Line 1634  done Line 1697  done
1697  else  else
1698    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1699  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
1700  { { echo "$as_me:1637: error: C compiler cannot create executables" >&5  { { echo "$as_me:1700: error: C compiler cannot create executables" >&5
1701  echo "$as_me: error: C compiler cannot create executables" >&2;}  echo "$as_me: error: C compiler cannot create executables" >&2;}
1702     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
1703  fi  fi
1704    
1705  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
1706  echo "$as_me:1643: result: $ac_file" >&5  echo "$as_me:1706: result: $ac_file" >&5
1707  echo "${ECHO_T}$ac_file" >&6  echo "${ECHO_T}$ac_file" >&6
1708    
1709  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1710  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1711  echo "$as_me:1648: checking whether the C compiler works" >&5  echo "$as_me:1711: checking whether the C compiler works" >&5
1712  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1713  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1714  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
1715  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
1716    if { ac_try='./$ac_file'    if { ac_try='./$ac_file'
1717    { (eval echo "$as_me:1654: \"$ac_try\"") >&5    { (eval echo "$as_me:1717: \"$ac_try\"") >&5
1718    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1719    ac_status=$?    ac_status=$?
1720    echo "$as_me:1657: \$? = $ac_status" >&5    echo "$as_me:1720: \$? = $ac_status" >&5
1721    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1722      cross_compiling=no      cross_compiling=no
1723    else    else
1724      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
1725          cross_compiling=yes          cross_compiling=yes
1726      else      else
1727          { { echo "$as_me:1664: error: cannot run C compiled programs.          { { echo "$as_me:1727: error: cannot run C compiled programs.
1728  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'." >&5
1729  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
1730  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'." >&2;}
# Line 1669  If you meant to cross compile, use \`--h Line 1732  If you meant to cross compile, use \`--h
1732      fi      fi
1733    fi    fi
1734  fi  fi
1735  echo "$as_me:1672: result: yes" >&5  echo "$as_me:1735: result: yes" >&5
1736  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
1737    
1738  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext
1739  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
1740  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1741  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1742  echo "$as_me:1679: checking whether we are cross compiling" >&5  echo "$as_me:1742: checking whether we are cross compiling" >&5
1743  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1744  echo "$as_me:1681: result: $cross_compiling" >&5  echo "$as_me:1744: result: $cross_compiling" >&5
1745  echo "${ECHO_T}$cross_compiling" >&6  echo "${ECHO_T}$cross_compiling" >&6
1746    
1747  echo "$as_me:1684: checking for executable suffix" >&5  echo "$as_me:1747: checking for executable suffix" >&5
1748  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1749  if { (eval echo "$as_me:1686: \"$ac_link\"") >&5  if { (eval echo "$as_me:1749: \"$ac_link\"") >&5
1750    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
1751    ac_status=$?    ac_status=$?
1752    echo "$as_me:1689: \$? = $ac_status" >&5    echo "$as_me:1752: \$? = $ac_status" >&5
1753    (exit $ac_status); }; then    (exit $ac_status); }; then
1754    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1755  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 1702  for ac_file in `(ls conftest.exe; ls con Line 1765  for ac_file in `(ls conftest.exe; ls con
1765    esac    esac
1766  done  done
1767  else  else
1768    { { echo "$as_me:1705: error: cannot compute EXEEXT: cannot compile and link" >&5    { { echo "$as_me:1768: error: cannot compute EXEEXT: cannot compile and link" >&5
1769  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1770     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1771  fi  fi
1772    
1773  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
1774  echo "$as_me:1711: result: $ac_cv_exeext" >&5  echo "$as_me:1774: result: $ac_cv_exeext" >&5
1775  echo "${ECHO_T}$ac_cv_exeext" >&6  echo "${ECHO_T}$ac_cv_exeext" >&6
1776    
1777  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
1778  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
1779  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
1780  echo "$as_me:1717: checking for object suffix" >&5  echo "$as_me:1780: checking for object suffix" >&5
1781  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6  echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1782  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
1783    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1784  else  else
1785    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1786  #line 1723 "configure"  #line 1786 "configure"
1787  #include "confdefs.h"  #include "confdefs.h"
1788    
1789    #ifdef F77_DUMMY_MAIN
1790    #  ifdef __cplusplus
1791         extern "C"
1792    #  endif
1793       int F77_DUMMY_MAIN() { return 1; }
1794    #endif
1795  int  int
1796  main ()  main ()
1797  {  {
# Line 1732  main () Line 1801  main ()
1801  }  }
1802  _ACEOF  _ACEOF
1803  rm -f conftest.o conftest.obj  rm -f conftest.o conftest.obj
1804  if { (eval echo "$as_me:1735: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1804: \"$ac_compile\"") >&5
1805    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1806    ac_status=$?    ac_status=$?
1807    echo "$as_me:1738: \$? = $ac_status" >&5    echo "$as_me:1807: \$? = $ac_status" >&5
1808    (exit $ac_status); }; then    (exit $ac_status); }; then
1809    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1810    case $ac_file in    case $ac_file in
# Line 1747  done Line 1816  done
1816  else  else
1817    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1818  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
1819  { { echo "$as_me:1750: error: cannot compute OBJEXT: cannot compile" >&5  { { echo "$as_me:1819: error: cannot compute OBJEXT: cannot compile" >&5
1820  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}  echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1821     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1822  fi  fi
1823    
1824  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
1825  fi  fi
1826  echo "$as_me:1757: result: $ac_cv_objext" >&5  echo "$as_me:1826: result: $ac_cv_objext" >&5
1827  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
1828  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
1829  ac_objext=$OBJEXT  ac_objext=$OBJEXT
1830  echo "$as_me:1761: checking whether we are using the GNU C compiler" >&5  echo "$as_me:1830: checking whether we are using the GNU C compiler" >&5
1831  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1832  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
1833    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1834  else  else
1835    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1836  #line 1767 "configure"  #line 1836 "configure"
1837  #include "confdefs.h"  #include "confdefs.h"
1838    
1839    #ifdef F77_DUMMY_MAIN
1840    #  ifdef __cplusplus
1841         extern "C"
1842    #  endif
1843       int F77_DUMMY_MAIN() { return 1; }
1844    #endif
1845  int  int
1846  main ()  main ()
1847  {  {
# Line 1779  main () Line 1854  main ()
1854  }  }
1855  _ACEOF  _ACEOF
1856  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
1857  if { (eval echo "$as_me:1782: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1857: \"$ac_compile\"") >&5
1858    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1859    ac_status=$?    ac_status=$?
1860    echo "$as_me:1785: \$? = $ac_status" >&5    echo "$as_me:1860: \$? = $ac_status" >&5
1861    (exit $ac_status); } &&    (exit $ac_status); } &&
1862           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
1863    { (eval echo "$as_me:1788: \"$ac_try\"") >&5    { (eval echo "$as_me:1863: \"$ac_try\"") >&5
1864    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1865    ac_status=$?    ac_status=$?
1866    echo "$as_me:1791: \$? = $ac_status" >&5    echo "$as_me:1866: \$? = $ac_status" >&5
1867    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1868    ac_compiler_gnu=yes    ac_compiler_gnu=yes
1869  else  else
# Line 1800  rm -f conftest.$ac_objext conftest.$ac_e Line 1875  rm -f conftest.$ac_objext conftest.$ac_e
1875  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
1876    
1877  fi  fi
1878  echo "$as_me:1803: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:1878: result: $ac_cv_c_compiler_gnu" >&5
1879  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1880  GCC=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
1881  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
1882  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
1883  CFLAGS="-g"  CFLAGS="-g"
1884  echo "$as_me:1809: checking whether $CC accepts -g" >&5  echo "$as_me:1884: checking whether $CC accepts -g" >&5
1885  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1886  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
1887    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1888  else  else
1889    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1890  #line 1815 "configure"  #line 1890 "configure"
1891  #include "confdefs.h"  #include "confdefs.h"
1892    
1893    #ifdef F77_DUMMY_MAIN
1894    #  ifdef __cplusplus
1895         extern "C"
1896    #  endif
1897       int F77_DUMMY_MAIN() { return 1; }
1898    #endif
1899  int  int
1900  main ()  main ()
1901  {  {
# Line 1824  main () Line 1905  main ()
1905  }  }
1906  _ACEOF  _ACEOF
1907  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
1908  if { (eval echo "$as_me:1827: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1908: \"$ac_compile\"") >&5
1909    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1910    ac_status=$?    ac_status=$?
1911    echo "$as_me:1830: \$? = $ac_status" >&5    echo "$as_me:1911: \$? = $ac_status" >&5
1912    (exit $ac_status); } &&    (exit $ac_status); } &&
1913           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
1914    { (eval echo "$as_me:1833: \"$ac_try\"") >&5    { (eval echo "$as_me:1914: \"$ac_try\"") >&5
1915    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1916    ac_status=$?    ac_status=$?
1917    echo "$as_me:1836: \$? = $ac_status" >&5    echo "$as_me:1917: \$? = $ac_status" >&5
1918    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1919    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
1920  else  else
# Line 1843  ac_cv_prog_cc_g=no Line 1924  ac_cv_prog_cc_g=no
1924  fi  fi
1925  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
1926  fi  fi
1927  echo "$as_me:1846: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:1927: result: $ac_cv_prog_cc_g" >&5
1928  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1929  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
1930    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
# Line 1870  cat >conftest.$ac_ext <<_ACEOF Line 1951  cat >conftest.$ac_ext <<_ACEOF
1951  #endif  #endif
1952  _ACEOF  _ACEOF
1953  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
1954  if { (eval echo "$as_me:1873: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1954: \"$ac_compile\"") >&5
1955    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1956    ac_status=$?    ac_status=$?
1957    echo "$as_me:1876: \$? = $ac_status" >&5    echo "$as_me:1957: \$? = $ac_status" >&5
1958    (exit $ac_status); } &&    (exit $ac_status); } &&
1959           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
1960    { (eval echo "$as_me:1879: \"$ac_try\"") >&5    { (eval echo "$as_me:1960: \"$ac_try\"") >&5
1961    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
1962    ac_status=$?    ac_status=$?
1963    echo "$as_me:1882: \$? = $ac_status" >&5    echo "$as_me:1963: \$? = $ac_status" >&5
1964    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
1965    for ac_declaration in \    for ac_declaration in \
1966     ''\     ''\
# Line 1891  if { (eval echo "$as_me:1873: \"$ac_comp Line 1972  if { (eval echo "$as_me:1873: \"$ac_comp
1972     'void exit (int);'     'void exit (int);'
1973  do  do
1974    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
1975  #line 1894 "configure"  #line 1975 "configure"
1976  #include "confdefs.h"  #include "confdefs.h"
1977  #include <stdlib.h>  #include <stdlib.h>
1978  $ac_declaration  $ac_declaration
1979    #ifdef F77_DUMMY_MAIN
1980    #  ifdef __cplusplus
1981         extern "C"
1982    #  endif
1983       int F77_DUMMY_MAIN() { return 1; }
1984    #endif
1985  int  int
1986  main ()  main ()
1987  {  {
# Line 1904  exit (42); Line 1991  exit (42);
1991  }  }
1992  _ACEOF  _ACEOF
1993  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
1994  if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5  if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5
1995    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
1996    ac_status=$?    ac_status=$?
1997    echo "$as_me:1910: \$? = $ac_status" >&5    echo "$as_me:1997: \$? = $ac_status" >&5
1998    (exit $ac_status); } &&    (exit $ac_status); } &&
1999           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2000    { (eval echo "$as_me:1913: \"$ac_try\"") >&5    { (eval echo "$as_me:2000: \"$ac_try\"") >&5
2001    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2002    ac_status=$?    ac_status=$?
2003    echo "$as_me:1916: \$? = $ac_status" >&5    echo "$as_me:2003: \$? = $ac_status" >&5
2004    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2005    :    :
2006  else  else
# Line 1923  continue Line 2010  continue
2010  fi  fi
2011  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2012    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2013  #line 1926 "configure"  #line 2013 "configure"
2014  #include "confdefs.h"  #include "confdefs.h"
2015  $ac_declaration  $ac_declaration
2016    #ifdef F77_DUMMY_MAIN
2017    #  ifdef __cplusplus
2018         extern "C"
2019    #  endif
2020       int F77_DUMMY_MAIN() { return 1; }
2021    #endif
2022  int  int
2023  main ()  main ()
2024  {  {
# Line 1935  exit (42); Line 2028  exit (42);
2028  }  }
2029  _ACEOF  _ACEOF
2030  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2031  if { (eval echo "$as_me:1938: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2031: \"$ac_compile\"") >&5
2032    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2033    ac_status=$?    ac_status=$?
2034    echo "$as_me:1941: \$? = $ac_status" >&5    echo "$as_me:2034: \$? = $ac_status" >&5
2035    (exit $ac_status); } &&    (exit $ac_status); } &&
2036           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2037    { (eval echo "$as_me:1944: \"$ac_try\"") >&5    { (eval echo "$as_me:2037: \"$ac_try\"") >&5
2038    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2039    ac_status=$?    ac_status=$?
2040    echo "$as_me:1947: \$? = $ac_status" >&5    echo "$as_me:2040: \$? = $ac_status" >&5
2041    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2042    break    break
2043  else  else
# Line 1971  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 2064  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
2064  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2066    
2067    ac_config_commands="$ac_config_commands default-1"
2068    
2069    am_make=${MAKE-make}
2070    cat > confinc << 'END'
2071    doit:
2072            @echo done
2073    END
2074    # If we don't find an include directive, just comment out the code.
2075    echo "$as_me:2075: checking for style of include used by $am_make" >&5
2076    echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2077    am__include='#'
2078    am__quote=
2079    _am_result=none
2080    # First try GNU make style include.
2081    echo "include confinc" > confmf
2082    # We grep out `Entering directory' and `Leaving directory'
2083    # messages which can occur if `w' ends up in MAKEFLAGS.
2084    # In particular we don't look at `^make:' because GNU make might
2085    # be invoked under some other name (usually "gmake"), in which
2086    # case it prints its new name instead of `make'.
2087    if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2088       am__include=include
2089       am__quote=
2090       _am_result=GNU
2091    fi
2092    # Now try BSD make style include.
2093    if test "$am__include" = "#"; then
2094       echo '.include "confinc"' > confmf
2095       if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2096          am__include=.include
2097          am__quote='"'
2098          _am_result=BSD
2099       fi
2100    fi
2101    
2102    echo "$as_me:2102: result: $_am_result" >&5
2103    echo "${ECHO_T}$_am_result" >&6
2104    rm -f confinc confmf
2105    
2106    depcc="$CC"   am_compiler_list=
2107    
2108    echo "$as_me:2108: checking dependency style of $depcc" >&5
2109    echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2110    if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2111      echo $ECHO_N "(cached) $ECHO_C" >&6
2112    else
2113      if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2114      # We make a subdir and do the tests there.  Otherwise we can end up
2115      # making bogus files that we don't know about and never remove.  For
2116      # instance it was reported that on HP-UX the gcc test will end up
2117      # making a dummy file named `D' -- because `-MD' means `put the output
2118      # in D'.
2119      mkdir conftest.dir
2120      # Copy depcomp to subdir because otherwise we won't find it if we're
2121      # using a relative directory.
2122      cp "$am_depcomp" conftest.dir
2123      cd conftest.dir
2124    
2125      am_cv_CC_dependencies_compiler_type=none
2126      if test "$am_compiler_list" = ""; then
2127         am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2128      fi
2129      for depmode in $am_compiler_list; do
2130        # We need to recreate these files for each test, as the compiler may
2131        # overwrite some of them when testing with obscure command lines.
2132        # This happens at least with the AIX C compiler.
2133        echo '#include "conftest.h"' > conftest.c
2134        echo 'int i;' > conftest.h
2135        echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2136    
2137        case $depmode in
2138        nosideeffect)
2139          # after this tag, mechanisms are not by side-effect, so they'll
2140          # only be used when explicitly requested
2141          if test "x$enable_dependency_tracking" = xyes; then
2142            continue
2143          else
2144            break
2145          fi
2146          ;;
2147        none) break ;;
2148        esac
2149        # We check with `-c' and `-o' for the sake of the "dashmstdout"
2150        # mode.  It turns out that the SunPro C++ compiler does not properly
2151        # handle `-M -o', and we need to detect this.
2152        if depmode=$depmode \
2153           source=conftest.c object=conftest.o \
2154           depfile=conftest.Po tmpdepfile=conftest.TPo \
2155           $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2156           grep conftest.h conftest.Po > /dev/null 2>&1 &&
2157           ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2158          am_cv_CC_dependencies_compiler_type=$depmode
2159          break
2160        fi
2161      done
2162    
2163      cd ..
2164      rm -rf conftest.dir
2165    else
2166      am_cv_CC_dependencies_compiler_type=none
2167    fi
2168    
2169    fi
2170    echo "$as_me:2170: result: $am_cv_CC_dependencies_compiler_type" >&5
2171    echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2172    CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2173    
2174  ac_ext=c  ac_ext=c
2175  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2176  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2179  echo "$as_me:1979: checking how to run the C preprocessor" >&5  echo "$as_me:2179: checking how to run the C preprocessor" >&5
2180  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2181  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
2182  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
# Line 1997  do Line 2197  do
2197    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
2198    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2199    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2200  #line 2000 "configure"  #line 2200 "configure"
2201  #include "confdefs.h"  #include "confdefs.h"
2202  #include <assert.h>  #include <assert.h>
2203                       Syntax error                       Syntax error
2204  _ACEOF  _ACEOF
2205  if { (eval echo "$as_me:2005: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:2205: \"$ac_cpp conftest.$ac_ext\"") >&5
2206    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2207    ac_status=$?    ac_status=$?
2208    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
2209    rm -f conftest.er1    rm -f conftest.er1
2210    cat conftest.err >&5    cat conftest.err >&5
2211    echo "$as_me:2011: \$? = $ac_status" >&5    echo "$as_me:2211: \$? = $ac_status" >&5
2212    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2213    if test -s conftest.err; then    if test -s conftest.err; then
2214      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 2031  rm -f conftest.err conftest.$ac_ext Line 2231  rm -f conftest.err conftest.$ac_ext
2231    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
2232    # can be detected and how.    # can be detected and how.
2233    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2234  #line 2034 "configure"  #line 2234 "configure"
2235  #include "confdefs.h"  #include "confdefs.h"
2236  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
2237  _ACEOF  _ACEOF
2238  if { (eval echo "$as_me:2038: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:2238: \"$ac_cpp conftest.$ac_ext\"") >&5
2239    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2240    ac_status=$?    ac_status=$?
2241    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
2242    rm -f conftest.er1    rm -f conftest.er1
2243    cat conftest.err >&5    cat conftest.err >&5
2244    echo "$as_me:2044: \$? = $ac_status" >&5    echo "$as_me:2244: \$? = $ac_status" >&5
2245    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2246    if test -s conftest.err; then    if test -s conftest.err; then
2247      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 2078  fi Line 2278  fi
2278  else  else
2279    ac_cv_prog_CPP=$CPP    ac_cv_prog_CPP=$CPP
2280  fi  fi
2281  echo "$as_me:2081: result: $CPP" >&5  echo "$as_me:2281: result: $CPP" >&5
2282  echo "${ECHO_T}$CPP" >&6  echo "${ECHO_T}$CPP" >&6
2283  ac_preproc_ok=false  ac_preproc_ok=false
2284  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
# Line 2088  do Line 2288  do
2288    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
2289    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2290    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2291  #line 2091 "configure"  #line 2291 "configure"
2292  #include "confdefs.h"  #include "confdefs.h"
2293  #include <assert.h>  #include <assert.h>
2294                       Syntax error                       Syntax error
2295  _ACEOF  _ACEOF
2296  if { (eval echo "$as_me:2096: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:2296: \"$ac_cpp conftest.$ac_ext\"") >&5
2297    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2298    ac_status=$?    ac_status=$?
2299    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
2300    rm -f conftest.er1    rm -f conftest.er1
2301    cat conftest.err >&5    cat conftest.err >&5
2302    echo "$as_me:2102: \$? = $ac_status" >&5    echo "$as_me:2302: \$? = $ac_status" >&5
2303    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2304    if test -s conftest.err; then    if test -s conftest.err; then
2305      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 2122  rm -f conftest.err conftest.$ac_ext Line 2322  rm -f conftest.err conftest.$ac_ext
2322    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
2323    # can be detected and how.    # can be detected and how.
2324    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2325  #line 2125 "configure"  #line 2325 "configure"
2326  #include "confdefs.h"  #include "confdefs.h"
2327  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
2328  _ACEOF  _ACEOF
2329  if { (eval echo "$as_me:2129: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:2329: \"$ac_cpp conftest.$ac_ext\"") >&5
2330    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2331    ac_status=$?    ac_status=$?
2332    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
2333    rm -f conftest.er1    rm -f conftest.er1
2334    cat conftest.err >&5    cat conftest.err >&5
2335    echo "$as_me:2135: \$? = $ac_status" >&5    echo "$as_me:2335: \$? = $ac_status" >&5
2336    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2337    if test -s conftest.err; then    if test -s conftest.err; then
2338      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 2160  rm -f conftest.err conftest.$ac_ext Line 2360  rm -f conftest.err conftest.$ac_ext
2360  if $ac_preproc_ok; then  if $ac_preproc_ok; then
2361    :    :
2362  else  else
2363    { { echo "$as_me:2163: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:2363: error: C preprocessor \"$CPP\" fails sanity check" >&5
2364  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2365     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2366  fi  fi
# Line 2171  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 2371  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
2371  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2372  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2373    
2374  echo "$as_me:2174: checking for minix/config.h" >&5  echo "$as_me:2374: checking for ANSI C header files" >&5
2375    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2376    if test "${ac_cv_header_stdc+set}" = set; then
2377      echo $ECHO_N "(cached) $ECHO_C" >&6
2378    else
2379      cat >conftest.$ac_ext <<_ACEOF
2380    #line 2380 "configure"
2381    #include "confdefs.h"
2382    #include <stdlib.h>
2383    #include <stdarg.h>
2384    #include <string.h>
2385    #include <float.h>
2386    
2387    _ACEOF
2388    if { (eval echo "$as_me:2388: \"$ac_cpp conftest.$ac_ext\"") >&5
2389      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2390      ac_status=$?
2391      egrep -v '^ *\+' conftest.er1 >conftest.err
2392      rm -f conftest.er1
2393      cat conftest.err >&5
2394      echo "$as_me:2394: \$? = $ac_status" >&5
2395      (exit $ac_status); } >/dev/null; then
2396      if test -s conftest.err; then
2397        ac_cpp_err=$ac_c_preproc_warn_flag
2398      else
2399        ac_cpp_err=
2400      fi
2401    else
2402      ac_cpp_err=yes
2403    fi
2404    if test -z "$ac_cpp_err"; then
2405      ac_cv_header_stdc=yes
2406    else
2407      echo "$as_me: failed program was:" >&5
2408      cat conftest.$ac_ext >&5
2409      ac_cv_header_stdc=no
2410    fi
2411    rm -f conftest.err conftest.$ac_ext
2412    
2413    if test $ac_cv_header_stdc = yes; then
2414      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2415      cat >conftest.$ac_ext <<_ACEOF
2416    #line 2416 "configure"
2417    #include "confdefs.h"
2418    #include <string.h>
2419    
2420    _ACEOF
2421    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2422      egrep "memchr" >/dev/null 2>&1; then
2423      :
2424    else
2425      ac_cv_header_stdc=no
2426    fi
2427    rm -f conftest*
2428    
2429    fi
2430    
2431    if test $ac_cv_header_stdc = yes; then
2432      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2433      cat >conftest.$ac_ext <<_ACEOF
2434    #line 2434 "configure"
2435    #include "confdefs.h"
2436    #include <stdlib.h>
2437    
2438    _ACEOF
2439    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2440      egrep "free" >/dev/null 2>&1; then
2441      :
2442    else
2443      ac_cv_header_stdc=no
2444    fi
2445    rm -f conftest*
2446    
2447    fi
2448    
2449    if test $ac_cv_header_stdc = yes; then
2450      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2451      if test "$cross_compiling" = yes; then
2452      :
2453    else
2454      cat >conftest.$ac_ext <<_ACEOF
2455    #line 2455 "configure"
2456    #include "confdefs.h"
2457    #include <ctype.h>
2458    #if ((' ' & 0x0FF) == 0x020)
2459    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2460    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2461    #else
2462    # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2463                         || ('j' <= (c) && (c) <= 'r') \
2464                         || ('s' <= (c) && (c) <= 'z'))
2465    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2466    #endif
2467    
2468    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2469    int
2470    main ()
2471    {
2472      int i;
2473      for (i = 0; i < 256; i++)
2474        if (XOR (islower (i), ISLOWER (i))
2475            || toupper (i) != TOUPPER (i))
2476          exit(2);
2477      exit (0);
2478    }
2479    _ACEOF
2480    rm -f conftest$ac_exeext
2481    if { (eval echo "$as_me:2481: \"$ac_link\"") >&5
2482      (eval $ac_link) 2>&5
2483      ac_status=$?
2484      echo "$as_me:2484: \$? = $ac_status" >&5
2485      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2486      { (eval echo "$as_me:2486: \"$ac_try\"") >&5
2487      (eval $ac_try) 2>&5
2488      ac_status=$?
2489      echo "$as_me:2489: \$? = $ac_status" >&5
2490      (exit $ac_status); }; }; then
2491      :
2492    else
2493      echo "$as_me: program exited with status $ac_status" >&5
2494    echo "$as_me: failed program was:" >&5
2495    cat conftest.$ac_ext >&5
2496    ac_cv_header_stdc=no
2497    fi
2498    rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2499    fi
2500    fi
2501    fi
2502    echo "$as_me:2502: result: $ac_cv_header_stdc" >&5
2503    echo "${ECHO_T}$ac_cv_header_stdc" >&6
2504    if test $ac_cv_header_stdc = yes; then
2505    
2506    cat >>confdefs.h <<\_ACEOF
2507    #define STDC_HEADERS 1
2508    _ACEOF
2509    
2510    fi
2511    
2512    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2513    
2514    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2515                      inttypes.h stdint.h unistd.h
2516    do
2517    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2518    echo "$as_me:2518: checking for $ac_header" >&5
2519    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2520    if eval "test \"\${$as_ac_Header+set}\" = set"; then
2521      echo $ECHO_N "(cached) $ECHO_C" >&6
2522    else
2523      cat >conftest.$ac_ext <<_ACEOF
2524    #line 2524 "configure"
2525    #include "confdefs.h"
2526    $ac_includes_default
2527    
2528    #include <$ac_header>
2529    _ACEOF
2530    rm -f conftest.$ac_objext
2531    if { (eval echo "$as_me:2531: \"$ac_compile\"") >&5
2532      (eval $ac_compile) 2>&5
2533      ac_status=$?
2534      echo "$as_me:2534: \$? = $ac_status" >&5
2535      (exit $ac_status); } &&
2536             { ac_try='test -s conftest.$ac_objext'
2537      { (eval echo "$as_me:2537: \"$ac_try\"") >&5
2538      (eval $ac_try) 2>&5
2539      ac_status=$?
2540      echo "$as_me:2540: \$? = $ac_status" >&5
2541      (exit $ac_status); }; }; then
2542      eval "$as_ac_Header=yes"
2543    else
2544      echo "$as_me: failed program was:" >&5
2545    cat conftest.$ac_ext >&5
2546    eval "$as_ac_Header=no"
2547    fi
2548    rm -f conftest.$ac_objext conftest.$ac_ext
2549    fi
2550    echo "$as_me:2550: result: `eval echo '${'$as_ac_Header'}'`" >&5
2551    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2552    if test `eval echo '${'$as_ac_Header'}'` = yes; then
2553      cat >>confdefs.h <<_ACEOF
2554    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2555    _ACEOF
2556    
2557    fi
2558    
2559    done
2560    
2561    if test "${ac_cv_header_minix_config_h+set}" = set; then
2562      echo "$as_me:2562: checking for minix/config.h" >&5
2563  echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6  echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2564  if test "${ac_cv_header_minix_config_h+set}" = set; then  if test "${ac_cv_header_minix_config_h+set}" = set; then
2565    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2566    fi
2567    echo "$as_me:2567: result: $ac_cv_header_minix_config_h" >&5
2568    echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2569  else  else
2570    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
2571  #line 2180 "configure"  echo "$as_me:2571: checking minix/config.h usability" >&5
2572    echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
2573    cat >conftest.$ac_ext <<_ACEOF
2574    #line 2574 "configure"
2575  #include "confdefs.h"  #include "confdefs.h"
2576    $ac_includes_default
2577  #include <minix/config.h>  #include <minix/config.h>
2578  _ACEOF  _ACEOF
2579  if { (eval echo "$as_me:2184: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
2580    if { (eval echo "$as_me:2580: \"$ac_compile\"") >&5
2581      (eval $ac_compile) 2>&5
2582      ac_status=$?
2583      echo "$as_me:2583: \$? = $ac_status" >&5
2584      (exit $ac_status); } &&
2585             { ac_try='test -s conftest.$ac_objext'
2586      { (eval echo "$as_me:2586: \"$ac_try\"") >&5
2587      (eval $ac_try) 2>&5
2588      ac_status=$?
2589      echo "$as_me:2589: \$? = $ac_status" >&5
2590      (exit $ac_status); }; }; then
2591      ac_header_compiler=yes
2592    else
2593      echo "$as_me: failed program was:" >&5
2594    cat conftest.$ac_ext >&5
2595    ac_header_compiler=no
2596    fi
2597    rm -f conftest.$ac_objext conftest.$ac_ext
2598    echo "$as_me:2598: result: $ac_header_compiler" >&5
2599    echo "${ECHO_T}$ac_header_compiler" >&6
2600    
2601    # Is the header present?
2602    echo "$as_me:2602: checking minix/config.h presence" >&5
2603    echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
2604    cat >conftest.$ac_ext <<_ACEOF
2605    #line 2605 "configure"
2606    #include "confdefs.h"
2607    #include <minix/config.h>
2608    _ACEOF
2609    if { (eval echo "$as_me:2609: \"$ac_cpp conftest.$ac_ext\"") >&5
2610    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2611    ac_status=$?    ac_status=$?
2612    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
2613    rm -f conftest.er1    rm -f conftest.er1
2614    cat conftest.err >&5    cat conftest.err >&5
2615    echo "$as_me:2190: \$? = $ac_status" >&5    echo "$as_me:2615: \$? = $ac_status" >&5
2616    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2617    if test -s conftest.err; then    if test -s conftest.err; then
2618      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 2198  else Line 2623  else
2623    ac_cpp_err=yes    ac_cpp_err=yes
2624  fi  fi
2625  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
2626    ac_cv_header_minix_config_h=yes    ac_header_preproc=yes
2627  else  else
2628    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2629    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2630    ac_cv_header_minix_config_h=no    ac_header_preproc=no
2631  fi  fi
2632  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
2633    echo "$as_me:2633: result: $ac_header_preproc" >&5
2634    echo "${ECHO_T}$ac_header_preproc" >&6
2635    
2636    # So?  What about this header?
2637    case $ac_header_compiler:$ac_header_preproc in
2638      yes:no )
2639        { echo "$as_me:2639: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
2640    echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2641        { echo "$as_me:2641: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2642    echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2643      no:yes )
2644        { echo "$as_me:2644: WARNING: minix/config.h: present but cannot be compiled." >&5
2645    echo "$as_me: WARNING: minix/config.h: present but cannot be compiled." >&2;}
2646        { echo "$as_me:2646: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
2647    echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
2648        { echo "$as_me:2648: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
2649    echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
2650    esac
2651    echo "$as_me:2651: checking for minix/config.h" >&5
2652    echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
2653    if test "${ac_cv_header_minix_config_h+set}" = set; then
2654      echo $ECHO_N "(cached) $ECHO_C" >&6
2655    else
2656      ac_cv_header_minix_config_h=$ac_header_preproc
2657  fi  fi
2658  echo "$as_me:2209: result: $ac_cv_header_minix_config_h" >&5  echo "$as_me:2658: result: $ac_cv_header_minix_config_h" >&5
2659  echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6  echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
2660    
2661    fi
2662  if test $ac_cv_header_minix_config_h = yes; then  if test $ac_cv_header_minix_config_h = yes; then
2663    MINIX=yes    MINIX=yes
2664  else  else
# Line 2216  fi Line 2667  fi
2667    
2668  if test "$MINIX" = yes; then  if test "$MINIX" = yes; then
2669    
2670  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
2671  #define _POSIX_SOURCE 1  #define _POSIX_SOURCE 1
2672  EOF  _ACEOF
2673    
2674  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
2675  #define _POSIX_1_SOURCE 2  #define _POSIX_1_SOURCE 2
2676  EOF  _ACEOF
2677    
2678  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
2679  #define _MINIX 1  #define _MINIX 1
2680  EOF  _ACEOF
2681    
2682  fi  fi
2683    
2684          echo "$as_me:2233: checking for strerror in -lcposix" >&5          echo "$as_me:2684: checking for strerror in -lcposix" >&5
2685  echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6  echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2686  if test "${ac_cv_lib_cposix_strerror+set}" = set; then  if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2687    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2238  else Line 2689  else
2689    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
2690  LIBS="-lcposix  $LIBS"  LIBS="-lcposix  $LIBS"
2691  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2692  #line 2241 "configure"  #line 2692 "configure"
2693  #include "confdefs.h"  #include "confdefs.h"
2694    
2695  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 2248  extern "C" Line 2699  extern "C"
2699  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
2700     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
2701  char strerror ();  char strerror ();
2702    #ifdef F77_DUMMY_MAIN
2703    #  ifdef __cplusplus
2704         extern "C"
2705    #  endif
2706       int F77_DUMMY_MAIN() { return 1; }
2707    #endif
2708  int  int
2709  main ()  main ()
2710  {  {
# Line 2257  strerror (); Line 2714  strerror ();
2714  }  }
2715  _ACEOF  _ACEOF
2716  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
2717  if { (eval echo "$as_me:2260: \"$ac_link\"") >&5  if { (eval echo "$as_me:2717: \"$ac_link\"") >&5
2718    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
2719    ac_status=$?    ac_status=$?
2720    echo "$as_me:2263: \$? = $ac_status" >&5    echo "$as_me:2720: \$? = $ac_status" >&5
2721    (exit $ac_status); } &&    (exit $ac_status); } &&
2722           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
2723    { (eval echo "$as_me:2266: \"$ac_try\"") >&5    { (eval echo "$as_me:2723: \"$ac_try\"") >&5
2724    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2725    ac_status=$?    ac_status=$?
2726    echo "$as_me:2269: \$? = $ac_status" >&5    echo "$as_me:2726: \$? = $ac_status" >&5
2727    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2728    ac_cv_lib_cposix_strerror=yes    ac_cv_lib_cposix_strerror=yes
2729  else  else
# Line 2277  fi Line 2734  fi
2734  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2735  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
2736  fi  fi
2737  echo "$as_me:2280: result: $ac_cv_lib_cposix_strerror" >&5  echo "$as_me:2737: result: $ac_cv_lib_cposix_strerror" >&5
2738  echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6  echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2739  if test $ac_cv_lib_cposix_strerror = yes; then  if test $ac_cv_lib_cposix_strerror = yes; then
2740    LIBS="$LIBS -lcposix"    LIBS="$LIBS -lcposix"
2741  fi  fi
2742    
2743  echo "$as_me:2286: checking for ${CC-cc} option to accept ANSI C" >&5  echo "$as_me:2743: checking for ${CC-cc} option to accept ANSI C" >&5
2744  echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6  echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2745  if test "${am_cv_prog_cc_stdc+set}" = set; then  if test "${am_cv_prog_cc_stdc+set}" = set; then
2746    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2294  ac_save_CC="$CC" Line 2751  ac_save_CC="$CC"
2751  # breaks some systems' header files.  # breaks some systems' header files.
2752  # AIX                   -qlanglvl=ansi  # AIX                   -qlanglvl=ansi
2753  # Ultrix and OSF/1      -std1  # Ultrix and OSF/1      -std1
2754  # HP-UX                 -Aa -D_HPUX_SOURCE  # HP-UX 10.20 and later -Ae
2755    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2756  # SVR4                  -Xc -D__EXTENSIONS__  # SVR4                  -Xc -D__EXTENSIONS__
2757  for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2758  do  do
2759    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2760    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2761  #line 2303 "configure"  #line 2761 "configure"
2762  #include "confdefs.h"  #include "confdefs.h"
2763  #include <stdarg.h>  #include <stdarg.h>
2764  #include <stdio.h>  #include <stdio.h>
# Line 2331  int pairnames (int, char **, FILE *(*)(s Line 2789  int pairnames (int, char **, FILE *(*)(s
2789  int argc;  int argc;
2790  char **argv;  char **argv;
2791    
2792    #ifdef F77_DUMMY_MAIN
2793    #  ifdef __cplusplus
2794         extern "C"
2795    #  endif
2796       int F77_DUMMY_MAIN() { return 1; }
2797    #endif
2798  int  int
2799  main ()  main ()
2800  {  {
# Line 2342  return f (e, argv, 0) != argv[0]  ||  f Line 2806  return f (e, argv, 0) != argv[0]  ||  f
2806  }  }
2807  _ACEOF  _ACEOF
2808  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2809  if { (eval echo "$as_me:2345: \"$ac_compile\"") >&5  if { (eval echo "$as_me:2809: \"$ac_compile\"") >&5
2810    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
2811    ac_status=$?    ac_status=$?
2812    echo "$as_me:2348: \$? = $ac_status" >&5    echo "$as_me:2812: \$? = $ac_status" >&5
2813    (exit $ac_status); } &&    (exit $ac_status); } &&
2814           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
2815    { (eval echo "$as_me:2351: \"$ac_try\"") >&5    { (eval echo "$as_me:2815: \"$ac_try\"") >&5
2816    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2817    ac_status=$?    ac_status=$?
2818    echo "$as_me:2354: \$? = $ac_status" >&5    echo "$as_me:2818: \$? = $ac_status" >&5
2819    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2820    am_cv_prog_cc_stdc="$ac_arg"; break    am_cv_prog_cc_stdc="$ac_arg"; break
2821  else  else
# Line 2365  CC="$ac_save_CC" Line 2829  CC="$ac_save_CC"
2829  fi  fi
2830    
2831  if test -z "$am_cv_prog_cc_stdc"; then  if test -z "$am_cv_prog_cc_stdc"; then
2832    echo "$as_me:2368: result: none needed" >&5    echo "$as_me:2832: result: none needed" >&5
2833  echo "${ECHO_T}none needed" >&6  echo "${ECHO_T}none needed" >&6
2834  else  else
2835    echo "$as_me:2371: result: $am_cv_prog_cc_stdc" >&5    echo "$as_me:2835: result: $am_cv_prog_cc_stdc" >&5
2836  echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2837  fi  fi
2838  case "x$am_cv_prog_cc_stdc" in  case "x$am_cv_prog_cc_stdc" in
# Line 2379  esac Line 2843  esac
2843  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
2844    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2845  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2846  echo "$as_me:2382: checking for $ac_word" >&5  echo "$as_me:2846: checking for $ac_word" >&5
2847  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2848  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
2849    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2394  for ac_dir in $ac_dummy; do Line 2858  for ac_dir in $ac_dummy; do
2858    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2859    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2860  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2861  echo "$as_me:2397: found $ac_dir/$ac_word" >&5  echo "$as_me:2861: found $ac_dir/$ac_word" >&5
2862  break  break
2863  done  done
2864    
# Line 2402  fi Line 2866  fi
2866  fi  fi
2867  RANLIB=$ac_cv_prog_RANLIB  RANLIB=$ac_cv_prog_RANLIB
2868  if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
2869    echo "$as_me:2405: result: $RANLIB" >&5    echo "$as_me:2869: result: $RANLIB" >&5
2870  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$RANLIB" >&6
2871  else  else
2872    echo "$as_me:2408: result: no" >&5    echo "$as_me:2872: result: no" >&5
2873  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2874  fi  fi
2875    
# Line 2414  if test -z "$ac_cv_prog_RANLIB"; then Line 2878  if test -z "$ac_cv_prog_RANLIB"; then
2878    ac_ct_RANLIB=$RANLIB    ac_ct_RANLIB=$RANLIB
2879    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
2880  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2881  echo "$as_me:2417: checking for $ac_word" >&5  echo "$as_me:2881: checking for $ac_word" >&5
2882  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2884    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2429  for ac_dir in $ac_dummy; do Line 2893  for ac_dir in $ac_dummy; do
2893    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2894    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
2895  ac_cv_prog_ac_ct_RANLIB="ranlib"  ac_cv_prog_ac_ct_RANLIB="ranlib"
2896  echo "$as_me:2432: found $ac_dir/$ac_word" >&5  echo "$as_me:2896: found $ac_dir/$ac_word" >&5
2897  break  break
2898  done  done
2899    
# Line 2438  fi Line 2902  fi
2902  fi  fi
2903  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2904  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_RANLIB"; then
2905    echo "$as_me:2441: result: $ac_ct_RANLIB" >&5    echo "$as_me:2905: result: $ac_ct_RANLIB" >&5
2906  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_RANLIB" >&6
2907  else  else
2908    echo "$as_me:2444: result: no" >&5    echo "$as_me:2908: result: no" >&5
2909  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2910  fi  fi
2911    
# Line 2455  for ac_prog in gm4 gnum4 m4 Line 2919  for ac_prog in gm4 gnum4 m4
2919  do  do
2920    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2921  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2922  echo "$as_me:2458: checking for $ac_word" >&5  echo "$as_me:2922: checking for $ac_word" >&5
2923  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2924  if test "${ac_cv_path_M4+set}" = set; then  if test "${ac_cv_path_M4+set}" = set; then
2925    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2472  for ac_dir in $ac_dummy; do Line 2936  for ac_dir in $ac_dummy; do
2936    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
2937    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
2938     ac_cv_path_M4="$ac_dir/$ac_word"     ac_cv_path_M4="$ac_dir/$ac_word"
2939     echo "$as_me:2475: found $ac_dir/$ac_word" >&5     echo "$as_me:2939: found $ac_dir/$ac_word" >&5
2940     break     break
2941  fi  fi
2942  done  done
# Line 2483  fi Line 2947  fi
2947  M4=$ac_cv_path_M4  M4=$ac_cv_path_M4
2948    
2949  if test -n "$M4"; then  if test -n "$M4"; then
2950    echo "$as_me:2486: result: $M4" >&5    echo "$as_me:2950: result: $M4" >&5
2951  echo "${ECHO_T}$M4" >&6  echo "${ECHO_T}$M4" >&6
2952  else  else
2953    echo "$as_me:2489: result: no" >&5    echo "$as_me:2953: result: no" >&5
2954  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
2955  fi  fi
2956    
# Line 2494  fi Line 2958  fi
2958  done  done
2959  test -n "$M4" || M4="m4"  test -n "$M4" || M4="m4"
2960    
2961  echo "$as_me:2497: checking whether m4 supports frozen files" >&5  echo "$as_me:2961: checking whether m4 supports frozen files" >&5
2962  echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6  echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2963  if test "${ac_cv_prog_gnu_m4+set}" = set; then  if test "${ac_cv_prog_gnu_m4+set}" = set; then
2964    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2506  if test x"$M4" != x; then Line 2970  if test x"$M4" != x; then
2970    esac    esac
2971  fi  fi
2972  fi  fi
2973  echo "$as_me:2509: result: $ac_cv_prog_gnu_m4" >&5  echo "$as_me:2973: result: $ac_cv_prog_gnu_m4" >&5
2974  echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6  echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2975    
2976  if test "$ac_cv_prog_gnu_m4" != yes; then  if test "$ac_cv_prog_gnu_m4" != yes; then
# Line 2519  if test "${enable_gcc_warnings+set}" = s Line 2983  if test "${enable_gcc_warnings+set}" = s
2983    enableval="$enable_gcc_warnings"    enableval="$enable_gcc_warnings"
2984    case "${enableval}" in    case "${enableval}" in
2985     yes|no) ;;     yes|no) ;;
2986     *)      { { echo "$as_me:2522: error: bad value ${enableval} for gcc-warnings option" >&5     *)      { { echo "$as_me:2986: error: bad value ${enableval} for gcc-warnings option" >&5
2987  echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}  echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
2988     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
2989   esac   esac
# Line 2527  else Line 2991  else
2991    enableval=no    enableval=no
2992  fi;  fi;
2993  if test "${enableval}" = yes; then  if test "${enableval}" = yes; then
2994    echo "$as_me:2530: checking whether compiler accepts -Wall" >&5    echo "$as_me:2994: checking whether compiler accepts -Wall" >&5
2995  echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
2996    
2997  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
2998  CFLAGS="$CFLAGS -Wall"  CFLAGS="$CFLAGS -Wall"
2999  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3000  #line 2536 "configure"  #line 3000 "configure"
3001  #include "confdefs.h"  #include "confdefs.h"
3002    
3003    #ifdef F77_DUMMY_MAIN
3004    #  ifdef __cplusplus
3005         extern "C"
3006    #  endif
3007       int F77_DUMMY_MAIN() { return 1; }
3008    #endif
3009  int  int
3010  main ()  main ()
3011  {  {
# Line 2545  int x; Line 3015  int x;
3015  }  }
3016  _ACEOF  _ACEOF
3017  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3018  if { (eval echo "$as_me:2548: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3018: \"$ac_compile\"") >&5
3019    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3020    ac_status=$?    ac_status=$?
3021    echo "$as_me:2551: \$? = $ac_status" >&5    echo "$as_me:3021: \$? = $ac_status" >&5
3022    (exit $ac_status); } &&    (exit $ac_status); } &&
3023           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3024    { (eval echo "$as_me:2554: \"$ac_try\"") >&5    { (eval echo "$as_me:3024: \"$ac_try\"") >&5
3025    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3026    ac_status=$?    ac_status=$?
3027    echo "$as_me:2557: \$? = $ac_status" >&5    echo "$as_me:3027: \$? = $ac_status" >&5
3028    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3029    WARNING_CFLAGS="$WARNING_CFLAGS -Wall"    WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
3030  echo "$as_me:2560: result: yes" >&5  echo "$as_me:3030: result: yes" >&5
3031  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3032  else  else
3033    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3034  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3035  echo "$as_me:2565: result: no" >&5  echo "$as_me:3035: result: no" >&5
3036  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3037  fi  fi
3038  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3039  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3040    echo "$as_me:2570: checking whether compiler accepts -W" >&5    echo "$as_me:3040: checking whether compiler accepts -W" >&5
3041  echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
3042    
3043  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3044  CFLAGS="$CFLAGS -W"  CFLAGS="$CFLAGS -W"
3045  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3046  #line 2576 "configure"  #line 3046 "configure"
3047  #include "confdefs.h"  #include "confdefs.h"
3048    
3049    #ifdef F77_DUMMY_MAIN
3050    #  ifdef __cplusplus
3051         extern "C"
3052    #  endif
3053       int F77_DUMMY_MAIN() { return 1; }
3054    #endif
3055  int  int
3056  main ()  main ()
3057  {  {
# Line 2585  int x; Line 3061  int x;
3061  }  }
3062  _ACEOF  _ACEOF
3063  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3064  if { (eval echo "$as_me:2588: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3064: \"$ac_compile\"") >&5
3065    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3066    ac_status=$?    ac_status=$?
3067    echo "$as_me:2591: \$? = $ac_status" >&5    echo "$as_me:3067: \$? = $ac_status" >&5
3068    (exit $ac_status); } &&    (exit $ac_status); } &&
3069           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3070    { (eval echo "$as_me:2594: \"$ac_try\"") >&5    { (eval echo "$as_me:3070: \"$ac_try\"") >&5
3071    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3072    ac_status=$?    ac_status=$?
3073    echo "$as_me:2597: \$? = $ac_status" >&5    echo "$as_me:3073: \$? = $ac_status" >&5
3074    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3075    WARNING_CFLAGS="$WARNING_CFLAGS -W"    WARNING_CFLAGS="$WARNING_CFLAGS -W"
3076  echo "$as_me:2600: result: yes" >&5  echo "$as_me:3076: result: yes" >&5
3077  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3078  else  else
3079    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3080  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3081  echo "$as_me:2605: result: no" >&5  echo "$as_me:3081: result: no" >&5
3082  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3083  fi  fi
3084  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3085  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3086    echo "$as_me:2610: checking whether compiler accepts -Wbad-function-cast" >&5    echo "$as_me:3086: checking whether compiler accepts -Wbad-function-cast" >&5
3087  echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
3088    
3089  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3090  CFLAGS="$CFLAGS -Wbad-function-cast"  CFLAGS="$CFLAGS -Wbad-function-cast"
3091  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3092  #line 2616 "configure"  #line 3092 "configure"
3093  #include "confdefs.h"  #include "confdefs.h"
3094    
3095    #ifdef F77_DUMMY_MAIN
3096    #  ifdef __cplusplus
3097         extern "C"
3098    #  endif
3099       int F77_DUMMY_MAIN() { return 1; }
3100    #endif
3101  int  int
3102  main ()  main ()
3103  {  {
# Line 2625  int x; Line 3107  int x;
3107  }  }
3108  _ACEOF  _ACEOF
3109  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3110  if { (eval echo "$as_me:2628: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3110: \"$ac_compile\"") >&5
3111    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3112    ac_status=$?    ac_status=$?
3113    echo "$as_me:2631: \$? = $ac_status" >&5    echo "$as_me:3113: \$? = $ac_status" >&5
3114    (exit $ac_status); } &&    (exit $ac_status); } &&
3115           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3116    { (eval echo "$as_me:2634: \"$ac_try\"") >&5    { (eval echo "$as_me:3116: \"$ac_try\"") >&5
3117    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3118    ac_status=$?    ac_status=$?
3119    echo "$as_me:2637: \$? = $ac_status" >&5    echo "$as_me:3119: \$? = $ac_status" >&5
3120    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3121    WARNING_CFLAGS="$WARNING_CFLAGS -Wbad-function-cast"    WARNING_CFLAGS="$WARNING_CFLAGS -Wbad-function-cast"
3122  echo "$as_me:2640: result: yes" >&5  echo "$as_me:3122: result: yes" >&5
3123  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3124  else  else
3125    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3126  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3127  echo "$as_me:2645: result: no" >&5  echo "$as_me:3127: result: no" >&5
3128  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3129  fi  fi
3130  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3131  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3132    echo "$as_me:2650: checking whether compiler accepts -Wcast-align" >&5    echo "$as_me:3132: checking whether compiler accepts -Wcast-align" >&5
3133  echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
3134    
3135  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3136  CFLAGS="$CFLAGS -Wcast-align"  CFLAGS="$CFLAGS -Wcast-align"
3137  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3138  #line 2656 "configure"  #line 3138 "configure"
3139  #include "confdefs.h"  #include "confdefs.h"
3140    
3141    #ifdef F77_DUMMY_MAIN
3142    #  ifdef __cplusplus
3143         extern "C"
3144    #  endif
3145       int F77_DUMMY_MAIN() { return 1; }
3146    #endif
3147  int  int
3148  main ()  main ()
3149  {  {
# Line 2665  int x; Line 3153  int x;
3153  }  }
3154  _ACEOF  _ACEOF
3155  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3156  if { (eval echo "$as_me:2668: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3156: \"$ac_compile\"") >&5
3157    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3158    ac_status=$?    ac_status=$?
3159    echo "$as_me:2671: \$? = $ac_status" >&5    echo "$as_me:3159: \$? = $ac_status" >&5
3160    (exit $ac_status); } &&    (exit $ac_status); } &&
3161           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3162    { (eval echo "$as_me:2674: \"$ac_try\"") >&5    { (eval echo "$as_me:3162: \"$ac_try\"") >&5
3163    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3164    ac_status=$?    ac_status=$?
3165    echo "$as_me:2677: \$? = $ac_status" >&5    echo "$as_me:3165: \$? = $ac_status" >&5
3166    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3167    WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-align"    WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-align"
3168  echo "$as_me:2680: result: yes" >&5  echo "$as_me:3168: result: yes" >&5
3169  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3170  else  else
3171    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3172  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3173  echo "$as_me:2685: result: no" >&5  echo "$as_me:3173: result: no" >&5
3174  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3175  fi  fi
3176  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3177  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3178    echo "$as_me:2690: checking whether compiler accepts -Wcast-qual" >&5    echo "$as_me:3178: checking whether compiler accepts -Wcast-qual" >&5
3179  echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
3180    
3181  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3182  CFLAGS="$CFLAGS -Wcast-qual"  CFLAGS="$CFLAGS -Wcast-qual"
3183  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3184  #line 2696 "configure"  #line 3184 "configure"
3185  #include "confdefs.h"  #include "confdefs.h"
3186    
3187    #ifdef F77_DUMMY_MAIN
3188    #  ifdef __cplusplus
3189         extern "C"
3190    #  endif
3191       int F77_DUMMY_MAIN() { return 1; }
3192    #endif
3193  int  int
3194  main ()  main ()
3195  {  {
# Line 2705  int x; Line 3199  int x;
3199  }  }
3200  _ACEOF  _ACEOF
3201  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3202  if { (eval echo "$as_me:2708: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3202: \"$ac_compile\"") >&5
3203    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3204    ac_status=$?    ac_status=$?
3205    echo "$as_me:2711: \$? = $ac_status" >&5    echo "$as_me:3205: \$? = $ac_status" >&5
3206    (exit $ac_status); } &&    (exit $ac_status); } &&
3207           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3208    { (eval echo "$as_me:2714: \"$ac_try\"") >&5    { (eval echo "$as_me:3208: \"$ac_try\"") >&5
3209    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3210    ac_status=$?    ac_status=$?
3211    echo "$as_me:2717: \$? = $ac_status" >&5    echo "$as_me:3211: \$? = $ac_status" >&5
3212    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3213    WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-qual"    WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-qual"
3214  echo "$as_me:2720: result: yes" >&5  echo "$as_me:3214: result: yes" >&5
3215  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3216  else  else
3217    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3218  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3219  echo "$as_me:2725: result: no" >&5  echo "$as_me:3219: result: no" >&5
3220  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3221  fi  fi
3222  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3223  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3224    echo "$as_me:2730: checking whether compiler accepts -Wformat" >&5    echo "$as_me:3224: checking whether compiler accepts -Wformat" >&5
3225  echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
3226    
3227  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3228  CFLAGS="$CFLAGS -Wformat"  CFLAGS="$CFLAGS -Wformat"
3229  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3230  #line 2736 "configure"  #line 3230 "configure"
3231  #include "confdefs.h"  #include "confdefs.h"
3232    
3233    #ifdef F77_DUMMY_MAIN
3234    #  ifdef __cplusplus
3235         extern "C"
3236    #  endif
3237       int F77_DUMMY_MAIN() { return 1; }
3238    #endif
3239  int  int
3240  main ()  main ()
3241  {  {
# Line 2745  int x; Line 3245  int x;
3245  }  }
3246  _ACEOF  _ACEOF
3247  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3248  if { (eval echo "$as_me:2748: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3248: \"$ac_compile\"") >&5
3249    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3250    ac_status=$?    ac_status=$?
3251    echo "$as_me:2751: \$? = $ac_status" >&5    echo "$as_me:3251: \$? = $ac_status" >&5
3252    (exit $ac_status); } &&    (exit $ac_status); } &&
3253           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3254    { (eval echo "$as_me:2754: \"$ac_try\"") >&5    { (eval echo "$as_me:3254: \"$ac_try\"") >&5
3255    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3256    ac_status=$?    ac_status=$?
3257    echo "$as_me:2757: \$? = $ac_status" >&5    echo "$as_me:3257: \$? = $ac_status" >&5
3258    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3259    WARNING_CFLAGS="$WARNING_CFLAGS -Wformat"    WARNING_CFLAGS="$WARNING_CFLAGS -Wformat"
3260  echo "$as_me:2760: result: yes" >&5  echo "$as_me:3260: result: yes" >&5
3261  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3262  else  else
3263    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3264  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3265  echo "$as_me:2765: result: no" >&5  echo "$as_me:3265: result: no" >&5
3266  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3267  fi  fi
3268  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3269  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3270    echo "$as_me:2770: checking whether compiler accepts -Wmissing-declarations" >&5    echo "$as_me:3270: checking whether compiler accepts -Wmissing-declarations" >&5
3271  echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
3272    
3273  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3274  CFLAGS="$CFLAGS -Wmissing-declarations"  CFLAGS="$CFLAGS -Wmissing-declarations"
3275  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3276  #line 2776 "configure"  #line 3276 "configure"
3277  #include "confdefs.h"  #include "confdefs.h"
3278    
3279    #ifdef F77_DUMMY_MAIN
3280    #  ifdef __cplusplus
3281         extern "C"
3282    #  endif
3283       int F77_DUMMY_MAIN() { return 1; }
3284    #endif
3285  int  int
3286  main ()  main ()
3287  {  {
# Line 2785  int x; Line 3291  int x;
3291  }  }
3292  _ACEOF  _ACEOF
3293  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3294  if { (eval echo "$as_me:2788: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3294: \"$ac_compile\"") >&5
3295    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3296    ac_status=$?    ac_status=$?
3297    echo "$as_me:2791: \$? = $ac_status" >&5    echo "$as_me:3297: \$? = $ac_status" >&5
3298    (exit $ac_status); } &&    (exit $ac_status); } &&
3299           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3300    { (eval echo "$as_me:2794: \"$ac_try\"") >&5    { (eval echo "$as_me:3300: \"$ac_try\"") >&5
3301    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3302    ac_status=$?    ac_status=$?
3303    echo "$as_me:2797: \$? = $ac_status" >&5    echo "$as_me:3303: \$? = $ac_status" >&5
3304    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3305    WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-declarations"    WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-declarations"
3306  echo "$as_me:2800: result: yes" >&5  echo "$as_me:3306: result: yes" >&5
3307  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3308  else  else
3309    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3310  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3311  echo "$as_me:2805: result: no" >&5  echo "$as_me:3311: result: no" >&5
3312  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3313  fi  fi
3314  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3315  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3316    echo "$as_me:2810: checking whether compiler accepts -Wmissing-prototypes" >&5    echo "$as_me:3316: checking whether compiler accepts -Wmissing-prototypes" >&5
3317  echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
3318    
3319  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3320  CFLAGS="$CFLAGS -Wmissing-prototypes"  CFLAGS="$CFLAGS -Wmissing-prototypes"
3321  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3322  #line 2816 "configure"  #line 3322 "configure"
3323  #include "confdefs.h"  #include "confdefs.h"
3324    
3325    #ifdef F77_DUMMY_MAIN
3326    #  ifdef __cplusplus
3327         extern "C"
3328    #  endif
3329       int F77_DUMMY_MAIN() { return 1; }
3330    #endif
3331  int  int
3332  main ()  main ()
3333  {  {
# Line 2825  int x; Line 3337  int x;
3337  }  }
3338  _ACEOF  _ACEOF
3339  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3340  if { (eval echo "$as_me:2828: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3340: \"$ac_compile\"") >&5
3341    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3342    ac_status=$?    ac_status=$?
3343    echo "$as_me:2831: \$? = $ac_status" >&5    echo "$as_me:3343: \$? = $ac_status" >&5
3344    (exit $ac_status); } &&    (exit $ac_status); } &&
3345           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3346    { (eval echo "$as_me:2834: \"$ac_try\"") >&5    { (eval echo "$as_me:3346: \"$ac_try\"") >&5
3347    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3348    ac_status=$?    ac_status=$?
3349    echo "$as_me:2837: \$? = $ac_status" >&5    echo "$as_me:3349: \$? = $ac_status" >&5
3350    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3351    WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-prototypes"    WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-prototypes"
3352  echo "$as_me:2840: result: yes" >&5  echo "$as_me:3352: result: yes" >&5
3353  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3354  else  else
3355    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3356  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3357  echo "$as_me:2845: result: no" >&5  echo "$as_me:3357: result: no" >&5
3358  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3359  fi  fi
3360  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3361  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3362    echo "$as_me:2850: checking whether compiler accepts -Wnested-externs" >&5    echo "$as_me:3362: checking whether compiler accepts -Wnested-externs" >&5
3363  echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6
3364    
3365  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3366  CFLAGS="$CFLAGS -Wnested-externs"  CFLAGS="$CFLAGS -Wnested-externs"
3367  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3368  #line 2856 "configure"  #line 3368 "configure"
3369  #include "confdefs.h"  #include "confdefs.h"
3370    
3371    #ifdef F77_DUMMY_MAIN
3372    #  ifdef __cplusplus
3373         extern "C"
3374    #  endif
3375       int F77_DUMMY_MAIN() { return 1; }
3376    #endif
3377  int  int
3378  main ()  main ()
3379  {  {
# Line 2865  int x; Line 3383  int x;
3383  }  }
3384  _ACEOF  _ACEOF
3385  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3386  if { (eval echo "$as_me:2868: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3386: \"$ac_compile\"") >&5
3387    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3388    ac_status=$?    ac_status=$?
3389    echo "$as_me:2871: \$? = $ac_status" >&5    echo "$as_me:3389: \$? = $ac_status" >&5
3390    (exit $ac_status); } &&    (exit $ac_status); } &&
3391           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3392    { (eval echo "$as_me:2874: \"$ac_try\"") >&5    { (eval echo "$as_me:3392: \"$ac_try\"") >&5
3393    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3394    ac_status=$?    ac_status=$?
3395    echo "$as_me:2877: \$? = $ac_status" >&5    echo "$as_me:3395: \$? = $ac_status" >&5
3396    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3397    WARNING_CFLAGS="$WARNING_CFLAGS -Wnested-externs"    WARNING_CFLAGS="$WARNING_CFLAGS -Wnested-externs"
3398  echo "$as_me:2880: result: yes" >&5  echo "$as_me:3398: result: yes" >&5
3399  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3400  else  else
3401    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3402  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3403  echo "$as_me:2885: result: no" >&5  echo "$as_me:3403: result: no" >&5
3404  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3405  fi  fi
3406  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3407  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3408    echo "$as_me:2890: checking whether compiler accepts -Wshadow" >&5    echo "$as_me:3408: checking whether compiler accepts -Wshadow" >&5
3409  echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
3410    
3411  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3412  CFLAGS="$CFLAGS -Wshadow"  CFLAGS="$CFLAGS -Wshadow"
3413  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3414  #line 2896 "configure"  #line 3414 "configure"
3415  #include "confdefs.h"  #include "confdefs.h"
3416    
3417    #ifdef F77_DUMMY_MAIN
3418    #  ifdef __cplusplus
3419         extern "C"
3420    #  endif
3421       int F77_DUMMY_MAIN() { return 1; }
3422    #endif
3423  int  int
3424  main ()  main ()
3425  {  {
# Line 2905  int x; Line 3429  int x;
3429  }  }
3430  _ACEOF  _ACEOF
3431  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3432  if { (eval echo "$as_me:2908: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3432: \"$ac_compile\"") >&5
3433    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3434    ac_status=$?    ac_status=$?
3435    echo "$as_me:2911: \$? = $ac_status" >&5    echo "$as_me:3435: \$? = $ac_status" >&5
3436    (exit $ac_status); } &&    (exit $ac_status); } &&
3437           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3438    { (eval echo "$as_me:2914: \"$ac_try\"") >&5    { (eval echo "$as_me:3438: \"$ac_try\"") >&5
3439    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3440    ac_status=$?    ac_status=$?
3441    echo "$as_me:2917: \$? = $ac_status" >&5    echo "$as_me:3441: \$? = $ac_status" >&5
3442    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3443    WARNING_CFLAGS="$WARNING_CFLAGS -Wshadow"    WARNING_CFLAGS="$WARNING_CFLAGS -Wshadow"
3444  echo "$as_me:2920: result: yes" >&5  echo "$as_me:3444: result: yes" >&5
3445  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3446  else  else
3447    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3448  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3449  echo "$as_me:2925: result: no" >&5  echo "$as_me:3449: result: no" >&5
3450  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3451  fi  fi
3452  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3453  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3454    echo "$as_me:2930: checking whether compiler accepts -Wstrict-prototypes" >&5    echo "$as_me:3454: checking whether compiler accepts -Wstrict-prototypes" >&5
3455  echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
3456    
3457  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3458  CFLAGS="$CFLAGS -Wstrict-prototypes"  CFLAGS="$CFLAGS -Wstrict-prototypes"
3459  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3460  #line 2936 "configure"  #line 3460 "configure"
3461  #include "confdefs.h"  #include "confdefs.h"
3462    
3463    #ifdef F77_DUMMY_MAIN
3464    #  ifdef __cplusplus
3465         extern "C"
3466    #  endif
3467       int F77_DUMMY_MAIN() { return 1; }
3468    #endif
3469  int  int
3470  main ()  main ()
3471  {  {
# Line 2945  int x; Line 3475  int x;
3475  }  }
3476  _ACEOF  _ACEOF
3477  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3478  if { (eval echo "$as_me:2948: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5
3479    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3480    ac_status=$?    ac_status=$?
3481    echo "$as_me:2951: \$? = $ac_status" >&5    echo "$as_me:3481: \$? = $ac_status" >&5
3482    (exit $ac_status); } &&    (exit $ac_status); } &&
3483           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3484    { (eval echo "$as_me:2954: \"$ac_try\"") >&5    { (eval echo "$as_me:3484: \"$ac_try\"") >&5
3485    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3486    ac_status=$?    ac_status=$?
3487    echo "$as_me:2957: \$? = $ac_status" >&5    echo "$as_me:3487: \$? = $ac_status" >&5
3488    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3489    WARNING_CFLAGS="$WARNING_CFLAGS -Wstrict-prototypes"    WARNING_CFLAGS="$WARNING_CFLAGS -Wstrict-prototypes"
3490  echo "$as_me:2960: result: yes" >&5  echo "$as_me:3490: result: yes" >&5
3491  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3492  else  else
3493    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3494  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3495  echo "$as_me:2965: result: no" >&5  echo "$as_me:3495: result: no" >&5
3496  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3497  fi  fi
3498  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3499  CFLAGS="$ac_save_CFLAGS"  CFLAGS="$ac_save_CFLAGS"
3500    echo "$as_me:2970: checking whether compiler accepts -Wwrite-strings" >&5    echo "$as_me:3500: checking whether compiler accepts -Wwrite-strings" >&5
3501  echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6  echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
3502    
3503  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
3504  CFLAGS="$CFLAGS -Wwrite-strings"  CFLAGS="$CFLAGS -Wwrite-strings"
3505  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3506  #line 2976 "configure"  #line 3506 "configure"
3507  #include "confdefs.h"  #include "confdefs.h"
3508    
3509    #ifdef F77_DUMMY_MAIN
3510    #  ifdef __cplusplus
3511         extern "C"
3512    #  endif
3513       int F77_DUMMY_MAIN() { return 1; }
3514    #endif
3515  int  int
3516  main ()  main ()
3517  {  {
# Line 2985  int x; Line 3521  int x;
3521  }  }
3522  _ACEOF  _ACEOF
3523  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3524  if { (eval echo "$as_me:2988: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3524: \"$ac_compile\"") >&5
3525    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3526    ac_status=$?    ac_status=$?
3527    echo "$as_me:2991: \$? = $ac_status" >&5    echo "$as_me:3527: \$? = $ac_status" >&5
3528    (exit $ac_status); } &&    (exit $ac_status); } &&
3529           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3530    { (eval echo "$as_me:2994: \"$ac_try\"") >&5    { (eval echo "$as_me:3530: \"$ac_try\"") >&5
3531    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3532    ac_status=$?    ac_status=$?
3533    echo "$as_me:2997: \$? = $ac_status" >&5    echo "$as_me:3533: \$? = $ac_status" >&5
3534    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3535    WARNING_CFLAGS="$WARNING_CFLAGS -Wwrite-strings"    WARNING_CFLAGS="$WARNING_CFLAGS -Wwrite-strings"
3536  echo "$as_me:3000: result: yes" >&5  echo "$as_me:3536: result: yes" >&5
3537  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
3538  else  else
3539    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3540  cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
3541  echo "$as_me:3005: result: no" >&5  echo "$as_me:3541: result: no" >&5
3542  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3543  fi  fi
3544  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3012  fi Line 3548  fi
3548    
3549  # Checks for libraries.  # Checks for libraries.
3550    
3551  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
3552  #define _GNU_SOURCE 1  #define _GNU_SOURCE 1
3553  EOF  _ACEOF
3554    
3555  # Checks for header files.  # Checks for header files.
3556  echo "$as_me:3020: checking for ANSI C header files" >&5  echo "$as_me:3556: checking for ANSI C header files" >&5
3557  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3558  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3559    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3560  else  else
3561    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3562  #line 3026 "configure"  #line 3562 "configure"
3563  #include "confdefs.h"  #include "confdefs.h"
3564  #include <stdlib.h>  #include <stdlib.h>
3565  #include <stdarg.h>  #include <stdarg.h>
# Line 3031  else Line 3567  else
3567  #include <float.h>  #include <float.h>
3568    
3569  _ACEOF  _ACEOF
3570  if { (eval echo "$as_me:3034: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:3570: \"$ac_cpp conftest.$ac_ext\"") >&5
3571    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3572    ac_status=$?    ac_status=$?
3573    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3574    rm -f conftest.er1    rm -f conftest.er1
3575    cat conftest.err >&5    cat conftest.err >&5
3576    echo "$as_me:3040: \$? = $ac_status" >&5    echo "$as_me:3576: \$? = $ac_status" >&5
3577    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3578    if test -s conftest.err; then    if test -s conftest.err; then
3579      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3059  rm -f conftest.err conftest.$ac_ext Line 3595  rm -f conftest.err conftest.$ac_ext
3595  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3596    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3597    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3598  #line 3062 "configure"  #line 3598 "configure"
3599  #include "confdefs.h"  #include "confdefs.h"
3600  #include <string.h>  #include <string.h>
3601    
# Line 3077  fi Line 3613  fi
3613  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3614    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3615    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3616  #line 3080 "configure"  #line 3616 "configure"
3617  #include "confdefs.h"  #include "confdefs.h"
3618  #include <stdlib.h>  #include <stdlib.h>
3619    
# Line 3098  if test $ac_cv_header_stdc = yes; then Line 3634  if test $ac_cv_header_stdc = yes; then
3634    :    :
3635  else  else
3636    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3637  #line 3101 "configure"  #line 3637 "configure"
3638  #include "confdefs.h"  #include "confdefs.h"
3639  #include <ctype.h>  #include <ctype.h>
3640  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 3124  main () Line 3660  main ()
3660  }  }
3661  _ACEOF  _ACEOF
3662  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
3663  if { (eval echo "$as_me:3127: \"$ac_link\"") >&5  if { (eval echo "$as_me:3663: \"$ac_link\"") >&5
3664    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
3665    ac_status=$?    ac_status=$?
3666    echo "$as_me:3130: \$? = $ac_status" >&5    echo "$as_me:3666: \$? = $ac_status" >&5
3667    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3668    { (eval echo "$as_me:3132: \"$ac_try\"") >&5    { (eval echo "$as_me:3668: \"$ac_try\"") >&5
3669    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3670    ac_status=$?    ac_status=$?
3671    echo "$as_me:3135: \$? = $ac_status" >&5    echo "$as_me:3671: \$? = $ac_status" >&5
3672    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3673    :    :
3674  else  else
# Line 3145  rm -f core core.* *.core conftest$ac_exe Line 3681  rm -f core core.* *.core conftest$ac_exe
3681  fi  fi
3682  fi  fi
3683  fi  fi
3684  echo "$as_me:3148: result: $ac_cv_header_stdc" >&5  echo "$as_me:3684: result: $ac_cv_header_stdc" >&5
3685  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
3686  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3687    
3688  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
3689  #define STDC_HEADERS 1  #define STDC_HEADERS 1
3690  EOF  _ACEOF
3691    
3692  fi  fi
3693    
3694  for ac_header in ctype.h locale.h memory.h stdlib.h string.h unistd.h  for ac_header in ctype.h locale.h memory.h stdlib.h string.h unistd.h
3695  do  do
3696  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3697  echo "$as_me:3161: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3698      echo "$as_me:3698: checking for $ac_header" >&5
3699  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3700  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
3701    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3702    fi
3703    echo "$as_me:3703: result: `eval echo '${'$as_ac_Header'}'`" >&5
3704    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3705  else  else
3706    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
3707  #line 3167 "configure"  echo "$as_me:3707: checking $ac_header usability" >&5
3708    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3709    cat >conftest.$ac_ext <<_ACEOF
3710    #line 3710 "configure"
3711  #include "confdefs.h"  #include "confdefs.h"
3712    $ac_includes_default
3713  #include <$ac_header>  #include <$ac_header>
3714  _ACEOF  _ACEOF
3715  if { (eval echo "$as_me:3171: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
3716    if { (eval echo "$as_me:3716: \"$ac_compile\"") >&5
3717      (eval $ac_compile) 2>&5
3718      ac_status=$?
3719      echo "$as_me:3719: \$? = $ac_status" >&5
3720      (exit $ac_status); } &&
3721             { ac_try='test -s conftest.$ac_objext'
3722      { (eval echo "$as_me:3722: \"$ac_try\"") >&5
3723      (eval $ac_try) 2>&5
3724      ac_status=$?
3725      echo "$as_me:3725: \$? = $ac_status" >&5
3726      (exit $ac_status); }; }; then
3727      ac_header_compiler=yes
3728    else
3729      echo "$as_me: failed program was:" >&5
3730    cat conftest.$ac_ext >&5
3731    ac_header_compiler=no
3732    fi
3733    rm -f conftest.$ac_objext conftest.$ac_ext
3734    echo "$as_me:3734: result: $ac_header_compiler" >&5
3735    echo "${ECHO_T}$ac_header_compiler" >&6
3736    
3737    # Is the header present?
3738    echo "$as_me:3738: checking $ac_header presence" >&5
3739    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3740    cat >conftest.$ac_ext <<_ACEOF
3741    #line 3741 "configure"
3742    #include "confdefs.h"
3743    #include <$ac_header>
3744    _ACEOF
3745    if { (eval echo "$as_me:3745: \"$ac_cpp conftest.$ac_ext\"") >&5
3746    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3747    ac_status=$?    ac_status=$?
3748    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
3749    rm -f conftest.er1    rm -f conftest.er1
3750    cat conftest.err >&5    cat conftest.err >&5
3751    echo "$as_me:3177: \$? = $ac_status" >&5    echo "$as_me:3751: \$? = $ac_status" >&5
3752    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3753    if test -s conftest.err; then    if test -s conftest.err; then
3754      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3185  else Line 3759  else
3759    ac_cpp_err=yes    ac_cpp_err=yes
3760  fi  fi
3761  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
3762    eval "$as_ac_Header=yes"    ac_header_preproc=yes
3763  else  else
3764    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3765    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
3766    eval "$as_ac_Header=no"    ac_header_preproc=no
3767  fi  fi
3768  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3769    echo "$as_me:3769: result: $ac_header_preproc" >&5
3770    echo "${ECHO_T}$ac_header_preproc" >&6
3771    
3772    # So?  What about this header?
3773    case $ac_header_compiler:$ac_header_preproc in
3774      yes:no )
3775        { echo "$as_me:3775: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3776    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3777        { echo "$as_me:3777: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3778    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3779      no:yes )
3780        { echo "$as_me:3780: WARNING: $ac_header: present but cannot be compiled." >&5
3781    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
3782        { echo "$as_me:3782: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3783    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3784        { echo "$as_me:3784: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3785    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3786    esac
3787    echo "$as_me:3787: checking for $ac_header" >&5
3788    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3789    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3790      echo $ECHO_N "(cached) $ECHO_C" >&6
3791    else
3792      eval "$as_ac_Header=$ac_header_preproc"
3793  fi  fi
3794  echo "$as_me:3196: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:3794: result: `eval echo '${'$as_ac_Header'}'`" >&5
3795  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3796    
3797    fi
3798  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3799    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
3800  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3801  EOF  _ACEOF
3802    
3803  fi  fi
3804    
3805  done  done
3806    
3807  # Checks for typedefs.  # Checks for typedefs.
# Line 3208  done Line 3809  done
3809  # Checks for structures.  # Checks for structures.
3810    
3811  # Checks for compiler characteristics.  # Checks for compiler characteristics.
3812  echo "$as_me:3211: checking for $CC option to accept ANSI C" >&5  echo "$as_me:3812: checking for $CC option to accept ANSI C" >&5
3813  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3814  if test "${ac_cv_prog_cc_stdc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
3815    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3216  else Line 3817  else
3817    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
3818  ac_save_CC=$CC  ac_save_CC=$CC
3819  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3820  #line 3219 "configure"  #line 3820 "configure"
3821  #include "confdefs.h"  #include "confdefs.h"
3822  #include <stdarg.h>  #include <stdarg.h>
3823  #include <stdio.h>  #include <stdio.h>
# Line 3246  struct s2 {int (*f) (double a);}; Line 3847  struct s2 {int (*f) (double a);};
3847  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3848  int argc;  int argc;
3849  char **argv;  char **argv;
3850    #ifdef F77_DUMMY_MAIN
3851    #  ifdef __cplusplus
3852         extern "C"
3853    #  endif
3854       int F77_DUMMY_MAIN() { return 1; }
3855    #endif
3856  int  int
3857  main ()  main ()
3858  {  {
# Line 3265  for ac_arg in "" -qlanglvl=ansi -std1 -A Line 3872  for ac_arg in "" -qlanglvl=ansi -std1 -A
3872  do  do
3873    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
3874    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
3875  if { (eval echo "$as_me:3268: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5
3876    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3877    ac_status=$?    ac_status=$?
3878    echo "$as_me:3271: \$? = $ac_status" >&5    echo "$as_me:3878: \$? = $ac_status" >&5
3879    (exit $ac_status); } &&    (exit $ac_status); } &&
3880           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3881    { (eval echo "$as_me:3274: \"$ac_try\"") >&5    { (eval echo "$as_me:3881: \"$ac_try\"") >&5
3882    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3883    ac_status=$?    ac_status=$?
3884    echo "$as_me:3277: \$? = $ac_status" >&5    echo "$as_me:3884: \$? = $ac_status" >&5
3885    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3886    ac_cv_prog_cc_stdc=$ac_arg    ac_cv_prog_cc_stdc=$ac_arg
3887  break  break
# Line 3291  fi Line 3898  fi
3898    
3899  case "x$ac_cv_prog_cc_stdc" in  case "x$ac_cv_prog_cc_stdc" in
3900    x|xno)    x|xno)
3901      echo "$as_me:3294: result: none needed" >&5      echo "$as_me:3901: result: none needed" >&5
3902  echo "${ECHO_T}none needed" >&6 ;;  echo "${ECHO_T}none needed" >&6 ;;
3903    *)    *)
3904      echo "$as_me:3297: result: $ac_cv_prog_cc_stdc" >&5      echo "$as_me:3904: result: $ac_cv_prog_cc_stdc" >&5
3905  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3906      CC="$CC $ac_cv_prog_cc_stdc" ;;      CC="$CC $ac_cv_prog_cc_stdc" ;;
3907  esac  esac
3908    
3909  echo "$as_me:3302: checking for an ANSI C-conforming const" >&5  echo "$as_me:3909: checking for an ANSI C-conforming const" >&5
3910  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6  echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3911  if test "${ac_cv_c_const+set}" = set; then  if test "${ac_cv_c_const+set}" = set; then
3912    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3913  else  else
3914    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3915  #line 3308 "configure"  #line 3915 "configure"
3916  #include "confdefs.h"  #include "confdefs.h"
3917    
3918    #ifdef F77_DUMMY_MAIN
3919    #  ifdef __cplusplus
3920         extern "C"
3921    #  endif
3922       int F77_DUMMY_MAIN() { return 1; }
3923    #endif
3924  int  int
3925  main ()  main ()
3926  {  {
# Line 3363  main () Line 3976  main ()
3976  }  }
3977  _ACEOF  _ACEOF
3978  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3979  if { (eval echo "$as_me:3366: \"$ac_compile\"") >&5  if { (eval echo "$as_me:3979: \"$ac_compile\"") >&5
3980    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3981    ac_status=$?    ac_status=$?
3982    echo "$as_me:3369: \$? = $ac_status" >&5    echo "$as_me:3982: \$? = $ac_status" >&5
3983    (exit $ac_status); } &&    (exit $ac_status); } &&
3984           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
3985    { (eval echo "$as_me:3372: \"$ac_try\"") >&5    { (eval echo "$as_me:3985: \"$ac_try\"") >&5
3986    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3987    ac_status=$?    ac_status=$?
3988    echo "$as_me:3375: \$? = $ac_status" >&5    echo "$as_me:3988: \$? = $ac_status" >&5
3989    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3990    ac_cv_c_const=yes    ac_cv_c_const=yes
3991  else  else
# Line 3382  ac_cv_c_const=no Line 3995  ac_cv_c_const=no
3995  fi  fi
3996  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3997  fi  fi
3998  echo "$as_me:3385: result: $ac_cv_c_const" >&5  echo "$as_me:3998: result: $ac_cv_c_const" >&5
3999  echo "${ECHO_T}$ac_cv_c_const" >&6  echo "${ECHO_T}$ac_cv_c_const" >&6
4000  if test $ac_cv_c_const = no; then  if test $ac_cv_c_const = no; then
4001    
4002  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4003  #define const  #define const
4004  EOF  _ACEOF
4005    
4006  fi  fi
4007    
4008  echo "$as_me:3395: checking for inline" >&5  echo "$as_me:4008: checking for inline" >&5
4009  echo $ECHO_N "checking for inline... $ECHO_C" >&6  echo $ECHO_N "checking for inline... $ECHO_C" >&6
4010  if test "${ac_cv_c_inline+set}" = set; then  if test "${ac_cv_c_inline+set}" = set; then
4011    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3400  else Line 4013  else
4013    ac_cv_c_inline=no    ac_cv_c_inline=no
4014  for ac_kw in inline __inline__ __inline; do  for ac_kw in inline __inline__ __inline; do
4015    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4016  #line 3403 "configure"  #line 4016 "configure"
4017  #include "confdefs.h"  #include "confdefs.h"
4018  #ifndef __cplusplus  #ifndef __cplusplus
4019  static $ac_kw int static_foo () {return 0; }  static $ac_kw int static_foo () {return 0; }
# Line 3409  $ac_kw int foo () {return 0; } Line 4022  $ac_kw int foo () {return 0; }
4022    
4023  _ACEOF  _ACEOF
4024  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4025  if { (eval echo "$as_me:3412: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4025: \"$ac_compile\"") >&5
4026    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4027    ac_status=$?    ac_status=$?
4028    echo "$as_me:3415: \$? = $ac_status" >&5    echo "$as_me:4028: \$? = $ac_status" >&5
4029    (exit $ac_status); } &&    (exit $ac_status); } &&
4030           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4031    { (eval echo "$as_me:3418: \"$ac_try\"") >&5    { (eval echo "$as_me:4031: \"$ac_try\"") >&5
4032    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4033    ac_status=$?    ac_status=$?
4034    echo "$as_me:3421: \$? = $ac_status" >&5    echo "$as_me:4034: \$? = $ac_status" >&5
4035    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4036    ac_cv_c_inline=$ac_kw; break    ac_cv_c_inline=$ac_kw; break
4037  else  else
# Line 3429  rm -f conftest.$ac_objext conftest.$ac_e Line 4042  rm -f conftest.$ac_objext conftest.$ac_e
4042  done  done
4043    
4044  fi  fi
4045  echo "$as_me:3432: result: $ac_cv_c_inline" >&5  echo "$as_me:4045: result: $ac_cv_c_inline" >&5
4046  echo "${ECHO_T}$ac_cv_c_inline" >&6  echo "${ECHO_T}$ac_cv_c_inline" >&6
4047  case $ac_cv_c_inline in  case $ac_cv_c_inline in
4048    inline | yes) ;;    inline | yes) ;;
4049    no)    no)
4050  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4051  #define inline  #define inline
4052  EOF  _ACEOF
4053   ;;   ;;
4054    *)  cat >>confdefs.h <<EOF    *)  cat >>confdefs.h <<_ACEOF
4055  #define inline $ac_cv_c_inline  #define inline $ac_cv_c_inline
4056  EOF  _ACEOF
4057   ;;   ;;
4058  esac  esac
4059    
4060  echo "$as_me:3447: checking for function prototypes" >&5  echo "$as_me:4060: checking for function prototypes" >&5
4061  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4062  if test "$am_cv_prog_cc_stdc" != no; then  if test "$am_cv_prog_cc_stdc" != no; then
4063    echo "$as_me:3450: result: yes" >&5    echo "$as_me:4063: result: yes" >&5
4064  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
4065    
4066  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4067  #define PROTOTYPES 1  #define PROTOTYPES 1
4068  EOF  _ACEOF
4069    
4070    U= ANSI2KNR=    U= ANSI2KNR=
4071  else  else
4072    echo "$as_me:3459: result: no" >&5    echo "$as_me:4072: result: no" >&5
4073  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4074    U=_ ANSI2KNR=./ansi2knr    U=_ ANSI2KNR=./ansi2knr
4075    # Ensure some checks needed by ansi2knr itself.  fi
4076    echo "$as_me:3463: checking for ANSI C header files" >&5  # Ensure some checks needed by ansi2knr itself.
4077    echo "$as_me:4077: checking for ANSI C header files" >&5
4078  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4079  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
4080    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4081  else  else
4082    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4083  #line 3469 "configure"  #line 4083 "configure"
4084  #include "confdefs.h"  #include "confdefs.h"
4085  #include <stdlib.h>  #include <stdlib.h>
4086  #include <stdarg.h>  #include <stdarg.h>
# Line 3474  else Line 4088  else
4088  #include <float.h>  #include <float.h>
4089    
4090  _ACEOF  _ACEOF
4091  if { (eval echo "$as_me:3477: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:4091: \"$ac_cpp conftest.$ac_ext\"") >&5
4092    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4093    ac_status=$?    ac_status=$?
4094    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4095    rm -f conftest.er1    rm -f conftest.er1
4096    cat conftest.err >&5    cat conftest.err >&5
4097    echo "$as_me:3483: \$? = $ac_status" >&5    echo "$as_me:4097: \$? = $ac_status" >&5
4098    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4099    if test -s conftest.err; then    if test -s conftest.err; then
4100      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3502  rm -f conftest.err conftest.$ac_ext Line 4116  rm -f conftest.err conftest.$ac_ext
4116  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4117    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4118    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4119  #line 3505 "configure"  #line 4119 "configure"
4120  #include "confdefs.h"  #include "confdefs.h"
4121  #include <string.h>  #include <string.h>
4122    
# Line 3520  fi Line 4134  fi
4134  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4135    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4136    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4137  #line 3523 "configure"  #line 4137 "configure"
4138  #include "confdefs.h"  #include "confdefs.h"
4139  #include <stdlib.h>  #include <stdlib.h>
4140    
# Line 3541  if test $ac_cv_header_stdc = yes; then Line 4155  if test $ac_cv_header_stdc = yes; then
4155    :    :
4156  else  else
4157    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4158  #line 3544 "configure"  #line 4158 "configure"
4159  #include "confdefs.h"  #include "confdefs.h"
4160  #include <ctype.h>  #include <ctype.h>
4161  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 3567  main () Line 4181  main ()
4181  }  }
4182  _ACEOF  _ACEOF
4183  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4184  if { (eval echo "$as_me:3570: \"$ac_link\"") >&5  if { (eval echo "$as_me:4184: \"$ac_link\"") >&5
4185    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4186    ac_status=$?    ac_status=$?
4187    echo "$as_me:3573: \$? = $ac_status" >&5    echo "$as_me:4187: \$? = $ac_status" >&5
4188    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4189    { (eval echo "$as_me:3575: \"$ac_try\"") >&5    { (eval echo "$as_me:4189: \"$ac_try\"") >&5
4190    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4191    ac_status=$?    ac_status=$?
4192    echo "$as_me:3578: \$? = $ac_status" >&5    echo "$as_me:4192: \$? = $ac_status" >&5
4193    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4194    :    :
4195  else  else
# Line 3588  rm -f core core.* *.core conftest$ac_exe Line 4202  rm -f core core.* *.core conftest$ac_exe
4202  fi  fi
4203  fi  fi
4204  fi  fi
4205  echo "$as_me:3591: result: $ac_cv_header_stdc" >&5  echo "$as_me:4205: result: $ac_cv_header_stdc" >&5
4206  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
4207  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4208    
4209  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4210  #define STDC_HEADERS 1  #define STDC_HEADERS 1
4211  EOF  _ACEOF
4212    
4213  fi  fi
4214    
4215  for ac_header in string.h  for ac_header in string.h
4216  do  do
4217  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4218  echo "$as_me:3604: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4219      echo "$as_me:4219: checking for $ac_header" >&5
4220  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4221  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4222    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4223    fi
4224    echo "$as_me:4224: result: `eval echo '${'$as_ac_Header'}'`" >&5
4225    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4226  else  else
4227    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
4228  #line 3610 "configure"  echo "$as_me:4228: checking $ac_header usability" >&5
4229    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4230    cat >conftest.$ac_ext <<_ACEOF
4231    #line 4231 "configure"
4232  #include "confdefs.h"  #include "confdefs.h"
4233    $ac_includes_default
4234  #include <$ac_header>  #include <$ac_header>
4235  _ACEOF  _ACEOF
4236  if { (eval echo "$as_me:3614: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
4237    if { (eval echo "$as_me:4237: \"$ac_compile\"") >&5
4238      (eval $ac_compile) 2>&5
4239      ac_status=$?
4240      echo "$as_me:4240: \$? = $ac_status" >&5
4241      (exit $ac_status); } &&
4242             { ac_try='test -s conftest.$ac_objext'
4243      { (eval echo "$as_me:4243: \"$ac_try\"") >&5
4244      (eval $ac_try) 2>&5
4245      ac_status=$?
4246      echo "$as_me:4246: \$? = $ac_status" >&5
4247      (exit $ac_status); }; }; then
4248      ac_header_compiler=yes
4249    else
4250      echo "$as_me: failed program was:" >&5
4251    cat conftest.$ac_ext >&5
4252    ac_header_compiler=no
4253    fi
4254    rm -f conftest.$ac_objext conftest.$ac_ext
4255    echo "$as_me:4255: result: $ac_header_compiler" >&5
4256    echo "${ECHO_T}$ac_header_compiler" >&6
4257    
4258    # Is the header present?
4259    echo "$as_me:4259: checking $ac_header presence" >&5
4260    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4261    cat >conftest.$ac_ext <<_ACEOF
4262    #line 4262 "configure"
4263    #include "confdefs.h"
4264    #include <$ac_header>
4265    _ACEOF
4266    if { (eval echo "$as_me:4266: \"$ac_cpp conftest.$ac_ext\"") >&5
4267    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4268    ac_status=$?    ac_status=$?
4269    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
4270    rm -f conftest.er1    rm -f conftest.er1
4271    cat conftest.err >&5    cat conftest.err >&5
4272    echo "$as_me:3620: \$? = $ac_status" >&5    echo "$as_me:4272: \$? = $ac_status" >&5
4273    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4274    if test -s conftest.err; then    if test -s conftest.err; then
4275      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 3628  else Line 4280  else
4280    ac_cpp_err=yes    ac_cpp_err=yes
4281  fi  fi
4282  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
4283    eval "$as_ac_Header=yes"    ac_header_preproc=yes
4284  else  else
4285    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4286    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
4287    eval "$as_ac_Header=no"    ac_header_preproc=no
4288  fi  fi
4289  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
4290    echo "$as_me:4290: result: $ac_header_preproc" >&5
4291    echo "${ECHO_T}$ac_header_preproc" >&6
4292    
4293    # So?  What about this header?
4294    case $ac_header_compiler:$ac_header_preproc in
4295      yes:no )
4296        { echo "$as_me:4296: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4297    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4298        { echo "$as_me:4298: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4299    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4300      no:yes )
4301        { echo "$as_me:4301: WARNING: $ac_header: present but cannot be compiled." >&5
4302    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
4303        { echo "$as_me:4303: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4304    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4305        { echo "$as_me:4305: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4306    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4307    esac
4308    echo "$as_me:4308: checking for $ac_header" >&5
4309    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4310    if eval "test \"\${$as_ac_Header+set}\" = set"; then
4311      echo $ECHO_N "(cached) $ECHO_C" >&6
4312    else
4313      eval "$as_ac_Header=$ac_header_preproc"
4314  fi  fi
4315  echo "$as_me:3639: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:4315: result: `eval echo '${'$as_ac_Header'}'`" >&5
4316  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4317    
4318    fi
4319  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
4320    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4321  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4322  EOF  _ACEOF
4323    
4324  fi  fi
 done  
4325    
4326  fi  done
4327    
4328  # Checks for library functions.  # Checks for library functions.
4329  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4330  # for constant arguments.  Useless!  # for constant arguments.  Useless!
4331  echo "$as_me:3654: checking for working alloca.h" >&5  echo "$as_me:4331: checking for working alloca.h" >&5
4332  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4333  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
4334    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4335  else  else
4336    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4337  #line 3660 "configure"  #line 4337 "configure"
4338  #include "confdefs.h"  #include "confdefs.h"
4339  #include <alloca.h>  #include <alloca.h>
4340    #ifdef F77_DUMMY_MAIN
4341    #  ifdef __cplusplus
4342         extern "C"
4343    #  endif
4344       int F77_DUMMY_MAIN() { return 1; }
4345    #endif
4346  int  int
4347  main ()  main ()
4348  {  {
# Line 3669  char *p = (char *) alloca (2 * sizeof (i Line 4352  char *p = (char *) alloca (2 * sizeof (i
4352  }  }
4353  _ACEOF  _ACEOF
4354  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4355  if { (eval echo "$as_me:3672: \"$ac_link\"") >&5  if { (eval echo "$as_me:4355: \"$ac_link\"") >&5
4356    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4357    ac_status=$?    ac_status=$?
4358    echo "$as_me:3675: \$? = $ac_status" >&5    echo "$as_me:4358: \$? = $ac_status" >&5
4359    (exit $ac_status); } &&    (exit $ac_status); } &&
4360           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4361    { (eval echo "$as_me:3678: \"$ac_try\"") >&5    { (eval echo "$as_me:4361: \"$ac_try\"") >&5
4362    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4363    ac_status=$?    ac_status=$?
4364    echo "$as_me:3681: \$? = $ac_status" >&5    echo "$as_me:4364: \$? = $ac_status" >&5
4365    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4366    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
4367  else  else
# Line 3688  ac_cv_working_alloca_h=no Line 4371  ac_cv_working_alloca_h=no
4371  fi  fi
4372  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4373  fi  fi
4374  echo "$as_me:3691: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:4374: result: $ac_cv_working_alloca_h" >&5
4375  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4376  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
4377    
4378  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4379  #define HAVE_ALLOCA_H 1  #define HAVE_ALLOCA_H 1
4380  EOF  _ACEOF
4381    
4382  fi  fi
4383    
4384  echo "$as_me:3701: checking for alloca" >&5  echo "$as_me:4384: checking for alloca" >&5
4385  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4386  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
4387    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4388  else  else
4389    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4390  #line 3707 "configure"  #line 4390 "configure"
4391  #include "confdefs.h"  #include "confdefs.h"
4392  #ifdef __GNUC__  #ifdef __GNUC__
4393  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 3727  char *alloca (); Line 4410  char *alloca ();
4410  # endif  # endif
4411  #endif  #endif
4412    
4413    #ifdef F77_DUMMY_MAIN
4414    #  ifdef __cplusplus
4415         extern "C"
4416    #  endif
4417       int F77_DUMMY_MAIN() { return 1; }
4418    #endif
4419  int  int
4420  main ()  main ()
4421  {  {
# Line 3736  char *p = (char *) alloca (1); Line 4425  char *p = (char *) alloca (1);
4425  }  }
4426  _ACEOF  _ACEOF
4427  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4428  if { (eval echo "$as_me:3739: \"$ac_link\"") >&5  if { (eval echo "$as_me:4428: \"$ac_link\"") >&5
4429    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4430    ac_status=$?    ac_status=$?
4431    echo "$as_me:3742: \$? = $ac_status" >&5    echo "$as_me:4431: \$? = $ac_status" >&5
4432    (exit $ac_status); } &&    (exit $ac_status); } &&
4433           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4434    { (eval echo "$as_me:3745: \"$ac_try\"") >&5    { (eval echo "$as_me:4434: \"$ac_try\"") >&5
4435    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4436    ac_status=$?    ac_status=$?
4437    echo "$as_me:3748: \$? = $ac_status" >&5    echo "$as_me:4437: \$? = $ac_status" >&5
4438    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4439    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
4440  else  else
# Line 3755  ac_cv_func_alloca_works=no Line 4444  ac_cv_func_alloca_works=no
4444  fi  fi
4445  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4446  fi  fi
4447  echo "$as_me:3758: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:4447: result: $ac_cv_func_alloca_works" >&5
4448  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4449    
4450  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
4451    
4452  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4453  #define HAVE_ALLOCA 1  #define HAVE_ALLOCA 1
4454  EOF  _ACEOF
4455    
4456  else  else
4457    # The SVR3 libPW and SVR4 libucb both contain incompatible functions    # The SVR3 libPW and SVR4 libucb both contain incompatible functions
# Line 3772  else Line 4461  else
4461    
4462  ALLOCA=alloca.$ac_objext  ALLOCA=alloca.$ac_objext
4463    
4464  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
4465  #define C_ALLOCA 1  #define C_ALLOCA 1
4466  EOF  _ACEOF
4467    
4468  echo "$as_me:3779: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:4468: checking whether \`alloca.c' needs Cray hooks" >&5
4469  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4470  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
4471    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4472  else  else
4473    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4474  #line 3785 "configure"  #line 4474 "configure"
4475  #include "confdefs.h"  #include "confdefs.h"
4476  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
4477  webecray  webecray
# Line 3800  fi Line 4489  fi
4489  rm -f conftest*  rm -f conftest*
4490    
4491  fi  fi
4492  echo "$as_me:3803: result: $ac_cv_os_cray" >&5  echo "$as_me:4492: result: $ac_cv_os_cray" >&5
4493  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
4494  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
4495    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
4496      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4497  echo "$as_me:3808: checking for $ac_func" >&5  echo "$as_me:4497: checking for $ac_func" >&5
4498  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4499  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
4500    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4501  else  else
4502    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4503  #line 3814 "configure"  #line 4503 "configure"
4504  #include "confdefs.h"  #include "confdefs.h"
4505  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4506      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 3825  extern "C" Line 4514  extern "C"
4514  char $ac_func ();  char $ac_func ();
4515  char (*f) ();  char (*f) ();
4516    
4517    #ifdef F77_DUMMY_MAIN
4518    #  ifdef __cplusplus
4519         extern "C"
4520    #  endif
4521       int F77_DUMMY_MAIN() { return 1; }
4522    #endif
4523  int  int
4524  main ()  main ()
4525  {  {
# Line 3842  f = $ac_func; Line 4537  f = $ac_func;
4537  }  }
4538  _ACEOF  _ACEOF
4539  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4540  if { (eval echo "$as_me:3845: \"$ac_link\"") >&5  if { (eval echo "$as_me:4540: \"$ac_link\"") >&5
4541    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4542    ac_status=$?    ac_status=$?
4543    echo "$as_me:3848: \$? = $ac_status" >&5    echo "$as_me:4543: \$? = $ac_status" >&5
4544    (exit $ac_status); } &&    (exit $ac_status); } &&
4545           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4546    { (eval echo "$as_me:3851: \"$ac_try\"") >&5    { (eval echo "$as_me:4546: \"$ac_try\"") >&5
4547    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4548    ac_status=$?    ac_status=$?
4549    echo "$as_me:3854: \$? = $ac_status" >&5    echo "$as_me:4549: \$? = $ac_status" >&5
4550    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4551    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
4552  else  else
# Line 3861  eval "$as_ac_var=no" Line 4556  eval "$as_ac_var=no"
4556  fi  fi
4557  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4558  fi  fi
4559  echo "$as_me:3864: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:4559: result: `eval echo '${'$as_ac_var'}'`" >&5
4560  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4561  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
4562    
4563  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4564  #define CRAY_STACKSEG_END $ac_func  #define CRAY_STACKSEG_END $ac_func
4565  EOF  _ACEOF
4566    
4567      break      break
4568  fi  fi
# Line 3875  fi Line 4570  fi
4570    done    done
4571  fi  fi
4572    
4573  echo "$as_me:3878: checking stack direction for C alloca" >&5  echo "$as_me:4573: checking stack direction for C alloca" >&5
4574  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4575  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
4576    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3884  else Line 4579  else
4579    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
4580  else  else
4581    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4582  #line 3887 "configure"  #line 4582 "configure"
4583  #include "confdefs.h"  #include "confdefs.h"
4584  int  int
4585  find_stack_direction ()  find_stack_direction ()
# Line 3907  main () Line 4602  main ()
4602  }  }
4603  _ACEOF  _ACEOF
4604  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
4605  if { (eval echo "$as_me:3910: \"$ac_link\"") >&5  if { (eval echo "$as_me:4605: \"$ac_link\"") >&5
4606    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4607    ac_status=$?    ac_status=$?
4608    echo "$as_me:3913: \$? = $ac_status" >&5    echo "$as_me:4608: \$? = $ac_status" >&5
4609    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4610    { (eval echo "$as_me:3915: \"$ac_try\"") >&5    { (eval echo "$as_me:4610: \"$ac_try\"") >&5
4611    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4612    ac_status=$?    ac_status=$?
4613    echo "$as_me:3918: \$? = $ac_status" >&5    echo "$as_me:4613: \$? = $ac_status" >&5
4614    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4615    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
4616  else  else
# Line 3927  fi Line 4622  fi
4622  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4623  fi  fi
4624  fi  fi
4625  echo "$as_me:3930: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:4625: result: $ac_cv_c_stack_direction" >&5
4626  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4627    
4628  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4629  #define STACK_DIRECTION $ac_cv_c_stack_direction  #define STACK_DIRECTION $ac_cv_c_stack_direction
4630  EOF  _ACEOF
4631    
4632  fi  fi
4633    
4634  for ac_func in mkstemp setlocale  for ac_func in mkstemp setlocale
4635  do  do
4636  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4637  echo "$as_me:3942: checking for $ac_func" >&5  echo "$as_me:4637: checking for $ac_func" >&5
4638  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4639  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
4640    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4641  else  else
4642    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4643  #line 3948 "configure"  #line 4643 "configure"
4644  #include "confdefs.h"  #include "confdefs.h"
4645  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4646      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 3959  extern "C" Line 4654  extern "C"
4654  char $ac_func ();  char $ac_func ();
4655  char (*f) ();  char (*f) ();
4656    
4657    #ifdef F77_DUMMY_MAIN
4658    #  ifdef __cplusplus
4659         extern "C"
4660    #  endif
4661       int F77_DUMMY_MAIN() { return 1; }
4662    #endif
4663  int  int
4664  main ()  main ()
4665  {  {
# Line 3976  f = $ac_func; Line 4677  f = $ac_func;
4677  }  }
4678  _ACEOF  _ACEOF
4679  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4680  if { (eval echo "$as_me:3979: \"$ac_link\"") >&5  if { (eval echo "$as_me:4680: \"$ac_link\"") >&5
4681    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4682    ac_status=$?    ac_status=$?
4683    echo "$as_me:3982: \$? = $ac_status" >&5    echo "$as_me:4683: \$? = $ac_status" >&5
4684    (exit $ac_status); } &&    (exit $ac_status); } &&
4685           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
4686    { (eval echo "$as_me:3985: \"$ac_try\"") >&5    { (eval echo "$as_me:4686: \"$ac_try\"") >&5
4687    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4688    ac_status=$?    ac_status=$?
4689    echo "$as_me:3988: \$? = $ac_status" >&5    echo "$as_me:4689: \$? = $ac_status" >&5
4690    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4691    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
4692  else  else
# Line 3995  eval "$as_ac_var=no" Line 4696  eval "$as_ac_var=no"
4696  fi  fi
4697  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4698  fi  fi
4699  echo "$as_me:3998: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:4699: result: `eval echo '${'$as_ac_var'}'`" >&5
4700  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4701  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
4702    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4703  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 EOF  
   
 fi  
 done  
   
 # 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:4014: 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 4020 "configure"  
 #include "confdefs.h"  
 $ac_includes_default  
 #include <$ac_header>  
4704  _ACEOF  _ACEOF
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:4026: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:4029: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:4032: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:4035: \$? = $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:4045: 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  
4705    
4706  fi  fi
4707  done  done
4708    
4709  echo "$as_me:4055: checking whether stpcpy is declared" >&5  echo "$as_me:4709: checking whether stpcpy is declared" >&5
4710  echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6  echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
4711  if test "${ac_cv_have_decl_stpcpy+set}" = set; then  if test "${ac_cv_have_decl_stpcpy+set}" = set; then
4712    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4713  else  else
4714    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4715  #line 4061 "configure"  #line 4715 "configure"
4716  #include "confdefs.h"  #include "confdefs.h"
4717  $ac_includes_default  $ac_includes_default
4718    #ifdef F77_DUMMY_MAIN
4719    #  ifdef __cplusplus
4720         extern "C"
4721    #  endif
4722       int F77_DUMMY_MAIN() { return 1; }
4723    #endif
4724  int  int
4725  main ()  main ()
4726  {  {
# Line 4073  main () Line 4733  main ()
4733  }  }
4734  _ACEOF  _ACEOF
4735  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4736  if { (eval echo "$as_me:4076: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4736: \"$ac_compile\"") >&5
4737    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4738    ac_status=$?    ac_status=$?
4739    echo "$as_me:4079: \$? = $ac_status" >&5    echo "$as_me:4739: \$? = $ac_status" >&5
4740    (exit $ac_status); } &&    (exit $ac_status); } &&
4741           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4742    { (eval echo "$as_me:4082: \"$ac_try\"") >&5    { (eval echo "$as_me:4742: \"$ac_try\"") >&5
4743    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4744    ac_status=$?    ac_status=$?
4745    echo "$as_me:4085: \$? = $ac_status" >&5    echo "$as_me:4745: \$? = $ac_status" >&5
4746    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4747    ac_cv_have_decl_stpcpy=yes    ac_cv_have_decl_stpcpy=yes
4748  else  else
# Line 4092  ac_cv_have_decl_stpcpy=no Line 4752  ac_cv_have_decl_stpcpy=no
4752  fi  fi
4753  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4754  fi  fi
4755  echo "$as_me:4095: result: $ac_cv_have_decl_stpcpy" >&5  echo "$as_me:4755: result: $ac_cv_have_decl_stpcpy" >&5
4756  echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6  echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
4757  if test $ac_cv_have_decl_stpcpy = yes; then  if test $ac_cv_have_decl_stpcpy = yes; then
4758    
4759  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4760  #define HAVE_DECL_STPCPY 1  #define HAVE_DECL_STPCPY 1
4761  EOF  _ACEOF
4762    
4763  else  else
4764    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4765  #define HAVE_DECL_STPCPY 0  #define HAVE_DECL_STPCPY 0
4766  EOF  _ACEOF
4767    
4768  fi  fi
4769  echo "$as_me:4109: checking whether strndup is declared" >&5  echo "$as_me:4769: checking whether strndup is declared" >&5
4770  echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6  echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
4771  if test "${ac_cv_have_decl_strndup+set}" = set; then  if test "${ac_cv_have_decl_strndup+set}" = set; then
4772    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4773  else  else
4774    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4775  #line 4115 "configure"  #line 4775 "configure"
4776  #include "confdefs.h"  #include "confdefs.h"
4777  $ac_includes_default  $ac_includes_default
4778    #ifdef F77_DUMMY_MAIN
4779    #  ifdef __cplusplus
4780         extern "C"
4781    #  endif
4782       int F77_DUMMY_MAIN() { return 1; }
4783    #endif
4784  int  int
4785  main ()  main ()
4786  {  {
# Line 4127  main () Line 4793  main ()
4793  }  }
4794  _ACEOF  _ACEOF
4795  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4796  if { (eval echo "$as_me:4130: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4796: \"$ac_compile\"") >&5
4797    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4798    ac_status=$?    ac_status=$?
4799    echo "$as_me:4133: \$? = $ac_status" >&5    echo "$as_me:4799: \$? = $ac_status" >&5
4800    (exit $ac_status); } &&    (exit $ac_status); } &&
4801           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4802    { (eval echo "$as_me:4136: \"$ac_try\"") >&5    { (eval echo "$as_me:4802: \"$ac_try\"") >&5
4803    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4804    ac_status=$?    ac_status=$?
4805    echo "$as_me:4139: \$? = $ac_status" >&5    echo "$as_me:4805: \$? = $ac_status" >&5
4806    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4807    ac_cv_have_decl_strndup=yes    ac_cv_have_decl_strndup=yes
4808  else  else
# Line 4146  ac_cv_have_decl_strndup=no Line 4812  ac_cv_have_decl_strndup=no
4812  fi  fi
4813  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4814  fi  fi
4815  echo "$as_me:4149: result: $ac_cv_have_decl_strndup" >&5  echo "$as_me:4815: result: $ac_cv_have_decl_strndup" >&5
4816  echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6  echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
4817  if test $ac_cv_have_decl_strndup = yes; then  if test $ac_cv_have_decl_strndup = yes; then
4818    
4819  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4820  #define HAVE_DECL_STRNDUP 1  #define HAVE_DECL_STRNDUP 1
4821  EOF  _ACEOF
4822    
4823  else  else
4824    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4825  #define HAVE_DECL_STRNDUP 0  #define HAVE_DECL_STRNDUP 0
4826  EOF  _ACEOF
4827    
4828  fi  fi
4829  echo "$as_me:4163: checking whether strnlen is declared" >&5  echo "$as_me:4829: checking whether strnlen is declared" >&5
4830  echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6  echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
4831  if test "${ac_cv_have_decl_strnlen+set}" = set; then  if test "${ac_cv_have_decl_strnlen+set}" = set; then
4832    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4833  else  else
4834    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4835  #line 4169 "configure"  #line 4835 "configure"
4836  #include "confdefs.h"  #include "confdefs.h"
4837  $ac_includes_default  $ac_includes_default
4838    #ifdef F77_DUMMY_MAIN
4839    #  ifdef __cplusplus
4840         extern "C"
4841    #  endif
4842       int F77_DUMMY_MAIN() { return 1; }
4843    #endif
4844  int  int
4845  main ()  main ()
4846  {  {
# Line 4181  main () Line 4853  main ()
4853  }  }
4854  _ACEOF  _ACEOF
4855  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4856  if { (eval echo "$as_me:4184: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4856: \"$ac_compile\"") >&5
4857    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4858    ac_status=$?    ac_status=$?
4859    echo "$as_me:4187: \$? = $ac_status" >&5    echo "$as_me:4859: \$? = $ac_status" >&5
4860    (exit $ac_status); } &&    (exit $ac_status); } &&
4861           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4862    { (eval echo "$as_me:4190: \"$ac_try\"") >&5    { (eval echo "$as_me:4862: \"$ac_try\"") >&5
4863    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4864    ac_status=$?    ac_status=$?
4865    echo "$as_me:4193: \$? = $ac_status" >&5    echo "$as_me:4865: \$? = $ac_status" >&5
4866    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4867    ac_cv_have_decl_strnlen=yes    ac_cv_have_decl_strnlen=yes
4868  else  else
# Line 4200  ac_cv_have_decl_strnlen=no Line 4872  ac_cv_have_decl_strnlen=no
4872  fi  fi
4873  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4874  fi  fi
4875  echo "$as_me:4203: result: $ac_cv_have_decl_strnlen" >&5  echo "$as_me:4875: result: $ac_cv_have_decl_strnlen" >&5
4876  echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6  echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
4877  if test $ac_cv_have_decl_strnlen = yes; then  if test $ac_cv_have_decl_strnlen = yes; then
4878    
4879  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4880  #define HAVE_DECL_STRNLEN 1  #define HAVE_DECL_STRNLEN 1
4881  EOF  _ACEOF
4882    
4883  else  else
4884    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4885  #define HAVE_DECL_STRNLEN 0  #define HAVE_DECL_STRNLEN 0
4886  EOF  _ACEOF
4887    
4888  fi  fi
4889  echo "$as_me:4217: checking whether memchr is declared" >&5  echo "$as_me:4889: checking whether memchr is declared" >&5
4890  echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6  echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
4891  if test "${ac_cv_have_decl_memchr+set}" = set; then  if test "${ac_cv_have_decl_memchr+set}" = set; then
4892    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4893  else  else
4894    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4895  #line 4223 "configure"  #line 4895 "configure"
4896  #include "confdefs.h"  #include "confdefs.h"
4897  $ac_includes_default  $ac_includes_default
4898    #ifdef F77_DUMMY_MAIN
4899    #  ifdef __cplusplus
4900         extern "C"
4901    #  endif
4902       int F77_DUMMY_MAIN() { return 1; }
4903    #endif
4904  int  int
4905  main ()  main ()
4906  {  {
# Line 4235  main () Line 4913  main ()
4913  }  }
4914  _ACEOF  _ACEOF
4915  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4916  if { (eval echo "$as_me:4238: \"$ac_compile\"") >&5  if { (eval echo "$as_me:4916: \"$ac_compile\"") >&5
4917    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4918    ac_status=$?    ac_status=$?
4919    echo "$as_me:4241: \$? = $ac_status" >&5    echo "$as_me:4919: \$? = $ac_status" >&5
4920    (exit $ac_status); } &&    (exit $ac_status); } &&
4921           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
4922    { (eval echo "$as_me:4244: \"$ac_try\"") >&5    { (eval echo "$as_me:4922: \"$ac_try\"") >&5
4923    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4924    ac_status=$?    ac_status=$?
4925    echo "$as_me:4247: \$? = $ac_status" >&5    echo "$as_me:4925: \$? = $ac_status" >&5
4926    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4927    ac_cv_have_decl_memchr=yes    ac_cv_have_decl_memchr=yes
4928  else  else
# Line 4254  ac_cv_have_decl_memchr=no Line 4932  ac_cv_have_decl_memchr=no
4932  fi  fi
4933  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
4934  fi  fi
4935  echo "$as_me:4257: result: $ac_cv_have_decl_memchr" >&5  echo "$as_me:4935: result: $ac_cv_have_decl_memchr" >&5
4936  echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6  echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
4937  if test $ac_cv_have_decl_memchr = yes; then  if test $ac_cv_have_decl_memchr = yes; then
4938    
4939  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
4940  #define HAVE_DECL_MEMCHR 1  #define HAVE_DECL_MEMCHR 1
4941  EOF  _ACEOF
4942    
4943  else  else
4944    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
4945  #define HAVE_DECL_MEMCHR 0  #define HAVE_DECL_MEMCHR 0
4946  EOF  _ACEOF
4947    
4948  fi  fi
4949    
4950  for ac_func in stpcpy strndup strnlen strspn memchr  for ac_func in stpcpy strndup strnlen strspn memchr
4951  do  do
4952  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4953  echo "$as_me:4275: checking for $ac_func" >&5  echo "$as_me:4953: checking for $ac_func" >&5
4954  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4955  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
4956    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4957  else  else
4958    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4959  #line 4281 "configure"  #line 4959 "configure"
4960  #include "confdefs.h"  #include "confdefs.h"
4961  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4962      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 4292  extern "C" Line 4970  extern "C"
4970  char $ac_func ();  char $ac_func ();
4971  char (*f) ();  char (*f) ();
4972    
4973    #ifdef F77_DUMMY_MAIN
4974    #  ifdef __cplusplus
4975         extern "C"
4976    #  endif
4977       int F77_DUMMY_MAIN() { return 1; }
4978    #endif
4979  int  int
4980  main ()  main ()
4981  {  {
# Line 4309  f = $ac_func; Line 4993  f = $ac_func;
4993  }  }
4994  _ACEOF  _ACEOF
4995  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4996  if { (eval echo "$as_me:4312: \"$ac_link\"") >&5  if { (eval echo "$as_me:4996: \"$ac_link\"") >&5
4997    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4998    ac_status=$?    ac_status=$?
4999    echo "$as_me:4315: \$? = $ac_status" >&5    echo "$as_me:4999: \$? = $ac_status" >&5
5000    (exit $ac_status); } &&    (exit $ac_status); } &&
5001           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5002    { (eval echo "$as_me:4318: \"$ac_try\"") >&5    { (eval echo "$as_me:5002: \"$ac_try\"") >&5
5003    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5004    ac_status=$?    ac_status=$?
5005    echo "$as_me:4321: \$? = $ac_status" >&5    echo "$as_me:5005: \$? = $ac_status" >&5
5006    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5007    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5008  else  else
# Line 4328  eval "$as_ac_var=no" Line 5012  eval "$as_ac_var=no"
5012  fi  fi
5013  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5014  fi  fi
5015  echo "$as_me:4331: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5015: result: `eval echo '${'$as_ac_var'}'`" >&5
5016  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5017  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5018    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
5019  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5020  EOF  _ACEOF
5021    
5022  else  else
5023    LIBOBJS="$LIBOBJS $ac_func.$ac_objext"    LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
5024  fi  fi
5025  done  done
5026    
5027  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
5028  #define HAVE_DONE_WORKING_MALLOC_CHECK 1  #define HAVE_DONE_WORKING_MALLOC_CHECK 1
5029  EOF  _ACEOF
5030    
5031   echo "$as_me:4347: checking for working malloc" >&5   echo "$as_me:5031: checking for working malloc" >&5
5032  echo $ECHO_N "checking for working malloc... $ECHO_C" >&6  echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
5033  if test "${jm_cv_func_working_malloc+set}" = set; then  if test "${jm_cv_func_working_malloc+set}" = set; then
5034    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4353  else Line 5037  else
5037           jm_cv_func_working_malloc=no           jm_cv_func_working_malloc=no
5038  else  else
5039    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5040  #line 4356 "configure"  #line 5040 "configure"
5041  #include "confdefs.h"  #include "confdefs.h"
5042    
5043      char *malloc ();      char *malloc ();
# Line 4365  else Line 5049  else
5049    
5050  _ACEOF  _ACEOF
5051  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5052  if { (eval echo "$as_me:4368: \"$ac_link\"") >&5  if { (eval echo "$as_me:5052: \"$ac_link\"") >&5
5053    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5054    ac_status=$?    ac_status=$?
5055    echo "$as_me:4371: \$? = $ac_status" >&5    echo "$as_me:5055: \$? = $ac_status" >&5
5056    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5057    { (eval echo "$as_me:4373: \"$ac_try\"") >&5    { (eval echo "$as_me:5057: \"$ac_try\"") >&5
5058    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5059    ac_status=$?    ac_status=$?
5060    echo "$as_me:4376: \$? = $ac_status" >&5    echo "$as_me:5060: \$? = $ac_status" >&5
5061    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5062    jm_cv_func_working_malloc=yes    jm_cv_func_working_malloc=yes
5063  else  else
# Line 4386  rm -f core core.* *.core conftest$ac_exe Line 5070  rm -f core core.* *.core conftest$ac_exe
5070  fi  fi
5071    
5072  fi  fi
5073  echo "$as_me:4389: result: $jm_cv_func_working_malloc" >&5  echo "$as_me:5073: result: $jm_cv_func_working_malloc" >&5
5074  echo "${ECHO_T}$jm_cv_func_working_malloc" >&6  echo "${ECHO_T}$jm_cv_func_working_malloc" >&6
5075    if test $jm_cv_func_working_malloc = no; then    if test $jm_cv_func_working_malloc = no; then
5076    
5077      LIBOBJS="$LIBOBJS malloc.$ac_objext"      LIBOBJS="$LIBOBJS malloc.$ac_objext"
5078    
5079  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
5080  #define malloc rpl_malloc  #define malloc rpl_malloc
5081  EOF  _ACEOF
5082    
5083    fi    fi
5084    
5085  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
5086  #define HAVE_DONE_WORKING_REALLOC_CHECK 1  #define HAVE_DONE_WORKING_REALLOC_CHECK 1
5087  EOF  _ACEOF
5088    
5089   echo "$as_me:4405: checking for working realloc" >&5   echo "$as_me:5089: checking for working realloc" >&5
5090  echo $ECHO_N "checking for working realloc... $ECHO_C" >&6  echo $ECHO_N "checking for working realloc... $ECHO_C" >&6
5091  if test "${jm_cv_func_working_realloc+set}" = set; then  if test "${jm_cv_func_working_realloc+set}" = set; then
5092    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4411  else Line 5095  else
5095           jm_cv_func_working_realloc=no           jm_cv_func_working_realloc=no
5096  else  else
5097    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5098  #line 4414 "configure"  #line 5098 "configure"
5099  #include "confdefs.h"  #include "confdefs.h"
5100    
5101      char *realloc ();      char *realloc ();
# Line 4423  else Line 5107  else
5107    
5108  _ACEOF  _ACEOF
5109  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5110  if { (eval echo "$as_me:4426: \"$ac_link\"") >&5  if { (eval echo "$as_me:5110: \"$ac_link\"") >&5
5111    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5112    ac_status=$?    ac_status=$?
5113    echo "$as_me:4429: \$? = $ac_status" >&5    echo "$as_me:5113: \$? = $ac_status" >&5
5114    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5115    { (eval echo "$as_me:4431: \"$ac_try\"") >&5    { (eval echo "$as_me:5115: \"$ac_try\"") >&5
5116    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5117    ac_status=$?    ac_status=$?
5118    echo "$as_me:4434: \$? = $ac_status" >&5    echo "$as_me:5118: \$? = $ac_status" >&5
5119    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5120    jm_cv_func_working_realloc=yes    jm_cv_func_working_realloc=yes
5121  else  else
# Line 4444  rm -f core core.* *.core conftest$ac_exe Line 5128  rm -f core core.* *.core conftest$ac_exe
5128  fi  fi
5129    
5130  fi  fi
5131  echo "$as_me:4447: result: $jm_cv_func_working_realloc" >&5  echo "$as_me:5131: result: $jm_cv_func_working_realloc" >&5
5132  echo "${ECHO_T}$jm_cv_func_working_realloc" >&6  echo "${ECHO_T}$jm_cv_func_working_realloc" >&6
5133    if test $jm_cv_func_working_realloc = no; then    if test $jm_cv_func_working_realloc = no; then
5134    
5135      LIBOBJS="$LIBOBJS realloc.$ac_objext"      LIBOBJS="$LIBOBJS realloc.$ac_objext"
5136    
5137  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
5138  #define realloc rpl_realloc  #define realloc rpl_realloc
5139  EOF  _ACEOF
5140    
5141    fi    fi
5142    
5143  for ac_func in isascii iswprint mbrtowc  for ac_func in isascii iswprint mbrtowc
5144  do  do
5145  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5146  echo "$as_me:4462: checking for $ac_func" >&5  echo "$as_me:5146: checking for $ac_func" >&5
5147  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5148  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5149    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5150  else  else
5151    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5152  #line 4468 "configure"  #line 5152 "configure"
5153  #include "confdefs.h"  #include "confdefs.h"
5154  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5155      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 4479  extern "C" Line 5163  extern "C"
5163  char $ac_func ();  char $ac_func ();
5164  char (*f) ();  char (*f) ();
5165    
5166    #ifdef F77_DUMMY_MAIN
5167    #  ifdef __cplusplus
5168         extern "C"
5169    #  endif
5170       int F77_DUMMY_MAIN() { return 1; }
5171    #endif
5172  int  int
5173  main ()  main ()
5174  {  {
# Line 4496  f = $ac_func; Line 5186  f = $ac_func;
5186  }  }
5187  _ACEOF  _ACEOF
5188  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5189  if { (eval echo "$as_me:4499: \"$ac_link\"") >&5  if { (eval echo "$as_me:5189: \"$ac_link\"") >&5
5190    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5191    ac_status=$?    ac_status=$?
5192    echo "$as_me:4502: \$? = $ac_status" >&5    echo "$as_me:5192: \$? = $ac_status" >&5
5193    (exit $ac_status); } &&    (exit $ac_status); } &&
5194           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
5195    { (eval echo "$as_me:4505: \"$ac_try\"") >&5    { (eval echo "$as_me:5195: \"$ac_try\"") >&5
5196    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5197    ac_status=$?    ac_status=$?
5198    echo "$as_me:4508: \$? = $ac_status" >&5    echo "$as_me:5198: \$? = $ac_status" >&5
5199    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5200    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
5201  else  else
# Line 4515  eval "$as_ac_var=no" Line 5205  eval "$as_ac_var=no"
5205  fi  fi
5206  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5207  fi  fi
5208  echo "$as_me:4518: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:5208: result: `eval echo '${'$as_ac_var'}'`" >&5
5209  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5210  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
5211    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
5212  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5213  EOF  _ACEOF
5214    
5215  fi  fi
5216  done  done
# Line 4528  done Line 5218  done
5218  for ac_header in limits.h stdlib.h string.h wchar.h wctype.h  for ac_header in limits.h stdlib.h string.h wchar.h wctype.h
5219  do  do
5220  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5221  echo "$as_me:4531: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5222      echo "$as_me:5222: checking for $ac_header" >&5
5223  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5224  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5225    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5226    fi
5227    echo "$as_me:5227: result: `eval echo '${'$as_ac_Header'}'`" >&5
5228    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5229  else  else
5230    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
5231  #line 4537 "configure"  echo "$as_me:5231: checking $ac_header usability" >&5
5232    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5233    cat >conftest.$ac_ext <<_ACEOF
5234    #line 5234 "configure"
5235    #include "confdefs.h"
5236    $ac_includes_default
5237    #include <$ac_header>
5238    _ACEOF
5239    rm -f conftest.$ac_objext
5240    if { (eval echo "$as_me:5240: \"$ac_compile\"") >&5
5241      (eval $ac_compile) 2>&5
5242      ac_status=$?
5243      echo "$as_me:5243: \$? = $ac_status" >&5
5244      (exit $ac_status); } &&
5245             { ac_try='test -s conftest.$ac_objext'
5246      { (eval echo "$as_me:5246: \"$ac_try\"") >&5
5247      (eval $ac_try) 2>&5
5248      ac_status=$?
5249      echo "$as_me:5249: \$? = $ac_status" >&5
5250      (exit $ac_status); }; }; then
5251      ac_header_compiler=yes
5252    else
5253      echo "$as_me: failed program was:" >&5
5254    cat conftest.$ac_ext >&5
5255    ac_header_compiler=no
5256    fi
5257    rm -f conftest.$ac_objext conftest.$ac_ext
5258    echo "$as_me:5258: result: $ac_header_compiler" >&5
5259    echo "${ECHO_T}$ac_header_compiler" >&6
5260    
5261    # Is the header present?
5262    echo "$as_me:5262: checking $ac_header presence" >&5
5263    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5264    cat >conftest.$ac_ext <<_ACEOF
5265    #line 5265 "configure"
5266  #include "confdefs.h"  #include "confdefs.h"
5267  #include <$ac_header>  #include <$ac_header>
5268  _ACEOF  _ACEOF
5269  if { (eval echo "$as_me:4541: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5269: \"$ac_cpp conftest.$ac_ext\"") >&5
5270    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5271    ac_status=$?    ac_status=$?
5272    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5273    rm -f conftest.er1    rm -f conftest.er1
5274    cat conftest.err >&5    cat conftest.err >&5
5275    echo "$as_me:4547: \$? = $ac_status" >&5    echo "$as_me:5275: \$? = $ac_status" >&5
5276    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5277    if test -s conftest.err; then    if test -s conftest.err; then
5278      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4555  else Line 5283  else
5283    ac_cpp_err=yes    ac_cpp_err=yes
5284  fi  fi
5285  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
5286    eval "$as_ac_Header=yes"    ac_header_preproc=yes
5287  else  else
5288    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5289    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5290    eval "$as_ac_Header=no"    ac_header_preproc=no
5291  fi  fi
5292  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5293    echo "$as_me:5293: result: $ac_header_preproc" >&5
5294    echo "${ECHO_T}$ac_header_preproc" >&6
5295    
5296    # So?  What about this header?
5297    case $ac_header_compiler:$ac_header_preproc in
5298      yes:no )
5299        { echo "$as_me:5299: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5300    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5301        { echo "$as_me:5301: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5302    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5303      no:yes )
5304        { echo "$as_me:5304: WARNING: $ac_header: present but cannot be compiled." >&5
5305    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5306        { echo "$as_me:5306: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5307    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5308        { echo "$as_me:5308: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5309    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5310    esac
5311    echo "$as_me:5311: checking for $ac_header" >&5
5312    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5313    if eval "test \"\${$as_ac_Header+set}\" = set"; then
5314      echo $ECHO_N "(cached) $ECHO_C" >&6
5315    else
5316      eval "$as_ac_Header=$ac_header_preproc"
5317  fi  fi
5318  echo "$as_me:4566: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5318: result: `eval echo '${'$as_ac_Header'}'`" >&5
5319  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5320    
5321    fi
5322  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5323    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
5324  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5325  EOF  _ACEOF
5326    
5327  fi  fi
5328    
5329  done  done
5330    
5331    echo "$as_me:4576: checking for ANSI C header files" >&5    echo "$as_me:5331: checking for ANSI C header files" >&5
5332  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5333  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
5334    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5335  else  else
5336    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5337  #line 4582 "configure"  #line 5337 "configure"
5338  #include "confdefs.h"  #include "confdefs.h"
5339  #include <stdlib.h>  #include <stdlib.h>
5340  #include <stdarg.h>  #include <stdarg.h>
# Line 4587  else Line 5342  else
5342  #include <float.h>  #include <float.h>
5343    
5344  _ACEOF  _ACEOF
5345  if { (eval echo "$as_me:4590: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5345: \"$ac_cpp conftest.$ac_ext\"") >&5
5346    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5347    ac_status=$?    ac_status=$?
5348    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5349    rm -f conftest.er1    rm -f conftest.er1
5350    cat conftest.err >&5    cat conftest.err >&5
5351    echo "$as_me:4596: \$? = $ac_status" >&5    echo "$as_me:5351: \$? = $ac_status" >&5
5352    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5353    if test -s conftest.err; then    if test -s conftest.err; then
5354      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4615  rm -f conftest.err conftest.$ac_ext Line 5370  rm -f conftest.err conftest.$ac_ext
5370  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5371    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5373  #line 4618 "configure"  #line 5373 "configure"
5374  #include "confdefs.h"  #include "confdefs.h"
5375  #include <string.h>  #include <string.h>
5376    
# Line 4633  fi Line 5388  fi
5388  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5389    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5390    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5391  #line 4636 "configure"  #line 5391 "configure"
5392  #include "confdefs.h"  #include "confdefs.h"
5393  #include <stdlib.h>  #include <stdlib.h>
5394    
# Line 4654  if test $ac_cv_header_stdc = yes; then Line 5409  if test $ac_cv_header_stdc = yes; then
5409    :    :
5410  else  else
5411    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5412  #line 4657 "configure"  #line 5412 "configure"
5413  #include "confdefs.h"  #include "confdefs.h"
5414  #include <ctype.h>  #include <ctype.h>
5415  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4680  main () Line 5435  main ()
5435  }  }
5436  _ACEOF  _ACEOF
5437  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5438  if { (eval echo "$as_me:4683: \"$ac_link\"") >&5  if { (eval echo "$as_me:5438: \"$ac_link\"") >&5
5439    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5440    ac_status=$?    ac_status=$?
5441    echo "$as_me:4686: \$? = $ac_status" >&5    echo "$as_me:5441: \$? = $ac_status" >&5
5442    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5443    { (eval echo "$as_me:4688: \"$ac_try\"") >&5    { (eval echo "$as_me:5443: \"$ac_try\"") >&5
5444    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5445    ac_status=$?    ac_status=$?
5446    echo "$as_me:4691: \$? = $ac_status" >&5    echo "$as_me:5446: \$? = $ac_status" >&5
5447    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5448    :    :
5449  else  else
# Line 4701  rm -f core core.* *.core conftest$ac_exe Line 5456  rm -f core core.* *.core conftest$ac_exe
5456  fi  fi
5457  fi  fi
5458  fi  fi
5459  echo "$as_me:4704: result: $ac_cv_header_stdc" >&5  echo "$as_me:5459: result: $ac_cv_header_stdc" >&5
5460  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
5461  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5462    
5463  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
5464  #define STDC_HEADERS 1  #define STDC_HEADERS 1
5465  EOF  _ACEOF
5466    
5467  fi  fi
5468    
5469    echo "$as_me:4714: checking whether backslash-a works in strings" >&5    echo "$as_me:5469: checking whether backslash-a works in strings" >&5
5470  echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6  echo $ECHO_N "checking whether backslash-a works in strings... $ECHO_C" >&6
5471  if test "${ac_cv_c_backslash_a+set}" = set; then  if test "${ac_cv_c_backslash_a+set}" = set; then
5472    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5473  else  else
5474    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5475  #line 4720 "configure"  #line 5475 "configure"
5476  #include "confdefs.h"  #include "confdefs.h"
5477    
5478    #ifdef F77_DUMMY_MAIN
5479    #  ifdef __cplusplus
5480         extern "C"
5481    #  endif
5482       int F77_DUMMY_MAIN() { return 1; }
5483    #endif
5484  int  int
5485  main ()  main ()
5486  {  {
# Line 4736  main () Line 5497  main ()
5497  }  }
5498  _ACEOF  _ACEOF
5499  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5500  if { (eval echo "$as_me:4739: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5500: \"$ac_compile\"") >&5
5501    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5502    ac_status=$?    ac_status=$?
5503    echo "$as_me:4742: \$? = $ac_status" >&5    echo "$as_me:5503: \$? = $ac_status" >&5
5504    (exit $ac_status); } &&    (exit $ac_status); } &&
5505           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5506    { (eval echo "$as_me:4745: \"$ac_try\"") >&5    { (eval echo "$as_me:5506: \"$ac_try\"") >&5
5507    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5508    ac_status=$?    ac_status=$?
5509    echo "$as_me:4748: \$? = $ac_status" >&5    echo "$as_me:5509: \$? = $ac_status" >&5
5510    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5511    ac_cv_c_backslash_a=yes    ac_cv_c_backslash_a=yes
5512  else  else
# Line 4755  ac_cv_c_backslash_a=no Line 5516  ac_cv_c_backslash_a=no
5516  fi  fi
5517  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5518  fi  fi
5519  echo "$as_me:4758: result: $ac_cv_c_backslash_a" >&5  echo "$as_me:5519: result: $ac_cv_c_backslash_a" >&5
5520  echo "${ECHO_T}$ac_cv_c_backslash_a" >&6  echo "${ECHO_T}$ac_cv_c_backslash_a" >&6
5521    if test $ac_cv_c_backslash_a = yes; then    if test $ac_cv_c_backslash_a = yes; then
5522    
5523  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
5524  #define HAVE_C_BACKSLASH_A 1  #define HAVE_C_BACKSLASH_A 1
5525  EOF  _ACEOF
5526    
5527    fi    fi
5528    
5529  for ac_header in stdlib.h  for ac_header in stdlib.h
5530  do  do
5531  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5532  echo "$as_me:4771: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5533      echo "$as_me:5533: checking for $ac_header" >&5
5534  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5535  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5536    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5537    fi
5538    echo "$as_me:5538: result: `eval echo '${'$as_ac_Header'}'`" >&5
5539    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5540  else  else
5541    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
5542  #line 4777 "configure"  echo "$as_me:5542: checking $ac_header usability" >&5
5543    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5544    cat >conftest.$ac_ext <<_ACEOF
5545    #line 5545 "configure"
5546    #include "confdefs.h"
5547    $ac_includes_default
5548    #include <$ac_header>
5549    _ACEOF
5550    rm -f conftest.$ac_objext
5551    if { (eval echo "$as_me:5551: \"$ac_compile\"") >&5
5552      (eval $ac_compile) 2>&5
5553      ac_status=$?
5554      echo "$as_me:5554: \$? = $ac_status" >&5
5555      (exit $ac_status); } &&
5556             { ac_try='test -s conftest.$ac_objext'
5557      { (eval echo "$as_me:5557: \"$ac_try\"") >&5
5558      (eval $ac_try) 2>&5
5559      ac_status=$?
5560      echo "$as_me:5560: \$? = $ac_status" >&5
5561      (exit $ac_status); }; }; then
5562      ac_header_compiler=yes
5563    else
5564      echo "$as_me: failed program was:" >&5
5565    cat conftest.$ac_ext >&5
5566    ac_header_compiler=no
5567    fi
5568    rm -f conftest.$ac_objext conftest.$ac_ext
5569    echo "$as_me:5569: result: $ac_header_compiler" >&5
5570    echo "${ECHO_T}$ac_header_compiler" >&6
5571    
5572    # Is the header present?
5573    echo "$as_me:5573: checking $ac_header presence" >&5
5574    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5575    cat >conftest.$ac_ext <<_ACEOF
5576    #line 5576 "configure"
5577  #include "confdefs.h"  #include "confdefs.h"
5578  #include <$ac_header>  #include <$ac_header>
5579  _ACEOF  _ACEOF
5580  if { (eval echo "$as_me:4781: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5580: \"$ac_cpp conftest.$ac_ext\"") >&5
5581    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5582    ac_status=$?    ac_status=$?
5583    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5584    rm -f conftest.er1    rm -f conftest.er1
5585    cat conftest.err >&5    cat conftest.err >&5
5586    echo "$as_me:4787: \$? = $ac_status" >&5    echo "$as_me:5586: \$? = $ac_status" >&5
5587    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5588    if test -s conftest.err; then    if test -s conftest.err; then
5589      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4795  else Line 5594  else
5594    ac_cpp_err=yes    ac_cpp_err=yes
5595  fi  fi
5596  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
5597    eval "$as_ac_Header=yes"    ac_header_preproc=yes
5598  else  else
5599    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5600    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5601    eval "$as_ac_Header=no"    ac_header_preproc=no
5602  fi  fi
5603  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5604    echo "$as_me:5604: result: $ac_header_preproc" >&5
5605    echo "${ECHO_T}$ac_header_preproc" >&6
5606    
5607    # So?  What about this header?
5608    case $ac_header_compiler:$ac_header_preproc in
5609      yes:no )
5610        { echo "$as_me:5610: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5611    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5612        { echo "$as_me:5612: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5613    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5614      no:yes )
5615        { echo "$as_me:5615: WARNING: $ac_header: present but cannot be compiled." >&5
5616    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5617        { echo "$as_me:5617: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5618    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5619        { echo "$as_me:5619: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5620    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5621    esac
5622    echo "$as_me:5622: checking for $ac_header" >&5
5623    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5624    if eval "test \"\${$as_ac_Header+set}\" = set"; then
5625      echo $ECHO_N "(cached) $ECHO_C" >&6
5626    else
5627      eval "$as_ac_Header=$ac_header_preproc"
5628  fi  fi
5629  echo "$as_me:4806: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5629: result: `eval echo '${'$as_ac_Header'}'`" >&5
5630  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5631    
5632    fi
5633  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5634    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
5635  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5636  EOF  _ACEOF
5637    
5638  fi  fi
5639    
5640  done  done
5641    
5642     echo "$as_me:4816: checking for mbstate_t" >&5     echo "$as_me:5642: checking for mbstate_t" >&5
5643  echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6  echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
5644  if test "${ac_cv_type_mbstate_t+set}" = set; then  if test "${ac_cv_type_mbstate_t+set}" = set; then
5645    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5646  else  else
5647    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5648  #line 4822 "configure"  #line 5648 "configure"
5649  #include "confdefs.h"  #include "confdefs.h"
5650    
5651  #if HAVE_STDLIB_H  #if HAVE_STDLIB_H
5652  # include <stdlib.h>  # include <stdlib.h>
5653  #endif  #endif
5654  #include <wchar.h>  #include <wchar.h>
5655    #ifdef F77_DUMMY_MAIN
5656    #  ifdef __cplusplus
5657         extern "C"
5658    #  endif
5659       int F77_DUMMY_MAIN() { return 1; }
5660    #endif
5661  int  int
5662  main ()  main ()
5663  {  {
# Line 4835  mbstate_t x; return sizeof x; Line 5667  mbstate_t x; return sizeof x;
5667  }  }
5668  _ACEOF  _ACEOF
5669  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5670  if { (eval echo "$as_me:4838: \"$ac_compile\"") >&5  if { (eval echo "$as_me:5670: \"$ac_compile\"") >&5
5671    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5672    ac_status=$?    ac_status=$?
5673    echo "$as_me:4841: \$? = $ac_status" >&5    echo "$as_me:5673: \$? = $ac_status" >&5
5674    (exit $ac_status); } &&    (exit $ac_status); } &&
5675           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
5676    { (eval echo "$as_me:4844: \"$ac_try\"") >&5    { (eval echo "$as_me:5676: \"$ac_try\"") >&5
5677    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5678    ac_status=$?    ac_status=$?
5679    echo "$as_me:4847: \$? = $ac_status" >&5    echo "$as_me:5679: \$? = $ac_status" >&5
5680    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5681    ac_cv_type_mbstate_t=yes    ac_cv_type_mbstate_t=yes
5682  else  else
# Line 4854  ac_cv_type_mbstate_t=no Line 5686  ac_cv_type_mbstate_t=no
5686  fi  fi
5687  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5688  fi  fi
5689  echo "$as_me:4857: result: $ac_cv_type_mbstate_t" >&5  echo "$as_me:5689: result: $ac_cv_type_mbstate_t" >&5
5690  echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6  echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
5691     if test $ac_cv_type_mbstate_t = no; then     if test $ac_cv_type_mbstate_t = no; then
5692    
5693  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
5694  #define mbstate_t int  #define mbstate_t int
5695  EOF  _ACEOF
5696    
5697     fi     fi
5698    
5699  echo "$as_me:4867: checking for function prototypes" >&5  echo "$as_me:5699: checking for function prototypes" >&5
5700  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5701  if test "$am_cv_prog_cc_stdc" != no; then  if test "$am_cv_prog_cc_stdc" != no; then
5702    echo "$as_me:4870: result: yes" >&5    echo "$as_me:5702: result: yes" >&5
5703  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
5704    
5705  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
5706  #define PROTOTYPES 1  #define PROTOTYPES 1
5707  EOF  _ACEOF
5708    
5709    U= ANSI2KNR=    U= ANSI2KNR=
5710  else  else
5711    echo "$as_me:4879: result: no" >&5    echo "$as_me:5711: result: no" >&5
5712  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5713    U=_ ANSI2KNR=./ansi2knr    U=_ ANSI2KNR=./ansi2knr
5714    # Ensure some checks needed by ansi2knr itself.  fi
5715    echo "$as_me:4883: checking for ANSI C header files" >&5  # Ensure some checks needed by ansi2knr itself.
5716    echo "$as_me:5716: checking for ANSI C header files" >&5
5717  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5718  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
5719    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5720  else  else
5721    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5722  #line 4889 "configure"  #line 5722 "configure"
5723  #include "confdefs.h"  #include "confdefs.h"
5724  #include <stdlib.h>  #include <stdlib.h>
5725  #include <stdarg.h>  #include <stdarg.h>
# Line 4894  else Line 5727  else
5727  #include <float.h>  #include <float.h>
5728    
5729  _ACEOF  _ACEOF
5730  if { (eval echo "$as_me:4897: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5730: \"$ac_cpp conftest.$ac_ext\"") >&5
5731    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5732    ac_status=$?    ac_status=$?
5733    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5734    rm -f conftest.er1    rm -f conftest.er1
5735    cat conftest.err >&5    cat conftest.err >&5
5736    echo "$as_me:4903: \$? = $ac_status" >&5    echo "$as_me:5736: \$? = $ac_status" >&5
5737    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5738    if test -s conftest.err; then    if test -s conftest.err; then
5739      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4922  rm -f conftest.err conftest.$ac_ext Line 5755  rm -f conftest.err conftest.$ac_ext
5755  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5756    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5757    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5758  #line 4925 "configure"  #line 5758 "configure"
5759  #include "confdefs.h"  #include "confdefs.h"
5760  #include <string.h>  #include <string.h>
5761    
# Line 4940  fi Line 5773  fi
5773  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5774    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5775    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5776  #line 4943 "configure"  #line 5776 "configure"
5777  #include "confdefs.h"  #include "confdefs.h"
5778  #include <stdlib.h>  #include <stdlib.h>
5779    
# Line 4961  if test $ac_cv_header_stdc = yes; then Line 5794  if test $ac_cv_header_stdc = yes; then
5794    :    :
5795  else  else
5796    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5797  #line 4964 "configure"  #line 5797 "configure"
5798  #include "confdefs.h"  #include "confdefs.h"
5799  #include <ctype.h>  #include <ctype.h>
5800  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 4987  main () Line 5820  main ()
5820  }  }
5821  _ACEOF  _ACEOF
5822  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
5823  if { (eval echo "$as_me:4990: \"$ac_link\"") >&5  if { (eval echo "$as_me:5823: \"$ac_link\"") >&5
5824    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
5825    ac_status=$?    ac_status=$?
5826    echo "$as_me:4993: \$? = $ac_status" >&5    echo "$as_me:5826: \$? = $ac_status" >&5
5827    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5828    { (eval echo "$as_me:4995: \"$ac_try\"") >&5    { (eval echo "$as_me:5828: \"$ac_try\"") >&5
5829    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5830    ac_status=$?    ac_status=$?
5831    echo "$as_me:4998: \$? = $ac_status" >&5    echo "$as_me:5831: \$? = $ac_status" >&5
5832    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
5833    :    :
5834  else  else
# Line 5008  rm -f core core.* *.core conftest$ac_exe Line 5841  rm -f core core.* *.core conftest$ac_exe
5841  fi  fi
5842  fi  fi
5843  fi  fi
5844  echo "$as_me:5011: result: $ac_cv_header_stdc" >&5  echo "$as_me:5844: result: $ac_cv_header_stdc" >&5
5845  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
5846  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5847    
5848  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
5849  #define STDC_HEADERS 1  #define STDC_HEADERS 1
5850  EOF  _ACEOF
5851    
5852  fi  fi
5853    
5854  for ac_header in string.h  for ac_header in string.h
5855  do  do
5856  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5857  echo "$as_me:5024: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5858      echo "$as_me:5858: checking for $ac_header" >&5
5859  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5860  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5861    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5862    fi
5863    echo "$as_me:5863: result: `eval echo '${'$as_ac_Header'}'`" >&5
5864    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5865  else  else
5866    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
5867  #line 5030 "configure"  echo "$as_me:5867: checking $ac_header usability" >&5
5868    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5869    cat >conftest.$ac_ext <<_ACEOF
5870    #line 5870 "configure"
5871    #include "confdefs.h"
5872    $ac_includes_default
5873    #include <$ac_header>
5874    _ACEOF
5875    rm -f conftest.$ac_objext
5876    if { (eval echo "$as_me:5876: \"$ac_compile\"") >&5
5877      (eval $ac_compile) 2>&5
5878      ac_status=$?
5879      echo "$as_me:5879: \$? = $ac_status" >&5
5880      (exit $ac_status); } &&
5881             { ac_try='test -s conftest.$ac_objext'
5882      { (eval echo "$as_me:5882: \"$ac_try\"") >&5
5883      (eval $ac_try) 2>&5
5884      ac_status=$?
5885      echo "$as_me:5885: \$? = $ac_status" >&5
5886      (exit $ac_status); }; }; then
5887      ac_header_compiler=yes
5888    else
5889      echo "$as_me: failed program was:" >&5
5890    cat conftest.$ac_ext >&5
5891    ac_header_compiler=no
5892    fi
5893    rm -f conftest.$ac_objext conftest.$ac_ext
5894    echo "$as_me:5894: result: $ac_header_compiler" >&5
5895    echo "${ECHO_T}$ac_header_compiler" >&6
5896    
5897    # Is the header present?
5898    echo "$as_me:5898: checking $ac_header presence" >&5
5899    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5900    cat >conftest.$ac_ext <<_ACEOF
5901    #line 5901 "configure"
5902  #include "confdefs.h"  #include "confdefs.h"
5903  #include <$ac_header>  #include <$ac_header>
5904  _ACEOF  _ACEOF
5905  if { (eval echo "$as_me:5034: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:5905: \"$ac_cpp conftest.$ac_ext\"") >&5
5906    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5907    ac_status=$?    ac_status=$?
5908    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
5909    rm -f conftest.er1    rm -f conftest.er1
5910    cat conftest.err >&5    cat conftest.err >&5
5911    echo "$as_me:5040: \$? = $ac_status" >&5    echo "$as_me:5911: \$? = $ac_status" >&5
5912    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5913    if test -s conftest.err; then    if test -s conftest.err; then
5914      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5048  else Line 5919  else
5919    ac_cpp_err=yes    ac_cpp_err=yes
5920  fi  fi
5921  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
5922    eval "$as_ac_Header=yes"    ac_header_preproc=yes
5923  else  else
5924    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5925    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
5926    eval "$as_ac_Header=no"    ac_header_preproc=no
5927  fi  fi
5928  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
5929    echo "$as_me:5929: result: $ac_header_preproc" >&5
5930    echo "${ECHO_T}$ac_header_preproc" >&6
5931    
5932    # So?  What about this header?
5933    case $ac_header_compiler:$ac_header_preproc in
5934      yes:no )
5935        { echo "$as_me:5935: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5936    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5937        { echo "$as_me:5937: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5938    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5939      no:yes )
5940        { echo "$as_me:5940: WARNING: $ac_header: present but cannot be compiled." >&5
5941    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
5942        { echo "$as_me:5942: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5943    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5944        { echo "$as_me:5944: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5945    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5946    esac
5947    echo "$as_me:5947: checking for $ac_header" >&5
5948    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5949    if eval "test \"\${$as_ac_Header+set}\" = set"; then
5950      echo $ECHO_N "(cached) $ECHO_C" >&6
5951    else
5952      eval "$as_ac_Header=$ac_header_preproc"
5953  fi  fi
5954  echo "$as_me:5059: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:5954: result: `eval echo '${'$as_ac_Header'}'`" >&5
5955  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5956    
5957    fi
5958  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5959    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
5960  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5961  EOF  _ACEOF
5962    
5963  fi  fi
 done  
5964    
5965  fi  done
5966    
5967  for ac_func in strerror strerror_r vprintf doprnt  for ac_func in strerror strerror_r vprintf doprnt
5968  do  do
5969  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5970  echo "$as_me:5074: checking for $ac_func" >&5  echo "$as_me:5970: checking for $ac_func" >&5
5971  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5972  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
5973    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5974  else  else
5975    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5976  #line 5080 "configure"  #line 5976 "configure"
5977  #include "confdefs.h"  #include "confdefs.h"
5978  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5979      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5091  extern "C" Line 5987  extern "C"
5987  char $ac_func ();  char $ac_func ();
5988  char (*f) ();  char (*f) ();
5989    
5990    #ifdef F77_DUMMY_MAIN
5991    #  ifdef __cplusplus
5992         extern "C"
5993    #  endif
5994       int F77_DUMMY_MAIN() { return 1; }
5995    #endif
5996  int  int
5997  main ()  main ()
5998  {  {
# Line 5108  f = $ac_func; Line 6010  f = $ac_func;
6010  }  }
6011  _ACEOF  _ACEOF
6012  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6013  if { (eval echo "$as_me:5111: \"$ac_link\"") >&5  if { (eval echo "$as_me:6013: \"$ac_link\"") >&5
6014    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6015    ac_status=$?    ac_status=$?
6016    echo "$as_me:5114: \$? = $ac_status" >&5    echo "$as_me:6016: \$? = $ac_status" >&5
6017    (exit $ac_status); } &&    (exit $ac_status); } &&
6018           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6019    { (eval echo "$as_me:5117: \"$ac_try\"") >&5    { (eval echo "$as_me:6019: \"$ac_try\"") >&5
6020    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6021    ac_status=$?    ac_status=$?
6022    echo "$as_me:5120: \$? = $ac_status" >&5    echo "$as_me:6022: \$? = $ac_status" >&5
6023    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6024    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6025  else  else
# Line 5127  eval "$as_ac_var=no" Line 6029  eval "$as_ac_var=no"
6029  fi  fi
6030  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6031  fi  fi
6032  echo "$as_me:5130: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6032: result: `eval echo '${'$as_ac_var'}'`" >&5
6033  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6034  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6035    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6036  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6037  EOF  _ACEOF
6038    
6039  fi  fi
6040  done  done
6041    
6042    echo "$as_me:5140: checking for ANSI C header files" >&5    echo "$as_me:6042: checking for ANSI C header files" >&5
6043  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6044  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
6045    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6046  else  else
6047    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6048  #line 5146 "configure"  #line 6048 "configure"
6049  #include "confdefs.h"  #include "confdefs.h"
6050  #include <stdlib.h>  #include <stdlib.h>
6051  #include <stdarg.h>  #include <stdarg.h>
# Line 5151  else Line 6053  else
6053  #include <float.h>  #include <float.h>
6054    
6055  _ACEOF  _ACEOF
6056  if { (eval echo "$as_me:5154: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6056: \"$ac_cpp conftest.$ac_ext\"") >&5
6057    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6058    ac_status=$?    ac_status=$?
6059    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6060    rm -f conftest.er1    rm -f conftest.er1
6061    cat conftest.err >&5    cat conftest.err >&5
6062    echo "$as_me:5160: \$? = $ac_status" >&5    echo "$as_me:6062: \$? = $ac_status" >&5
6063    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6064    if test -s conftest.err; then    if test -s conftest.err; then
6065      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5179  rm -f conftest.err conftest.$ac_ext Line 6081  rm -f conftest.err conftest.$ac_ext
6081  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
6082    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6083    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6084  #line 5182 "configure"  #line 6084 "configure"
6085  #include "confdefs.h"  #include "confdefs.h"
6086  #include <string.h>  #include <string.h>
6087    
# Line 5197  fi Line 6099  fi
6099  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
6100    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6101    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6102  #line 5200 "configure"  #line 6102 "configure"
6103  #include "confdefs.h"  #include "confdefs.h"
6104  #include <stdlib.h>  #include <stdlib.h>
6105    
# Line 5218  if test $ac_cv_header_stdc = yes; then Line 6120  if test $ac_cv_header_stdc = yes; then
6120    :    :
6121  else  else
6122    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6123  #line 5221 "configure"  #line 6123 "configure"
6124  #include "confdefs.h"  #include "confdefs.h"
6125  #include <ctype.h>  #include <ctype.h>
6126  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
# Line 5244  main () Line 6146  main ()
6146  }  }
6147  _ACEOF  _ACEOF
6148  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
6149  if { (eval echo "$as_me:5247: \"$ac_link\"") >&5  if { (eval echo "$as_me:6149: \"$ac_link\"") >&5
6150    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6151    ac_status=$?    ac_status=$?
6152    echo "$as_me:5250: \$? = $ac_status" >&5    echo "$as_me:6152: \$? = $ac_status" >&5
6153    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6154    { (eval echo "$as_me:5252: \"$ac_try\"") >&5    { (eval echo "$as_me:6154: \"$ac_try\"") >&5
6155    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6156    ac_status=$?    ac_status=$?
6157    echo "$as_me:5255: \$? = $ac_status" >&5    echo "$as_me:6157: \$? = $ac_status" >&5
6158    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6159    :    :
6160  else  else
# Line 5265  rm -f core core.* *.core conftest$ac_exe Line 6167  rm -f core core.* *.core conftest$ac_exe
6167  fi  fi
6168  fi  fi
6169  fi  fi
6170  echo "$as_me:5268: result: $ac_cv_header_stdc" >&5  echo "$as_me:6170: result: $ac_cv_header_stdc" >&5
6171  echo "${ECHO_T}$ac_cv_header_stdc" >&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
6172  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
6173    
6174  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
6175  #define STDC_HEADERS 1  #define STDC_HEADERS 1
6176  EOF  _ACEOF
6177    
6178  fi  fi
6179    
6180    echo "$as_me:5278: checking whether strerror_r is declared" >&5    echo "$as_me:6180: checking whether strerror_r is declared" >&5
6181  echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6  echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
6182  if test "${ac_cv_have_decl_strerror_r+set}" = set; then  if test "${ac_cv_have_decl_strerror_r+set}" = set; then
6183    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6184  else  else
6185    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6186  #line 5284 "configure"  #line 6186 "configure"
6187  #include "confdefs.h"  #include "confdefs.h"
6188  $ac_includes_default  $ac_includes_default
6189    #ifdef F77_DUMMY_MAIN
6190    #  ifdef __cplusplus
6191         extern "C"
6192    #  endif
6193       int F77_DUMMY_MAIN() { return 1; }
6194    #endif
6195  int  int
6196  main ()  main ()
6197  {  {
# Line 5296  main () Line 6204  main ()
6204  }  }
6205  _ACEOF  _ACEOF
6206  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6207  if { (eval echo "$as_me:5299: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6207: \"$ac_compile\"") >&5
6208    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6209    ac_status=$?    ac_status=$?
6210    echo "$as_me:5302: \$? = $ac_status" >&5    echo "$as_me:6210: \$? = $ac_status" >&5
6211    (exit $ac_status); } &&    (exit $ac_status); } &&
6212           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6213    { (eval echo "$as_me:5305: \"$ac_try\"") >&5    { (eval echo "$as_me:6213: \"$ac_try\"") >&5
6214    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6215    ac_status=$?    ac_status=$?
6216    echo "$as_me:5308: \$? = $ac_status" >&5    echo "$as_me:6216: \$? = $ac_status" >&5
6217    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6218    ac_cv_have_decl_strerror_r=yes    ac_cv_have_decl_strerror_r=yes
6219  else  else
# Line 5315  ac_cv_have_decl_strerror_r=no Line 6223  ac_cv_have_decl_strerror_r=no
6223  fi  fi
6224  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6225  fi  fi
6226  echo "$as_me:5318: result: $ac_cv_have_decl_strerror_r" >&5  echo "$as_me:6226: result: $ac_cv_have_decl_strerror_r" >&5
6227  echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6  echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
6228  if test $ac_cv_have_decl_strerror_r = yes; then  if test $ac_cv_have_decl_strerror_r = yes; then
6229    
6230  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
6231  #define HAVE_DECL_STRERROR_R 1  #define HAVE_DECL_STRERROR_R 1
6232  EOF  _ACEOF
6233    
6234  else  else
6235    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6236  #define HAVE_DECL_STRERROR_R 0  #define HAVE_DECL_STRERROR_R 0
6237  EOF  _ACEOF
6238    
6239  fi  fi
6240    
6241  for ac_func in strerror_r  for ac_func in strerror_r
6242  do  do
6243  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6244  echo "$as_me:5336: checking for $ac_func" >&5  echo "$as_me:6244: checking for $ac_func" >&5
6245  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6246  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6247    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6248  else  else
6249    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6250  #line 5342 "configure"  #line 6250 "configure"
6251  #include "confdefs.h"  #include "confdefs.h"
6252  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6253      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5353  extern "C" Line 6261  extern "C"
6261  char $ac_func ();  char $ac_func ();
6262  char (*f) ();  char (*f) ();
6263    
6264    #ifdef F77_DUMMY_MAIN
6265    #  ifdef __cplusplus
6266         extern "C"
6267    #  endif
6268       int F77_DUMMY_MAIN() { return 1; }
6269    #endif
6270  int  int
6271  main ()  main ()
6272  {  {
# Line 5370  f = $ac_func; Line 6284  f = $ac_func;
6284  }  }
6285  _ACEOF  _ACEOF
6286  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6287  if { (eval echo "$as_me:5373: \"$ac_link\"") >&5  if { (eval echo "$as_me:6287: \"$ac_link\"") >&5
6288    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6289    ac_status=$?    ac_status=$?
6290    echo "$as_me:5376: \$? = $ac_status" >&5    echo "$as_me:6290: \$? = $ac_status" >&5
6291    (exit $ac_status); } &&    (exit $ac_status); } &&
6292           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6293    { (eval echo "$as_me:5379: \"$ac_try\"") >&5    { (eval echo "$as_me:6293: \"$ac_try\"") >&5
6294    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6295    ac_status=$?    ac_status=$?
6296    echo "$as_me:5382: \$? = $ac_status" >&5    echo "$as_me:6296: \$? = $ac_status" >&5
6297    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6298    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6299  else  else
# Line 5389  eval "$as_ac_var=no" Line 6303  eval "$as_ac_var=no"
6303  fi  fi
6304  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6305  fi  fi
6306  echo "$as_me:5392: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6306: result: `eval echo '${'$as_ac_var'}'`" >&5
6307  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6308  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6309    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6310  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6311  EOF  _ACEOF
6312    
6313  fi  fi
6314  done  done
# Line 5404  if test $ac_cv_func_strerror_r = yes; th Line 6318  if test $ac_cv_func_strerror_r = yes; th
6318  for ac_header in string.h  for ac_header in string.h
6319  do  do
6320  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6321  echo "$as_me:5407: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6322      echo "$as_me:6322: checking for $ac_header" >&5
6323  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6324  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6325    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6326    fi
6327    echo "$as_me:6327: result: `eval echo '${'$as_ac_Header'}'`" >&5
6328    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6329  else  else
6330    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
6331  #line 5413 "configure"  echo "$as_me:6331: checking $ac_header usability" >&5
6332    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6333    cat >conftest.$ac_ext <<_ACEOF
6334    #line 6334 "configure"
6335    #include "confdefs.h"
6336    $ac_includes_default
6337    #include <$ac_header>
6338    _ACEOF
6339    rm -f conftest.$ac_objext
6340    if { (eval echo "$as_me:6340: \"$ac_compile\"") >&5
6341      (eval $ac_compile) 2>&5
6342      ac_status=$?
6343      echo "$as_me:6343: \$? = $ac_status" >&5
6344      (exit $ac_status); } &&
6345             { ac_try='test -s conftest.$ac_objext'
6346      { (eval echo "$as_me:6346: \"$ac_try\"") >&5
6347      (eval $ac_try) 2>&5
6348      ac_status=$?
6349      echo "$as_me:6349: \$? = $ac_status" >&5
6350      (exit $ac_status); }; }; then
6351      ac_header_compiler=yes
6352    else
6353      echo "$as_me: failed program was:" >&5
6354    cat conftest.$ac_ext >&5
6355    ac_header_compiler=no
6356    fi
6357    rm -f conftest.$ac_objext conftest.$ac_ext
6358    echo "$as_me:6358: result: $ac_header_compiler" >&5
6359    echo "${ECHO_T}$ac_header_compiler" >&6
6360    
6361    # Is the header present?
6362    echo "$as_me:6362: checking $ac_header presence" >&5
6363    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6364    cat >conftest.$ac_ext <<_ACEOF
6365    #line 6365 "configure"
6366  #include "confdefs.h"  #include "confdefs.h"
6367  #include <$ac_header>  #include <$ac_header>
6368  _ACEOF  _ACEOF
6369  if { (eval echo "$as_me:5417: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6369: \"$ac_cpp conftest.$ac_ext\"") >&5
6370    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6371    ac_status=$?    ac_status=$?
6372    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6373    rm -f conftest.er1    rm -f conftest.er1
6374    cat conftest.err >&5    cat conftest.err >&5
6375    echo "$as_me:5423: \$? = $ac_status" >&5    echo "$as_me:6375: \$? = $ac_status" >&5
6376    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6377    if test -s conftest.err; then    if test -s conftest.err; then
6378      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5431  else Line 6383  else
6383    ac_cpp_err=yes    ac_cpp_err=yes
6384  fi  fi
6385  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
6386    eval "$as_ac_Header=yes"    ac_header_preproc=yes
6387  else  else
6388    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6389    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
6390    eval "$as_ac_Header=no"    ac_header_preproc=no
6391  fi  fi
6392  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6393    echo "$as_me:6393: result: $ac_header_preproc" >&5
6394    echo "${ECHO_T}$ac_header_preproc" >&6
6395    
6396    # So?  What about this header?
6397    case $ac_header_compiler:$ac_header_preproc in
6398      yes:no )
6399        { echo "$as_me:6399: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6400    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6401        { echo "$as_me:6401: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6402    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6403      no:yes )
6404        { echo "$as_me:6404: WARNING: $ac_header: present but cannot be compiled." >&5
6405    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6406        { echo "$as_me:6406: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6407    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6408        { echo "$as_me:6408: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6409    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6410    esac
6411    echo "$as_me:6411: checking for $ac_header" >&5
6412    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6413    if eval "test \"\${$as_ac_Header+set}\" = set"; then
6414      echo $ECHO_N "(cached) $ECHO_C" >&6
6415    else
6416      eval "$as_ac_Header=$ac_header_preproc"
6417  fi  fi
6418  echo "$as_me:5442: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:6418: result: `eval echo '${'$as_ac_Header'}'`" >&5
6419  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6420    
6421    fi
6422  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
6423    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6424  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6425  EOF  _ACEOF
6426    
6427  fi  fi
6428    
6429  done  done
6430    
6431    echo "$as_me:5452: checking for working strerror_r" >&5    echo "$as_me:6431: checking for working strerror_r" >&5
6432  echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6  echo $ECHO_N "checking for working strerror_r... $ECHO_C" >&6
6433  if test "${ac_cv_func_strerror_r_works+set}" = set; then  if test "${ac_cv_func_strerror_r_works+set}" = set; then
6434    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6435  else  else
6436    
6437      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6438  #line 5459 "configure"  #line 6438 "configure"
6439  #include "confdefs.h"  #include "confdefs.h"
6440    
6441  #       include <stdio.h>  #       include <stdio.h>
# Line 5464  else Line 6443  else
6443  #        include <string.h>  #        include <string.h>
6444  #       endif  #       endif
6445    
6446    #ifdef F77_DUMMY_MAIN
6447    #  ifdef __cplusplus
6448         extern "C"
6449    #  endif
6450       int F77_DUMMY_MAIN() { return 1; }
6451    #endif
6452  int  int
6453  main ()  main ()
6454  {  {
# Line 5476  main () Line 6461  main ()
6461  }  }
6462  _ACEOF  _ACEOF
6463  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6464  if { (eval echo "$as_me:5479: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6464: \"$ac_compile\"") >&5
6465    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6466    ac_status=$?    ac_status=$?
6467    echo "$as_me:5482: \$? = $ac_status" >&5    echo "$as_me:6467: \$? = $ac_status" >&5
6468    (exit $ac_status); } &&    (exit $ac_status); } &&
6469           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6470    { (eval echo "$as_me:5485: \"$ac_try\"") >&5    { (eval echo "$as_me:6470: \"$ac_try\"") >&5
6471    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6472    ac_status=$?    ac_status=$?
6473    echo "$as_me:5488: \$? = $ac_status" >&5    echo "$as_me:6473: \$? = $ac_status" >&5
6474    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6475    ac_cv_func_strerror_r_works=yes    ac_cv_func_strerror_r_works=yes
6476  else  else
# Line 5506  rm -f conftest.$ac_objext conftest.$ac_e Line 6491  rm -f conftest.$ac_objext conftest.$ac_e
6491    ac_cv_func_strerror_r_works=no    ac_cv_func_strerror_r_works=no
6492  else  else
6493    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6494  #line 5509 "configure"  #line 6494 "configure"
6495  #include "confdefs.h"  #include "confdefs.h"
6496    
6497  #       include <stdio.h>  #       include <stdio.h>
# Line 5525  else Line 6510  else
6510    
6511  _ACEOF  _ACEOF
6512  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
6513  if { (eval echo "$as_me:5528: \"$ac_link\"") >&5  if { (eval echo "$as_me:6513: \"$ac_link\"") >&5
6514    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6515    ac_status=$?    ac_status=$?
6516    echo "$as_me:5531: \$? = $ac_status" >&5    echo "$as_me:6516: \$? = $ac_status" >&5
6517    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6518    { (eval echo "$as_me:5533: \"$ac_try\"") >&5    { (eval echo "$as_me:6518: \"$ac_try\"") >&5
6519    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6520    ac_status=$?    ac_status=$?
6521    echo "$as_me:5536: \$? = $ac_status" >&5    echo "$as_me:6521: \$? = $ac_status" >&5
6522    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6523    ac_cv_func_strerror_r_works=yes    ac_cv_func_strerror_r_works=yes
6524  else  else
# Line 5547  fi Line 6532  fi
6532      fi      fi
6533    
6534  fi  fi
6535  echo "$as_me:5550: result: $ac_cv_func_strerror_r_works" >&5  echo "$as_me:6535: result: $ac_cv_func_strerror_r_works" >&5
6536  echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6  echo "${ECHO_T}$ac_cv_func_strerror_r_works" >&6
6537    if test $ac_cv_func_strerror_r_works = yes; then    if test $ac_cv_func_strerror_r_works = yes; then
6538    
6539  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
6540  #define HAVE_WORKING_STRERROR_R 1  #define HAVE_WORKING_STRERROR_R 1
6541  EOF  _ACEOF
6542    
6543    fi    fi
6544  fi  fi
# Line 5561  fi Line 6546  fi
6546  ALL_LINGUAS="de es et fr ja nl ru"  ALL_LINGUAS="de es et fr ja nl ru"
6547  # Make sure we can run config.sub.  # Make sure we can run config.sub.
6548  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
6549    { { echo "$as_me:5564: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:6549: error: cannot run $ac_config_sub" >&5
6550  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6551     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6552    
6553  echo "$as_me:5568: checking build system type" >&5  echo "$as_me:6553: checking build system type" >&5
6554  echo $ECHO_N "checking build system type... $ECHO_C" >&6  echo $ECHO_N "checking build system type... $ECHO_C" >&6
6555  if test "${ac_cv_build+set}" = set; then  if test "${ac_cv_build+set}" = set; then
6556    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5574  else Line 6559  else
6559  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
6560    ac_cv_build_alias=`$ac_config_guess`    ac_cv_build_alias=`$ac_config_guess`
6561  test -z "$ac_cv_build_alias" &&  test -z "$ac_cv_build_alias" &&
6562    { { echo "$as_me:5577: error: cannot guess build type; you must specify one" >&5    { { echo "$as_me:6562: error: cannot guess build type; you must specify one" >&5
6563  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6564     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6565  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6566    { { echo "$as_me:5581: error: $ac_config_sub $ac_cv_build_alias failed." >&5    { { echo "$as_me:6566: error: $ac_config_sub $ac_cv_build_alias failed." >&5
6567  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
6568     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6569    
6570  fi  fi
6571  echo "$as_me:5586: result: $ac_cv_build" >&5  echo "$as_me:6571: result: $ac_cv_build" >&5
6572  echo "${ECHO_T}$ac_cv_build" >&6  echo "${ECHO_T}$ac_cv_build" >&6
6573  build=$ac_cv_build  build=$ac_cv_build
6574  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6575  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6576  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6577    
6578  echo "$as_me:5593: checking host system type" >&5  echo "$as_me:6578: checking host system type" >&5
6579  echo $ECHO_N "checking host system type... $ECHO_C" >&6  echo $ECHO_N "checking host system type... $ECHO_C" >&6
6580  if test "${ac_cv_host+set}" = set; then  if test "${ac_cv_host+set}" = set; then
6581    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5599  else Line 6584  else
6584  test -z "$ac_cv_host_alias" &&  test -z "$ac_cv_host_alias" &&
6585    ac_cv_host_alias=$ac_cv_build_alias    ac_cv_host_alias=$ac_cv_build_alias
6586  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6587    { { echo "$as_me:5602: error: $ac_config_sub $ac_cv_host_alias failed" >&5    { { echo "$as_me:6587: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6588  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6589     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6590    
6591  fi  fi
6592  echo "$as_me:5607: result: $ac_cv_host" >&5  echo "$as_me:6592: result: $ac_cv_host" >&5
6593  echo "${ECHO_T}$ac_cv_host" >&6  echo "${ECHO_T}$ac_cv_host" >&6
6594  host=$ac_cv_host  host=$ac_cv_host
6595  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6596  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6597  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6598    
6599  echo "$as_me:5614: checking for off_t" >&5  echo "$as_me:6599: checking for off_t" >&5
6600  echo $ECHO_N "checking for off_t... $ECHO_C" >&6  echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6601  if test "${ac_cv_type_off_t+set}" = set; then  if test "${ac_cv_type_off_t+set}" = set; then
6602    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6603  else  else
6604    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6605  #line 5620 "configure"  #line 6605 "configure"
6606  #include "confdefs.h"  #include "confdefs.h"
6607  $ac_includes_default  $ac_includes_default
6608    #ifdef F77_DUMMY_MAIN
6609    #  ifdef __cplusplus
6610         extern "C"
6611    #  endif
6612       int F77_DUMMY_MAIN() { return 1; }
6613    #endif
6614  int  int
6615  main ()  main ()
6616  {  {
# Line 5632  if (sizeof (off_t)) Line 6623  if (sizeof (off_t))
6623  }  }
6624  _ACEOF  _ACEOF
6625  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6626  if { (eval echo "$as_me:5635: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6626: \"$ac_compile\"") >&5
6627    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6628    ac_status=$?    ac_status=$?
6629    echo "$as_me:5638: \$? = $ac_status" >&5    echo "$as_me:6629: \$? = $ac_status" >&5
6630    (exit $ac_status); } &&    (exit $ac_status); } &&
6631           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6632    { (eval echo "$as_me:5641: \"$ac_try\"") >&5    { (eval echo "$as_me:6632: \"$ac_try\"") >&5
6633    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6634    ac_status=$?    ac_status=$?
6635    echo "$as_me:5644: \$? = $ac_status" >&5    echo "$as_me:6635: \$? = $ac_status" >&5
6636    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6637    ac_cv_type_off_t=yes    ac_cv_type_off_t=yes
6638  else  else
# Line 5651  ac_cv_type_off_t=no Line 6642  ac_cv_type_off_t=no
6642  fi  fi
6643  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6644  fi  fi
6645  echo "$as_me:5654: result: $ac_cv_type_off_t" >&5  echo "$as_me:6645: result: $ac_cv_type_off_t" >&5
6646  echo "${ECHO_T}$ac_cv_type_off_t" >&6  echo "${ECHO_T}$ac_cv_type_off_t" >&6
6647  if test $ac_cv_type_off_t = yes; then  if test $ac_cv_type_off_t = yes; then
6648    :    :
6649  else  else
6650    
6651  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
6652  #define off_t long  #define off_t long
6653  EOF  _ACEOF
6654    
6655  fi  fi
6656    
6657  echo "$as_me:5666: checking for size_t" >&5  echo "$as_me:6657: checking for size_t" >&5
6658  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6659  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
6660    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6661  else  else
6662    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6663  #line 5672 "configure"  #line 6663 "configure"
6664  #include "confdefs.h"  #include "confdefs.h"
6665  $ac_includes_default  $ac_includes_default
6666    #ifdef F77_DUMMY_MAIN
6667    #  ifdef __cplusplus
6668         extern "C"
6669    #  endif
6670       int F77_DUMMY_MAIN() { return 1; }
6671    #endif
6672  int  int
6673  main ()  main ()
6674  {  {
# Line 5684  if (sizeof (size_t)) Line 6681  if (sizeof (size_t))
6681  }  }
6682  _ACEOF  _ACEOF
6683  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6684  if { (eval echo "$as_me:5687: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6684: \"$ac_compile\"") >&5
6685    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6686    ac_status=$?    ac_status=$?
6687    echo "$as_me:5690: \$? = $ac_status" >&5    echo "$as_me:6687: \$? = $ac_status" >&5
6688    (exit $ac_status); } &&    (exit $ac_status); } &&
6689           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6690    { (eval echo "$as_me:5693: \"$ac_try\"") >&5    { (eval echo "$as_me:6690: \"$ac_try\"") >&5
6691    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6692    ac_status=$?    ac_status=$?
6693    echo "$as_me:5696: \$? = $ac_status" >&5    echo "$as_me:6693: \$? = $ac_status" >&5
6694    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6695    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
6696  else  else
# Line 5703  ac_cv_type_size_t=no Line 6700  ac_cv_type_size_t=no
6700  fi  fi
6701  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6702  fi  fi
6703  echo "$as_me:5706: result: $ac_cv_type_size_t" >&5  echo "$as_me:6703: result: $ac_cv_type_size_t" >&5
6704  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
6705  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
6706    :    :
6707  else  else
6708    
6709  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
6710  #define size_t unsigned  #define size_t unsigned
6711  EOF  _ACEOF
6712    
6713  fi  fi
6714    
6715  for ac_header in stdlib.h unistd.h  for ac_header in stdlib.h unistd.h
6716  do  do
6717  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6718  echo "$as_me:5721: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6719      echo "$as_me:6719: checking for $ac_header" >&5
6720  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6721  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6722    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6723    fi
6724    echo "$as_me:6724: result: `eval echo '${'$as_ac_Header'}'`" >&5
6725    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6726  else  else
6727    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
6728  #line 5727 "configure"  echo "$as_me:6728: checking $ac_header usability" >&5
6729    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6730    cat >conftest.$ac_ext <<_ACEOF
6731    #line 6731 "configure"
6732  #include "confdefs.h"  #include "confdefs.h"
6733    $ac_includes_default
6734  #include <$ac_header>  #include <$ac_header>
6735  _ACEOF  _ACEOF
6736  if { (eval echo "$as_me:5731: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
6737    if { (eval echo "$as_me:6737: \"$ac_compile\"") >&5
6738      (eval $ac_compile) 2>&5
6739      ac_status=$?
6740      echo "$as_me:6740: \$? = $ac_status" >&5
6741      (exit $ac_status); } &&
6742             { ac_try='test -s conftest.$ac_objext'
6743      { (eval echo "$as_me:6743: \"$ac_try\"") >&5
6744      (eval $ac_try) 2>&5
6745      ac_status=$?
6746      echo "$as_me:6746: \$? = $ac_status" >&5
6747      (exit $ac_status); }; }; then
6748      ac_header_compiler=yes
6749    else
6750      echo "$as_me: failed program was:" >&5
6751    cat conftest.$ac_ext >&5
6752    ac_header_compiler=no
6753    fi
6754    rm -f conftest.$ac_objext conftest.$ac_ext
6755    echo "$as_me:6755: result: $ac_header_compiler" >&5
6756    echo "${ECHO_T}$ac_header_compiler" >&6
6757    
6758    # Is the header present?
6759    echo "$as_me:6759: checking $ac_header presence" >&5
6760    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6761    cat >conftest.$ac_ext <<_ACEOF
6762    #line 6762 "configure"
6763    #include "confdefs.h"
6764    #include <$ac_header>
6765    _ACEOF
6766    if { (eval echo "$as_me:6766: \"$ac_cpp conftest.$ac_ext\"") >&5
6767    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6768    ac_status=$?    ac_status=$?
6769    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6770    rm -f conftest.er1    rm -f conftest.er1
6771    cat conftest.err >&5    cat conftest.err >&5
6772    echo "$as_me:5737: \$? = $ac_status" >&5    echo "$as_me:6772: \$? = $ac_status" >&5
6773    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6774    if test -s conftest.err; then    if test -s conftest.err; then
6775      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5745  else Line 6780  else
6780    ac_cpp_err=yes    ac_cpp_err=yes
6781  fi  fi
6782  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
6783    eval "$as_ac_Header=yes"    ac_header_preproc=yes
6784  else  else
6785    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6786    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
6787    eval "$as_ac_Header=no"    ac_header_preproc=no
6788  fi  fi
6789  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
6790    echo "$as_me:6790: result: $ac_header_preproc" >&5
6791    echo "${ECHO_T}$ac_header_preproc" >&6
6792    
6793    # So?  What about this header?
6794    case $ac_header_compiler:$ac_header_preproc in
6795      yes:no )
6796        { echo "$as_me:6796: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6797    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6798        { echo "$as_me:6798: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6799    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6800      no:yes )
6801        { echo "$as_me:6801: WARNING: $ac_header: present but cannot be compiled." >&5
6802    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
6803        { echo "$as_me:6803: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6804    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6805        { echo "$as_me:6805: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6806    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6807    esac
6808    echo "$as_me:6808: checking for $ac_header" >&5
6809    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6810    if eval "test \"\${$as_ac_Header+set}\" = set"; then
6811      echo $ECHO_N "(cached) $ECHO_C" >&6
6812    else
6813      eval "$as_ac_Header=$ac_header_preproc"
6814  fi  fi
6815  echo "$as_me:5756: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:6815: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817    
6818    fi
6819  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
6820    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6821  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6822  EOF  _ACEOF
6823    
6824  fi  fi
6825    
6826  done  done
6827    
6828  for ac_func in getpagesize  for ac_func in getpagesize
6829  do  do
6830  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6831  echo "$as_me:5769: checking for $ac_func" >&5  echo "$as_me:6831: checking for $ac_func" >&5
6832  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6833  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6834    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6835  else  else
6836    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6837  #line 5775 "configure"  #line 6837 "configure"
6838  #include "confdefs.h"  #include "confdefs.h"
6839  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6840      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 5786  extern "C" Line 6848  extern "C"
6848  char $ac_func ();  char $ac_func ();
6849  char (*f) ();  char (*f) ();
6850    
6851    #ifdef F77_DUMMY_MAIN
6852    #  ifdef __cplusplus
6853         extern "C"
6854    #  endif
6855       int F77_DUMMY_MAIN() { return 1; }
6856    #endif
6857  int  int
6858  main ()  main ()
6859  {  {
# Line 5803  f = $ac_func; Line 6871  f = $ac_func;
6871  }  }
6872  _ACEOF  _ACEOF
6873  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6874  if { (eval echo "$as_me:5806: \"$ac_link\"") >&5  if { (eval echo "$as_me:6874: \"$ac_link\"") >&5
6875    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6876    ac_status=$?    ac_status=$?
6877    echo "$as_me:5809: \$? = $ac_status" >&5    echo "$as_me:6877: \$? = $ac_status" >&5
6878    (exit $ac_status); } &&    (exit $ac_status); } &&
6879           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6880    { (eval echo "$as_me:5812: \"$ac_try\"") >&5    { (eval echo "$as_me:6880: \"$ac_try\"") >&5
6881    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6882    ac_status=$?    ac_status=$?
6883    echo "$as_me:5815: \$? = $ac_status" >&5    echo "$as_me:6883: \$? = $ac_status" >&5
6884    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6885    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6886  else  else
# Line 5822  eval "$as_ac_var=no" Line 6890  eval "$as_ac_var=no"
6890  fi  fi
6891  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6892  fi  fi
6893  echo "$as_me:5825: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6893: result: `eval echo '${'$as_ac_var'}'`" >&5
6894  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6895  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6896    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
6897  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6898  EOF  _ACEOF
6899    
6900  fi  fi
6901  done  done
6902    
6903  echo "$as_me:5835: checking for working mmap" >&5  echo "$as_me:6903: checking for working mmap" >&5
6904  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6  echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6905  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6906    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5841  else Line 6909  else
6909    ac_cv_func_mmap_fixed_mapped=no    ac_cv_func_mmap_fixed_mapped=no
6910  else  else
6911    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6912  #line 5844 "configure"  #line 6912 "configure"
6913  #include "confdefs.h"  #include "confdefs.h"
6914  $ac_includes_default  $ac_includes_default
6915  /* Thanks to Mike Haertel and Jim Avera for this test.  /* Thanks to Mike Haertel and Jim Avera for this test.
# Line 5968  main () Line 7036  main ()
7036  }  }
7037  _ACEOF  _ACEOF
7038  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
7039  if { (eval echo "$as_me:5971: \"$ac_link\"") >&5  if { (eval echo "$as_me:7039: \"$ac_link\"") >&5
7040    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7041    ac_status=$?    ac_status=$?
7042    echo "$as_me:5974: \$? = $ac_status" >&5    echo "$as_me:7042: \$? = $ac_status" >&5
7043    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7044    { (eval echo "$as_me:5976: \"$ac_try\"") >&5    { (eval echo "$as_me:7044: \"$ac_try\"") >&5
7045    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7046    ac_status=$?    ac_status=$?
7047    echo "$as_me:5979: \$? = $ac_status" >&5    echo "$as_me:7047: \$? = $ac_status" >&5
7048    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7049    ac_cv_func_mmap_fixed_mapped=yes    ac_cv_func_mmap_fixed_mapped=yes
7050  else  else
# Line 5988  fi Line 7056  fi
7056  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7057  fi  fi
7058  fi  fi
7059  echo "$as_me:5991: result: $ac_cv_func_mmap_fixed_mapped" >&5  echo "$as_me:7059: result: $ac_cv_func_mmap_fixed_mapped" >&5
7060  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6  echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7061  if test $ac_cv_func_mmap_fixed_mapped = yes; then  if test $ac_cv_func_mmap_fixed_mapped = yes; then
7062    
7063  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7064  #define HAVE_MMAP 1  #define HAVE_MMAP 1
7065  EOF  _ACEOF
7066    
7067  fi  fi
7068  rm -f conftest.mmap  rm -f conftest.mmap
7069    
7070      echo "$as_me:6002: checking whether we are using the GNU C Library 2.1 or newer" >&5      echo "$as_me:7070: checking whether we are using the GNU C Library 2.1 or newer" >&5
7071  echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
7072  if test "${ac_cv_gnu_library_2_1+set}" = set; then  if test "${ac_cv_gnu_library_2_1+set}" = set; then
7073    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7074  else  else
7075    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7076  #line 6008 "configure"  #line 7076 "configure"
7077  #include "confdefs.h"  #include "confdefs.h"
7078    
7079  #include <features.h>  #include <features.h>
# Line 6025  fi Line 7093  fi
7093  rm -f conftest*  rm -f conftest*
7094    
7095  fi  fi
7096  echo "$as_me:6028: result: $ac_cv_gnu_library_2_1" >&5  echo "$as_me:7096: result: $ac_cv_gnu_library_2_1" >&5
7097  echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6  echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
7098    
7099      GLIBC21="$ac_cv_gnu_library_2_1"      GLIBC21="$ac_cv_gnu_library_2_1"
# Line 6034  for ac_header in argz.h limits.h locale. Line 7102  for ac_header in argz.h limits.h locale.
7102  stdlib.h string.h unistd.h sys/param.h  stdlib.h string.h unistd.h sys/param.h
7103  do  do
7104  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105  echo "$as_me:6037: checking for $ac_header" >&5  if eval "test \"\${$as_ac_Header+set}\" = set"; then
7106      echo "$as_me:7106: checking for $ac_header" >&5
7107  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7108  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
7109    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7110    fi
7111    echo "$as_me:7111: result: `eval echo '${'$as_ac_Header'}'`" >&5
7112    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7113  else  else
7114    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
7115  #line 6043 "configure"  echo "$as_me:7115: checking $ac_header usability" >&5
7116    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7117    cat >conftest.$ac_ext <<_ACEOF
7118    #line 7118 "configure"
7119  #include "confdefs.h"  #include "confdefs.h"
7120    $ac_includes_default
7121  #include <$ac_header>  #include <$ac_header>
7122  _ACEOF  _ACEOF
7123  if { (eval echo "$as_me:6047: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
7124    if { (eval echo "$as_me:7124: \"$ac_compile\"") >&5
7125      (eval $ac_compile) 2>&5
7126      ac_status=$?
7127      echo "$as_me:7127: \$? = $ac_status" >&5
7128      (exit $ac_status); } &&
7129             { ac_try='test -s conftest.$ac_objext'
7130      { (eval echo "$as_me:7130: \"$ac_try\"") >&5
7131      (eval $ac_try) 2>&5
7132      ac_status=$?
7133      echo "$as_me:7133: \$? = $ac_status" >&5
7134      (exit $ac_status); }; }; then
7135      ac_header_compiler=yes
7136    else
7137      echo "$as_me: failed program was:" >&5
7138    cat conftest.$ac_ext >&5
7139    ac_header_compiler=no
7140    fi
7141    rm -f conftest.$ac_objext conftest.$ac_ext
7142    echo "$as_me:7142: result: $ac_header_compiler" >&5
7143    echo "${ECHO_T}$ac_header_compiler" >&6
7144    
7145    # Is the header present?
7146    echo "$as_me:7146: checking $ac_header presence" >&5
7147    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7148    cat >conftest.$ac_ext <<_ACEOF
7149    #line 7149 "configure"
7150    #include "confdefs.h"
7151    #include <$ac_header>
7152    _ACEOF
7153    if { (eval echo "$as_me:7153: \"$ac_cpp conftest.$ac_ext\"") >&5
7154    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7155    ac_status=$?    ac_status=$?
7156    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7157    rm -f conftest.er1    rm -f conftest.er1
7158    cat conftest.err >&5    cat conftest.err >&5
7159    echo "$as_me:6053: \$? = $ac_status" >&5    echo "$as_me:7159: \$? = $ac_status" >&5
7160    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7161    if test -s conftest.err; then    if test -s conftest.err; then
7162      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6061  else Line 7167  else
7167    ac_cpp_err=yes    ac_cpp_err=yes
7168  fi  fi
7169  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
7170    eval "$as_ac_Header=yes"    ac_header_preproc=yes
7171  else  else
7172    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7173    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
7174    eval "$as_ac_Header=no"    ac_header_preproc=no
7175  fi  fi
7176  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7177    echo "$as_me:7177: result: $ac_header_preproc" >&5
7178    echo "${ECHO_T}$ac_header_preproc" >&6
7179    
7180    # So?  What about this header?
7181    case $ac_header_compiler:$ac_header_preproc in
7182      yes:no )
7183        { echo "$as_me:7183: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7184    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7185        { echo "$as_me:7185: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7186    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7187      no:yes )
7188        { echo "$as_me:7188: WARNING: $ac_header: present but cannot be compiled." >&5
7189    echo "$as_me: WARNING: $ac_header: present but cannot be compiled." >&2;}
7190        { echo "$as_me:7190: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7191    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7192        { echo "$as_me:7192: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7193    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7194    esac
7195    echo "$as_me:7195: checking for $ac_header" >&5
7196    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7197    if eval "test \"\${$as_ac_Header+set}\" = set"; then
7198      echo $ECHO_N "(cached) $ECHO_C" >&6
7199    else
7200      eval "$as_ac_Header=$ac_header_preproc"
7201  fi  fi
7202  echo "$as_me:6072: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:7202: result: `eval echo '${'$as_ac_Header'}'`" >&5
7203  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7204    
7205    fi
7206  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
7207    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
7208  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7209  EOF  _ACEOF
7210    
7211  fi  fi
7212    
7213  done  done
7214    
7215  for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \  for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
# Line 6084  getgid getuid mempcpy munmap putenv sete Line 7217  getgid getuid mempcpy munmap putenv sete
7217  strdup strtoul tsearch __argz_count __argz_stringify __argz_next  strdup strtoul tsearch __argz_count __argz_stringify __argz_next
7218  do  do
7219  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7220  echo "$as_me:6087: checking for $ac_func" >&5  echo "$as_me:7220: checking for $ac_func" >&5
7221  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7222  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7223    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7224  else  else
7225    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7226  #line 6093 "configure"  #line 7226 "configure"
7227  #include "confdefs.h"  #include "confdefs.h"
7228  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7229      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6104  extern "C" Line 7237  extern "C"
7237  char $ac_func ();  char $ac_func ();
7238  char (*f) ();  char (*f) ();
7239    
7240    #ifdef F77_DUMMY_MAIN
7241    #  ifdef __cplusplus
7242         extern "C"
7243    #  endif
7244       int F77_DUMMY_MAIN() { return 1; }
7245    #endif
7246  int  int
7247  main ()  main ()
7248  {  {
# Line 6121  f = $ac_func; Line 7260  f = $ac_func;
7260  }  }
7261  _ACEOF  _ACEOF
7262  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7263  if { (eval echo "$as_me:6124: \"$ac_link\"") >&5  if { (eval echo "$as_me:7263: \"$ac_link\"") >&5
7264    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7265    ac_status=$?    ac_status=$?
7266    echo "$as_me:6127: \$? = $ac_status" >&5    echo "$as_me:7266: \$? = $ac_status" >&5
7267    (exit $ac_status); } &&    (exit $ac_status); } &&
7268           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7269    { (eval echo "$as_me:6130: \"$ac_try\"") >&5    { (eval echo "$as_me:7269: \"$ac_try\"") >&5
7270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7271    ac_status=$?    ac_status=$?
7272    echo "$as_me:6133: \$? = $ac_status" >&5    echo "$as_me:7272: \$? = $ac_status" >&5
7273    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7274    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7275  else  else
# Line 6140  eval "$as_ac_var=no" Line 7279  eval "$as_ac_var=no"
7279  fi  fi
7280  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7281  fi  fi
7282  echo "$as_me:6143: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7282: result: `eval echo '${'$as_ac_var'}'`" >&5
7283  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7284  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7285    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
7286  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7287  EOF  _ACEOF
7288    
7289  fi  fi
7290  done  done
# Line 6161  if test "${with_libiconv_prefix+set}" = Line 7300  if test "${with_libiconv_prefix+set}" =
7300    
7301  fi;  fi;
7302    
7303    echo "$as_me:6164: checking for iconv" >&5    echo "$as_me:7303: checking for iconv" >&5
7304  echo $ECHO_N "checking for iconv... $ECHO_C" >&6  echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7305  if test "${am_cv_func_iconv+set}" = set; then  if test "${am_cv_func_iconv+set}" = set; then
7306    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6170  else Line 7309  else
7309      am_cv_func_iconv="no, consider installing GNU libiconv"      am_cv_func_iconv="no, consider installing GNU libiconv"
7310      am_cv_lib_iconv=no      am_cv_lib_iconv=no
7311      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
7312  #line 6173 "configure"  #line 7312 "configure"
7313  #include "confdefs.h"  #include "confdefs.h"
7314  #include <stdlib.h>  #include <stdlib.h>
7315  #include <iconv.h>  #include <iconv.h>
7316    #ifdef F77_DUMMY_MAIN
7317    #  ifdef __cplusplus
7318         extern "C"
7319    #  endif
7320       int F77_DUMMY_MAIN() { return 1; }
7321    #endif
7322  int  int
7323  main ()  main ()
7324  {  {
# Line 6185  iconv_t cd = iconv_open("",""); Line 7330  iconv_t cd = iconv_open("","");
7330  }  }
7331  _ACEOF  _ACEOF
7332  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7333  if { (eval echo "$as_me:6188: \"$ac_link\"") >&5  if { (eval echo "$as_me:7333: \"$ac_link\"") >&5
7334    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7335    ac_status=$?    ac_status=$?
7336    echo "$as_me:6191: \$? = $ac_status" >&5    echo "$as_me:7336: \$? = $ac_status" >&5
7337    (exit $ac_status); } &&    (exit $ac_status); } &&
7338           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7339    { (eval echo "$as_me:6194: \"$ac_try\"") >&5    { (eval echo "$as_me:7339: \"$ac_try\"") >&5
7340    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7341    ac_status=$?    ac_status=$?
7342    echo "$as_me:6197: \$? = $ac_status" >&5    echo "$as_me:7342: \$? = $ac_status" >&5
7343    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7344    am_cv_func_iconv=yes    am_cv_func_iconv=yes
7345  else  else
# Line 6206  rm -f conftest.$ac_objext conftest$ac_ex Line 7351  rm -f conftest.$ac_objext conftest$ac_ex
7351        am_save_LIBS="$LIBS"        am_save_LIBS="$LIBS"
7352        LIBS="$LIBS -liconv"        LIBS="$LIBS -liconv"
7353        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7354  #line 6209 "configure"  #line 7354 "configure"
7355  #include "confdefs.h"  #include "confdefs.h"
7356  #include <stdlib.h>  #include <stdlib.h>
7357  #include <iconv.h>  #include <iconv.h>
7358    #ifdef F77_DUMMY_MAIN
7359    #  ifdef __cplusplus
7360         extern "C"
7361    #  endif
7362       int F77_DUMMY_MAIN() { return 1; }
7363    #endif
7364  int  int
7365  main ()  main ()
7366  {  {
# Line 6221  iconv_t cd = iconv_open("",""); Line 7372  iconv_t cd = iconv_open("","");
7372  }  }
7373  _ACEOF  _ACEOF
7374  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7375  if { (eval echo "$as_me:6224: \"$ac_link\"") >&5  if { (eval echo "$as_me:7375: \"$ac_link\"") >&5
7376    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7377    ac_status=$?    ac_status=$?
7378    echo "$as_me:6227: \$? = $ac_status" >&5    echo "$as_me:7378: \$? = $ac_status" >&5
7379    (exit $ac_status); } &&    (exit $ac_status); } &&
7380           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7381    { (eval echo "$as_me:6230: \"$ac_try\"") >&5    { (eval echo "$as_me:7381: \"$ac_try\"") >&5
7382    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7383    ac_status=$?    ac_status=$?
7384    echo "$as_me:6233: \$? = $ac_status" >&5    echo "$as_me:7384: \$? = $ac_status" >&5
7385    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7386    am_cv_lib_iconv=yes    am_cv_lib_iconv=yes
7387          am_cv_func_iconv=yes          am_cv_func_iconv=yes
# Line 6243  rm -f conftest.$ac_objext conftest$ac_ex Line 7394  rm -f conftest.$ac_objext conftest$ac_ex
7394      fi      fi
7395    
7396  fi  fi
7397  echo "$as_me:6246: result: $am_cv_func_iconv" >&5  echo "$as_me:7397: result: $am_cv_func_iconv" >&5
7398  echo "${ECHO_T}$am_cv_func_iconv" >&6  echo "${ECHO_T}$am_cv_func_iconv" >&6
7399    if test "$am_cv_func_iconv" = yes; then    if test "$am_cv_func_iconv" = yes; then
7400    
7401  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7402  #define HAVE_ICONV 1  #define HAVE_ICONV 1
7403  EOF  _ACEOF
7404    
7405      echo "$as_me:6254: checking for iconv declaration" >&5      echo "$as_me:7405: checking for iconv declaration" >&5
7406  echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6  echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7407      if test "${am_cv_proto_iconv+set}" = set; then      if test "${am_cv_proto_iconv+set}" = set; then
7408    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7409  else  else
7410    
7411        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7412  #line 6261 "configure"  #line 7412 "configure"
7413  #include "confdefs.h"  #include "confdefs.h"
7414    
7415  #include <stdlib.h>  #include <stdlib.h>
# Line 6273  size_t iconv (iconv_t cd, char * *inbuf, Line 7424  size_t iconv (iconv_t cd, char * *inbuf,
7424  size_t iconv();  size_t iconv();
7425  #endif  #endif
7426    
7427    #ifdef F77_DUMMY_MAIN
7428    #  ifdef __cplusplus
7429         extern "C"
7430    #  endif
7431       int F77_DUMMY_MAIN() { return 1; }
7432    #endif
7433  int  int
7434  main ()  main ()
7435  {  {
# Line 6282  main () Line 7439  main ()
7439  }  }
7440  _ACEOF  _ACEOF
7441  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
7442  if { (eval echo "$as_me:6285: \"$ac_compile\"") >&5  if { (eval echo "$as_me:7442: \"$ac_compile\"") >&5
7443    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
7444    ac_status=$?    ac_status=$?
7445    echo "$as_me:6288: \$? = $ac_status" >&5    echo "$as_me:7445: \$? = $ac_status" >&5
7446    (exit $ac_status); } &&    (exit $ac_status); } &&
7447           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
7448    { (eval echo "$as_me:6291: \"$ac_try\"") >&5    { (eval echo "$as_me:7448: \"$ac_try\"") >&5
7449    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7450    ac_status=$?    ac_status=$?
7451    echo "$as_me:6294: \$? = $ac_status" >&5    echo "$as_me:7451: \$? = $ac_status" >&5
7452    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7453    am_cv_proto_iconv_arg1=""    am_cv_proto_iconv_arg1=""
7454  else  else
# Line 6304  rm -f conftest.$ac_objext conftest.$ac_e Line 7461  rm -f conftest.$ac_objext conftest.$ac_e
7461  fi  fi
7462    
7463      am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`      am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7464      echo "$as_me:6307: result: ${ac_t:-      echo "$as_me:7464: result: ${ac_t:-
7465           }$am_cv_proto_iconv" >&5           }$am_cv_proto_iconv" >&5
7466  echo "${ECHO_T}${ac_t:-  echo "${ECHO_T}${ac_t:-
7467           }$am_cv_proto_iconv" >&6           }$am_cv_proto_iconv" >&6
7468    
7469  cat >>confdefs.h <<EOF  cat >>confdefs.h <<_ACEOF
7470  #define ICONV_CONST $am_cv_proto_iconv_arg1  #define ICONV_CONST $am_cv_proto_iconv_arg1
7471  EOF  _ACEOF
7472    
7473    fi    fi
7474    LIBICONV=    LIBICONV=
# Line 6319  EOF Line 7476  EOF
7476      LIBICONV="-liconv"      LIBICONV="-liconv"
7477    fi    fi
7478    
7479    echo "$as_me:6322: checking for nl_langinfo and CODESET" >&5    echo "$as_me:7479: checking for nl_langinfo and CODESET" >&5
7480  echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6  echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7481  if test "${am_cv_langinfo_codeset+set}" = set; then  if test "${am_cv_langinfo_codeset+set}" = set; then
7482    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7483  else  else
7484    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7485  #line 6328 "configure"  #line 7485 "configure"
7486  #include "confdefs.h"  #include "confdefs.h"
7487  #include <langinfo.h>  #include <langinfo.h>
7488    #ifdef F77_DUMMY_MAIN
7489    #  ifdef __cplusplus
7490         extern "C"
7491    #  endif
7492       int F77_DUMMY_MAIN() { return 1; }
7493    #endif
7494  int  int
7495  main ()  main ()
7496  {  {
# Line 6337  char* cs = nl_langinfo(CODESET); Line 7500  char* cs = nl_langinfo(CODESET);
7500  }  }
7501  _ACEOF  _ACEOF
7502  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7503  if { (eval echo "$as_me:6340: \"$ac_link\"") >&5  if { (eval echo "$as_me:7503: \"$ac_link\"") >&5
7504    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7505    ac_status=$?    ac_status=$?
7506    echo "$as_me:6343: \$? = $ac_status" >&5    echo "$as_me:7506: \$? = $ac_status" >&5
7507    (exit $ac_status); } &&    (exit $ac_status); } &&
7508           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7509    { (eval echo "$as_me:6346: \"$ac_try\"") >&5    { (eval echo "$as_me:7509: \"$ac_try\"") >&5
7510    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7511    ac_status=$?    ac_status=$?
7512    echo "$as_me:6349: \$? = $ac_status" >&5    echo "$as_me:7512: \$? = $ac_status" >&5
7513    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7514    am_cv_langinfo_codeset=yes    am_cv_langinfo_codeset=yes
7515  else  else
# Line 6357  fi Line 7520  fi
7520  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7521    
7522  fi  fi
7523  echo "$as_me:6360: result: $am_cv_langinfo_codeset" >&5  echo "$as_me:7523: result: $am_cv_langinfo_codeset" >&5
7524  echo "${ECHO_T}$am_cv_langinfo_codeset" >&6  echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7525    if test $am_cv_langinfo_codeset = yes; then    if test $am_cv_langinfo_codeset = yes; then
7526    
7527  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7528  #define HAVE_LANGINFO_CODESET 1  #define HAVE_LANGINFO_CODESET 1
7529  EOF  _ACEOF
7530    
7531    fi    fi
7532    
7533     if test $ac_cv_header_locale_h = yes; then     if test $ac_cv_header_locale_h = yes; then
7534      echo "$as_me:6371: checking for LC_MESSAGES" >&5      echo "$as_me:7534: checking for LC_MESSAGES" >&5
7535  echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6  echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7536  if test "${am_cv_val_LC_MESSAGES+set}" = set; then  if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7537    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7538  else  else
7539    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7540  #line 6377 "configure"  #line 7540 "configure"
7541  #include "confdefs.h"  #include "confdefs.h"
7542  #include <locale.h>  #include <locale.h>
7543    #ifdef F77_DUMMY_MAIN
7544    #  ifdef __cplusplus
7545         extern "C"
7546    #  endif
7547       int F77_DUMMY_MAIN() { return 1; }
7548    #endif
7549  int  int
7550  main ()  main ()
7551  {  {
# Line 6386  return LC_MESSAGES Line 7555  return LC_MESSAGES
7555  }  }
7556  _ACEOF  _ACEOF
7557  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7558  if { (eval echo "$as_me:6389: \"$ac_link\"") >&5  if { (eval echo "$as_me:7558: \"$ac_link\"") >&5
7559    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7560    ac_status=$?    ac_status=$?
7561    echo "$as_me:6392: \$? = $ac_status" >&5    echo "$as_me:7561: \$? = $ac_status" >&5
7562    (exit $ac_status); } &&    (exit $ac_status); } &&
7563           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7564    { (eval echo "$as_me:6395: \"$ac_try\"") >&5    { (eval echo "$as_me:7564: \"$ac_try\"") >&5
7565    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7566    ac_status=$?    ac_status=$?
7567    echo "$as_me:6398: \$? = $ac_status" >&5    echo "$as_me:7567: \$? = $ac_status" >&5
7568    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7569    am_cv_val_LC_MESSAGES=yes    am_cv_val_LC_MESSAGES=yes
7570  else  else
# Line 6405  am_cv_val_LC_MESSAGES=no Line 7574  am_cv_val_LC_MESSAGES=no
7574  fi  fi
7575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7576  fi  fi
7577  echo "$as_me:6408: result: $am_cv_val_LC_MESSAGES" >&5  echo "$as_me:7577: result: $am_cv_val_LC_MESSAGES" >&5
7578  echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6  echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7579      if test $am_cv_val_LC_MESSAGES = yes; then      if test $am_cv_val_LC_MESSAGES = yes; then
7580    
7581  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7582  #define HAVE_LC_MESSAGES 1  #define HAVE_LC_MESSAGES 1
7583  EOF  _ACEOF
7584    
7585      fi      fi
7586    fi    fi
7587     echo "$as_me:6418: checking whether NLS is requested" >&5     echo "$as_me:7587: checking whether NLS is requested" >&5
7588  echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6  echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7589          # Check whether --enable-nls or --disable-nls was given.          # Check whether --enable-nls or --disable-nls was given.
7590  if test "${enable_nls+set}" = set; then  if test "${enable_nls+set}" = set; then
# Line 6424  if test "${enable_nls+set}" = set; then Line 7593  if test "${enable_nls+set}" = set; then
7593  else  else
7594    USE_NLS=yes    USE_NLS=yes
7595  fi;  fi;
7596      echo "$as_me:6427: result: $USE_NLS" >&5      echo "$as_me:7596: result: $USE_NLS" >&5
7597  echo "${ECHO_T}$USE_NLS" >&6  echo "${ECHO_T}$USE_NLS" >&6
7598    
7599      BUILD_INCLUDED_LIBINTL=no      BUILD_INCLUDED_LIBINTL=no
# Line 6433  echo "${ECHO_T}$USE_NLS" >&6 Line 7602  echo "${ECHO_T}$USE_NLS" >&6
7602    
7603          if test "$USE_NLS" = "yes"; then          if test "$USE_NLS" = "yes"; then
7604    
7605  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7606  #define ENABLE_NLS 1  #define ENABLE_NLS 1
7607  EOF  _ACEOF
7608    
7609        echo "$as_me:6440: checking whether included gettext is requested" >&5        echo "$as_me:7609: checking whether included gettext is requested" >&5
7610  echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6  echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7611    
7612  # Check whether --with-included-gettext or --without-included-gettext was given.  # Check whether --with-included-gettext or --without-included-gettext was given.
# Line 6447  if test "${with_included_gettext+set}" = Line 7616  if test "${with_included_gettext+set}" =
7616  else  else
7617    nls_cv_force_use_gnu_gettext=no    nls_cv_force_use_gnu_gettext=no
7618  fi;  fi;
7619        echo "$as_me:6450: result: $nls_cv_force_use_gnu_gettext" >&5        echo "$as_me:7619: result: $nls_cv_force_use_gnu_gettext" >&5
7620  echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6  echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7621    
7622        nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"        nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
7623        if test "$nls_cv_force_use_gnu_gettext" != "yes"; then        if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7624                                  CATOBJEXT=NONE                                  CATOBJEXT=NONE
7625    
7626          echo "$as_me:6457: checking for libintl.h" >&5          if test "${ac_cv_header_libintl_h+set}" = set; then
7627      echo "$as_me:7627: checking for libintl.h" >&5
7628  echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6  echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7629  if test "${ac_cv_header_libintl_h+set}" = set; then  if test "${ac_cv_header_libintl_h+set}" = set; then
7630    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7631    fi
7632    echo "$as_me:7632: result: $ac_cv_header_libintl_h" >&5
7633    echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7634  else  else
7635    cat >conftest.$ac_ext <<_ACEOF    # Is the header compilable?
7636  #line 6463 "configure"  echo "$as_me:7636: checking libintl.h usability" >&5
7637    echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7638    cat >conftest.$ac_ext <<_ACEOF
7639    #line 7639 "configure"
7640    #include "confdefs.h"
7641    $ac_includes_default
7642    #include <libintl.h>
7643    _ACEOF
7644    rm -f conftest.$ac_objext
7645    if { (eval echo "$as_me:7645: \"$ac_compile\"") >&5
7646      (eval $ac_compile) 2>&5
7647      ac_status=$?
7648      echo "$as_me:7648: \$? = $ac_status" >&5
7649      (exit $ac_status); } &&
7650             { ac_try='test -s conftest.$ac_objext'
7651      { (eval echo "$as_me:7651: \"$ac_try\"") >&5
7652      (eval $ac_try) 2>&5
7653      ac_status=$?
7654      echo "$as_me:7654: \$? = $ac_status" >&5
7655      (exit $ac_status); }; }; then
7656      ac_header_compiler=yes
7657    else
7658      echo "$as_me: failed program was:" >&5
7659    cat conftest.$ac_ext >&5
7660    ac_header_compiler=no
7661    fi
7662    rm -f conftest.$ac_objext conftest.$ac_ext
7663    echo "$as_me:7663: result: $ac_header_compiler" >&5
7664    echo "${ECHO_T}$ac_header_compiler" >&6
7665    
7666    # Is the header present?
7667    echo "$as_me:7667: checking libintl.h presence" >&5
7668    echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7669    cat >conftest.$ac_ext <<_ACEOF
7670    #line 7670 "configure"
7671  #include "confdefs.h"  #include "confdefs.h"
7672  #include <libintl.h>  #include <libintl.h>
7673  _ACEOF  _ACEOF
7674  if { (eval echo "$as_me:6467: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7674: \"$ac_cpp conftest.$ac_ext\"") >&5
7675    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7676    ac_status=$?    ac_status=$?
7677    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7678    rm -f conftest.er1    rm -f conftest.er1
7679    cat conftest.err >&5    cat conftest.err >&5
7680    echo "$as_me:6473: \$? = $ac_status" >&5    echo "$as_me:7680: \$? = $ac_status" >&5
7681    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7682    if test -s conftest.err; then    if test -s conftest.err; then
7683      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6481  else Line 7688  else
7688    ac_cpp_err=yes    ac_cpp_err=yes
7689  fi  fi
7690  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
7691    ac_cv_header_libintl_h=yes    ac_header_preproc=yes
7692  else  else
7693    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7694    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
7695    ac_cv_header_libintl_h=no    ac_header_preproc=no
7696  fi  fi
7697  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7698    echo "$as_me:7698: result: $ac_header_preproc" >&5
7699    echo "${ECHO_T}$ac_header_preproc" >&6
7700    
7701    # So?  What about this header?
7702    case $ac_header_compiler:$ac_header_preproc in
7703      yes:no )
7704        { echo "$as_me:7704: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7705    echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7706        { echo "$as_me:7706: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7707    echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7708      no:yes )
7709        { echo "$as_me:7709: WARNING: libintl.h: present but cannot be compiled." >&5
7710    echo "$as_me: WARNING: libintl.h: present but cannot be compiled." >&2;}
7711        { echo "$as_me:7711: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7712    echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7713        { echo "$as_me:7713: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7714    echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
7715    esac
7716    echo "$as_me:7716: checking for libintl.h" >&5
7717    echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7718    if test "${ac_cv_header_libintl_h+set}" = set; then
7719      echo $ECHO_N "(cached) $ECHO_C" >&6
7720    else
7721      ac_cv_header_libintl_h=$ac_header_preproc
7722  fi  fi
7723  echo "$as_me:6492: result: $ac_cv_header_libintl_h" >&5  echo "$as_me:7723: result: $ac_cv_header_libintl_h" >&5
7724  echo "${ECHO_T}$ac_cv_header_libintl_h" >&6  echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7725    
7726    fi
7727  if test $ac_cv_header_libintl_h = yes; then  if test $ac_cv_header_libintl_h = yes; then
7728    echo "$as_me:6495: checking for GNU gettext in libc" >&5    echo "$as_me:7728: checking for GNU gettext in libc" >&5
7729  echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6  echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
7730  if test "${gt_cv_func_gnugettext1_libc+set}" = set; then  if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
7731    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7732  else  else
7733    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7734  #line 6501 "configure"  #line 7734 "configure"
7735  #include "confdefs.h"  #include "confdefs.h"
7736  #include <libintl.h>  #include <libintl.h>
7737  extern int _nl_msg_cat_cntr;  extern int _nl_msg_cat_cntr;
7738    #ifdef F77_DUMMY_MAIN
7739    #  ifdef __cplusplus
7740         extern "C"
7741    #  endif
7742       int F77_DUMMY_MAIN() { return 1; }
7743    #endif
7744  int  int
7745  main ()  main ()
7746  {  {
# Line 6512  return (int) gettext ("") + _nl_msg_cat_ Line 7751  return (int) gettext ("") + _nl_msg_cat_
7751  }  }
7752  _ACEOF  _ACEOF
7753  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7754  if { (eval echo "$as_me:6515: \"$ac_link\"") >&5  if { (eval echo "$as_me:7754: \"$ac_link\"") >&5
7755    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7756    ac_status=$?    ac_status=$?
7757    echo "$as_me:6518: \$? = $ac_status" >&5    echo "$as_me:7757: \$? = $ac_status" >&5
7758    (exit $ac_status); } &&    (exit $ac_status); } &&
7759           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7760    { (eval echo "$as_me:6521: \"$ac_try\"") >&5    { (eval echo "$as_me:7760: \"$ac_try\"") >&5
7761    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7762    ac_status=$?    ac_status=$?
7763    echo "$as_me:6524: \$? = $ac_status" >&5    echo "$as_me:7763: \$? = $ac_status" >&5
7764    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7765    gt_cv_func_gnugettext1_libc=yes    gt_cv_func_gnugettext1_libc=yes
7766  else  else
# Line 6531  gt_cv_func_gnugettext1_libc=no Line 7770  gt_cv_func_gnugettext1_libc=no
7770  fi  fi
7771  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7772  fi  fi
7773  echo "$as_me:6534: result: $gt_cv_func_gnugettext1_libc" >&5  echo "$as_me:7773: result: $gt_cv_func_gnugettext1_libc" >&5
7774  echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6  echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
7775    
7776             if test "$gt_cv_func_gnugettext1_libc" != "yes"; then             if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7777               echo "$as_me:6538: checking for GNU gettext in libintl" >&5               echo "$as_me:7777: checking for GNU gettext in libintl" >&5
7778  echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6  echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
7779  if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then  if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
7780    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6543  else Line 7782  else
7782    gt_save_LIBS="$LIBS"    gt_save_LIBS="$LIBS"
7783                  LIBS="$LIBS -lintl $LIBICONV"                  LIBS="$LIBS -lintl $LIBICONV"
7784                  cat >conftest.$ac_ext <<_ACEOF                  cat >conftest.$ac_ext <<_ACEOF
7785  #line 6546 "configure"  #line 7785 "configure"
7786  #include "confdefs.h"  #include "confdefs.h"
7787  #include <libintl.h>  #include <libintl.h>
7788  extern int _nl_msg_cat_cntr;  extern int _nl_msg_cat_cntr;
7789    #ifdef F77_DUMMY_MAIN
7790    #  ifdef __cplusplus
7791         extern "C"
7792    #  endif
7793       int F77_DUMMY_MAIN() { return 1; }
7794    #endif
7795  int  int
7796  main ()  main ()
7797  {  {
# Line 6557  return (int) gettext ("") + _nl_msg_cat_ Line 7802  return (int) gettext ("") + _nl_msg_cat_
7802  }  }
7803  _ACEOF  _ACEOF
7804  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7805  if { (eval echo "$as_me:6560: \"$ac_link\"") >&5  if { (eval echo "$as_me:7805: \"$ac_link\"") >&5
7806    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7807    ac_status=$?    ac_status=$?
7808    echo "$as_me:6563: \$? = $ac_status" >&5    echo "$as_me:7808: \$? = $ac_status" >&5
7809    (exit $ac_status); } &&    (exit $ac_status); } &&
7810           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7811    { (eval echo "$as_me:6566: \"$ac_try\"") >&5    { (eval echo "$as_me:7811: \"$ac_try\"") >&5
7812    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7813    ac_status=$?    ac_status=$?
7814    echo "$as_me:6569: \$? = $ac_status" >&5    echo "$as_me:7814: \$? = $ac_status" >&5
7815    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7816    gt_cv_func_gnugettext1_libintl=yes    gt_cv_func_gnugettext1_libintl=yes
7817  else  else
# Line 6577  fi Line 7822  fi
7822  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7823                  LIBS="$gt_save_LIBS"                  LIBS="$gt_save_LIBS"
7824  fi  fi
7825  echo "$as_me:6580: result: $gt_cv_func_gnugettext1_libintl" >&5  echo "$as_me:7825: result: $gt_cv_func_gnugettext1_libintl" >&5
7826  echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6  echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
7827             fi             fi
7828    
# Line 6585  echo "${ECHO_T}$gt_cv_func_gnugettext1_l Line 7830  echo "${ECHO_T}$gt_cv_func_gnugettext1_l
7830                || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \                || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7831                     && test "$PACKAGE" != gettext; }; then                     && test "$PACKAGE" != gettext; }; then
7832    
7833  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\_ACEOF
7834  #define HAVE_GETTEXT 1  #define HAVE_GETTEXT 1
7835  EOF  _ACEOF
7836    
7837               if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then               if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7838                                         INTLLIBS="-lintl $LIBICONV"                                         INTLLIBS="-lintl $LIBICONV"
# Line 6599  EOF Line 7844  EOF
7844  for ac_func in dcgettext  for ac_func in dcgettext
7845  do  do
7846  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7847  echo "$as_me:6602: checking for $ac_func" >&5  echo "$as_me:7847: checking for $ac_func" >&5
7848  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7849  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
7850    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7851  else  else
7852    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7853  #line 6608 "configure"  #line 7853 "configure"
7854  #include "confdefs.h"  #include "confdefs.h"
7855  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7856      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6619  extern "C" Line 7864  extern "C"
7864  char $ac_func ();  char $ac_func ();
7865  char (*f) ();  char (*f) ();
7866    
7867    #ifdef F77_DUMMY_MAIN
7868    #  ifdef __cplusplus
7869         extern "C"
7870    #  endif
7871       int F77_DUMMY_MAIN() { return 1; }
7872    #endif
7873  int  int
7874  main ()  main ()
7875  {  {
# Line 6636  f = $ac_func; Line 7887  f = $ac_func;
7887  }  }
7888  _ACEOF  _ACEOF
7889  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7890  if { (eval echo "$as_me:6639: \"$ac_link\"") >&5  if { (eval echo "$as_me:7890: \"$ac_link\"") >&5
7891    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7892    ac_status=$?    ac_status=$?
7893    echo "$as_me:6642: \$? = $ac_status" >&5    echo "$as_me:7893: \$? = $ac_status" >&5
7894    (exit $ac_status); } &&    (exit $ac_status); } &&
7895           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7896    { (eval echo "$as_me:6645: \"$ac_try\"") >&5    { (eval echo "$as_me:7896: \"$ac_try\"") >&5
7897    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7898    ac_status=$?    ac_status=$?
7899    echo "$as_me:6648: \$? = $ac_status" >&5    echo "$as_me:7899: \$? = $ac_status" >&5
7900    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7901    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
7902  else  else
# Line 6655  eval "$as_ac_var=no" Line 7906  eval "$as_ac_var=no"
7906  fi  fi
7907  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7908  fi  fi
7909  echo "$as_me:6658: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:7909: result: `eval echo '${'$as_ac_var'}'`" >&5
7910  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7911  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
7912    cat >>confdefs.h <<EOF    cat >>confdefs.h <<_ACEOF
7913  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7914  EOF  _ACEOF
7915    
7916  fi  fi
7917  done  done
# Line 6669  done Line 7920  done
7920    
7921                       # Extract the first word of "msgfmt", so it can be a program name with args.                       # Extract the first word of "msgfmt", so it can be a program name with args.
7922  set dummy msgfmt; ac_word=$2  set dummy msgfmt; ac_word=$2
7923  echo "$as_me:6672: checking for $ac_word" >&5  echo "$as_me:7923: checking for $ac_word" >&5
7924  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7925  if test "${ac_cv_path_MSGFMT+set}" = set; then  if test "${ac_cv_path_MSGFMT+set}" = set; then
7926    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6696  esac Line 7947  esac
7947  fi  fi
7948  MSGFMT="$ac_cv_path_MSGFMT"  MSGFMT="$ac_cv_path_MSGFMT"
7949  if test "$MSGFMT" != ":"; then  if test "$MSGFMT" != ":"; then
7950    echo "$as_me:6699: result: $MSGFMT" >&5    echo "$as_me:7950: result: $MSGFMT" >&5
7951  echo "${ECHO_T}$MSGFMT" >&6  echo "${ECHO_T}$MSGFMT" >&6
7952  else  else
7953    echo "$as_me:6702: result: no" >&5    echo "$as_me:7953: result: no" >&5
7954  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7955  fi  fi
7956    
7957               # Extract the first word of "gmsgfmt", so it can be a program name with args.               # Extract the first word of "gmsgfmt", so it can be a program name with args.
7958  set dummy gmsgfmt; ac_word=$2  set dummy gmsgfmt; ac_word=$2
7959  echo "$as_me:6708: checking for $ac_word" >&5  echo "$as_me:7959: checking for $ac_word" >&5
7960  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7961  if test "${ac_cv_path_GMSGFMT+set}" = set; then  if test "${ac_cv_path_GMSGFMT+set}" = set; then
7962    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6722  for ac_dir in $ac_dummy; do Line 7973  for ac_dir in $ac_dummy; do
7973    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
7974    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
7975     ac_cv_path_GMSGFMT="$ac_dir/$ac_word"     ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
7976     echo "$as_me:6725: found $ac_dir/$ac_word" >&5     echo "$as_me:7976: found $ac_dir/$ac_word" >&5
7977     break     break
7978  fi  fi
7979  done  done
# Line 6734  fi Line 7985  fi
7985  GMSGFMT=$ac_cv_path_GMSGFMT  GMSGFMT=$ac_cv_path_GMSGFMT
7986    
7987  if test -n "$GMSGFMT"; then  if test -n "$GMSGFMT"; then
7988    echo "$as_me:6737: result: $GMSGFMT" >&5    echo "$as_me:7988: result: $GMSGFMT" >&5
7989  echo "${ECHO_T}$GMSGFMT" >&6  echo "${ECHO_T}$GMSGFMT" >&6
7990  else  else
7991    echo "$as_me:6740: result: no" >&5    echo "$as_me:7991: result: no" >&5
7992  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7993  fi  fi
7994    
7995                       # Extract the first word of "xgettext", so it can be a program name with args.                       # Extract the first word of "xgettext", so it can be a program name with args.
7996  set dummy xgettext; ac_word=$2  set dummy xgettext; ac_word=$2
7997  echo "$as_me:6746: checking for $ac_word" >&5  echo "$as_me:7997: checking for $ac_word" >&5
7998  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7999  if test "${ac_cv_path_XGETTEXT+set}" = set; then  if test "${ac_cv_path_XGETTEXT+set}" = set; then
8000    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6770  esac Line 8021  esac
8021  fi  fi
8022  XGETTEXT="$ac_cv_path_XGETTEXT"  XGETTEXT="$ac_cv_path_XGETTEXT"
8023  if test "$XGETTEXT" != ":"; then  if test "$XGETTEXT" != ":"; then
8024    echo "$as_me:6773: result: $XGETTEXT" >&5    echo "$as_me:8024: result: $XGETTEXT" >&5
8025  echo "${ECHO_T}$XGETTEXT" >&6  echo "${ECHO_T}$XGETTEXT" >&6
8026  else  else
8027    echo "$as_me:6776: result: no" >&5    echo "$as_me:8027: result: no" >&5
8028  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8029  fi  fi
8030    
# Line 6791  fi Line 8042  fi
8042                  INTLOBJS="\$(GETTOBJS)"                  INTLOBJS="\$(GETTOBJS)"
8043          # Extract the first word of "msgfmt", so it can be a program name with args.          # Extract the first word of "msgfmt", so it can be a program name with args.
8044  set dummy msgfmt; ac_word=$2  set dummy msgfmt; ac_word=$2
8045  echo "$as_me:6794: checking for $ac_word" >&5  echo "$as_me:8045: checking for $ac_word" >&5
8046  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8047  if test "${ac_cv_path_MSGFMT+set}" = set; then  if test "${ac_cv_path_MSGFMT+set}" = set; then
8048    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6818  esac Line 8069  esac
8069  fi  fi
8070  MSGFMT="$ac_cv_path_MSGFMT"  MSGFMT="$ac_cv_path_MSGFMT"
8071  if test "$MSGFMT" != ":"; then  if test "$MSGFMT" != ":"; then
8072    echo "$as_me:6821: result: $MSGFMT" >&5    echo "$as_me:8072: result: $MSGFMT" >&5
8073  echo "${ECHO_T}$MSGFMT" >&6  echo "${ECHO_T}$MSGFMT" >&6
8074  else  else
8075    echo "$as_me:6824: result: no" >&5    echo "$as_me:8075: result: no" >&5
8076  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8077  fi  fi
8078    
8079          # Extract the first word of "gmsgfmt", so it can be a program name with args.          # Extract the first word of "gmsgfmt", so it can be a program name with args.
8080  set dummy gmsgfmt; ac_word=$2  set dummy gmsgfmt; ac_word=$2
8081  echo "$as_me:6830: checking for $ac_word" >&5  echo "$as_me:8081: checking for $ac_word" >&5
8082  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8083  if test "${ac_cv_path_GMSGFMT+set}" = set; then  if test "${ac_cv_path_GMSGFMT+set}" = set; then
8084    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6844  for ac_dir in $ac_dummy; do Line 8095  for ac_dir in $ac_dummy; do
8095    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8096    if $as_executable_p "$ac_dir/$ac_word"; then    if $as_executable_p "$ac_dir/$ac_word"; then
8097     ac_cv_path_GMSGFMT="$ac_dir/$ac_word"     ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
8098     echo "$as_me:6847: found $ac_dir/$ac_word" >&5     echo "$as_me:8098: found $ac_dir/$ac_word" >&5
8099     break     break
8100  fi  fi
8101  done  done
# Line 6856  fi Line 8107  fi
8107  GMSGFMT=$ac_cv_path_GMSGFMT  GMSGFMT=$ac_cv_path_GMSGFMT
8108    
8109  if test -n "$GMSGFMT"; then  if test -n "$GMSGFMT"; then
8110    echo "$as_me:6859: result: $GMSGFMT" >&5    echo "$as_me:8110: result: $GMSGFMT" >&5
8111  echo "${ECHO_T}$GMSGFMT" >&6  echo "${ECHO_T}$GMSGFMT" >&6
8112  else  else
8113    echo "$as_me:6862: result: no" >&5    echo "$as_me:8113: result: no" >&5
8114  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8115  fi  fi
8116    
8117          # Extract the first word of "xgettext", so it can be a program name with args.          # Extract the first word of "xgettext", so it can be a program name with args.
8118  set dummy xgettext; ac_word=$2  set dummy xgettext; ac_word=$2
8119  echo "$as_me:6868: checking for $ac_word" >&5  echo "$as_me:8119: checking for $ac_word" >&5
8120  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8121  if test "${ac_cv_path_XGETTEXT+set}" = set; then  if test "${ac_cv_path_XGETTEXT+set}" = set; then
8122    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6892  esac Line 8143  esac
8143  fi  fi
8144  XGETTEXT="$ac_cv_path_XGETTEXT"  XGETTEXT="$ac_cv_path_XGETTEXT"
8145  if test "$XGETTEXT" != ":"; then  if test "$XGETTEXT" != ":"; then
8146    echo "$as_me:6895: result: $XGETTEXT" >&5    echo "$as_me:8146: result: $XGETTEXT" >&5
8147  echo "${ECHO_T}$XGETTEXT" >&6  echo "${ECHO_T}$XGETTEXT" >&6
8148  else  else
8149    echo "$as_me:6898: result: no" >&5    echo "$as_me:8149: result: no" >&5
8150  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8151  fi  fi
8152    
# Line 6910  fi Line 8161  fi
8161                          if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then                          if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
8162            : ;            : ;
8163          else          else
8164            echo "$as_me:6913: result: found msgfmt program is not GNU msgfmt; ignore it" >&5            echo "$as_me:8164: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
8165  echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6  echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
8166            GMSGFMT=":"            GMSGFMT=":"
8167          fi          fi
# Line 6920  echo "${ECHO_T}found msgfmt program is n Line 8171  echo "${ECHO_T}found msgfmt program is n
8171                          if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then                          if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
8172            : ;            : ;
8173          else          else
8174            echo "$as_me:6923: result: found xgettext program is not GNU xgettext; ignore it" >&5            echo "$as_me:8174: result: found xgettext program is not GNU xgettext; ignore it" >&5
8175  echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6  echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8176            XGETTEXT=":"            XGETTEXT=":"
8177          fi          fi
# Line 6938  echo "${ECHO_T}found xgettext program is Line 8189  echo "${ECHO_T}found xgettext program is
8189  do  do
8190    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
8191  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
8192  echo "$as_me:6941: checking for $ac_word" >&5  echo "$as_me:8192: checking for $ac_word" >&5
8193  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8194  if test "${ac_cv_prog_INTLBISON+set}" = set; then  if test "${ac_cv_prog_INTLBISON+set}" = set; then
8195    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6953  for ac_dir in $ac_dummy; do Line 8204  for ac_dir in $ac_dummy; do
8204    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8205    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8206  ac_cv_prog_INTLBISON="$ac_prog"  ac_cv_prog_INTLBISON="$ac_prog"
8207  echo "$as_me:6956: found $ac_dir/$ac_word" >&5  echo "$as_me:8207: found $ac_dir/$ac_word" >&5
8208  break  break
8209  done  done
8210    
# Line 6961  fi Line 8212  fi
8212  fi  fi
8213  INTLBISON=$ac_cv_prog_INTLBISON  INTLBISON=$ac_cv_prog_INTLBISON
8214  if test -n "$INTLBISON"; then  if test -n "$INTLBISON"; then
8215    echo "$as_me:6964: result: $INTLBISON" >&5    echo "$as_me:8215: result: $INTLBISON" >&5
8216  echo "${ECHO_T}$INTLBISON" >&6  echo "${ECHO_T}$INTLBISON" >&6
8217  else  else
8218    echo "$as_me:6967: result: no" >&5    echo "$as_me:8218: result: no" >&5
8219  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8220  fi  fi
8221    
# Line 6974  done Line 8225  done
8225      if test -z "$INTLBISON"; then      if test -z "$INTLBISON"; then
8226        ac_verc_fail=yes        ac_verc_fail=yes
8227      else      else
8228              echo "$as_me:6977: checking version of bison" >&5              echo "$as_me:8228: checking version of bison" >&5
8229  echo $ECHO_N "checking version of bison... $ECHO_C" >&6  echo $ECHO_N "checking version of bison... $ECHO_C" >&6
8230        ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`        ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
8231        case $ac_prog_version in        case $ac_prog_version in
# Line 6983  echo $ECHO_N "checking version of bison. Line 8234  echo $ECHO_N "checking version of bison.
8234             ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;             ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
8235          *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;          *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
8236        esac        esac
8237        echo "$as_me:6986: result: $ac_prog_version" >&5        echo "$as_me:8237: result: $ac_prog_version" >&5
8238  echo "${ECHO_T}$ac_prog_version" >&6  echo "${ECHO_T}$ac_prog_version" >&6
8239      fi      fi
8240      if test $ac_verc_fail = yes; then      if test $ac_verc_fail = yes; then
# Line 7008  echo "${ECHO_T}$ac_prog_version" >&6 Line 8259  echo "${ECHO_T}$ac_prog_version" >&6
8259       if test "x$ALL_LINGUAS" = "x"; then       if test "x$ALL_LINGUAS" = "x"; then
8260         LINGUAS=         LINGUAS=
8261       else       else
8262         echo "$as_me:7011: checking for catalogs to be installed" >&5         echo "$as_me:8262: checking for catalogs to be installed" >&5
8263  echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6  echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8264         NEW_LINGUAS=         NEW_LINGUAS=
8265         for presentlang in $ALL_LINGUAS; do         for presentlang in $ALL_LINGUAS; do
# Line 7028  echo $ECHO_N "checking for catalogs to b Line 8279  echo $ECHO_N "checking for catalogs to b
8279           fi           fi
8280         done         done
8281         LINGUAS=$NEW_LINGUAS         LINGUAS=$NEW_LINGUAS
8282         echo "$as_me:7031: result: $LINGUAS" >&5         echo "$as_me:8282: result: $LINGUAS" >&5
8283  echo "${ECHO_T}$LINGUAS" >&6  echo "${ECHO_T}$LINGUAS" >&6
8284       fi       fi
8285    
# Line 7131  DEFS=-DHAVE_CONFIG_H Line 8382  DEFS=-DHAVE_CONFIG_H
8382  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
8383  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
8384  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8385  { echo "$as_me:7134: creating $CONFIG_STATUS" >&5  { echo "$as_me:8385: creating $CONFIG_STATUS" >&5
8386  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
8387  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
8388  #! $SHELL  #! $SHELL
8389  # Generated automatically by configure.  # Generated automatically by $as_me.
8390  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
8391  # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
8392  # configure, is in config.log if it exists.  # configure, is in config.log if it exists.
8393    
8394  debug=false  debug=false
8395  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
 ac_cs_invocation="\$0 \$@"  
   
8396  _ACEOF  _ACEOF
8397    
8398  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
8399    
8400    ## --------------------- ##
8401    ## M4sh Initialization.  ##
8402    ## --------------------- ##
8403    
8404  # Be Bourne compatible  # Be Bourne compatible
8405  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8406    emulate sh    emulate sh
# Line 7212  $as_unset CDPATH || test "${CDPATH+set}" Line 8466  $as_unset CDPATH || test "${CDPATH+set}"
8466    
8467  exec 6>&1  exec 6>&1
8468    
8469    # Open the log real soon, to keep \$[0] and so on meaningful, and to
8470    # report actual input values of CONFIG_FILES etc. instead of their
8471    # values after options handling.  Logging --version etc. is OK.
8472    exec 5>>config.log
8473    cat >&5 <<_CSEOF
8474    
8475    `sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8476    ## Running \$as_me. ##
8477    _ASBOX`
8478    
8479    This file was extended by bison $as_me 1.28c, which was
8480    generated by GNU Autoconf 2.52c.  Invocation command line was
8481    
8482      CONFIG_FILES    = $CONFIG_FILES
8483      CONFIG_HEADERS  = $CONFIG_HEADERS
8484      CONFIG_LINKS    = $CONFIG_LINKS
8485      CONFIG_COMMANDS = $CONFIG_COMMANDS
8486      $ $@
8487    on `(hostname || uname -n) 2>/dev/null | sed 1q`
8488    
8489    _CSEOF
8490  _ACEOF  _ACEOF
8491    
8492  # Files that config.status was made for.  # Files that config.status was made for.
# Line 7231  if test -n "$ac_config_commands"; then Line 8506  if test -n "$ac_config_commands"; then
8506    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8507  fi  fi
8508    
8509  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8510    
8511  ac_cs_usage="\  ac_cs_usage="\
8512  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
# Line 7258  Configuration commands: Line 8533  Configuration commands:
8533  $config_commands  $config_commands
8534    
8535  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
8536  EOF  _ACEOF
8537    
8538  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
8539  ac_cs_version="\\  ac_cs_version="\\
8540  bison config.status 1.28c  bison config.status 1.28c
8541  configured by $0, generated by GNU Autoconf 2.52,  configured by $0, generated by GNU Autoconf 2.52c,
8542    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8543    
8544  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 7272  This config.status script is free softwa Line 8547  This config.status script is free softwa
8547  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
8548  srcdir=$srcdir  srcdir=$srcdir
8549  INSTALL="$INSTALL"  INSTALL="$INSTALL"
8550  EOF  _ACEOF
8551    
8552  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8553  # If no file are specified by the user, then we need to provide default  # If no file are specified by the user, then we need to provide default
8554  # value.  By we need to know if files were specified by the user.  # value.  By we need to know if files were specified by the user.
8555  ac_need_defaults=:  ac_need_defaults=:
# Line 7296  do Line 8571  do
8571    
8572    case $1 in    case $1 in
8573    # Handling of the options.    # Handling of the options.
8574  EOF  _ACEOF
8575  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
8576    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8577      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
8578      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
8579  EOF  _ACEOF
8580  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8581    --version | --vers* | -V )    --version | --vers* | -V )
8582      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
8583    --he | --h)    --he | --h)
8584      # Conflict between --help and --header      # Conflict between --help and --header
8585      { { echo "$as_me:7310: error: ambiguous option: $1      { { echo "$as_me:8585: error: ambiguous option: $1
8586  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
8587  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
8588  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 7326  Try \`$0 --help' for more information." Line 8601  Try \`$0 --help' for more information."
8601      ac_need_defaults=false;;      ac_need_defaults=false;;
8602    
8603    # This is an error.    # This is an error.
8604    -*) { { echo "$as_me:7329: error: unrecognized option: $1    -*) { { echo "$as_me:8604: error: unrecognized option: $1
8605  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
8606  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
8607  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 7338  Try \`$0 --help' for more information." Line 8613  Try \`$0 --help' for more information."
8613    shift    shift
8614  done  done
8615    
 exec 5>>config.log  
 cat >&5 << _ACEOF  
   
 ## ----------------------- ##  
 ## Running config.status.  ##  
 ## ----------------------- ##  
   
 This file was extended by $as_me (bison 1.28c) 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`  
   
8616  _ACEOF  _ACEOF
 EOF  
8617    
8618  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
8619  #  #
8620  # INIT-COMMANDS section.  # INIT-COMMANDS section.
8621  #  #
8622    
8623  EOF  AMDEP_TRUE="$AMDEP_TRUE"
8624    ac_aux_dir="$ac_aux_dir"
8625    
8626    _ACEOF
8627    
8628  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8629  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
8630  do  do
8631    case "$ac_config_target" in    case "$ac_config_target" in
# Line 7381  do Line 8643  do
8643    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;    "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8644    "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;    "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
8645    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
8646    *) { { echo "$as_me:7384: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:8646: error: invalid argument: $ac_config_target" >&5
8647  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8648     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
8649    esac    esac
# Line 7419  $debug || Line 8681  $debug ||
8681     { (exit 1); exit 1; }     { (exit 1); exit 1; }
8682  }  }
8683    
8684  EOF  _ACEOF
8685    
8686  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
8687    
8688  #  #
8689  # CONFIG_FILES section.  # CONFIG_FILES section.
# Line 7468  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t Line 8730  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8730  s,@INSTALL_DATA@,$INSTALL_DATA,;t t  s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8731  s,@PACKAGE@,$PACKAGE,;t t  s,@PACKAGE@,$PACKAGE,;t t
8732  s,@VERSION@,$VERSION,;t t  s,@VERSION@,$VERSION,;t t
8733    s,@EXEEXT@,$EXEEXT,;t t
8734    s,@OBJEXT@,$OBJEXT,;t t
8735  s,@ACLOCAL@,$ACLOCAL,;t t  s,@ACLOCAL@,$ACLOCAL,;t t
8736  s,@AUTOCONF@,$AUTOCONF,;t t  s,@AUTOCONF@,$AUTOCONF,;t t
8737  s,@AUTOMAKE@,$AUTOMAKE,;t t  s,@AUTOMAKE@,$AUTOMAKE,;t t
8738  s,@AUTOHEADER@,$AUTOHEADER,;t t  s,@AUTOHEADER@,$AUTOHEADER,;t t
8739  s,@MAKEINFO@,$MAKEINFO,;t t  s,@MAKEINFO@,$MAKEINFO,;t t
8740    s,@AMTAR@,$AMTAR,;t t
8741    s,@install_sh@,$install_sh,;t t
8742    s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8743    s,@AWK@,$AWK,;t t
8744  s,@SET_MAKE@,$SET_MAKE,;t t  s,@SET_MAKE@,$SET_MAKE,;t t
8745    s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8746    s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8747    s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8748    s,@DEPDIR@,$DEPDIR,;t t
8749  s,@AT_TESTPATH@,$AT_TESTPATH,;t t  s,@AT_TESTPATH@,$AT_TESTPATH,;t t
8750  s,@CC@,$CC,;t t  s,@CC@,$CC,;t t
8751  s,@CFLAGS@,$CFLAGS,;t t  s,@CFLAGS@,$CFLAGS,;t t
8752  s,@LDFLAGS@,$LDFLAGS,;t t  s,@LDFLAGS@,$LDFLAGS,;t t
8753  s,@CPPFLAGS@,$CPPFLAGS,;t t  s,@CPPFLAGS@,$CPPFLAGS,;t t
8754  s,@ac_ct_CC@,$ac_ct_CC,;t t  s,@ac_ct_CC@,$ac_ct_CC,;t t
8755  s,@EXEEXT@,$EXEEXT,;t t  s,@am__include@,$am__include,;t t
8756  s,@OBJEXT@,$OBJEXT,;t t  s,@am__quote@,$am__quote,;t t
8757    s,@CCDEPMODE@,$CCDEPMODE,;t t
8758  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
8759  s,@RANLIB@,$RANLIB,;t t  s,@RANLIB@,$RANLIB,;t t
8760  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
# Line 7522  s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t Line 8795  s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8795  s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t  s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
8796  CEOF  CEOF
8797    
8798  EOF  _ACEOF
8799    
8800    cat >>$CONFIG_STATUS <<\EOF    cat >>$CONFIG_STATUS <<\_ACEOF
8801    # Split the substitutions into bite-sized pieces for seds with    # Split the substitutions into bite-sized pieces for seds with
8802    # small command number limits, like on Digital OSF/1 and HP-UX.    # small command number limits, like on Digital OSF/1 and HP-UX.
8803    ac_max_sed_lines=48    ac_max_sed_lines=48
# Line 7563  EOF Line 8836  EOF
8836    fi    fi
8837  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
8838    
8839  EOF  _ACEOF
8840  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8841  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8842    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8843    case $ac_file in    case $ac_file in
# Line 7589  echo X"$ac_file" | Line 8862  echo X"$ac_file" |
8862            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
8863            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
8864            s/.*/./; q'`            s/.*/./; q'`
8865    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    { case "$ac_dir" in
     { case "$ac_dir" in  
8866    [\\/]* | ?:[\\/]* ) as_incr_dir=;;    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
8867    *)                      as_incr_dir=.;;    *)                      as_incr_dir=.;;
8868  esac  esac
# Line 7601  for as_mkdir_dir in `IFS='/\\'; set X $a Line 8873  for as_mkdir_dir in `IFS='/\\'; set X $a
8873      ?:) as_incr_dir=$as_mkdir_dir ;;      ?:) as_incr_dir=$as_mkdir_dir ;;
8874      *)      *)
8875        as_incr_dir=$as_incr_dir/$as_mkdir_dir        as_incr_dir=$as_incr_dir/$as_mkdir_dir
8876        test -d "$as_incr_dir" || mkdir "$as_incr_dir"        test -d "$as_incr_dir" ||
8877            mkdir "$as_incr_dir" ||
8878            { { echo "$as_me:8878: error: cannot create \"$ac_dir\"" >&5
8879    echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8880       { (exit 1); exit 1; }; }
8881      ;;      ;;
8882    esac    esac
8883  done; }  done; }
8884    
8885      ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"    if test "$ac_dir" != .; then
8886      # A "../" for each directory in $ac_dir_suffix.    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
8887      ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`    # A "../" for each directory in $ac_dir_suffix.
8888    else    ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
8889      ac_dir_suffix= ac_dots=  else
8890    fi    ac_dir_suffix= ac_top_builddir=
8891    fi
8892    
8893    case $srcdir in  case $srcdir in
8894    .)  ac_srcdir=.    .)  # No --srcdir option.  We are building in place.
8895        if test -z "$ac_dots"; then      ac_srcdir=.
8896           ac_top_srcdir=.      if test -z "$ac_top_builddir"; then
8897        else         ac_top_srcdir=.
8898           ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`      else
8899        fi ;;         ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8900    [\\/]* | ?:[\\/]* )      fi ;;
8901        ac_srcdir=$srcdir$ac_dir_suffix;    [\\/]* | ?:[\\/]* )  # Absolute path.
8902        ac_top_srcdir=$srcdir ;;      ac_srcdir=$srcdir$ac_dir_suffix;
8903        ac_top_srcdir=$srcdir ;;
8904    *) # Relative path.    *) # Relative path.
8905      ac_srcdir=$ac_dots$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8906      ac_top_srcdir=$ac_dots$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
8907    esac  esac
8908    
8909    case $INSTALL in    case $INSTALL in
8910    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8911    *) ac_INSTALL=$ac_dots$INSTALL ;;    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8912    esac    esac
8913    
8914    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
8915      { echo "$as_me:7637: creating $ac_file" >&5      { echo "$as_me:8915: creating $ac_file" >&5
8916  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
8917      rm -f "$ac_file"      rm -f "$ac_file"
8918    fi    fi
# Line 7652  echo "$as_me: creating $ac_file" >&6;} Line 8930  echo "$as_me: creating $ac_file" >&6;}
8930        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
8931        [\\/$]*)        [\\/$]*)
8932           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
8933           test -f "$f" || { { echo "$as_me:7655: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:8933: error: cannot find input file: $f" >&5
8934  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
8935     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
8936           echo $f;;           echo $f;;
# Line 7665  echo "$as_me: error: cannot find input f Line 8943  echo "$as_me: error: cannot find input f
8943             echo $srcdir/$f             echo $srcdir/$f
8944           else           else
8945             # /dev/null tree             # /dev/null tree
8946             { { echo "$as_me:7668: error: cannot find input file: $f" >&5             { { echo "$as_me:8946: error: cannot find input file: $f" >&5
8947  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
8948     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
8949           fi;;           fi;;
8950        esac        esac
8951      done` || { (exit 1); exit 1; }      done` || { (exit 1); exit 1; }
8952  EOF  _ACEOF
8953  cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<_ACEOF
8954    sed "$ac_vpsub    sed "$ac_vpsub
8955  $extrasub  $extrasub
8956  EOF  _ACEOF
8957  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8958  :t  :t
8959  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8960  s,@configure_input@,$configure_input,;t t  s,@configure_input@,$configure_input,;t t
# Line 7693  s,@INSTALL@,$ac_INSTALL,;t t Line 8971  s,@INSTALL@,$ac_INSTALL,;t t
8971    fi    fi
8972    
8973  done  done
8974  EOF  _ACEOF
8975  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
8976    
8977  #  #
8978  # CONFIG_HEADER section.  # CONFIG_HEADER section.
# Line 7726  for ac_file in : $CONFIG_HEADERS; do tes Line 9004  for ac_file in : $CONFIG_HEADERS; do tes
9004    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
9005    esac    esac
9006    
9007    test x"$ac_file" != x- && { echo "$as_me:7729: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:9007: creating $ac_file" >&5
9008  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
9009    
9010    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
# Line 7737  echo "$as_me: creating $ac_file" >&6;} Line 9015  echo "$as_me: creating $ac_file" >&6;}
9015        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
9016        [\\/$]*)        [\\/$]*)
9017           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
9018           test -f "$f" || { { echo "$as_me:7740: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:9018: error: cannot find input file: $f" >&5
9019  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
9020     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
9021           echo $f;;           echo $f;;
# Line 7750  echo "$as_me: error: cannot find input f Line 9028  echo "$as_me: error: cannot find input f
9028             echo $srcdir/$f             echo $srcdir/$f
9029           else           else
9030             # /dev/null tree             # /dev/null tree
9031             { { echo "$as_me:7753: error: cannot find input file: $f" >&5             { { echo "$as_me:9031: error: cannot find input file: $f" >&5
9032  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
9033     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
9034           fi;;           fi;;
# Line 7759  echo "$as_me: error: cannot find input f Line 9037  echo "$as_me: error: cannot find input f
9037    # Remove the trailing spaces.    # Remove the trailing spaces.
9038    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9039    
9040  EOF  _ACEOF
9041    
9042  # Transform confdefs.h into two sed scripts, `conftest.defines' and  # Transform confdefs.h into two sed scripts, `conftest.defines' and
9043  # `conftest.undefs', that substitutes the proper values into  # `conftest.undefs', that substitutes the proper values into
# Line 7775  rm -f conftest.defines conftest.undefs Line 9053  rm -f conftest.defines conftest.undefs
9053  # `end' is used to avoid that the second main sed command (meant for  # `end' is used to avoid that the second main sed command (meant for
9054  # 0-ary CPP macros) applies to n-ary macro definitions.  # 0-ary CPP macros) applies to n-ary macro definitions.
9055  # See the Autoconf documentation for `clear'.  # See the Autoconf documentation for `clear'.
9056  cat >confdef2sed.sed <<\EOF  cat >confdef2sed.sed <<\_ACEOF
9057  s/[\\&,]/\\&/g  s/[\\&,]/\\&/g
9058  s,[\\$`],\\&,g  s,[\\$`],\\&,g
9059  t clear  t clear
# Line 7784  s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][ Line 9062  s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][
9062  t end  t end
9063  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9064  : end  : end
9065  EOF  _ACEOF
9066  # If some macros were called several times there might be several times  # If some macros were called several times there might be several times
9067  # the same #defines, which is useless.  Nevertheless, we may not want to  # the same #defines, which is useless.  Nevertheless, we may not want to
9068  # sort them, since we want the *last* AC-DEFINE to be honored.  # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7795  rm -f confdef2sed.sed Line 9073  rm -f confdef2sed.sed
9073  # This sed command replaces #undef with comments.  This is necessary, for  # This sed command replaces #undef with comments.  This is necessary, for
9074  # example, in the case of _POSIX_SOURCE, which is predefined and required  # example, in the case of _POSIX_SOURCE, which is predefined and required
9075  # on some systems where configure will not decide to define it.  # on some systems where configure will not decide to define it.
9076  cat >>conftest.undefs <<\EOF  cat >>conftest.undefs <<\_ACEOF
9077  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9078  EOF  _ACEOF
9079    
9080  # Break up conftest.defines because some shells have a limit on the size  # Break up conftest.defines because some shells have a limit on the size
9081  # of here documents, and old seds have small limits too (100 cmds).  # of here documents, and old seds have small limits too (100 cmds).
# Line 7854  do Line 9132  do
9132  done  done
9133  rm -f conftest.undefs  rm -f conftest.undefs
9134    
9135  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
9136    # Let's still pretend it is `configure' which instantiates (i.e., don't    # Let's still pretend it is `configure' which instantiates (i.e., don't
9137    # use $as_me), people would be surprised to read:    # use $as_me), people would be surprised to read:
9138    #    /* config.h.  Generated automatically by config.status.  */    #    /* config.h.  Generated automatically by config.status.  */
# Line 7867  cat >>$CONFIG_STATUS <<\EOF Line 9145  cat >>$CONFIG_STATUS <<\EOF
9145    rm -f $tmp/in    rm -f $tmp/in
9146    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
9147      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
9148        { echo "$as_me:7870: $ac_file is unchanged" >&5        { echo "$as_me:9148: $ac_file is unchanged" >&5
9149  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
9150      else      else
9151        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
# Line 7881  echo X"$ac_file" | Line 9159  echo X"$ac_file" |
9159            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
9160            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
9161            s/.*/./; q'`            s/.*/./; q'`
9162        if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then        { case "$ac_dir" in
         { case "$ac_dir" in  
9163    [\\/]* | ?:[\\/]* ) as_incr_dir=;;    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9164    *)                      as_incr_dir=.;;    *)                      as_incr_dir=.;;
9165  esac  esac
# Line 7893  for as_mkdir_dir in `IFS='/\\'; set X $a Line 9170  for as_mkdir_dir in `IFS='/\\'; set X $a
9170      ?:) as_incr_dir=$as_mkdir_dir ;;      ?:) as_incr_dir=$as_mkdir_dir ;;
9171      *)      *)
9172        as_incr_dir=$as_incr_dir/$as_mkdir_dir        as_incr_dir=$as_incr_dir/$as_mkdir_dir
9173        test -d "$as_incr_dir" || mkdir "$as_incr_dir"        test -d "$as_incr_dir" ||
9174            mkdir "$as_incr_dir" ||
9175            { { echo "$as_me:9175: error: cannot create \"$ac_dir\"" >&5
9176    echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9177       { (exit 1); exit 1; }; }
9178      ;;      ;;
9179    esac    esac
9180  done; }  done; }
9181    
       fi  
9182        rm -f $ac_file        rm -f $ac_file
9183        mv $tmp/config.h $ac_file        mv $tmp/config.h $ac_file
9184      fi      fi
# Line 7906  done; } Line 9186  done; }
9186      cat $tmp/config.h      cat $tmp/config.h
9187      rm -f $tmp/config.h      rm -f $tmp/config.h
9188    fi    fi
9189      # Run the commands associated with the file.
9190      case $ac_file in
9191        config.h ) # update the timestamp
9192    echo timestamp >"./stamp-h1"
9193     ;;
9194      esac
9195  done  done
9196  EOF  _ACEOF
9197  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
9198    
9199  #  #
9200  # CONFIG_COMMANDS section.  # CONFIG_COMMANDS section.
# Line 7916  cat >>$CONFIG_STATUS <<\EOF Line 9202  cat >>$CONFIG_STATUS <<\EOF
9202  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9203    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9204    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9205      ac_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9206             X"$ac_dest" : 'X\(//\)[^/]' \| \
9207             X"$ac_dest" : 'X\(//\)$' \| \
9208             X"$ac_dest" : 'X\(/\)' \| \
9209             .     : '\(.\)' 2>/dev/null ||
9210    echo X"$ac_dest" |
9211        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9212              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9213              /^X\(\/\/\)$/{ s//\1/; q; }
9214              /^X\(\/\).*/{ s//\1/; q; }
9215              s/.*/./; q'`
9216      if test "$ac_dir" != .; then
9217      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\./,,'`
9218      # A "../" for each directory in $ac_dir_suffix.
9219      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9220    else
9221      ac_dir_suffix= ac_top_builddir=
9222    fi
9223    
9224    case $srcdir in
9225      .)  # No --srcdir option.  We are building in place.
9226        ac_srcdir=.
9227        if test -z "$ac_top_builddir"; then
9228           ac_top_srcdir=.
9229        else
9230           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9231        fi ;;
9232      [\\/]* | ?:[\\/]* )  # Absolute path.
9233        ac_srcdir=$srcdir$ac_dir_suffix;
9234        ac_top_srcdir=$srcdir ;;
9235      *) # Relative path.
9236        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9237        ac_top_srcdir=$ac_top_builddir$srcdir ;;
9238    esac
9239    
9240      { echo "$as_me:9240: executing $ac_dest commands" >&5
9241    echo "$as_me: executing $ac_dest commands" >&6;}
9242    case $ac_dest in    case $ac_dest in
9243      default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;      default-1 )
9244    test x"$AMDEP_TRUE" != x"" ||
9245    for mf in $CONFIG_FILES; do
9246      case "$mf" in
9247      Makefile) dirpart=.;;
9248      */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
9249      *) continue;;
9250      esac
9251      grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9252      # Extract the definition of DEP_FILES from the Makefile without
9253      # running `make'.
9254      DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9255      test -z "$DEPDIR" && continue
9256      # When using ansi2knr, U may be empty or an underscore; expand it
9257      U=`sed -n -e '/^U = / s///p' < "$mf"`
9258      test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9259      # We invoke sed twice because it is the simplest approach to
9260      # changing $(DEPDIR) to its actual value in the expansion.
9261      for file in `sed -n -e '
9262        /^DEP_FILES = .*\\\\$/ {
9263          s/^DEP_FILES = //
9264          :loop
9265            s/\\\\$//
9266            p
9267            n
9268            /\\\\$/ b loop
9269          p
9270        }
9271        /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9272           sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9273        # Make sure the directory exists.
9274        test -f "$dirpart/$file" && continue
9275        fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
9276        $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
9277        # echo "creating $dirpart/$file"
9278        echo '# dummy' > "$dirpart/$file"
9279      done
9280    done
9281     ;;
9282      default-2 ) for ac_file in $CONFIG_FILES; do      default-2 ) for ac_file in $CONFIG_FILES; do
9283          # Support "outfile[:infile[:infile...]]"          # Support "outfile[:infile[:infile...]]"
9284          case "$ac_file" in          case "$ac_file" in
# Line 7950  for ac_file in : $CONFIG_COMMANDS; do te Line 9310  for ac_file in : $CONFIG_COMMANDS; do te
9310        done ;;        done ;;
9311    esac    esac
9312  done  done
9313  EOF  _ACEOF
9314    
9315  cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\_ACEOF
9316    
9317  { (exit 0); exit 0; }  { (exit 0); exit 0; }
9318  EOF  _ACEOF
9319  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
9320  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
9321    
# Line 7976  if test "$no_create" != yes; then Line 9336  if test "$no_create" != yes; then
9336    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
9337    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || { (exit 1); exit 1; }
9338  fi  fi
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.7.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26