ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/configure
(Generate patch)

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2024 by gezelter, Tue Feb 15 05:05:33 2005 UTC vs.
Revision 2510 by gezelter, Thu Dec 15 14:47:17 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.57 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 < # Free Software Foundation, Inc.
7 > # Copyright (C) 2003 Free Software Foundation, Inc.
8   # This configure script is free software; the Free Software Foundation
9   # gives unlimited permission to copy, distribute and modify it.
10   ## --------------------- ##
# Line 22 | Line 21 | fi
21   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22    set -o posix
23   fi
24 + DUALCASE=1; export DUALCASE # for MKS sh
25  
26   # Support unset when possible.
27 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
27 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28    as_unset=unset
29   else
30    as_unset=false
# Line 43 | Line 43 | do
43    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44    LC_TELEPHONE LC_TIME
45   do
46 <  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47      eval $as_var=C; export $as_var
48    else
49      $as_unset $as_var
# Line 220 | Line 220 | else
220   if mkdir -p . 2>/dev/null; then
221    as_mkdir_p=:
222   else
223 +  test -d ./-p && rmdir ./-p
224    as_mkdir_p=false
225   fi
226  
227   as_executable_p="test -f"
228  
229   # Sed expression to map a string onto a valid CPP name.
230 < as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231  
232   # Sed expression to map a string onto a valid variable name.
233 < as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234  
235  
236   # IFS
# Line 311 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 670 | Line 671 | for ac_var in bindir sbindir libexecdir datadir syscon
671  
672   # Be sure to have absolute paths.
673   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 <              localstatedir libdir includedir oldincludedir infodir mandir
674 >              localstatedir libdir includedir oldincludedir infodir mandir
675   do
676    eval ac_val=$`echo $ac_var`
677    case $ac_val in
# Line 710 | Line 711 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711    # Try the directory containing this script, then its parent.
712    ac_confdir=`(dirname "$0") 2>/dev/null ||
713   $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 <         X"$0" : 'X\(//\)[^/]' \| \
715 <         X"$0" : 'X\(//\)$' \| \
716 <         X"$0" : 'X\(/\)' \| \
717 <         .     : '\(.\)' 2>/dev/null ||
714 >         X"$0" : 'X\(//\)[^/]' \| \
715 >         X"$0" : 'X\(//\)$' \| \
716 >         X"$0" : 'X\(/\)' \| \
717 >         .     : '\(.\)' 2>/dev/null ||
718   echo X"$0" |
719      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 776 | Line 777 | ac_env_F90_set=${F90+set}
777   ac_env_CXXFLAGS_value=$CXXFLAGS
778   ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
779   ac_cv_env_CXXFLAGS_value=$CXXFLAGS
780 + ac_env_CPP_set=${CPP+set}
781 + ac_env_CPP_value=$CPP
782 + ac_cv_env_CPP_set=${CPP+set}
783 + ac_cv_env_CPP_value=$CPP
784   ac_env_F90_set=${F90+set}
785   ac_env_F90_value=$F90
786   ac_cv_env_F90_set=${F90+set}
# Line 784 | Line 789 | ac_env_CPP_set=${CPP+set}
789   ac_env_F90FLAGS_value=$F90FLAGS
790   ac_cv_env_F90FLAGS_set=${F90FLAGS+set}
791   ac_cv_env_F90FLAGS_value=$F90FLAGS
792 < ac_env_CPP_set=${CPP+set}
793 < ac_env_CPP_value=$CPP
794 < ac_cv_env_CPP_set=${CPP+set}
795 < ac_cv_env_CPP_value=$CPP
792 > ac_env_CXXCPP_set=${CXXCPP+set}
793 > ac_env_CXXCPP_value=$CXXCPP
794 > ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 > ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 821 | Line 826 | Installation directories:
826    cat <<_ACEOF
827   Installation directories:
828    --prefix=PREFIX         install architecture-independent files in PREFIX
829 <                          [$ac_default_prefix]
829 >                          [$ac_default_prefix]
830    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
831 <                          [PREFIX]
831 >                          [PREFIX]
832  
833   By default, \`make install' will install all the files in
834   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 874 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888 <  --with-sprng=<prefix>   compile with SPRNG installed in <prefix>
879 <                          [default=/usr/local]
880 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
888 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
890   Some influential environment variables:
891    CC          C compiler command
# Line 888 | Line 896 | Some influential environment variables:
896                headers in a nonstandard directory <include dir>
897    CXX         C++ compiler command
898    CXXFLAGS    C++ compiler flags
899 +  CPP         C preprocessor
900    F90         Fortran 90 compiler command
901    F90FLAGS    Fortran 90 compiler flags
902 <  CPP         C preprocessor
902 >  CXXCPP      C++ preprocessor
903  
904   Use these variables to override the choices made by `configure' or to help
905   it to find libraries and programs with nonstandard names/locations.
# Line 929 | Line 938 | esac
938      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939      ac_top_srcdir=$ac_top_builddir$srcdir ;;
940   esac
932 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
933 # absolute.
934 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
935 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
936 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
937 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
941  
942 + # Do not use `cd foo && pwd` to compute absolute paths, because
943 + # the directories may not exist.
944 + case `pwd` in
945 + .) ac_abs_builddir="$ac_dir";;
946 + *)
947 +  case "$ac_dir" in
948 +  .) ac_abs_builddir=`pwd`;;
949 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
951 +  esac;;
952 + esac
953 + case $ac_abs_builddir in
954 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
955 + *)
956 +  case ${ac_top_builddir}. in
957 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
958 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
960 +  esac;;
961 + esac
962 + case $ac_abs_builddir in
963 + .) ac_abs_srcdir=$ac_srcdir;;
964 + *)
965 +  case $ac_srcdir in
966 +  .) ac_abs_srcdir=$ac_abs_builddir;;
967 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
969 +  esac;;
970 + esac
971 + case $ac_abs_builddir in
972 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
973 + *)
974 +  case $ac_top_srcdir in
975 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
978 +  esac;;
979 + esac
980 +
981      cd $ac_dir
982      # Check for guested configure; otherwise get Cygnus style configure.
983      if test -f $ac_srcdir/configure.gnu; then
# Line 945 | Line 987 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir &
987        echo
988        $SHELL $ac_srcdir/configure  --help=recursive
989      elif test -f $ac_srcdir/configure.ac ||
990 <           test -f $ac_srcdir/configure.in; then
990 >           test -f $ac_srcdir/configure.in; then
991        echo
992        $ac_configure --help
993      else
# Line 959 | Line 1001 | generated by GNU Autoconf 2.57
1001   if $ac_init_version; then
1002    cat <<\_ACEOF
1003   OOPSE configure 2.0
1004 < generated by GNU Autoconf 2.57
1004 > generated by GNU Autoconf 2.59
1005  
1006 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
965 < Free Software Foundation, Inc.
1006 > Copyright (C) 2003 Free Software Foundation, Inc.
1007   This configure script is free software; the Free Software Foundation
1008   gives unlimited permission to copy, distribute and modify it.
1009   _ACEOF
# Line 974 | Line 1015 | generated by GNU Autoconf 2.57.  Invocation command li
1015   running configure, to aid debugging if configure makes a mistake.
1016  
1017   It was created by OOPSE $as_me 2.0, which was
1018 < generated by GNU Autoconf 2.57.  Invocation command line was
1018 > generated by GNU Autoconf 2.59.  Invocation command line was
1019  
1020    $ $0 $@
1021  
# Line 1051 | Line 1092 | do
1092      2)
1093        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094        if test $ac_must_keep_next = true; then
1095 <        ac_must_keep_next=false # Got value, back to normal.
1095 >        ac_must_keep_next=false # Got value, back to normal.
1096        else
1097 <        case $ac_arg in
1098 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1099 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 <          | -with-* | --with-* | -without-* | --without-* | --x)
1102 <            case "$ac_configure_args0 " in
1103 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 <            esac
1105 <            ;;
1106 <          -* ) ac_must_keep_next=true ;;
1107 <        esac
1097 >        case $ac_arg in
1098 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1099 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 >          | -with-* | --with-* | -without-* | --without-* | --x)
1102 >            case "$ac_configure_args0 " in
1103 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 >            esac
1105 >            ;;
1106 >          -* ) ac_must_keep_next=true ;;
1107 >        esac
1108        fi
1109        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110        # Get rid of the leading space.
# Line 1097 | Line 1138 | _ASBOX
1138      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139      *ac_space=\ *)
1140        sed -n \
1141 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1141 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143        ;;
1144      *)
1145        sed -n \
1146 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147        ;;
1148      esac;
1149   }
# Line 1131 | Line 1172 | _ASBOX
1172        for ac_var in $ac_subst_files
1173        do
1174          eval ac_val=$`echo $ac_var`
1175 <        echo "$ac_var='"'"'$ac_val'"'"'"
1175 >        echo "$ac_var='"'"'$ac_val'"'"'"
1176        done | sort
1177        echo
1178      fi
# Line 1150 | Line 1191 | _ASBOX
1191        echo "$as_me: caught signal $ac_signal"
1192      echo "$as_me: exit $exit_status"
1193    } >&5
1194 <  rm -f core core.* *.core &&
1194 >  rm -f core *.core &&
1195    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196      exit $exit_status
1197       ' 0
# Line 1230 | Line 1271 | for ac_var in `(set) 2>&1 |
1271   # value.
1272   ac_cache_corrupted=false
1273   for ac_var in `(set) 2>&1 |
1274 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1274 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276    eval ac_new_set=\$ac_env_${ac_var}_set
1277    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1247 | Line 1288 | echo "$as_me: error: \`$ac_var' was not set in the pre
1288      ,);;
1289      *)
1290        if test "x$ac_old_val" != "x$ac_new_val"; then
1291 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1291 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1294 < echo "$as_me:   former value:  $ac_old_val" >&2;}
1295 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1293 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1294 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1295 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1296   echo "$as_me:   current value: $ac_new_val" >&2;}
1297 <        ac_cache_corrupted=:
1297 >        ac_cache_corrupted=:
1298        fi;;
1299    esac
1300    # Pass precious variables to config.status.
# Line 1791 | Line 1832 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1832   # Figure out how the Fortran 90 compiler constructs module file names
1833   #
1834   # AC_F90_MODULE_NAMES
1835 +
1836 +
1837 +
1838 +
1839 +
1840 +
1841 +
1842 +
1843 +
1844 +
1845 +
1846 +
1847 +
1848 +
1849 +
1850 +
1851 +
1852 +
1853 +
1854 +
1855 +
1856 +
1857 +
1858 +
1859 +
1860 +
1861 +
1862 +
1863  
1864  
1865  
# Line 1816 | Line 1885 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1885  
1886  
1887  
1888 + #
1889 + #
1890 + #
1891  
1892  
1893  
# Line 1850 | Line 1922 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1922  
1923  
1924  
1925 +
1926 +
1927 +
1928 +
1929 +
1930 +
1931 +
1932 +
1933   # set program name
1934   PROGNAME="oopse"
1935  
# Line 1937 | Line 2017 | if test -n "$ac_tool_prefix"; then
2017   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2018   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2019   if test -n "$ac_tool_prefix"; then
2020 <  for ac_prog in icc xlc gcc cc
2020 >  for ac_prog in pathcc icc xlc gcc cc
2021    do
2022      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2023   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 1979 | Line 2059 | if test -z "$CC"; then
2059   fi
2060   if test -z "$CC"; then
2061    ac_ct_CC=$CC
2062 <  for ac_prog in icc xlc gcc cc
2062 >  for ac_prog in pathcc icc xlc gcc cc
2063   do
2064    # Extract the first word of "$ac_prog", so it can be a program name with args.
2065   set dummy $ac_prog; ac_word=$2
# Line 2050 | Line 2130 | cat >conftest.$ac_ext <<_ACEOF
2130    (exit $ac_status); }
2131  
2132   cat >conftest.$ac_ext <<_ACEOF
2053 #line $LINENO "configure"
2133   /* confdefs.h.  */
2134   _ACEOF
2135   cat confdefs.h >>conftest.$ac_ext
# Line 2070 | Line 2149 | echo "$as_me:$LINENO: checking for C compiler default
2149   # Try to create an executable without -o first, disregard a.out.
2150   # It will help us diagnose broken compilers, and finding out an intuition
2151   # of exeext.
2152 < echo "$as_me:$LINENO: checking for C compiler default output" >&5
2153 < echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2152 > echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2153 > echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2154   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2155   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2156    (eval $ac_link_default) 2>&5
# Line 2091 | Line 2170 | do
2170    test -f "$ac_file" || continue
2171    case $ac_file in
2172      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2173 <        ;;
2173 >        ;;
2174      conftest.$ac_ext )
2175 <        # This is the source file.
2176 <        ;;
2175 >        # This is the source file.
2176 >        ;;
2177      [ab].out )
2178 <        # We found the default executable, but exeext='' is most
2179 <        # certainly right.
2180 <        break;;
2178 >        # We found the default executable, but exeext='' is most
2179 >        # certainly right.
2180 >        break;;
2181      *.* )
2182 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2183 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2184 <        # but it would be cool to find out if it's true.  Does anybody
2185 <        # maintain Libtool? --akim.
2186 <        export ac_cv_exeext
2187 <        break;;
2182 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2183 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2184 >        # but it would be cool to find out if it's true.  Does anybody
2185 >        # maintain Libtool? --akim.
2186 >        export ac_cv_exeext
2187 >        break;;
2188      * )
2189 <        break;;
2189 >        break;;
2190    esac
2191   done
2192   else
# Line 2181 | Line 2260 | for ac_file in conftest.exe conftest conftest.*; do
2260    case $ac_file in
2261      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2262      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2263 <          export ac_cv_exeext
2264 <          break;;
2263 >          export ac_cv_exeext
2264 >          break;;
2265      * ) break;;
2266    esac
2267   done
# Line 2207 | Line 2286 | else
2286    echo $ECHO_N "(cached) $ECHO_C" >&6
2287   else
2288    cat >conftest.$ac_ext <<_ACEOF
2210 #line $LINENO "configure"
2289   /* confdefs.h.  */
2290   _ACEOF
2291   cat confdefs.h >>conftest.$ac_ext
# Line 2258 | Line 2336 | else
2336    echo $ECHO_N "(cached) $ECHO_C" >&6
2337   else
2338    cat >conftest.$ac_ext <<_ACEOF
2261 #line $LINENO "configure"
2339   /* confdefs.h.  */
2340   _ACEOF
2341   cat confdefs.h >>conftest.$ac_ext
# Line 2278 | Line 2355 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355   _ACEOF
2356   rm -f conftest.$ac_objext
2357   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 <  (eval $ac_compile) 2>&5
2358 >  (eval $ac_compile) 2>conftest.er1
2359    ac_status=$?
2360 +  grep -v '^ *+' conftest.er1 >conftest.err
2361 +  rm -f conftest.er1
2362 +  cat conftest.err >&5
2363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364    (exit $ac_status); } &&
2365 <         { ac_try='test -s conftest.$ac_objext'
2365 >         { ac_try='test -z "$ac_c_werror_flag"
2366 >                         || test ! -s conftest.err'
2367    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368    (eval $ac_try) 2>&5
2369    ac_status=$?
2370    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 +  (exit $ac_status); }; } &&
2372 +         { ac_try='test -s conftest.$ac_objext'
2373 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 +  (eval $ac_try) 2>&5
2375 +  ac_status=$?
2376 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377    (exit $ac_status); }; }; then
2378    ac_compiler_gnu=yes
2379   else
# Line 2295 | Line 2382 | rm -f conftest.$ac_objext conftest.$ac_ext
2382  
2383   ac_compiler_gnu=no
2384   fi
2385 < rm -f conftest.$ac_objext conftest.$ac_ext
2385 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2386   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2387  
2388   fi
# Line 2311 | Line 2398 | else
2398    echo $ECHO_N "(cached) $ECHO_C" >&6
2399   else
2400    cat >conftest.$ac_ext <<_ACEOF
2314 #line $LINENO "configure"
2401   /* confdefs.h.  */
2402   _ACEOF
2403   cat confdefs.h >>conftest.$ac_ext
# Line 2328 | Line 2414 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414   _ACEOF
2415   rm -f conftest.$ac_objext
2416   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417 <  (eval $ac_compile) 2>&5
2417 >  (eval $ac_compile) 2>conftest.er1
2418    ac_status=$?
2419 +  grep -v '^ *+' conftest.er1 >conftest.err
2420 +  rm -f conftest.er1
2421 +  cat conftest.err >&5
2422    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423    (exit $ac_status); } &&
2424 <         { ac_try='test -s conftest.$ac_objext'
2424 >         { ac_try='test -z "$ac_c_werror_flag"
2425 >                         || test ! -s conftest.err'
2426    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427    (eval $ac_try) 2>&5
2428    ac_status=$?
2429    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 +  (exit $ac_status); }; } &&
2431 +         { ac_try='test -s conftest.$ac_objext'
2432 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 +  (eval $ac_try) 2>&5
2434 +  ac_status=$?
2435 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436    (exit $ac_status); }; }; then
2437    ac_cv_prog_cc_g=yes
2438   else
# Line 2345 | Line 2441 | rm -f conftest.$ac_objext conftest.$ac_ext
2441  
2442   ac_cv_prog_cc_g=no
2443   fi
2444 < rm -f conftest.$ac_objext conftest.$ac_ext
2444 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2445   fi
2446   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2447   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2372 | Line 2468 | cat >conftest.$ac_ext <<_ACEOF
2468    ac_cv_prog_cc_stdc=no
2469   ac_save_CC=$CC
2470   cat >conftest.$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2471   /* confdefs.h.  */
2472   _ACEOF
2473   cat confdefs.h >>conftest.$ac_ext
# Line 2400 | Line 2495 | int test (int i, double x);
2495    va_end (v);
2496    return s;
2497   }
2498 +
2499 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2500 +   function prototypes and stuff, but not '\xHH' hex character constants.
2501 +   These don't provoke an error unfortunately, instead are silently treated
2502 +   as 'x'.  The following induces an error, until -std1 is added to get
2503 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2504 +   array size at least.  It's necessary to write '\x00'==0 to get something
2505 +   that's true only with -std1.  */
2506 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2507 +
2508   int test (int i, double x);
2509   struct s1 {int (*f) (int a);};
2510   struct s2 {int (*f) (double a);};
# Line 2426 | Line 2531 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531    CC="$ac_save_CC $ac_arg"
2532    rm -f conftest.$ac_objext
2533   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 <  (eval $ac_compile) 2>&5
2534 >  (eval $ac_compile) 2>conftest.er1
2535    ac_status=$?
2536 +  grep -v '^ *+' conftest.er1 >conftest.err
2537 +  rm -f conftest.er1
2538 +  cat conftest.err >&5
2539    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540    (exit $ac_status); } &&
2541 <         { ac_try='test -s conftest.$ac_objext'
2541 >         { ac_try='test -z "$ac_c_werror_flag"
2542 >                         || test ! -s conftest.err'
2543    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544    (eval $ac_try) 2>&5
2545    ac_status=$?
2546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 +  (exit $ac_status); }; } &&
2548 +         { ac_try='test -s conftest.$ac_objext'
2549 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 +  (eval $ac_try) 2>&5
2551 +  ac_status=$?
2552 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553    (exit $ac_status); }; }; then
2554    ac_cv_prog_cc_stdc=$ac_arg
2555   break
# Line 2443 | Line 2558 | rm -f conftest.$ac_objext
2558   sed 's/^/| /' conftest.$ac_ext >&5
2559  
2560   fi
2561 < rm -f conftest.$ac_objext
2561 > rm -f conftest.err conftest.$ac_objext
2562   done
2563   rm -f conftest.$ac_ext conftest.$ac_objext
2564   CC=$ac_save_CC
# Line 2471 | Line 2586 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586   _ACEOF
2587   rm -f conftest.$ac_objext
2588   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 <  (eval $ac_compile) 2>&5
2589 >  (eval $ac_compile) 2>conftest.er1
2590    ac_status=$?
2591 +  grep -v '^ *+' conftest.er1 >conftest.err
2592 +  rm -f conftest.er1
2593 +  cat conftest.err >&5
2594    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595    (exit $ac_status); } &&
2596 <         { ac_try='test -s conftest.$ac_objext'
2596 >         { ac_try='test -z "$ac_c_werror_flag"
2597 >                         || test ! -s conftest.err'
2598    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599    (eval $ac_try) 2>&5
2600    ac_status=$?
2601    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 +  (exit $ac_status); }; } &&
2603 +         { ac_try='test -s conftest.$ac_objext'
2604 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 +  (eval $ac_try) 2>&5
2606 +  ac_status=$?
2607 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608    (exit $ac_status); }; }; then
2609    for ac_declaration in \
2610 <   ''\
2486 <   '#include <stdlib.h>' \
2610 >   '' \
2611     'extern "C" void std::exit (int) throw (); using std::exit;' \
2612     'extern "C" void std::exit (int); using std::exit;' \
2613     'extern "C" void exit (int) throw ();' \
# Line 2491 | Line 2615 | do
2615     'void exit (int);'
2616   do
2617    cat >conftest.$ac_ext <<_ACEOF
2494 #line $LINENO "configure"
2618   /* confdefs.h.  */
2619   _ACEOF
2620   cat confdefs.h >>conftest.$ac_ext
2621   cat >>conftest.$ac_ext <<_ACEOF
2622   /* end confdefs.h.  */
2500 #include <stdlib.h>
2623   $ac_declaration
2624 + #include <stdlib.h>
2625   int
2626   main ()
2627   {
# Line 2509 | Line 2632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632   _ACEOF
2633   rm -f conftest.$ac_objext
2634   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2635 <  (eval $ac_compile) 2>&5
2635 >  (eval $ac_compile) 2>conftest.er1
2636    ac_status=$?
2637 +  grep -v '^ *+' conftest.er1 >conftest.err
2638 +  rm -f conftest.er1
2639 +  cat conftest.err >&5
2640    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641    (exit $ac_status); } &&
2642 <         { ac_try='test -s conftest.$ac_objext'
2642 >         { ac_try='test -z "$ac_c_werror_flag"
2643 >                         || test ! -s conftest.err'
2644    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645    (eval $ac_try) 2>&5
2646    ac_status=$?
2647    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 +  (exit $ac_status); }; } &&
2649 +         { ac_try='test -s conftest.$ac_objext'
2650 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 +  (eval $ac_try) 2>&5
2652 +  ac_status=$?
2653 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654    (exit $ac_status); }; }; then
2655    :
2656   else
# Line 2526 | Line 2659 | rm -f conftest.$ac_objext conftest.$ac_ext
2659  
2660   continue
2661   fi
2662 < rm -f conftest.$ac_objext conftest.$ac_ext
2662 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2663    cat >conftest.$ac_ext <<_ACEOF
2531 #line $LINENO "configure"
2664   /* confdefs.h.  */
2665   _ACEOF
2666   cat confdefs.h >>conftest.$ac_ext
# Line 2545 | Line 2677 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2677   _ACEOF
2678   rm -f conftest.$ac_objext
2679   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680 <  (eval $ac_compile) 2>&5
2680 >  (eval $ac_compile) 2>conftest.er1
2681    ac_status=$?
2682 +  grep -v '^ *+' conftest.er1 >conftest.err
2683 +  rm -f conftest.er1
2684 +  cat conftest.err >&5
2685    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686    (exit $ac_status); } &&
2687 <         { ac_try='test -s conftest.$ac_objext'
2687 >         { ac_try='test -z "$ac_c_werror_flag"
2688 >                         || test ! -s conftest.err'
2689 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 >  (eval $ac_try) 2>&5
2691 >  ac_status=$?
2692 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 >  (exit $ac_status); }; } &&
2694 >         { ac_try='test -s conftest.$ac_objext'
2695    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696    (eval $ac_try) 2>&5
2697    ac_status=$?
# Line 2561 | Line 2703 | rm -f conftest.$ac_objext conftest.$ac_ext
2703   sed 's/^/| /' conftest.$ac_ext >&5
2704  
2705   fi
2706 < rm -f conftest.$ac_objext conftest.$ac_ext
2706 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2707   done
2708   rm -f conftest*
2709   if test -n "$ac_declaration"; then
# Line 2575 | Line 2717 | rm -f conftest.$ac_objext conftest.$ac_ext
2717   sed 's/^/| /' conftest.$ac_ext >&5
2718  
2719   fi
2720 < rm -f conftest.$ac_objext conftest.$ac_ext
2720 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2721   ac_ext=c
2722   ac_cpp='$CPP $CPPFLAGS'
2723   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2589 | Line 2731 | if test -n "$ac_tool_prefix"; then
2731   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2732   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2733   if test -n "$ac_tool_prefix"; then
2734 <  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2734 >  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
2735    do
2736      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2631 | Line 2773 | if test -z "$CXX"; then
2773   fi
2774   if test -z "$CXX"; then
2775    ac_ct_CXX=$CXX
2776 <  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2776 >  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
2777   do
2778    # Extract the first word of "$ac_prog", so it can be a program name with args.
2779   set dummy $ac_prog; ac_word=$2
# Line 2702 | Line 2844 | else
2844    echo $ECHO_N "(cached) $ECHO_C" >&6
2845   else
2846    cat >conftest.$ac_ext <<_ACEOF
2705 #line $LINENO "configure"
2847   /* confdefs.h.  */
2848   _ACEOF
2849   cat confdefs.h >>conftest.$ac_ext
# Line 2722 | Line 2863 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863   _ACEOF
2864   rm -f conftest.$ac_objext
2865   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866 <  (eval $ac_compile) 2>&5
2866 >  (eval $ac_compile) 2>conftest.er1
2867    ac_status=$?
2868 +  grep -v '^ *+' conftest.er1 >conftest.err
2869 +  rm -f conftest.er1
2870 +  cat conftest.err >&5
2871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872    (exit $ac_status); } &&
2873 <         { ac_try='test -s conftest.$ac_objext'
2873 >         { ac_try='test -z "$ac_cxx_werror_flag"
2874 >                         || test ! -s conftest.err'
2875    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876    (eval $ac_try) 2>&5
2877    ac_status=$?
2878    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 +  (exit $ac_status); }; } &&
2880 +         { ac_try='test -s conftest.$ac_objext'
2881 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 +  (eval $ac_try) 2>&5
2883 +  ac_status=$?
2884 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885    (exit $ac_status); }; }; then
2886    ac_compiler_gnu=yes
2887   else
# Line 2739 | Line 2890 | rm -f conftest.$ac_objext conftest.$ac_ext
2890  
2891   ac_compiler_gnu=no
2892   fi
2893 < rm -f conftest.$ac_objext conftest.$ac_ext
2893 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2894   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2895  
2896   fi
# Line 2755 | Line 2906 | else
2906    echo $ECHO_N "(cached) $ECHO_C" >&6
2907   else
2908    cat >conftest.$ac_ext <<_ACEOF
2758 #line $LINENO "configure"
2909   /* confdefs.h.  */
2910   _ACEOF
2911   cat confdefs.h >>conftest.$ac_ext
# Line 2772 | Line 2922 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2922   _ACEOF
2923   rm -f conftest.$ac_objext
2924   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 <  (eval $ac_compile) 2>&5
2925 >  (eval $ac_compile) 2>conftest.er1
2926    ac_status=$?
2927 +  grep -v '^ *+' conftest.er1 >conftest.err
2928 +  rm -f conftest.er1
2929 +  cat conftest.err >&5
2930    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931    (exit $ac_status); } &&
2932 <         { ac_try='test -s conftest.$ac_objext'
2932 >         { ac_try='test -z "$ac_cxx_werror_flag"
2933 >                         || test ! -s conftest.err'
2934    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935    (eval $ac_try) 2>&5
2936    ac_status=$?
2937    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 +  (exit $ac_status); }; } &&
2939 +         { ac_try='test -s conftest.$ac_objext'
2940 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 +  (eval $ac_try) 2>&5
2942 +  ac_status=$?
2943 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944    (exit $ac_status); }; }; then
2945    ac_cv_prog_cxx_g=yes
2946   else
# Line 2789 | Line 2949 | rm -f conftest.$ac_objext conftest.$ac_ext
2949  
2950   ac_cv_prog_cxx_g=no
2951   fi
2952 < rm -f conftest.$ac_objext conftest.$ac_ext
2952 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953   fi
2954   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2955   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2809 | Line 2969 | for ac_declaration in \
2969    fi
2970   fi
2971   for ac_declaration in \
2972 <   ''\
2813 <   '#include <stdlib.h>' \
2972 >   '' \
2973     'extern "C" void std::exit (int) throw (); using std::exit;' \
2974     'extern "C" void std::exit (int); using std::exit;' \
2975     'extern "C" void exit (int) throw ();' \
# Line 2818 | Line 2977 | do
2977     'void exit (int);'
2978   do
2979    cat >conftest.$ac_ext <<_ACEOF
2821 #line $LINENO "configure"
2980   /* confdefs.h.  */
2981   _ACEOF
2982   cat confdefs.h >>conftest.$ac_ext
2983   cat >>conftest.$ac_ext <<_ACEOF
2984   /* end confdefs.h.  */
2827 #include <stdlib.h>
2985   $ac_declaration
2986 + #include <stdlib.h>
2987   int
2988   main ()
2989   {
# Line 2836 | Line 2994 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994   _ACEOF
2995   rm -f conftest.$ac_objext
2996   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2997 <  (eval $ac_compile) 2>&5
2997 >  (eval $ac_compile) 2>conftest.er1
2998    ac_status=$?
2999 +  grep -v '^ *+' conftest.er1 >conftest.err
3000 +  rm -f conftest.er1
3001 +  cat conftest.err >&5
3002    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003    (exit $ac_status); } &&
3004 <         { ac_try='test -s conftest.$ac_objext'
3004 >         { ac_try='test -z "$ac_cxx_werror_flag"
3005 >                         || test ! -s conftest.err'
3006 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 >  (eval $ac_try) 2>&5
3008 >  ac_status=$?
3009 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 >  (exit $ac_status); }; } &&
3011 >         { ac_try='test -s conftest.$ac_objext'
3012    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013    (eval $ac_try) 2>&5
3014    ac_status=$?
# Line 2853 | Line 3021 | rm -f conftest.$ac_objext conftest.$ac_ext
3021  
3022   continue
3023   fi
3024 < rm -f conftest.$ac_objext conftest.$ac_ext
3024 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3025    cat >conftest.$ac_ext <<_ACEOF
2858 #line $LINENO "configure"
3026   /* confdefs.h.  */
3027   _ACEOF
3028   cat confdefs.h >>conftest.$ac_ext
# Line 2872 | Line 3039 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3039   _ACEOF
3040   rm -f conftest.$ac_objext
3041   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 <  (eval $ac_compile) 2>&5
3042 >  (eval $ac_compile) 2>conftest.er1
3043    ac_status=$?
3044 +  grep -v '^ *+' conftest.er1 >conftest.err
3045 +  rm -f conftest.er1
3046 +  cat conftest.err >&5
3047    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048    (exit $ac_status); } &&
3049 <         { ac_try='test -s conftest.$ac_objext'
3049 >         { ac_try='test -z "$ac_cxx_werror_flag"
3050 >                         || test ! -s conftest.err'
3051    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052    (eval $ac_try) 2>&5
3053    ac_status=$?
3054    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 +  (exit $ac_status); }; } &&
3056 +         { ac_try='test -s conftest.$ac_objext'
3057 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 +  (eval $ac_try) 2>&5
3059 +  ac_status=$?
3060 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061    (exit $ac_status); }; }; then
3062    break
3063   else
# Line 2888 | Line 3065 | rm -f conftest.$ac_objext conftest.$ac_ext
3065   sed 's/^/| /' conftest.$ac_ext >&5
3066  
3067   fi
3068 < rm -f conftest.$ac_objext conftest.$ac_ext
3068 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3069   done
3070   rm -f conftest*
3071   if test -n "$ac_declaration"; then
# Line 2904 | Line 3081 | OOPSE_TEMPLATE_FLAGS=""
3081   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082  
3083  
3084 + ac_ext=c
3085 + ac_cpp='$CPP $CPPFLAGS'
3086 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3089 + echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3090 + echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3091 + # On Suns, sometimes $CPP names a directory.
3092 + if test -n "$CPP" && test -d "$CPP"; then
3093 +  CPP=
3094 + fi
3095 + if test -z "$CPP"; then
3096 +  if test "${ac_cv_prog_CPP+set}" = set; then
3097 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3098 + else
3099 +      # Double quotes because CPP needs to be expanded
3100 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3101 +    do
3102 +      ac_preproc_ok=false
3103 + for ac_c_preproc_warn_flag in '' yes
3104 + do
3105 +  # Use a header file that comes with gcc, so configuring glibc
3106 +  # with a fresh cross-compiler works.
3107 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3108 +  # <limits.h> exists even on freestanding compilers.
3109 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3110 +  # not just through cpp. "Syntax error" is here to catch this case.
3111 +  cat >conftest.$ac_ext <<_ACEOF
3112 + /* confdefs.h.  */
3113 + _ACEOF
3114 + cat confdefs.h >>conftest.$ac_ext
3115 + cat >>conftest.$ac_ext <<_ACEOF
3116 + /* end confdefs.h.  */
3117 + #ifdef __STDC__
3118 + # include <limits.h>
3119 + #else
3120 + # include <assert.h>
3121 + #endif
3122 +                     Syntax error
3123 + _ACEOF
3124 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3125 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3126 +  ac_status=$?
3127 +  grep -v '^ *+' conftest.er1 >conftest.err
3128 +  rm -f conftest.er1
3129 +  cat conftest.err >&5
3130 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 +  (exit $ac_status); } >/dev/null; then
3132 +  if test -s conftest.err; then
3133 +    ac_cpp_err=$ac_c_preproc_warn_flag
3134 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3135 +  else
3136 +    ac_cpp_err=
3137 +  fi
3138 + else
3139 +  ac_cpp_err=yes
3140 + fi
3141 + if test -z "$ac_cpp_err"; then
3142 +  :
3143 + else
3144 +  echo "$as_me: failed program was:" >&5
3145 + sed 's/^/| /' conftest.$ac_ext >&5
3146 +
3147 +  # Broken: fails on valid input.
3148 + continue
3149 + fi
3150 + rm -f conftest.err conftest.$ac_ext
3151 +
3152 +  # OK, works on sane cases.  Now check whether non-existent headers
3153 +  # can be detected and how.
3154 +  cat >conftest.$ac_ext <<_ACEOF
3155 + /* confdefs.h.  */
3156 + _ACEOF
3157 + cat confdefs.h >>conftest.$ac_ext
3158 + cat >>conftest.$ac_ext <<_ACEOF
3159 + /* end confdefs.h.  */
3160 + #include <ac_nonexistent.h>
3161 + _ACEOF
3162 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3163 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3164 +  ac_status=$?
3165 +  grep -v '^ *+' conftest.er1 >conftest.err
3166 +  rm -f conftest.er1
3167 +  cat conftest.err >&5
3168 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 +  (exit $ac_status); } >/dev/null; then
3170 +  if test -s conftest.err; then
3171 +    ac_cpp_err=$ac_c_preproc_warn_flag
3172 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3173 +  else
3174 +    ac_cpp_err=
3175 +  fi
3176 + else
3177 +  ac_cpp_err=yes
3178 + fi
3179 + if test -z "$ac_cpp_err"; then
3180 +  # Broken: success on invalid input.
3181 + continue
3182 + else
3183 +  echo "$as_me: failed program was:" >&5
3184 + sed 's/^/| /' conftest.$ac_ext >&5
3185 +
3186 +  # Passes both tests.
3187 + ac_preproc_ok=:
3188 + break
3189 + fi
3190 + rm -f conftest.err conftest.$ac_ext
3191 +
3192 + done
3193 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194 + rm -f conftest.err conftest.$ac_ext
3195 + if $ac_preproc_ok; then
3196 +  break
3197 + fi
3198 +
3199 +    done
3200 +    ac_cv_prog_CPP=$CPP
3201 +
3202 + fi
3203 +  CPP=$ac_cv_prog_CPP
3204 + else
3205 +  ac_cv_prog_CPP=$CPP
3206 + fi
3207 + echo "$as_me:$LINENO: result: $CPP" >&5
3208 + echo "${ECHO_T}$CPP" >&6
3209 + ac_preproc_ok=false
3210 + for ac_c_preproc_warn_flag in '' yes
3211 + do
3212 +  # Use a header file that comes with gcc, so configuring glibc
3213 +  # with a fresh cross-compiler works.
3214 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 +  # <limits.h> exists even on freestanding compilers.
3216 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3217 +  # not just through cpp. "Syntax error" is here to catch this case.
3218 +  cat >conftest.$ac_ext <<_ACEOF
3219 + /* confdefs.h.  */
3220 + _ACEOF
3221 + cat confdefs.h >>conftest.$ac_ext
3222 + cat >>conftest.$ac_ext <<_ACEOF
3223 + /* end confdefs.h.  */
3224 + #ifdef __STDC__
3225 + # include <limits.h>
3226 + #else
3227 + # include <assert.h>
3228 + #endif
3229 +                     Syntax error
3230 + _ACEOF
3231 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3232 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3233 +  ac_status=$?
3234 +  grep -v '^ *+' conftest.er1 >conftest.err
3235 +  rm -f conftest.er1
3236 +  cat conftest.err >&5
3237 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 +  (exit $ac_status); } >/dev/null; then
3239 +  if test -s conftest.err; then
3240 +    ac_cpp_err=$ac_c_preproc_warn_flag
3241 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3242 +  else
3243 +    ac_cpp_err=
3244 +  fi
3245 + else
3246 +  ac_cpp_err=yes
3247 + fi
3248 + if test -z "$ac_cpp_err"; then
3249 +  :
3250 + else
3251 +  echo "$as_me: failed program was:" >&5
3252 + sed 's/^/| /' conftest.$ac_ext >&5
3253 +
3254 +  # Broken: fails on valid input.
3255 + continue
3256 + fi
3257 + rm -f conftest.err conftest.$ac_ext
3258 +
3259 +  # OK, works on sane cases.  Now check whether non-existent headers
3260 +  # can be detected and how.
3261 +  cat >conftest.$ac_ext <<_ACEOF
3262 + /* confdefs.h.  */
3263 + _ACEOF
3264 + cat confdefs.h >>conftest.$ac_ext
3265 + cat >>conftest.$ac_ext <<_ACEOF
3266 + /* end confdefs.h.  */
3267 + #include <ac_nonexistent.h>
3268 + _ACEOF
3269 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3270 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3271 +  ac_status=$?
3272 +  grep -v '^ *+' conftest.er1 >conftest.err
3273 +  rm -f conftest.er1
3274 +  cat conftest.err >&5
3275 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 +  (exit $ac_status); } >/dev/null; then
3277 +  if test -s conftest.err; then
3278 +    ac_cpp_err=$ac_c_preproc_warn_flag
3279 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3280 +  else
3281 +    ac_cpp_err=
3282 +  fi
3283 + else
3284 +  ac_cpp_err=yes
3285 + fi
3286 + if test -z "$ac_cpp_err"; then
3287 +  # Broken: success on invalid input.
3288 + continue
3289 + else
3290 +  echo "$as_me: failed program was:" >&5
3291 + sed 's/^/| /' conftest.$ac_ext >&5
3292 +
3293 +  # Passes both tests.
3294 + ac_preproc_ok=:
3295 + break
3296 + fi
3297 + rm -f conftest.err conftest.$ac_ext
3298 +
3299 + done
3300 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3301 + rm -f conftest.err conftest.$ac_ext
3302 + if $ac_preproc_ok; then
3303 +  :
3304 + else
3305 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3306 + See \`config.log' for more details." >&5
3307 + echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3308 + See \`config.log' for more details." >&2;}
3309 +   { (exit 1); exit 1; }; }
3310 + fi
3311 +
3312 + ac_ext=c
3313 + ac_cpp='$CPP $CPPFLAGS'
3314 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 +
3318 +
3319 + echo "$as_me:$LINENO: checking for egrep" >&5
3320 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3321 + if test "${ac_cv_prog_egrep+set}" = set; then
3322 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3323 + else
3324 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3325 +    then ac_cv_prog_egrep='grep -E'
3326 +    else ac_cv_prog_egrep='egrep'
3327 +    fi
3328 + fi
3329 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3330 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3331 + EGREP=$ac_cv_prog_egrep
3332 +
3333 +
3334 +
3335   OOPSE_TEMPLATE_FLAGS=""
3336   if test $ac_cv_cxx_compiler_gnu = no; then
3337    echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
# Line 2965 | Line 3393 | if test -n "$ac_tool_prefix"; then
3393   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3395   if test -n "$ac_tool_prefix"; then
3396 <  for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3396 >  for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3397    do
3398      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3399   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 3007 | Line 3435 | if test -z "$F90"; then
3435   fi
3436   if test -z "$F90"; then
3437    ac_ct_F90=$F90
3438 <  for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3438 >  for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3439   do
3440    # Extract the first word of "$ac_prog", so it can be a program name with args.
3441   set dummy $ac_prog; ac_word=$2
# Line 3073 | Line 3501 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3501   _ACEOF
3502   rm -f conftest.$ac_objext
3503   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3504 <  (eval $ac_compile) 2>&5
3504 >  (eval $ac_compile) 2>conftest.er1
3505    ac_status=$?
3506 +  grep -v '^ *+' conftest.er1 >conftest.err
3507 +  rm -f conftest.er1
3508 +  cat conftest.err >&5
3509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510    (exit $ac_status); } &&
3511 <         { ac_try='test -s conftest.$ac_objext'
3511 >         { ac_try='test -z "$ac_f90_werror_flag"
3512 >                         || test ! -s conftest.err'
3513    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514    (eval $ac_try) 2>&5
3515    ac_status=$?
3516    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 +  (exit $ac_status); }; } &&
3518 +         { ac_try='test -s conftest.$ac_objext'
3519 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 +  (eval $ac_try) 2>&5
3521 +  ac_status=$?
3522 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523    (exit $ac_status); }; }; then
3524    ac_compiler_gnu=yes
3525   else
# Line 3090 | Line 3528 | rm -f conftest.$ac_objext conftest.$ac_ext
3528  
3529   ac_compiler_gnu=no
3530   fi
3531 < rm -f conftest.$ac_objext conftest.$ac_ext
3531 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3532   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3533  
3534   fi
# Line 3164 | Line 3602 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602   _ACEOF
3603   rm -f conftest.$ac_objext
3604   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605 <  (eval $ac_compile) 2>&5
3605 >  (eval $ac_compile) 2>conftest.er1
3606    ac_status=$?
3607 +  grep -v '^ *+' conftest.er1 >conftest.err
3608 +  rm -f conftest.er1
3609 +  cat conftest.err >&5
3610    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611    (exit $ac_status); } &&
3612 <         { ac_try='test -s conftest.$ac_objext'
3612 >         { ac_try='test -z "$ac_f90_werror_flag"
3613 >                         || test ! -s conftest.err'
3614    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615    (eval $ac_try) 2>&5
3616    ac_status=$?
3617    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 +  (exit $ac_status); }; } &&
3619 +         { ac_try='test -s conftest.$ac_objext'
3620 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 +  (eval $ac_try) 2>&5
3622 +  ac_status=$?
3623 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624    (exit $ac_status); }; }; then
3625    prepflagworks=1
3626   else
# Line 3181 | Line 3629 | rm -f conftest.$ac_objext conftest.$ac_ext
3629  
3630   prepflagworks=0
3631   fi
3632 < rm -f conftest.$ac_objext conftest.$ac_ext
3632 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3633  
3634    F90FLAGS=$ac_save_F90FLAGS
3635    ac_ext=$ac_save_ext
# Line 3269 | Line 3717 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717   _ACEOF
3718   rm -f conftest.$ac_objext
3719   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3720 <  (eval $ac_compile) 2>&5
3720 >  (eval $ac_compile) 2>conftest.er1
3721    ac_status=$?
3722 +  grep -v '^ *+' conftest.er1 >conftest.err
3723 +  rm -f conftest.er1
3724 +  cat conftest.err >&5
3725    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726    (exit $ac_status); } &&
3727 <         { ac_try='test -s conftest.$ac_objext'
3727 >         { ac_try='test -z "$ac_f90_werror_flag"
3728 >                         || test ! -s conftest.err'
3729    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730    (eval $ac_try) 2>&5
3731    ac_status=$?
3732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 +  (exit $ac_status); }; } &&
3734 +         { ac_try='test -s conftest.$ac_objext'
3735 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736 +  (eval $ac_try) 2>&5
3737 +  ac_status=$?
3738 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739    (exit $ac_status); }; }; then
3740    prepdefflagworks=1
3741   else
# Line 3286 | Line 3744 | rm -f conftest.$ac_objext conftest.$ac_ext
3744  
3745   prepdefflagworks=0
3746   fi
3747 < rm -f conftest.$ac_objext conftest.$ac_ext
3747 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3748  
3749    F90FLAGS=$ac_save_F90FLAGS
3750    ac_ext=$ac_save_ext
# Line 3338 | Line 3796 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796   _ACEOF
3797   rm -f conftest.$ac_objext
3798   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3799 <  (eval $ac_compile) 2>&5
3799 >  (eval $ac_compile) 2>conftest.er1
3800    ac_status=$?
3801 +  grep -v '^ *+' conftest.er1 >conftest.err
3802 +  rm -f conftest.er1
3803 +  cat conftest.err >&5
3804    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805    (exit $ac_status); } &&
3806 <         { ac_try='test -s conftest.$ac_objext'
3806 >         { ac_try='test -z "$ac_f90_werror_flag"
3807 >                         || test ! -s conftest.err'
3808 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 >  (eval $ac_try) 2>&5
3810 >  ac_status=$?
3811 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 >  (exit $ac_status); }; } &&
3813 >         { ac_try='test -s conftest.$ac_objext'
3814    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815    (eval $ac_try) 2>&5
3816    ac_status=$?
# Line 3372 | Line 3840 | F90FLAGS="$F90FLAGS $ac_verb"
3840   ac_save_F90FLAGS=$F90FLAGS
3841   F90FLAGS="$F90FLAGS $ac_verb"
3842  
3843 < (eval echo $as_me:3375: \"$ac_link\") >&5
3843 > (eval echo $as_me:3843: \"$ac_link\") >&5
3844   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3845   echo "$ac_f90_v_output" >&5
3846   F90FLAGS=$ac_save_F90FLAGS
# Line 3414 | Line 3882 | rm -f conftest.$ac_objext conftest.$ac_ext
3882   { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3883   echo "$as_me: WARNING: compilation failed" >&2;}
3884   fi
3885 < rm -f conftest.$ac_objext conftest.$ac_ext
3885 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3886  
3887   fi
3888   echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
# Line 3449 | Line 3917 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3917   ac_save_F90FLAGS=$F90FLAGS
3918   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3919  
3920 < (eval echo $as_me:3452: \"$ac_link\") >&5
3920 > (eval echo $as_me:3920: \"$ac_link\") >&5
3921   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3922   echo "$ac_f90_v_output" >&5
3923   F90FLAGS=$ac_save_F90FLAGS
# Line 3631 | Line 4099 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4099   _ACEOF
4100   rm -f conftest.$ac_objext
4101   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4102 <  (eval $ac_compile) 2>&5
4102 >  (eval $ac_compile) 2>conftest.er1
4103    ac_status=$?
4104 +  grep -v '^ *+' conftest.er1 >conftest.err
4105 +  rm -f conftest.er1
4106 +  cat conftest.err >&5
4107    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108    (exit $ac_status); } &&
4109 <         { ac_try='test -s conftest.$ac_objext'
4109 >         { ac_try='test -z "$ac_f90_werror_flag"
4110 >                         || test ! -s conftest.err'
4111    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112    (eval $ac_try) 2>&5
4113    ac_status=$?
4114    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 +  (exit $ac_status); }; } &&
4116 +         { ac_try='test -s conftest.$ac_objext'
4117 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 +  (eval $ac_try) 2>&5
4119 +  ac_status=$?
4120 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121    (exit $ac_status); }; }; then
4122    mv conftest.$ac_objext cf90_test.$ac_objext
4123  
# Line 3657 | Line 4135 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135      for ac_underscore in "" "_"; do
4136        ac_func="$ac_foobar$ac_underscore"
4137        cat >conftest.$ac_ext <<_ACEOF
3660 #line $LINENO "configure"
4138   /* confdefs.h.  */
4139   _ACEOF
4140   cat confdefs.h >>conftest.$ac_ext
# Line 3681 | Line 4158 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158   _ACEOF
4159   rm -f conftest.$ac_objext conftest$ac_exeext
4160   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4161 <  (eval $ac_link) 2>&5
4161 >  (eval $ac_link) 2>conftest.er1
4162    ac_status=$?
4163 +  grep -v '^ *+' conftest.er1 >conftest.err
4164 +  rm -f conftest.er1
4165 +  cat conftest.err >&5
4166    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167    (exit $ac_status); } &&
4168 <         { ac_try='test -s conftest$ac_exeext'
4168 >         { ac_try='test -z "$ac_c_werror_flag"
4169 >                         || test ! -s conftest.err'
4170    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171    (eval $ac_try) 2>&5
4172    ac_status=$?
4173    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 +  (exit $ac_status); }; } &&
4175 +         { ac_try='test -s conftest$ac_exeext'
4176 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 +  (eval $ac_try) 2>&5
4178 +  ac_status=$?
4179 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180    (exit $ac_status); }; }; then
4181    ac_success=yes; break 2
4182   else
# Line 3697 | Line 4184 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4184   sed 's/^/| /' conftest.$ac_ext >&5
4185  
4186   fi
4187 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4187 > rm -f conftest.err conftest.$ac_objext \
4188 >      conftest$ac_exeext conftest.$ac_ext
4189      done
4190    done
4191  
# Line 3718 | Line 4206 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4206          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4207  
4208          cat >conftest.$ac_ext <<_ACEOF
3721 #line $LINENO "configure"
4209   /* confdefs.h.  */
4210   _ACEOF
4211   cat confdefs.h >>conftest.$ac_ext
# Line 3742 | Line 4229 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4229   _ACEOF
4230   rm -f conftest.$ac_objext conftest$ac_exeext
4231   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4232 <  (eval $ac_link) 2>&5
4232 >  (eval $ac_link) 2>conftest.er1
4233    ac_status=$?
4234 +  grep -v '^ *+' conftest.er1 >conftest.err
4235 +  rm -f conftest.er1
4236 +  cat conftest.err >&5
4237    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238    (exit $ac_status); } &&
4239 <         { ac_try='test -s conftest$ac_exeext'
4239 >         { ac_try='test -z "$ac_c_werror_flag"
4240 >                         || test ! -s conftest.err'
4241    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242    (eval $ac_try) 2>&5
4243    ac_status=$?
4244    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 +  (exit $ac_status); }; } &&
4246 +         { ac_try='test -s conftest$ac_exeext'
4247 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 +  (eval $ac_try) 2>&5
4249 +  ac_status=$?
4250 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251    (exit $ac_status); }; }; then
4252    ac_success_extra=yes; break
4253   else
# Line 3758 | Line 4255 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4255   sed 's/^/| /' conftest.$ac_ext >&5
4256  
4257   fi
4258 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4258 > rm -f conftest.err conftest.$ac_objext \
4259 >      conftest$ac_exeext conftest.$ac_ext
4260       done
4261  
4262       if test "$ac_success_extra" = "yes"; then
# Line 3793 | Line 4291 | rm -f conftest.$ac_objext conftest.$ac_ext
4291   sed 's/^/| /' conftest.$ac_ext >&5
4292  
4293   fi
4294 < rm -f conftest.$ac_objext conftest.$ac_ext
4294 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4295   ac_ext=f90
4296   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4297   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4036 | Line 4534 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4534   _ACEOF
4535   rm -f conftest.$ac_objext
4536   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4537 <  (eval $ac_compile) 2>&5
4537 >  (eval $ac_compile) 2>conftest.er1
4538    ac_status=$?
4539 +  grep -v '^ *+' conftest.er1 >conftest.err
4540 +  rm -f conftest.er1
4541 +  cat conftest.err >&5
4542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543    (exit $ac_status); } &&
4544 <         { ac_try='test -s conftest.$ac_objext'
4544 >         { ac_try='test -z "$ac_f90_werror_flag"
4545 >                         || test ! -s conftest.err'
4546    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547    (eval $ac_try) 2>&5
4548    ac_status=$?
4549    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 +  (exit $ac_status); }; } &&
4551 +         { ac_try='test -s conftest.$ac_objext'
4552 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 +  (eval $ac_try) 2>&5
4554 +  ac_status=$?
4555 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556    (exit $ac_status); }; }; then
4557    ac_cv_f90_module_names=
4558   ac_file_list=*
# Line 4145 | Line 4653 | rm -f conftest.$ac_objext conftest.$ac_ext
4653   { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4654   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4655   fi
4656 < rm -f conftest.$ac_objext conftest.$ac_ext
4656 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4657   cd ..
4658   # cleanup
4659   rm -rf conftest
# Line 4241 | Line 4749 | ac_ext=c
4749   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750  
4751  
4752 < ac_ext=c
4753 < ac_cpp='$CPP $CPPFLAGS'
4754 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 > ac_ext=cc
4753 > ac_cpp='$CXXCPP $CPPFLAGS'
4754 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4757  
4758 < ac_ext=c
4759 < ac_cpp='$CPP $CPPFLAGS'
4760 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4764 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4765 < # On Suns, sometimes $CPP names a directory.
4766 < if test -n "$CPP" && test -d "$CPP"; then
4767 <  CPP=
4260 < fi
4261 < if test -z "$CPP"; then
4262 <  if test "${ac_cv_prog_CPP+set}" = set; then
4758 >
4759 > ac_ext=cc
4760 > ac_cpp='$CXXCPP $CPPFLAGS'
4761 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4765 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4766 > if test -z "$CXXCPP"; then
4767 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4768    echo $ECHO_N "(cached) $ECHO_C" >&6
4769   else
4770 <      # Double quotes because CPP needs to be expanded
4771 <    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4770 >      # Double quotes because CXXCPP needs to be expanded
4771 >    for CXXCPP in "$CXX -E" "/lib/cpp"
4772      do
4773        ac_preproc_ok=false
4774 < for ac_c_preproc_warn_flag in '' yes
4774 > for ac_cxx_preproc_warn_flag in '' yes
4775   do
4776    # Use a header file that comes with gcc, so configuring glibc
4777    # with a fresh cross-compiler works.
# Line 4275 | Line 4780 | do
4780    # On the NeXT, cc -E runs the code through the compiler's parser,
4781    # not just through cpp. "Syntax error" is here to catch this case.
4782    cat >conftest.$ac_ext <<_ACEOF
4278 #line $LINENO "configure"
4783   /* confdefs.h.  */
4784   _ACEOF
4785   cat confdefs.h >>conftest.$ac_ext
# Line 4286 | Line 4790 | cat >>conftest.$ac_ext <<_ACEOF
4790   #else
4791   # include <assert.h>
4792   #endif
4793 <                     Syntax error
4793 >                     Syntax error
4794   _ACEOF
4795   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4796    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4297 | Line 4801 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4801    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802    (exit $ac_status); } >/dev/null; then
4803    if test -s conftest.err; then
4804 <    ac_cpp_err=$ac_c_preproc_warn_flag
4804 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4805 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4806    else
4807      ac_cpp_err=
4808    fi
# Line 4318 | Line 4823 | rm -f conftest.err conftest.$ac_ext
4823    # OK, works on sane cases.  Now check whether non-existent headers
4824    # can be detected and how.
4825    cat >conftest.$ac_ext <<_ACEOF
4321 #line $LINENO "configure"
4826   /* confdefs.h.  */
4827   _ACEOF
4828   cat confdefs.h >>conftest.$ac_ext
# Line 4335 | Line 4839 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4839    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840    (exit $ac_status); } >/dev/null; then
4841    if test -s conftest.err; then
4842 <    ac_cpp_err=$ac_c_preproc_warn_flag
4842 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4843 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4844    else
4845      ac_cpp_err=
4846    fi
# Line 4363 | Line 4868 | fi
4868   fi
4869  
4870      done
4871 <    ac_cv_prog_CPP=$CPP
4871 >    ac_cv_prog_CXXCPP=$CXXCPP
4872  
4873   fi
4874 <  CPP=$ac_cv_prog_CPP
4874 >  CXXCPP=$ac_cv_prog_CXXCPP
4875   else
4876 <  ac_cv_prog_CPP=$CPP
4876 >  ac_cv_prog_CXXCPP=$CXXCPP
4877   fi
4878 < echo "$as_me:$LINENO: result: $CPP" >&5
4879 < echo "${ECHO_T}$CPP" >&6
4878 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
4879 > echo "${ECHO_T}$CXXCPP" >&6
4880   ac_preproc_ok=false
4881 < for ac_c_preproc_warn_flag in '' yes
4881 > for ac_cxx_preproc_warn_flag in '' yes
4882   do
4883    # Use a header file that comes with gcc, so configuring glibc
4884    # with a fresh cross-compiler works.
# Line 4382 | Line 4887 | do
4887    # On the NeXT, cc -E runs the code through the compiler's parser,
4888    # not just through cpp. "Syntax error" is here to catch this case.
4889    cat >conftest.$ac_ext <<_ACEOF
4385 #line $LINENO "configure"
4890   /* confdefs.h.  */
4891   _ACEOF
4892   cat confdefs.h >>conftest.$ac_ext
# Line 4393 | Line 4897 | cat >>conftest.$ac_ext <<_ACEOF
4897   #else
4898   # include <assert.h>
4899   #endif
4900 <                     Syntax error
4900 >                     Syntax error
4901   _ACEOF
4902   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4903    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4404 | Line 4908 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909    (exit $ac_status); } >/dev/null; then
4910    if test -s conftest.err; then
4911 <    ac_cpp_err=$ac_c_preproc_warn_flag
4911 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4912 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4913    else
4914      ac_cpp_err=
4915    fi
# Line 4425 | Line 4930 | rm -f conftest.err conftest.$ac_ext
4930    # OK, works on sane cases.  Now check whether non-existent headers
4931    # can be detected and how.
4932    cat >conftest.$ac_ext <<_ACEOF
4428 #line $LINENO "configure"
4933   /* confdefs.h.  */
4934   _ACEOF
4935   cat confdefs.h >>conftest.$ac_ext
# Line 4442 | Line 4946 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4946    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947    (exit $ac_status); } >/dev/null; then
4948    if test -s conftest.err; then
4949 <    ac_cpp_err=$ac_c_preproc_warn_flag
4949 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4950 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4951    else
4952      ac_cpp_err=
4953    fi
# Line 4468 | Line 4973 | else
4973   if $ac_preproc_ok; then
4974    :
4975   else
4976 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4976 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4977   See \`config.log' for more details." >&5
4978 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4978 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4979   See \`config.log' for more details." >&2;}
4980     { (exit 1); exit 1; }; }
4981   fi
4982  
4983 < ac_ext=c
4984 < ac_cpp='$CPP $CPPFLAGS'
4985 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4483 <
4484 <
4485 < echo "$as_me:$LINENO: checking for egrep" >&5
4486 < echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4487 < if test "${ac_cv_prog_egrep+set}" = set; then
4488 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4489 < else
4490 <  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4491 <    then ac_cv_prog_egrep='grep -E'
4492 <    else ac_cv_prog_egrep='egrep'
4493 <    fi
4494 < fi
4495 < echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4496 < echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4497 < EGREP=$ac_cv_prog_egrep
4983 > ac_ext=cc
4984 > ac_cpp='$CXXCPP $CPPFLAGS'
4985 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4988  
4989  
4990   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
# Line 4503 | Line 4993 | else
4993    echo $ECHO_N "(cached) $ECHO_C" >&6
4994   else
4995    cat >conftest.$ac_ext <<_ACEOF
4506 #line $LINENO "configure"
4996   /* confdefs.h.  */
4997   _ACEOF
4998   cat confdefs.h >>conftest.$ac_ext
# Line 4524 | Line 5013 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5013   _ACEOF
5014   rm -f conftest.$ac_objext
5015   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 <  (eval $ac_compile) 2>&5
5016 >  (eval $ac_compile) 2>conftest.er1
5017    ac_status=$?
5018 +  grep -v '^ *+' conftest.er1 >conftest.err
5019 +  rm -f conftest.er1
5020 +  cat conftest.err >&5
5021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022    (exit $ac_status); } &&
5023 <         { ac_try='test -s conftest.$ac_objext'
5023 >         { ac_try='test -z "$ac_cxx_werror_flag"
5024 >                         || test ! -s conftest.err'
5025    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026    (eval $ac_try) 2>&5
5027    ac_status=$?
5028    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 +  (exit $ac_status); }; } &&
5030 +         { ac_try='test -s conftest.$ac_objext'
5031 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 +  (eval $ac_try) 2>&5
5033 +  ac_status=$?
5034 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035    (exit $ac_status); }; }; then
5036    ac_cv_header_stdc=yes
5037   else
# Line 4541 | Line 5040 | rm -f conftest.$ac_objext conftest.$ac_ext
5040  
5041   ac_cv_header_stdc=no
5042   fi
5043 < rm -f conftest.$ac_objext conftest.$ac_ext
5043 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5044  
5045   if test $ac_cv_header_stdc = yes; then
5046    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5047    cat >conftest.$ac_ext <<_ACEOF
4549 #line $LINENO "configure"
5048   /* confdefs.h.  */
5049   _ACEOF
5050   cat confdefs.h >>conftest.$ac_ext
# Line 4568 | Line 5066 | if test $ac_cv_header_stdc = yes; then
5066   if test $ac_cv_header_stdc = yes; then
5067    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5068    cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
5069   /* confdefs.h.  */
5070   _ACEOF
5071   cat confdefs.h >>conftest.$ac_ext
# Line 4593 | Line 5090 | else
5090    :
5091   else
5092    cat >conftest.$ac_ext <<_ACEOF
4596 #line $LINENO "configure"
5093   /* confdefs.h.  */
5094   _ACEOF
5095   cat confdefs.h >>conftest.$ac_ext
# Line 4605 | Line 5101 | cat >>conftest.$ac_ext <<_ACEOF
5101   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5102   #else
5103   # define ISLOWER(c) \
5104 <                   (('a' <= (c) && (c) <= 'i') \
5105 <                     || ('j' <= (c) && (c) <= 'r') \
5106 <                     || ('s' <= (c) && (c) <= 'z'))
5104 >                   (('a' <= (c) && (c) <= 'i') \
5105 >                     || ('j' <= (c) && (c) <= 'r') \
5106 >                     || ('s' <= (c) && (c) <= 'z'))
5107   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5108   #endif
5109  
# Line 4618 | Line 5114 | main ()
5114    int i;
5115    for (i = 0; i < 256; i++)
5116      if (XOR (islower (i), ISLOWER (i))
5117 <        || toupper (i) != TOUPPER (i))
5117 >        || toupper (i) != TOUPPER (i))
5118        exit(2);
5119    exit (0);
5120   }
# Line 4643 | Line 5139 | rm -f core core.* *.core gmon.out bb.out conftest$ac_e
5139   ( exit $ac_status )
5140   ac_cv_header_stdc=no
5141   fi
5142 < rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5142 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5143   fi
5144   fi
5145   fi
# Line 4657 | Line 5153 | fi
5153  
5154   fi
5155  
5156 + echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
5157 + echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
5158 + if test "${ac_cv_cxx_namespaces+set}" = set; then
5159 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5160 + else
5161 +
5162 +
5163 + ac_ext=cc
5164 + ac_cpp='$CXXCPP $CPPFLAGS'
5165 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5166 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5167 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5168 +
5169 + cat >conftest.$ac_ext <<_ACEOF
5170 + /* confdefs.h.  */
5171 + _ACEOF
5172 + cat confdefs.h >>conftest.$ac_ext
5173 + cat >>conftest.$ac_ext <<_ACEOF
5174 + /* end confdefs.h.  */
5175 + namespace Outer { namespace Inner { int i = 0; }}
5176 + int
5177 + main ()
5178 + {
5179 + using namespace Outer::Inner; return i;
5180 +  ;
5181 +  return 0;
5182 + }
5183 + _ACEOF
5184 + rm -f conftest.$ac_objext
5185 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 +  (eval $ac_compile) 2>conftest.er1
5187 +  ac_status=$?
5188 +  grep -v '^ *+' conftest.er1 >conftest.err
5189 +  rm -f conftest.er1
5190 +  cat conftest.err >&5
5191 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 +  (exit $ac_status); } &&
5193 +         { ac_try='test -z "$ac_cxx_werror_flag"
5194 +                         || test ! -s conftest.err'
5195 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 +  (eval $ac_try) 2>&5
5197 +  ac_status=$?
5198 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 +  (exit $ac_status); }; } &&
5200 +         { ac_try='test -s conftest.$ac_objext'
5201 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5202 +  (eval $ac_try) 2>&5
5203 +  ac_status=$?
5204 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 +  (exit $ac_status); }; }; then
5206 +  ac_cv_cxx_namespaces=yes
5207 + else
5208 +  echo "$as_me: failed program was:" >&5
5209 + sed 's/^/| /' conftest.$ac_ext >&5
5210 +
5211 + ac_cv_cxx_namespaces=no
5212 + fi
5213 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5214 + ac_ext=cc
5215 + ac_cpp='$CXXCPP $CPPFLAGS'
5216 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5219 +
5220 +
5221 + fi
5222 + echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
5223 + echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
5224 + if test "$ac_cv_cxx_namespaces" = yes; then
5225 +
5226 + cat >>confdefs.h <<\_ACEOF
5227 + #define HAVE_NAMESPACES
5228 + _ACEOF
5229 +
5230 + fi
5231 +
5232   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5233  
5234  
# Line 4668 | Line 5240 | for ac_header in sys/types.h sys/stat.h stdlib.h strin
5240  
5241  
5242   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5243 <                  inttypes.h stdint.h unistd.h
5243 >                  inttypes.h stdint.h unistd.h
5244   do
5245   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5246   echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4677 | Line 5249 | else
5249    echo $ECHO_N "(cached) $ECHO_C" >&6
5250   else
5251    cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
5252   /* confdefs.h.  */
5253   _ACEOF
5254   cat confdefs.h >>conftest.$ac_ext
# Line 4689 | Line 5260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5260   _ACEOF
5261   rm -f conftest.$ac_objext
5262   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5263 <  (eval $ac_compile) 2>&5
5263 >  (eval $ac_compile) 2>conftest.er1
5264 >  ac_status=$?
5265 >  grep -v '^ *+' conftest.er1 >conftest.err
5266 >  rm -f conftest.er1
5267 >  cat conftest.err >&5
5268 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 >  (exit $ac_status); } &&
5270 >         { ac_try='test -z "$ac_cxx_werror_flag"
5271 >                         || test ! -s conftest.err'
5272 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 >  (eval $ac_try) 2>&5
5274 >  ac_status=$?
5275 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 >  (exit $ac_status); }; } &&
5277 >         { ac_try='test -s conftest.$ac_objext'
5278 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 >  (eval $ac_try) 2>&5
5280 >  ac_status=$?
5281 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 >  (exit $ac_status); }; }; then
5283 >  eval "$as_ac_Header=yes"
5284 > else
5285 >  echo "$as_me: failed program was:" >&5
5286 > sed 's/^/| /' conftest.$ac_ext >&5
5287 >
5288 > eval "$as_ac_Header=no"
5289 > fi
5290 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5291 > fi
5292 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5293 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5294 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5295 >  cat >>confdefs.h <<_ACEOF
5296 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5297 > _ACEOF
5298 >
5299 > fi
5300 >
5301 > done
5302 >
5303 >
5304 > echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
5305 > echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
5306 > if test "${ac_cv_cxx_have_stl+set}" = set; then
5307 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5308 > else
5309 >
5310 >
5311 >
5312 > ac_ext=cc
5313 > ac_cpp='$CXXCPP $CPPFLAGS'
5314 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5315 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5316 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5317 >
5318 > cat >conftest.$ac_ext <<_ACEOF
5319 > /* confdefs.h.  */
5320 > _ACEOF
5321 > cat confdefs.h >>conftest.$ac_ext
5322 > cat >>conftest.$ac_ext <<_ACEOF
5323 > /* end confdefs.h.  */
5324 > #include <list>
5325 > #include <deque>
5326 > #ifdef HAVE_NAMESPACES
5327 > using namespace std;
5328 > #endif
5329 > int
5330 > main ()
5331 > {
5332 > list<int> x; x.push_back(5);
5333 > list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
5334 >  ;
5335 >  return 0;
5336 > }
5337 > _ACEOF
5338 > rm -f conftest.$ac_objext
5339 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 >  (eval $ac_compile) 2>conftest.er1
5341 >  ac_status=$?
5342 >  grep -v '^ *+' conftest.er1 >conftest.err
5343 >  rm -f conftest.er1
5344 >  cat conftest.err >&5
5345 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 >  (exit $ac_status); } &&
5347 >         { ac_try='test -z "$ac_cxx_werror_flag"
5348 >                         || test ! -s conftest.err'
5349 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350 >  (eval $ac_try) 2>&5
5351 >  ac_status=$?
5352 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 >  (exit $ac_status); }; } &&
5354 >         { ac_try='test -s conftest.$ac_objext'
5355 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 >  (eval $ac_try) 2>&5
5357 >  ac_status=$?
5358 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 >  (exit $ac_status); }; }; then
5360 >  ac_cv_cxx_have_stl=yes
5361 > else
5362 >  echo "$as_me: failed program was:" >&5
5363 > sed 's/^/| /' conftest.$ac_ext >&5
5364 >
5365 > ac_cv_cxx_have_stl=no
5366 > fi
5367 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5368 > ac_ext=cc
5369 > ac_cpp='$CXXCPP $CPPFLAGS'
5370 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5373 >
5374 >
5375 > fi
5376 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
5377 > echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
5378 > if test "$ac_cv_cxx_have_stl" = yes; then
5379 >
5380 > cat >>confdefs.h <<\_ACEOF
5381 > #define HAVE_STL
5382 > _ACEOF
5383 >
5384 > fi
5385 >
5386 >
5387 >
5388 >  if test "${ac_cv_header_iostream+set}" = set; then
5389 >  echo "$as_me:$LINENO: checking for iostream" >&5
5390 > echo $ECHO_N "checking for iostream... $ECHO_C" >&6
5391 > if test "${ac_cv_header_iostream+set}" = set; then
5392 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5393 > fi
5394 > echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5395 > echo "${ECHO_T}$ac_cv_header_iostream" >&6
5396 > else
5397 >  # Is the header compilable?
5398 > echo "$as_me:$LINENO: checking iostream usability" >&5
5399 > echo $ECHO_N "checking iostream usability... $ECHO_C" >&6
5400 > cat >conftest.$ac_ext <<_ACEOF
5401 > /* confdefs.h.  */
5402 > _ACEOF
5403 > cat confdefs.h >>conftest.$ac_ext
5404 > cat >>conftest.$ac_ext <<_ACEOF
5405 > /* end confdefs.h.  */
5406 > $ac_includes_default
5407 > #include <iostream>
5408 > _ACEOF
5409 > rm -f conftest.$ac_objext
5410 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411 >  (eval $ac_compile) 2>conftest.er1
5412 >  ac_status=$?
5413 >  grep -v '^ *+' conftest.er1 >conftest.err
5414 >  rm -f conftest.er1
5415 >  cat conftest.err >&5
5416 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 >  (exit $ac_status); } &&
5418 >         { ac_try='test -z "$ac_cxx_werror_flag"
5419 >                         || test ! -s conftest.err'
5420 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 >  (eval $ac_try) 2>&5
5422 >  ac_status=$?
5423 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 >  (exit $ac_status); }; } &&
5425 >         { ac_try='test -s conftest.$ac_objext'
5426 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 >  (eval $ac_try) 2>&5
5428 >  ac_status=$?
5429 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 >  (exit $ac_status); }; }; then
5431 >  ac_header_compiler=yes
5432 > else
5433 >  echo "$as_me: failed program was:" >&5
5434 > sed 's/^/| /' conftest.$ac_ext >&5
5435 >
5436 > ac_header_compiler=no
5437 > fi
5438 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5439 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5440 > echo "${ECHO_T}$ac_header_compiler" >&6
5441 >
5442 > # Is the header present?
5443 > echo "$as_me:$LINENO: checking iostream presence" >&5
5444 > echo $ECHO_N "checking iostream presence... $ECHO_C" >&6
5445 > cat >conftest.$ac_ext <<_ACEOF
5446 > /* confdefs.h.  */
5447 > _ACEOF
5448 > cat confdefs.h >>conftest.$ac_ext
5449 > cat >>conftest.$ac_ext <<_ACEOF
5450 > /* end confdefs.h.  */
5451 > #include <iostream>
5452 > _ACEOF
5453 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5454 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5455 >  ac_status=$?
5456 >  grep -v '^ *+' conftest.er1 >conftest.err
5457 >  rm -f conftest.er1
5458 >  cat conftest.err >&5
5459 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 >  (exit $ac_status); } >/dev/null; then
5461 >  if test -s conftest.err; then
5462 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5463 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5464 >  else
5465 >    ac_cpp_err=
5466 >  fi
5467 > else
5468 >  ac_cpp_err=yes
5469 > fi
5470 > if test -z "$ac_cpp_err"; then
5471 >  ac_header_preproc=yes
5472 > else
5473 >  echo "$as_me: failed program was:" >&5
5474 > sed 's/^/| /' conftest.$ac_ext >&5
5475 >
5476 >  ac_header_preproc=no
5477 > fi
5478 > rm -f conftest.err conftest.$ac_ext
5479 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5480 > echo "${ECHO_T}$ac_header_preproc" >&6
5481 >
5482 > # So?  What about this header?
5483 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5484 >  yes:no: )
5485 >    { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5
5486 > echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;}
5487 >    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5
5488 > echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;}
5489 >    ac_header_preproc=yes
5490 >    ;;
5491 >  no:yes:* )
5492 >    { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5
5493 > echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;}
5494 >    { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5
5495 > echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;}
5496 >    { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5
5497 > echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;}
5498 >    { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5
5499 > echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;}
5500 >    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5
5501 > echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;}
5502 >    { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5
5503 > echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;}
5504 >    (
5505 >      cat <<\_ASBOX
5506 > ## ------------------------------ ##
5507 > ## Report this to gezelter@nd.edu ##
5508 > ## ------------------------------ ##
5509 > _ASBOX
5510 >    ) |
5511 >      sed "s/^/$as_me: WARNING:     /" >&2
5512 >    ;;
5513 > esac
5514 > echo "$as_me:$LINENO: checking for iostream" >&5
5515 > echo $ECHO_N "checking for iostream... $ECHO_C" >&6
5516 > if test "${ac_cv_header_iostream+set}" = set; then
5517 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5518 > else
5519 >  ac_cv_header_iostream=$ac_header_preproc
5520 > fi
5521 > echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5522 > echo "${ECHO_T}$ac_cv_header_iostream" >&6
5523 >
5524 > fi
5525 > if test $ac_cv_header_iostream = yes; then
5526 >
5527 >
5528 > cat >>confdefs.h <<\_ACEOF
5529 > #define HAVE_IOSTREAM 1
5530 > _ACEOF
5531 >
5532 >
5533 > else
5534 >
5535 >
5536 > for ac_header in iostream.h
5537 > do
5538 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5539 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5540 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5541 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5542 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5543 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5544 > fi
5545 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5546 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5547 > else
5548 >  # Is the header compilable?
5549 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5550 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5551 > cat >conftest.$ac_ext <<_ACEOF
5552 > /* confdefs.h.  */
5553 > _ACEOF
5554 > cat confdefs.h >>conftest.$ac_ext
5555 > cat >>conftest.$ac_ext <<_ACEOF
5556 > /* end confdefs.h.  */
5557 > $ac_includes_default
5558 > #include <$ac_header>
5559 > _ACEOF
5560 > rm -f conftest.$ac_objext
5561 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5562 >  (eval $ac_compile) 2>conftest.er1
5563 >  ac_status=$?
5564 >  grep -v '^ *+' conftest.er1 >conftest.err
5565 >  rm -f conftest.er1
5566 >  cat conftest.err >&5
5567 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 >  (exit $ac_status); } &&
5569 >         { ac_try='test -z "$ac_cxx_werror_flag"
5570 >                         || test ! -s conftest.err'
5571 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 >  (eval $ac_try) 2>&5
5573 >  ac_status=$?
5574 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 >  (exit $ac_status); }; } &&
5576 >         { ac_try='test -s conftest.$ac_objext'
5577 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 >  (eval $ac_try) 2>&5
5579 >  ac_status=$?
5580 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 >  (exit $ac_status); }; }; then
5582 >  ac_header_compiler=yes
5583 > else
5584 >  echo "$as_me: failed program was:" >&5
5585 > sed 's/^/| /' conftest.$ac_ext >&5
5586 >
5587 > ac_header_compiler=no
5588 > fi
5589 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5590 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5591 > echo "${ECHO_T}$ac_header_compiler" >&6
5592 >
5593 > # Is the header present?
5594 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5595 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5596 > cat >conftest.$ac_ext <<_ACEOF
5597 > /* confdefs.h.  */
5598 > _ACEOF
5599 > cat confdefs.h >>conftest.$ac_ext
5600 > cat >>conftest.$ac_ext <<_ACEOF
5601 > /* end confdefs.h.  */
5602 > #include <$ac_header>
5603 > _ACEOF
5604 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5605 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5606 >  ac_status=$?
5607 >  grep -v '^ *+' conftest.er1 >conftest.err
5608 >  rm -f conftest.er1
5609 >  cat conftest.err >&5
5610 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 >  (exit $ac_status); } >/dev/null; then
5612 >  if test -s conftest.err; then
5613 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5614 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5615 >  else
5616 >    ac_cpp_err=
5617 >  fi
5618 > else
5619 >  ac_cpp_err=yes
5620 > fi
5621 > if test -z "$ac_cpp_err"; then
5622 >  ac_header_preproc=yes
5623 > else
5624 >  echo "$as_me: failed program was:" >&5
5625 > sed 's/^/| /' conftest.$ac_ext >&5
5626 >
5627 >  ac_header_preproc=no
5628 > fi
5629 > rm -f conftest.err conftest.$ac_ext
5630 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5631 > echo "${ECHO_T}$ac_header_preproc" >&6
5632 >
5633 > # So?  What about this header?
5634 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5635 >  yes:no: )
5636 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5637 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5638 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5639 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5640 >    ac_header_preproc=yes
5641 >    ;;
5642 >  no:yes:* )
5643 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5644 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5645 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5646 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5647 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5648 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5649 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5650 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5651 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5652 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5653 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5654 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5655 >    (
5656 >      cat <<\_ASBOX
5657 > ## ------------------------------ ##
5658 > ## Report this to gezelter@nd.edu ##
5659 > ## ------------------------------ ##
5660 > _ASBOX
5661 >    ) |
5662 >      sed "s/^/$as_me: WARNING:     /" >&2
5663 >    ;;
5664 > esac
5665 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5666 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5667 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5668 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5669 > else
5670 >  eval "$as_ac_Header=\$ac_header_preproc"
5671 > fi
5672 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5673 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5674 >
5675 > fi
5676 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5677 >  cat >>confdefs.h <<_ACEOF
5678 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5679 > _ACEOF
5680 >
5681 > fi
5682 >
5683 > done
5684 >
5685 >
5686 > fi
5687 >
5688 >
5689 >
5690 >
5691 >  if test "${ac_cv_header_iomanip+set}" = set; then
5692 >  echo "$as_me:$LINENO: checking for iomanip" >&5
5693 > echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
5694 > if test "${ac_cv_header_iomanip+set}" = set; then
5695 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5696 > fi
5697 > echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
5698 > echo "${ECHO_T}$ac_cv_header_iomanip" >&6
5699 > else
5700 >  # Is the header compilable?
5701 > echo "$as_me:$LINENO: checking iomanip usability" >&5
5702 > echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6
5703 > cat >conftest.$ac_ext <<_ACEOF
5704 > /* confdefs.h.  */
5705 > _ACEOF
5706 > cat confdefs.h >>conftest.$ac_ext
5707 > cat >>conftest.$ac_ext <<_ACEOF
5708 > /* end confdefs.h.  */
5709 > $ac_includes_default
5710 > #include <iomanip>
5711 > _ACEOF
5712 > rm -f conftest.$ac_objext
5713 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5714 >  (eval $ac_compile) 2>conftest.er1
5715 >  ac_status=$?
5716 >  grep -v '^ *+' conftest.er1 >conftest.err
5717 >  rm -f conftest.er1
5718 >  cat conftest.err >&5
5719 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 >  (exit $ac_status); } &&
5721 >         { ac_try='test -z "$ac_cxx_werror_flag"
5722 >                         || test ! -s conftest.err'
5723 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 >  (eval $ac_try) 2>&5
5725 >  ac_status=$?
5726 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 >  (exit $ac_status); }; } &&
5728 >         { ac_try='test -s conftest.$ac_objext'
5729 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5730 >  (eval $ac_try) 2>&5
5731 >  ac_status=$?
5732 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 >  (exit $ac_status); }; }; then
5734 >  ac_header_compiler=yes
5735 > else
5736 >  echo "$as_me: failed program was:" >&5
5737 > sed 's/^/| /' conftest.$ac_ext >&5
5738 >
5739 > ac_header_compiler=no
5740 > fi
5741 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5742 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5743 > echo "${ECHO_T}$ac_header_compiler" >&6
5744 >
5745 > # Is the header present?
5746 > echo "$as_me:$LINENO: checking iomanip presence" >&5
5747 > echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6
5748 > cat >conftest.$ac_ext <<_ACEOF
5749 > /* confdefs.h.  */
5750 > _ACEOF
5751 > cat confdefs.h >>conftest.$ac_ext
5752 > cat >>conftest.$ac_ext <<_ACEOF
5753 > /* end confdefs.h.  */
5754 > #include <iomanip>
5755 > _ACEOF
5756 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5757 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5758 >  ac_status=$?
5759 >  grep -v '^ *+' conftest.er1 >conftest.err
5760 >  rm -f conftest.er1
5761 >  cat conftest.err >&5
5762 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 >  (exit $ac_status); } >/dev/null; then
5764 >  if test -s conftest.err; then
5765 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5766 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5767 >  else
5768 >    ac_cpp_err=
5769 >  fi
5770 > else
5771 >  ac_cpp_err=yes
5772 > fi
5773 > if test -z "$ac_cpp_err"; then
5774 >  ac_header_preproc=yes
5775 > else
5776 >  echo "$as_me: failed program was:" >&5
5777 > sed 's/^/| /' conftest.$ac_ext >&5
5778 >
5779 >  ac_header_preproc=no
5780 > fi
5781 > rm -f conftest.err conftest.$ac_ext
5782 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5783 > echo "${ECHO_T}$ac_header_preproc" >&6
5784 >
5785 > # So?  What about this header?
5786 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5787 >  yes:no: )
5788 >    { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5
5789 > echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;}
5790 >    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5
5791 > echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;}
5792 >    ac_header_preproc=yes
5793 >    ;;
5794 >  no:yes:* )
5795 >    { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5
5796 > echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;}
5797 >    { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5
5798 > echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;}
5799 >    { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5
5800 > echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;}
5801 >    { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5
5802 > echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;}
5803 >    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5
5804 > echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;}
5805 >    { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5
5806 > echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;}
5807 >    (
5808 >      cat <<\_ASBOX
5809 > ## ------------------------------ ##
5810 > ## Report this to gezelter@nd.edu ##
5811 > ## ------------------------------ ##
5812 > _ASBOX
5813 >    ) |
5814 >      sed "s/^/$as_me: WARNING:     /" >&2
5815 >    ;;
5816 > esac
5817 > echo "$as_me:$LINENO: checking for iomanip" >&5
5818 > echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
5819 > if test "${ac_cv_header_iomanip+set}" = set; then
5820 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5821 > else
5822 >  ac_cv_header_iomanip=$ac_header_preproc
5823 > fi
5824 > echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
5825 > echo "${ECHO_T}$ac_cv_header_iomanip" >&6
5826 >
5827 > fi
5828 > if test $ac_cv_header_iomanip = yes; then
5829 >
5830 >
5831 > cat >>confdefs.h <<\_ACEOF
5832 > #define HAVE_IOMANIP 1
5833 > _ACEOF
5834 >
5835 >
5836 > else
5837 >
5838 >
5839 > for ac_header in iomanip.h
5840 > do
5841 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5842 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5843 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5844 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5845 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5846 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5847 > fi
5848 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5849 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5850 > else
5851 >  # Is the header compilable?
5852 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5853 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5854 > cat >conftest.$ac_ext <<_ACEOF
5855 > /* confdefs.h.  */
5856 > _ACEOF
5857 > cat confdefs.h >>conftest.$ac_ext
5858 > cat >>conftest.$ac_ext <<_ACEOF
5859 > /* end confdefs.h.  */
5860 > $ac_includes_default
5861 > #include <$ac_header>
5862 > _ACEOF
5863 > rm -f conftest.$ac_objext
5864 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5865 >  (eval $ac_compile) 2>conftest.er1
5866 >  ac_status=$?
5867 >  grep -v '^ *+' conftest.er1 >conftest.err
5868 >  rm -f conftest.er1
5869 >  cat conftest.err >&5
5870 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 >  (exit $ac_status); } &&
5872 >         { ac_try='test -z "$ac_cxx_werror_flag"
5873 >                         || test ! -s conftest.err'
5874 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 >  (eval $ac_try) 2>&5
5876 >  ac_status=$?
5877 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 >  (exit $ac_status); }; } &&
5879 >         { ac_try='test -s conftest.$ac_objext'
5880 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 >  (eval $ac_try) 2>&5
5882 >  ac_status=$?
5883 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 >  (exit $ac_status); }; }; then
5885 >  ac_header_compiler=yes
5886 > else
5887 >  echo "$as_me: failed program was:" >&5
5888 > sed 's/^/| /' conftest.$ac_ext >&5
5889 >
5890 > ac_header_compiler=no
5891 > fi
5892 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5893 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5894 > echo "${ECHO_T}$ac_header_compiler" >&6
5895 >
5896 > # Is the header present?
5897 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5898 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5899 > cat >conftest.$ac_ext <<_ACEOF
5900 > /* confdefs.h.  */
5901 > _ACEOF
5902 > cat confdefs.h >>conftest.$ac_ext
5903 > cat >>conftest.$ac_ext <<_ACEOF
5904 > /* end confdefs.h.  */
5905 > #include <$ac_header>
5906 > _ACEOF
5907 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5908 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5909 >  ac_status=$?
5910 >  grep -v '^ *+' conftest.er1 >conftest.err
5911 >  rm -f conftest.er1
5912 >  cat conftest.err >&5
5913 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 >  (exit $ac_status); } >/dev/null; then
5915 >  if test -s conftest.err; then
5916 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5917 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5918 >  else
5919 >    ac_cpp_err=
5920 >  fi
5921 > else
5922 >  ac_cpp_err=yes
5923 > fi
5924 > if test -z "$ac_cpp_err"; then
5925 >  ac_header_preproc=yes
5926 > else
5927 >  echo "$as_me: failed program was:" >&5
5928 > sed 's/^/| /' conftest.$ac_ext >&5
5929 >
5930 >  ac_header_preproc=no
5931 > fi
5932 > rm -f conftest.err conftest.$ac_ext
5933 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5934 > echo "${ECHO_T}$ac_header_preproc" >&6
5935 >
5936 > # So?  What about this header?
5937 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5938 >  yes:no: )
5939 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5940 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5941 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5942 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5943 >    ac_header_preproc=yes
5944 >    ;;
5945 >  no:yes:* )
5946 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5947 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5948 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5949 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5950 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5951 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5952 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5953 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5954 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5955 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5956 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5957 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5958 >    (
5959 >      cat <<\_ASBOX
5960 > ## ------------------------------ ##
5961 > ## Report this to gezelter@nd.edu ##
5962 > ## ------------------------------ ##
5963 > _ASBOX
5964 >    ) |
5965 >      sed "s/^/$as_me: WARNING:     /" >&2
5966 >    ;;
5967 > esac
5968 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5972 > else
5973 >  eval "$as_ac_Header=\$ac_header_preproc"
5974 > fi
5975 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5976 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5977 >
5978 > fi
5979 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5980 >  cat >>confdefs.h <<_ACEOF
5981 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5982 > _ACEOF
5983 >
5984 > fi
5985 >
5986 > done
5987 >
5988 >
5989 > fi
5990 >
5991 >
5992 >
5993 >
5994 > for ac_header in cmath
5995 > do
5996 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5997 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5998 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5999 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6000 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6001 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6002 > fi
6003 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6004 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6005 > else
6006 >  # Is the header compilable?
6007 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6008 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6009 > cat >conftest.$ac_ext <<_ACEOF
6010 > /* confdefs.h.  */
6011 > _ACEOF
6012 > cat confdefs.h >>conftest.$ac_ext
6013 > cat >>conftest.$ac_ext <<_ACEOF
6014 > /* end confdefs.h.  */
6015 > $ac_includes_default
6016 > #include <$ac_header>
6017 > _ACEOF
6018 > rm -f conftest.$ac_objext
6019 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 >  (eval $ac_compile) 2>conftest.er1
6021 >  ac_status=$?
6022 >  grep -v '^ *+' conftest.er1 >conftest.err
6023 >  rm -f conftest.er1
6024 >  cat conftest.err >&5
6025 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 >  (exit $ac_status); } &&
6027 >         { ac_try='test -z "$ac_cxx_werror_flag"
6028 >                         || test ! -s conftest.err'
6029 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 >  (eval $ac_try) 2>&5
6031 >  ac_status=$?
6032 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 >  (exit $ac_status); }; } &&
6034 >         { ac_try='test -s conftest.$ac_objext'
6035 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 >  (eval $ac_try) 2>&5
6037 >  ac_status=$?
6038 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 >  (exit $ac_status); }; }; then
6040 >  ac_header_compiler=yes
6041 > else
6042 >  echo "$as_me: failed program was:" >&5
6043 > sed 's/^/| /' conftest.$ac_ext >&5
6044 >
6045 > ac_header_compiler=no
6046 > fi
6047 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6048 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6049 > echo "${ECHO_T}$ac_header_compiler" >&6
6050 >
6051 > # Is the header present?
6052 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6053 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6054 > cat >conftest.$ac_ext <<_ACEOF
6055 > /* confdefs.h.  */
6056 > _ACEOF
6057 > cat confdefs.h >>conftest.$ac_ext
6058 > cat >>conftest.$ac_ext <<_ACEOF
6059 > /* end confdefs.h.  */
6060 > #include <$ac_header>
6061 > _ACEOF
6062 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6063 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6064 >  ac_status=$?
6065 >  grep -v '^ *+' conftest.er1 >conftest.err
6066 >  rm -f conftest.er1
6067 >  cat conftest.err >&5
6068 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 >  (exit $ac_status); } >/dev/null; then
6070 >  if test -s conftest.err; then
6071 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6072 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6073 >  else
6074 >    ac_cpp_err=
6075 >  fi
6076 > else
6077 >  ac_cpp_err=yes
6078 > fi
6079 > if test -z "$ac_cpp_err"; then
6080 >  ac_header_preproc=yes
6081 > else
6082 >  echo "$as_me: failed program was:" >&5
6083 > sed 's/^/| /' conftest.$ac_ext >&5
6084 >
6085 >  ac_header_preproc=no
6086 > fi
6087 > rm -f conftest.err conftest.$ac_ext
6088 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6089 > echo "${ECHO_T}$ac_header_preproc" >&6
6090 >
6091 > # So?  What about this header?
6092 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6093 >  yes:no: )
6094 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6095 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6096 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6097 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6098 >    ac_header_preproc=yes
6099 >    ;;
6100 >  no:yes:* )
6101 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6102 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6103 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6104 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6105 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6106 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6107 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6108 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6109 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6110 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6111 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6112 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6113 >    (
6114 >      cat <<\_ASBOX
6115 > ## ------------------------------ ##
6116 > ## Report this to gezelter@nd.edu ##
6117 > ## ------------------------------ ##
6118 > _ASBOX
6119 >    ) |
6120 >      sed "s/^/$as_me: WARNING:     /" >&2
6121 >    ;;
6122 > esac
6123 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6124 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6125 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6127 > else
6128 >  eval "$as_ac_Header=\$ac_header_preproc"
6129 > fi
6130 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6131 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6132 >
6133 > fi
6134 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6135 >  cat >>confdefs.h <<_ACEOF
6136 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6137 > _ACEOF
6138 >
6139 > fi
6140 >
6141 > done
6142 >
6143 >
6144 >
6145 >
6146 >  echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5
6147 > echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6
6148 > if test "${ac_cv_cxx_have_std_iostream+set}" = set; then
6149 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6150 > else
6151 >
6152 >      ac_cv_cxx_have_std_iostream=no
6153 >      ac_cv_cxx_need_use_std_iostream=no
6154 >      if test "x$ac_cv_cxx_namespaces" = xyes; then
6155 >
6156 >
6157 >        ac_ext=cc
6158 > ac_cpp='$CXXCPP $CPPFLAGS'
6159 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6162 >
6163 >        cat >conftest.$ac_ext <<_ACEOF
6164 > /* confdefs.h.  */
6165 > _ACEOF
6166 > cat confdefs.h >>conftest.$ac_ext
6167 > cat >>conftest.$ac_ext <<_ACEOF
6168 > /* end confdefs.h.  */
6169 >
6170 > #ifdef HAVE_IOSTREAM
6171 > #include <iostream>
6172 > #else
6173 > #include <iostream.h>
6174 > #endif
6175 >
6176 > int
6177 > main ()
6178 > {
6179 > std::cout<<"Hello World"<<std::endl;return 0;
6180 >  ;
6181 >  return 0;
6182 > }
6183 > _ACEOF
6184 > rm -f conftest.$ac_objext
6185 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6186 >  (eval $ac_compile) 2>conftest.er1
6187 >  ac_status=$?
6188 >  grep -v '^ *+' conftest.er1 >conftest.err
6189 >  rm -f conftest.er1
6190 >  cat conftest.err >&5
6191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 >  (exit $ac_status); } &&
6193 >         { ac_try='test -z "$ac_cxx_werror_flag"
6194 >                         || test ! -s conftest.err'
6195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 >  (eval $ac_try) 2>&5
6197 >  ac_status=$?
6198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 >  (exit $ac_status); }; } &&
6200 >         { ac_try='test -s conftest.$ac_objext'
6201 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6202 >  (eval $ac_try) 2>&5
6203 >  ac_status=$?
6204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 >  (exit $ac_status); }; }; then
6206 >  ac_cv_cxx_have_std_iostream=yes
6207 > else
6208 >  echo "$as_me: failed program was:" >&5
6209 > sed 's/^/| /' conftest.$ac_ext >&5
6210 >
6211 > fi
6212 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6213 >        cat >conftest.$ac_ext <<_ACEOF
6214 > /* confdefs.h.  */
6215 > _ACEOF
6216 > cat confdefs.h >>conftest.$ac_ext
6217 > cat >>conftest.$ac_ext <<_ACEOF
6218 > /* end confdefs.h.  */
6219 >
6220 > #define __USE_STD_IOSTREAM 1
6221 > #ifdef HAVE_IOSTREAM
6222 > #include <iostream>
6223 > #else
6224 > #include <iostream.h>
6225 > #endif
6226 >
6227 > int
6228 > main ()
6229 > {
6230 > std::cout<<"Hello World"<<std::endl;return 0;
6231 >  ;
6232 >  return 0;
6233 > }
6234 > _ACEOF
6235 > rm -f conftest.$ac_objext
6236 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237 >  (eval $ac_compile) 2>conftest.er1
6238 >  ac_status=$?
6239 >  grep -v '^ *+' conftest.er1 >conftest.err
6240 >  rm -f conftest.er1
6241 >  cat conftest.err >&5
6242 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 >  (exit $ac_status); } &&
6244 >         { ac_try='test -z "$ac_cxx_werror_flag"
6245 >                         || test ! -s conftest.err'
6246 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 >  (eval $ac_try) 2>&5
6248 >  ac_status=$?
6249 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 >  (exit $ac_status); }; } &&
6251 >         { ac_try='test -s conftest.$ac_objext'
6252 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 >  (eval $ac_try) 2>&5
6254 >  ac_status=$?
6255 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 >  (exit $ac_status); }; }; then
6257 >  ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes
6258 > else
6259 >  echo "$as_me: failed program was:" >&5
6260 > sed 's/^/| /' conftest.$ac_ext >&5
6261 >
6262 > fi
6263 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6264 >        ac_ext=cc
6265 > ac_cpp='$CXXCPP $CPPFLAGS'
6266 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6267 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6269 >
6270 >      fi
6271 >
6272 > fi
6273 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5
6274 > echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6
6275 >  if test "$ac_cv_cxx_have_std_iostream" = yes; then
6276 >
6277 > cat >>confdefs.h <<\_ACEOF
6278 > #define HAVE_STD_IOSTREAM 1
6279 > _ACEOF
6280 >
6281 >  fi
6282 >  if test "$ac_cv_cxx_need_use_std_iostream" = yes; then
6283 >
6284 > cat >>confdefs.h <<\_ACEOF
6285 > #define __USE_STD_IOSTREAM 1
6286 > _ACEOF
6287 >
6288 >  fi
6289 >
6290 >
6291 >
6292 >
6293 >  echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5
6294 > echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6
6295 > if test "${ac_cv_cxx_have_std_stl+set}" = set; then
6296 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6297 > else
6298 >
6299 >      ac_cv_cxx_have_std_stl=no
6300 >      if test "x$ac_cv_cxx_namespaces" = xyes; then
6301 >
6302 >
6303 >        ac_ext=cc
6304 > ac_cpp='$CXXCPP $CPPFLAGS'
6305 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6306 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6307 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6308 >
6309 >        cat >conftest.$ac_ext <<_ACEOF
6310 > /* confdefs.h.  */
6311 > _ACEOF
6312 > cat confdefs.h >>conftest.$ac_ext
6313 > cat >>conftest.$ac_ext <<_ACEOF
6314 > /* end confdefs.h.  */
6315 > #include <list>
6316 >
6317 > int
6318 > main ()
6319 > {
6320 > std::list<int> foo;return 0;
6321 >  ;
6322 >  return 0;
6323 > }
6324 > _ACEOF
6325 > rm -f conftest.$ac_objext
6326 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 >  (eval $ac_compile) 2>conftest.er1
6328 >  ac_status=$?
6329 >  grep -v '^ *+' conftest.er1 >conftest.err
6330 >  rm -f conftest.er1
6331 >  cat conftest.err >&5
6332 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 >  (exit $ac_status); } &&
6334 >         { ac_try='test -z "$ac_cxx_werror_flag"
6335 >                         || test ! -s conftest.err'
6336 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 >  (eval $ac_try) 2>&5
6338 >  ac_status=$?
6339 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 >  (exit $ac_status); }; } &&
6341 >         { ac_try='test -s conftest.$ac_objext'
6342 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 >  (eval $ac_try) 2>&5
6344 >  ac_status=$?
6345 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 >  (exit $ac_status); }; }; then
6347 >  ac_cv_cxx_have_std_stl=yes
6348 > else
6349 >  echo "$as_me: failed program was:" >&5
6350 > sed 's/^/| /' conftest.$ac_ext >&5
6351 >
6352 > fi
6353 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 >        ac_ext=cc
6355 > ac_cpp='$CXXCPP $CPPFLAGS'
6356 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6357 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6358 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6359 >
6360 >      fi
6361 >
6362 > fi
6363 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5
6364 > echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6
6365 >  if test "$ac_cv_cxx_have_std_stl" = yes; then
6366 >
6367 > cat >>confdefs.h <<\_ACEOF
6368 > #define HAVE_STD_STL 1
6369 > _ACEOF
6370 >
6371 >  fi
6372 >
6373 >
6374 >
6375 >  echo "$as_me:$LINENO: checking for fstream::attach()" >&5
6376 > echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6
6377 > if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then
6378 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6379 > else
6380 >
6381 >    ac_cv_cxx_have_fstream_attach=no
6382 >
6383 >
6384 >    ac_ext=cc
6385 > ac_cpp='$CXXCPP $CPPFLAGS'
6386 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6389 >
6390 >    cat >conftest.$ac_ext <<_ACEOF
6391 > /* confdefs.h.  */
6392 > _ACEOF
6393 > cat confdefs.h >>conftest.$ac_ext
6394 > cat >>conftest.$ac_ext <<_ACEOF
6395 > /* end confdefs.h.  */
6396 >
6397 > #ifdef HAVE_IOSTREAM
6398 > #include <fstream>
6399 > #else
6400 > #include <fstream.h>
6401 > #endif
6402 > #ifdef HAVE_STD_IOSTREAM
6403 > using namespace std;
6404 > #endif
6405 >
6406 > int
6407 > main ()
6408 > {
6409 > int fd=0;ofstream s;s.attach(fd);
6410 >  ;
6411 >  return 0;
6412 > }
6413 > _ACEOF
6414 > rm -f conftest.$ac_objext
6415 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6416 >  (eval $ac_compile) 2>conftest.er1
6417 >  ac_status=$?
6418 >  grep -v '^ *+' conftest.er1 >conftest.err
6419 >  rm -f conftest.er1
6420 >  cat conftest.err >&5
6421 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 >  (exit $ac_status); } &&
6423 >         { ac_try='test -z "$ac_cxx_werror_flag"
6424 >                         || test ! -s conftest.err'
6425 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 >  (eval $ac_try) 2>&5
6427 >  ac_status=$?
6428 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 >  (exit $ac_status); }; } &&
6430 >         { ac_try='test -s conftest.$ac_objext'
6431 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 >  (eval $ac_try) 2>&5
6433 >  ac_status=$?
6434 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 >  (exit $ac_status); }; }; then
6436 >  ac_cv_cxx_have_fstream_attach=yes
6437 > else
6438 >  echo "$as_me: failed program was:" >&5
6439 > sed 's/^/| /' conftest.$ac_ext >&5
6440 >
6441 > fi
6442 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6443 >    ac_ext=cc
6444 > ac_cpp='$CXXCPP $CPPFLAGS'
6445 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6448 >
6449 >
6450 > fi
6451 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5
6452 > echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6
6453 >  if test "$ac_cv_cxx_have_fstream_attach" = yes; then
6454 >
6455 > cat >>confdefs.h <<\_ACEOF
6456 > #define HAVE_FSTREAM_ATTACH 1
6457 > _ACEOF
6458 >
6459 >  fi
6460 >
6461 >
6462 >
6463 >  echo "$as_me:$LINENO: checking for fstream::open()" >&5
6464 > echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6
6465 > if test "${ac_cv_cxx_have_fstream_open+set}" = set; then
6466 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6467 > else
6468 >
6469 >    ac_cv_cxx_have_fstream_open=no
6470 >    ac_cv_cxx_fstream_open_prot=no
6471 >
6472 >
6473 >    ac_ext=cc
6474 > ac_cpp='$CXXCPP $CPPFLAGS'
6475 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6476 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6477 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6478 >
6479 >    # Try with 2 parameters
6480 >    cat >conftest.$ac_ext <<_ACEOF
6481 > /* confdefs.h.  */
6482 > _ACEOF
6483 > cat confdefs.h >>conftest.$ac_ext
6484 > cat >>conftest.$ac_ext <<_ACEOF
6485 > /* end confdefs.h.  */
6486 >
6487 > #ifdef HAVE_IOSTREAM
6488 > #include <fstream>
6489 > #else
6490 > #include <fstream.h>
6491 > #endif
6492 > #ifdef HAVE_STD_IOSTREAM
6493 > using namespace std;
6494 > #endif
6495 >
6496 > int
6497 > main ()
6498 > {
6499 > ofstream s;s.open("conftest.txt",ios::out|ios::trunc);
6500 >  ;
6501 >  return 0;
6502 > }
6503 > _ACEOF
6504 > rm -f conftest.$ac_objext
6505 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506 >  (eval $ac_compile) 2>conftest.er1
6507 >  ac_status=$?
6508 >  grep -v '^ *+' conftest.er1 >conftest.err
6509 >  rm -f conftest.er1
6510 >  cat conftest.err >&5
6511 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 >  (exit $ac_status); } &&
6513 >         { ac_try='test -z "$ac_cxx_werror_flag"
6514 >                         || test ! -s conftest.err'
6515 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 >  (eval $ac_try) 2>&5
6517 >  ac_status=$?
6518 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 >  (exit $ac_status); }; } &&
6520 >         { ac_try='test -s conftest.$ac_objext'
6521 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 >  (eval $ac_try) 2>&5
6523 >  ac_status=$?
6524 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 >  (exit $ac_status); }; }; then
6526 >  ac_cv_cxx_have_fstream_open=yes
6527 > else
6528 >  echo "$as_me: failed program was:" >&5
6529 > sed 's/^/| /' conftest.$ac_ext >&5
6530 >
6531 > fi
6532 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6533 >    # Try with mode parameter
6534 >    cat >conftest.$ac_ext <<_ACEOF
6535 > /* confdefs.h.  */
6536 > _ACEOF
6537 > cat confdefs.h >>conftest.$ac_ext
6538 > cat >>conftest.$ac_ext <<_ACEOF
6539 > /* end confdefs.h.  */
6540 >
6541 > #ifdef HAVE_IOSTREAM
6542 > #include <fstream>
6543 > #else
6544 > #include <fstream.h>
6545 > #endif
6546 > #ifdef HAVE_STD_IOSTREAM
6547 > using namespace std;
6548 > #endif
6549 >
6550 > int
6551 > main ()
6552 > {
6553 > ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666);
6554 >  ;
6555 >  return 0;
6556 > }
6557 > _ACEOF
6558 > rm -f conftest.$ac_objext
6559 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6560 >  (eval $ac_compile) 2>conftest.er1
6561 >  ac_status=$?
6562 >  grep -v '^ *+' conftest.er1 >conftest.err
6563 >  rm -f conftest.er1
6564 >  cat conftest.err >&5
6565 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 >  (exit $ac_status); } &&
6567 >         { ac_try='test -z "$ac_cxx_werror_flag"
6568 >                         || test ! -s conftest.err'
6569 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570 >  (eval $ac_try) 2>&5
6571 >  ac_status=$?
6572 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 >  (exit $ac_status); }; } &&
6574 >         { ac_try='test -s conftest.$ac_objext'
6575 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576 >  (eval $ac_try) 2>&5
6577 >  ac_status=$?
6578 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 >  (exit $ac_status); }; }; then
6580 >  ac_cv_cxx_fstream_open_prot=yes
6581 > else
6582 >  echo "$as_me: failed program was:" >&5
6583 > sed 's/^/| /' conftest.$ac_ext >&5
6584 >
6585 > fi
6586 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6587 >    ac_ext=cc
6588 > ac_cpp='$CXXCPP $CPPFLAGS'
6589 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6592 >
6593 >
6594 > fi
6595 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5
6596 > echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6
6597 >  if test "$ac_cv_cxx_have_fstream_open" = yes; then
6598 >
6599 > cat >>confdefs.h <<\_ACEOF
6600 > #define HAVE_FSTREAM_OPEN 1
6601 > _ACEOF
6602 >
6603 >  fi
6604 >  if test "$ac_cv_cxx_fstream_open_prot" = yes; then
6605 >
6606 > cat >>confdefs.h <<\_ACEOF
6607 > #define FSTREAM_OPEN_PROT 1
6608 > _ACEOF
6609 >
6610 >  fi
6611 >
6612 >
6613 >
6614 >
6615 > echo "$as_me:$LINENO: checking for asin in -lm" >&5
6616 > echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
6617 > if test "${ac_cv_lib_m_asin+set}" = set; then
6618 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6619 > else
6620 >  ac_check_lib_save_LIBS=$LIBS
6621 > LIBS="-lm  $LIBS"
6622 > cat >conftest.$ac_ext <<_ACEOF
6623 > /* confdefs.h.  */
6624 > _ACEOF
6625 > cat confdefs.h >>conftest.$ac_ext
6626 > cat >>conftest.$ac_ext <<_ACEOF
6627 > /* end confdefs.h.  */
6628 >
6629 > /* Override any gcc2 internal prototype to avoid an error.  */
6630 > #ifdef __cplusplus
6631 > extern "C"
6632 > #endif
6633 > /* We use char because int might match the return type of a gcc2
6634 >   builtin and then its argument prototype would still apply.  */
6635 > char asin ();
6636 > int
6637 > main ()
6638 > {
6639 > asin ();
6640 >  ;
6641 >  return 0;
6642 > }
6643 > _ACEOF
6644 > rm -f conftest.$ac_objext conftest$ac_exeext
6645 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6646 >  (eval $ac_link) 2>conftest.er1
6647 >  ac_status=$?
6648 >  grep -v '^ *+' conftest.er1 >conftest.err
6649 >  rm -f conftest.er1
6650 >  cat conftest.err >&5
6651 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 >  (exit $ac_status); } &&
6653 >         { ac_try='test -z "$ac_cxx_werror_flag"
6654 >                         || test ! -s conftest.err'
6655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 >  (eval $ac_try) 2>&5
6657 >  ac_status=$?
6658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 >  (exit $ac_status); }; } &&
6660 >         { ac_try='test -s conftest$ac_exeext'
6661 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 >  (eval $ac_try) 2>&5
6663 >  ac_status=$?
6664 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 >  (exit $ac_status); }; }; then
6666 >  ac_cv_lib_m_asin=yes
6667 > else
6668 >  echo "$as_me: failed program was:" >&5
6669 > sed 's/^/| /' conftest.$ac_ext >&5
6670 >
6671 > ac_cv_lib_m_asin=no
6672 > fi
6673 > rm -f conftest.err conftest.$ac_objext \
6674 >      conftest$ac_exeext conftest.$ac_ext
6675 > LIBS=$ac_check_lib_save_LIBS
6676 > fi
6677 > echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
6678 > echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
6679 > if test $ac_cv_lib_m_asin = yes; then
6680 >  cat >>confdefs.h <<_ACEOF
6681 > #define HAVE_LIBM 1
6682 > _ACEOF
6683 >
6684 >  LIBS="-lm $LIBS"
6685 >
6686 > else
6687 >  exit
6688 > fi
6689 >
6690 >
6691 > ac_ext=c
6692 > ac_cpp='$CPP $CPPFLAGS'
6693 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6694 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6695 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6696 >
6697 >
6698 > #
6699 > # Handle user hints
6700 > #
6701 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
6702 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
6703 >
6704 > # Check whether --with-zlib or --without-zlib was given.
6705 > if test "${with_zlib+set}" = set; then
6706 >  withval="$with_zlib"
6707 >  if test "$withval" != no ; then
6708 >  echo "$as_me:$LINENO: result: yes" >&5
6709 > echo "${ECHO_T}yes" >&6
6710 >  if test -d "$withval"
6711 >  then
6712 >    ZLIB_HOME="$withval"
6713 >  else
6714 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
6715 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
6716 >  fi
6717 > else
6718 >  echo "$as_me:$LINENO: result: no" >&5
6719 > echo "${ECHO_T}no" >&6
6720 > fi
6721 > fi;
6722 >
6723 > ZLIB_HOME=/usr/local
6724 > if test ! -f "${ZLIB_HOME}/include/zlib.h"
6725 > then
6726 >        ZLIB_HOME=/usr
6727 > fi
6728 >
6729 > #
6730 > # Locate zlib, if wanted
6731 > #
6732 > if test -n "${ZLIB_HOME}"
6733 > then
6734 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
6735 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
6736 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
6737 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
6738 >
6739 >
6740 >        ac_ext=c
6741 > ac_cpp='$CPP $CPPFLAGS'
6742 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6743 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6744 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6745 >
6746 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
6747 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
6748 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
6749 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6750 > else
6751 >  ac_check_lib_save_LIBS=$LIBS
6752 > LIBS="-lz  $LIBS"
6753 > cat >conftest.$ac_ext <<_ACEOF
6754 > /* confdefs.h.  */
6755 > _ACEOF
6756 > cat confdefs.h >>conftest.$ac_ext
6757 > cat >>conftest.$ac_ext <<_ACEOF
6758 > /* end confdefs.h.  */
6759 >
6760 > /* Override any gcc2 internal prototype to avoid an error.  */
6761 > #ifdef __cplusplus
6762 > extern "C"
6763 > #endif
6764 > /* We use char because int might match the return type of a gcc2
6765 >   builtin and then its argument prototype would still apply.  */
6766 > char inflateEnd ();
6767 > int
6768 > main ()
6769 > {
6770 > inflateEnd ();
6771 >  ;
6772 >  return 0;
6773 > }
6774 > _ACEOF
6775 > rm -f conftest.$ac_objext conftest$ac_exeext
6776 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6777 >  (eval $ac_link) 2>conftest.er1
6778 >  ac_status=$?
6779 >  grep -v '^ *+' conftest.er1 >conftest.err
6780 >  rm -f conftest.er1
6781 >  cat conftest.err >&5
6782 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 >  (exit $ac_status); } &&
6784 >         { ac_try='test -z "$ac_c_werror_flag"
6785 >                         || test ! -s conftest.err'
6786 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 >  (eval $ac_try) 2>&5
6788 >  ac_status=$?
6789 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 >  (exit $ac_status); }; } &&
6791 >         { ac_try='test -s conftest$ac_exeext'
6792 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 >  (eval $ac_try) 2>&5
6794 >  ac_status=$?
6795 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 >  (exit $ac_status); }; }; then
6797 >  ac_cv_lib_z_inflateEnd=yes
6798 > else
6799 >  echo "$as_me: failed program was:" >&5
6800 > sed 's/^/| /' conftest.$ac_ext >&5
6801 >
6802 > ac_cv_lib_z_inflateEnd=no
6803 > fi
6804 > rm -f conftest.err conftest.$ac_objext \
6805 >      conftest$ac_exeext conftest.$ac_ext
6806 > LIBS=$ac_check_lib_save_LIBS
6807 > fi
6808 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
6809 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
6810 > if test $ac_cv_lib_z_inflateEnd = yes; then
6811 >  zlib_cv_libz=yes
6812 > else
6813 >  zlib_cv_libz=no
6814 > fi
6815 >
6816 >        if test "${ac_cv_header_zlib_h+set}" = set; then
6817 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
6818 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
6819 > if test "${ac_cv_header_zlib_h+set}" = set; then
6820 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6821 > fi
6822 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
6823 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
6824 > else
6825 >  # Is the header compilable?
6826 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
6827 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
6828 > cat >conftest.$ac_ext <<_ACEOF
6829 > /* confdefs.h.  */
6830 > _ACEOF
6831 > cat confdefs.h >>conftest.$ac_ext
6832 > cat >>conftest.$ac_ext <<_ACEOF
6833 > /* end confdefs.h.  */
6834 > $ac_includes_default
6835 > #include <zlib.h>
6836 > _ACEOF
6837 > rm -f conftest.$ac_objext
6838 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6839 >  (eval $ac_compile) 2>conftest.er1
6840 >  ac_status=$?
6841 >  grep -v '^ *+' conftest.er1 >conftest.err
6842 >  rm -f conftest.er1
6843 >  cat conftest.err >&5
6844 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 >  (exit $ac_status); } &&
6846 >         { ac_try='test -z "$ac_c_werror_flag"
6847 >                         || test ! -s conftest.err'
6848 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 >  (eval $ac_try) 2>&5
6850 >  ac_status=$?
6851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 >  (exit $ac_status); }; } &&
6853 >         { ac_try='test -s conftest.$ac_objext'
6854 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6855 >  (eval $ac_try) 2>&5
6856 >  ac_status=$?
6857 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 >  (exit $ac_status); }; }; then
6859 >  ac_header_compiler=yes
6860 > else
6861 >  echo "$as_me: failed program was:" >&5
6862 > sed 's/^/| /' conftest.$ac_ext >&5
6863 >
6864 > ac_header_compiler=no
6865 > fi
6866 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6867 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6868 > echo "${ECHO_T}$ac_header_compiler" >&6
6869 >
6870 > # Is the header present?
6871 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
6872 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
6873 > cat >conftest.$ac_ext <<_ACEOF
6874 > /* confdefs.h.  */
6875 > _ACEOF
6876 > cat confdefs.h >>conftest.$ac_ext
6877 > cat >>conftest.$ac_ext <<_ACEOF
6878 > /* end confdefs.h.  */
6879 > #include <zlib.h>
6880 > _ACEOF
6881 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6882 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6883 >  ac_status=$?
6884 >  grep -v '^ *+' conftest.er1 >conftest.err
6885 >  rm -f conftest.er1
6886 >  cat conftest.err >&5
6887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 >  (exit $ac_status); } >/dev/null; then
6889 >  if test -s conftest.err; then
6890 >    ac_cpp_err=$ac_c_preproc_warn_flag
6891 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6892 >  else
6893 >    ac_cpp_err=
6894 >  fi
6895 > else
6896 >  ac_cpp_err=yes
6897 > fi
6898 > if test -z "$ac_cpp_err"; then
6899 >  ac_header_preproc=yes
6900 > else
6901 >  echo "$as_me: failed program was:" >&5
6902 > sed 's/^/| /' conftest.$ac_ext >&5
6903 >
6904 >  ac_header_preproc=no
6905 > fi
6906 > rm -f conftest.err conftest.$ac_ext
6907 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6908 > echo "${ECHO_T}$ac_header_preproc" >&6
6909 >
6910 > # So?  What about this header?
6911 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6912 >  yes:no: )
6913 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6914 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6915 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
6916 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
6917 >    ac_header_preproc=yes
6918 >    ;;
6919 >  no:yes:* )
6920 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
6921 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
6922 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
6923 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
6924 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
6925 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
6926 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
6927 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6928 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
6929 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
6930 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
6931 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
6932 >    (
6933 >      cat <<\_ASBOX
6934 > ## ------------------------------ ##
6935 > ## Report this to gezelter@nd.edu ##
6936 > ## ------------------------------ ##
6937 > _ASBOX
6938 >    ) |
6939 >      sed "s/^/$as_me: WARNING:     /" >&2
6940 >    ;;
6941 > esac
6942 > echo "$as_me:$LINENO: checking for zlib.h" >&5
6943 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
6944 > if test "${ac_cv_header_zlib_h+set}" = set; then
6945 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6946 > else
6947 >  ac_cv_header_zlib_h=$ac_header_preproc
6948 > fi
6949 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
6950 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
6951 >
6952 > fi
6953 > if test $ac_cv_header_zlib_h = yes; then
6954 >  zlib_cv_zlib_h=yes
6955 > else
6956 >  zlib_cv_zlib_h=no
6957 > fi
6958 >
6959 >
6960 >        ac_ext=c
6961 > ac_cpp='$CPP $CPPFLAGS'
6962 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6963 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6964 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6965 >
6966 >        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
6967 >        then
6968 >                #
6969 >                # If both library and header were found, use them
6970 >                #
6971 >
6972 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
6973 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
6974 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
6975 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6976 > else
6977 >  ac_check_lib_save_LIBS=$LIBS
6978 > LIBS="-lz  $LIBS"
6979 > cat >conftest.$ac_ext <<_ACEOF
6980 > /* confdefs.h.  */
6981 > _ACEOF
6982 > cat confdefs.h >>conftest.$ac_ext
6983 > cat >>conftest.$ac_ext <<_ACEOF
6984 > /* end confdefs.h.  */
6985 >
6986 > /* Override any gcc2 internal prototype to avoid an error.  */
6987 > #ifdef __cplusplus
6988 > extern "C"
6989 > #endif
6990 > /* We use char because int might match the return type of a gcc2
6991 >   builtin and then its argument prototype would still apply.  */
6992 > char inflateEnd ();
6993 > int
6994 > main ()
6995 > {
6996 > inflateEnd ();
6997 >  ;
6998 >  return 0;
6999 > }
7000 > _ACEOF
7001 > rm -f conftest.$ac_objext conftest$ac_exeext
7002 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7003 >  (eval $ac_link) 2>conftest.er1
7004 >  ac_status=$?
7005 >  grep -v '^ *+' conftest.er1 >conftest.err
7006 >  rm -f conftest.er1
7007 >  cat conftest.err >&5
7008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 >  (exit $ac_status); } &&
7010 >         { ac_try='test -z "$ac_c_werror_flag"
7011 >                         || test ! -s conftest.err'
7012 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 >  (eval $ac_try) 2>&5
7014    ac_status=$?
7015    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 <  (exit $ac_status); } &&
7017 <         { ac_try='test -s conftest.$ac_objext'
7016 >  (exit $ac_status); }; } &&
7017 >         { ac_try='test -s conftest$ac_exeext'
7018    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019    (eval $ac_try) 2>&5
7020    ac_status=$?
7021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022    (exit $ac_status); }; }; then
7023 <  eval "$as_ac_Header=yes"
7023 >  ac_cv_lib_z_inflateEnd=yes
7024   else
7025    echo "$as_me: failed program was:" >&5
7026   sed 's/^/| /' conftest.$ac_ext >&5
7027  
7028 < eval "$as_ac_Header=no"
7028 > ac_cv_lib_z_inflateEnd=no
7029   fi
7030 < rm -f conftest.$ac_objext conftest.$ac_ext
7030 > rm -f conftest.err conftest.$ac_objext \
7031 >      conftest$ac_exeext conftest.$ac_ext
7032 > LIBS=$ac_check_lib_save_LIBS
7033   fi
7034 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7035 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7036 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
7034 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
7035 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
7036 > if test $ac_cv_lib_z_inflateEnd = yes; then
7037    cat >>confdefs.h <<_ACEOF
7038 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7038 > #define HAVE_LIBZ 1
7039   _ACEOF
7040  
7041 +  LIBS="-lz $LIBS"
7042 +
7043   fi
7044  
7045 < done
7045 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
7046 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
7047 >                echo "$as_me:$LINENO: result: ok" >&5
7048 > echo "${ECHO_T}ok" >&6
7049 >        else
7050 >                #
7051 >                # If either header or library was not found, revert and bomb
7052 >                #
7053 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
7054 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
7055 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
7056 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
7057 >                echo "$as_me:$LINENO: result: failed" >&5
7058 > echo "${ECHO_T}failed" >&6
7059 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
7060 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
7061 >   { (exit 1); exit 1; }; }
7062 >        fi
7063 > fi
7064  
7065  
7066  
# Line 4729 | Line 7072 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
7072  
7073  
7074  
7075 < for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
7075 >
7076 >
7077 >
7078 >
7079 >
7080 >
7081 >
7082 >
7083 >
7084 >
7085 > for ac_header in stdlib.h string.h sys/param.h unistd.h sys/time.h stdio.h conio.h strstream.h iostream.h fstream.h math.h time.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
7086   do
7087   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 4745 | Line 7098 | cat >conftest.$ac_ext <<_ACEOF
7098   echo "$as_me:$LINENO: checking $ac_header usability" >&5
7099   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7100   cat >conftest.$ac_ext <<_ACEOF
4748 #line $LINENO "configure"
7101   /* confdefs.h.  */
7102   _ACEOF
7103   cat confdefs.h >>conftest.$ac_ext
# Line 4756 | Line 7108 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7108   _ACEOF
7109   rm -f conftest.$ac_objext
7110   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7111 <  (eval $ac_compile) 2>&5
7111 >  (eval $ac_compile) 2>conftest.er1
7112    ac_status=$?
7113 +  grep -v '^ *+' conftest.er1 >conftest.err
7114 +  rm -f conftest.er1
7115 +  cat conftest.err >&5
7116    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117    (exit $ac_status); } &&
7118 <         { ac_try='test -s conftest.$ac_objext'
7118 >         { ac_try='test -z "$ac_c_werror_flag"
7119 >                         || test ! -s conftest.err'
7120    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121    (eval $ac_try) 2>&5
7122    ac_status=$?
7123    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 +  (exit $ac_status); }; } &&
7125 +         { ac_try='test -s conftest.$ac_objext'
7126 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 +  (eval $ac_try) 2>&5
7128 +  ac_status=$?
7129 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130    (exit $ac_status); }; }; then
7131    ac_header_compiler=yes
7132   else
# Line 4773 | Line 7135 | rm -f conftest.$ac_objext conftest.$ac_ext
7135  
7136   ac_header_compiler=no
7137   fi
7138 < rm -f conftest.$ac_objext conftest.$ac_ext
7138 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7139   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7140   echo "${ECHO_T}$ac_header_compiler" >&6
7141  
# Line 4781 | Line 7143 | cat >conftest.$ac_ext <<_ACEOF
7143   echo "$as_me:$LINENO: checking $ac_header presence" >&5
7144   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7145   cat >conftest.$ac_ext <<_ACEOF
4784 #line $LINENO "configure"
7146   /* confdefs.h.  */
7147   _ACEOF
7148   cat confdefs.h >>conftest.$ac_ext
# Line 4799 | Line 7160 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
7160    (exit $ac_status); } >/dev/null; then
7161    if test -s conftest.err; then
7162      ac_cpp_err=$ac_c_preproc_warn_flag
7163 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7164    else
7165      ac_cpp_err=
7166    fi
# Line 4818 | Line 7180 | case $ac_header_compiler:$ac_header_preproc in
7180   echo "${ECHO_T}$ac_header_preproc" >&6
7181  
7182   # So?  What about this header?
7183 < case $ac_header_compiler:$ac_header_preproc in
7184 <  yes:no )
7183 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7184 >  yes:no: )
7185      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7186   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7187 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7188 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7189 +    ac_header_preproc=yes
7190 +    ;;
7191 +  no:yes:* )
7192 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7193 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7194 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7195 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7196 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7197 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7198 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7199 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7200      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7201   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7202 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7203 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7204      (
7205        cat <<\_ASBOX
7206 < ## ------------------------------------ ##
7207 < ## Report this to bug-autoconf@gnu.org. ##
7208 < ## ------------------------------------ ##
7206 > ## ------------------------------ ##
7207 > ## Report this to gezelter@nd.edu ##
7208 > ## ------------------------------ ##
7209   _ASBOX
7210      ) |
7211        sed "s/^/$as_me: WARNING:     /" >&2
7212      ;;
7213 <  no:yes )
7213 > esac
7214 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7215 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7216 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7217 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7218 > else
7219 >  eval "$as_ac_Header=\$ac_header_preproc"
7220 > fi
7221 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7222 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7223 >
7224 > fi
7225 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 >  cat >>confdefs.h <<_ACEOF
7227 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 > _ACEOF
7229 >
7230 > fi
7231 >
7232 > done
7233 >
7234 > ac_ext=cc
7235 > ac_cpp='$CXXCPP $CPPFLAGS'
7236 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7239 >
7240 >
7241 >
7242 >
7243 >
7244 >
7245 > for ac_header in ctype.h iostream fstream sstream strstream
7246 > do
7247 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7248 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7249 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7250 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7251 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7252 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7253 > fi
7254 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7255 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7256 > else
7257 >  # Is the header compilable?
7258 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7259 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7260 > cat >conftest.$ac_ext <<_ACEOF
7261 > /* confdefs.h.  */
7262 > _ACEOF
7263 > cat confdefs.h >>conftest.$ac_ext
7264 > cat >>conftest.$ac_ext <<_ACEOF
7265 > /* end confdefs.h.  */
7266 > $ac_includes_default
7267 > #include <$ac_header>
7268 > _ACEOF
7269 > rm -f conftest.$ac_objext
7270 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7271 >  (eval $ac_compile) 2>conftest.er1
7272 >  ac_status=$?
7273 >  grep -v '^ *+' conftest.er1 >conftest.err
7274 >  rm -f conftest.er1
7275 >  cat conftest.err >&5
7276 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 >  (exit $ac_status); } &&
7278 >         { ac_try='test -z "$ac_cxx_werror_flag"
7279 >                         || test ! -s conftest.err'
7280 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 >  (eval $ac_try) 2>&5
7282 >  ac_status=$?
7283 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 >  (exit $ac_status); }; } &&
7285 >         { ac_try='test -s conftest.$ac_objext'
7286 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 >  (eval $ac_try) 2>&5
7288 >  ac_status=$?
7289 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 >  (exit $ac_status); }; }; then
7291 >  ac_header_compiler=yes
7292 > else
7293 >  echo "$as_me: failed program was:" >&5
7294 > sed 's/^/| /' conftest.$ac_ext >&5
7295 >
7296 > ac_header_compiler=no
7297 > fi
7298 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7299 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7300 > echo "${ECHO_T}$ac_header_compiler" >&6
7301 >
7302 > # Is the header present?
7303 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7304 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7305 > cat >conftest.$ac_ext <<_ACEOF
7306 > /* confdefs.h.  */
7307 > _ACEOF
7308 > cat confdefs.h >>conftest.$ac_ext
7309 > cat >>conftest.$ac_ext <<_ACEOF
7310 > /* end confdefs.h.  */
7311 > #include <$ac_header>
7312 > _ACEOF
7313 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7314 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7315 >  ac_status=$?
7316 >  grep -v '^ *+' conftest.er1 >conftest.err
7317 >  rm -f conftest.er1
7318 >  cat conftest.err >&5
7319 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 >  (exit $ac_status); } >/dev/null; then
7321 >  if test -s conftest.err; then
7322 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
7323 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7324 >  else
7325 >    ac_cpp_err=
7326 >  fi
7327 > else
7328 >  ac_cpp_err=yes
7329 > fi
7330 > if test -z "$ac_cpp_err"; then
7331 >  ac_header_preproc=yes
7332 > else
7333 >  echo "$as_me: failed program was:" >&5
7334 > sed 's/^/| /' conftest.$ac_ext >&5
7335 >
7336 >  ac_header_preproc=no
7337 > fi
7338 > rm -f conftest.err conftest.$ac_ext
7339 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7340 > echo "${ECHO_T}$ac_header_preproc" >&6
7341 >
7342 > # So?  What about this header?
7343 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7344 >  yes:no: )
7345 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7346 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7347 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7348 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7349 >    ac_header_preproc=yes
7350 >    ;;
7351 >  no:yes:* )
7352      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7353   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7354 <    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7355 < echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7354 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7355 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7356 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7357 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7358 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7359 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7360      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7361   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7362 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7363 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7364      (
7365        cat <<\_ASBOX
7366 < ## ------------------------------------ ##
7367 < ## Report this to bug-autoconf@gnu.org. ##
7368 < ## ------------------------------------ ##
7366 > ## ------------------------------ ##
7367 > ## Report this to gezelter@nd.edu ##
7368 > ## ------------------------------ ##
7369   _ASBOX
7370      ) |
7371        sed "s/^/$as_me: WARNING:     /" >&2
# Line 4855 | Line 7376 | else
7376   if eval "test \"\${$as_ac_Header+set}\" = set"; then
7377    echo $ECHO_N "(cached) $ECHO_C" >&6
7378   else
7379 <  eval "$as_ac_Header=$ac_header_preproc"
7379 >  eval "$as_ac_Header=\$ac_header_preproc"
7380   fi
7381   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7382   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4870 | Line 7391 | done
7391  
7392   done
7393  
7394 + ac_ext=c
7395 + ac_cpp='$CPP $CPPFLAGS'
7396 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7397 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7398 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
7399  
7400  
7401  
7402  
7403  
7404 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
7404 >
7405 >
7406 >
7407 >
7408 >
7409 >
7410 >
7411 >
7412 > for ac_func in rint snprintf sranddev strcasecmp strncasecmp stricmp strnicmp pstat_getstatic sysmp getsysinfo sysctl table
7413   do
7414   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7415   echo "$as_me:$LINENO: checking for $ac_func" >&5
# Line 4884 | Line 7418 | else
7418    echo $ECHO_N "(cached) $ECHO_C" >&6
7419   else
7420    cat >conftest.$ac_ext <<_ACEOF
4887 #line $LINENO "configure"
7421   /* confdefs.h.  */
7422   _ACEOF
7423   cat confdefs.h >>conftest.$ac_ext
7424   cat >>conftest.$ac_ext <<_ACEOF
7425   /* end confdefs.h.  */
7426 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7427 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7428 + #define $ac_func innocuous_$ac_func
7429 +
7430   /* System header to define __stub macros and hopefully few prototypes,
7431      which can conflict with char $ac_func (); below.
7432      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7433      <limits.h> exists even on freestanding compilers.  */
7434 +
7435   #ifdef __STDC__
7436   # include <limits.h>
7437   #else
7438   # include <assert.h>
7439   #endif
7440 +
7441 + #undef $ac_func
7442 +
7443   /* Override any gcc2 internal prototype to avoid an error.  */
7444   #ifdef __cplusplus
7445   extern "C"
# Line 4929 | Line 7470 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7470   _ACEOF
7471   rm -f conftest.$ac_objext conftest$ac_exeext
7472   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7473 <  (eval $ac_link) 2>&5
7473 >  (eval $ac_link) 2>conftest.er1
7474    ac_status=$?
7475 +  grep -v '^ *+' conftest.er1 >conftest.err
7476 +  rm -f conftest.er1
7477 +  cat conftest.err >&5
7478    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479    (exit $ac_status); } &&
7480 <         { ac_try='test -s conftest$ac_exeext'
7480 >         { ac_try='test -z "$ac_c_werror_flag"
7481 >                         || test ! -s conftest.err'
7482    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483    (eval $ac_try) 2>&5
7484    ac_status=$?
7485    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 +  (exit $ac_status); }; } &&
7487 +         { ac_try='test -s conftest$ac_exeext'
7488 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 +  (eval $ac_try) 2>&5
7490 +  ac_status=$?
7491 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492    (exit $ac_status); }; }; then
7493    eval "$as_ac_var=yes"
7494   else
# Line 4946 | Line 7497 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7497  
7498   eval "$as_ac_var=no"
7499   fi
7500 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7500 > rm -f conftest.err conftest.$ac_objext \
7501 >      conftest$ac_exeext conftest.$ac_ext
7502   fi
7503   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7504   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 4963 | Line 7515 | cat >conftest.$ac_ext <<_ACEOF
7515   echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
7516   echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
7517   cat >conftest.$ac_ext <<_ACEOF
4966 #line $LINENO "configure"
7518   /* confdefs.h.  */
7519   _ACEOF
7520   cat confdefs.h >>conftest.$ac_ext
# Line 4980 | Line 7531 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7531   _ACEOF
7532   rm -f conftest.$ac_objext
7533   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7534 <  (eval $ac_compile) 2>&5
7534 >  (eval $ac_compile) 2>conftest.er1
7535    ac_status=$?
7536 +  grep -v '^ *+' conftest.er1 >conftest.err
7537 +  rm -f conftest.er1
7538 +  cat conftest.err >&5
7539    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540    (exit $ac_status); } &&
7541 <         { ac_try='test -s conftest.$ac_objext'
7541 >         { ac_try='test -z "$ac_c_werror_flag"
7542 >                         || test ! -s conftest.err'
7543    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544    (eval $ac_try) 2>&5
7545    ac_status=$?
7546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 +  (exit $ac_status); }; } &&
7548 +         { ac_try='test -s conftest.$ac_objext'
7549 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550 +  (eval $ac_try) 2>&5
7551 +  ac_status=$?
7552 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553    (exit $ac_status); }; }; then
7554    echo "$as_me:$LINENO: result: yes" >&5
7555   echo "${ECHO_T}yes" >&6
# Line 5004 | Line 7565 | rm -f conftest.$ac_objext conftest.$ac_ext
7565   echo "$as_me:$LINENO: result: no" >&5
7566   echo "${ECHO_T}no" >&6
7567   fi
7568 < rm -f conftest.$ac_objext conftest.$ac_ext
7568 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7569 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7570 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7571 > if test "${ac_cv_header_time+set}" = set; then
7572 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7573 > else
7574 >  cat >conftest.$ac_ext <<_ACEOF
7575 > /* confdefs.h.  */
7576 > _ACEOF
7577 > cat confdefs.h >>conftest.$ac_ext
7578 > cat >>conftest.$ac_ext <<_ACEOF
7579 > /* end confdefs.h.  */
7580 > #include <sys/types.h>
7581 > #include <sys/time.h>
7582 > #include <time.h>
7583  
7584 + int
7585 + main ()
7586 + {
7587 + if ((struct tm *) 0)
7588 + return 0;
7589 +  ;
7590 +  return 0;
7591 + }
7592 + _ACEOF
7593 + rm -f conftest.$ac_objext
7594 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7595 +  (eval $ac_compile) 2>conftest.er1
7596 +  ac_status=$?
7597 +  grep -v '^ *+' conftest.er1 >conftest.err
7598 +  rm -f conftest.er1
7599 +  cat conftest.err >&5
7600 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 +  (exit $ac_status); } &&
7602 +         { ac_try='test -z "$ac_c_werror_flag"
7603 +                         || test ! -s conftest.err'
7604 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 +  (eval $ac_try) 2>&5
7606 +  ac_status=$?
7607 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 +  (exit $ac_status); }; } &&
7609 +         { ac_try='test -s conftest.$ac_objext'
7610 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 +  (eval $ac_try) 2>&5
7612 +  ac_status=$?
7613 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 +  (exit $ac_status); }; }; then
7615 +  ac_cv_header_time=yes
7616 + else
7617 +  echo "$as_me: failed program was:" >&5
7618 + sed 's/^/| /' conftest.$ac_ext >&5
7619 +
7620 + ac_cv_header_time=no
7621 + fi
7622 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7623 + fi
7624 + echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7625 + echo "${ECHO_T}$ac_cv_header_time" >&6
7626 + if test $ac_cv_header_time = yes; then
7627 +
7628 + cat >>confdefs.h <<\_ACEOF
7629 + #define TIME_WITH_SYS_TIME 1
7630 + _ACEOF
7631 +
7632 + fi
7633 +
7634 +
7635 + echo "$as_me:$LINENO: checking for clock_t" >&5
7636 + echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
7637 + if test "${ac_cv_type_clock_t+set}" = set; then
7638 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7639 + else
7640 +  cat >conftest.$ac_ext <<_ACEOF
7641 + /* confdefs.h.  */
7642 + _ACEOF
7643 + cat confdefs.h >>conftest.$ac_ext
7644 + cat >>conftest.$ac_ext <<_ACEOF
7645 + /* end confdefs.h.  */
7646 + $ac_includes_default
7647 + int
7648 + main ()
7649 + {
7650 + if ((clock_t *) 0)
7651 +  return 0;
7652 + if (sizeof (clock_t))
7653 +  return 0;
7654 +  ;
7655 +  return 0;
7656 + }
7657 + _ACEOF
7658 + rm -f conftest.$ac_objext
7659 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7660 +  (eval $ac_compile) 2>conftest.er1
7661 +  ac_status=$?
7662 +  grep -v '^ *+' conftest.er1 >conftest.err
7663 +  rm -f conftest.er1
7664 +  cat conftest.err >&5
7665 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 +  (exit $ac_status); } &&
7667 +         { ac_try='test -z "$ac_c_werror_flag"
7668 +                         || test ! -s conftest.err'
7669 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 +  (eval $ac_try) 2>&5
7671 +  ac_status=$?
7672 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 +  (exit $ac_status); }; } &&
7674 +         { ac_try='test -s conftest.$ac_objext'
7675 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 +  (eval $ac_try) 2>&5
7677 +  ac_status=$?
7678 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 +  (exit $ac_status); }; }; then
7680 +  ac_cv_type_clock_t=yes
7681 + else
7682 +  echo "$as_me: failed program was:" >&5
7683 + sed 's/^/| /' conftest.$ac_ext >&5
7684 +
7685 + ac_cv_type_clock_t=no
7686 + fi
7687 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7688 + fi
7689 + echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
7690 + echo "${ECHO_T}$ac_cv_type_clock_t" >&6
7691 + if test $ac_cv_type_clock_t = yes; then
7692 +
7693 + cat >>confdefs.h <<_ACEOF
7694 + #define HAVE_CLOCK_T 1
7695 + _ACEOF
7696 +
7697 +
7698 + fi
7699 +
7700 + echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7701 + echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7702 + if test "${ac_cv_c_const+set}" = set; then
7703 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7704 + else
7705 +  cat >conftest.$ac_ext <<_ACEOF
7706 + /* confdefs.h.  */
7707 + _ACEOF
7708 + cat confdefs.h >>conftest.$ac_ext
7709 + cat >>conftest.$ac_ext <<_ACEOF
7710 + /* end confdefs.h.  */
7711 +
7712 + int
7713 + main ()
7714 + {
7715 + /* FIXME: Include the comments suggested by Paul. */
7716 + #ifndef __cplusplus
7717 +  /* Ultrix mips cc rejects this.  */
7718 +  typedef int charset[2];
7719 +  const charset x;
7720 +  /* SunOS 4.1.1 cc rejects this.  */
7721 +  char const *const *ccp;
7722 +  char **p;
7723 +  /* NEC SVR4.0.2 mips cc rejects this.  */
7724 +  struct point {int x, y;};
7725 +  static struct point const zero = {0,0};
7726 +  /* AIX XL C 1.02.0.0 rejects this.
7727 +     It does not let you subtract one const X* pointer from another in
7728 +     an arm of an if-expression whose if-part is not a constant
7729 +     expression */
7730 +  const char *g = "string";
7731 +  ccp = &g + (g ? g-g : 0);
7732 +  /* HPUX 7.0 cc rejects these. */
7733 +  ++ccp;
7734 +  p = (char**) ccp;
7735 +  ccp = (char const *const *) p;
7736 +  { /* SCO 3.2v4 cc rejects this.  */
7737 +    char *t;
7738 +    char const *s = 0 ? (char *) 0 : (char const *) 0;
7739 +
7740 +    *t++ = 0;
7741 +  }
7742 +  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7743 +    int x[] = {25, 17};
7744 +    const int *foo = &x[0];
7745 +    ++foo;
7746 +  }
7747 +  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7748 +    typedef const int *iptr;
7749 +    iptr p = 0;
7750 +    ++p;
7751 +  }
7752 +  { /* AIX XL C 1.02.0.0 rejects this saying
7753 +       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7754 +    struct s { int j; const int *ap[3]; };
7755 +    struct s *b; b->j = 5;
7756 +  }
7757 +  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7758 +    const int foo = 10;
7759 +  }
7760 + #endif
7761 +
7762 +  ;
7763 +  return 0;
7764 + }
7765 + _ACEOF
7766 + rm -f conftest.$ac_objext
7767 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7768 +  (eval $ac_compile) 2>conftest.er1
7769 +  ac_status=$?
7770 +  grep -v '^ *+' conftest.er1 >conftest.err
7771 +  rm -f conftest.er1
7772 +  cat conftest.err >&5
7773 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 +  (exit $ac_status); } &&
7775 +         { ac_try='test -z "$ac_c_werror_flag"
7776 +                         || test ! -s conftest.err'
7777 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 +  (eval $ac_try) 2>&5
7779 +  ac_status=$?
7780 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 +  (exit $ac_status); }; } &&
7782 +         { ac_try='test -s conftest.$ac_objext'
7783 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 +  (eval $ac_try) 2>&5
7785 +  ac_status=$?
7786 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 +  (exit $ac_status); }; }; then
7788 +  ac_cv_c_const=yes
7789 + else
7790 +  echo "$as_me: failed program was:" >&5
7791 + sed 's/^/| /' conftest.$ac_ext >&5
7792 +
7793 + ac_cv_c_const=no
7794 + fi
7795 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7796 + fi
7797 + echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7798 + echo "${ECHO_T}$ac_cv_c_const" >&6
7799 + if test $ac_cv_c_const = no; then
7800 +
7801 + cat >>confdefs.h <<\_ACEOF
7802 + #define const
7803 + _ACEOF
7804 +
7805 + fi
7806 +
7807 + echo "$as_me:$LINENO: checking for inline" >&5
7808 + echo $ECHO_N "checking for inline... $ECHO_C" >&6
7809 + if test "${ac_cv_c_inline+set}" = set; then
7810 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7811 + else
7812 +  ac_cv_c_inline=no
7813 + for ac_kw in inline __inline__ __inline; do
7814 +  cat >conftest.$ac_ext <<_ACEOF
7815 + /* confdefs.h.  */
7816 + _ACEOF
7817 + cat confdefs.h >>conftest.$ac_ext
7818 + cat >>conftest.$ac_ext <<_ACEOF
7819 + /* end confdefs.h.  */
7820 + #ifndef __cplusplus
7821 + typedef int foo_t;
7822 + static $ac_kw foo_t static_foo () {return 0; }
7823 + $ac_kw foo_t foo () {return 0; }
7824 + #endif
7825 +
7826 + _ACEOF
7827 + rm -f conftest.$ac_objext
7828 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829 +  (eval $ac_compile) 2>conftest.er1
7830 +  ac_status=$?
7831 +  grep -v '^ *+' conftest.er1 >conftest.err
7832 +  rm -f conftest.er1
7833 +  cat conftest.err >&5
7834 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 +  (exit $ac_status); } &&
7836 +         { ac_try='test -z "$ac_c_werror_flag"
7837 +                         || test ! -s conftest.err'
7838 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 +  (eval $ac_try) 2>&5
7840 +  ac_status=$?
7841 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 +  (exit $ac_status); }; } &&
7843 +         { ac_try='test -s conftest.$ac_objext'
7844 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 +  (eval $ac_try) 2>&5
7846 +  ac_status=$?
7847 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 +  (exit $ac_status); }; }; then
7849 +  ac_cv_c_inline=$ac_kw; break
7850 + else
7851 +  echo "$as_me: failed program was:" >&5
7852 + sed 's/^/| /' conftest.$ac_ext >&5
7853 +
7854 + fi
7855 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7856 + done
7857 +
7858 + fi
7859 + echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7860 + echo "${ECHO_T}$ac_cv_c_inline" >&6
7861 +
7862 +
7863 + case $ac_cv_c_inline in
7864 +  inline | yes) ;;
7865 +  *)
7866 +    case $ac_cv_c_inline in
7867 +      no) ac_val=;;
7868 +      *) ac_val=$ac_cv_c_inline;;
7869 +    esac
7870 +    cat >>confdefs.h <<_ACEOF
7871 + #ifndef __cplusplus
7872 + #define inline $ac_val
7873 + #endif
7874 + _ACEOF
7875 +    ;;
7876 + esac
7877 +
7878 +
7879 +
7880    # clean out junk possibly left behind by a previous configuration
7881    rm -f src/getopt.h
7882    # Check for getopt_long support
# Line 5026 | Line 7897 | cat >conftest.$ac_ext <<_ACEOF
7897   echo "$as_me:$LINENO: checking $ac_header usability" >&5
7898   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7899   cat >conftest.$ac_ext <<_ACEOF
5029 #line $LINENO "configure"
7900   /* confdefs.h.  */
7901   _ACEOF
7902   cat confdefs.h >>conftest.$ac_ext
# Line 5037 | Line 7907 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7907   _ACEOF
7908   rm -f conftest.$ac_objext
7909   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7910 <  (eval $ac_compile) 2>&5
7910 >  (eval $ac_compile) 2>conftest.er1
7911    ac_status=$?
7912 +  grep -v '^ *+' conftest.er1 >conftest.err
7913 +  rm -f conftest.er1
7914 +  cat conftest.err >&5
7915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916    (exit $ac_status); } &&
7917 <         { ac_try='test -s conftest.$ac_objext'
7917 >         { ac_try='test -z "$ac_c_werror_flag"
7918 >                         || test ! -s conftest.err'
7919    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920    (eval $ac_try) 2>&5
7921    ac_status=$?
7922    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 +  (exit $ac_status); }; } &&
7924 +         { ac_try='test -s conftest.$ac_objext'
7925 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 +  (eval $ac_try) 2>&5
7927 +  ac_status=$?
7928 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929    (exit $ac_status); }; }; then
7930    ac_header_compiler=yes
7931   else
# Line 5054 | Line 7934 | rm -f conftest.$ac_objext conftest.$ac_ext
7934  
7935   ac_header_compiler=no
7936   fi
7937 < rm -f conftest.$ac_objext conftest.$ac_ext
7937 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7938   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7939   echo "${ECHO_T}$ac_header_compiler" >&6
7940  
# Line 5062 | Line 7942 | cat >conftest.$ac_ext <<_ACEOF
7942   echo "$as_me:$LINENO: checking $ac_header presence" >&5
7943   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7944   cat >conftest.$ac_ext <<_ACEOF
5065 #line $LINENO "configure"
7945   /* confdefs.h.  */
7946   _ACEOF
7947   cat confdefs.h >>conftest.$ac_ext
# Line 5080 | Line 7959 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
7959    (exit $ac_status); } >/dev/null; then
7960    if test -s conftest.err; then
7961      ac_cpp_err=$ac_c_preproc_warn_flag
7962 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7963    else
7964      ac_cpp_err=
7965    fi
# Line 5099 | Line 7979 | case $ac_header_compiler:$ac_header_preproc in
7979   echo "${ECHO_T}$ac_header_preproc" >&6
7980  
7981   # So?  What about this header?
7982 < case $ac_header_compiler:$ac_header_preproc in
7983 <  yes:no )
7982 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7983 >  yes:no: )
7984      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7985   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7986 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7987 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7988 <    (
5109 <      cat <<\_ASBOX
5110 < ## ------------------------------------ ##
5111 < ## Report this to bug-autoconf@gnu.org. ##
5112 < ## ------------------------------------ ##
5113 < _ASBOX
5114 <    ) |
5115 <      sed "s/^/$as_me: WARNING:     /" >&2
7986 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7987 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7988 >    ac_header_preproc=yes
7989      ;;
7990 <  no:yes )
7990 >  no:yes:* )
7991      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7992   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7993 <    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7994 < echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7993 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7994 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7995 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7996 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7997 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7998 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7999      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8000   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8001 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8002 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8003      (
8004        cat <<\_ASBOX
8005 < ## ------------------------------------ ##
8006 < ## Report this to bug-autoconf@gnu.org. ##
8007 < ## ------------------------------------ ##
8005 > ## ------------------------------ ##
8006 > ## Report this to gezelter@nd.edu ##
8007 > ## ------------------------------ ##
8008   _ASBOX
8009      ) |
8010        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5136 | Line 8015 | else
8015   if eval "test \"\${$as_ac_Header+set}\" = set"; then
8016    echo $ECHO_N "(cached) $ECHO_C" >&6
8017   else
8018 <  eval "$as_ac_Header=$ac_header_preproc"
8018 >  eval "$as_ac_Header=\$ac_header_preproc"
8019   fi
8020   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8021   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 5161 | Line 8040 | else
8040    echo $ECHO_N "(cached) $ECHO_C" >&6
8041   else
8042    cat >conftest.$ac_ext <<_ACEOF
5164 #line $LINENO "configure"
8043   /* confdefs.h.  */
8044   _ACEOF
8045   cat confdefs.h >>conftest.$ac_ext
8046   cat >>conftest.$ac_ext <<_ACEOF
8047   /* end confdefs.h.  */
8048 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8049 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8050 + #define $ac_func innocuous_$ac_func
8051 +
8052   /* System header to define __stub macros and hopefully few prototypes,
8053      which can conflict with char $ac_func (); below.
8054      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8055      <limits.h> exists even on freestanding compilers.  */
8056 +
8057   #ifdef __STDC__
8058   # include <limits.h>
8059   #else
8060   # include <assert.h>
8061   #endif
8062 +
8063 + #undef $ac_func
8064 +
8065   /* Override any gcc2 internal prototype to avoid an error.  */
8066   #ifdef __cplusplus
8067   extern "C"
# Line 5206 | Line 8092 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8092   _ACEOF
8093   rm -f conftest.$ac_objext conftest$ac_exeext
8094   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8095 <  (eval $ac_link) 2>&5
8095 >  (eval $ac_link) 2>conftest.er1
8096    ac_status=$?
8097 +  grep -v '^ *+' conftest.er1 >conftest.err
8098 +  rm -f conftest.er1
8099 +  cat conftest.err >&5
8100    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101    (exit $ac_status); } &&
8102 <         { ac_try='test -s conftest$ac_exeext'
8102 >         { ac_try='test -z "$ac_c_werror_flag"
8103 >                         || test ! -s conftest.err'
8104    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105    (eval $ac_try) 2>&5
8106    ac_status=$?
8107    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 +  (exit $ac_status); }; } &&
8109 +         { ac_try='test -s conftest$ac_exeext'
8110 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 +  (eval $ac_try) 2>&5
8112 +  ac_status=$?
8113 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114    (exit $ac_status); }; }; then
8115    eval "$as_ac_var=yes"
8116   else
# Line 5223 | Line 8119 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
8119  
8120   eval "$as_ac_var=no"
8121   fi
8122 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8122 > rm -f conftest.err conftest.$ac_objext \
8123 >      conftest$ac_exeext conftest.$ac_ext
8124   fi
8125   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8126   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 5242 | Line 8139 | cat >conftest.$ac_ext <<_ACEOF
8139    ac_check_lib_save_LIBS=$LIBS
8140   LIBS="-lgnugetopt  $LIBS"
8141   cat >conftest.$ac_ext <<_ACEOF
5245 #line $LINENO "configure"
8142   /* confdefs.h.  */
8143   _ACEOF
8144   cat confdefs.h >>conftest.$ac_ext
# Line 5266 | Line 8162 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8162   _ACEOF
8163   rm -f conftest.$ac_objext conftest$ac_exeext
8164   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8165 <  (eval $ac_link) 2>&5
8165 >  (eval $ac_link) 2>conftest.er1
8166    ac_status=$?
8167 +  grep -v '^ *+' conftest.er1 >conftest.err
8168 +  rm -f conftest.er1
8169 +  cat conftest.err >&5
8170    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171    (exit $ac_status); } &&
8172 <         { ac_try='test -s conftest$ac_exeext'
8172 >         { ac_try='test -z "$ac_c_werror_flag"
8173 >                         || test ! -s conftest.err'
8174    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175    (eval $ac_try) 2>&5
8176    ac_status=$?
8177    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 +  (exit $ac_status); }; } &&
8179 +         { ac_try='test -s conftest$ac_exeext'
8180 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 +  (eval $ac_try) 2>&5
8182 +  ac_status=$?
8183 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184    (exit $ac_status); }; }; then
8185    ac_cv_lib_gnugetopt_getopt_long=yes
8186   else
# Line 5283 | Line 8189 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
8189  
8190   ac_cv_lib_gnugetopt_getopt_long=no
8191   fi
8192 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8192 > rm -f conftest.err conftest.$ac_objext \
8193 >      conftest$ac_exeext conftest.$ac_ext
8194   LIBS=$ac_check_lib_save_LIBS
8195   fi
8196   echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
# Line 5295 | Line 8202 | else
8202  
8203   else
8204    # use the GNU replacement
8205 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
8206 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
8205 >      case $LIBOBJS in
8206 >    "getopt.$ac_objext"   | \
8207 >  *" getopt.$ac_objext"   | \
8208 >    "getopt.$ac_objext "* | \
8209 >  *" getopt.$ac_objext "* ) ;;
8210 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
8211 > esac
8212 >
8213 >      case $LIBOBJS in
8214 >    "getopt1.$ac_objext"   | \
8215 >  *" getopt1.$ac_objext"   | \
8216 >    "getopt1.$ac_objext "* | \
8217 >  *" getopt1.$ac_objext "* ) ;;
8218 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
8219 > esac
8220 >
8221                  ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
8222  
8223   fi
# Line 5324 | Line 8245 | cat > conftest.c <<EOF
8245  
8246   cat > conftest.c <<EOF
8247   #ifdef __GNUC__
8248 <  #ifndef __INTEL_COMPILER
8248 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
8249 >     no;
8250 >  #else
8251       yes;
8252    #endif
8253   #endif
# Line 5785 | Line 8708 | cat > conftest.cpp <<EOF
8708  
8709   cat > conftest.cpp <<EOF
8710   #ifdef __GNUC__
8711 <  #ifndef __INTEL_COMPILER
8711 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
8712 >     no;
8713 >  #else
8714       yes;
8715    #endif
8716   #endif
# Line 6345 | Line 9270 | esac
9270   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9271   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9272   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9273 + # OS/2's system install, which has a completely different semantic
9274   # ./install, which can be erroneously created by make from ./install.sh.
9275   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9276   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 6361 | Line 9287 | case $as_dir/ in
9287   case $as_dir/ in
9288    ./ | .// | /cC/* | \
9289    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9290 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9291    /usr/ucb/* ) ;;
9292    *)
9293      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 6368 | Line 9295 | case $as_dir/ in
9295      # by default.
9296      for ac_prog in ginstall scoinst install; do
9297        for ac_exec_ext in '' $ac_executable_extensions; do
9298 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9299 <          if test $ac_prog = install &&
9300 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9301 <            # AIX install.  It has an incompatible calling convention.
9302 <            :
9303 <          elif test $ac_prog = install &&
9304 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9305 <            # program-specific install script used by HP pwplus--don't use.
9306 <            :
9307 <          else
9308 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9309 <            break 3
9310 <          fi
9311 <        fi
9298 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9299 >          if test $ac_prog = install &&
9300 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9301 >            # AIX install.  It has an incompatible calling convention.
9302 >            :
9303 >          elif test $ac_prog = install &&
9304 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9305 >            # program-specific install script used by HP pwplus--don't use.
9306 >            :
9307 >          else
9308 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9309 >            break 3
9310 >          fi
9311 >        fi
9312        done
9313      done
9314      ;;
# Line 6424 | Line 9351 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./
9351  
9352   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9353   echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
9354 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
9354 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
9355   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9356    echo $ECHO_N "(cached) $ECHO_C" >&6
9357   else
# Line 6623 | Line 9550 | cat >conftest.$ac_ext <<_ACEOF
9550    ac_check_lib_save_LIBS=$LIBS
9551   LIBS="-lfl  $LIBS"
9552   cat >conftest.$ac_ext <<_ACEOF
6626 #line $LINENO "configure"
9553   /* confdefs.h.  */
9554   _ACEOF
9555   cat confdefs.h >>conftest.$ac_ext
# Line 6647 | Line 9573 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573   _ACEOF
9574   rm -f conftest.$ac_objext conftest$ac_exeext
9575   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9576 <  (eval $ac_link) 2>&5
9576 >  (eval $ac_link) 2>conftest.er1
9577    ac_status=$?
9578 +  grep -v '^ *+' conftest.er1 >conftest.err
9579 +  rm -f conftest.er1
9580 +  cat conftest.err >&5
9581    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582    (exit $ac_status); } &&
9583 <         { ac_try='test -s conftest$ac_exeext'
9583 >         { ac_try='test -z "$ac_c_werror_flag"
9584 >                         || test ! -s conftest.err'
9585    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586    (eval $ac_try) 2>&5
9587    ac_status=$?
9588    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 +  (exit $ac_status); }; } &&
9590 +         { ac_try='test -s conftest$ac_exeext'
9591 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9592 +  (eval $ac_try) 2>&5
9593 +  ac_status=$?
9594 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595    (exit $ac_status); }; }; then
9596    ac_cv_lib_fl_yywrap=yes
9597   else
# Line 6664 | Line 9600 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
9600  
9601   ac_cv_lib_fl_yywrap=no
9602   fi
9603 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9603 > rm -f conftest.err conftest.$ac_objext \
9604 >      conftest$ac_exeext conftest.$ac_ext
9605   LIBS=$ac_check_lib_save_LIBS
9606   fi
9607   echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 6680 | Line 9617 | cat >conftest.$ac_ext <<_ACEOF
9617    ac_check_lib_save_LIBS=$LIBS
9618   LIBS="-ll  $LIBS"
9619   cat >conftest.$ac_ext <<_ACEOF
6683 #line $LINENO "configure"
9620   /* confdefs.h.  */
9621   _ACEOF
9622   cat confdefs.h >>conftest.$ac_ext
# Line 6704 | Line 9640 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9640   _ACEOF
9641   rm -f conftest.$ac_objext conftest$ac_exeext
9642   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9643 <  (eval $ac_link) 2>&5
9643 >  (eval $ac_link) 2>conftest.er1
9644    ac_status=$?
9645 +  grep -v '^ *+' conftest.er1 >conftest.err
9646 +  rm -f conftest.er1
9647 +  cat conftest.err >&5
9648    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649    (exit $ac_status); } &&
9650 <         { ac_try='test -s conftest$ac_exeext'
9650 >         { ac_try='test -z "$ac_c_werror_flag"
9651 >                         || test ! -s conftest.err'
9652    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9653    (eval $ac_try) 2>&5
9654    ac_status=$?
9655    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 +  (exit $ac_status); }; } &&
9657 +         { ac_try='test -s conftest$ac_exeext'
9658 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 +  (eval $ac_try) 2>&5
9660 +  ac_status=$?
9661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662    (exit $ac_status); }; }; then
9663    ac_cv_lib_l_yywrap=yes
9664   else
# Line 6721 | Line 9667 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
9667  
9668   ac_cv_lib_l_yywrap=no
9669   fi
9670 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9670 > rm -f conftest.err conftest.$ac_objext \
9671 >      conftest$ac_exeext conftest.$ac_ext
9672   LIBS=$ac_check_lib_save_LIBS
9673   fi
9674   echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 6783 | Line 9730 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9730   _ACEOF
9731   rm -f conftest.$ac_objext conftest$ac_exeext
9732   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9733 <  (eval $ac_link) 2>&5
9733 >  (eval $ac_link) 2>conftest.er1
9734    ac_status=$?
9735 +  grep -v '^ *+' conftest.er1 >conftest.err
9736 +  rm -f conftest.er1
9737 +  cat conftest.err >&5
9738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739    (exit $ac_status); } &&
9740 <         { ac_try='test -s conftest$ac_exeext'
9740 >         { ac_try='test -z "$ac_c_werror_flag"
9741 >                         || test ! -s conftest.err'
9742    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743    (eval $ac_try) 2>&5
9744    ac_status=$?
9745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 +  (exit $ac_status); }; } &&
9747 +         { ac_try='test -s conftest$ac_exeext'
9748 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 +  (eval $ac_try) 2>&5
9750 +  ac_status=$?
9751 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752    (exit $ac_status); }; }; then
9753    ac_cv_prog_lex_yytext_pointer=yes
9754   else
# Line 6799 | Line 9756 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
9756   sed 's/^/| /' conftest.$ac_ext >&5
9757  
9758   fi
9759 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9759 > rm -f conftest.err conftest.$ac_objext \
9760 >      conftest$ac_exeext conftest.$ac_ext
9761   LIBS=$ac_save_LIBS
9762   rm -f "${LEX_OUTPUT_ROOT}.c"
9763  
# Line 6811 | Line 9769 | _ACEOF
9769   cat >>confdefs.h <<\_ACEOF
9770   #define YYTEXT_POINTER 1
9771   _ACEOF
9772 +
9773 + fi
9774 +
9775 + fi
9776 +
9777 +   # Extract the first word of "perl", so it can be a program name with args.
9778 + set dummy perl; ac_word=$2
9779 + echo "$as_me:$LINENO: checking for $ac_word" >&5
9780 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9781 + if test "${ac_cv_path_PERLINTERP+set}" = set; then
9782 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9783 + else
9784 +  case $PERLINTERP in
9785 +  [\\/]* | ?:[\\/]*)
9786 +  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9787 +  ;;
9788 +  *)
9789 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9790 + for as_dir in $PATH
9791 + do
9792 +  IFS=$as_save_IFS
9793 +  test -z "$as_dir" && as_dir=.
9794 +  for ac_exec_ext in '' $ac_executable_extensions; do
9795 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9796 +    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9797 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9798 +    break 2
9799 +  fi
9800 + done
9801 + done
9802 +
9803 +  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9804 +  ;;
9805 + esac
9806 + fi
9807 + PERLINTERP=$ac_cv_path_PERLINTERP
9808 +
9809 + if test -n "$PERLINTERP"; then
9810 +  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9811 + echo "${ECHO_T}$PERLINTERP" >&6
9812 + else
9813 +  echo "$as_me:$LINENO: result: no" >&5
9814 + echo "${ECHO_T}no" >&6
9815 + fi
9816  
9817 +   ac_cv_path_perlinterp="$PERLINTERP"
9818 +   _sHpB='#!'
9819 +
9820 +
9821 + # Check whether --with-perl-shebang or --without-perl-shebang was given.
9822 + if test "${with_perl_shebang+set}" = set; then
9823 +  withval="$with_perl_shebang"
9824 +  opt_perl_shebang="$withval"
9825 + else
9826 +                opt_perl_shebang="not_set"
9827 + fi;
9828 +   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9829 + echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9830 + if test "${ax_cv_opt_perl_shebang+set}" = set; then
9831 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9832 + else
9833 +   case "$opt_perl_shebang" in
9834 +                      not_set  ) ax_cv_opt_perl_shebang=''
9835 +                               ;;
9836 +                         *     )
9837 +        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9838 +                    esac
9839 +
9840   fi
9841 + echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9842 + echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9843 +   if test "A$ax_cv_opt_perl_shebang" != "A"
9844 +     then
9845 +       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9846 +       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9847 +              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9848 + echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9849  
9850 + # Automatic detection of sharpbang formula starts here
9851 +     else
9852 +   _somian_shbangperl=`$PERLINTERP -V:startperl`
9853 +   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9854 +   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9855 + echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9856 + if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9857 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9858 + else
9859 +  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9860 +        if test "x$_somian_kspb_perl" == x
9861 +          then _somian_ksbp_warn_empty='durnit'
9862 +          else
9863 +          case "A$_somian_kspb_perl" in
9864 +                 A#!*perl* )
9865 +           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9866 +                        ;;
9867 +                     A*    )  _somian_ksbp_warn_defau='trouble'
9868 +                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9869 +          esac
9870 +        fi
9871 +
9872   fi
9873 + echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9874 + echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9875 + # The above prints Checking ... result message to user.
9876 +   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9877 +
9878 +    if test A${_somian_ksbp_warn_empty+set} == Aset
9879 +      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9880 + echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9881 +    fi
9882 + # Inform user after printing result value
9883 +    if test A${_somian_ksbp_warn_defau+set} == Aset
9884 +      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9885 + echo "$as_me: Maybe Not good -" >&6;}
9886 +           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9887 + echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9888 +      else { echo "$as_me:$LINENO: OK Good result - " >&5
9889 + echo "$as_me: OK Good result - " >&6;}
9890 +           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9891 + echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9892 +    fi
9893 +  fi
9894 +
9895   # Extract the first word of "ar", so it can be a program name with args.
9896   set dummy ar; ac_word=$2
9897   echo "$as_me:$LINENO: checking for $ac_word" >&5
# Line 6883 | Line 9960 | _ACEOF
9960        # `set' does not quote correctly, so add quotes (double-quote
9961        # substitution turns \\\\ into \\, and sed turns \\ into \).
9962        sed -n \
9963 <        "s/'/'\\\\''/g;
9964 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9963 >        "s/'/'\\\\''/g;
9964 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9965        ;;
9966      *)
9967        # `set' quotes correctly as required by POSIX, so do not add quotes.
9968        sed -n \
9969 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9969 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9970        ;;
9971      esac;
9972   } |
# Line 6957 | Line 10034 | else
10034    echo $ECHO_N "(cached) $ECHO_C" >&6
10035   else
10036  
6960        if $PS -ef -o rss > /dev/null 2>&1; then
6961                ac_cv_prog_ps_ef=yes
6962        else
6963                ac_cv_prog_ps_ef=no
6964        fi
10037          if $PS ax -o rss > /dev/null 2>&1; then
10038                  ac_cv_prog_ps_ax=yes
10039          else
10040                  ac_cv_prog_ps_ax=no
10041          fi
10042 <        if test "$ac_cv_prog_ps_ef" = yes; then
10043 <                ac_cv_prog_ps_syntax=POSIX
10042 >        if $PS -ef -o rss > /dev/null 2>&1; then
10043 >                ac_cv_prog_ps_ef=yes
10044 >        else
10045 >                ac_cv_prog_ps_ef=no
10046 >        fi
10047 >        if test "$ac_cv_prog_ps_ax" = yes; then
10048 >                ac_cv_prog_ps_syntax=BSD
10049          else
10050 <                if test "$ac_cv_prog_ps_ax" = yes; then
10051 <                        ac_cv_prog_ps_syntax=BSD
10050 >                if test "$ac_cv_prog_ps_ef" = yes; then
10051 >                        ac_cv_prog_ps_syntax=POSIX
10052                  else
10053                          { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
10054   echo "$as_me: error: Could not determine ps syntax" >&2;}
# Line 6982 | Line 10059 | echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
10059   fi
10060   echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
10061   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
10062 +
10063 +
10064 + cat >>confdefs.h <<_ACEOF
10065 + #define PSCOMMAND $PS
10066 + _ACEOF
10067 +
10068 +
10069 + cat >>confdefs.h <<\_ACEOF
10070 + #define OBAPI
10071 + _ACEOF
10072 +
10073 +
10074 +
10075 + if test "$ac_cv_prog_ps_syntax" = BSD; then
10076  
10077 < cat >>confdefs.h <<_ACEOF
10078 < #define PS $PS
10077 > cat >>confdefs.h <<\_ACEOF
10078 > #define PSTYPE_IS_BSD 1
10079   _ACEOF
10080  
10081 + else
10082 +   if test "$ac_cv_prog_ps_syntax" = POSIX; then
10083  
10084 < cat >>confdefs.h <<_ACEOF
10085 < #define PSTYPE $ac_cv_prog_ps_syntax
10084 > cat >>confdefs.h <<\_ACEOF
10085 > #define PSTYPE_IS_POSIX 1
10086   _ACEOF
10087  
10088 +   else
10089 +       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
10090 + echo "$as_me: error: Unknown ps syntax type!" >&2;}
10091 +   { (exit 1); exit 1; }; }
10092 +   fi
10093 + fi
10094  
10095  
6997
10096   # Check whether --with-mpi or --without-mpi was given.
10097   if test "${with_mpi+set}" = set; then
10098    withval="$with_mpi"
# Line 7023 | Line 10121 | echo '#include <mpi.h>' > conftest.cc
10121   echo "$as_me:$LINENO: checking for mpi.h" >&5
10122   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
10123   have_mpi_h=0
10124 + rm -f conftest*
10125   echo '#include <mpi.h>' > conftest.cc
10126 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
10126 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
10127          echo "$as_me:$LINENO: result: yes" >&5
10128   echo "${ECHO_T}yes" >&6
10129          have_mpi_h=1
10130   else
10131 +        if test -s conftest.out ; then
10132 +                cat conftest.out >> config.log
10133 +        fi
10134          echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
10135   echo "${ECHO_T}no! Check MPI include paths" >&6
10136          USE_MPI="no"
# Line 7092 | Line 10194 | cat >conftest.$ac_ext <<_ACEOF
10194    ac_check_lib_save_LIBS=$LIBS
10195   LIBS="-lmpich  $LIBS"
10196   cat >conftest.$ac_ext <<_ACEOF
7095 #line $LINENO "configure"
10197   /* confdefs.h.  */
10198   _ACEOF
10199   cat confdefs.h >>conftest.$ac_ext
# Line 7116 | Line 10217 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10217   _ACEOF
10218   rm -f conftest.$ac_objext conftest$ac_exeext
10219   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10220 <  (eval $ac_link) 2>&5
10220 >  (eval $ac_link) 2>conftest.er1
10221    ac_status=$?
10222 +  grep -v '^ *+' conftest.er1 >conftest.err
10223 +  rm -f conftest.er1
10224 +  cat conftest.err >&5
10225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226    (exit $ac_status); } &&
10227 <         { ac_try='test -s conftest$ac_exeext'
10227 >         { ac_try='test -z "$ac_c_werror_flag"
10228 >                         || test ! -s conftest.err'
10229    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230    (eval $ac_try) 2>&5
10231    ac_status=$?
10232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 +  (exit $ac_status); }; } &&
10234 +         { ac_try='test -s conftest$ac_exeext'
10235 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236 +  (eval $ac_try) 2>&5
10237 +  ac_status=$?
10238 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239    (exit $ac_status); }; }; then
10240    ac_cv_lib_mpich_MPI_Init=yes
10241   else
# Line 7133 | Line 10244 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
10244  
10245   ac_cv_lib_mpich_MPI_Init=no
10246   fi
10247 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10247 > rm -f conftest.err conftest.$ac_objext \
10248 >      conftest$ac_exeext conftest.$ac_ext
10249   LIBS=$ac_check_lib_save_LIBS
10250   fi
10251   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7152 | Line 10264 | cat >conftest.$ac_ext <<_ACEOF
10264    ac_check_lib_save_LIBS=$LIBS
10265   LIBS="-lmpi  $LIBS"
10266   cat >conftest.$ac_ext <<_ACEOF
7155 #line $LINENO "configure"
10267   /* confdefs.h.  */
10268   _ACEOF
10269   cat confdefs.h >>conftest.$ac_ext
# Line 7176 | Line 10287 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287   _ACEOF
10288   rm -f conftest.$ac_objext conftest$ac_exeext
10289   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 <  (eval $ac_link) 2>&5
10290 >  (eval $ac_link) 2>conftest.er1
10291    ac_status=$?
10292 +  grep -v '^ *+' conftest.er1 >conftest.err
10293 +  rm -f conftest.er1
10294 +  cat conftest.err >&5
10295    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296    (exit $ac_status); } &&
10297 <         { ac_try='test -s conftest$ac_exeext'
10297 >         { ac_try='test -z "$ac_c_werror_flag"
10298 >                         || test ! -s conftest.err'
10299    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300    (eval $ac_try) 2>&5
10301    ac_status=$?
10302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 +  (exit $ac_status); }; } &&
10304 +         { ac_try='test -s conftest$ac_exeext'
10305 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 +  (eval $ac_try) 2>&5
10307 +  ac_status=$?
10308 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309    (exit $ac_status); }; }; then
10310    ac_cv_lib_mpi_MPI_Init=yes
10311   else
# Line 7193 | Line 10314 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
10314  
10315   ac_cv_lib_mpi_MPI_Init=no
10316   fi
10317 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10317 > rm -f conftest.err conftest.$ac_objext \
10318 >      conftest$ac_exeext conftest.$ac_ext
10319   LIBS=$ac_check_lib_save_LIBS
10320   fi
10321   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7213 | Line 10335 | cat >conftest.$ac_ext <<_ACEOF
10335    ac_check_lib_save_LIBS=$LIBS
10336   LIBS="-lmpi "-llam" $LIBS"
10337   cat >conftest.$ac_ext <<_ACEOF
7216 #line $LINENO "configure"
10338   /* confdefs.h.  */
10339   _ACEOF
10340   cat confdefs.h >>conftest.$ac_ext
# Line 7237 | Line 10358 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10358   _ACEOF
10359   rm -f conftest.$ac_objext conftest$ac_exeext
10360   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10361 <  (eval $ac_link) 2>&5
10361 >  (eval $ac_link) 2>conftest.er1
10362    ac_status=$?
10363 +  grep -v '^ *+' conftest.er1 >conftest.err
10364 +  rm -f conftest.er1
10365 +  cat conftest.err >&5
10366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367    (exit $ac_status); } &&
10368 <         { ac_try='test -s conftest$ac_exeext'
10368 >         { ac_try='test -z "$ac_c_werror_flag"
10369 >                         || test ! -s conftest.err'
10370    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371    (eval $ac_try) 2>&5
10372    ac_status=$?
10373    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 +  (exit $ac_status); }; } &&
10375 +         { ac_try='test -s conftest$ac_exeext'
10376 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 +  (eval $ac_try) 2>&5
10378 +  ac_status=$?
10379 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380    (exit $ac_status); }; }; then
10381    ac_cv_lib_mpi_MPI_Init=yes
10382   else
# Line 7254 | Line 10385 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
10385  
10386   ac_cv_lib_mpi_MPI_Init=no
10387   fi
10388 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10388 > rm -f conftest.err conftest.$ac_objext \
10389 >      conftest$ac_exeext conftest.$ac_ext
10390   LIBS=$ac_check_lib_save_LIBS
10391   fi
10392   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7274 | Line 10406 | cat >conftest.$ac_ext <<_ACEOF
10406    ac_check_lib_save_LIBS=$LIBS
10407   LIBS="-lmpich "-lpmpich" $LIBS"
10408   cat >conftest.$ac_ext <<_ACEOF
7277 #line $LINENO "configure"
10409   /* confdefs.h.  */
10410   _ACEOF
10411   cat confdefs.h >>conftest.$ac_ext
# Line 7298 | Line 10429 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10429   _ACEOF
10430   rm -f conftest.$ac_objext conftest$ac_exeext
10431   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10432 <  (eval $ac_link) 2>&5
10432 >  (eval $ac_link) 2>conftest.er1
10433    ac_status=$?
10434 +  grep -v '^ *+' conftest.er1 >conftest.err
10435 +  rm -f conftest.er1
10436 +  cat conftest.err >&5
10437    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438    (exit $ac_status); } &&
10439 <         { ac_try='test -s conftest$ac_exeext'
10439 >         { ac_try='test -z "$ac_c_werror_flag"
10440 >                         || test ! -s conftest.err'
10441    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442    (eval $ac_try) 2>&5
10443    ac_status=$?
10444    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 +  (exit $ac_status); }; } &&
10446 +         { ac_try='test -s conftest$ac_exeext'
10447 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 +  (eval $ac_try) 2>&5
10449 +  ac_status=$?
10450 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451    (exit $ac_status); }; }; then
10452    ac_cv_lib_mpich_MPI_Init=yes
10453   else
# Line 7315 | Line 10456 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
10456  
10457   ac_cv_lib_mpich_MPI_Init=no
10458   fi
10459 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10459 > rm -f conftest.err conftest.$ac_objext \
10460 >      conftest$ac_exeext conftest.$ac_ext
10461   LIBS=$ac_check_lib_save_LIBS
10462   fi
10463   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7336 | Line 10478 | cat >conftest.$ac_ext <<_ACEOF
10478    ac_check_lib_save_LIBS=$LIBS
10479   LIBS="-lmpi -llam -lpthread $LIBS"
10480   cat >conftest.$ac_ext <<_ACEOF
7339 #line $LINENO "configure"
10481   /* confdefs.h.  */
10482   _ACEOF
10483   cat confdefs.h >>conftest.$ac_ext
# Line 7360 | Line 10501 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10501   _ACEOF
10502   rm -f conftest.$ac_objext conftest$ac_exeext
10503   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10504 <  (eval $ac_link) 2>&5
10504 >  (eval $ac_link) 2>conftest.er1
10505    ac_status=$?
10506 +  grep -v '^ *+' conftest.er1 >conftest.err
10507 +  rm -f conftest.er1
10508 +  cat conftest.err >&5
10509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510    (exit $ac_status); } &&
10511 <         { ac_try='test -s conftest$ac_exeext'
10511 >         { ac_try='test -z "$ac_c_werror_flag"
10512 >                         || test ! -s conftest.err'
10513    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10514    (eval $ac_try) 2>&5
10515    ac_status=$?
10516    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 +  (exit $ac_status); }; } &&
10518 +         { ac_try='test -s conftest$ac_exeext'
10519 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 +  (eval $ac_try) 2>&5
10521 +  ac_status=$?
10522 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523    (exit $ac_status); }; }; then
10524    ac_cv_lib_mpi_MPI_Init=yes
10525   else
# Line 7377 | Line 10528 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
10528  
10529   ac_cv_lib_mpi_MPI_Init=no
10530   fi
10531 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10531 > rm -f conftest.err conftest.$ac_objext \
10532 >      conftest$ac_exeext conftest.$ac_ext
10533   LIBS=$ac_check_lib_save_LIBS
10534   fi
10535   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7415 | Line 10567 | fi
10567  
10568  
10569  
7418 # Check whether --with-sprng or --without-sprng was given.
7419 if test "${with_sprng+set}" = set; then
7420  withval="$with_sprng"
7421  with_sprng=$withval
7422 else
7423  with_sprng="/usr/local"
7424 fi;
10570  
10571 < case "x$with_sprng" in
10572 <        xyes | "x")  USE_SPRNG=yes;;
7428 <        xno) USE_SPRNG=no ;;
7429 <        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
7430 < esac
7431 < if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
7432 <        SPRNG="/usr/local"
7433 < fi
7434 < if test "$USE_SPRNG" = "yes"; then
7435 <
7436 <
7437 < # Set variables...
7438 < SPRNG_LIB_DIR="$SPRNG/lib"
7439 < SPRNG_INC_DIR="$SPRNG/include"
10571 > USE_CGAL=no
10572 > cgal_makefile=auto
10573  
10574 + # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
10575 + if test "${with_cgal_makefile+set}" = set; then
10576 +  withval="$with_cgal_makefile"
10577 +  cgal_makefile="$withval"
10578 + fi;
10579  
10580 + if test "x$cgal_makefile" != xno; then
10581  
10582 < echo "$as_me:$LINENO: checking for sprng.h" >&5
10583 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
10584 < have_sprng_h=0
7446 < echo '#include <sprng.h>' > conftest.cc
7447 < if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
7448 <        echo "$as_me:$LINENO: result: yes" >&5
7449 < echo "${ECHO_T}yes" >&6
7450 <        have_sprng_h=1
7451 < else
7452 <        echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5
7453 < echo "${ECHO_T}no! Check SPRNG include path!" >&6
7454 <        USE_SPRNG="no"
7455 < fi
7456 < rm -f conftest*
7457 < if test "$have_sprng_h" = 1; then
10582 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
10583 >    cgal_makefile="$CGAL_MAKEFILE"
10584 >  fi
10585  
10586 < cat >>confdefs.h <<\_ACEOF
10587 < #define HAVE_SPRNG_H 1
7461 < _ACEOF
10586 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
10587 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
10588  
10589 < fi
10589 >  if test -f "$cgal_makefile"; then
10590  
10591 < ac_ext=c
10592 < ac_cpp='$CPP $CPPFLAGS'
10593 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10594 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10595 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
10591 >    cat >config.tmp.Makefile <<EOF
10592 > include $cgal_makefile
10593 > default:
10594 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
10595 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
10596 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
10597 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
10598 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
10599 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
10600 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
10601 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
10602 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
10603 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
10604 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
10605 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
10606 > EOF
10607  
10608 < ac_save_LDFLAGS=$LDFLAGS
10609 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
10608 >    make -s -f config.tmp.Makefile
10609 >    . config.tmp.cgalvariables
10610  
10611 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
7475 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
7476 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
7477 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7478 < else
7479 <  ac_check_lib_save_LIBS=$LIBS
7480 < LIBS="-lsprng  $LIBS"
7481 < cat >conftest.$ac_ext <<_ACEOF
7482 < #line $LINENO "configure"
7483 < /* confdefs.h.  */
7484 < _ACEOF
7485 < cat confdefs.h >>conftest.$ac_ext
7486 < cat >>conftest.$ac_ext <<_ACEOF
7487 < /* end confdefs.h.  */
10611 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
10612  
10613 < /* Override any gcc2 internal prototype to avoid an error.  */
10614 < #ifdef __cplusplus
10615 < extern "C"
7492 < #endif
7493 < /* We use char because int might match the return type of a gcc2
7494 <   builtin and then its argument prototype would still apply.  */
7495 < char init_rng ();
7496 < int
7497 < main ()
7498 < {
7499 < init_rng ();
7500 <  ;
7501 <  return 0;
7502 < }
7503 < _ACEOF
7504 < rm -f conftest.$ac_objext conftest$ac_exeext
7505 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 <  (eval $ac_link) 2>&5
7507 <  ac_status=$?
7508 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 <  (exit $ac_status); } &&
7510 <         { ac_try='test -s conftest$ac_exeext'
7511 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7512 <  (eval $ac_try) 2>&5
7513 <  ac_status=$?
7514 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 <  (exit $ac_status); }; }; then
7516 <  ac_cv_lib_sprng_init_rng=yes
7517 < else
7518 <  echo "$as_me: failed program was:" >&5
7519 < sed 's/^/| /' conftest.$ac_ext >&5
10613 >    if test "x$CGAL_INCLDIR" = "x"; then
10614 >      CGAL_INCLDIR=""
10615 >    fi
10616  
10617 < ac_cv_lib_sprng_init_rng=no
10618 < fi
10619 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10620 < LIBS=$ac_check_lib_save_LIBS
10621 < fi
10622 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
10623 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
10624 < if test $ac_cv_lib_sprng_init_rng = yes; then
10625 <  SPRNG_LIB="-lsprng"
10626 < else
10617 >    if test "x$CGAL_LIBDIR" = "x"; then
10618 >      CGAL_LIBDIR=""
10619 >    fi
10620 >
10621 >    if test "x$CGAL_RLIBDIR" = "x"; then
10622 >      CGAL_RLIBDIR=""
10623 >    fi
10624 >
10625 >    if test "x$LEDA_INCLDIR" = "x"; then
10626 >      LEDA_INCLDIR=""
10627 >    fi
10628 >
10629 >    if test "x$LEDA_LIBDIR" = "x"; then
10630 >      LEDA_LIBDIR=""
10631 >    fi
10632 >
10633 >    if test "x$LEDA_RLIBDIR" = "x"; then
10634 >      LEDA_RLIBDIR=""
10635 >    fi
10636  
10637 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
10638 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
10639 <   { (exit 1); exit 1; }; }
7535 <             USE_SPRNG="no"
10637 >    if test "x$GMP_INCLDIR" = "x"; then
10638 >      GMP_INCLDIR=""
10639 >    fi
10640  
10641 < fi
10641 >    if test "x$GMP_LIBDIR" = "x"; then
10642 >      GMP_LIBDIR=""
10643 >    fi
10644  
10645 <
10646 < if test "$USE_SPRNG" = "no"; then
7541 <  { { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5
7542 < echo "$as_me: error: No working SPRNG library found" >&2;}
7543 <   { (exit 1); exit 1; }; }
7544 < fi
7545 <
7546 <
7547 < fi
7548 <
7549 <
7550 <
7551 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
7552 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
7553 <
7554 < # Check whether --with-mkl or --without-mkl was given.
7555 < if test "${with_mkl+set}" = set; then
7556 <  withval="$with_mkl"
7557 <     echo "$as_me:$LINENO: result: yes" >&5
7558 < echo "${ECHO_T}yes" >&6
7559 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
7560 <        mkldir="$dir"
7561 <        if test -f "$dir/include/mkl.h"; then
7562 <            found_mkl="yes";
7563 <            break;
7564 <        fi
7565 <    done
7566 <    if test x_$found_mkl != x_yes; then
7567 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
7568 < echo "$as_me: error: Cannot find MKL includes" >&2;}
7569 <   { (exit 1); exit 1; }; }
7570 <    else
7571 <        printf "MKL includes found in $mkldir/include\n";
10645 >    if test "x$GMP_RLIBDIR" = "x"; then
10646 >      GMP_RLIBDIR=""
10647      fi
10648  
10649 +    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
10650 + echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
10651 +    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
10652 + echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
10653 +    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
10654 + echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
10655 +    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
10656 + echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
10657 +    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
10658 + echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
10659 +    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
10660 + echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
10661 +    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
10662 + echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
10663 +    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
10664 + echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
10665 +    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
10666 + echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
10667  
10668 +    ac_ext=cc
10669 + ac_cpp='$CXXCPP $CPPFLAGS'
10670 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10671 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10672 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10673  
10674 <  ac_ext=c
10675 < ac_cpp='$CPP $CPPFLAGS'
10676 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10677 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10678 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
10679 <
7582 <  ac_save_CPPFLAGS=$CPPFLAGS
7583 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
7584 <  ac_save_LDFLAGS=$LDFLAGS
7585 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
7586 <  if test "${ac_cv_header_mkl_h+set}" = set; then
7587 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
7588 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
7589 < if test "${ac_cv_header_mkl_h+set}" = set; then
10674 >    save_CXXFLAGS="$CXXFLAGS"
10675 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10676 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10677 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10678 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10679 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10680    echo $ECHO_N "(cached) $ECHO_C" >&6
10681   fi
10682 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
10683 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
10682 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10683 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10684   else
10685    # Is the header compilable?
10686 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
10687 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
10686 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10687 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10688   cat >conftest.$ac_ext <<_ACEOF
7599 #line $LINENO "configure"
10689   /* confdefs.h.  */
10690   _ACEOF
10691   cat confdefs.h >>conftest.$ac_ext
10692   cat >>conftest.$ac_ext <<_ACEOF
10693   /* end confdefs.h.  */
10694   $ac_includes_default
10695 < #include <mkl.h>
10695 > #include <CGAL/Cartesian.h>
10696   _ACEOF
10697   rm -f conftest.$ac_objext
10698   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10699 <  (eval $ac_compile) 2>&5
10699 >  (eval $ac_compile) 2>conftest.er1
10700    ac_status=$?
10701 +  grep -v '^ *+' conftest.er1 >conftest.err
10702 +  rm -f conftest.er1
10703 +  cat conftest.err >&5
10704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705    (exit $ac_status); } &&
10706 <         { ac_try='test -s conftest.$ac_objext'
10706 >         { ac_try='test -z "$ac_cxx_werror_flag"
10707 >                         || test ! -s conftest.err'
10708    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709    (eval $ac_try) 2>&5
10710    ac_status=$?
10711    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 +  (exit $ac_status); }; } &&
10713 +         { ac_try='test -s conftest.$ac_objext'
10714 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 +  (eval $ac_try) 2>&5
10716 +  ac_status=$?
10717 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718    (exit $ac_status); }; }; then
10719    ac_header_compiler=yes
10720   else
# Line 7624 | Line 10723 | rm -f conftest.$ac_objext conftest.$ac_ext
10723  
10724   ac_header_compiler=no
10725   fi
10726 < rm -f conftest.$ac_objext conftest.$ac_ext
10726 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10727   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10728   echo "${ECHO_T}$ac_header_compiler" >&6
10729  
10730   # Is the header present?
10731 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
10732 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
10731 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10732 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10733   cat >conftest.$ac_ext <<_ACEOF
7635 #line $LINENO "configure"
10734   /* confdefs.h.  */
10735   _ACEOF
10736   cat confdefs.h >>conftest.$ac_ext
10737   cat >>conftest.$ac_ext <<_ACEOF
10738   /* end confdefs.h.  */
10739 < #include <mkl.h>
10739 > #include <CGAL/Cartesian.h>
10740   _ACEOF
10741   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10742    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 7649 | Line 10747 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
10747    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748    (exit $ac_status); } >/dev/null; then
10749    if test -s conftest.err; then
10750 <    ac_cpp_err=$ac_c_preproc_warn_flag
10750 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10751 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10752    else
10753      ac_cpp_err=
10754    fi
# Line 7669 | Line 10768 | case $ac_header_compiler:$ac_header_preproc in
10768   echo "${ECHO_T}$ac_header_preproc" >&6
10769  
10770   # So?  What about this header?
10771 < case $ac_header_compiler:$ac_header_preproc in
10772 <  yes:no )
10773 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
10774 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10775 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
10776 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
10777 <    (
7679 <      cat <<\_ASBOX
7680 < ## ------------------------------------ ##
7681 < ## Report this to bug-autoconf@gnu.org. ##
7682 < ## ------------------------------------ ##
7683 < _ASBOX
7684 <    ) |
7685 <      sed "s/^/$as_me: WARNING:     /" >&2
10771 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10772 >  yes:no: )
10773 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10774 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10775 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10776 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10777 >    ac_header_preproc=yes
10778      ;;
10779 <  no:yes )
10780 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
10781 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
10782 <    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
10783 < echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
10784 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
10785 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
10779 >  no:yes:* )
10780 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10781 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10782 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10783 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10784 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10785 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10786 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10787 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10788 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10789 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10790 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10791 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10792      (
10793        cat <<\_ASBOX
10794 < ## ------------------------------------ ##
10795 < ## Report this to bug-autoconf@gnu.org. ##
10796 < ## ------------------------------------ ##
10794 > ## ------------------------------ ##
10795 > ## Report this to gezelter@nd.edu ##
10796 > ## ------------------------------ ##
10797   _ASBOX
10798      ) |
10799        sed "s/^/$as_me: WARNING:     /" >&2
10800      ;;
10801   esac
10802 < echo "$as_me:$LINENO: checking for mkl.h" >&5
10803 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
10804 < if test "${ac_cv_header_mkl_h+set}" = set; then
10802 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10803 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10804 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10805    echo $ECHO_N "(cached) $ECHO_C" >&6
10806   else
10807 <  ac_cv_header_mkl_h=$ac_header_preproc
10807 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10808   fi
10809 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
10810 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
10809 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10810 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10811  
10812   fi
10813 < if test $ac_cv_header_mkl_h = yes; then
10814 <
7717 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
7718 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
7719 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
7720 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10813 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10814 >  cgal=yes
10815   else
10816 <  ac_check_lib_save_LIBS=$LIBS
10817 < LIBS="-lmkl  $LIBS"
10816 >  cgal=no
10817 > fi
10818 >
10819 >
10820 >    CXXFLAGS="$save_CXXFLAGS"
10821 >
10822 >    if test "x$cgal" = xyes; then
10823 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10824 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10825 >      LOCATION=${CGAL_INCLDIR}
10826 >      LOCATION=${LOCATION:-/usr/include}
10827 >      if test -f $LOCATION/CGAL/version.h; then
10828 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10829 >      else
10830 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10831 >      fi
10832 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10833 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10834 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10835 >      else
10836 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10837 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10838 >        cgal=no
10839 >      fi
10840 >    fi
10841 >
10842 >    if test "x$cgal" = xyes; then
10843 >      CGAL_LIBS="-lCGAL"
10844 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10845 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10846 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10847 >        CGAL_USES_LEDA=yes
10848 >        echo "$as_me:$LINENO: result: yes" >&5
10849 > echo "${ECHO_T}yes" >&6
10850 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10851 >      else
10852 >        echo "$as_me:$LINENO: result: no" >&5
10853 > echo "${ECHO_T}no" >&6
10854 >        CGAL_USES_LEDA=no
10855 >      fi
10856 >
10857 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10858 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10859 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10860 >        CGAL_USES_GMP=yes
10861 >        echo "$as_me:$LINENO: result: yes" >&5
10862 > echo "${ECHO_T}yes" >&6
10863 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10864 >      else
10865 >        echo "$as_me:$LINENO: result: no" >&5
10866 > echo "${ECHO_T}no" >&6
10867 >        CGAL_USES_GMP=no
10868 >      fi
10869 >
10870 >      CGAL_LIBS="$CGAL_LIBS -lm"
10871 >
10872 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10873 >
10874 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10875 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10876 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10877 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10878 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10879 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10880 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10881 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10882 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10883 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10884 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10885 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10886 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10887 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10888 >    fi
10889 >
10890 >    if test "x$cgal" = xyes; then
10891 >      save_LIBS="$LIBS"
10892 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10893 >      if test "x$CGAL_USES_LEDA" = xyes; then
10894 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10895 >      fi
10896 >      # if test "x$CGAL_USES_GMP" = xyes; then
10897 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10898 >      # fi
10899 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10900 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10901 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10902 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10903 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10904 > LIBS="-lCGAL  $LIBS"
10905   cat >conftest.$ac_ext <<_ACEOF
7725 #line $LINENO "configure"
10906   /* confdefs.h.  */
10907   _ACEOF
10908   cat confdefs.h >>conftest.$ac_ext
10909   cat >>conftest.$ac_ext <<_ACEOF
10910   /* end confdefs.h.  */
10911 <
7732 < /* Override any gcc2 internal prototype to avoid an error.  */
7733 < #ifdef __cplusplus
7734 < extern "C"
7735 < #endif
7736 < /* We use char because int might match the return type of a gcc2
7737 <   builtin and then its argument prototype would still apply.  */
7738 < char vslNewStream ();
10911 > #include <CGAL/Cartesian.h>
10912   int
10913   main ()
10914   {
10915 < vslNewStream ();
10915 > ::CGAL::Cartesian<int>::Point_2 P
10916    ;
10917    return 0;
10918   }
10919   _ACEOF
10920   rm -f conftest.$ac_objext conftest$ac_exeext
10921   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10922 <  (eval $ac_link) 2>&5
10922 >  (eval $ac_link) 2>conftest.er1
10923    ac_status=$?
10924 +  grep -v '^ *+' conftest.er1 >conftest.err
10925 +  rm -f conftest.er1
10926 +  cat conftest.err >&5
10927    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928    (exit $ac_status); } &&
10929 <         { ac_try='test -s conftest$ac_exeext'
10929 >         { ac_try='test -z "$ac_cxx_werror_flag"
10930 >                         || test ! -s conftest.err'
10931    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932    (eval $ac_try) 2>&5
10933    ac_status=$?
10934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 +  (exit $ac_status); }; } &&
10936 +         { ac_try='test -s conftest$ac_exeext'
10937 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 +  (eval $ac_try) 2>&5
10939 +  ac_status=$?
10940 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941    (exit $ac_status); }; }; then
10942 <  ac_cv_lib_mkl_vslNewStream=yes
10942 >  echo "$as_me:$LINENO: result: yes" >&5
10943 > echo "${ECHO_T}yes" >&6
10944 > cgal=yes
10945   else
10946    echo "$as_me: failed program was:" >&5
10947   sed 's/^/| /' conftest.$ac_ext >&5
10948  
10949 < ac_cv_lib_mkl_vslNewStream=no
10949 > echo "$as_me:$LINENO: result: no" >&5
10950 > echo "${ECHO_T}no" >&6
10951 > cgal=no
10952   fi
10953 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10954 < LIBS=$ac_check_lib_save_LIBS
10955 < fi
10956 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
10957 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
10958 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
7772 <  MKL_LIBDIR="${mkldir}/lib/32",
7773 <                     MKL_LIB="-lmkl -lvml -lguide",
7774 <                     HAVE_MKL="yes"
7775 < fi
10953 > rm -f conftest.err conftest.$ac_objext \
10954 >      conftest$ac_exeext conftest.$ac_ext
10955 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10956 > LIBS="$save_LIBS_CHECK_CXX_LIB"
10957 >      LIBS="$save_LIBS"
10958 >    fi
10959  
10960 <
7778 < else
7779 <  MKL_INC="-I${mkldir}/include"
7780 < fi
7781 <
7782 <
7783 <  CPPFLAGS=$ac_save_CPPFLAGS
7784 <  LDFLAGS=$ac_save_LDFLAGS
10960 >  fi
10961    ac_ext=c
10962   ac_cpp='$CPP $CPPFLAGS'
10963   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7789 | Line 10965 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
10965   ac_compiler_gnu=$ac_cv_c_compiler_gnu
10966  
10967  
10968 <  if test x_$HAVE_MKL != x_yes; then
7793 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
7794 < echo "$as_me: error: Can't build with MKL" >&2;}
7795 <   { (exit 1); exit 1; }; }
7796 <  fi
10968 > fi
10969  
10970 + if test "x$cgal" = xyes; then
10971 +  USE_CGAL=yes
10972  
10973 + cat >>confdefs.h <<\_ACEOF
10974 + #define HAVE_CGAL 1
10975 + _ACEOF
10976  
10977  
10978 + cat >>confdefs.h <<_ACEOF
10979 + #define CGAL_VERSION $CGAL_VERSION
10980 + _ACEOF
10981  
10982 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10983 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10984 + echo "$as_me: WARNING: *****************************************************" >&2;}
10985 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10986 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10987 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10988 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10989 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10990 + echo "$as_me: WARNING: *****************************************************" >&2;}
10991 +  fi
10992   else
10993 +   if test "x$cgal_makefile" != xno; then
10994 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10995 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10996 +  fi
10997 +  CGAL_INCLDIR=
10998 +  CGAL_LIBDIR=
10999 +  CGAL_RLIBDIR=
11000 +  CGAL_DEFINES=
11001 +  CGAL_CXXFLAGS=
11002 +  CGAL_LIBS=
11003 + fi
11004  
7804    echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
11005  
11006 < fi;
11006 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
11007  
11008 + CGAL_LIB_DIR=${CGAL_LIBDIR}
11009  
11010 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
11011  
11012 +
11013 +
11014 +
11015 +
11016 +
11017 +
11018   # Check whether --enable-doxygen or --disable-doxygen was given.
11019   if test "${enable_doxygen+set}" = set; then
11020    enableval="$enable_doxygen"
# Line 8008 | Line 11215 | esac
11215  
11216            ac_config_headers="$ac_config_headers src/config.h"
11217  
11218 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
11218 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
11219  
11220  
11221   cat >confcache <<\_ACEOF
# Line 8039 | Line 11246 | _ACEOF
11246        # `set' does not quote correctly, so add quotes (double-quote
11247        # substitution turns \\\\ into \\, and sed turns \\ into \).
11248        sed -n \
11249 <        "s/'/'\\\\''/g;
11250 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11249 >        "s/'/'\\\\''/g;
11250 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11251        ;;
11252      *)
11253        # `set' quotes correctly as required by POSIX, so do not add quotes.
11254        sed -n \
11255 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11255 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11256        ;;
11257      esac;
11258   } |
# Line 8075 | Line 11282 | if test "x$srcdir" = x.; then
11282   # trailing colons and then remove the whole line if VPATH becomes empty
11283   # (actually we leave an empty line to preserve line numbers).
11284   if test "x$srcdir" = x.; then
11285 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
11285 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
11286   s/:*\$(srcdir):*/:/;
11287   s/:*\${srcdir}:*/:/;
11288   s/:*@srcdir@:*/:/;
11289 < s/^\([^=]*=[    ]*\):*/\1/;
11289 > s/^\([^=]*=[     ]*\):*/\1/;
11290   s/:*$//;
11291 < s/^[^=]*=[      ]*$//;
11291 > s/^[^=]*=[       ]*$//;
11292   }'
11293   fi
11294  
# Line 8092 | Line 11299 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
11299   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11300    # 1. Remove the extension, and $U if already installed.
11301    ac_i=`echo "$ac_i" |
11302 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11302 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11303    # 2. Add them.
11304    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11305    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 8136 | Line 11343 | fi
11343   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11344    set -o posix
11345   fi
11346 + DUALCASE=1; export DUALCASE # for MKS sh
11347  
11348   # Support unset when possible.
11349 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11349 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11350    as_unset=unset
11351   else
11352    as_unset=false
# Line 8157 | Line 11365 | do
11365    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11366    LC_TELEPHONE LC_TIME
11367   do
11368 <  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11368 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11369      eval $as_var=C; export $as_var
11370    else
11371      $as_unset $as_var
# Line 8336 | Line 11544 | else
11544   if mkdir -p . 2>/dev/null; then
11545    as_mkdir_p=:
11546   else
11547 +  test -d ./-p && rmdir ./-p
11548    as_mkdir_p=false
11549   fi
11550  
11551   as_executable_p="test -f"
11552  
11553   # Sed expression to map a string onto a valid CPP name.
11554 < as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11554 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11555  
11556   # Sed expression to map a string onto a valid variable name.
11557 < as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11557 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11558  
11559  
11560   # IFS
# Line 8372 | Line 11581 | generated by GNU Autoconf 2.57.  Invocation command li
11581   cat >&5 <<_CSEOF
11582  
11583   This file was extended by OOPSE $as_me 2.0, which was
11584 < generated by GNU Autoconf 2.57.  Invocation command line was
11584 > generated by GNU Autoconf 2.59.  Invocation command line was
11585  
11586    CONFIG_FILES    = $CONFIG_FILES
11587    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 8416 | Line 11625 | Usage: $0 [OPTIONS] [FILE]...
11625    -d, --debug      don't remove temporary files
11626        --recheck    update $as_me by reconfiguring in the same conditions
11627    --file=FILE[:TEMPLATE]
11628 <                   instantiate the configuration file FILE
11628 >                   instantiate the configuration file FILE
11629    --header=FILE[:TEMPLATE]
11630 <                   instantiate the configuration header FILE
11630 >                   instantiate the configuration header FILE
11631  
11632   Configuration files:
11633   $config_files
# Line 8435 | Line 11644 | configured by $0, generated by GNU Autoconf 2.57,
11644   cat >>$CONFIG_STATUS <<_ACEOF
11645   ac_cs_version="\\
11646   OOPSE config.status 2.0
11647 < configured by $0, generated by GNU Autoconf 2.57,
11647 > configured by $0, generated by GNU Autoconf 2.59,
11648    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11649  
11650 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8442 < Free Software Foundation, Inc.
11650 > Copyright (C) 2003 Free Software Foundation, Inc.
11651   This config.status script is free software; the Free Software Foundation
11652   gives unlimited permission to copy, distribute and modify it."
11653   srcdir=$srcdir
# Line 8540 | Line 11748 | do
11748    # Handling of arguments.
11749    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11750    "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11751 +  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11752 +  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11753    "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11754    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11755    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
# Line 8647 | Line 11857 | s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11857   s,@CXX@,$CXX,;t t
11858   s,@CXXFLAGS@,$CXXFLAGS,;t t
11859   s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11860 + s,@CPP@,$CPP,;t t
11861 + s,@EGREP@,$EGREP,;t t
11862   s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11863   s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11864   s,@F90@,$F90,;t t
# Line 8662 | Line 11874 | s,@CPP@,$CPP,;t t
11874   s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11875   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11876   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11877 < s,@CPP@,$CPP,;t t
8666 < s,@EGREP@,$EGREP,;t t
11877 > s,@CXXCPP@,$CXXCPP,;t t
11878   s,@LIBOBJS@,$LIBOBJS,;t t
11879   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11880   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 8676 | Line 11887 | s,@AR@,$AR,;t t
11887   s,@LEX@,$LEX,;t t
11888   s,@LEXLIB@,$LEXLIB,;t t
11889   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11890 + s,@PERLINTERP@,$PERLINTERP,;t t
11891 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11892   s,@AR@,$AR,;t t
11893   s,@PS@,$PS,;t t
11894   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 8684 | Line 11897 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11897   s,@MPI_LIB@,$MPI_LIB,;t t
11898   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11899   s,@USE_MPI@,$USE_MPI,;t t
11900 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11901 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
11902 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
11903 < s,@USE_SPRNG@,$USE_SPRNG,;t t
11904 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
11905 < s,@MKL_LIB@,$MKL_LIB,;t t
11906 < s,@MKL_INC@,$MKL_INC,;t t
8694 < s,@HAVE_MKL@,$HAVE_MKL,;t t
11900 > s,@USE_CGAL@,$USE_CGAL,;t t
11901 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11902 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11903 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11904 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11905 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11906 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11907   s,@DOXYGEN@,$DOXYGEN,;t t
11908   s,@DOT@,$DOT,;t t
11909   s,@DOC@,$DOC,;t t
# Line 8734 | Line 11946 | _ACEOF
11946        (echo ':t
11947    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11948        if test -z "$ac_sed_cmds"; then
11949 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11949 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11950        else
11951 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11951 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11952        fi
11953        ac_sed_frag=`expr $ac_sed_frag + 1`
11954        ac_beg=$ac_end
# Line 8754 | Line 11966 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
11966    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11967    case $ac_file in
11968    - | *:- | *:-:* ) # input from stdin
11969 <        cat >$tmp/stdin
11970 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11971 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11969 >        cat >$tmp/stdin
11970 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11971 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11972    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11973 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11973 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11974    * )   ac_file_in=$ac_file.in ;;
11975    esac
11976  
11977    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11978    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11979   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11980 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11981 <         X"$ac_file" : 'X\(//\)$' \| \
11982 <         X"$ac_file" : 'X\(/\)' \| \
11983 <         .     : '\(.\)' 2>/dev/null ||
11980 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11981 >         X"$ac_file" : 'X\(//\)$' \| \
11982 >         X"$ac_file" : 'X\(/\)' \| \
11983 >         .     : '\(.\)' 2>/dev/null ||
11984   echo X"$ac_file" |
11985      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11986            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8784 | Line 11996 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
11996        as_dirs="$as_dir $as_dirs"
11997        as_dir=`(dirname "$as_dir") 2>/dev/null ||
11998   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11999 <         X"$as_dir" : 'X\(//\)[^/]' \| \
12000 <         X"$as_dir" : 'X\(//\)$' \| \
12001 <         X"$as_dir" : 'X\(/\)' \| \
12002 <         .     : '\(.\)' 2>/dev/null ||
11999 >         X"$as_dir" : 'X\(//\)[^/]' \| \
12000 >         X"$as_dir" : 'X\(//\)$' \| \
12001 >         X"$as_dir" : 'X\(/\)' \| \
12002 >         .     : '\(.\)' 2>/dev/null ||
12003   echo X"$as_dir" |
12004      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12005            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8825 | Line 12037 | esac
12037      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12038      ac_top_srcdir=$ac_top_builddir$srcdir ;;
12039   esac
8828 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8829 # absolute.
8830 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8831 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8832 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8833 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12040  
12041 + # Do not use `cd foo && pwd` to compute absolute paths, because
12042 + # the directories may not exist.
12043 + case `pwd` in
12044 + .) ac_abs_builddir="$ac_dir";;
12045 + *)
12046 +  case "$ac_dir" in
12047 +  .) ac_abs_builddir=`pwd`;;
12048 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12049 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
12050 +  esac;;
12051 + esac
12052 + case $ac_abs_builddir in
12053 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
12054 + *)
12055 +  case ${ac_top_builddir}. in
12056 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
12057 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12058 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12059 +  esac;;
12060 + esac
12061 + case $ac_abs_builddir in
12062 + .) ac_abs_srcdir=$ac_srcdir;;
12063 + *)
12064 +  case $ac_srcdir in
12065 +  .) ac_abs_srcdir=$ac_abs_builddir;;
12066 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12067 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12068 +  esac;;
12069 + esac
12070 + case $ac_abs_builddir in
12071 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
12072 + *)
12073 +  case $ac_top_srcdir in
12074 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
12075 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12076 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12077 +  esac;;
12078 + esac
12079  
12080 +
12081    case $INSTALL in
12082    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12083    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
# Line 8852 | Line 12097 | echo "$as_me: creating $ac_file" >&6;}
12097      configure_input="$ac_file.  "
12098    fi
12099    configure_input=$configure_input"Generated from `echo $ac_file_in |
12100 <                                     sed 's,.*/,,'` by configure."
12100 >                                     sed 's,.*/,,'` by configure."
12101  
12102    # First look for the input files in the build tree, otherwise in the
12103    # src tree.
# Line 8861 | Line 12106 | echo "$as_me: creating $ac_file" >&6;}
12106        case $f in
12107        -) echo $tmp/stdin ;;
12108        [\\/$]*)
12109 <         # Absolute (can't be DOS-style, as IFS=:)
12110 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12109 >         # Absolute (can't be DOS-style, as IFS=:)
12110 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12111   echo "$as_me: error: cannot find input file: $f" >&2;}
12112     { (exit 1); exit 1; }; }
12113 <         echo $f;;
12113 >         echo "$f";;
12114        *) # Relative
12115 <         if test -f "$f"; then
12116 <           # Build tree
12117 <           echo $f
12118 <         elif test -f "$srcdir/$f"; then
12119 <           # Source tree
12120 <           echo $srcdir/$f
12121 <         else
12122 <           # /dev/null tree
12123 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12115 >         if test -f "$f"; then
12116 >           # Build tree
12117 >           echo "$f"
12118 >         elif test -f "$srcdir/$f"; then
12119 >           # Source tree
12120 >           echo "$srcdir/$f"
12121 >         else
12122 >           # /dev/null tree
12123 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12124   echo "$as_me: error: cannot find input file: $f" >&2;}
12125     { (exit 1); exit 1; }; }
12126 <         fi;;
12126 >         fi;;
12127        esac
12128      done` || { (exit 1); exit 1; }
12129   _ACEOF
# Line 8908 | Line 12153 | done
12153      rm -f $tmp/out
12154    fi
12155  
12156 +  # Run the commands associated with the file.
12157 +  case $ac_file in
12158 +    make/Makefile ) chmod 0755 scripts/* ;;
12159 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
12160 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
12161 +    scripts/filepp ) chmod 0755 scripts/* ;;
12162 +  esac
12163   done
12164   _ACEOF
12165   cat >>$CONFIG_STATUS <<\_ACEOF
# Line 8920 | Line 12172 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
12172   # NAME is the cpp macro being defined and VALUE is the value it is being given.
12173   #
12174   # ac_d sets the value in "#define NAME VALUE" lines.
12175 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
12176 < ac_dB='[        ].*$,\1#\2'
12175 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
12176 > ac_dB='[         ].*$,\1#\2'
12177   ac_dC=' '
12178   ac_dD=',;t'
12179   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12180 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
12180 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
12181   ac_uB='$,\1#\2define\3'
12182   ac_uC=' '
12183   ac_uD=',;t'
# Line 8934 | Line 12186 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
12186    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12187    case $ac_file in
12188    - | *:- | *:-:* ) # input from stdin
12189 <        cat >$tmp/stdin
12190 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12191 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12189 >        cat >$tmp/stdin
12190 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12191 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12192    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12193 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12193 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12194    * )   ac_file_in=$ac_file.in ;;
12195    esac
12196  
# Line 8952 | Line 12204 | echo "$as_me: creating $ac_file" >&6;}
12204        case $f in
12205        -) echo $tmp/stdin ;;
12206        [\\/$]*)
12207 <         # Absolute (can't be DOS-style, as IFS=:)
12208 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12207 >         # Absolute (can't be DOS-style, as IFS=:)
12208 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12209   echo "$as_me: error: cannot find input file: $f" >&2;}
12210     { (exit 1); exit 1; }; }
12211 <         echo $f;;
12211 >         # Do quote $f, to prevent DOS paths from being IFS'd.
12212 >         echo "$f";;
12213        *) # Relative
12214 <         if test -f "$f"; then
12215 <           # Build tree
12216 <           echo $f
12217 <         elif test -f "$srcdir/$f"; then
12218 <           # Source tree
12219 <           echo $srcdir/$f
12220 <         else
12221 <           # /dev/null tree
12222 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12214 >         if test -f "$f"; then
12215 >           # Build tree
12216 >           echo "$f"
12217 >         elif test -f "$srcdir/$f"; then
12218 >           # Source tree
12219 >           echo "$srcdir/$f"
12220 >         else
12221 >           # /dev/null tree
12222 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12223   echo "$as_me: error: cannot find input file: $f" >&2;}
12224     { (exit 1); exit 1; }; }
12225 <         fi;;
12225 >         fi;;
12226        esac
12227      done` || { (exit 1); exit 1; }
12228    # Remove the trailing spaces.
12229 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
12229 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
12230  
12231   _ACEOF
12232  
# Line 8996 | Line 12249 | s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*
12249   s,[\\$`],\\&,g
12250   t clear
12251   : clear
12252 < s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12252 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12253   t end
12254 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12254 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12255   : end
12256   _ACEOF
12257   # If some macros were called several times there might be several times
# Line 9012 | Line 12265 | s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/*
12265   # example, in the case of _POSIX_SOURCE, which is predefined and required
12266   # on some systems where configure will not decide to define it.
12267   cat >>conftest.undefs <<\_ACEOF
12268 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12268 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12269   _ACEOF
12270  
12271   # Break up conftest.defines because some shells have a limit on the size
12272   # of here documents, and old seds have small limits too (100 cmds).
12273   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12274 < echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12274 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12275   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12276   echo '  :' >>$CONFIG_STATUS
12277   rm -f conftest.tail
# Line 9027 | Line 12280 | do
12280    # Write a limited-size here document to $tmp/defines.sed.
12281    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12282    # Speed up: don't consider the non `#define' lines.
12283 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
12283 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
12284    # Work around the forget-to-reset-the-flag bug.
12285    echo 't clr' >>$CONFIG_STATUS
12286    echo ': clr' >>$CONFIG_STATUS
# Line 9054 | Line 12307 | do
12307    # Write a limited-size here document to $tmp/undefs.sed.
12308    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12309    # Speed up: don't consider the non `#undef'
12310 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
12310 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
12311    # Work around the forget-to-reset-the-flag bug.
12312    echo 't clr' >>$CONFIG_STATUS
12313    echo ': clr' >>$CONFIG_STATUS
# Line 9088 | Line 12341 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
12341      else
12342        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12343   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12344 <         X"$ac_file" : 'X\(//\)[^/]' \| \
12345 <         X"$ac_file" : 'X\(//\)$' \| \
12346 <         X"$ac_file" : 'X\(/\)' \| \
12347 <         .     : '\(.\)' 2>/dev/null ||
12344 >         X"$ac_file" : 'X\(//\)[^/]' \| \
12345 >         X"$ac_file" : 'X\(//\)$' \| \
12346 >         X"$ac_file" : 'X\(/\)' \| \
12347 >         .     : '\(.\)' 2>/dev/null ||
12348   echo X"$ac_file" |
12349      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12350            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9107 | Line 12360 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
12360        as_dirs="$as_dir $as_dirs"
12361        as_dir=`(dirname "$as_dir") 2>/dev/null ||
12362   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12363 <         X"$as_dir" : 'X\(//\)[^/]' \| \
12364 <         X"$as_dir" : 'X\(//\)$' \| \
12365 <         X"$as_dir" : 'X\(/\)' \| \
12366 <         .     : '\(.\)' 2>/dev/null ||
12363 >         X"$as_dir" : 'X\(//\)[^/]' \| \
12364 >         X"$as_dir" : 'X\(//\)$' \| \
12365 >         X"$as_dir" : 'X\(/\)' \| \
12366 >         .     : '\(.\)' 2>/dev/null ||
12367   echo X"$as_dir" |
12368      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12369            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9155 | Line 12408 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
12408    # Make relative symlinks.
12409    ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
12410   $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12411 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
12412 <         X"$ac_dest" : 'X\(//\)$' \| \
12413 <         X"$ac_dest" : 'X\(/\)' \| \
12414 <         .     : '\(.\)' 2>/dev/null ||
12411 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
12412 >         X"$ac_dest" : 'X\(//\)$' \| \
12413 >         X"$ac_dest" : 'X\(/\)' \| \
12414 >         .     : '\(.\)' 2>/dev/null ||
12415   echo X"$ac_dest" |
12416      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12417            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9174 | Line 12427 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
12427        as_dirs="$as_dir $as_dirs"
12428        as_dir=`(dirname "$as_dir") 2>/dev/null ||
12429   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12430 <         X"$as_dir" : 'X\(//\)[^/]' \| \
12431 <         X"$as_dir" : 'X\(//\)$' \| \
12432 <         X"$as_dir" : 'X\(/\)' \| \
12433 <         .     : '\(.\)' 2>/dev/null ||
12430 >         X"$as_dir" : 'X\(//\)[^/]' \| \
12431 >         X"$as_dir" : 'X\(//\)$' \| \
12432 >         X"$as_dir" : 'X\(/\)' \| \
12433 >         .     : '\(.\)' 2>/dev/null ||
12434   echo X"$as_dir" |
12435      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12436            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9215 | Line 12468 | esac
12468      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12469      ac_top_srcdir=$ac_top_builddir$srcdir ;;
12470   esac
9218 # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
9219 # absolute.
9220 ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
9221 ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd`
9222 ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
9223 ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
12471  
12472 + # Do not use `cd foo && pwd` to compute absolute paths, because
12473 + # the directories may not exist.
12474 + case `pwd` in
12475 + .) ac_abs_builddir="$ac_dest_dir";;
12476 + *)
12477 +  case "$ac_dest_dir" in
12478 +  .) ac_abs_builddir=`pwd`;;
12479 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
12480 +  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
12481 +  esac;;
12482 + esac
12483 + case $ac_abs_builddir in
12484 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
12485 + *)
12486 +  case ${ac_top_builddir}. in
12487 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
12488 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12489 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12490 +  esac;;
12491 + esac
12492 + case $ac_abs_builddir in
12493 + .) ac_abs_srcdir=$ac_srcdir;;
12494 + *)
12495 +  case $ac_srcdir in
12496 +  .) ac_abs_srcdir=$ac_abs_builddir;;
12497 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12498 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12499 +  esac;;
12500 + esac
12501 + case $ac_abs_builddir in
12502 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
12503 + *)
12504 +  case $ac_top_srcdir in
12505 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
12506 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12507 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12508 +  esac;;
12509 + esac
12510  
12511 +
12512    case $srcdir in
12513    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
12514        *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines