ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 340 by gezelter, Tue Feb 15 05:05:33 2005 UTC vs.
Revision 566 by gezelter, Wed Jul 20 17:04:42 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_includes_default="\
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 | OOPSE configure 2.0
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 | It was created by OOPSE $as_me 2.0, which was
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 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
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 | fi
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 | fi
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 | static char *f (char * (*g) (char **, int), char **p,
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | fi
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 | echo "${ECHO_T}$ac_header_preproc" >&6
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 | fi
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 | fi
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 | fi
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 | echo "${ECHO_T}$ac_header_preproc" >&6
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 | fi
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 | fi
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 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MA
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 | fi
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 | fi
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 | fi
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 | echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
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 7023 | Line 7506 | have_mpi_h=0
7506   echo "$as_me:$LINENO: checking for mpi.h" >&5
7507   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7508   have_mpi_h=0
7509 + rm -f conftest*
7510   echo '#include <mpi.h>' > conftest.cc
7511 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7511 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
7512          echo "$as_me:$LINENO: result: yes" >&5
7513   echo "${ECHO_T}yes" >&6
7514          have_mpi_h=1
7515   else
7516 +        if test -s conftest.out ; then
7517 +                cat conftest.out >> config.log
7518 +        fi
7519          echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7520   echo "${ECHO_T}no! Check MPI include paths" >&6
7521          USE_MPI="no"
# Line 7092 | Line 7579 | cat >conftest.$ac_ext <<_ACEOF
7579    ac_check_lib_save_LIBS=$LIBS
7580   LIBS="-lmpich  $LIBS"
7581   cat >conftest.$ac_ext <<_ACEOF
7095 #line $LINENO "configure"
7582   /* confdefs.h.  */
7583   _ACEOF
7584   cat confdefs.h >>conftest.$ac_ext
# Line 7116 | Line 7602 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7602   _ACEOF
7603   rm -f conftest.$ac_objext conftest$ac_exeext
7604   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 <  (eval $ac_link) 2>&5
7605 >  (eval $ac_link) 2>conftest.er1
7606    ac_status=$?
7607 +  grep -v '^ *+' conftest.er1 >conftest.err
7608 +  rm -f conftest.er1
7609 +  cat conftest.err >&5
7610    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611    (exit $ac_status); } &&
7612 <         { ac_try='test -s conftest$ac_exeext'
7612 >         { ac_try='test -z "$ac_c_werror_flag"
7613 >                         || test ! -s conftest.err'
7614    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615    (eval $ac_try) 2>&5
7616    ac_status=$?
7617    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 +  (exit $ac_status); }; } &&
7619 +         { ac_try='test -s conftest$ac_exeext'
7620 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621 +  (eval $ac_try) 2>&5
7622 +  ac_status=$?
7623 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624    (exit $ac_status); }; }; then
7625    ac_cv_lib_mpich_MPI_Init=yes
7626   else
# Line 7133 | Line 7629 | fi
7629  
7630   ac_cv_lib_mpich_MPI_Init=no
7631   fi
7632 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7632 > rm -f conftest.err conftest.$ac_objext \
7633 >      conftest$ac_exeext conftest.$ac_ext
7634   LIBS=$ac_check_lib_save_LIBS
7635   fi
7636   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7152 | Line 7649 | cat >conftest.$ac_ext <<_ACEOF
7649    ac_check_lib_save_LIBS=$LIBS
7650   LIBS="-lmpi  $LIBS"
7651   cat >conftest.$ac_ext <<_ACEOF
7155 #line $LINENO "configure"
7652   /* confdefs.h.  */
7653   _ACEOF
7654   cat confdefs.h >>conftest.$ac_ext
# Line 7176 | Line 7672 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7672   _ACEOF
7673   rm -f conftest.$ac_objext conftest$ac_exeext
7674   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7675 <  (eval $ac_link) 2>&5
7675 >  (eval $ac_link) 2>conftest.er1
7676    ac_status=$?
7677 +  grep -v '^ *+' conftest.er1 >conftest.err
7678 +  rm -f conftest.er1
7679 +  cat conftest.err >&5
7680    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681    (exit $ac_status); } &&
7682 <         { ac_try='test -s conftest$ac_exeext'
7682 >         { ac_try='test -z "$ac_c_werror_flag"
7683 >                         || test ! -s conftest.err'
7684    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685    (eval $ac_try) 2>&5
7686    ac_status=$?
7687    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 +  (exit $ac_status); }; } &&
7689 +         { ac_try='test -s conftest$ac_exeext'
7690 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 +  (eval $ac_try) 2>&5
7692 +  ac_status=$?
7693 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694    (exit $ac_status); }; }; then
7695    ac_cv_lib_mpi_MPI_Init=yes
7696   else
# Line 7193 | Line 7699 | fi
7699  
7700   ac_cv_lib_mpi_MPI_Init=no
7701   fi
7702 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7702 > rm -f conftest.err conftest.$ac_objext \
7703 >      conftest$ac_exeext conftest.$ac_ext
7704   LIBS=$ac_check_lib_save_LIBS
7705   fi
7706   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7213 | Line 7720 | cat >conftest.$ac_ext <<_ACEOF
7720    ac_check_lib_save_LIBS=$LIBS
7721   LIBS="-lmpi "-llam" $LIBS"
7722   cat >conftest.$ac_ext <<_ACEOF
7216 #line $LINENO "configure"
7723   /* confdefs.h.  */
7724   _ACEOF
7725   cat confdefs.h >>conftest.$ac_ext
# Line 7237 | Line 7743 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743   _ACEOF
7744   rm -f conftest.$ac_objext conftest$ac_exeext
7745   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7746 <  (eval $ac_link) 2>&5
7746 >  (eval $ac_link) 2>conftest.er1
7747    ac_status=$?
7748 +  grep -v '^ *+' conftest.er1 >conftest.err
7749 +  rm -f conftest.er1
7750 +  cat conftest.err >&5
7751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752    (exit $ac_status); } &&
7753 <         { ac_try='test -s conftest$ac_exeext'
7753 >         { ac_try='test -z "$ac_c_werror_flag"
7754 >                         || test ! -s conftest.err'
7755    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756    (eval $ac_try) 2>&5
7757    ac_status=$?
7758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 +  (exit $ac_status); }; } &&
7760 +         { ac_try='test -s conftest$ac_exeext'
7761 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 +  (eval $ac_try) 2>&5
7763 +  ac_status=$?
7764 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765    (exit $ac_status); }; }; then
7766    ac_cv_lib_mpi_MPI_Init=yes
7767   else
# Line 7254 | Line 7770 | fi
7770  
7771   ac_cv_lib_mpi_MPI_Init=no
7772   fi
7773 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7773 > rm -f conftest.err conftest.$ac_objext \
7774 >      conftest$ac_exeext conftest.$ac_ext
7775   LIBS=$ac_check_lib_save_LIBS
7776   fi
7777   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7274 | Line 7791 | cat >conftest.$ac_ext <<_ACEOF
7791    ac_check_lib_save_LIBS=$LIBS
7792   LIBS="-lmpich "-lpmpich" $LIBS"
7793   cat >conftest.$ac_ext <<_ACEOF
7277 #line $LINENO "configure"
7794   /* confdefs.h.  */
7795   _ACEOF
7796   cat confdefs.h >>conftest.$ac_ext
# Line 7298 | Line 7814 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7814   _ACEOF
7815   rm -f conftest.$ac_objext conftest$ac_exeext
7816   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7817 <  (eval $ac_link) 2>&5
7817 >  (eval $ac_link) 2>conftest.er1
7818    ac_status=$?
7819 +  grep -v '^ *+' conftest.er1 >conftest.err
7820 +  rm -f conftest.er1
7821 +  cat conftest.err >&5
7822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823    (exit $ac_status); } &&
7824 <         { ac_try='test -s conftest$ac_exeext'
7824 >         { ac_try='test -z "$ac_c_werror_flag"
7825 >                         || test ! -s conftest.err'
7826    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827    (eval $ac_try) 2>&5
7828    ac_status=$?
7829    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 +  (exit $ac_status); }; } &&
7831 +         { ac_try='test -s conftest$ac_exeext'
7832 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 +  (eval $ac_try) 2>&5
7834 +  ac_status=$?
7835 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836    (exit $ac_status); }; }; then
7837    ac_cv_lib_mpich_MPI_Init=yes
7838   else
# Line 7315 | Line 7841 | fi
7841  
7842   ac_cv_lib_mpich_MPI_Init=no
7843   fi
7844 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7844 > rm -f conftest.err conftest.$ac_objext \
7845 >      conftest$ac_exeext conftest.$ac_ext
7846   LIBS=$ac_check_lib_save_LIBS
7847   fi
7848   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 7336 | Line 7863 | cat >conftest.$ac_ext <<_ACEOF
7863    ac_check_lib_save_LIBS=$LIBS
7864   LIBS="-lmpi -llam -lpthread $LIBS"
7865   cat >conftest.$ac_ext <<_ACEOF
7339 #line $LINENO "configure"
7866   /* confdefs.h.  */
7867   _ACEOF
7868   cat confdefs.h >>conftest.$ac_ext
# Line 7360 | Line 7886 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7886   _ACEOF
7887   rm -f conftest.$ac_objext conftest$ac_exeext
7888   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7889 <  (eval $ac_link) 2>&5
7889 >  (eval $ac_link) 2>conftest.er1
7890    ac_status=$?
7891 +  grep -v '^ *+' conftest.er1 >conftest.err
7892 +  rm -f conftest.er1
7893 +  cat conftest.err >&5
7894    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895    (exit $ac_status); } &&
7896 <         { ac_try='test -s conftest$ac_exeext'
7896 >         { ac_try='test -z "$ac_c_werror_flag"
7897 >                         || test ! -s conftest.err'
7898    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899    (eval $ac_try) 2>&5
7900    ac_status=$?
7901    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 +  (exit $ac_status); }; } &&
7903 +         { ac_try='test -s conftest$ac_exeext'
7904 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 +  (eval $ac_try) 2>&5
7906 +  ac_status=$?
7907 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908    (exit $ac_status); }; }; then
7909    ac_cv_lib_mpi_MPI_Init=yes
7910   else
# Line 7377 | Line 7913 | fi
7913  
7914   ac_cv_lib_mpi_MPI_Init=no
7915   fi
7916 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7916 > rm -f conftest.err conftest.$ac_objext \
7917 >      conftest$ac_exeext conftest.$ac_ext
7918   LIBS=$ac_check_lib_save_LIBS
7919   fi
7920   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7415 | Line 7952 | fi
7952  
7953  
7954  
7955 < # Check whether --with-sprng or --without-sprng was given.
7956 < if test "${with_sprng+set}" = set; then
7957 <  withval="$with_sprng"
7958 <  with_sprng=$withval
7959 < else
7960 <  with_sprng="/usr/local"
7955 >
7956 > USE_CGAL=no
7957 > cgal_makefile=auto
7958 >
7959 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
7960 > if test "${with_cgal_makefile+set}" = set; then
7961 >  withval="$with_cgal_makefile"
7962 >  cgal_makefile="$withval"
7963   fi;
7964  
7965 < case "x$with_sprng" in
7427 <        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
7965 > if test "x$cgal_makefile" != xno; then
7966  
7967 +  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
7968 +    cgal_makefile="$CGAL_MAKEFILE"
7969 +  fi
7970  
7971 < # Set variables...
7972 < SPRNG_LIB_DIR="$SPRNG/lib"
7439 < SPRNG_INC_DIR="$SPRNG/include"
7971 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
7972 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
7973  
7974 +  if test -f "$cgal_makefile"; then
7975  
7976 +    cat >config.tmp.Makefile <<EOF
7977 + include $cgal_makefile
7978 + default:
7979 +        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
7980 +        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
7981 +        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
7982 +        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7983 +        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7984 +        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
7985 +        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
7986 +        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7987 +        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7988 +        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
7989 +        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7990 +        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7991 + EOF
7992  
7993 < echo "$as_me:$LINENO: checking for sprng.h" >&5
7994 < 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
7993 >    make -s -f config.tmp.Makefile
7994 >    . config.tmp.cgalvariables
7995  
7996 < cat >>confdefs.h <<\_ACEOF
7460 < #define HAVE_SPRNG_H 1
7461 < _ACEOF
7996 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
7997  
7998 < fi
7998 >    if test "x$CGAL_INCLDIR" = "x"; then
7999 >      CGAL_INCLDIR=""
8000 >    fi
8001  
8002 < ac_ext=c
8003 < ac_cpp='$CPP $CPPFLAGS'
8004 < 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
8002 >    if test "x$CGAL_LIBDIR" = "x"; then
8003 >      CGAL_LIBDIR=""
8004 >    fi
8005  
8006 < ac_save_LDFLAGS=$LDFLAGS
8007 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
8006 >    if test "x$CGAL_RLIBDIR" = "x"; then
8007 >      CGAL_RLIBDIR=""
8008 >    fi
8009  
8010 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
8011 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
8012 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
8010 >    if test "x$LEDA_INCLDIR" = "x"; then
8011 >      LEDA_INCLDIR=""
8012 >    fi
8013 >
8014 >    if test "x$LEDA_LIBDIR" = "x"; then
8015 >      LEDA_LIBDIR=""
8016 >    fi
8017 >
8018 >    if test "x$LEDA_RLIBDIR" = "x"; then
8019 >      LEDA_RLIBDIR=""
8020 >    fi
8021 >
8022 >    if test "x$GMP_INCLDIR" = "x"; then
8023 >      GMP_INCLDIR=""
8024 >    fi
8025 >
8026 >    if test "x$GMP_LIBDIR" = "x"; then
8027 >      GMP_LIBDIR=""
8028 >    fi
8029 >
8030 >    if test "x$GMP_RLIBDIR" = "x"; then
8031 >      GMP_RLIBDIR=""
8032 >    fi
8033 >
8034 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
8035 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
8036 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
8037 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
8038 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
8039 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
8040 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
8041 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
8042 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
8043 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
8044 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
8045 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
8046 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
8047 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
8048 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
8049 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
8050 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
8051 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
8052 >
8053 >    ac_ext=cc
8054 > ac_cpp='$CXXCPP $CPPFLAGS'
8055 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8056 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8057 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8058 >
8059 >    save_CXXFLAGS="$CXXFLAGS"
8060 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8061 >
8062 > ac_ext=cc
8063 > ac_cpp='$CXXCPP $CPPFLAGS'
8064 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8065 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8066 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8067 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8068 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8069 > if test -z "$CXXCPP"; then
8070 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8071    echo $ECHO_N "(cached) $ECHO_C" >&6
8072   else
8073 <  ac_check_lib_save_LIBS=$LIBS
8074 < LIBS="-lsprng  $LIBS"
8075 < cat >conftest.$ac_ext <<_ACEOF
8076 < #line $LINENO "configure"
8073 >      # Double quotes because CXXCPP needs to be expanded
8074 >    for CXXCPP in "$CXX -E" "/lib/cpp"
8075 >    do
8076 >      ac_preproc_ok=false
8077 > for ac_cxx_preproc_warn_flag in '' yes
8078 > do
8079 >  # Use a header file that comes with gcc, so configuring glibc
8080 >  # with a fresh cross-compiler works.
8081 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8082 >  # <limits.h> exists even on freestanding compilers.
8083 >  # On the NeXT, cc -E runs the code through the compiler's parser,
8084 >  # not just through cpp. "Syntax error" is here to catch this case.
8085 >  cat >conftest.$ac_ext <<_ACEOF
8086   /* confdefs.h.  */
8087   _ACEOF
8088   cat confdefs.h >>conftest.$ac_ext
8089   cat >>conftest.$ac_ext <<_ACEOF
8090   /* end confdefs.h.  */
8091 <
8092 < /* Override any gcc2 internal prototype to avoid an error.  */
8093 < #ifdef __cplusplus
8094 < extern "C"
8091 > #ifdef __STDC__
8092 > # include <limits.h>
8093 > #else
8094 > # include <assert.h>
8095   #endif
8096 < /* 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 < }
8096 >                     Syntax error
8097   _ACEOF
8098 < rm -f conftest.$ac_objext conftest$ac_exeext
8099 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 <  (eval $ac_link) 2>&5
8098 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8099 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8100    ac_status=$?
8101 +  grep -v '^ *+' conftest.er1 >conftest.err
8102 +  rm -f conftest.er1
8103 +  cat conftest.err >&5
8104    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 <  (exit $ac_status); } &&
8106 <         { ac_try='test -s conftest$ac_exeext'
8107 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 <  (eval $ac_try) 2>&5
8109 <  ac_status=$?
8110 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 <  (exit $ac_status); }; }; then
7516 <  ac_cv_lib_sprng_init_rng=yes
8105 >  (exit $ac_status); } >/dev/null; then
8106 >  if test -s conftest.err; then
8107 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8108 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8109 >  else
8110 >    ac_cpp_err=
8111 >  fi
8112   else
8113 +  ac_cpp_err=yes
8114 + fi
8115 + if test -z "$ac_cpp_err"; then
8116 +  :
8117 + else
8118    echo "$as_me: failed program was:" >&5
8119   sed 's/^/| /' conftest.$ac_ext >&5
8120  
8121 < ac_cv_lib_sprng_init_rng=no
8121 >  # Broken: fails on valid input.
8122 > continue
8123   fi
8124 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8125 < LIBS=$ac_check_lib_save_LIBS
8124 > rm -f conftest.err conftest.$ac_ext
8125 >
8126 >  # OK, works on sane cases.  Now check whether non-existent headers
8127 >  # can be detected and how.
8128 >  cat >conftest.$ac_ext <<_ACEOF
8129 > /* confdefs.h.  */
8130 > _ACEOF
8131 > cat confdefs.h >>conftest.$ac_ext
8132 > cat >>conftest.$ac_ext <<_ACEOF
8133 > /* end confdefs.h.  */
8134 > #include <ac_nonexistent.h>
8135 > _ACEOF
8136 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8137 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8138 >  ac_status=$?
8139 >  grep -v '^ *+' conftest.er1 >conftest.err
8140 >  rm -f conftest.er1
8141 >  cat conftest.err >&5
8142 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 >  (exit $ac_status); } >/dev/null; then
8144 >  if test -s conftest.err; then
8145 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8146 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8147 >  else
8148 >    ac_cpp_err=
8149 >  fi
8150 > else
8151 >  ac_cpp_err=yes
8152   fi
8153 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
8154 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
8155 < if test $ac_cv_lib_sprng_init_rng = yes; then
7529 <  SPRNG_LIB="-lsprng"
8153 > if test -z "$ac_cpp_err"; then
8154 >  # Broken: success on invalid input.
8155 > continue
8156   else
8157 +  echo "$as_me: failed program was:" >&5
8158 + sed 's/^/| /' conftest.$ac_ext >&5
8159  
8160 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
8161 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
8162 <   { (exit 1); exit 1; }; }
8163 <             USE_SPRNG="no"
8160 >  # Passes both tests.
8161 > ac_preproc_ok=:
8162 > break
8163 > fi
8164 > rm -f conftest.err conftest.$ac_ext
8165  
8166 + done
8167 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8168 + rm -f conftest.err conftest.$ac_ext
8169 + if $ac_preproc_ok; then
8170 +  break
8171   fi
8172  
8173 +    done
8174 +    ac_cv_prog_CXXCPP=$CXXCPP
8175  
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; }; }
8176   fi
8177 +  CXXCPP=$ac_cv_prog_CXXCPP
8178 + else
8179 +  ac_cv_prog_CXXCPP=$CXXCPP
8180 + fi
8181 + echo "$as_me:$LINENO: result: $CXXCPP" >&5
8182 + echo "${ECHO_T}$CXXCPP" >&6
8183 + ac_preproc_ok=false
8184 + for ac_cxx_preproc_warn_flag in '' yes
8185 + do
8186 +  # Use a header file that comes with gcc, so configuring glibc
8187 +  # with a fresh cross-compiler works.
8188 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8189 +  # <limits.h> exists even on freestanding compilers.
8190 +  # On the NeXT, cc -E runs the code through the compiler's parser,
8191 +  # not just through cpp. "Syntax error" is here to catch this case.
8192 +  cat >conftest.$ac_ext <<_ACEOF
8193 + /* confdefs.h.  */
8194 + _ACEOF
8195 + cat confdefs.h >>conftest.$ac_ext
8196 + cat >>conftest.$ac_ext <<_ACEOF
8197 + /* end confdefs.h.  */
8198 + #ifdef __STDC__
8199 + # include <limits.h>
8200 + #else
8201 + # include <assert.h>
8202 + #endif
8203 +                     Syntax error
8204 + _ACEOF
8205 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8206 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8207 +  ac_status=$?
8208 +  grep -v '^ *+' conftest.er1 >conftest.err
8209 +  rm -f conftest.er1
8210 +  cat conftest.err >&5
8211 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 +  (exit $ac_status); } >/dev/null; then
8213 +  if test -s conftest.err; then
8214 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
8215 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8216 +  else
8217 +    ac_cpp_err=
8218 +  fi
8219 + else
8220 +  ac_cpp_err=yes
8221 + fi
8222 + if test -z "$ac_cpp_err"; then
8223 +  :
8224 + else
8225 +  echo "$as_me: failed program was:" >&5
8226 + sed 's/^/| /' conftest.$ac_ext >&5
8227  
8228 +  # Broken: fails on valid input.
8229 + continue
8230 + fi
8231 + rm -f conftest.err conftest.$ac_ext
8232  
8233 +  # OK, works on sane cases.  Now check whether non-existent headers
8234 +  # can be detected and how.
8235 +  cat >conftest.$ac_ext <<_ACEOF
8236 + /* confdefs.h.  */
8237 + _ACEOF
8238 + cat confdefs.h >>conftest.$ac_ext
8239 + cat >>conftest.$ac_ext <<_ACEOF
8240 + /* end confdefs.h.  */
8241 + #include <ac_nonexistent.h>
8242 + _ACEOF
8243 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8244 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8245 +  ac_status=$?
8246 +  grep -v '^ *+' conftest.er1 >conftest.err
8247 +  rm -f conftest.er1
8248 +  cat conftest.err >&5
8249 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 +  (exit $ac_status); } >/dev/null; then
8251 +  if test -s conftest.err; then
8252 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
8253 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8254 +  else
8255 +    ac_cpp_err=
8256 +  fi
8257 + else
8258 +  ac_cpp_err=yes
8259   fi
8260 + if test -z "$ac_cpp_err"; then
8261 +  # Broken: success on invalid input.
8262 + continue
8263 + else
8264 +  echo "$as_me: failed program was:" >&5
8265 + sed 's/^/| /' conftest.$ac_ext >&5
8266  
8267 +  # Passes both tests.
8268 + ac_preproc_ok=:
8269 + break
8270 + fi
8271 + rm -f conftest.err conftest.$ac_ext
8272  
8273 <
8274 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
8275 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
8276 <
8277 < # Check whether --with-mkl or --without-mkl was given.
8278 < if test "${with_mkl+set}" = set; then
8279 <  withval="$with_mkl"
8280 <     echo "$as_me:$LINENO: result: yes" >&5
8281 < echo "${ECHO_T}yes" >&6
8282 <    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;}
8273 > done
8274 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8275 > rm -f conftest.err conftest.$ac_ext
8276 > if $ac_preproc_ok; then
8277 >  :
8278 > else
8279 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8280 > See \`config.log' for more details." >&5
8281 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8282 > See \`config.log' for more details." >&2;}
8283     { (exit 1); exit 1; }; }
8284 <    else
7571 <        printf "MKL includes found in $mkldir/include\n";
7572 <    fi
8284 > fi
8285  
8286 + ac_ext=cc
8287 + ac_cpp='$CXXCPP $CPPFLAGS'
8288 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8291  
8292  
8293 <  ac_ext=c
8294 < ac_cpp='$CPP $CPPFLAGS'
8295 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8296 < 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
8293 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8294 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8295 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8296 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8297    echo $ECHO_N "(cached) $ECHO_C" >&6
8298   fi
8299 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8300 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8299 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8300 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8301   else
8302    # Is the header compilable?
8303 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
8304 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
8303 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8304 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8305   cat >conftest.$ac_ext <<_ACEOF
7599 #line $LINENO "configure"
8306   /* confdefs.h.  */
8307   _ACEOF
8308   cat confdefs.h >>conftest.$ac_ext
8309   cat >>conftest.$ac_ext <<_ACEOF
8310   /* end confdefs.h.  */
8311   $ac_includes_default
8312 < #include <mkl.h>
8312 > #include <CGAL/Cartesian.h>
8313   _ACEOF
8314   rm -f conftest.$ac_objext
8315   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8316 <  (eval $ac_compile) 2>&5
8316 >  (eval $ac_compile) 2>conftest.er1
8317    ac_status=$?
8318 +  grep -v '^ *+' conftest.er1 >conftest.err
8319 +  rm -f conftest.er1
8320 +  cat conftest.err >&5
8321    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322    (exit $ac_status); } &&
8323 <         { ac_try='test -s conftest.$ac_objext'
8323 >         { ac_try='test -z "$ac_cxx_werror_flag"
8324 >                         || test ! -s conftest.err'
8325    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326    (eval $ac_try) 2>&5
8327    ac_status=$?
8328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 +  (exit $ac_status); }; } &&
8330 +         { ac_try='test -s conftest.$ac_objext'
8331 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 +  (eval $ac_try) 2>&5
8333 +  ac_status=$?
8334 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335    (exit $ac_status); }; }; then
8336    ac_header_compiler=yes
8337   else
# Line 7624 | Line 8340 | fi
8340  
8341   ac_header_compiler=no
8342   fi
8343 < rm -f conftest.$ac_objext conftest.$ac_ext
8343 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8344   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8345   echo "${ECHO_T}$ac_header_compiler" >&6
8346  
8347   # Is the header present?
8348 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8349 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8348 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8349 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8350   cat >conftest.$ac_ext <<_ACEOF
7635 #line $LINENO "configure"
8351   /* confdefs.h.  */
8352   _ACEOF
8353   cat confdefs.h >>conftest.$ac_ext
8354   cat >>conftest.$ac_ext <<_ACEOF
8355   /* end confdefs.h.  */
8356 < #include <mkl.h>
8356 > #include <CGAL/Cartesian.h>
8357   _ACEOF
8358   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8359    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 7649 | Line 8364 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
8364    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365    (exit $ac_status); } >/dev/null; then
8366    if test -s conftest.err; then
8367 <    ac_cpp_err=$ac_c_preproc_warn_flag
8367 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8368 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8369    else
8370      ac_cpp_err=
8371    fi
# Line 7669 | Line 8385 | echo "${ECHO_T}$ac_header_preproc" >&6
8385   echo "${ECHO_T}$ac_header_preproc" >&6
8386  
8387   # So?  What about this header?
8388 < case $ac_header_compiler:$ac_header_preproc in
8389 <  yes:no )
8390 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8391 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8392 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8393 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8394 <    (
7679 <      cat <<\_ASBOX
7680 < ## ------------------------------------ ##
7681 < ## Report this to bug-autoconf@gnu.org. ##
7682 < ## ------------------------------------ ##
7683 < _ASBOX
7684 <    ) |
7685 <      sed "s/^/$as_me: WARNING:     /" >&2
8388 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8389 >  yes:no: )
8390 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8391 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8392 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8393 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8394 >    ac_header_preproc=yes
8395      ;;
8396 <  no:yes )
8397 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8398 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8399 <    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
8400 < echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
8401 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8402 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8396 >  no:yes:* )
8397 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8398 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8399 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8400 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8401 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8402 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8403 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8404 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8405 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8406 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8407 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8408 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8409      (
8410        cat <<\_ASBOX
8411 < ## ------------------------------------ ##
8412 < ## Report this to bug-autoconf@gnu.org. ##
8413 < ## ------------------------------------ ##
8411 > ## ------------------------------ ##
8412 > ## Report this to gezelter@nd.edu ##
8413 > ## ------------------------------ ##
8414   _ASBOX
8415      ) |
8416        sed "s/^/$as_me: WARNING:     /" >&2
8417      ;;
8418   esac
8419 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8420 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8421 < if test "${ac_cv_header_mkl_h+set}" = set; then
8419 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8420 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8421 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8422    echo $ECHO_N "(cached) $ECHO_C" >&6
8423   else
8424 <  ac_cv_header_mkl_h=$ac_header_preproc
8424 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8425   fi
8426 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8427 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8426 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8427 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8428  
8429   fi
8430 < if test $ac_cv_header_mkl_h = yes; then
8431 <
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
8430 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8431 >  cgal=yes
8432   else
8433 <  ac_check_lib_save_LIBS=$LIBS
8434 < LIBS="-lmkl  $LIBS"
8433 >  cgal=no
8434 > fi
8435 >
8436 >
8437 >    CXXFLAGS="$save_CXXFLAGS"
8438 >
8439 >    if test "x$cgal" = xyes; then
8440 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
8441 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8442 >      LOCATION=${CGAL_INCLDIR}
8443 >      LOCATION=${LOCATION:-/usr/include}
8444 >      if test -f $LOCATION/CGAL/version.h; then
8445 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8446 >      else
8447 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8448 >      fi
8449 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8450 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8451 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8452 >      else
8453 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8454 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
8455 >        cgal=no
8456 >      fi
8457 >    fi
8458 >
8459 >    if test "x$cgal" = xyes; then
8460 >      CGAL_LIBS="-lCGAL"
8461 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8462 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8463 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8464 >        CGAL_USES_LEDA=yes
8465 >        echo "$as_me:$LINENO: result: yes" >&5
8466 > echo "${ECHO_T}yes" >&6
8467 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8468 >      else
8469 >        echo "$as_me:$LINENO: result: no" >&5
8470 > echo "${ECHO_T}no" >&6
8471 >        CGAL_USES_LEDA=no
8472 >      fi
8473 >
8474 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8475 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8476 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8477 >        CGAL_USES_GMP=yes
8478 >        echo "$as_me:$LINENO: result: yes" >&5
8479 > echo "${ECHO_T}yes" >&6
8480 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8481 >      else
8482 >        echo "$as_me:$LINENO: result: no" >&5
8483 > echo "${ECHO_T}no" >&6
8484 >        CGAL_USES_GMP=no
8485 >      fi
8486 >
8487 >      CGAL_LIBS="$CGAL_LIBS -lm"
8488 >
8489 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
8490 >
8491 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
8492 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
8493 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
8494 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
8495 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
8496 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
8497 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
8498 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
8499 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
8500 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
8501 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
8502 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
8503 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
8504 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
8505 >    fi
8506 >
8507 >    if test "x$cgal" = xyes; then
8508 >      save_LIBS="$LIBS"
8509 >      LIBS="$LIBS -L$CGAL_LIBDIR"
8510 >      if test "x$CGAL_USES_LEDA" = xyes; then
8511 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8512 >      fi
8513 >      # if test "x$CGAL_USES_GMP" = xyes; then
8514 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8515 >      # fi
8516 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8517 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8518 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8519 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8520 > save_LIBS_CHECK_CXX_LIB="$LIBS"
8521 > LIBS="-lCGAL  $LIBS"
8522   cat >conftest.$ac_ext <<_ACEOF
7725 #line $LINENO "configure"
8523   /* confdefs.h.  */
8524   _ACEOF
8525   cat confdefs.h >>conftest.$ac_ext
8526   cat >>conftest.$ac_ext <<_ACEOF
8527   /* end confdefs.h.  */
8528 <
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 ();
8528 > #include <CGAL/Cartesian.h>
8529   int
8530   main ()
8531   {
8532 < vslNewStream ();
8532 > ::CGAL::Cartesian<int>::Point_2 P
8533    ;
8534    return 0;
8535   }
8536   _ACEOF
8537   rm -f conftest.$ac_objext conftest$ac_exeext
8538   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8539 <  (eval $ac_link) 2>&5
8539 >  (eval $ac_link) 2>conftest.er1
8540    ac_status=$?
8541 +  grep -v '^ *+' conftest.er1 >conftest.err
8542 +  rm -f conftest.er1
8543 +  cat conftest.err >&5
8544    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545    (exit $ac_status); } &&
8546 <         { ac_try='test -s conftest$ac_exeext'
8546 >         { ac_try='test -z "$ac_cxx_werror_flag"
8547 >                         || test ! -s conftest.err'
8548    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549    (eval $ac_try) 2>&5
8550    ac_status=$?
8551    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 +  (exit $ac_status); }; } &&
8553 +         { ac_try='test -s conftest$ac_exeext'
8554 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 +  (eval $ac_try) 2>&5
8556 +  ac_status=$?
8557 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558    (exit $ac_status); }; }; then
8559 <  ac_cv_lib_mkl_vslNewStream=yes
8559 >  echo "$as_me:$LINENO: result: yes" >&5
8560 > echo "${ECHO_T}yes" >&6
8561 > cgal=yes
8562   else
8563    echo "$as_me: failed program was:" >&5
8564   sed 's/^/| /' conftest.$ac_ext >&5
8565  
8566 < ac_cv_lib_mkl_vslNewStream=no
8566 > echo "$as_me:$LINENO: result: no" >&5
8567 > echo "${ECHO_T}no" >&6
8568 > cgal=no
8569   fi
8570 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8571 < LIBS=$ac_check_lib_save_LIBS
8572 < fi
8573 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
8574 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8575 < 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
8570 > rm -f conftest.err conftest.$ac_objext \
8571 >      conftest$ac_exeext conftest.$ac_ext
8572 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8573 > LIBS="$save_LIBS_CHECK_CXX_LIB"
8574 >      LIBS="$save_LIBS"
8575 >    fi
8576  
8577 <
7778 < else
7779 <  MKL_INC="-I${mkldir}/include"
7780 < fi
7781 <
7782 <
7783 <  CPPFLAGS=$ac_save_CPPFLAGS
7784 <  LDFLAGS=$ac_save_LDFLAGS
8577 >  fi
8578    ac_ext=c
8579   ac_cpp='$CPP $CPPFLAGS'
8580   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7789 | Line 8582 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
8582   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8583  
8584  
8585 <  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
8585 > fi
8586  
8587 + if test "x$cgal" = xyes; then
8588 +  USE_CGAL=yes
8589  
8590 + cat >>confdefs.h <<\_ACEOF
8591 + #define HAVE_CGAL 1
8592 + _ACEOF
8593  
8594  
8595 + cat >>confdefs.h <<_ACEOF
8596 + #define CGAL_VERSION $CGAL_VERSION
8597 + _ACEOF
8598  
8599 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8600 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8601 + echo "$as_me: WARNING: *****************************************************" >&2;}
8602 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8603 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8604 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8605 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8606 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8607 + echo "$as_me: WARNING: *****************************************************" >&2;}
8608 +  fi
8609   else
8610 +   if test "x$cgal_makefile" != xno; then
8611 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
8612 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
8613 +  fi
8614 +  CGAL_INCLDIR=
8615 +  CGAL_LIBDIR=
8616 +  CGAL_RLIBDIR=
8617 +  CGAL_DEFINES=
8618 +  CGAL_CXXFLAGS=
8619 +  CGAL_LIBS=
8620 + fi
8621  
7804    echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6
8622  
8623 < fi;
8623 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8624 >
8625 > CGAL_LIB_DIR=${CGAL_LIBDIR}
8626 >
8627 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
8628  
8629  
8630  
8631 +
8632 +
8633 +
8634 +
8635   # Check whether --enable-doxygen or --disable-doxygen was given.
8636   if test "${enable_doxygen+set}" = set; then
8637    enableval="$enable_doxygen"
# Line 8008 | Line 8832 | esac
8832  
8833            ac_config_headers="$ac_config_headers src/config.h"
8834  
8835 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8835 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
8836  
8837  
8838   cat >confcache <<\_ACEOF
# Line 8039 | Line 8863 | _ACEOF
8863        # `set' does not quote correctly, so add quotes (double-quote
8864        # substitution turns \\\\ into \\, and sed turns \\ into \).
8865        sed -n \
8866 <        "s/'/'\\\\''/g;
8867 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8866 >        "s/'/'\\\\''/g;
8867 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8868        ;;
8869      *)
8870        # `set' quotes correctly as required by POSIX, so do not add quotes.
8871        sed -n \
8872 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8872 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8873        ;;
8874      esac;
8875   } |
# Line 8075 | Line 8899 | if test "x$srcdir" = x.; then
8899   # trailing colons and then remove the whole line if VPATH becomes empty
8900   # (actually we leave an empty line to preserve line numbers).
8901   if test "x$srcdir" = x.; then
8902 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8902 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8903   s/:*\$(srcdir):*/:/;
8904   s/:*\${srcdir}:*/:/;
8905   s/:*@srcdir@:*/:/;
8906 < s/^\([^=]*=[    ]*\):*/\1/;
8906 > s/^\([^=]*=[     ]*\):*/\1/;
8907   s/:*$//;
8908 < s/^[^=]*=[      ]*$//;
8908 > s/^[^=]*=[       ]*$//;
8909   }'
8910   fi
8911  
# Line 8092 | Line 8916 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
8916   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8917    # 1. Remove the extension, and $U if already installed.
8918    ac_i=`echo "$ac_i" |
8919 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8919 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8920    # 2. Add them.
8921    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8922    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 8136 | Line 8960 | fi
8960   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8961    set -o posix
8962   fi
8963 + DUALCASE=1; export DUALCASE # for MKS sh
8964  
8965   # Support unset when possible.
8966 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8966 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8967    as_unset=unset
8968   else
8969    as_unset=false
# Line 8157 | Line 8982 | do
8982    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8983    LC_TELEPHONE LC_TIME
8984   do
8985 <  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8985 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8986      eval $as_var=C; export $as_var
8987    else
8988      $as_unset $as_var
# Line 8336 | Line 9161 | else
9161   if mkdir -p . 2>/dev/null; then
9162    as_mkdir_p=:
9163   else
9164 +  test -d ./-p && rmdir ./-p
9165    as_mkdir_p=false
9166   fi
9167  
9168   as_executable_p="test -f"
9169  
9170   # Sed expression to map a string onto a valid CPP name.
9171 < as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9171 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9172  
9173   # Sed expression to map a string onto a valid variable name.
9174 < as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9174 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9175  
9176  
9177   # IFS
# Line 8372 | Line 9198 | This file was extended by OOPSE $as_me 2.0, which was
9198   cat >&5 <<_CSEOF
9199  
9200   This file was extended by OOPSE $as_me 2.0, which was
9201 < generated by GNU Autoconf 2.57.  Invocation command line was
9201 > generated by GNU Autoconf 2.59.  Invocation command line was
9202  
9203    CONFIG_FILES    = $CONFIG_FILES
9204    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 8416 | Line 9242 | Usage: $0 [OPTIONS] [FILE]...
9242    -d, --debug      don't remove temporary files
9243        --recheck    update $as_me by reconfiguring in the same conditions
9244    --file=FILE[:TEMPLATE]
9245 <                   instantiate the configuration file FILE
9245 >                   instantiate the configuration file FILE
9246    --header=FILE[:TEMPLATE]
9247 <                   instantiate the configuration header FILE
9247 >                   instantiate the configuration header FILE
9248  
9249   Configuration files:
9250   $config_files
# Line 8435 | Line 9261 | OOPSE config.status 2.0
9261   cat >>$CONFIG_STATUS <<_ACEOF
9262   ac_cs_version="\\
9263   OOPSE config.status 2.0
9264 < configured by $0, generated by GNU Autoconf 2.57,
9264 > configured by $0, generated by GNU Autoconf 2.59,
9265    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9266  
9267 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8442 < Free Software Foundation, Inc.
9267 > Copyright (C) 2003 Free Software Foundation, Inc.
9268   This config.status script is free software; the Free Software Foundation
9269   gives unlimited permission to copy, distribute and modify it."
9270   srcdir=$srcdir
# Line 8540 | Line 9365 | do
9365    # Handling of arguments.
9366    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9367    "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9368 +  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9369 +  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
9370    "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9371    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9372    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
# Line 8676 | Line 9503 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9503   s,@LEX@,$LEX,;t t
9504   s,@LEXLIB@,$LEXLIB,;t t
9505   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9506 + s,@PERLINTERP@,$PERLINTERP,;t t
9507 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
9508   s,@AR@,$AR,;t t
9509   s,@PS@,$PS,;t t
9510   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 8684 | Line 9513 | s,@USE_MPI@,$USE_MPI,;t t
9513   s,@MPI_LIB@,$MPI_LIB,;t t
9514   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9515   s,@USE_MPI@,$USE_MPI,;t t
9516 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9517 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9518 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9519 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9520 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9521 < s,@MKL_LIB@,$MKL_LIB,;t t
9522 < s,@MKL_INC@,$MKL_INC,;t t
9523 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9516 > s,@CXXCPP@,$CXXCPP,;t t
9517 > s,@USE_CGAL@,$USE_CGAL,;t t
9518 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9519 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9520 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9521 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9522 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9523 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9524   s,@DOXYGEN@,$DOXYGEN,;t t
9525   s,@DOT@,$DOT,;t t
9526   s,@DOC@,$DOC,;t t
# Line 8734 | Line 9563 | _ACEOF
9563        (echo ':t
9564    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9565        if test -z "$ac_sed_cmds"; then
9566 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9566 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9567        else
9568 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9568 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9569        fi
9570        ac_sed_frag=`expr $ac_sed_frag + 1`
9571        ac_beg=$ac_end
# Line 8754 | Line 9583 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
9583    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9584    case $ac_file in
9585    - | *:- | *:-:* ) # input from stdin
9586 <        cat >$tmp/stdin
9587 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9588 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9586 >        cat >$tmp/stdin
9587 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9588 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9589    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9590 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9590 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9591    * )   ac_file_in=$ac_file.in ;;
9592    esac
9593  
9594    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9595    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9596   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9597 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9598 <         X"$ac_file" : 'X\(//\)$' \| \
9599 <         X"$ac_file" : 'X\(/\)' \| \
9600 <         .     : '\(.\)' 2>/dev/null ||
9597 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9598 >         X"$ac_file" : 'X\(//\)$' \| \
9599 >         X"$ac_file" : 'X\(/\)' \| \
9600 >         .     : '\(.\)' 2>/dev/null ||
9601   echo X"$ac_file" |
9602      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9603            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8784 | Line 9613 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9613        as_dirs="$as_dir $as_dirs"
9614        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9615   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9616 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9617 <         X"$as_dir" : 'X\(//\)$' \| \
9618 <         X"$as_dir" : 'X\(/\)' \| \
9619 <         .     : '\(.\)' 2>/dev/null ||
9616 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9617 >         X"$as_dir" : 'X\(//\)$' \| \
9618 >         X"$as_dir" : 'X\(/\)' \| \
9619 >         .     : '\(.\)' 2>/dev/null ||
9620   echo X"$as_dir" |
9621      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9622            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8825 | Line 9654 | esac
9654      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9655      ac_top_srcdir=$ac_top_builddir$srcdir ;;
9656   esac
8828 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8829 # absolute.
8830 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8831 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8832 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8833 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9657  
9658 + # Do not use `cd foo && pwd` to compute absolute paths, because
9659 + # the directories may not exist.
9660 + case `pwd` in
9661 + .) ac_abs_builddir="$ac_dir";;
9662 + *)
9663 +  case "$ac_dir" in
9664 +  .) ac_abs_builddir=`pwd`;;
9665 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9666 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9667 +  esac;;
9668 + esac
9669 + case $ac_abs_builddir in
9670 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
9671 + *)
9672 +  case ${ac_top_builddir}. in
9673 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
9674 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9675 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9676 +  esac;;
9677 + esac
9678 + case $ac_abs_builddir in
9679 + .) ac_abs_srcdir=$ac_srcdir;;
9680 + *)
9681 +  case $ac_srcdir in
9682 +  .) ac_abs_srcdir=$ac_abs_builddir;;
9683 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9684 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9685 +  esac;;
9686 + esac
9687 + case $ac_abs_builddir in
9688 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
9689 + *)
9690 +  case $ac_top_srcdir in
9691 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9692 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9693 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9694 +  esac;;
9695 + esac
9696  
9697 +
9698    case $INSTALL in
9699    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9700    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
# Line 8852 | Line 9714 | echo "$as_me: creating $ac_file" >&6;}
9714      configure_input="$ac_file.  "
9715    fi
9716    configure_input=$configure_input"Generated from `echo $ac_file_in |
9717 <                                     sed 's,.*/,,'` by configure."
9717 >                                     sed 's,.*/,,'` by configure."
9718  
9719    # First look for the input files in the build tree, otherwise in the
9720    # src tree.
# Line 8861 | Line 9723 | echo "$as_me: creating $ac_file" >&6;}
9723        case $f in
9724        -) echo $tmp/stdin ;;
9725        [\\/$]*)
9726 <         # Absolute (can't be DOS-style, as IFS=:)
9727 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9726 >         # Absolute (can't be DOS-style, as IFS=:)
9727 >         test -f "$f" || { { 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 <         echo $f;;
9730 >         echo "$f";;
9731        *) # Relative
9732 <         if test -f "$f"; then
9733 <           # Build tree
9734 <           echo $f
9735 <         elif test -f "$srcdir/$f"; then
9736 <           # Source tree
9737 <           echo $srcdir/$f
9738 <         else
9739 <           # /dev/null tree
9740 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9732 >         if test -f "$f"; then
9733 >           # Build tree
9734 >           echo "$f"
9735 >         elif test -f "$srcdir/$f"; then
9736 >           # Source tree
9737 >           echo "$srcdir/$f"
9738 >         else
9739 >           # /dev/null tree
9740 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9741   echo "$as_me: error: cannot find input file: $f" >&2;}
9742     { (exit 1); exit 1; }; }
9743 <         fi;;
9743 >         fi;;
9744        esac
9745      done` || { (exit 1); exit 1; }
9746   _ACEOF
# Line 8908 | Line 9770 | s,@INSTALL@,$ac_INSTALL,;t t
9770      rm -f $tmp/out
9771    fi
9772  
9773 +  # Run the commands associated with the file.
9774 +  case $ac_file in
9775 +    make/Makefile ) chmod 0755 scripts/* ;;
9776 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
9777 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
9778 +    scripts/filepp ) chmod 0755 scripts/* ;;
9779 +  esac
9780   done
9781   _ACEOF
9782   cat >>$CONFIG_STATUS <<\_ACEOF
# Line 8920 | Line 9789 | cat >>$CONFIG_STATUS <<\_ACEOF
9789   # NAME is the cpp macro being defined and VALUE is the value it is being given.
9790   #
9791   # ac_d sets the value in "#define NAME VALUE" lines.
9792 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
9793 < ac_dB='[        ].*$,\1#\2'
9792 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9793 > ac_dB='[         ].*$,\1#\2'
9794   ac_dC=' '
9795   ac_dD=',;t'
9796   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9797 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9797 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9798   ac_uB='$,\1#\2define\3'
9799   ac_uC=' '
9800   ac_uD=',;t'
# Line 8934 | Line 9803 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
9803    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9804    case $ac_file in
9805    - | *:- | *:-:* ) # input from stdin
9806 <        cat >$tmp/stdin
9807 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9808 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9806 >        cat >$tmp/stdin
9807 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9808 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9809    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9810 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9810 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9811    * )   ac_file_in=$ac_file.in ;;
9812    esac
9813  
# Line 8952 | Line 9821 | echo "$as_me: creating $ac_file" >&6;}
9821        case $f in
9822        -) echo $tmp/stdin ;;
9823        [\\/$]*)
9824 <         # Absolute (can't be DOS-style, as IFS=:)
9825 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9824 >         # Absolute (can't be DOS-style, as IFS=:)
9825 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9826   echo "$as_me: error: cannot find input file: $f" >&2;}
9827     { (exit 1); exit 1; }; }
9828 <         echo $f;;
9828 >         # Do quote $f, to prevent DOS paths from being IFS'd.
9829 >         echo "$f";;
9830        *) # Relative
9831 <         if test -f "$f"; then
9832 <           # Build tree
9833 <           echo $f
9834 <         elif test -f "$srcdir/$f"; then
9835 <           # Source tree
9836 <           echo $srcdir/$f
9837 <         else
9838 <           # /dev/null tree
9839 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9831 >         if test -f "$f"; then
9832 >           # Build tree
9833 >           echo "$f"
9834 >         elif test -f "$srcdir/$f"; then
9835 >           # Source tree
9836 >           echo "$srcdir/$f"
9837 >         else
9838 >           # /dev/null tree
9839 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9840   echo "$as_me: error: cannot find input file: $f" >&2;}
9841     { (exit 1); exit 1; }; }
9842 <         fi;;
9842 >         fi;;
9843        esac
9844      done` || { (exit 1); exit 1; }
9845    # Remove the trailing spaces.
9846 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9846 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9847  
9848   _ACEOF
9849  
# Line 8996 | Line 9866 | t clear
9866   s,[\\$`],\\&,g
9867   t clear
9868   : clear
9869 < s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9869 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9870   t end
9871 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9871 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9872   : end
9873   _ACEOF
9874   # If some macros were called several times there might be several times
# Line 9012 | Line 9882 | cat >>conftest.undefs <<\_ACEOF
9882   # example, in the case of _POSIX_SOURCE, which is predefined and required
9883   # on some systems where configure will not decide to define it.
9884   cat >>conftest.undefs <<\_ACEOF
9885 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9885 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9886   _ACEOF
9887  
9888   # Break up conftest.defines because some shells have a limit on the size
9889   # of here documents, and old seds have small limits too (100 cmds).
9890   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9891 < echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9891 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9892   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9893   echo '  :' >>$CONFIG_STATUS
9894   rm -f conftest.tail
# Line 9027 | Line 9897 | do
9897    # Write a limited-size here document to $tmp/defines.sed.
9898    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9899    # Speed up: don't consider the non `#define' lines.
9900 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9900 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9901    # Work around the forget-to-reset-the-flag bug.
9902    echo 't clr' >>$CONFIG_STATUS
9903    echo ': clr' >>$CONFIG_STATUS
# Line 9054 | Line 9924 | do
9924    # Write a limited-size here document to $tmp/undefs.sed.
9925    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9926    # Speed up: don't consider the non `#undef'
9927 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9927 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9928    # Work around the forget-to-reset-the-flag bug.
9929    echo 't clr' >>$CONFIG_STATUS
9930    echo ': clr' >>$CONFIG_STATUS
# Line 9088 | Line 9958 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9958      else
9959        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9960   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9961 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9962 <         X"$ac_file" : 'X\(//\)$' \| \
9963 <         X"$ac_file" : 'X\(/\)' \| \
9964 <         .     : '\(.\)' 2>/dev/null ||
9961 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9962 >         X"$ac_file" : 'X\(//\)$' \| \
9963 >         X"$ac_file" : 'X\(/\)' \| \
9964 >         .     : '\(.\)' 2>/dev/null ||
9965   echo X"$ac_file" |
9966      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9967            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9107 | Line 9977 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9977        as_dirs="$as_dir $as_dirs"
9978        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9979   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9980 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9981 <         X"$as_dir" : 'X\(//\)$' \| \
9982 <         X"$as_dir" : 'X\(/\)' \| \
9983 <         .     : '\(.\)' 2>/dev/null ||
9980 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9981 >         X"$as_dir" : 'X\(//\)$' \| \
9982 >         X"$as_dir" : 'X\(/\)' \| \
9983 >         .     : '\(.\)' 2>/dev/null ||
9984   echo X"$as_dir" |
9985      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9986            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9155 | Line 10025 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
10025    # Make relative symlinks.
10026    ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
10027   $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10028 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
10029 <         X"$ac_dest" : 'X\(//\)$' \| \
10030 <         X"$ac_dest" : 'X\(/\)' \| \
10031 <         .     : '\(.\)' 2>/dev/null ||
10028 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
10029 >         X"$ac_dest" : 'X\(//\)$' \| \
10030 >         X"$ac_dest" : 'X\(/\)' \| \
10031 >         .     : '\(.\)' 2>/dev/null ||
10032   echo X"$ac_dest" |
10033      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10034            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9174 | Line 10044 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
10044        as_dirs="$as_dir $as_dirs"
10045        as_dir=`(dirname "$as_dir") 2>/dev/null ||
10046   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10047 <         X"$as_dir" : 'X\(//\)[^/]' \| \
10048 <         X"$as_dir" : 'X\(//\)$' \| \
10049 <         X"$as_dir" : 'X\(/\)' \| \
10050 <         .     : '\(.\)' 2>/dev/null ||
10047 >         X"$as_dir" : 'X\(//\)[^/]' \| \
10048 >         X"$as_dir" : 'X\(//\)$' \| \
10049 >         X"$as_dir" : 'X\(/\)' \| \
10050 >         .     : '\(.\)' 2>/dev/null ||
10051   echo X"$as_dir" |
10052      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10053            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 9215 | Line 10085 | esac
10085      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10086      ac_top_srcdir=$ac_top_builddir$srcdir ;;
10087   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`
10088  
10089 + # Do not use `cd foo && pwd` to compute absolute paths, because
10090 + # the directories may not exist.
10091 + case `pwd` in
10092 + .) ac_abs_builddir="$ac_dest_dir";;
10093 + *)
10094 +  case "$ac_dest_dir" in
10095 +  .) ac_abs_builddir=`pwd`;;
10096 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
10097 +  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
10098 +  esac;;
10099 + esac
10100 + case $ac_abs_builddir in
10101 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
10102 + *)
10103 +  case ${ac_top_builddir}. in
10104 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
10105 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10106 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10107 +  esac;;
10108 + esac
10109 + case $ac_abs_builddir in
10110 + .) ac_abs_srcdir=$ac_srcdir;;
10111 + *)
10112 +  case $ac_srcdir in
10113 +  .) ac_abs_srcdir=$ac_abs_builddir;;
10114 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10115 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10116 +  esac;;
10117 + esac
10118 + case $ac_abs_builddir in
10119 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
10120 + *)
10121 +  case $ac_top_srcdir in
10122 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
10123 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10124 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10125 +  esac;;
10126 + esac
10127  
10128 +
10129    case $srcdir in
10130    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
10131        *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines