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 2199 by gezelter, Thu Apr 14 21:41:56 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 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 PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP 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 788 | Line 789 | ac_cv_env_CPP_value=$CPP
789   ac_env_CPP_value=$CPP
790   ac_cv_env_CPP_set=${CPP+set}
791   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-perl-shebang     override what perl thinks is the way for the kernel
883 +                          to start it (seldom needed)
884    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
885 <  --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
885 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
886  
887   Some influential environment variables:
888    CC          C compiler command
# Line 891 | Line 896 | Some influential environment variables:
896    F90         Fortran 90 compiler command
897    F90FLAGS    Fortran 90 compiler flags
898    CPP         C preprocessor
899 +  CXXCPP      C++ preprocessor
900  
901   Use these variables to override the choices made by `configure' or to help
902   it to find libraries and programs with nonstandard names/locations.
# Line 929 | Line 935 | esac
935      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
936      ac_top_srcdir=$ac_top_builddir$srcdir ;;
937   esac
938 < # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
939 < # absolute.
940 < ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
941 < ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
942 < ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
943 < ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
938 >
939 > # Do not use `cd foo && pwd` to compute absolute paths, because
940 > # the directories may not exist.
941 > case `pwd` in
942 > .) ac_abs_builddir="$ac_dir";;
943 > *)
944 >  case "$ac_dir" in
945 >  .) ac_abs_builddir=`pwd`;;
946 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
947 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
948 >  esac;;
949 > esac
950 > case $ac_abs_builddir in
951 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
952 > *)
953 >  case ${ac_top_builddir}. in
954 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
955 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
956 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
957 >  esac;;
958 > esac
959 > case $ac_abs_builddir in
960 > .) ac_abs_srcdir=$ac_srcdir;;
961 > *)
962 >  case $ac_srcdir in
963 >  .) ac_abs_srcdir=$ac_abs_builddir;;
964 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
965 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
966 >  esac;;
967 > esac
968 > case $ac_abs_builddir in
969 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
970 > *)
971 >  case $ac_top_srcdir in
972 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
973 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
974 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
975 >  esac;;
976 > esac
977  
978      cd $ac_dir
979      # Check for guested configure; otherwise get Cygnus style configure.
# Line 945 | Line 984 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir &
984        echo
985        $SHELL $ac_srcdir/configure  --help=recursive
986      elif test -f $ac_srcdir/configure.ac ||
987 <           test -f $ac_srcdir/configure.in; then
987 >           test -f $ac_srcdir/configure.in; then
988        echo
989        $ac_configure --help
990      else
# Line 959 | Line 998 | generated by GNU Autoconf 2.57
998   if $ac_init_version; then
999    cat <<\_ACEOF
1000   OOPSE configure 2.0
1001 < generated by GNU Autoconf 2.57
1001 > generated by GNU Autoconf 2.59
1002  
1003 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
965 < Free Software Foundation, Inc.
1003 > Copyright (C) 2003 Free Software Foundation, Inc.
1004   This configure script is free software; the Free Software Foundation
1005   gives unlimited permission to copy, distribute and modify it.
1006   _ACEOF
# Line 974 | Line 1012 | generated by GNU Autoconf 2.57.  Invocation command li
1012   running configure, to aid debugging if configure makes a mistake.
1013  
1014   It was created by OOPSE $as_me 2.0, which was
1015 < generated by GNU Autoconf 2.57.  Invocation command line was
1015 > generated by GNU Autoconf 2.59.  Invocation command line was
1016  
1017    $ $0 $@
1018  
# Line 1051 | Line 1089 | do
1089      2)
1090        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1091        if test $ac_must_keep_next = true; then
1092 <        ac_must_keep_next=false # Got value, back to normal.
1092 >        ac_must_keep_next=false # Got value, back to normal.
1093        else
1094 <        case $ac_arg in
1095 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1096 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1097 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1098 <          | -with-* | --with-* | -without-* | --without-* | --x)
1099 <            case "$ac_configure_args0 " in
1100 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1101 <            esac
1102 <            ;;
1103 <          -* ) ac_must_keep_next=true ;;
1104 <        esac
1094 >        case $ac_arg in
1095 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1096 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1097 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1098 >          | -with-* | --with-* | -without-* | --without-* | --x)
1099 >            case "$ac_configure_args0 " in
1100 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1101 >            esac
1102 >            ;;
1103 >          -* ) ac_must_keep_next=true ;;
1104 >        esac
1105        fi
1106        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1107        # Get rid of the leading space.
# Line 1097 | Line 1135 | _ASBOX
1135      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1136      *ac_space=\ *)
1137        sed -n \
1138 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1138 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1140        ;;
1141      *)
1142        sed -n \
1143 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1143 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1144        ;;
1145      esac;
1146   }
# Line 1131 | Line 1169 | _ASBOX
1169        for ac_var in $ac_subst_files
1170        do
1171          eval ac_val=$`echo $ac_var`
1172 <        echo "$ac_var='"'"'$ac_val'"'"'"
1172 >        echo "$ac_var='"'"'$ac_val'"'"'"
1173        done | sort
1174        echo
1175      fi
# Line 1150 | Line 1188 | _ASBOX
1188        echo "$as_me: caught signal $ac_signal"
1189      echo "$as_me: exit $exit_status"
1190    } >&5
1191 <  rm -f core core.* *.core &&
1191 >  rm -f core *.core &&
1192    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1193      exit $exit_status
1194       ' 0
# Line 1230 | Line 1268 | for ac_var in `(set) 2>&1 |
1268   # value.
1269   ac_cache_corrupted=false
1270   for ac_var in `(set) 2>&1 |
1271 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1271 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1272    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1273    eval ac_new_set=\$ac_env_${ac_var}_set
1274    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1247 | Line 1285 | echo "$as_me: error: \`$ac_var' was not set in the pre
1285      ,);;
1286      *)
1287        if test "x$ac_old_val" != "x$ac_new_val"; then
1288 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1289 < echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1290 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1288 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1289 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1290 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1291   echo "$as_me:   former value:  $ac_old_val" >&2;}
1292 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1292 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1293   echo "$as_me:   current value: $ac_new_val" >&2;}
1294 <        ac_cache_corrupted=:
1294 >        ac_cache_corrupted=:
1295        fi;;
1296    esac
1297    # Pass precious variables to config.status.
# Line 1844 | Line 1882 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1882  
1883  
1884  
1885 + #
1886 + #
1887 + #
1888  
1889  
1890  
# Line 2050 | Line 2091 | cat >conftest.$ac_ext <<_ACEOF
2091    (exit $ac_status); }
2092  
2093   cat >conftest.$ac_ext <<_ACEOF
2053 #line $LINENO "configure"
2094   /* confdefs.h.  */
2095   _ACEOF
2096   cat confdefs.h >>conftest.$ac_ext
# Line 2070 | Line 2110 | echo "$as_me:$LINENO: checking for C compiler default
2110   # Try to create an executable without -o first, disregard a.out.
2111   # It will help us diagnose broken compilers, and finding out an intuition
2112   # of exeext.
2113 < echo "$as_me:$LINENO: checking for C compiler default output" >&5
2114 < echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2113 > echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2114 > echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2115   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2117    (eval $ac_link_default) 2>&5
# Line 2091 | Line 2131 | do
2131    test -f "$ac_file" || continue
2132    case $ac_file in
2133      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2134 <        ;;
2134 >        ;;
2135      conftest.$ac_ext )
2136 <        # This is the source file.
2137 <        ;;
2136 >        # This is the source file.
2137 >        ;;
2138      [ab].out )
2139 <        # We found the default executable, but exeext='' is most
2140 <        # certainly right.
2141 <        break;;
2139 >        # We found the default executable, but exeext='' is most
2140 >        # certainly right.
2141 >        break;;
2142      *.* )
2143 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2144 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2145 <        # but it would be cool to find out if it's true.  Does anybody
2146 <        # maintain Libtool? --akim.
2147 <        export ac_cv_exeext
2148 <        break;;
2143 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2144 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2145 >        # but it would be cool to find out if it's true.  Does anybody
2146 >        # maintain Libtool? --akim.
2147 >        export ac_cv_exeext
2148 >        break;;
2149      * )
2150 <        break;;
2150 >        break;;
2151    esac
2152   done
2153   else
# Line 2181 | Line 2221 | for ac_file in conftest.exe conftest conftest.*; do
2221    case $ac_file in
2222      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2223      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 <          export ac_cv_exeext
2225 <          break;;
2224 >          export ac_cv_exeext
2225 >          break;;
2226      * ) break;;
2227    esac
2228   done
# Line 2207 | Line 2247 | else
2247    echo $ECHO_N "(cached) $ECHO_C" >&6
2248   else
2249    cat >conftest.$ac_ext <<_ACEOF
2210 #line $LINENO "configure"
2250   /* confdefs.h.  */
2251   _ACEOF
2252   cat confdefs.h >>conftest.$ac_ext
# Line 2258 | Line 2297 | else
2297    echo $ECHO_N "(cached) $ECHO_C" >&6
2298   else
2299    cat >conftest.$ac_ext <<_ACEOF
2261 #line $LINENO "configure"
2300   /* confdefs.h.  */
2301   _ACEOF
2302   cat confdefs.h >>conftest.$ac_ext
# Line 2278 | Line 2316 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316   _ACEOF
2317   rm -f conftest.$ac_objext
2318   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 <  (eval $ac_compile) 2>&5
2319 >  (eval $ac_compile) 2>conftest.er1
2320    ac_status=$?
2321 +  grep -v '^ *+' conftest.er1 >conftest.err
2322 +  rm -f conftest.er1
2323 +  cat conftest.err >&5
2324    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325    (exit $ac_status); } &&
2326 <         { ac_try='test -s conftest.$ac_objext'
2326 >         { ac_try='test -z "$ac_c_werror_flag"
2327 >                         || test ! -s conftest.err'
2328    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329    (eval $ac_try) 2>&5
2330    ac_status=$?
2331    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 +  (exit $ac_status); }; } &&
2333 +         { ac_try='test -s conftest.$ac_objext'
2334 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 +  (eval $ac_try) 2>&5
2336 +  ac_status=$?
2337 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338    (exit $ac_status); }; }; then
2339    ac_compiler_gnu=yes
2340   else
# Line 2295 | Line 2343 | rm -f conftest.$ac_objext conftest.$ac_ext
2343  
2344   ac_compiler_gnu=no
2345   fi
2346 < rm -f conftest.$ac_objext conftest.$ac_ext
2346 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2347   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2348  
2349   fi
# Line 2311 | Line 2359 | else
2359    echo $ECHO_N "(cached) $ECHO_C" >&6
2360   else
2361    cat >conftest.$ac_ext <<_ACEOF
2314 #line $LINENO "configure"
2362   /* confdefs.h.  */
2363   _ACEOF
2364   cat confdefs.h >>conftest.$ac_ext
# Line 2328 | Line 2375 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375   _ACEOF
2376   rm -f conftest.$ac_objext
2377   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378 <  (eval $ac_compile) 2>&5
2378 >  (eval $ac_compile) 2>conftest.er1
2379    ac_status=$?
2380 +  grep -v '^ *+' conftest.er1 >conftest.err
2381 +  rm -f conftest.er1
2382 +  cat conftest.err >&5
2383    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384    (exit $ac_status); } &&
2385 <         { ac_try='test -s conftest.$ac_objext'
2385 >         { ac_try='test -z "$ac_c_werror_flag"
2386 >                         || test ! -s conftest.err'
2387    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388    (eval $ac_try) 2>&5
2389    ac_status=$?
2390    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 +  (exit $ac_status); }; } &&
2392 +         { ac_try='test -s conftest.$ac_objext'
2393 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 +  (eval $ac_try) 2>&5
2395 +  ac_status=$?
2396 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397    (exit $ac_status); }; }; then
2398    ac_cv_prog_cc_g=yes
2399   else
# Line 2345 | Line 2402 | rm -f conftest.$ac_objext conftest.$ac_ext
2402  
2403   ac_cv_prog_cc_g=no
2404   fi
2405 < rm -f conftest.$ac_objext conftest.$ac_ext
2405 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2406   fi
2407   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2408   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2372 | Line 2429 | cat >conftest.$ac_ext <<_ACEOF
2429    ac_cv_prog_cc_stdc=no
2430   ac_save_CC=$CC
2431   cat >conftest.$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2432   /* confdefs.h.  */
2433   _ACEOF
2434   cat confdefs.h >>conftest.$ac_ext
# Line 2400 | Line 2456 | int test (int i, double x);
2456    va_end (v);
2457    return s;
2458   }
2459 +
2460 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2461 +   function prototypes and stuff, but not '\xHH' hex character constants.
2462 +   These don't provoke an error unfortunately, instead are silently treated
2463 +   as 'x'.  The following induces an error, until -std1 is added to get
2464 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2465 +   array size at least.  It's necessary to write '\x00'==0 to get something
2466 +   that's true only with -std1.  */
2467 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2468 +
2469   int test (int i, double x);
2470   struct s1 {int (*f) (int a);};
2471   struct s2 {int (*f) (double a);};
# Line 2426 | Line 2492 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2492    CC="$ac_save_CC $ac_arg"
2493    rm -f conftest.$ac_objext
2494   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 <  (eval $ac_compile) 2>&5
2495 >  (eval $ac_compile) 2>conftest.er1
2496    ac_status=$?
2497 +  grep -v '^ *+' conftest.er1 >conftest.err
2498 +  rm -f conftest.er1
2499 +  cat conftest.err >&5
2500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501    (exit $ac_status); } &&
2502 <         { ac_try='test -s conftest.$ac_objext'
2502 >         { ac_try='test -z "$ac_c_werror_flag"
2503 >                         || test ! -s conftest.err'
2504    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505    (eval $ac_try) 2>&5
2506    ac_status=$?
2507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 +  (exit $ac_status); }; } &&
2509 +         { ac_try='test -s conftest.$ac_objext'
2510 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 +  (eval $ac_try) 2>&5
2512 +  ac_status=$?
2513 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514    (exit $ac_status); }; }; then
2515    ac_cv_prog_cc_stdc=$ac_arg
2516   break
# Line 2443 | Line 2519 | rm -f conftest.$ac_objext
2519   sed 's/^/| /' conftest.$ac_ext >&5
2520  
2521   fi
2522 < rm -f conftest.$ac_objext
2522 > rm -f conftest.err conftest.$ac_objext
2523   done
2524   rm -f conftest.$ac_ext conftest.$ac_objext
2525   CC=$ac_save_CC
# Line 2471 | Line 2547 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547   _ACEOF
2548   rm -f conftest.$ac_objext
2549   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 <  (eval $ac_compile) 2>&5
2550 >  (eval $ac_compile) 2>conftest.er1
2551    ac_status=$?
2552 +  grep -v '^ *+' conftest.er1 >conftest.err
2553 +  rm -f conftest.er1
2554 +  cat conftest.err >&5
2555    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556    (exit $ac_status); } &&
2557 <         { ac_try='test -s conftest.$ac_objext'
2557 >         { ac_try='test -z "$ac_c_werror_flag"
2558 >                         || test ! -s conftest.err'
2559    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560    (eval $ac_try) 2>&5
2561    ac_status=$?
2562    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 +  (exit $ac_status); }; } &&
2564 +         { ac_try='test -s conftest.$ac_objext'
2565 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 +  (eval $ac_try) 2>&5
2567 +  ac_status=$?
2568 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569    (exit $ac_status); }; }; then
2570    for ac_declaration in \
2571 <   ''\
2486 <   '#include <stdlib.h>' \
2571 >   '' \
2572     'extern "C" void std::exit (int) throw (); using std::exit;' \
2573     'extern "C" void std::exit (int); using std::exit;' \
2574     'extern "C" void exit (int) throw ();' \
# Line 2491 | Line 2576 | do
2576     'void exit (int);'
2577   do
2578    cat >conftest.$ac_ext <<_ACEOF
2494 #line $LINENO "configure"
2579   /* confdefs.h.  */
2580   _ACEOF
2581   cat confdefs.h >>conftest.$ac_ext
2582   cat >>conftest.$ac_ext <<_ACEOF
2583   /* end confdefs.h.  */
2500 #include <stdlib.h>
2584   $ac_declaration
2585 + #include <stdlib.h>
2586   int
2587   main ()
2588   {
# Line 2509 | Line 2593 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593   _ACEOF
2594   rm -f conftest.$ac_objext
2595   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 <  (eval $ac_compile) 2>&5
2596 >  (eval $ac_compile) 2>conftest.er1
2597    ac_status=$?
2598 +  grep -v '^ *+' conftest.er1 >conftest.err
2599 +  rm -f conftest.er1
2600 +  cat conftest.err >&5
2601    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602    (exit $ac_status); } &&
2603 <         { ac_try='test -s conftest.$ac_objext'
2603 >         { ac_try='test -z "$ac_c_werror_flag"
2604 >                         || test ! -s conftest.err'
2605    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606    (eval $ac_try) 2>&5
2607    ac_status=$?
2608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 +  (exit $ac_status); }; } &&
2610 +         { ac_try='test -s conftest.$ac_objext'
2611 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 +  (eval $ac_try) 2>&5
2613 +  ac_status=$?
2614 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615    (exit $ac_status); }; }; then
2616    :
2617   else
# Line 2526 | Line 2620 | rm -f conftest.$ac_objext conftest.$ac_ext
2620  
2621   continue
2622   fi
2623 < rm -f conftest.$ac_objext conftest.$ac_ext
2623 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2624    cat >conftest.$ac_ext <<_ACEOF
2531 #line $LINENO "configure"
2625   /* confdefs.h.  */
2626   _ACEOF
2627   cat confdefs.h >>conftest.$ac_ext
# Line 2545 | Line 2638 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2638   _ACEOF
2639   rm -f conftest.$ac_objext
2640   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 <  (eval $ac_compile) 2>&5
2641 >  (eval $ac_compile) 2>conftest.er1
2642    ac_status=$?
2643 +  grep -v '^ *+' conftest.er1 >conftest.err
2644 +  rm -f conftest.er1
2645 +  cat conftest.err >&5
2646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647    (exit $ac_status); } &&
2648 <         { ac_try='test -s conftest.$ac_objext'
2648 >         { ac_try='test -z "$ac_c_werror_flag"
2649 >                         || test ! -s conftest.err'
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); }; } &&
2655 +         { ac_try='test -s conftest.$ac_objext'
2656 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 +  (eval $ac_try) 2>&5
2658 +  ac_status=$?
2659 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660    (exit $ac_status); }; }; then
2661    break
2662   else
# Line 2561 | Line 2664 | rm -f conftest.$ac_objext conftest.$ac_ext
2664   sed 's/^/| /' conftest.$ac_ext >&5
2665  
2666   fi
2667 < rm -f conftest.$ac_objext conftest.$ac_ext
2667 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2668   done
2669   rm -f conftest*
2670   if test -n "$ac_declaration"; then
# Line 2575 | Line 2678 | rm -f conftest.$ac_objext conftest.$ac_ext
2678   sed 's/^/| /' conftest.$ac_ext >&5
2679  
2680   fi
2681 < rm -f conftest.$ac_objext conftest.$ac_ext
2681 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2682   ac_ext=c
2683   ac_cpp='$CPP $CPPFLAGS'
2684   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2702 | Line 2805 | else
2805    echo $ECHO_N "(cached) $ECHO_C" >&6
2806   else
2807    cat >conftest.$ac_ext <<_ACEOF
2705 #line $LINENO "configure"
2808   /* confdefs.h.  */
2809   _ACEOF
2810   cat confdefs.h >>conftest.$ac_ext
# Line 2722 | Line 2824 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824   _ACEOF
2825   rm -f conftest.$ac_objext
2826   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 <  (eval $ac_compile) 2>&5
2827 >  (eval $ac_compile) 2>conftest.er1
2828    ac_status=$?
2829 +  grep -v '^ *+' conftest.er1 >conftest.err
2830 +  rm -f conftest.er1
2831 +  cat conftest.err >&5
2832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833    (exit $ac_status); } &&
2834 <         { ac_try='test -s conftest.$ac_objext'
2834 >         { ac_try='test -z "$ac_cxx_werror_flag"
2835 >                         || test ! -s conftest.err'
2836    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837    (eval $ac_try) 2>&5
2838    ac_status=$?
2839    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 +  (exit $ac_status); }; } &&
2841 +         { ac_try='test -s conftest.$ac_objext'
2842 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 +  (eval $ac_try) 2>&5
2844 +  ac_status=$?
2845 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846    (exit $ac_status); }; }; then
2847    ac_compiler_gnu=yes
2848   else
# Line 2739 | Line 2851 | rm -f conftest.$ac_objext conftest.$ac_ext
2851  
2852   ac_compiler_gnu=no
2853   fi
2854 < rm -f conftest.$ac_objext conftest.$ac_ext
2854 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2855   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2856  
2857   fi
# Line 2755 | Line 2867 | else
2867    echo $ECHO_N "(cached) $ECHO_C" >&6
2868   else
2869    cat >conftest.$ac_ext <<_ACEOF
2758 #line $LINENO "configure"
2870   /* confdefs.h.  */
2871   _ACEOF
2872   cat confdefs.h >>conftest.$ac_ext
# Line 2772 | Line 2883 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883   _ACEOF
2884   rm -f conftest.$ac_objext
2885   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2886 <  (eval $ac_compile) 2>&5
2886 >  (eval $ac_compile) 2>conftest.er1
2887    ac_status=$?
2888 +  grep -v '^ *+' conftest.er1 >conftest.err
2889 +  rm -f conftest.er1
2890 +  cat conftest.err >&5
2891    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892    (exit $ac_status); } &&
2893 <         { ac_try='test -s conftest.$ac_objext'
2893 >         { ac_try='test -z "$ac_cxx_werror_flag"
2894 >                         || test ! -s conftest.err'
2895    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896    (eval $ac_try) 2>&5
2897    ac_status=$?
2898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 +  (exit $ac_status); }; } &&
2900 +         { ac_try='test -s conftest.$ac_objext'
2901 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 +  (eval $ac_try) 2>&5
2903 +  ac_status=$?
2904 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905    (exit $ac_status); }; }; then
2906    ac_cv_prog_cxx_g=yes
2907   else
# Line 2789 | Line 2910 | rm -f conftest.$ac_objext conftest.$ac_ext
2910  
2911   ac_cv_prog_cxx_g=no
2912   fi
2913 < rm -f conftest.$ac_objext conftest.$ac_ext
2913 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2914   fi
2915   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2916   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2809 | Line 2930 | for ac_declaration in \
2930    fi
2931   fi
2932   for ac_declaration in \
2933 <   ''\
2813 <   '#include <stdlib.h>' \
2933 >   '' \
2934     'extern "C" void std::exit (int) throw (); using std::exit;' \
2935     'extern "C" void std::exit (int); using std::exit;' \
2936     'extern "C" void exit (int) throw ();' \
# Line 2818 | Line 2938 | do
2938     'void exit (int);'
2939   do
2940    cat >conftest.$ac_ext <<_ACEOF
2821 #line $LINENO "configure"
2941   /* confdefs.h.  */
2942   _ACEOF
2943   cat confdefs.h >>conftest.$ac_ext
2944   cat >>conftest.$ac_ext <<_ACEOF
2945   /* end confdefs.h.  */
2827 #include <stdlib.h>
2946   $ac_declaration
2947 + #include <stdlib.h>
2948   int
2949   main ()
2950   {
# Line 2836 | Line 2955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955   _ACEOF
2956   rm -f conftest.$ac_objext
2957   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2958 <  (eval $ac_compile) 2>&5
2958 >  (eval $ac_compile) 2>conftest.er1
2959    ac_status=$?
2960 +  grep -v '^ *+' conftest.er1 >conftest.err
2961 +  rm -f conftest.er1
2962 +  cat conftest.err >&5
2963    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964    (exit $ac_status); } &&
2965 <         { ac_try='test -s conftest.$ac_objext'
2965 >         { ac_try='test -z "$ac_cxx_werror_flag"
2966 >                         || test ! -s conftest.err'
2967 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 >  (eval $ac_try) 2>&5
2969 >  ac_status=$?
2970 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 >  (exit $ac_status); }; } &&
2972 >         { ac_try='test -s conftest.$ac_objext'
2973    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974    (eval $ac_try) 2>&5
2975    ac_status=$?
# Line 2853 | Line 2982 | rm -f conftest.$ac_objext conftest.$ac_ext
2982  
2983   continue
2984   fi
2985 < rm -f conftest.$ac_objext conftest.$ac_ext
2985 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986    cat >conftest.$ac_ext <<_ACEOF
2858 #line $LINENO "configure"
2987   /* confdefs.h.  */
2988   _ACEOF
2989   cat confdefs.h >>conftest.$ac_ext
# Line 2872 | Line 3000 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3000   _ACEOF
3001   rm -f conftest.$ac_objext
3002   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003 <  (eval $ac_compile) 2>&5
3003 >  (eval $ac_compile) 2>conftest.er1
3004    ac_status=$?
3005 +  grep -v '^ *+' conftest.er1 >conftest.err
3006 +  rm -f conftest.er1
3007 +  cat conftest.err >&5
3008    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009    (exit $ac_status); } &&
3010 <         { ac_try='test -s conftest.$ac_objext'
3010 >         { ac_try='test -z "$ac_cxx_werror_flag"
3011 >                         || test ! -s conftest.err'
3012    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013    (eval $ac_try) 2>&5
3014    ac_status=$?
3015    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 +  (exit $ac_status); }; } &&
3017 +         { ac_try='test -s conftest.$ac_objext'
3018 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019 +  (eval $ac_try) 2>&5
3020 +  ac_status=$?
3021 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022    (exit $ac_status); }; }; then
3023    break
3024   else
# Line 2888 | Line 3026 | rm -f conftest.$ac_objext conftest.$ac_ext
3026   sed 's/^/| /' conftest.$ac_ext >&5
3027  
3028   fi
3029 < rm -f conftest.$ac_objext conftest.$ac_ext
3029 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3030   done
3031   rm -f conftest*
3032   if test -n "$ac_declaration"; then
# Line 3073 | Line 3211 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211   _ACEOF
3212   rm -f conftest.$ac_objext
3213   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 <  (eval $ac_compile) 2>&5
3214 >  (eval $ac_compile) 2>conftest.er1
3215    ac_status=$?
3216 +  grep -v '^ *+' conftest.er1 >conftest.err
3217 +  rm -f conftest.er1
3218 +  cat conftest.err >&5
3219    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220    (exit $ac_status); } &&
3221 <         { ac_try='test -s conftest.$ac_objext'
3221 >         { ac_try='test -z "$ac_f90_werror_flag"
3222 >                         || test ! -s conftest.err'
3223 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 >  (eval $ac_try) 2>&5
3225 >  ac_status=$?
3226 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 >  (exit $ac_status); }; } &&
3228 >         { ac_try='test -s conftest.$ac_objext'
3229    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230    (eval $ac_try) 2>&5
3231    ac_status=$?
# Line 3090 | Line 3238 | rm -f conftest.$ac_objext conftest.$ac_ext
3238  
3239   ac_compiler_gnu=no
3240   fi
3241 < rm -f conftest.$ac_objext conftest.$ac_ext
3241 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3242   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3243  
3244   fi
# Line 3164 | Line 3312 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3312   _ACEOF
3313   rm -f conftest.$ac_objext
3314   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3315 <  (eval $ac_compile) 2>&5
3315 >  (eval $ac_compile) 2>conftest.er1
3316    ac_status=$?
3317 +  grep -v '^ *+' conftest.er1 >conftest.err
3318 +  rm -f conftest.er1
3319 +  cat conftest.err >&5
3320    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321    (exit $ac_status); } &&
3322 <         { ac_try='test -s conftest.$ac_objext'
3322 >         { ac_try='test -z "$ac_f90_werror_flag"
3323 >                         || test ! -s conftest.err'
3324    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325    (eval $ac_try) 2>&5
3326    ac_status=$?
3327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 +  (exit $ac_status); }; } &&
3329 +         { ac_try='test -s conftest.$ac_objext'
3330 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 +  (eval $ac_try) 2>&5
3332 +  ac_status=$?
3333 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334    (exit $ac_status); }; }; then
3335    prepflagworks=1
3336   else
# Line 3181 | Line 3339 | rm -f conftest.$ac_objext conftest.$ac_ext
3339  
3340   prepflagworks=0
3341   fi
3342 < rm -f conftest.$ac_objext conftest.$ac_ext
3342 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3343  
3344    F90FLAGS=$ac_save_F90FLAGS
3345    ac_ext=$ac_save_ext
# Line 3269 | Line 3427 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3427   _ACEOF
3428   rm -f conftest.$ac_objext
3429   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3430 <  (eval $ac_compile) 2>&5
3430 >  (eval $ac_compile) 2>conftest.er1
3431    ac_status=$?
3432 +  grep -v '^ *+' conftest.er1 >conftest.err
3433 +  rm -f conftest.er1
3434 +  cat conftest.err >&5
3435    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436    (exit $ac_status); } &&
3437 <         { ac_try='test -s conftest.$ac_objext'
3437 >         { ac_try='test -z "$ac_f90_werror_flag"
3438 >                         || test ! -s conftest.err'
3439    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3440    (eval $ac_try) 2>&5
3441    ac_status=$?
3442    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 +  (exit $ac_status); }; } &&
3444 +         { ac_try='test -s conftest.$ac_objext'
3445 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 +  (eval $ac_try) 2>&5
3447 +  ac_status=$?
3448 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449    (exit $ac_status); }; }; then
3450    prepdefflagworks=1
3451   else
# Line 3286 | Line 3454 | rm -f conftest.$ac_objext conftest.$ac_ext
3454  
3455   prepdefflagworks=0
3456   fi
3457 < rm -f conftest.$ac_objext conftest.$ac_ext
3457 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3458  
3459    F90FLAGS=$ac_save_F90FLAGS
3460    ac_ext=$ac_save_ext
# Line 3338 | Line 3506 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3506   _ACEOF
3507   rm -f conftest.$ac_objext
3508   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 <  (eval $ac_compile) 2>&5
3509 >  (eval $ac_compile) 2>conftest.er1
3510    ac_status=$?
3511 +  grep -v '^ *+' conftest.er1 >conftest.err
3512 +  rm -f conftest.er1
3513 +  cat conftest.err >&5
3514    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515    (exit $ac_status); } &&
3516 <         { ac_try='test -s conftest.$ac_objext'
3516 >         { ac_try='test -z "$ac_f90_werror_flag"
3517 >                         || test ! -s conftest.err'
3518    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3519    (eval $ac_try) 2>&5
3520    ac_status=$?
3521    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 +  (exit $ac_status); }; } &&
3523 +         { ac_try='test -s conftest.$ac_objext'
3524 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 +  (eval $ac_try) 2>&5
3526 +  ac_status=$?
3527 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528    (exit $ac_status); }; }; then
3529    ac_cv_prog_f90_v=
3530   # Try some options frequently used verbose output
# Line 3372 | Line 3550 | F90FLAGS="$F90FLAGS $ac_verb"
3550   ac_save_F90FLAGS=$F90FLAGS
3551   F90FLAGS="$F90FLAGS $ac_verb"
3552  
3553 < (eval echo $as_me:3375: \"$ac_link\") >&5
3553 > (eval echo $as_me:3553: \"$ac_link\") >&5
3554   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3555   echo "$ac_f90_v_output" >&5
3556   F90FLAGS=$ac_save_F90FLAGS
# Line 3414 | Line 3592 | rm -f conftest.$ac_objext conftest.$ac_ext
3592   { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3593   echo "$as_me: WARNING: compilation failed" >&2;}
3594   fi
3595 < rm -f conftest.$ac_objext conftest.$ac_ext
3595 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3596  
3597   fi
3598   echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
# Line 3449 | Line 3627 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3627   ac_save_F90FLAGS=$F90FLAGS
3628   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3629  
3630 < (eval echo $as_me:3452: \"$ac_link\") >&5
3630 > (eval echo $as_me:3630: \"$ac_link\") >&5
3631   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3632   echo "$ac_f90_v_output" >&5
3633   F90FLAGS=$ac_save_F90FLAGS
# Line 3631 | Line 3809 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3809   _ACEOF
3810   rm -f conftest.$ac_objext
3811   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 <  (eval $ac_compile) 2>&5
3812 >  (eval $ac_compile) 2>conftest.er1
3813    ac_status=$?
3814 +  grep -v '^ *+' conftest.er1 >conftest.err
3815 +  rm -f conftest.er1
3816 +  cat conftest.err >&5
3817    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818    (exit $ac_status); } &&
3819 <         { ac_try='test -s conftest.$ac_objext'
3819 >         { ac_try='test -z "$ac_f90_werror_flag"
3820 >                         || test ! -s conftest.err'
3821    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822    (eval $ac_try) 2>&5
3823    ac_status=$?
3824    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 +  (exit $ac_status); }; } &&
3826 +         { ac_try='test -s conftest.$ac_objext'
3827 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 +  (eval $ac_try) 2>&5
3829 +  ac_status=$?
3830 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831    (exit $ac_status); }; }; then
3832    mv conftest.$ac_objext cf90_test.$ac_objext
3833  
# Line 3657 | Line 3845 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845      for ac_underscore in "" "_"; do
3846        ac_func="$ac_foobar$ac_underscore"
3847        cat >conftest.$ac_ext <<_ACEOF
3660 #line $LINENO "configure"
3848   /* confdefs.h.  */
3849   _ACEOF
3850   cat confdefs.h >>conftest.$ac_ext
# Line 3681 | Line 3868 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3868   _ACEOF
3869   rm -f conftest.$ac_objext conftest$ac_exeext
3870   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3871 <  (eval $ac_link) 2>&5
3871 >  (eval $ac_link) 2>conftest.er1
3872    ac_status=$?
3873 +  grep -v '^ *+' conftest.er1 >conftest.err
3874 +  rm -f conftest.er1
3875 +  cat conftest.err >&5
3876    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877    (exit $ac_status); } &&
3878 <         { ac_try='test -s conftest$ac_exeext'
3878 >         { ac_try='test -z "$ac_c_werror_flag"
3879 >                         || test ! -s conftest.err'
3880    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881    (eval $ac_try) 2>&5
3882    ac_status=$?
3883    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 +  (exit $ac_status); }; } &&
3885 +         { ac_try='test -s conftest$ac_exeext'
3886 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 +  (eval $ac_try) 2>&5
3888 +  ac_status=$?
3889 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890    (exit $ac_status); }; }; then
3891    ac_success=yes; break 2
3892   else
# Line 3697 | Line 3894 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3894   sed 's/^/| /' conftest.$ac_ext >&5
3895  
3896   fi
3897 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3897 > rm -f conftest.err conftest.$ac_objext \
3898 >      conftest$ac_exeext conftest.$ac_ext
3899      done
3900    done
3901  
# Line 3718 | Line 3916 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3916          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3917  
3918          cat >conftest.$ac_ext <<_ACEOF
3721 #line $LINENO "configure"
3919   /* confdefs.h.  */
3920   _ACEOF
3921   cat confdefs.h >>conftest.$ac_ext
# Line 3742 | Line 3939 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3939   _ACEOF
3940   rm -f conftest.$ac_objext conftest$ac_exeext
3941   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3942 <  (eval $ac_link) 2>&5
3942 >  (eval $ac_link) 2>conftest.er1
3943    ac_status=$?
3944 +  grep -v '^ *+' conftest.er1 >conftest.err
3945 +  rm -f conftest.er1
3946 +  cat conftest.err >&5
3947    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948    (exit $ac_status); } &&
3949 <         { ac_try='test -s conftest$ac_exeext'
3949 >         { ac_try='test -z "$ac_c_werror_flag"
3950 >                         || test ! -s conftest.err'
3951    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952    (eval $ac_try) 2>&5
3953    ac_status=$?
3954    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 +  (exit $ac_status); }; } &&
3956 +         { ac_try='test -s conftest$ac_exeext'
3957 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 +  (eval $ac_try) 2>&5
3959 +  ac_status=$?
3960 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961    (exit $ac_status); }; }; then
3962    ac_success_extra=yes; break
3963   else
# Line 3758 | Line 3965 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3965   sed 's/^/| /' conftest.$ac_ext >&5
3966  
3967   fi
3968 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3968 > rm -f conftest.err conftest.$ac_objext \
3969 >      conftest$ac_exeext conftest.$ac_ext
3970       done
3971  
3972       if test "$ac_success_extra" = "yes"; then
# Line 3793 | Line 4001 | rm -f conftest.$ac_objext conftest.$ac_ext
4001   sed 's/^/| /' conftest.$ac_ext >&5
4002  
4003   fi
4004 < rm -f conftest.$ac_objext conftest.$ac_ext
4004 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4005   ac_ext=f90
4006   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4007   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4036 | Line 4244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244   _ACEOF
4245   rm -f conftest.$ac_objext
4246   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247 <  (eval $ac_compile) 2>&5
4247 >  (eval $ac_compile) 2>conftest.er1
4248    ac_status=$?
4249 +  grep -v '^ *+' conftest.er1 >conftest.err
4250 +  rm -f conftest.er1
4251 +  cat conftest.err >&5
4252    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253    (exit $ac_status); } &&
4254 <         { ac_try='test -s conftest.$ac_objext'
4254 >         { ac_try='test -z "$ac_f90_werror_flag"
4255 >                         || test ! -s conftest.err'
4256    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257    (eval $ac_try) 2>&5
4258    ac_status=$?
4259    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 +  (exit $ac_status); }; } &&
4261 +         { ac_try='test -s conftest.$ac_objext'
4262 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 +  (eval $ac_try) 2>&5
4264 +  ac_status=$?
4265 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266    (exit $ac_status); }; }; then
4267    ac_cv_f90_module_names=
4268   ac_file_list=*
# Line 4145 | Line 4363 | rm -f conftest.$ac_objext conftest.$ac_ext
4363   { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4364   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4365   fi
4366 < rm -f conftest.$ac_objext conftest.$ac_ext
4366 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4367   cd ..
4368   # cleanup
4369   rm -rf conftest
# Line 4275 | Line 4493 | do
4493    # On the NeXT, cc -E runs the code through the compiler's parser,
4494    # not just through cpp. "Syntax error" is here to catch this case.
4495    cat >conftest.$ac_ext <<_ACEOF
4278 #line $LINENO "configure"
4496   /* confdefs.h.  */
4497   _ACEOF
4498   cat confdefs.h >>conftest.$ac_ext
# Line 4286 | Line 4503 | cat >>conftest.$ac_ext <<_ACEOF
4503   #else
4504   # include <assert.h>
4505   #endif
4506 <                     Syntax error
4506 >                     Syntax error
4507   _ACEOF
4508   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4509    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4298 | Line 4515 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4515    (exit $ac_status); } >/dev/null; then
4516    if test -s conftest.err; then
4517      ac_cpp_err=$ac_c_preproc_warn_flag
4518 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4519    else
4520      ac_cpp_err=
4521    fi
# Line 4318 | Line 4536 | rm -f conftest.err conftest.$ac_ext
4536    # OK, works on sane cases.  Now check whether non-existent headers
4537    # can be detected and how.
4538    cat >conftest.$ac_ext <<_ACEOF
4321 #line $LINENO "configure"
4539   /* confdefs.h.  */
4540   _ACEOF
4541   cat confdefs.h >>conftest.$ac_ext
# Line 4336 | Line 4553 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4553    (exit $ac_status); } >/dev/null; then
4554    if test -s conftest.err; then
4555      ac_cpp_err=$ac_c_preproc_warn_flag
4556 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4557    else
4558      ac_cpp_err=
4559    fi
# Line 4382 | Line 4600 | do
4600    # On the NeXT, cc -E runs the code through the compiler's parser,
4601    # not just through cpp. "Syntax error" is here to catch this case.
4602    cat >conftest.$ac_ext <<_ACEOF
4385 #line $LINENO "configure"
4603   /* confdefs.h.  */
4604   _ACEOF
4605   cat confdefs.h >>conftest.$ac_ext
# Line 4393 | Line 4610 | cat >>conftest.$ac_ext <<_ACEOF
4610   #else
4611   # include <assert.h>
4612   #endif
4613 <                     Syntax error
4613 >                     Syntax error
4614   _ACEOF
4615   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4616    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4405 | Line 4622 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4622    (exit $ac_status); } >/dev/null; then
4623    if test -s conftest.err; then
4624      ac_cpp_err=$ac_c_preproc_warn_flag
4625 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4626    else
4627      ac_cpp_err=
4628    fi
# Line 4425 | Line 4643 | rm -f conftest.err conftest.$ac_ext
4643    # OK, works on sane cases.  Now check whether non-existent headers
4644    # can be detected and how.
4645    cat >conftest.$ac_ext <<_ACEOF
4428 #line $LINENO "configure"
4646   /* confdefs.h.  */
4647   _ACEOF
4648   cat confdefs.h >>conftest.$ac_ext
# Line 4443 | Line 4660 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4660    (exit $ac_status); } >/dev/null; then
4661    if test -s conftest.err; then
4662      ac_cpp_err=$ac_c_preproc_warn_flag
4663 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4664    else
4665      ac_cpp_err=
4666    fi
# Line 4503 | Line 4721 | else
4721    echo $ECHO_N "(cached) $ECHO_C" >&6
4722   else
4723    cat >conftest.$ac_ext <<_ACEOF
4506 #line $LINENO "configure"
4724   /* confdefs.h.  */
4725   _ACEOF
4726   cat confdefs.h >>conftest.$ac_ext
# Line 4524 | Line 4741 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4741   _ACEOF
4742   rm -f conftest.$ac_objext
4743   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 <  (eval $ac_compile) 2>&5
4744 >  (eval $ac_compile) 2>conftest.er1
4745    ac_status=$?
4746 +  grep -v '^ *+' conftest.er1 >conftest.err
4747 +  rm -f conftest.er1
4748 +  cat conftest.err >&5
4749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750    (exit $ac_status); } &&
4751 <         { ac_try='test -s conftest.$ac_objext'
4751 >         { ac_try='test -z "$ac_c_werror_flag"
4752 >                         || test ! -s conftest.err'
4753    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754    (eval $ac_try) 2>&5
4755    ac_status=$?
4756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 +  (exit $ac_status); }; } &&
4758 +         { ac_try='test -s conftest.$ac_objext'
4759 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 +  (eval $ac_try) 2>&5
4761 +  ac_status=$?
4762 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763    (exit $ac_status); }; }; then
4764    ac_cv_header_stdc=yes
4765   else
# Line 4541 | Line 4768 | rm -f conftest.$ac_objext conftest.$ac_ext
4768  
4769   ac_cv_header_stdc=no
4770   fi
4771 < rm -f conftest.$ac_objext conftest.$ac_ext
4771 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4772  
4773   if test $ac_cv_header_stdc = yes; then
4774    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4775    cat >conftest.$ac_ext <<_ACEOF
4549 #line $LINENO "configure"
4776   /* confdefs.h.  */
4777   _ACEOF
4778   cat confdefs.h >>conftest.$ac_ext
# Line 4568 | Line 4794 | if test $ac_cv_header_stdc = yes; then
4794   if test $ac_cv_header_stdc = yes; then
4795    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4796    cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
4797   /* confdefs.h.  */
4798   _ACEOF
4799   cat confdefs.h >>conftest.$ac_ext
# Line 4593 | Line 4818 | else
4818    :
4819   else
4820    cat >conftest.$ac_ext <<_ACEOF
4596 #line $LINENO "configure"
4821   /* confdefs.h.  */
4822   _ACEOF
4823   cat confdefs.h >>conftest.$ac_ext
# Line 4605 | Line 4829 | cat >>conftest.$ac_ext <<_ACEOF
4829   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4830   #else
4831   # define ISLOWER(c) \
4832 <                   (('a' <= (c) && (c) <= 'i') \
4833 <                     || ('j' <= (c) && (c) <= 'r') \
4834 <                     || ('s' <= (c) && (c) <= 'z'))
4832 >                   (('a' <= (c) && (c) <= 'i') \
4833 >                     || ('j' <= (c) && (c) <= 'r') \
4834 >                     || ('s' <= (c) && (c) <= 'z'))
4835   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4836   #endif
4837  
# Line 4618 | Line 4842 | main ()
4842    int i;
4843    for (i = 0; i < 256; i++)
4844      if (XOR (islower (i), ISLOWER (i))
4845 <        || toupper (i) != TOUPPER (i))
4845 >        || toupper (i) != TOUPPER (i))
4846        exit(2);
4847    exit (0);
4848   }
# Line 4643 | Line 4867 | rm -f core core.* *.core gmon.out bb.out conftest$ac_e
4867   ( exit $ac_status )
4868   ac_cv_header_stdc=no
4869   fi
4870 < rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4870 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4871   fi
4872   fi
4873   fi
# Line 4668 | Line 4892 | for ac_header in sys/types.h sys/stat.h stdlib.h strin
4892  
4893  
4894   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4895 <                  inttypes.h stdint.h unistd.h
4895 >                  inttypes.h stdint.h unistd.h
4896   do
4897   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4898   echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4677 | Line 4901 | else
4901    echo $ECHO_N "(cached) $ECHO_C" >&6
4902   else
4903    cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4904   /* confdefs.h.  */
4905   _ACEOF
4906   cat confdefs.h >>conftest.$ac_ext
# Line 4689 | Line 4912 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912   _ACEOF
4913   rm -f conftest.$ac_objext
4914   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4915 <  (eval $ac_compile) 2>&5
4915 >  (eval $ac_compile) 2>conftest.er1
4916    ac_status=$?
4917 +  grep -v '^ *+' conftest.er1 >conftest.err
4918 +  rm -f conftest.er1
4919 +  cat conftest.err >&5
4920    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921    (exit $ac_status); } &&
4922 <         { ac_try='test -s conftest.$ac_objext'
4922 >         { ac_try='test -z "$ac_c_werror_flag"
4923 >                         || test ! -s conftest.err'
4924 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 >  (eval $ac_try) 2>&5
4926 >  ac_status=$?
4927 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 >  (exit $ac_status); }; } &&
4929 >         { ac_try='test -s conftest.$ac_objext'
4930    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931    (eval $ac_try) 2>&5
4932    ac_status=$?
# Line 4706 | Line 4939 | rm -f conftest.$ac_objext conftest.$ac_ext
4939  
4940   eval "$as_ac_Header=no"
4941   fi
4942 < rm -f conftest.$ac_objext conftest.$ac_ext
4942 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4943   fi
4944   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4945   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4745 | Line 4978 | cat >conftest.$ac_ext <<_ACEOF
4978   echo "$as_me:$LINENO: checking $ac_header usability" >&5
4979   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4980   cat >conftest.$ac_ext <<_ACEOF
4748 #line $LINENO "configure"
4981   /* confdefs.h.  */
4982   _ACEOF
4983   cat confdefs.h >>conftest.$ac_ext
# Line 4756 | Line 4988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4988   _ACEOF
4989   rm -f conftest.$ac_objext
4990   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4991 <  (eval $ac_compile) 2>&5
4991 >  (eval $ac_compile) 2>conftest.er1
4992    ac_status=$?
4993 +  grep -v '^ *+' conftest.er1 >conftest.err
4994 +  rm -f conftest.er1
4995 +  cat conftest.err >&5
4996    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997    (exit $ac_status); } &&
4998 <         { ac_try='test -s conftest.$ac_objext'
4998 >         { ac_try='test -z "$ac_c_werror_flag"
4999 >                         || test ! -s conftest.err'
5000    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001    (eval $ac_try) 2>&5
5002    ac_status=$?
5003    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 +  (exit $ac_status); }; } &&
5005 +         { ac_try='test -s conftest.$ac_objext'
5006 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007 +  (eval $ac_try) 2>&5
5008 +  ac_status=$?
5009 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010    (exit $ac_status); }; }; then
5011    ac_header_compiler=yes
5012   else
# Line 4773 | Line 5015 | rm -f conftest.$ac_objext conftest.$ac_ext
5015  
5016   ac_header_compiler=no
5017   fi
5018 < rm -f conftest.$ac_objext conftest.$ac_ext
5018 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5019   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5020   echo "${ECHO_T}$ac_header_compiler" >&6
5021  
# Line 4781 | Line 5023 | cat >conftest.$ac_ext <<_ACEOF
5023   echo "$as_me:$LINENO: checking $ac_header presence" >&5
5024   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5025   cat >conftest.$ac_ext <<_ACEOF
4784 #line $LINENO "configure"
5026   /* confdefs.h.  */
5027   _ACEOF
5028   cat confdefs.h >>conftest.$ac_ext
# Line 4799 | Line 5040 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5040    (exit $ac_status); } >/dev/null; then
5041    if test -s conftest.err; then
5042      ac_cpp_err=$ac_c_preproc_warn_flag
5043 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5044    else
5045      ac_cpp_err=
5046    fi
# Line 4818 | Line 5060 | case $ac_header_compiler:$ac_header_preproc in
5060   echo "${ECHO_T}$ac_header_preproc" >&6
5061  
5062   # So?  What about this header?
5063 < case $ac_header_compiler:$ac_header_preproc in
5064 <  yes:no )
5063 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5064 >  yes:no: )
5065      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5066   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5067 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5068 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5069 <    (
4828 <      cat <<\_ASBOX
4829 < ## ------------------------------------ ##
4830 < ## Report this to bug-autoconf@gnu.org. ##
4831 < ## ------------------------------------ ##
4832 < _ASBOX
4833 <    ) |
4834 <      sed "s/^/$as_me: WARNING:     /" >&2
5067 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5068 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5069 >    ac_header_preproc=yes
5070      ;;
5071 <  no:yes )
5071 >  no:yes:* )
5072      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5073   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5074 <    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5075 < echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5074 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5075 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5076 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5077 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5078 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5079 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5080      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5081   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5082 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5083 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5084      (
5085        cat <<\_ASBOX
5086 < ## ------------------------------------ ##
5087 < ## Report this to bug-autoconf@gnu.org. ##
5088 < ## ------------------------------------ ##
5086 > ## ------------------------------ ##
5087 > ## Report this to gezelter@nd.edu ##
5088 > ## ------------------------------ ##
5089   _ASBOX
5090      ) |
5091        sed "s/^/$as_me: WARNING:     /" >&2
# Line 4855 | Line 5096 | else
5096   if eval "test \"\${$as_ac_Header+set}\" = set"; then
5097    echo $ECHO_N "(cached) $ECHO_C" >&6
5098   else
5099 <  eval "$as_ac_Header=$ac_header_preproc"
5099 >  eval "$as_ac_Header=\$ac_header_preproc"
5100   fi
5101   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5102   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4884 | Line 5125 | else
5125    echo $ECHO_N "(cached) $ECHO_C" >&6
5126   else
5127    cat >conftest.$ac_ext <<_ACEOF
4887 #line $LINENO "configure"
5128   /* confdefs.h.  */
5129   _ACEOF
5130   cat confdefs.h >>conftest.$ac_ext
5131   cat >>conftest.$ac_ext <<_ACEOF
5132   /* end confdefs.h.  */
5133 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5134 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5135 + #define $ac_func innocuous_$ac_func
5136 +
5137   /* System header to define __stub macros and hopefully few prototypes,
5138      which can conflict with char $ac_func (); below.
5139      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5140      <limits.h> exists even on freestanding compilers.  */
5141 +
5142   #ifdef __STDC__
5143   # include <limits.h>
5144   #else
5145   # include <assert.h>
5146   #endif
5147 +
5148 + #undef $ac_func
5149 +
5150   /* Override any gcc2 internal prototype to avoid an error.  */
5151   #ifdef __cplusplus
5152   extern "C"
# Line 4929 | Line 5177 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5177   _ACEOF
5178   rm -f conftest.$ac_objext conftest$ac_exeext
5179   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5180 <  (eval $ac_link) 2>&5
5180 >  (eval $ac_link) 2>conftest.er1
5181    ac_status=$?
5182 +  grep -v '^ *+' conftest.er1 >conftest.err
5183 +  rm -f conftest.er1
5184 +  cat conftest.err >&5
5185    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186    (exit $ac_status); } &&
5187 <         { ac_try='test -s conftest$ac_exeext'
5187 >         { ac_try='test -z "$ac_c_werror_flag"
5188 >                         || test ! -s conftest.err'
5189    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5190    (eval $ac_try) 2>&5
5191    ac_status=$?
5192    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 +  (exit $ac_status); }; } &&
5194 +         { ac_try='test -s conftest$ac_exeext'
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); }; }; then
5200    eval "$as_ac_var=yes"
5201   else
# Line 4946 | Line 5204 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5204  
5205   eval "$as_ac_var=no"
5206   fi
5207 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5207 > rm -f conftest.err conftest.$ac_objext \
5208 >      conftest$ac_exeext conftest.$ac_ext
5209   fi
5210   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5211   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 4963 | Line 5222 | cat >conftest.$ac_ext <<_ACEOF
5222   echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5223   echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5224   cat >conftest.$ac_ext <<_ACEOF
4966 #line $LINENO "configure"
5225   /* confdefs.h.  */
5226   _ACEOF
5227   cat confdefs.h >>conftest.$ac_ext
# Line 4980 | Line 5238 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5238   _ACEOF
5239   rm -f conftest.$ac_objext
5240   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 <  (eval $ac_compile) 2>&5
5241 >  (eval $ac_compile) 2>conftest.er1
5242    ac_status=$?
5243 +  grep -v '^ *+' conftest.er1 >conftest.err
5244 +  rm -f conftest.er1
5245 +  cat conftest.err >&5
5246    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247    (exit $ac_status); } &&
5248 <         { ac_try='test -s conftest.$ac_objext'
5248 >         { ac_try='test -z "$ac_c_werror_flag"
5249 >                         || test ! -s conftest.err'
5250    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251    (eval $ac_try) 2>&5
5252    ac_status=$?
5253    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 +  (exit $ac_status); }; } &&
5255 +         { ac_try='test -s conftest.$ac_objext'
5256 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 +  (eval $ac_try) 2>&5
5258 +  ac_status=$?
5259 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260    (exit $ac_status); }; }; then
5261    echo "$as_me:$LINENO: result: yes" >&5
5262   echo "${ECHO_T}yes" >&6
# Line 5004 | Line 5272 | rm -f conftest.$ac_objext conftest.$ac_ext
5272   echo "$as_me:$LINENO: result: no" >&5
5273   echo "${ECHO_T}no" >&6
5274   fi
5275 < rm -f conftest.$ac_objext conftest.$ac_ext
5275 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5276  
5277    # clean out junk possibly left behind by a previous configuration
5278    rm -f src/getopt.h
# Line 5026 | Line 5294 | cat >conftest.$ac_ext <<_ACEOF
5294   echo "$as_me:$LINENO: checking $ac_header usability" >&5
5295   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5296   cat >conftest.$ac_ext <<_ACEOF
5029 #line $LINENO "configure"
5297   /* confdefs.h.  */
5298   _ACEOF
5299   cat confdefs.h >>conftest.$ac_ext
# Line 5037 | Line 5304 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304   _ACEOF
5305   rm -f conftest.$ac_objext
5306   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5307 <  (eval $ac_compile) 2>&5
5307 >  (eval $ac_compile) 2>conftest.er1
5308    ac_status=$?
5309 +  grep -v '^ *+' conftest.er1 >conftest.err
5310 +  rm -f conftest.er1
5311 +  cat conftest.err >&5
5312    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313    (exit $ac_status); } &&
5314 <         { ac_try='test -s conftest.$ac_objext'
5314 >         { ac_try='test -z "$ac_c_werror_flag"
5315 >                         || test ! -s conftest.err'
5316    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317    (eval $ac_try) 2>&5
5318    ac_status=$?
5319    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 +  (exit $ac_status); }; } &&
5321 +         { ac_try='test -s conftest.$ac_objext'
5322 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 +  (eval $ac_try) 2>&5
5324 +  ac_status=$?
5325 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326    (exit $ac_status); }; }; then
5327    ac_header_compiler=yes
5328   else
# Line 5054 | Line 5331 | rm -f conftest.$ac_objext conftest.$ac_ext
5331  
5332   ac_header_compiler=no
5333   fi
5334 < rm -f conftest.$ac_objext conftest.$ac_ext
5334 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5335   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5336   echo "${ECHO_T}$ac_header_compiler" >&6
5337  
# Line 5062 | Line 5339 | cat >conftest.$ac_ext <<_ACEOF
5339   echo "$as_me:$LINENO: checking $ac_header presence" >&5
5340   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5341   cat >conftest.$ac_ext <<_ACEOF
5065 #line $LINENO "configure"
5342   /* confdefs.h.  */
5343   _ACEOF
5344   cat confdefs.h >>conftest.$ac_ext
# Line 5080 | Line 5356 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5356    (exit $ac_status); } >/dev/null; then
5357    if test -s conftest.err; then
5358      ac_cpp_err=$ac_c_preproc_warn_flag
5359 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5360    else
5361      ac_cpp_err=
5362    fi
# Line 5099 | Line 5376 | case $ac_header_compiler:$ac_header_preproc in
5376   echo "${ECHO_T}$ac_header_preproc" >&6
5377  
5378   # So?  What about this header?
5379 < case $ac_header_compiler:$ac_header_preproc in
5380 <  yes:no )
5379 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5380 >  yes:no: )
5381      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5382   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5383 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5384 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5385 <    (
5109 <      cat <<\_ASBOX
5110 < ## ------------------------------------ ##
5111 < ## Report this to bug-autoconf@gnu.org. ##
5112 < ## ------------------------------------ ##
5113 < _ASBOX
5114 <    ) |
5115 <      sed "s/^/$as_me: WARNING:     /" >&2
5383 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5384 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5385 >    ac_header_preproc=yes
5386      ;;
5387 <  no:yes )
5387 >  no:yes:* )
5388      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5389   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5390 <    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5391 < echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5390 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5391 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5392 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5393 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5394 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5395 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5396      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5397   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5398 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5399 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5400      (
5401        cat <<\_ASBOX
5402 < ## ------------------------------------ ##
5403 < ## Report this to bug-autoconf@gnu.org. ##
5404 < ## ------------------------------------ ##
5402 > ## ------------------------------ ##
5403 > ## Report this to gezelter@nd.edu ##
5404 > ## ------------------------------ ##
5405   _ASBOX
5406      ) |
5407        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5136 | Line 5412 | else
5412   if eval "test \"\${$as_ac_Header+set}\" = set"; then
5413    echo $ECHO_N "(cached) $ECHO_C" >&6
5414   else
5415 <  eval "$as_ac_Header=$ac_header_preproc"
5415 >  eval "$as_ac_Header=\$ac_header_preproc"
5416   fi
5417   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5418   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 5161 | Line 5437 | else
5437    echo $ECHO_N "(cached) $ECHO_C" >&6
5438   else
5439    cat >conftest.$ac_ext <<_ACEOF
5164 #line $LINENO "configure"
5440   /* confdefs.h.  */
5441   _ACEOF
5442   cat confdefs.h >>conftest.$ac_ext
5443   cat >>conftest.$ac_ext <<_ACEOF
5444   /* end confdefs.h.  */
5445 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5446 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5447 + #define $ac_func innocuous_$ac_func
5448 +
5449   /* System header to define __stub macros and hopefully few prototypes,
5450      which can conflict with char $ac_func (); below.
5451      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5452      <limits.h> exists even on freestanding compilers.  */
5453 +
5454   #ifdef __STDC__
5455   # include <limits.h>
5456   #else
5457   # include <assert.h>
5458   #endif
5459 +
5460 + #undef $ac_func
5461 +
5462   /* Override any gcc2 internal prototype to avoid an error.  */
5463   #ifdef __cplusplus
5464   extern "C"
# Line 5206 | Line 5489 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5489   _ACEOF
5490   rm -f conftest.$ac_objext conftest$ac_exeext
5491   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5492 <  (eval $ac_link) 2>&5
5492 >  (eval $ac_link) 2>conftest.er1
5493    ac_status=$?
5494 +  grep -v '^ *+' conftest.er1 >conftest.err
5495 +  rm -f conftest.er1
5496 +  cat conftest.err >&5
5497    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498    (exit $ac_status); } &&
5499 <         { ac_try='test -s conftest$ac_exeext'
5499 >         { ac_try='test -z "$ac_c_werror_flag"
5500 >                         || test ! -s conftest.err'
5501    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502    (eval $ac_try) 2>&5
5503    ac_status=$?
5504    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 +  (exit $ac_status); }; } &&
5506 +         { ac_try='test -s conftest$ac_exeext'
5507 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5508 +  (eval $ac_try) 2>&5
5509 +  ac_status=$?
5510 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511    (exit $ac_status); }; }; then
5512    eval "$as_ac_var=yes"
5513   else
# Line 5223 | Line 5516 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5516  
5517   eval "$as_ac_var=no"
5518   fi
5519 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5519 > rm -f conftest.err conftest.$ac_objext \
5520 >      conftest$ac_exeext conftest.$ac_ext
5521   fi
5522   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5523   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 5242 | Line 5536 | cat >conftest.$ac_ext <<_ACEOF
5536    ac_check_lib_save_LIBS=$LIBS
5537   LIBS="-lgnugetopt  $LIBS"
5538   cat >conftest.$ac_ext <<_ACEOF
5245 #line $LINENO "configure"
5539   /* confdefs.h.  */
5540   _ACEOF
5541   cat confdefs.h >>conftest.$ac_ext
# Line 5266 | Line 5559 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5559   _ACEOF
5560   rm -f conftest.$ac_objext conftest$ac_exeext
5561   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5562 <  (eval $ac_link) 2>&5
5562 >  (eval $ac_link) 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 -s conftest$ac_exeext'
5569 >         { ac_try='test -z "$ac_c_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_exeext'
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_cv_lib_gnugetopt_getopt_long=yes
5583   else
# Line 5283 | Line 5586 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
5586  
5587   ac_cv_lib_gnugetopt_getopt_long=no
5588   fi
5589 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5589 > rm -f conftest.err conftest.$ac_objext \
5590 >      conftest$ac_exeext conftest.$ac_ext
5591   LIBS=$ac_check_lib_save_LIBS
5592   fi
5593   echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
# Line 5295 | Line 5599 | else
5599  
5600   else
5601    # use the GNU replacement
5602 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
5603 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
5602 >      case $LIBOBJS in
5603 >    "getopt.$ac_objext"   | \
5604 >  *" getopt.$ac_objext"   | \
5605 >    "getopt.$ac_objext "* | \
5606 >  *" getopt.$ac_objext "* ) ;;
5607 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5608 > esac
5609 >
5610 >      case $LIBOBJS in
5611 >    "getopt1.$ac_objext"   | \
5612 >  *" getopt1.$ac_objext"   | \
5613 >    "getopt1.$ac_objext "* | \
5614 >  *" getopt1.$ac_objext "* ) ;;
5615 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5616 > esac
5617 >
5618                  ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5619  
5620   fi
# Line 6345 | Line 6663 | esac
6663   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6664   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6665   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6666 + # OS/2's system install, which has a completely different semantic
6667   # ./install, which can be erroneously created by make from ./install.sh.
6668   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6669   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 6361 | Line 6680 | case $as_dir/ in
6680   case $as_dir/ in
6681    ./ | .// | /cC/* | \
6682    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6683 +  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6684    /usr/ucb/* ) ;;
6685    *)
6686      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 6368 | Line 6688 | case $as_dir/ in
6688      # by default.
6689      for ac_prog in ginstall scoinst install; do
6690        for ac_exec_ext in '' $ac_executable_extensions; do
6691 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6692 <          if test $ac_prog = install &&
6693 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6694 <            # AIX install.  It has an incompatible calling convention.
6695 <            :
6696 <          elif test $ac_prog = install &&
6697 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6698 <            # program-specific install script used by HP pwplus--don't use.
6699 <            :
6700 <          else
6701 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6702 <            break 3
6703 <          fi
6704 <        fi
6691 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6692 >          if test $ac_prog = install &&
6693 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6694 >            # AIX install.  It has an incompatible calling convention.
6695 >            :
6696 >          elif test $ac_prog = install &&
6697 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6698 >            # program-specific install script used by HP pwplus--don't use.
6699 >            :
6700 >          else
6701 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6702 >            break 3
6703 >          fi
6704 >        fi
6705        done
6706      done
6707      ;;
# Line 6424 | Line 6744 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./
6744  
6745   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6746   echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6747 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6747 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6748   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6749    echo $ECHO_N "(cached) $ECHO_C" >&6
6750   else
# Line 6623 | Line 6943 | cat >conftest.$ac_ext <<_ACEOF
6943    ac_check_lib_save_LIBS=$LIBS
6944   LIBS="-lfl  $LIBS"
6945   cat >conftest.$ac_ext <<_ACEOF
6626 #line $LINENO "configure"
6946   /* confdefs.h.  */
6947   _ACEOF
6948   cat confdefs.h >>conftest.$ac_ext
# Line 6647 | Line 6966 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6966   _ACEOF
6967   rm -f conftest.$ac_objext conftest$ac_exeext
6968   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969 <  (eval $ac_link) 2>&5
6969 >  (eval $ac_link) 2>conftest.er1
6970    ac_status=$?
6971 +  grep -v '^ *+' conftest.er1 >conftest.err
6972 +  rm -f conftest.er1
6973 +  cat conftest.err >&5
6974    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975    (exit $ac_status); } &&
6976 <         { ac_try='test -s conftest$ac_exeext'
6976 >         { ac_try='test -z "$ac_c_werror_flag"
6977 >                         || test ! -s conftest.err'
6978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 >  (eval $ac_try) 2>&5
6980 >  ac_status=$?
6981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 >  (exit $ac_status); }; } &&
6983 >         { ac_try='test -s conftest$ac_exeext'
6984    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985    (eval $ac_try) 2>&5
6986    ac_status=$?
# Line 6664 | Line 6993 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
6993  
6994   ac_cv_lib_fl_yywrap=no
6995   fi
6996 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6996 > rm -f conftest.err conftest.$ac_objext \
6997 >      conftest$ac_exeext conftest.$ac_ext
6998   LIBS=$ac_check_lib_save_LIBS
6999   fi
7000   echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 6680 | Line 7010 | cat >conftest.$ac_ext <<_ACEOF
7010    ac_check_lib_save_LIBS=$LIBS
7011   LIBS="-ll  $LIBS"
7012   cat >conftest.$ac_ext <<_ACEOF
6683 #line $LINENO "configure"
7013   /* confdefs.h.  */
7014   _ACEOF
7015   cat confdefs.h >>conftest.$ac_ext
# Line 6704 | Line 7033 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7033   _ACEOF
7034   rm -f conftest.$ac_objext conftest$ac_exeext
7035   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7036 <  (eval $ac_link) 2>&5
7036 >  (eval $ac_link) 2>conftest.er1
7037    ac_status=$?
7038 +  grep -v '^ *+' conftest.er1 >conftest.err
7039 +  rm -f conftest.er1
7040 +  cat conftest.err >&5
7041    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042    (exit $ac_status); } &&
7043 <         { ac_try='test -s conftest$ac_exeext'
7043 >         { ac_try='test -z "$ac_c_werror_flag"
7044 >                         || test ! -s conftest.err'
7045    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046    (eval $ac_try) 2>&5
7047    ac_status=$?
7048    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 +  (exit $ac_status); }; } &&
7050 +         { ac_try='test -s conftest$ac_exeext'
7051 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 +  (eval $ac_try) 2>&5
7053 +  ac_status=$?
7054 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055    (exit $ac_status); }; }; then
7056    ac_cv_lib_l_yywrap=yes
7057   else
# Line 6721 | Line 7060 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7060  
7061   ac_cv_lib_l_yywrap=no
7062   fi
7063 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7063 > rm -f conftest.err conftest.$ac_objext \
7064 >      conftest$ac_exeext conftest.$ac_ext
7065   LIBS=$ac_check_lib_save_LIBS
7066   fi
7067   echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 6783 | Line 7123 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7123   _ACEOF
7124   rm -f conftest.$ac_objext conftest$ac_exeext
7125   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7126 <  (eval $ac_link) 2>&5
7126 >  (eval $ac_link) 2>conftest.er1
7127    ac_status=$?
7128 +  grep -v '^ *+' conftest.er1 >conftest.err
7129 +  rm -f conftest.er1
7130 +  cat conftest.err >&5
7131    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132    (exit $ac_status); } &&
7133 <         { ac_try='test -s conftest$ac_exeext'
7133 >         { ac_try='test -z "$ac_c_werror_flag"
7134 >                         || test ! -s conftest.err'
7135    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136    (eval $ac_try) 2>&5
7137    ac_status=$?
7138    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 +  (exit $ac_status); }; } &&
7140 +         { ac_try='test -s conftest$ac_exeext'
7141 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 +  (eval $ac_try) 2>&5
7143 +  ac_status=$?
7144 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145    (exit $ac_status); }; }; then
7146    ac_cv_prog_lex_yytext_pointer=yes
7147   else
# Line 6799 | Line 7149 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7149   sed 's/^/| /' conftest.$ac_ext >&5
7150  
7151   fi
7152 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7152 > rm -f conftest.err conftest.$ac_objext \
7153 >      conftest$ac_exeext conftest.$ac_ext
7154   LIBS=$ac_save_LIBS
7155   rm -f "${LEX_OUTPUT_ROOT}.c"
7156  
# Line 6815 | Line 7166 | fi
7166   fi
7167  
7168   fi
7169 +
7170 +   # Extract the first word of "perl", so it can be a program name with args.
7171 + set dummy perl; ac_word=$2
7172 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7173 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7174 + if test "${ac_cv_path_PERLINTERP+set}" = set; then
7175 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7176 + else
7177 +  case $PERLINTERP in
7178 +  [\\/]* | ?:[\\/]*)
7179 +  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
7180 +  ;;
7181 +  *)
7182 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 + for as_dir in $PATH
7184 + do
7185 +  IFS=$as_save_IFS
7186 +  test -z "$as_dir" && as_dir=.
7187 +  for ac_exec_ext in '' $ac_executable_extensions; do
7188 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 +    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
7190 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 +    break 2
7192 +  fi
7193 + done
7194 + done
7195 +
7196 +  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
7197 +  ;;
7198 + esac
7199 + fi
7200 + PERLINTERP=$ac_cv_path_PERLINTERP
7201 +
7202 + if test -n "$PERLINTERP"; then
7203 +  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
7204 + echo "${ECHO_T}$PERLINTERP" >&6
7205 + else
7206 +  echo "$as_me:$LINENO: result: no" >&5
7207 + echo "${ECHO_T}no" >&6
7208 + fi
7209 +
7210 +   ac_cv_path_perlinterp="$PERLINTERP"
7211 +   _sHpB='#!'
7212 +
7213 +
7214 + # Check whether --with-perl-shebang or --without-perl-shebang was given.
7215 + if test "${with_perl_shebang+set}" = set; then
7216 +  withval="$with_perl_shebang"
7217 +  opt_perl_shebang="$withval"
7218 + else
7219 +                opt_perl_shebang="not_set"
7220 + fi;
7221 +   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
7222 + echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
7223 + if test "${ax_cv_opt_perl_shebang+set}" = set; then
7224 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7225 + else
7226 +   case "$opt_perl_shebang" in
7227 +                      not_set  ) ax_cv_opt_perl_shebang=''
7228 +                               ;;
7229 +                         *     )
7230 +        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
7231 +                    esac
7232 +
7233 + fi
7234 + echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
7235 + echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
7236 +   if test "A$ax_cv_opt_perl_shebang" != "A"
7237 +     then
7238 +       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
7239 +       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7240 +              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
7241 + echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
7242 +
7243 + # Automatic detection of sharpbang formula starts here
7244 +     else
7245 +   _somian_shbangperl=`$PERLINTERP -V:startperl`
7246 +   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
7247 +   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
7248 + echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
7249 + if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
7250 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7251 + else
7252 +  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
7253 +        if test "x$_somian_kspb_perl" == x
7254 +          then _somian_ksbp_warn_empty='durnit'
7255 +          else
7256 +          case "A$_somian_kspb_perl" in
7257 +                 A#!*perl* )
7258 +           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
7259 +                        ;;
7260 +                     A*    )  _somian_ksbp_warn_defau='trouble'
7261 +                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
7262 +          esac
7263 +        fi
7264 +
7265 + fi
7266 + echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
7267 + echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
7268 + # The above prints Checking ... result message to user.
7269 +   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7270 +
7271 +    if test A${_somian_ksbp_warn_empty+set} == Aset
7272 +      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
7273 + echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
7274 +    fi
7275 + # Inform user after printing result value
7276 +    if test A${_somian_ksbp_warn_defau+set} == Aset
7277 +      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
7278 + echo "$as_me: Maybe Not good -" >&6;}
7279 +           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
7280 + echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
7281 +      else { echo "$as_me:$LINENO: OK Good result - " >&5
7282 + echo "$as_me: OK Good result - " >&6;}
7283 +           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
7284 + echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
7285 +    fi
7286 +  fi
7287 +
7288   # Extract the first word of "ar", so it can be a program name with args.
7289   set dummy ar; ac_word=$2
7290   echo "$as_me:$LINENO: checking for $ac_word" >&5
# Line 6883 | Line 7353 | _ACEOF
7353        # `set' does not quote correctly, so add quotes (double-quote
7354        # substitution turns \\\\ into \\, and sed turns \\ into \).
7355        sed -n \
7356 <        "s/'/'\\\\''/g;
7357 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7356 >        "s/'/'\\\\''/g;
7357 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7358        ;;
7359      *)
7360        # `set' quotes correctly as required by POSIX, so do not add quotes.
7361        sed -n \
7362 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7362 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7363        ;;
7364      esac;
7365   } |
# Line 6957 | Line 7427 | else
7427    echo $ECHO_N "(cached) $ECHO_C" >&6
7428   else
7429  
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
7430          if $PS ax -o rss > /dev/null 2>&1; then
7431                  ac_cv_prog_ps_ax=yes
7432          else
7433                  ac_cv_prog_ps_ax=no
7434          fi
7435 <        if test "$ac_cv_prog_ps_ef" = yes; then
7436 <                ac_cv_prog_ps_syntax=POSIX
7435 >        if $PS -ef -o rss > /dev/null 2>&1; then
7436 >                ac_cv_prog_ps_ef=yes
7437 >        else
7438 >                ac_cv_prog_ps_ef=no
7439 >        fi
7440 >        if test "$ac_cv_prog_ps_ax" = yes; then
7441 >                ac_cv_prog_ps_syntax=BSD
7442          else
7443 <                if test "$ac_cv_prog_ps_ax" = yes; then
7444 <                        ac_cv_prog_ps_syntax=BSD
7443 >                if test "$ac_cv_prog_ps_ef" = yes; then
7444 >                        ac_cv_prog_ps_syntax=POSIX
7445                  else
7446                          { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7447   echo "$as_me: error: Could not determine ps syntax" >&2;}
# Line 6983 | Line 7453 | cat >>confdefs.h <<_ACEOF
7453   echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7454   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7455  
7456 +
7457   cat >>confdefs.h <<_ACEOF
7458 < #define PS $PS
7458 > #define PSCOMMAND $PS
7459   _ACEOF
7460  
7461  
7462 < cat >>confdefs.h <<_ACEOF
7463 < #define PSTYPE $ac_cv_prog_ps_syntax
7462 > if test "$ac_cv_prog_ps_syntax" = BSD; then
7463 >  cat >>confdefs.h <<\_ACEOF
7464 > #define PSTYPE_IS_BSD 1
7465   _ACEOF
7466  
6995
6996
6997
6998 # Check whether --with-mpi or --without-mpi was given.
6999 if test "${with_mpi+set}" = set; then
7000  withval="$with_mpi"
7001  with_mpi=$withval
7467   else
7468 +   if test "$ac_cv_prog_ps_syntax" = POSIX; then
7469 +       cat >>confdefs.h <<\_ACEOF
7470 + #define PSTYPE_IS_POSIX 1
7471 + _ACEOF
7472 +
7473 +   else
7474 +       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7475 + echo "$as_me: error: Unknown ps syntax type!" >&2;}
7476 +   { (exit 1); exit 1; }; }
7477 +   fi
7478 + fi
7479 +
7480 +
7481 + # Check whether --with-mpi or --without-mpi was given.
7482 + if test "${with_mpi+set}" = set; then
7483 +  withval="$with_mpi"
7484 +  with_mpi=$withval
7485 + else
7486    with_mpi="no"
7487   fi;
7488  
# Line 7092 | Line 7575 | cat >conftest.$ac_ext <<_ACEOF
7575    ac_check_lib_save_LIBS=$LIBS
7576   LIBS="-lmpich  $LIBS"
7577   cat >conftest.$ac_ext <<_ACEOF
7095 #line $LINENO "configure"
7578   /* confdefs.h.  */
7579   _ACEOF
7580   cat confdefs.h >>conftest.$ac_ext
# Line 7116 | Line 7598 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7598   _ACEOF
7599   rm -f conftest.$ac_objext conftest$ac_exeext
7600   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7601 <  (eval $ac_link) 2>&5
7601 >  (eval $ac_link) 2>conftest.er1
7602    ac_status=$?
7603 +  grep -v '^ *+' conftest.er1 >conftest.err
7604 +  rm -f conftest.er1
7605 +  cat conftest.err >&5
7606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607    (exit $ac_status); } &&
7608 <         { ac_try='test -s conftest$ac_exeext'
7608 >         { ac_try='test -z "$ac_c_werror_flag"
7609 >                         || test ! -s conftest.err'
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); }; } &&
7615 +         { ac_try='test -s conftest$ac_exeext'
7616 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 +  (eval $ac_try) 2>&5
7618 +  ac_status=$?
7619 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620    (exit $ac_status); }; }; then
7621    ac_cv_lib_mpich_MPI_Init=yes
7622   else
# Line 7133 | Line 7625 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7625  
7626   ac_cv_lib_mpich_MPI_Init=no
7627   fi
7628 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7628 > rm -f conftest.err conftest.$ac_objext \
7629 >      conftest$ac_exeext conftest.$ac_ext
7630   LIBS=$ac_check_lib_save_LIBS
7631   fi
7632   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7152 | Line 7645 | cat >conftest.$ac_ext <<_ACEOF
7645    ac_check_lib_save_LIBS=$LIBS
7646   LIBS="-lmpi  $LIBS"
7647   cat >conftest.$ac_ext <<_ACEOF
7155 #line $LINENO "configure"
7648   /* confdefs.h.  */
7649   _ACEOF
7650   cat confdefs.h >>conftest.$ac_ext
# Line 7176 | Line 7668 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7668   _ACEOF
7669   rm -f conftest.$ac_objext conftest$ac_exeext
7670   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7671 <  (eval $ac_link) 2>&5
7671 >  (eval $ac_link) 2>conftest.er1
7672    ac_status=$?
7673 +  grep -v '^ *+' conftest.er1 >conftest.err
7674 +  rm -f conftest.er1
7675 +  cat conftest.err >&5
7676    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677    (exit $ac_status); } &&
7678 <         { ac_try='test -s conftest$ac_exeext'
7678 >         { ac_try='test -z "$ac_c_werror_flag"
7679 >                         || test ! -s conftest.err'
7680    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681    (eval $ac_try) 2>&5
7682    ac_status=$?
7683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 +  (exit $ac_status); }; } &&
7685 +         { ac_try='test -s conftest$ac_exeext'
7686 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 +  (eval $ac_try) 2>&5
7688 +  ac_status=$?
7689 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690    (exit $ac_status); }; }; then
7691    ac_cv_lib_mpi_MPI_Init=yes
7692   else
# Line 7193 | Line 7695 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7695  
7696   ac_cv_lib_mpi_MPI_Init=no
7697   fi
7698 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7698 > rm -f conftest.err conftest.$ac_objext \
7699 >      conftest$ac_exeext conftest.$ac_ext
7700   LIBS=$ac_check_lib_save_LIBS
7701   fi
7702   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7213 | Line 7716 | cat >conftest.$ac_ext <<_ACEOF
7716    ac_check_lib_save_LIBS=$LIBS
7717   LIBS="-lmpi "-llam" $LIBS"
7718   cat >conftest.$ac_ext <<_ACEOF
7216 #line $LINENO "configure"
7719   /* confdefs.h.  */
7720   _ACEOF
7721   cat confdefs.h >>conftest.$ac_ext
# Line 7237 | Line 7739 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7739   _ACEOF
7740   rm -f conftest.$ac_objext conftest$ac_exeext
7741   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7742 <  (eval $ac_link) 2>&5
7742 >  (eval $ac_link) 2>conftest.er1
7743    ac_status=$?
7744 +  grep -v '^ *+' conftest.er1 >conftest.err
7745 +  rm -f conftest.er1
7746 +  cat conftest.err >&5
7747    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748    (exit $ac_status); } &&
7749 <         { ac_try='test -s conftest$ac_exeext'
7749 >         { ac_try='test -z "$ac_c_werror_flag"
7750 >                         || test ! -s conftest.err'
7751    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752    (eval $ac_try) 2>&5
7753    ac_status=$?
7754    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 +  (exit $ac_status); }; } &&
7756 +         { ac_try='test -s conftest$ac_exeext'
7757 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 +  (eval $ac_try) 2>&5
7759 +  ac_status=$?
7760 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761    (exit $ac_status); }; }; then
7762    ac_cv_lib_mpi_MPI_Init=yes
7763   else
# Line 7254 | Line 7766 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7766  
7767   ac_cv_lib_mpi_MPI_Init=no
7768   fi
7769 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7769 > rm -f conftest.err conftest.$ac_objext \
7770 >      conftest$ac_exeext conftest.$ac_ext
7771   LIBS=$ac_check_lib_save_LIBS
7772   fi
7773   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7274 | Line 7787 | cat >conftest.$ac_ext <<_ACEOF
7787    ac_check_lib_save_LIBS=$LIBS
7788   LIBS="-lmpich "-lpmpich" $LIBS"
7789   cat >conftest.$ac_ext <<_ACEOF
7277 #line $LINENO "configure"
7790   /* confdefs.h.  */
7791   _ACEOF
7792   cat confdefs.h >>conftest.$ac_ext
# Line 7298 | Line 7810 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7810   _ACEOF
7811   rm -f conftest.$ac_objext conftest$ac_exeext
7812   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7813 <  (eval $ac_link) 2>&5
7813 >  (eval $ac_link) 2>conftest.er1
7814    ac_status=$?
7815 +  grep -v '^ *+' conftest.er1 >conftest.err
7816 +  rm -f conftest.er1
7817 +  cat conftest.err >&5
7818    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819    (exit $ac_status); } &&
7820 <         { ac_try='test -s conftest$ac_exeext'
7820 >         { ac_try='test -z "$ac_c_werror_flag"
7821 >                         || test ! -s conftest.err'
7822 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 >  (eval $ac_try) 2>&5
7824 >  ac_status=$?
7825 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 >  (exit $ac_status); }; } &&
7827 >         { ac_try='test -s conftest$ac_exeext'
7828    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829    (eval $ac_try) 2>&5
7830    ac_status=$?
# Line 7315 | Line 7837 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7837  
7838   ac_cv_lib_mpich_MPI_Init=no
7839   fi
7840 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7840 > rm -f conftest.err conftest.$ac_objext \
7841 >      conftest$ac_exeext conftest.$ac_ext
7842   LIBS=$ac_check_lib_save_LIBS
7843   fi
7844   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7336 | Line 7859 | cat >conftest.$ac_ext <<_ACEOF
7859    ac_check_lib_save_LIBS=$LIBS
7860   LIBS="-lmpi -llam -lpthread $LIBS"
7861   cat >conftest.$ac_ext <<_ACEOF
7339 #line $LINENO "configure"
7862   /* confdefs.h.  */
7863   _ACEOF
7864   cat confdefs.h >>conftest.$ac_ext
# Line 7360 | Line 7882 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882   _ACEOF
7883   rm -f conftest.$ac_objext conftest$ac_exeext
7884   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7885 <  (eval $ac_link) 2>&5
7885 >  (eval $ac_link) 2>conftest.er1
7886    ac_status=$?
7887 +  grep -v '^ *+' conftest.er1 >conftest.err
7888 +  rm -f conftest.er1
7889 +  cat conftest.err >&5
7890    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891    (exit $ac_status); } &&
7892 <         { ac_try='test -s conftest$ac_exeext'
7892 >         { ac_try='test -z "$ac_c_werror_flag"
7893 >                         || test ! -s conftest.err'
7894    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895    (eval $ac_try) 2>&5
7896    ac_status=$?
7897    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 +  (exit $ac_status); }; } &&
7899 +         { ac_try='test -s conftest$ac_exeext'
7900 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7901 +  (eval $ac_try) 2>&5
7902 +  ac_status=$?
7903 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904    (exit $ac_status); }; }; then
7905    ac_cv_lib_mpi_MPI_Init=yes
7906   else
# Line 7377 | Line 7909 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
7909  
7910   ac_cv_lib_mpi_MPI_Init=no
7911   fi
7912 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7912 > rm -f conftest.err conftest.$ac_objext \
7913 >      conftest$ac_exeext conftest.$ac_ext
7914   LIBS=$ac_check_lib_save_LIBS
7915   fi
7916   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7415 | Line 7948 | fi
7948  
7949  
7950  
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;
7951  
7952 < case "x$with_sprng" in
7953 <        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
7952 > USE_CGAL=no
7953 > cgal_makefile=auto
7954  
7955 + # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
7956 + if test "${with_cgal_makefile+set}" = set; then
7957 +  withval="$with_cgal_makefile"
7958 +  cgal_makefile="$withval"
7959 + fi;
7960  
7961 < # Set variables...
7438 < SPRNG_LIB_DIR="$SPRNG/lib"
7439 < SPRNG_INC_DIR="$SPRNG/include"
7961 > if test "x$cgal_makefile" != xno; then
7962  
7963 +  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
7964 +    cgal_makefile="$CGAL_MAKEFILE"
7965 +  fi
7966  
7967 +  echo "cgal_makefile      $cgal_makefile"
7968  
7969 < echo "$as_me:$LINENO: checking for sprng.h" >&5
7444 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
7445 < 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
7969 >  if test -f "$cgal_makefile"; then
7970  
7971 < cat >>confdefs.h <<\_ACEOF
7972 < #define HAVE_SPRNG_H 1
7973 < _ACEOF
7971 >    cat >config.tmp.Makefile <<EOF
7972 > include $cgal_makefile
7973 > default:
7974 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
7975 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
7976 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
7977 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7978 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7979 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
7980 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
7981 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7982 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7983 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
7984 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7985 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7986 > EOF
7987  
7988 < fi
7988 >    make -s -f config.tmp.Makefile
7989 >    . config.tmp.cgalvariables
7990  
7991 < ac_ext=c
7466 < ac_cpp='$CPP $CPPFLAGS'
7467 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7468 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7469 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
7992  
7993 < ac_save_LDFLAGS=$LDFLAGS
7994 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
7993 >    if test "x$CGAL_INCLDIR" = "x"; then
7994 >      CGAL_INCLDIR=""
7995 >    fi
7996  
7997 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
7998 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
7999 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
7997 >    if test "x$CGAL_LIBDIR" = "x"; then
7998 >      CGAL_LIBDIR=""
7999 >    fi
8000 >
8001 >    if test "x$CGAL_RLIBDIR" = "x"; then
8002 >      CGAL_RLIBDIR=""
8003 >    fi
8004 >
8005 >    if test "x$LEDA_INCLDIR" = "x"; then
8006 >      LEDA_INCLDIR=""
8007 >    fi
8008 >
8009 >    if test "x$LEDA_LIBDIR" = "x"; then
8010 >      LEDA_LIBDIR=""
8011 >    fi
8012 >
8013 >    if test "x$LEDA_RLIBDIR" = "x"; then
8014 >      LEDA_RLIBDIR=""
8015 >    fi
8016 >
8017 >    if test "x$GMP_INCLDIR" = "x"; then
8018 >      GMP_INCLDIR=""
8019 >    fi
8020 >
8021 >    if test "x$GMP_LIBDIR" = "x"; then
8022 >      GMP_LIBDIR=""
8023 >    fi
8024 >
8025 >    if test "x$GMP_RLIBDIR" = "x"; then
8026 >      GMP_RLIBDIR=""
8027 >    fi
8028 >
8029 >    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
8030 >    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8031 >    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
8032 >    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8033 >    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8034 >    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
8035 >    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
8036 >    echo "GMP_INCLDIR        $GMP_INCLDIR"
8037 >    echo "GMP_LIBDIR         $GMP_LIBDIR"
8038 >
8039 >    ac_ext=cc
8040 > ac_cpp='$CXXCPP $CPPFLAGS'
8041 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8042 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8043 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8044 >
8045 >    save_CXXFLAGS="$CXXFLAGS"
8046 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8047 >
8048 > ac_ext=cc
8049 > ac_cpp='$CXXCPP $CPPFLAGS'
8050 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8051 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8052 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8053 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8054 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8055 > if test -z "$CXXCPP"; then
8056 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8057    echo $ECHO_N "(cached) $ECHO_C" >&6
8058   else
8059 <  ac_check_lib_save_LIBS=$LIBS
8060 < LIBS="-lsprng  $LIBS"
8061 < cat >conftest.$ac_ext <<_ACEOF
8062 < #line $LINENO "configure"
8059 >      # Double quotes because CXXCPP needs to be expanded
8060 >    for CXXCPP in "$CXX -E" "/lib/cpp"
8061 >    do
8062 >      ac_preproc_ok=false
8063 > for ac_cxx_preproc_warn_flag in '' yes
8064 > do
8065 >  # Use a header file that comes with gcc, so configuring glibc
8066 >  # with a fresh cross-compiler works.
8067 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8068 >  # <limits.h> exists even on freestanding compilers.
8069 >  # On the NeXT, cc -E runs the code through the compiler's parser,
8070 >  # not just through cpp. "Syntax error" is here to catch this case.
8071 >  cat >conftest.$ac_ext <<_ACEOF
8072   /* confdefs.h.  */
8073   _ACEOF
8074   cat confdefs.h >>conftest.$ac_ext
8075   cat >>conftest.$ac_ext <<_ACEOF
8076   /* end confdefs.h.  */
8077 <
8078 < /* Override any gcc2 internal prototype to avoid an error.  */
8079 < #ifdef __cplusplus
8080 < extern "C"
8077 > #ifdef __STDC__
8078 > # include <limits.h>
8079 > #else
8080 > # include <assert.h>
8081   #endif
8082 < /* 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 < }
8082 >                     Syntax error
8083   _ACEOF
8084 < rm -f conftest.$ac_objext conftest$ac_exeext
8085 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 <  (eval $ac_link) 2>&5
8084 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8085 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8086    ac_status=$?
8087 +  grep -v '^ *+' conftest.er1 >conftest.err
8088 +  rm -f conftest.er1
8089 +  cat conftest.err >&5
8090    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 <  (exit $ac_status); } &&
8092 <         { ac_try='test -s conftest$ac_exeext'
8093 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8094 <  (eval $ac_try) 2>&5
8095 <  ac_status=$?
8096 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 <  (exit $ac_status); }; }; then
7516 <  ac_cv_lib_sprng_init_rng=yes
8091 >  (exit $ac_status); } >/dev/null; then
8092 >  if test -s conftest.err; then
8093 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8094 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8095 >  else
8096 >    ac_cpp_err=
8097 >  fi
8098   else
8099 +  ac_cpp_err=yes
8100 + fi
8101 + if test -z "$ac_cpp_err"; then
8102 +  :
8103 + else
8104    echo "$as_me: failed program was:" >&5
8105   sed 's/^/| /' conftest.$ac_ext >&5
8106  
8107 < ac_cv_lib_sprng_init_rng=no
8107 >  # Broken: fails on valid input.
8108 > continue
8109   fi
8110 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8111 < LIBS=$ac_check_lib_save_LIBS
8110 > rm -f conftest.err conftest.$ac_ext
8111 >
8112 >  # OK, works on sane cases.  Now check whether non-existent headers
8113 >  # can be detected and how.
8114 >  cat >conftest.$ac_ext <<_ACEOF
8115 > /* confdefs.h.  */
8116 > _ACEOF
8117 > cat confdefs.h >>conftest.$ac_ext
8118 > cat >>conftest.$ac_ext <<_ACEOF
8119 > /* end confdefs.h.  */
8120 > #include <ac_nonexistent.h>
8121 > _ACEOF
8122 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8123 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8124 >  ac_status=$?
8125 >  grep -v '^ *+' conftest.er1 >conftest.err
8126 >  rm -f conftest.er1
8127 >  cat conftest.err >&5
8128 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 >  (exit $ac_status); } >/dev/null; then
8130 >  if test -s conftest.err; then
8131 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8132 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8133 >  else
8134 >    ac_cpp_err=
8135 >  fi
8136 > else
8137 >  ac_cpp_err=yes
8138   fi
8139 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
8140 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
8141 < if test $ac_cv_lib_sprng_init_rng = yes; then
7529 <  SPRNG_LIB="-lsprng"
8139 > if test -z "$ac_cpp_err"; then
8140 >  # Broken: success on invalid input.
8141 > continue
8142   else
8143 +  echo "$as_me: failed program was:" >&5
8144 + sed 's/^/| /' conftest.$ac_ext >&5
8145  
8146 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
8147 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
8148 <   { (exit 1); exit 1; }; }
8149 <             USE_SPRNG="no"
8146 >  # Passes both tests.
8147 > ac_preproc_ok=:
8148 > break
8149 > fi
8150 > rm -f conftest.err conftest.$ac_ext
8151  
8152 + done
8153 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8154 + rm -f conftest.err conftest.$ac_ext
8155 + if $ac_preproc_ok; then
8156 +  break
8157   fi
8158  
8159 +    done
8160 +    ac_cv_prog_CXXCPP=$CXXCPP
8161  
7540 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; }; }
8162   fi
8163 +  CXXCPP=$ac_cv_prog_CXXCPP
8164 + else
8165 +  ac_cv_prog_CXXCPP=$CXXCPP
8166 + fi
8167 + echo "$as_me:$LINENO: result: $CXXCPP" >&5
8168 + echo "${ECHO_T}$CXXCPP" >&6
8169 + ac_preproc_ok=false
8170 + for ac_cxx_preproc_warn_flag in '' yes
8171 + do
8172 +  # Use a header file that comes with gcc, so configuring glibc
8173 +  # with a fresh cross-compiler works.
8174 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8175 +  # <limits.h> exists even on freestanding compilers.
8176 +  # On the NeXT, cc -E runs the code through the compiler's parser,
8177 +  # not just through cpp. "Syntax error" is here to catch this case.
8178 +  cat >conftest.$ac_ext <<_ACEOF
8179 + /* confdefs.h.  */
8180 + _ACEOF
8181 + cat confdefs.h >>conftest.$ac_ext
8182 + cat >>conftest.$ac_ext <<_ACEOF
8183 + /* end confdefs.h.  */
8184 + #ifdef __STDC__
8185 + # include <limits.h>
8186 + #else
8187 + # include <assert.h>
8188 + #endif
8189 +                     Syntax error
8190 + _ACEOF
8191 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8192 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8193 +  ac_status=$?
8194 +  grep -v '^ *+' conftest.er1 >conftest.err
8195 +  rm -f conftest.er1
8196 +  cat conftest.err >&5
8197 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 +  (exit $ac_status); } >/dev/null; then
8199 +  if test -s conftest.err; then
8200 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
8201 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8202 +  else
8203 +    ac_cpp_err=
8204 +  fi
8205 + else
8206 +  ac_cpp_err=yes
8207 + fi
8208 + if test -z "$ac_cpp_err"; then
8209 +  :
8210 + else
8211 +  echo "$as_me: failed program was:" >&5
8212 + sed 's/^/| /' conftest.$ac_ext >&5
8213  
8214 +  # Broken: fails on valid input.
8215 + continue
8216 + fi
8217 + rm -f conftest.err conftest.$ac_ext
8218  
8219 +  # OK, works on sane cases.  Now check whether non-existent headers
8220 +  # can be detected and how.
8221 +  cat >conftest.$ac_ext <<_ACEOF
8222 + /* confdefs.h.  */
8223 + _ACEOF
8224 + cat confdefs.h >>conftest.$ac_ext
8225 + cat >>conftest.$ac_ext <<_ACEOF
8226 + /* end confdefs.h.  */
8227 + #include <ac_nonexistent.h>
8228 + _ACEOF
8229 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8230 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8231 +  ac_status=$?
8232 +  grep -v '^ *+' conftest.er1 >conftest.err
8233 +  rm -f conftest.er1
8234 +  cat conftest.err >&5
8235 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 +  (exit $ac_status); } >/dev/null; then
8237 +  if test -s conftest.err; then
8238 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
8239 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8240 +  else
8241 +    ac_cpp_err=
8242 +  fi
8243 + else
8244 +  ac_cpp_err=yes
8245   fi
8246 + if test -z "$ac_cpp_err"; then
8247 +  # Broken: success on invalid input.
8248 + continue
8249 + else
8250 +  echo "$as_me: failed program was:" >&5
8251 + sed 's/^/| /' conftest.$ac_ext >&5
8252  
8253 +  # Passes both tests.
8254 + ac_preproc_ok=:
8255 + break
8256 + fi
8257 + rm -f conftest.err conftest.$ac_ext
8258  
8259 <
8260 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
8261 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
8262 <
8263 < # Check whether --with-mkl or --without-mkl was given.
8264 < if test "${with_mkl+set}" = set; then
8265 <  withval="$with_mkl"
8266 <     echo "$as_me:$LINENO: result: yes" >&5
8267 < echo "${ECHO_T}yes" >&6
8268 <    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;}
8259 > done
8260 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8261 > rm -f conftest.err conftest.$ac_ext
8262 > if $ac_preproc_ok; then
8263 >  :
8264 > else
8265 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8266 > See \`config.log' for more details." >&5
8267 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8268 > See \`config.log' for more details." >&2;}
8269     { (exit 1); exit 1; }; }
8270 <    else
7571 <        printf "MKL includes found in $mkldir/include\n";
7572 <    fi
8270 > fi
8271  
8272 + ac_ext=cc
8273 + ac_cpp='$CXXCPP $CPPFLAGS'
8274 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8275 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8276 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8277  
8278  
8279 <  ac_ext=c
8280 < ac_cpp='$CPP $CPPFLAGS'
8281 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8282 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7580 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7581 <
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
8279 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8280 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8281 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8282 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8283    echo $ECHO_N "(cached) $ECHO_C" >&6
8284   fi
8285 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8286 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8285 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8286 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8287   else
8288    # Is the header compilable?
8289 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
8290 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
8289 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8290 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8291   cat >conftest.$ac_ext <<_ACEOF
7599 #line $LINENO "configure"
8292   /* confdefs.h.  */
8293   _ACEOF
8294   cat confdefs.h >>conftest.$ac_ext
8295   cat >>conftest.$ac_ext <<_ACEOF
8296   /* end confdefs.h.  */
8297   $ac_includes_default
8298 < #include <mkl.h>
8298 > #include <CGAL/Cartesian.h>
8299   _ACEOF
8300   rm -f conftest.$ac_objext
8301   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8302 <  (eval $ac_compile) 2>&5
8302 >  (eval $ac_compile) 2>conftest.er1
8303    ac_status=$?
8304 +  grep -v '^ *+' conftest.er1 >conftest.err
8305 +  rm -f conftest.er1
8306 +  cat conftest.err >&5
8307    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308    (exit $ac_status); } &&
8309 <         { ac_try='test -s conftest.$ac_objext'
8309 >         { ac_try='test -z "$ac_cxx_werror_flag"
8310 >                         || test ! -s conftest.err'
8311    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8312    (eval $ac_try) 2>&5
8313    ac_status=$?
8314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 +  (exit $ac_status); }; } &&
8316 +         { ac_try='test -s conftest.$ac_objext'
8317 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8318 +  (eval $ac_try) 2>&5
8319 +  ac_status=$?
8320 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321    (exit $ac_status); }; }; then
8322    ac_header_compiler=yes
8323   else
# Line 7624 | Line 8326 | rm -f conftest.$ac_objext conftest.$ac_ext
8326  
8327   ac_header_compiler=no
8328   fi
8329 < rm -f conftest.$ac_objext conftest.$ac_ext
8329 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8330   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8331   echo "${ECHO_T}$ac_header_compiler" >&6
8332  
8333   # Is the header present?
8334 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8335 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8334 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8335 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8336   cat >conftest.$ac_ext <<_ACEOF
7635 #line $LINENO "configure"
8337   /* confdefs.h.  */
8338   _ACEOF
8339   cat confdefs.h >>conftest.$ac_ext
8340   cat >>conftest.$ac_ext <<_ACEOF
8341   /* end confdefs.h.  */
8342 < #include <mkl.h>
8342 > #include <CGAL/Cartesian.h>
8343   _ACEOF
8344   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8345    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 7649 | Line 8350 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
8350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351    (exit $ac_status); } >/dev/null; then
8352    if test -s conftest.err; then
8353 <    ac_cpp_err=$ac_c_preproc_warn_flag
8353 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8354 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8355    else
8356      ac_cpp_err=
8357    fi
# Line 7669 | Line 8371 | case $ac_header_compiler:$ac_header_preproc in
8371   echo "${ECHO_T}$ac_header_preproc" >&6
8372  
8373   # So?  What about this header?
8374 < case $ac_header_compiler:$ac_header_preproc in
8375 <  yes:no )
8376 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8377 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8378 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8379 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8380 <    (
7679 <      cat <<\_ASBOX
7680 < ## ------------------------------------ ##
7681 < ## Report this to bug-autoconf@gnu.org. ##
7682 < ## ------------------------------------ ##
7683 < _ASBOX
7684 <    ) |
7685 <      sed "s/^/$as_me: WARNING:     /" >&2
8374 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8375 >  yes:no: )
8376 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8377 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8378 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8379 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8380 >    ac_header_preproc=yes
8381      ;;
8382 <  no:yes )
8383 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8384 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8385 <    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
8386 < echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
8387 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8388 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8382 >  no:yes:* )
8383 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8384 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8385 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8386 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8387 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8388 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8389 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8390 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8391 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8392 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8393 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8394 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8395      (
8396        cat <<\_ASBOX
8397 < ## ------------------------------------ ##
8398 < ## Report this to bug-autoconf@gnu.org. ##
8399 < ## ------------------------------------ ##
8397 > ## ------------------------------ ##
8398 > ## Report this to gezelter@nd.edu ##
8399 > ## ------------------------------ ##
8400   _ASBOX
8401      ) |
8402        sed "s/^/$as_me: WARNING:     /" >&2
8403      ;;
8404   esac
8405 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8406 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8407 < if test "${ac_cv_header_mkl_h+set}" = set; then
8405 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8406 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8407 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8408    echo $ECHO_N "(cached) $ECHO_C" >&6
8409   else
8410 <  ac_cv_header_mkl_h=$ac_header_preproc
8410 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8411   fi
8412 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8413 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8412 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8413 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8414  
8415   fi
8416 < if test $ac_cv_header_mkl_h = yes; then
8417 <
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
8416 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8417 >  cgal=yes
8418   else
8419 <  ac_check_lib_save_LIBS=$LIBS
8420 < LIBS="-lmkl  $LIBS"
8419 >  cgal=no
8420 > fi
8421 >
8422 >
8423 >    CXXFLAGS="$save_CXXFLAGS"
8424 >
8425 >    if test "x$cgal" = xyes; then
8426 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
8427 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8428 >      LOCATION=${CGAL_INCLDIR}
8429 >      LOCATION=${LOCATION:-/usr/include}
8430 >      if test -f $LOCATION/CGAL/version.h; then
8431 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8432 >      else
8433 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8434 >      fi
8435 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8436 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8437 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8438 >      else
8439 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8440 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
8441 >        cgal=no
8442 >      fi
8443 >    fi
8444 >
8445 >    if test "x$cgal" = xyes; then
8446 >      CGAL_LIBS="-lCGAL"
8447 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8448 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8449 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8450 >        CGAL_USES_LEDA=yes
8451 >        echo "$as_me:$LINENO: result: yes" >&5
8452 > echo "${ECHO_T}yes" >&6
8453 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8454 >      else
8455 >        echo "$as_me:$LINENO: result: no" >&5
8456 > echo "${ECHO_T}no" >&6
8457 >        CGAL_USES_LEDA=no
8458 >      fi
8459 >
8460 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8461 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8462 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8463 >        CGAL_USES_GMP=yes
8464 >        echo "$as_me:$LINENO: result: yes" >&5
8465 > echo "${ECHO_T}yes" >&6
8466 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8467 >      else
8468 >        echo "$as_me:$LINENO: result: no" >&5
8469 > echo "${ECHO_T}no" >&6
8470 >        CGAL_USES_GMP=no
8471 >      fi
8472 >
8473 >      CGAL_LIBS="$CGAL_LIBS -lm"
8474 >
8475 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
8476 >
8477 >      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
8478 >      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
8479 >      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8480 >      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8481 >      echo "CGAL_DEFINES       $CGAL_DEFINES"
8482 >      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8483 >      echo "CGAL_LIBS          $CGAL_LIBS"
8484 >    fi
8485 >
8486 >    if test "x$cgal" = xyes; then
8487 >      save_LIBS="$LIBS"
8488 >      LIBS="$LIBS -L$CGAL_LIBDIR"
8489 >      if test "x$CGAL_USES_LEDA" = xyes; then
8490 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8491 >      fi
8492 >      # if test "x$CGAL_USES_GMP" = xyes; then
8493 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8494 >      # fi
8495 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8496 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8497 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8498 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8499 > save_LIBS_CHECK_CXX_LIB="$LIBS"
8500 > LIBS="-lCGAL  $LIBS"
8501   cat >conftest.$ac_ext <<_ACEOF
7725 #line $LINENO "configure"
8502   /* confdefs.h.  */
8503   _ACEOF
8504   cat confdefs.h >>conftest.$ac_ext
8505   cat >>conftest.$ac_ext <<_ACEOF
8506   /* end confdefs.h.  */
8507 <
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 ();
8507 > #include <CGAL/Cartesian.h>
8508   int
8509   main ()
8510   {
8511 < vslNewStream ();
8511 > ::CGAL::Cartesian<int>::Point_2 P
8512    ;
8513    return 0;
8514   }
8515   _ACEOF
8516   rm -f conftest.$ac_objext conftest$ac_exeext
8517   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 <  (eval $ac_link) 2>&5
8518 >  (eval $ac_link) 2>conftest.er1
8519    ac_status=$?
8520 +  grep -v '^ *+' conftest.er1 >conftest.err
8521 +  rm -f conftest.er1
8522 +  cat conftest.err >&5
8523    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524    (exit $ac_status); } &&
8525 <         { ac_try='test -s conftest$ac_exeext'
8525 >         { ac_try='test -z "$ac_cxx_werror_flag"
8526 >                         || test ! -s conftest.err'
8527    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528    (eval $ac_try) 2>&5
8529    ac_status=$?
8530    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 +  (exit $ac_status); }; } &&
8532 +         { ac_try='test -s conftest$ac_exeext'
8533 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 +  (eval $ac_try) 2>&5
8535 +  ac_status=$?
8536 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537    (exit $ac_status); }; }; then
8538 <  ac_cv_lib_mkl_vslNewStream=yes
8538 >  echo "$as_me:$LINENO: result: yes" >&5
8539 > echo "${ECHO_T}yes" >&6
8540 > cgal=yes
8541   else
8542    echo "$as_me: failed program was:" >&5
8543   sed 's/^/| /' conftest.$ac_ext >&5
8544  
8545 < ac_cv_lib_mkl_vslNewStream=no
8545 > echo "$as_me:$LINENO: result: no" >&5
8546 > echo "${ECHO_T}no" >&6
8547 > cgal=no
8548   fi
8549 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8550 < LIBS=$ac_check_lib_save_LIBS
8551 < fi
8552 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
8553 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8554 < 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
8549 > rm -f conftest.err conftest.$ac_objext \
8550 >      conftest$ac_exeext conftest.$ac_ext
8551 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8552 > LIBS="$save_LIBS_CHECK_CXX_LIB"
8553 >      LIBS="$save_LIBS"
8554 >    fi
8555  
8556 <
7778 < else
7779 <  MKL_INC="-I${mkldir}/include"
7780 < fi
7781 <
7782 <
7783 <  CPPFLAGS=$ac_save_CPPFLAGS
7784 <  LDFLAGS=$ac_save_LDFLAGS
8556 >  fi
8557    ac_ext=c
8558   ac_cpp='$CPP $CPPFLAGS'
8559   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7789 | Line 8561 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8561   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8562  
8563  
8564 <  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
8564 > fi
8565  
8566 + if test "x$cgal" = xyes; then
8567 +  USE_CGAL=yes
8568  
8569 + cat >>confdefs.h <<\_ACEOF
8570 + #define HAVE_CGAL 1
8571 + _ACEOF
8572  
8573  
8574 + cat >>confdefs.h <<_ACEOF
8575 + #define CGAL_VERSION $CGAL_VERSION
8576 + _ACEOF
8577  
8578 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8579 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8580 + echo "$as_me: WARNING: *****************************************************" >&2;}
8581 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8582 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8583 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8584 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8585 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8586 + echo "$as_me: WARNING: *****************************************************" >&2;}
8587 +  fi
8588   else
8589 +   if test "x$cgal_makefile" != xno; then
8590 +    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8591 + echo "$as_me: WARNING: *********************************************************" >&2;}
8592 +    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8593 + echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8594 +    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8595 + echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8596 +    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8597 + echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8598 +    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8599 + echo "$as_me: WARNING: *********************************************************" >&2;}
8600 +  fi
8601 +  CGAL_INCLDIR=
8602 +  CGAL_LIBDIR=
8603 +  CGAL_RLIBDIR=
8604 +  CGAL_DEFINES=
8605 +  CGAL_CXXFLAGS=
8606 +  CGAL_LIBS=
8607 + fi
8608  
7804    echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
8609  
8610 < fi;
8610 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8611  
8612 + CGAL_LIB_DIR=${CGAL_LIBDIR}
8613  
8614 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
8615  
8616 +
8617 +
8618 +
8619 +
8620 +
8621 +
8622   # Check whether --enable-doxygen or --disable-doxygen was given.
8623   if test "${enable_doxygen+set}" = set; then
8624    enableval="$enable_doxygen"
# Line 8008 | Line 8819 | esac
8819  
8820            ac_config_headers="$ac_config_headers src/config.h"
8821  
8822 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8822 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
8823  
8824  
8825   cat >confcache <<\_ACEOF
# Line 8039 | Line 8850 | _ACEOF
8850        # `set' does not quote correctly, so add quotes (double-quote
8851        # substitution turns \\\\ into \\, and sed turns \\ into \).
8852        sed -n \
8853 <        "s/'/'\\\\''/g;
8854 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8853 >        "s/'/'\\\\''/g;
8854 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8855        ;;
8856      *)
8857        # `set' quotes correctly as required by POSIX, so do not add quotes.
8858        sed -n \
8859 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8859 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8860        ;;
8861      esac;
8862   } |
# Line 8075 | Line 8886 | if test "x$srcdir" = x.; then
8886   # trailing colons and then remove the whole line if VPATH becomes empty
8887   # (actually we leave an empty line to preserve line numbers).
8888   if test "x$srcdir" = x.; then
8889 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8889 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8890   s/:*\$(srcdir):*/:/;
8891   s/:*\${srcdir}:*/:/;
8892   s/:*@srcdir@:*/:/;
8893 < s/^\([^=]*=[    ]*\):*/\1/;
8893 > s/^\([^=]*=[     ]*\):*/\1/;
8894   s/:*$//;
8895 < s/^[^=]*=[      ]*$//;
8895 > s/^[^=]*=[       ]*$//;
8896   }'
8897   fi
8898  
# Line 8092 | Line 8903 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
8903   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8904    # 1. Remove the extension, and $U if already installed.
8905    ac_i=`echo "$ac_i" |
8906 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8906 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8907    # 2. Add them.
8908    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8909    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 8136 | Line 8947 | fi
8947   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8948    set -o posix
8949   fi
8950 + DUALCASE=1; export DUALCASE # for MKS sh
8951  
8952   # Support unset when possible.
8953 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8953 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8954    as_unset=unset
8955   else
8956    as_unset=false
# Line 8157 | Line 8969 | do
8969    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8970    LC_TELEPHONE LC_TIME
8971   do
8972 <  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8972 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8973      eval $as_var=C; export $as_var
8974    else
8975      $as_unset $as_var
# Line 8336 | Line 9148 | else
9148   if mkdir -p . 2>/dev/null; then
9149    as_mkdir_p=:
9150   else
9151 +  test -d ./-p && rmdir ./-p
9152    as_mkdir_p=false
9153   fi
9154  
9155   as_executable_p="test -f"
9156  
9157   # Sed expression to map a string onto a valid CPP name.
9158 < as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9158 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9159  
9160   # Sed expression to map a string onto a valid variable name.
9161 < as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9161 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9162  
9163  
9164   # IFS
# Line 8372 | Line 9185 | generated by GNU Autoconf 2.57.  Invocation command li
9185   cat >&5 <<_CSEOF
9186  
9187   This file was extended by OOPSE $as_me 2.0, which was
9188 < generated by GNU Autoconf 2.57.  Invocation command line was
9188 > generated by GNU Autoconf 2.59.  Invocation command line was
9189  
9190    CONFIG_FILES    = $CONFIG_FILES
9191    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 8416 | Line 9229 | Usage: $0 [OPTIONS] [FILE]...
9229    -d, --debug      don't remove temporary files
9230        --recheck    update $as_me by reconfiguring in the same conditions
9231    --file=FILE[:TEMPLATE]
9232 <                   instantiate the configuration file FILE
9232 >                   instantiate the configuration file FILE
9233    --header=FILE[:TEMPLATE]
9234 <                   instantiate the configuration header FILE
9234 >                   instantiate the configuration header FILE
9235  
9236   Configuration files:
9237   $config_files
# Line 8435 | Line 9248 | configured by $0, generated by GNU Autoconf 2.57,
9248   cat >>$CONFIG_STATUS <<_ACEOF
9249   ac_cs_version="\\
9250   OOPSE config.status 2.0
9251 < configured by $0, generated by GNU Autoconf 2.57,
9251 > configured by $0, generated by GNU Autoconf 2.59,
9252    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9253  
9254 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8442 < Free Software Foundation, Inc.
9254 > Copyright (C) 2003 Free Software Foundation, Inc.
9255   This config.status script is free software; the Free Software Foundation
9256   gives unlimited permission to copy, distribute and modify it."
9257   srcdir=$srcdir
# Line 8540 | Line 9352 | do
9352    # Handling of arguments.
9353    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9354    "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9355 +  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9356 +  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
9357    "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9358    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9359    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
# Line 8676 | Line 9490 | s,@AR@,$AR,;t t
9490   s,@LEX@,$LEX,;t t
9491   s,@LEXLIB@,$LEXLIB,;t t
9492   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9493 + s,@PERLINTERP@,$PERLINTERP,;t t
9494 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
9495   s,@AR@,$AR,;t t
9496   s,@PS@,$PS,;t t
9497   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 8684 | Line 9500 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9500   s,@MPI_LIB@,$MPI_LIB,;t t
9501   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9502   s,@USE_MPI@,$USE_MPI,;t t
9503 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9504 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9505 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9506 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9507 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9508 < s,@MKL_LIB@,$MKL_LIB,;t t
9509 < s,@MKL_INC@,$MKL_INC,;t t
9510 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9503 > s,@CXXCPP@,$CXXCPP,;t t
9504 > s,@USE_CGAL@,$USE_CGAL,;t t
9505 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9506 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9507 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9508 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9509 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9510 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9511   s,@DOXYGEN@,$DOXYGEN,;t t
9512   s,@DOT@,$DOT,;t t
9513   s,@DOC@,$DOC,;t t
# Line 8734 | Line 9550 | _ACEOF
9550        (echo ':t
9551    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9552        if test -z "$ac_sed_cmds"; then
9553 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9553 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9554        else
9555 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9555 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9556        fi
9557        ac_sed_frag=`expr $ac_sed_frag + 1`
9558        ac_beg=$ac_end
# Line 8754 | Line 9570 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
9570    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9571    case $ac_file in
9572    - | *:- | *:-:* ) # input from stdin
9573 <        cat >$tmp/stdin
9574 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9575 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9573 >        cat >$tmp/stdin
9574 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9575 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9576    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9577 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9577 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9578    * )   ac_file_in=$ac_file.in ;;
9579    esac
9580  
9581    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9582    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9583   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9584 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9585 <         X"$ac_file" : 'X\(//\)$' \| \
9586 <         X"$ac_file" : 'X\(/\)' \| \
9587 <         .     : '\(.\)' 2>/dev/null ||
9584 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9585 >         X"$ac_file" : 'X\(//\)$' \| \
9586 >         X"$ac_file" : 'X\(/\)' \| \
9587 >         .     : '\(.\)' 2>/dev/null ||
9588   echo X"$ac_file" |
9589      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9590            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8784 | Line 9600 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9600        as_dirs="$as_dir $as_dirs"
9601        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9602   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9603 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9604 <         X"$as_dir" : 'X\(//\)$' \| \
9605 <         X"$as_dir" : 'X\(/\)' \| \
9606 <         .     : '\(.\)' 2>/dev/null ||
9603 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9604 >         X"$as_dir" : 'X\(//\)$' \| \
9605 >         X"$as_dir" : 'X\(/\)' \| \
9606 >         .     : '\(.\)' 2>/dev/null ||
9607   echo X"$as_dir" |
9608      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9609            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8825 | Line 9641 | esac
9641      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9642      ac_top_srcdir=$ac_top_builddir$srcdir ;;
9643   esac
9644 < # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9645 < # absolute.
9646 < ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9647 < ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
9648 < ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9649 < ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9644 >
9645 > # Do not use `cd foo && pwd` to compute absolute paths, because
9646 > # the directories may not exist.
9647 > case `pwd` in
9648 > .) ac_abs_builddir="$ac_dir";;
9649 > *)
9650 >  case "$ac_dir" in
9651 >  .) ac_abs_builddir=`pwd`;;
9652 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9653 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9654 >  esac;;
9655 > esac
9656 > case $ac_abs_builddir in
9657 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
9658 > *)
9659 >  case ${ac_top_builddir}. in
9660 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
9661 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9662 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9663 >  esac;;
9664 > esac
9665 > case $ac_abs_builddir in
9666 > .) ac_abs_srcdir=$ac_srcdir;;
9667 > *)
9668 >  case $ac_srcdir in
9669 >  .) ac_abs_srcdir=$ac_abs_builddir;;
9670 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9671 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9672 >  esac;;
9673 > esac
9674 > case $ac_abs_builddir in
9675 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
9676 > *)
9677 >  case $ac_top_srcdir in
9678 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9679 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9680 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9681 >  esac;;
9682 > esac
9683  
9684  
9685    case $INSTALL in
# Line 8852 | Line 9701 | echo "$as_me: creating $ac_file" >&6;}
9701      configure_input="$ac_file.  "
9702    fi
9703    configure_input=$configure_input"Generated from `echo $ac_file_in |
9704 <                                     sed 's,.*/,,'` by configure."
9704 >                                     sed 's,.*/,,'` by configure."
9705  
9706    # First look for the input files in the build tree, otherwise in the
9707    # src tree.
# Line 8861 | Line 9710 | echo "$as_me: creating $ac_file" >&6;}
9710        case $f in
9711        -) echo $tmp/stdin ;;
9712        [\\/$]*)
9713 <         # Absolute (can't be DOS-style, as IFS=:)
9714 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9713 >         # Absolute (can't be DOS-style, as IFS=:)
9714 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9715   echo "$as_me: error: cannot find input file: $f" >&2;}
9716     { (exit 1); exit 1; }; }
9717 <         echo $f;;
9717 >         echo "$f";;
9718        *) # Relative
9719 <         if test -f "$f"; then
9720 <           # Build tree
9721 <           echo $f
9722 <         elif test -f "$srcdir/$f"; then
9723 <           # Source tree
9724 <           echo $srcdir/$f
9725 <         else
9726 <           # /dev/null tree
9727 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9719 >         if test -f "$f"; then
9720 >           # Build tree
9721 >           echo "$f"
9722 >         elif test -f "$srcdir/$f"; then
9723 >           # Source tree
9724 >           echo "$srcdir/$f"
9725 >         else
9726 >           # /dev/null tree
9727 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9728   echo "$as_me: error: cannot find input file: $f" >&2;}
9729     { (exit 1); exit 1; }; }
9730 <         fi;;
9730 >         fi;;
9731        esac
9732      done` || { (exit 1); exit 1; }
9733   _ACEOF
# Line 8908 | Line 9757 | done
9757      rm -f $tmp/out
9758    fi
9759  
9760 +  # Run the commands associated with the file.
9761 +  case $ac_file in
9762 +    make/Makefile ) chmod 0755 scripts/* ;;
9763 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
9764 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
9765 +    scripts/filepp ) chmod 0755 scripts/* ;;
9766 +  esac
9767   done
9768   _ACEOF
9769   cat >>$CONFIG_STATUS <<\_ACEOF
# Line 8920 | Line 9776 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
9776   # NAME is the cpp macro being defined and VALUE is the value it is being given.
9777   #
9778   # ac_d sets the value in "#define NAME VALUE" lines.
9779 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
9780 < ac_dB='[        ].*$,\1#\2'
9779 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9780 > ac_dB='[         ].*$,\1#\2'
9781   ac_dC=' '
9782   ac_dD=',;t'
9783   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9784 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9784 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9785   ac_uB='$,\1#\2define\3'
9786   ac_uC=' '
9787   ac_uD=',;t'
# Line 8934 | Line 9790 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
9790    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9791    case $ac_file in
9792    - | *:- | *:-:* ) # input from stdin
9793 <        cat >$tmp/stdin
9794 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9795 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9793 >        cat >$tmp/stdin
9794 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9795 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9796    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9797 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9797 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9798    * )   ac_file_in=$ac_file.in ;;
9799    esac
9800  
# Line 8952 | Line 9808 | echo "$as_me: creating $ac_file" >&6;}
9808        case $f in
9809        -) echo $tmp/stdin ;;
9810        [\\/$]*)
9811 <         # Absolute (can't be DOS-style, as IFS=:)
9812 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9811 >         # Absolute (can't be DOS-style, as IFS=:)
9812 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9813   echo "$as_me: error: cannot find input file: $f" >&2;}
9814     { (exit 1); exit 1; }; }
9815 <         echo $f;;
9815 >         # Do quote $f, to prevent DOS paths from being IFS'd.
9816 >         echo "$f";;
9817        *) # Relative
9818 <         if test -f "$f"; then
9819 <           # Build tree
9820 <           echo $f
9821 <         elif test -f "$srcdir/$f"; then
9822 <           # Source tree
9823 <           echo $srcdir/$f
9824 <         else
9825 <           # /dev/null tree
9826 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9818 >         if test -f "$f"; then
9819 >           # Build tree
9820 >           echo "$f"
9821 >         elif test -f "$srcdir/$f"; then
9822 >           # Source tree
9823 >           echo "$srcdir/$f"
9824 >         else
9825 >           # /dev/null tree
9826 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9827   echo "$as_me: error: cannot find input file: $f" >&2;}
9828     { (exit 1); exit 1; }; }
9829 <         fi;;
9829 >         fi;;
9830        esac
9831      done` || { (exit 1); exit 1; }
9832    # Remove the trailing spaces.
9833 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9833 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9834  
9835   _ACEOF
9836  
# Line 8996 | Line 9853 | s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*
9853   s,[\\$`],\\&,g
9854   t clear
9855   : clear
9856 < s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9856 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9857   t end
9858 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9858 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9859   : end
9860   _ACEOF
9861   # If some macros were called several times there might be several times
# Line 9012 | Line 9869 | s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/*
9869   # example, in the case of _POSIX_SOURCE, which is predefined and required
9870   # on some systems where configure will not decide to define it.
9871   cat >>conftest.undefs <<\_ACEOF
9872 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9872 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9873   _ACEOF
9874  
9875   # Break up conftest.defines because some shells have a limit on the size
9876   # of here documents, and old seds have small limits too (100 cmds).
9877   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9878 < echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9878 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9879   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9880   echo '  :' >>$CONFIG_STATUS
9881   rm -f conftest.tail
# Line 9027 | Line 9884 | do
9884    # Write a limited-size here document to $tmp/defines.sed.
9885    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9886    # Speed up: don't consider the non `#define' lines.
9887 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9887 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9888    # Work around the forget-to-reset-the-flag bug.
9889    echo 't clr' >>$CONFIG_STATUS
9890    echo ': clr' >>$CONFIG_STATUS
# Line 9054 | Line 9911 | do
9911    # Write a limited-size here document to $tmp/undefs.sed.
9912    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9913    # Speed up: don't consider the non `#undef'
9914 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9914 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9915    # Work around the forget-to-reset-the-flag bug.
9916    echo 't clr' >>$CONFIG_STATUS
9917    echo ': clr' >>$CONFIG_STATUS
# Line 9088 | Line 9945 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9945      else
9946        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9947   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9948 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9949 <         X"$ac_file" : 'X\(//\)$' \| \
9950 <         X"$ac_file" : 'X\(/\)' \| \
9951 <         .     : '\(.\)' 2>/dev/null ||
9948 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9949 >         X"$ac_file" : 'X\(//\)$' \| \
9950 >         X"$ac_file" : 'X\(/\)' \| \
9951 >         .     : '\(.\)' 2>/dev/null ||
9952   echo X"$ac_file" |
9953      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9954            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9107 | Line 9964 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9964        as_dirs="$as_dir $as_dirs"
9965        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9966   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9967 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9968 <         X"$as_dir" : 'X\(//\)$' \| \
9969 <         X"$as_dir" : 'X\(/\)' \| \
9970 <         .     : '\(.\)' 2>/dev/null ||
9967 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9968 >         X"$as_dir" : 'X\(//\)$' \| \
9969 >         X"$as_dir" : 'X\(/\)' \| \
9970 >         .     : '\(.\)' 2>/dev/null ||
9971   echo X"$as_dir" |
9972      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9973            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9155 | Line 10012 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
10012    # Make relative symlinks.
10013    ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
10014   $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10015 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
10016 <         X"$ac_dest" : 'X\(//\)$' \| \
10017 <         X"$ac_dest" : 'X\(/\)' \| \
10018 <         .     : '\(.\)' 2>/dev/null ||
10015 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
10016 >         X"$ac_dest" : 'X\(//\)$' \| \
10017 >         X"$ac_dest" : 'X\(/\)' \| \
10018 >         .     : '\(.\)' 2>/dev/null ||
10019   echo X"$ac_dest" |
10020      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10021            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9174 | Line 10031 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
10031        as_dirs="$as_dir $as_dirs"
10032        as_dir=`(dirname "$as_dir") 2>/dev/null ||
10033   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10034 <         X"$as_dir" : 'X\(//\)[^/]' \| \
10035 <         X"$as_dir" : 'X\(//\)$' \| \
10036 <         X"$as_dir" : 'X\(/\)' \| \
10037 <         .     : '\(.\)' 2>/dev/null ||
10034 >         X"$as_dir" : 'X\(//\)[^/]' \| \
10035 >         X"$as_dir" : 'X\(//\)$' \| \
10036 >         X"$as_dir" : 'X\(/\)' \| \
10037 >         .     : '\(.\)' 2>/dev/null ||
10038   echo X"$as_dir" |
10039      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10040            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9215 | Line 10072 | esac
10072      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10073      ac_top_srcdir=$ac_top_builddir$srcdir ;;
10074   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`
10075  
10076 + # Do not use `cd foo && pwd` to compute absolute paths, because
10077 + # the directories may not exist.
10078 + case `pwd` in
10079 + .) ac_abs_builddir="$ac_dest_dir";;
10080 + *)
10081 +  case "$ac_dest_dir" in
10082 +  .) ac_abs_builddir=`pwd`;;
10083 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
10084 +  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
10085 +  esac;;
10086 + esac
10087 + case $ac_abs_builddir in
10088 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
10089 + *)
10090 +  case ${ac_top_builddir}. in
10091 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
10092 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10093 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10094 +  esac;;
10095 + esac
10096 + case $ac_abs_builddir in
10097 + .) ac_abs_srcdir=$ac_srcdir;;
10098 + *)
10099 +  case $ac_srcdir in
10100 +  .) ac_abs_srcdir=$ac_abs_builddir;;
10101 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10102 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10103 +  esac;;
10104 + esac
10105 + case $ac_abs_builddir in
10106 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
10107 + *)
10108 +  case $ac_top_srcdir in
10109 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
10110 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10111 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10112 +  esac;;
10113 + esac
10114  
10115 +
10116    case $srcdir in
10117    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
10118        *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines