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

Comparing trunk/OOPSE/configure (file contents):
Revision 942 by gezelter, Wed Jan 14 15:49:26 2004 UTC vs.
Revision 1202 by gezelter, Thu May 27 16:20:36 2004 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.57 for OOPSE 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright (C) 2003 Free Software Foundation, Inc.
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 > # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11   ## --------------------- ##
# Line 21 | Line 22 | DUALCASE=1; export DUALCASE # for MKS sh
22   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23    set -o posix
24   fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25  
26   # Support unset when possible.
27 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 > if (FOO=FOO; unset FOO) >/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 -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 >  if (set +x; test -n "`(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
223    as_mkdir_p=false
224   fi
225  
226   as_executable_p="test -f"
227  
228   # Sed expression to map a string onto a valid CPP name.
229 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 > as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230  
231   # Sed expression to map a string onto a valid variable name.
232 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 > as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233  
234  
235   # IFS
# Line 312 | Line 311 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
311   # include <unistd.h>
312   #endif"
313  
314 < 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR mpi MPI_LIBDIR MPI_INC MPI_LIB CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
314 > 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR mpi MPI_LIBDIR MPI_INC MPI_F90INC MPI_LIB MPI_F90LIB CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
315   ac_subst_files=''
316  
317   # Initialize some variables set by options.
# Line 671 | Line 670 | for ac_var in bindir sbindir libexecdir datadir syscon
670  
671   # Be sure to have absolute paths.
672   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 <              localstatedir libdir includedir oldincludedir infodir mandir
673 >              localstatedir libdir includedir oldincludedir infodir mandir
674   do
675    eval ac_val=$`echo $ac_var`
676    case $ac_val in
# Line 711 | Line 710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710    # Try the directory containing this script, then its parent.
711    ac_confdir=`(dirname "$0") 2>/dev/null ||
712   $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 <         X"$0" : 'X\(//\)[^/]' \| \
714 <         X"$0" : 'X\(//\)$' \| \
715 <         X"$0" : 'X\(/\)' \| \
716 <         .     : '\(.\)' 2>/dev/null ||
713 >         X"$0" : 'X\(//\)[^/]' \| \
714 >         X"$0" : 'X\(//\)$' \| \
715 >         X"$0" : 'X\(/\)' \| \
716 >         .     : '\(.\)' 2>/dev/null ||
717   echo X"$0" |
718      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 822 | Line 821 | Installation directories:
821    cat <<_ACEOF
822   Installation directories:
823    --prefix=PREFIX         install architecture-independent files in PREFIX
824 <                          [$ac_default_prefix]
824 >                          [$ac_default_prefix]
825    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
826 <                          [PREFIX]
826 >                          [PREFIX]
827  
828   By default, \`make install' will install all the files in
829   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 873 | Line 872 | Optional Packages:
872    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
873    --with-mpi=MPIDIR   give the path for MPI /usr/local
874    --with-mpi-libdir=dir  give the path for MPI-libraries MPI_DIR/lib
875 <  --with-mpi_inc=dir  give the path for MPI-include-files MPI_DIR/include
875 >  --with-mpi-inc=dir  give the path for MPI-include-files MPI_DIR/include
876    --with-sprng_prefix=PREFIX
877                            Prefix where SPRNG is installed
878    --with-sprng-libdir=PREFIX  SPRNG library directory
879    --with-sprng-include=PREFIX
880                            SPRNG include directory
881 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
881 >  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
882  
883   Some influential environment variables:
884    CC          C compiler command
# Line 931 | Line 930 | esac
930      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931      ac_top_srcdir=$ac_top_builddir$srcdir ;;
932   esac
933 <
934 < # Do not use `cd foo && pwd` to compute absolute paths, because
935 < # the directories may not exist.
936 < case `pwd` in
937 < .) ac_abs_builddir="$ac_dir";;
938 < *)
940 <  case "$ac_dir" in
941 <  .) ac_abs_builddir=`pwd`;;
942 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
943 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
944 <  esac;;
945 < esac
946 < case $ac_abs_builddir in
947 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
948 < *)
949 <  case ${ac_top_builddir}. in
950 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
951 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
952 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
953 <  esac;;
954 < esac
955 < case $ac_abs_builddir in
956 < .) ac_abs_srcdir=$ac_srcdir;;
957 < *)
958 <  case $ac_srcdir in
959 <  .) ac_abs_srcdir=$ac_abs_builddir;;
960 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
961 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
962 <  esac;;
963 < esac
964 < case $ac_abs_builddir in
965 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
966 < *)
967 <  case $ac_top_srcdir in
968 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
969 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
970 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
971 <  esac;;
972 < esac
933 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
934 > # absolute.
935 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
936 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
937 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
938 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
939  
940      cd $ac_dir
941      # Check for guested configure; otherwise get Cygnus style configure.
# Line 980 | Line 946 | esac
946        echo
947        $SHELL $ac_srcdir/configure  --help=recursive
948      elif test -f $ac_srcdir/configure.ac ||
949 <           test -f $ac_srcdir/configure.in; then
949 >           test -f $ac_srcdir/configure.in; then
950        echo
951        $ac_configure --help
952      else
# Line 994 | Line 960 | generated by GNU Autoconf 2.59
960   if $ac_init_version; then
961    cat <<\_ACEOF
962   OOPSE configure 1.0
963 < generated by GNU Autoconf 2.59
963 > generated by GNU Autoconf 2.57
964  
965 < Copyright (C) 2003 Free Software Foundation, Inc.
965 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
966 > Free Software Foundation, Inc.
967   This configure script is free software; the Free Software Foundation
968   gives unlimited permission to copy, distribute and modify it.
969   _ACEOF
# Line 1008 | Line 975 | generated by GNU Autoconf 2.59.  Invocation command li
975   running configure, to aid debugging if configure makes a mistake.
976  
977   It was created by OOPSE $as_me 1.0, which was
978 < generated by GNU Autoconf 2.59.  Invocation command line was
978 > generated by GNU Autoconf 2.57.  Invocation command line was
979  
980    $ $0 $@
981  
# Line 1085 | Line 1052 | do
1052      2)
1053        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1054        if test $ac_must_keep_next = true; then
1055 <        ac_must_keep_next=false # Got value, back to normal.
1055 >        ac_must_keep_next=false # Got value, back to normal.
1056        else
1057 <        case $ac_arg in
1058 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1059 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061 <          | -with-* | --with-* | -without-* | --without-* | --x)
1062 <            case "$ac_configure_args0 " in
1063 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064 <            esac
1065 <            ;;
1066 <          -* ) ac_must_keep_next=true ;;
1067 <        esac
1057 >        case $ac_arg in
1058 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1059 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1060 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1061 >          | -with-* | --with-* | -without-* | --without-* | --x)
1062 >            case "$ac_configure_args0 " in
1063 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064 >            esac
1065 >            ;;
1066 >          -* ) ac_must_keep_next=true ;;
1067 >        esac
1068        fi
1069        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1070        # Get rid of the leading space.
# Line 1131 | Line 1098 | _ASBOX
1098      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1099      *ac_space=\ *)
1100        sed -n \
1101 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1102 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1103        ;;
1104      *)
1105        sed -n \
1106 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1107        ;;
1108      esac;
1109   }
# Line 1165 | Line 1132 | _ASBOX
1132        for ac_var in $ac_subst_files
1133        do
1134          eval ac_val=$`echo $ac_var`
1135 <        echo "$ac_var='"'"'$ac_val'"'"'"
1135 >        echo "$ac_var='"'"'$ac_val'"'"'"
1136        done | sort
1137        echo
1138      fi
# Line 1184 | Line 1151 | _ASBOX
1151        echo "$as_me: caught signal $ac_signal"
1152      echo "$as_me: exit $exit_status"
1153    } >&5
1154 <  rm -f core *.core &&
1154 >  rm -f core core.* *.core &&
1155    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1156      exit $exit_status
1157       ' 0
# Line 1264 | Line 1231 | for ac_var in `(set) 2>&1 |
1231   # value.
1232   ac_cache_corrupted=false
1233   for ac_var in `(set) 2>&1 |
1234 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1235    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1236    eval ac_new_set=\$ac_env_${ac_var}_set
1237    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1281 | Line 1248 | echo "$as_me: error: \`$ac_var' was not set in the pre
1248      ,);;
1249      *)
1250        if test "x$ac_old_val" != "x$ac_new_val"; then
1251 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1252   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1253 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1253 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1254   echo "$as_me:   former value:  $ac_old_val" >&2;}
1255 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1255 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1256   echo "$as_me:   current value: $ac_new_val" >&2;}
1257 <        ac_cache_corrupted=:
1257 >        ac_cache_corrupted=:
1258        fi;;
1259    esac
1260    # Pass precious variables to config.status.
# Line 1869 | Line 1836 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1836  
1837  
1838  
1839 +
1840   # set program name
1841   PROGNAME="oopse"
1842  
# Line 2067 | Line 2035 | cat >conftest.$ac_ext <<_ACEOF
2035    (exit $ac_status); }
2036  
2037   cat >conftest.$ac_ext <<_ACEOF
2038 + #line $LINENO "configure"
2039   /* confdefs.h.  */
2040   _ACEOF
2041   cat confdefs.h >>conftest.$ac_ext
# Line 2086 | Line 2055 | echo "$as_me:$LINENO: checking for C compiler default
2055   # Try to create an executable without -o first, disregard a.out.
2056   # It will help us diagnose broken compilers, and finding out an intuition
2057   # of exeext.
2058 < echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2059 < echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2058 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2059 > echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2060   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2061   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2062    (eval $ac_link_default) 2>&5
# Line 2107 | Line 2076 | do
2076    test -f "$ac_file" || continue
2077    case $ac_file in
2078      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2079 <        ;;
2080 <    conftest.$ac_ext )
2081 <        # This is the source file.
2082 <        ;;
2079 >        ;;
2080 >    conftest.$ac_ext )
2081 >        # This is the source file.
2082 >        ;;
2083      [ab].out )
2084 <        # We found the default executable, but exeext='' is most
2085 <        # certainly right.
2086 <        break;;
2084 >        # We found the default executable, but exeext='' is most
2085 >        # certainly right.
2086 >        break;;
2087      *.* )
2088 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2089 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2090 <        # but it would be cool to find out if it's true.  Does anybody
2091 <        # maintain Libtool? --akim.
2092 <        export ac_cv_exeext
2093 <        break;;
2088 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2089 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2090 >        # but it would be cool to find out if it's true.  Does anybody
2091 >        # maintain Libtool? --akim.
2092 >        export ac_cv_exeext
2093 >        break;;
2094      * )
2095 <        break;;
2095 >        break;;
2096    esac
2097   done
2098   else
# Line 2197 | Line 2166 | for ac_file in conftest.exe conftest conftest.*; do
2166    case $ac_file in
2167      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2168      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169 <          export ac_cv_exeext
2170 <          break;;
2169 >          export ac_cv_exeext
2170 >          break;;
2171      * ) break;;
2172    esac
2173   done
# Line 2223 | Line 2192 | else
2192    echo $ECHO_N "(cached) $ECHO_C" >&6
2193   else
2194    cat >conftest.$ac_ext <<_ACEOF
2195 + #line $LINENO "configure"
2196   /* confdefs.h.  */
2197   _ACEOF
2198   cat confdefs.h >>conftest.$ac_ext
# Line 2273 | Line 2243 | else
2243    echo $ECHO_N "(cached) $ECHO_C" >&6
2244   else
2245    cat >conftest.$ac_ext <<_ACEOF
2246 + #line $LINENO "configure"
2247   /* confdefs.h.  */
2248   _ACEOF
2249   cat confdefs.h >>conftest.$ac_ext
# Line 2292 | Line 2263 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263   _ACEOF
2264   rm -f conftest.$ac_objext
2265   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 <  (eval $ac_compile) 2>conftest.er1
2266 >  (eval $ac_compile) 2>&5
2267    ac_status=$?
2297  grep -v '^ *+' conftest.er1 >conftest.err
2298  rm -f conftest.er1
2299  cat conftest.err >&5
2268    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269    (exit $ac_status); } &&
2270 <         { ac_try='test -z "$ac_c_werror_flag"
2303 <                         || test ! -s conftest.err'
2304 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 <  (eval $ac_try) 2>&5
2306 <  ac_status=$?
2307 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 <  (exit $ac_status); }; } &&
2309 <         { ac_try='test -s conftest.$ac_objext'
2270 >         { ac_try='test -s conftest.$ac_objext'
2271    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272    (eval $ac_try) 2>&5
2273    ac_status=$?
# Line 2319 | Line 2280 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2280  
2281   ac_compiler_gnu=no
2282   fi
2283 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2283 > rm -f conftest.$ac_objext conftest.$ac_ext
2284   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2285  
2286   fi
# Line 2335 | Line 2296 | else
2296    echo $ECHO_N "(cached) $ECHO_C" >&6
2297   else
2298    cat >conftest.$ac_ext <<_ACEOF
2299 + #line $LINENO "configure"
2300   /* confdefs.h.  */
2301   _ACEOF
2302   cat confdefs.h >>conftest.$ac_ext
# Line 2351 | Line 2313 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313   _ACEOF
2314   rm -f conftest.$ac_objext
2315   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 <  (eval $ac_compile) 2>conftest.er1
2316 >  (eval $ac_compile) 2>&5
2317    ac_status=$?
2356  grep -v '^ *+' conftest.er1 >conftest.err
2357  rm -f conftest.er1
2358  cat conftest.err >&5
2318    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319    (exit $ac_status); } &&
2320 <         { ac_try='test -z "$ac_c_werror_flag"
2362 <                         || test ! -s conftest.err'
2320 >         { ac_try='test -s conftest.$ac_objext'
2321    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322    (eval $ac_try) 2>&5
2323    ac_status=$?
2324    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367  (exit $ac_status); }; } &&
2368         { ac_try='test -s conftest.$ac_objext'
2369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370  (eval $ac_try) 2>&5
2371  ac_status=$?
2372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325    (exit $ac_status); }; }; then
2326    ac_cv_prog_cc_g=yes
2327   else
# Line 2378 | Line 2330 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2330  
2331   ac_cv_prog_cc_g=no
2332   fi
2333 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2333 > rm -f conftest.$ac_objext conftest.$ac_ext
2334   fi
2335   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2336   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2405 | Line 2357 | cat >conftest.$ac_ext <<_ACEOF
2357    ac_cv_prog_cc_stdc=no
2358   ac_save_CC=$CC
2359   cat >conftest.$ac_ext <<_ACEOF
2360 + #line $LINENO "configure"
2361   /* confdefs.h.  */
2362   _ACEOF
2363   cat confdefs.h >>conftest.$ac_ext
# Line 2432 | Line 2385 | static char *f (char * (*g) (char **, int), char **p,
2385    va_end (v);
2386    return s;
2387   }
2435
2436 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2437   function prototypes and stuff, but not '\xHH' hex character constants.
2438   These don't provoke an error unfortunately, instead are silently treated
2439   as 'x'.  The following induces an error, until -std1 is added to get
2440   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2441   array size at least.  It's necessary to write '\x00'==0 to get something
2442   that's true only with -std1.  */
2443 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2444
2388   int test (int i, double x);
2389   struct s1 {int (*f) (int a);};
2390   struct s2 {int (*f) (double a);};
# Line 2468 | Line 2411 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411    CC="$ac_save_CC $ac_arg"
2412    rm -f conftest.$ac_objext
2413   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414 <  (eval $ac_compile) 2>conftest.er1
2414 >  (eval $ac_compile) 2>&5
2415    ac_status=$?
2473  grep -v '^ *+' conftest.er1 >conftest.err
2474  rm -f conftest.er1
2475  cat conftest.err >&5
2416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417    (exit $ac_status); } &&
2418 <         { ac_try='test -z "$ac_c_werror_flag"
2479 <                         || test ! -s conftest.err'
2480 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 <  (eval $ac_try) 2>&5
2482 <  ac_status=$?
2483 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 <  (exit $ac_status); }; } &&
2485 <         { ac_try='test -s conftest.$ac_objext'
2418 >         { ac_try='test -s conftest.$ac_objext'
2419    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420    (eval $ac_try) 2>&5
2421    ac_status=$?
# Line 2495 | Line 2428 | rm -f conftest.err conftest.$ac_objext
2428   sed 's/^/| /' conftest.$ac_ext >&5
2429  
2430   fi
2431 < rm -f conftest.err conftest.$ac_objext
2431 > rm -f conftest.$ac_objext
2432   done
2433   rm -f conftest.$ac_ext conftest.$ac_objext
2434   CC=$ac_save_CC
# Line 2523 | Line 2456 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456   _ACEOF
2457   rm -f conftest.$ac_objext
2458   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2459 <  (eval $ac_compile) 2>conftest.er1
2459 >  (eval $ac_compile) 2>&5
2460    ac_status=$?
2528  grep -v '^ *+' conftest.er1 >conftest.err
2529  rm -f conftest.er1
2530  cat conftest.err >&5
2461    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462    (exit $ac_status); } &&
2463 <         { ac_try='test -z "$ac_c_werror_flag"
2534 <                         || test ! -s conftest.err'
2463 >         { ac_try='test -s conftest.$ac_objext'
2464    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465    (eval $ac_try) 2>&5
2466    ac_status=$?
2467    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539  (exit $ac_status); }; } &&
2540         { ac_try='test -s conftest.$ac_objext'
2541  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2542  (eval $ac_try) 2>&5
2543  ac_status=$?
2544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468    (exit $ac_status); }; }; then
2469    for ac_declaration in \
2470 <   '' \
2470 >   ''\
2471 >   '#include <stdlib.h>' \
2472     'extern "C" void std::exit (int) throw (); using std::exit;' \
2473     'extern "C" void std::exit (int); using std::exit;' \
2474     'extern "C" void exit (int) throw ();' \
# Line 2552 | Line 2476 | do
2476     'void exit (int);'
2477   do
2478    cat >conftest.$ac_ext <<_ACEOF
2479 + #line $LINENO "configure"
2480   /* confdefs.h.  */
2481   _ACEOF
2482   cat confdefs.h >>conftest.$ac_ext
2483   cat >>conftest.$ac_ext <<_ACEOF
2484   /* end confdefs.h.  */
2560 $ac_declaration
2485   #include <stdlib.h>
2486 + $ac_declaration
2487   int
2488   main ()
2489   {
# Line 2569 | Line 2494 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494   _ACEOF
2495   rm -f conftest.$ac_objext
2496   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497 <  (eval $ac_compile) 2>conftest.er1
2497 >  (eval $ac_compile) 2>&5
2498    ac_status=$?
2574  grep -v '^ *+' conftest.er1 >conftest.err
2575  rm -f conftest.er1
2576  cat conftest.err >&5
2499    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500    (exit $ac_status); } &&
2501 <         { ac_try='test -z "$ac_c_werror_flag"
2580 <                         || test ! -s conftest.err'
2501 >         { ac_try='test -s conftest.$ac_objext'
2502    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503    (eval $ac_try) 2>&5
2504    ac_status=$?
2505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585  (exit $ac_status); }; } &&
2586         { ac_try='test -s conftest.$ac_objext'
2587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588  (eval $ac_try) 2>&5
2589  ac_status=$?
2590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506    (exit $ac_status); }; }; then
2507    :
2508   else
# Line 2596 | Line 2511 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2511  
2512   continue
2513   fi
2514 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2514 > rm -f conftest.$ac_objext conftest.$ac_ext
2515    cat >conftest.$ac_ext <<_ACEOF
2516 + #line $LINENO "configure"
2517   /* confdefs.h.  */
2518   _ACEOF
2519   cat confdefs.h >>conftest.$ac_ext
# Line 2614 | Line 2530 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530   _ACEOF
2531   rm -f conftest.$ac_objext
2532   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2533 <  (eval $ac_compile) 2>conftest.er1
2533 >  (eval $ac_compile) 2>&5
2534    ac_status=$?
2619  grep -v '^ *+' conftest.er1 >conftest.err
2620  rm -f conftest.er1
2621  cat conftest.err >&5
2535    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536    (exit $ac_status); } &&
2537 <         { ac_try='test -z "$ac_c_werror_flag"
2625 <                         || test ! -s conftest.err'
2537 >         { ac_try='test -s conftest.$ac_objext'
2538    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539    (eval $ac_try) 2>&5
2540    ac_status=$?
2541    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630  (exit $ac_status); }; } &&
2631         { ac_try='test -s conftest.$ac_objext'
2632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633  (eval $ac_try) 2>&5
2634  ac_status=$?
2635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542    (exit $ac_status); }; }; then
2543    break
2544   else
# Line 2640 | Line 2546 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2546   sed 's/^/| /' conftest.$ac_ext >&5
2547  
2548   fi
2549 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2549 > rm -f conftest.$ac_objext conftest.$ac_ext
2550   done
2551   rm -f conftest*
2552   if test -n "$ac_declaration"; then
# Line 2654 | Line 2560 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2560   sed 's/^/| /' conftest.$ac_ext >&5
2561  
2562   fi
2563 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 > rm -f conftest.$ac_objext conftest.$ac_ext
2564   ac_ext=c
2565   ac_cpp='$CPP $CPPFLAGS'
2566   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2668 | Line 2574 | if test -n "$ac_tool_prefix"; then
2574   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2576   if test -n "$ac_tool_prefix"; then
2577 <  for ac_prog in $CCC icpc icc xlC CC g++ c++
2577 >  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2578    do
2579      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2580   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2710 | Line 2616 | if test -z "$CXX"; then
2616   fi
2617   if test -z "$CXX"; then
2618    ac_ct_CXX=$CXX
2619 <  for ac_prog in $CCC icpc icc xlC CC g++ c++
2619 >  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2620   do
2621    # Extract the first word of "$ac_prog", so it can be a program name with args.
2622   set dummy $ac_prog; ac_word=$2
# Line 2781 | Line 2687 | else
2687    echo $ECHO_N "(cached) $ECHO_C" >&6
2688   else
2689    cat >conftest.$ac_ext <<_ACEOF
2690 + #line $LINENO "configure"
2691   /* confdefs.h.  */
2692   _ACEOF
2693   cat confdefs.h >>conftest.$ac_ext
# Line 2800 | Line 2707 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707   _ACEOF
2708   rm -f conftest.$ac_objext
2709   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 <  (eval $ac_compile) 2>conftest.er1
2710 >  (eval $ac_compile) 2>&5
2711    ac_status=$?
2805  grep -v '^ *+' conftest.er1 >conftest.err
2806  rm -f conftest.er1
2807  cat conftest.err >&5
2712    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713    (exit $ac_status); } &&
2714 <         { ac_try='test -z "$ac_cxx_werror_flag"
2811 <                         || test ! -s conftest.err'
2714 >         { ac_try='test -s conftest.$ac_objext'
2715    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716    (eval $ac_try) 2>&5
2717    ac_status=$?
2718    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816  (exit $ac_status); }; } &&
2817         { ac_try='test -s conftest.$ac_objext'
2818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819  (eval $ac_try) 2>&5
2820  ac_status=$?
2821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719    (exit $ac_status); }; }; then
2720    ac_compiler_gnu=yes
2721   else
# Line 2827 | Line 2724 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2724  
2725   ac_compiler_gnu=no
2726   fi
2727 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2727 > rm -f conftest.$ac_objext conftest.$ac_ext
2728   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2729  
2730   fi
# Line 2843 | Line 2740 | else
2740    echo $ECHO_N "(cached) $ECHO_C" >&6
2741   else
2742    cat >conftest.$ac_ext <<_ACEOF
2743 + #line $LINENO "configure"
2744   /* confdefs.h.  */
2745   _ACEOF
2746   cat confdefs.h >>conftest.$ac_ext
# Line 2859 | Line 2757 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757   _ACEOF
2758   rm -f conftest.$ac_objext
2759   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 <  (eval $ac_compile) 2>conftest.er1
2760 >  (eval $ac_compile) 2>&5
2761    ac_status=$?
2864  grep -v '^ *+' conftest.er1 >conftest.err
2865  rm -f conftest.er1
2866  cat conftest.err >&5
2762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763    (exit $ac_status); } &&
2764 <         { ac_try='test -z "$ac_cxx_werror_flag"
2870 <                         || test ! -s conftest.err'
2871 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 <  (eval $ac_try) 2>&5
2873 <  ac_status=$?
2874 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 <  (exit $ac_status); }; } &&
2876 <         { ac_try='test -s conftest.$ac_objext'
2764 >         { ac_try='test -s conftest.$ac_objext'
2765    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766    (eval $ac_try) 2>&5
2767    ac_status=$?
# Line 2886 | Line 2774 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2774  
2775   ac_cv_prog_cxx_g=no
2776   fi
2777 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2777 > rm -f conftest.$ac_objext conftest.$ac_ext
2778   fi
2779   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2780   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2906 | Line 2794 | for ac_declaration in \
2794    fi
2795   fi
2796   for ac_declaration in \
2797 <   '' \
2797 >   ''\
2798 >   '#include <stdlib.h>' \
2799     'extern "C" void std::exit (int) throw (); using std::exit;' \
2800     'extern "C" void std::exit (int); using std::exit;' \
2801     'extern "C" void exit (int) throw ();' \
# Line 2914 | Line 2803 | do
2803     'void exit (int);'
2804   do
2805    cat >conftest.$ac_ext <<_ACEOF
2806 + #line $LINENO "configure"
2807   /* confdefs.h.  */
2808   _ACEOF
2809   cat confdefs.h >>conftest.$ac_ext
2810   cat >>conftest.$ac_ext <<_ACEOF
2811   /* end confdefs.h.  */
2922 $ac_declaration
2812   #include <stdlib.h>
2813 + $ac_declaration
2814   int
2815   main ()
2816   {
# Line 2931 | Line 2821 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2821   _ACEOF
2822   rm -f conftest.$ac_objext
2823   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 <  (eval $ac_compile) 2>conftest.er1
2824 >  (eval $ac_compile) 2>&5
2825    ac_status=$?
2936  grep -v '^ *+' conftest.er1 >conftest.err
2937  rm -f conftest.er1
2938  cat conftest.err >&5
2826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827    (exit $ac_status); } &&
2828 <         { ac_try='test -z "$ac_cxx_werror_flag"
2942 <                         || test ! -s conftest.err'
2828 >         { ac_try='test -s conftest.$ac_objext'
2829    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830    (eval $ac_try) 2>&5
2831    ac_status=$?
2832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947  (exit $ac_status); }; } &&
2948         { ac_try='test -s conftest.$ac_objext'
2949  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950  (eval $ac_try) 2>&5
2951  ac_status=$?
2952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833    (exit $ac_status); }; }; then
2834    :
2835   else
# Line 2958 | Line 2838 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2838  
2839   continue
2840   fi
2841 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2841 > rm -f conftest.$ac_objext conftest.$ac_ext
2842    cat >conftest.$ac_ext <<_ACEOF
2843 + #line $LINENO "configure"
2844   /* confdefs.h.  */
2845   _ACEOF
2846   cat confdefs.h >>conftest.$ac_ext
# Line 2976 | Line 2857 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2857   _ACEOF
2858   rm -f conftest.$ac_objext
2859   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2860 <  (eval $ac_compile) 2>conftest.er1
2860 >  (eval $ac_compile) 2>&5
2861    ac_status=$?
2981  grep -v '^ *+' conftest.er1 >conftest.err
2982  rm -f conftest.er1
2983  cat conftest.err >&5
2862    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863    (exit $ac_status); } &&
2864 <         { ac_try='test -z "$ac_cxx_werror_flag"
2987 <                         || test ! -s conftest.err'
2988 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 <  (eval $ac_try) 2>&5
2990 <  ac_status=$?
2991 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 <  (exit $ac_status); }; } &&
2993 <         { ac_try='test -s conftest.$ac_objext'
2864 >         { ac_try='test -s conftest.$ac_objext'
2865    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866    (eval $ac_try) 2>&5
2867    ac_status=$?
# Line 3002 | Line 2873 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2873   sed 's/^/| /' conftest.$ac_ext >&5
2874  
2875   fi
2876 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2876 > rm -f conftest.$ac_objext conftest.$ac_ext
2877   done
2878   rm -f conftest*
2879   if test -n "$ac_declaration"; then
# Line 3187 | Line 3058 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058   _ACEOF
3059   rm -f conftest.$ac_objext
3060   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 <  (eval $ac_compile) 2>conftest.er1
3061 >  (eval $ac_compile) 2>&5
3062    ac_status=$?
3192  grep -v '^ *+' conftest.er1 >conftest.err
3193  rm -f conftest.er1
3194  cat conftest.err >&5
3063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064    (exit $ac_status); } &&
3065 <         { ac_try='test -z "$ac_f90_werror_flag"
3198 <                         || test ! -s conftest.err'
3065 >         { ac_try='test -s conftest.$ac_objext'
3066    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3067    (eval $ac_try) 2>&5
3068    ac_status=$?
3069    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203  (exit $ac_status); }; } &&
3204         { ac_try='test -s conftest.$ac_objext'
3205  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206  (eval $ac_try) 2>&5
3207  ac_status=$?
3208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070    (exit $ac_status); }; }; then
3071    ac_compiler_gnu=yes
3072   else
# Line 3214 | Line 3075 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3075  
3076   ac_compiler_gnu=no
3077   fi
3078 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3078 > rm -f conftest.$ac_objext conftest.$ac_ext
3079   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3080  
3081   fi
# Line 3288 | Line 3149 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149   _ACEOF
3150   rm -f conftest.$ac_objext
3151   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3152 <  (eval $ac_compile) 2>conftest.er1
3152 >  (eval $ac_compile) 2>&5
3153    ac_status=$?
3293  grep -v '^ *+' conftest.er1 >conftest.err
3294  rm -f conftest.er1
3295  cat conftest.err >&5
3154    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155    (exit $ac_status); } &&
3156 <         { ac_try='test -z "$ac_f90_werror_flag"
3299 <                         || test ! -s conftest.err'
3156 >         { ac_try='test -s conftest.$ac_objext'
3157    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158    (eval $ac_try) 2>&5
3159    ac_status=$?
3160    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304  (exit $ac_status); }; } &&
3305         { ac_try='test -s conftest.$ac_objext'
3306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307  (eval $ac_try) 2>&5
3308  ac_status=$?
3309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161    (exit $ac_status); }; }; then
3162    prepflagworks=1
3163   else
# Line 3315 | Line 3166 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3166  
3167   prepflagworks=0
3168   fi
3169 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3169 > rm -f conftest.$ac_objext conftest.$ac_ext
3170  
3171    F90FLAGS=$ac_save_F90FLAGS
3172    ac_ext=$ac_save_ext
# Line 3403 | Line 3254 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254   _ACEOF
3255   rm -f conftest.$ac_objext
3256   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257 <  (eval $ac_compile) 2>conftest.er1
3257 >  (eval $ac_compile) 2>&5
3258    ac_status=$?
3408  grep -v '^ *+' conftest.er1 >conftest.err
3409  rm -f conftest.er1
3410  cat conftest.err >&5
3259    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260    (exit $ac_status); } &&
3261 <         { ac_try='test -z "$ac_f90_werror_flag"
3414 <                         || test ! -s conftest.err'
3415 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 <  (eval $ac_try) 2>&5
3417 <  ac_status=$?
3418 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 <  (exit $ac_status); }; } &&
3420 <         { ac_try='test -s conftest.$ac_objext'
3261 >         { ac_try='test -s conftest.$ac_objext'
3262    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263    (eval $ac_try) 2>&5
3264    ac_status=$?
# Line 3430 | Line 3271 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3271  
3272   prepdefflagworks=0
3273   fi
3274 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274 > rm -f conftest.$ac_objext conftest.$ac_ext
3275  
3276    F90FLAGS=$ac_save_F90FLAGS
3277    ac_ext=$ac_save_ext
# Line 3482 | Line 3323 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3323   _ACEOF
3324   rm -f conftest.$ac_objext
3325   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3326 <  (eval $ac_compile) 2>conftest.er1
3326 >  (eval $ac_compile) 2>&5
3327    ac_status=$?
3487  grep -v '^ *+' conftest.er1 >conftest.err
3488  rm -f conftest.er1
3489  cat conftest.err >&5
3328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329    (exit $ac_status); } &&
3330 <         { ac_try='test -z "$ac_f90_werror_flag"
3493 <                         || test ! -s conftest.err'
3330 >         { ac_try='test -s conftest.$ac_objext'
3331    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332    (eval $ac_try) 2>&5
3333    ac_status=$?
3334    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498  (exit $ac_status); }; } &&
3499         { ac_try='test -s conftest.$ac_objext'
3500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501  (eval $ac_try) 2>&5
3502  ac_status=$?
3503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335    (exit $ac_status); }; }; then
3336    ac_cv_prog_f90_v=
3337   # Try some options frequently used verbose output
# Line 3526 | Line 3357 | F90FLAGS="$F90FLAGS $ac_verb"
3357   ac_save_F90FLAGS=$F90FLAGS
3358   F90FLAGS="$F90FLAGS $ac_verb"
3359  
3360 < (eval echo $as_me:3529: \"$ac_link\") >&5
3360 > (eval echo $as_me:3360: \"$ac_link\") >&5
3361   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3362   echo "$ac_f90_v_output" >&5
3363   F90FLAGS=$ac_save_F90FLAGS
# Line 3568 | Line 3399 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3399   { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3400   echo "$as_me: WARNING: compilation failed" >&2;}
3401   fi
3402 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3402 > rm -f conftest.$ac_objext conftest.$ac_ext
3403  
3404   fi
3405   echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
# Line 3603 | Line 3434 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3434   ac_save_F90FLAGS=$F90FLAGS
3435   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3436  
3437 < (eval echo $as_me:3606: \"$ac_link\") >&5
3437 > (eval echo $as_me:3437: \"$ac_link\") >&5
3438   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3439   echo "$ac_f90_v_output" >&5
3440   F90FLAGS=$ac_save_F90FLAGS
# Line 3785 | Line 3616 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3616   _ACEOF
3617   rm -f conftest.$ac_objext
3618   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3619 <  (eval $ac_compile) 2>conftest.er1
3619 >  (eval $ac_compile) 2>&5
3620    ac_status=$?
3790  grep -v '^ *+' conftest.er1 >conftest.err
3791  rm -f conftest.er1
3792  cat conftest.err >&5
3621    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622    (exit $ac_status); } &&
3623 <         { ac_try='test -z "$ac_f90_werror_flag"
3796 <                         || test ! -s conftest.err'
3623 >         { ac_try='test -s conftest.$ac_objext'
3624    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625    (eval $ac_try) 2>&5
3626    ac_status=$?
3627    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801  (exit $ac_status); }; } &&
3802         { ac_try='test -s conftest.$ac_objext'
3803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804  (eval $ac_try) 2>&5
3805  ac_status=$?
3806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628    (exit $ac_status); }; }; then
3629    mv conftest.$ac_objext cf90_test.$ac_objext
3630  
# Line 3821 | Line 3642 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642      for ac_underscore in "" "_"; do
3643        ac_func="$ac_foobar$ac_underscore"
3644        cat >conftest.$ac_ext <<_ACEOF
3645 + #line $LINENO "configure"
3646   /* confdefs.h.  */
3647   _ACEOF
3648   cat confdefs.h >>conftest.$ac_ext
# Line 3844 | Line 3666 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666   _ACEOF
3667   rm -f conftest.$ac_objext conftest$ac_exeext
3668   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3669 <  (eval $ac_link) 2>conftest.er1
3669 >  (eval $ac_link) 2>&5
3670    ac_status=$?
3849  grep -v '^ *+' conftest.er1 >conftest.err
3850  rm -f conftest.er1
3851  cat conftest.err >&5
3671    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672    (exit $ac_status); } &&
3673 <         { ac_try='test -z "$ac_c_werror_flag"
3855 <                         || test ! -s conftest.err'
3673 >         { ac_try='test -s conftest$ac_exeext'
3674    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675    (eval $ac_try) 2>&5
3676    ac_status=$?
3677    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860  (exit $ac_status); }; } &&
3861         { ac_try='test -s conftest$ac_exeext'
3862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863  (eval $ac_try) 2>&5
3864  ac_status=$?
3865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678    (exit $ac_status); }; }; then
3679    ac_success=yes; break 2
3680   else
# Line 3870 | Line 3682 | rm -f conftest.err conftest.$ac_objext \
3682   sed 's/^/| /' conftest.$ac_ext >&5
3683  
3684   fi
3685 < rm -f conftest.err conftest.$ac_objext \
3874 <      conftest$ac_exeext conftest.$ac_ext
3685 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3686      done
3687    done
3688  
# Line 3892 | Line 3703 | rm -f conftest.err conftest.$ac_objext \
3703          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3704  
3705          cat >conftest.$ac_ext <<_ACEOF
3706 + #line $LINENO "configure"
3707   /* confdefs.h.  */
3708   _ACEOF
3709   cat confdefs.h >>conftest.$ac_ext
# Line 3915 | Line 3727 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3727   _ACEOF
3728   rm -f conftest.$ac_objext conftest$ac_exeext
3729   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3730 <  (eval $ac_link) 2>conftest.er1
3730 >  (eval $ac_link) 2>&5
3731    ac_status=$?
3920  grep -v '^ *+' conftest.er1 >conftest.err
3921  rm -f conftest.er1
3922  cat conftest.err >&5
3732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733    (exit $ac_status); } &&
3734 <         { ac_try='test -z "$ac_c_werror_flag"
3926 <                         || test ! -s conftest.err'
3734 >         { ac_try='test -s conftest$ac_exeext'
3735    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736    (eval $ac_try) 2>&5
3737    ac_status=$?
3738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931  (exit $ac_status); }; } &&
3932         { ac_try='test -s conftest$ac_exeext'
3933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934  (eval $ac_try) 2>&5
3935  ac_status=$?
3936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739    (exit $ac_status); }; }; then
3740    ac_success_extra=yes; break
3741   else
# Line 3941 | Line 3743 | rm -f conftest.err conftest.$ac_objext \
3743   sed 's/^/| /' conftest.$ac_ext >&5
3744  
3745   fi
3746 < rm -f conftest.err conftest.$ac_objext \
3945 <      conftest$ac_exeext conftest.$ac_ext
3746 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3747       done
3748  
3749       if test "$ac_success_extra" = "yes"; then
# Line 3977 | Line 3778 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3778   sed 's/^/| /' conftest.$ac_ext >&5
3779  
3780   fi
3781 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3781 > rm -f conftest.$ac_objext conftest.$ac_ext
3782   ac_ext=f90
3783   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3784   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4213 | Line 4014 | echo "$as_me:$LINENO: checking whether we are *really*
4014  
4015  
4016  
4017 < echo "$as_me:$LINENO: checking whether we are *really* using gcc" >&5
4018 < echo $ECHO_N "checking whether we are *really* using gcc... $ECHO_C" >&6
4017 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
4018 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
4019   if test "${ac_cv_prog_really_gcc+set}" = set; then
4020    echo $ECHO_N "(cached) $ECHO_C" >&6
4021   else
# Line 4288 | Line 4089 | if test "$ac_test_CFLAGS" != "set"; then
4089          fi;;
4090     *darwin*)
4091          if test "$CC" = xlc -o "$CC" = cc; then
4092 <                CFLAGS="-O3 -qtune=auto -w"
4292 <                echo "*******************************************************"
4293 <                echo "*  You have Darwin on an unknown powerpc system.      *"
4294 <                echo "*  It is recommended that you use                     *"
4295 <                echo "*                                                     *"
4296 <                echo "*  CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
4297 <                echo "*                               ^^^                   *"
4298 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4299 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4300 <                echo "*******************************************************"
4092 >                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4093          fi;;
4094    esac
4095  
# Line 4683 | Line 4475 | echo "$as_me:$LINENO: checking whether we are *really*
4475  
4476  
4477  
4478 < echo "$as_me:$LINENO: checking whether we are *really* using g++" >&5
4479 < echo $ECHO_N "checking whether we are *really* using g++... $ECHO_C" >&6
4478 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
4479 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
4480   if test "${ac_cv_prog_really_gxx+set}" = set; then
4481    echo $ECHO_N "(cached) $ECHO_C" >&6
4482   else
# Line 4748 | Line 4540 | if test "$ac_test_CXXFLAGS" != "set"; then
4540                  echo "*******************************************************"
4541          fi;;
4542     *darwin*)
4543 <        if test "$CXX" = xlC; then
4544 <                CXXFLAGS="-O3 -qtune=auto -qansialias -w"
4753 <                echo "*******************************************************"
4754 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
4755 <                echo "*  recommended that you use                           *"
4756 <                echo "*                                                     *"
4757 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
4758 <                echo "*                                 ^^^                 *"
4759 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4760 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4761 <                echo "*******************************************************"
4543 >        if test "$CXX" = xlc++; then
4544 >                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4545          fi;;
4546    esac
4547  
# Line 5169 | Line 4952 | if test x"$F90FLAGS" = x ; then
4952                  echo "*******************************************************"
4953          fi;;
4954     *darwin*)
4955 <        if test "$F90" = f90 -o "$F90" = xlf90; then
4956 <                F90FLAGS="-O3 -qtune=auto -w"
5174 <                echo "*********************************************************"
5175 <                echo "*  You have Darwin on an unknown powerpc system.  It is *"
5176 <                echo "*  recommended that you use                             *"
5177 <                echo "*                                                       *"
5178 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
5179 <                echo "*                                 ^^^                   *"
5180 <                echo "*  where xxx is 601, 603, 604, or whatever kind of      *"
5181 <                echo "*  PowerPC CPU you have.   For more info, man xlf.      *"
5182 <                echo "*********************************************************"
4955 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
4956 >                F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto"
4957          fi;;
4958    esac
4959  
# Line 5268 | Line 5042 | esac
5042   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5043   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5044   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5271 # OS/2's system install, which has a completely different semantic
5045   # ./install, which can be erroneously created by make from ./install.sh.
5046   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5047   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 5285 | Line 5058 | case $as_dir/ in
5058   case $as_dir/ in
5059    ./ | .// | /cC/* | \
5060    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5288  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5061    /usr/ucb/* ) ;;
5062    *)
5063      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 5293 | Line 5065 | case $as_dir/ in
5065      # by default.
5066      for ac_prog in ginstall scoinst install; do
5067        for ac_exec_ext in '' $ac_executable_extensions; do
5068 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5069 <          if test $ac_prog = install &&
5070 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5071 <            # AIX install.  It has an incompatible calling convention.
5072 <            :
5073 <          elif test $ac_prog = install &&
5074 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5075 <            # program-specific install script used by HP pwplus--don't use.
5076 <            :
5077 <          else
5078 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5079 <            break 3
5080 <          fi
5081 <        fi
5068 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5069 >          if test $ac_prog = install &&
5070 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5071 >            # AIX install.  It has an incompatible calling convention.
5072 >            :
5073 >          elif test $ac_prog = install &&
5074 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5075 >            # program-specific install script used by HP pwplus--don't use.
5076 >            :
5077 >          else
5078 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5079 >            break 3
5080 >          fi
5081 >        fi
5082        done
5083      done
5084      ;;
# Line 5349 | Line 5121 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:.
5121  
5122   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5123   echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5124 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5124 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5125   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5126    echo $ECHO_N "(cached) $ECHO_C" >&6
5127   else
# Line 5557 | Line 5329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5329   _ACEOF
5330   rm -f conftest.$ac_objext conftest$ac_exeext
5331   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5332 <  (eval $ac_link) 2>conftest.er1
5332 >  (eval $ac_link) 2>&5
5333    ac_status=$?
5562  grep -v '^ *+' conftest.er1 >conftest.err
5563  rm -f conftest.er1
5564  cat conftest.err >&5
5334    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335    (exit $ac_status); } &&
5336 <         { ac_try='test -z "$ac_f90_werror_flag"
5568 <                         || test ! -s conftest.err'
5336 >         { ac_try='test -s conftest$ac_exeext'
5337    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338    (eval $ac_try) 2>&5
5339    ac_status=$?
5340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573  (exit $ac_status); }; } &&
5574         { ac_try='test -s conftest$ac_exeext'
5575  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576  (eval $ac_try) 2>&5
5577  ac_status=$?
5578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341    (exit $ac_status); }; }; then
5342    ac_cv_lib_fl_yywrap=yes
5343   else
# Line 5584 | Line 5346 | rm -f conftest.err conftest.$ac_objext \
5346  
5347   ac_cv_lib_fl_yywrap=no
5348   fi
5349 < rm -f conftest.err conftest.$ac_objext \
5588 <      conftest$ac_exeext conftest.$ac_ext
5349 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5350   LIBS=$ac_check_lib_save_LIBS
5351   fi
5352   echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 5610 | Line 5371 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5371   _ACEOF
5372   rm -f conftest.$ac_objext conftest$ac_exeext
5373   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5374 <  (eval $ac_link) 2>conftest.er1
5374 >  (eval $ac_link) 2>&5
5375    ac_status=$?
5615  grep -v '^ *+' conftest.er1 >conftest.err
5616  rm -f conftest.er1
5617  cat conftest.err >&5
5376    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377    (exit $ac_status); } &&
5378 <         { ac_try='test -z "$ac_f90_werror_flag"
5621 <                         || test ! -s conftest.err'
5378 >         { ac_try='test -s conftest$ac_exeext'
5379    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380    (eval $ac_try) 2>&5
5381    ac_status=$?
5382    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626  (exit $ac_status); }; } &&
5627         { ac_try='test -s conftest$ac_exeext'
5628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629  (eval $ac_try) 2>&5
5630  ac_status=$?
5631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383    (exit $ac_status); }; }; then
5384    ac_cv_lib_l_yywrap=yes
5385   else
# Line 5637 | Line 5388 | rm -f conftest.err conftest.$ac_objext \
5388  
5389   ac_cv_lib_l_yywrap=no
5390   fi
5391 < rm -f conftest.err conftest.$ac_objext \
5641 <      conftest$ac_exeext conftest.$ac_ext
5391 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5392   LIBS=$ac_check_lib_save_LIBS
5393   fi
5394   echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 5700 | Line 5450 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5450   _ACEOF
5451   rm -f conftest.$ac_objext conftest$ac_exeext
5452   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5453 <  (eval $ac_link) 2>conftest.er1
5453 >  (eval $ac_link) 2>&5
5454    ac_status=$?
5705  grep -v '^ *+' conftest.er1 >conftest.err
5706  rm -f conftest.er1
5707  cat conftest.err >&5
5455    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456    (exit $ac_status); } &&
5457 <         { ac_try='test -z "$ac_f90_werror_flag"
5711 <                         || test ! -s conftest.err'
5712 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 <  (eval $ac_try) 2>&5
5714 <  ac_status=$?
5715 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 <  (exit $ac_status); }; } &&
5717 <         { ac_try='test -s conftest$ac_exeext'
5457 >         { ac_try='test -s conftest$ac_exeext'
5458    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5459    (eval $ac_try) 2>&5
5460    ac_status=$?
# Line 5726 | Line 5466 | rm -f conftest.err conftest.$ac_objext \
5466   sed 's/^/| /' conftest.$ac_ext >&5
5467  
5468   fi
5469 < rm -f conftest.err conftest.$ac_objext \
5730 <      conftest$ac_exeext conftest.$ac_ext
5469 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5470   LIBS=$ac_save_LIBS
5471   rm -f "${LEX_OUTPUT_ROOT}.c"
5472  
# Line 5811 | Line 5550 | _ACEOF
5550        # `set' does not quote correctly, so add quotes (double-quote
5551        # substitution turns \\\\ into \\, and sed turns \\ into \).
5552        sed -n \
5553 <        "s/'/'\\\\''/g;
5554 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5553 >        "s/'/'\\\\''/g;
5554 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5555        ;;
5556      *)
5557        # `set' quotes correctly as required by POSIX, so do not add quotes.
5558        sed -n \
5559 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5559 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5560        ;;
5561      esac;
5562   } |
# Line 5871 | Line 5610 | echo $ECHO_N "checking for mpi-inc-directory... $ECHO_
5610   echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5611   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5612  
5613 < # Check whether --with-mpi_inc or --without-mpi_inc was given.
5613 > # Check whether --with-mpi-inc or --without-mpi-inc was given.
5614   if test "${with_mpi_inc+set}" = set; then
5615    withval="$with_mpi_inc"
5616    MPI_INC="$withval"
# Line 5880 | Line 5619 | echo "${ECHO_T}$MPI_INC" >&6
5619   fi;
5620   echo "$as_me:$LINENO: result: $MPI_INC" >&5
5621   echo "${ECHO_T}$MPI_INC" >&6
5622 +
5623 +
5624 + echo "$as_me:$LINENO: checking for mpi.h" >&5
5625 + echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
5626 + HAVE_MPIDOTH_C="no"
5627 + echo '#include <mpi.h>' > conftest.cc
5628 + if test -z "`${CXX} -I${MPI_INC} -c conftest.cc 2>&1`"; then
5629 +  echo "$as_me:$LINENO: result: yes" >&5
5630 + echo "${ECHO_T}yes" >&6
5631 +  HAVE_MPIDOTH_C="yes"
5632 + else
5633 +  echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5634 + echo "${ECHO_T}no! Check MPI include paths" >&6
5635 + fi
5636 + rm -f conftest*
5637  
5638 + echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
5639 + echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
5640 + HAVE_MPIFDOTH_F90="no"
5641 + rm -f conftest*
5642 + cat >conftest.f90 <<EOF
5643 + program main
5644 +  include 'mpif.h'
5645 + end
5646 + EOF
5647 + if $F90 -I$MPI_INC -c conftest.f90 > conftest.out 2>&1 ; then
5648 +   echo "$as_me:$LINENO: result: yes" >&5
5649 + echo "${ECHO_T}yes" >&6
5650 +   MPI_F90INC="$MPI_INC"
5651 +   HAVE_MPIFDOTH_F90="yes"
5652 + else
5653 +   if test -s conftest.out ; then cat conftest.out >> config.log ; fi
5654 +   echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5655 + echo "${ECHO_T}no! Check MPI include paths" >&6
5656 + fi
5657 + rm -f conftest*
5658  
5659  
5660 < echo "$as_me:$LINENO: checking for MPI library" >&5
5661 < echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
5662 < MPI_LIB=""
5663 < case "$host" in
5664 <  *-ibm-aix*)
5665 <    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
5666 < echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
5667 <    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
5668 < echo "${ECHO_T}$PACX_SIGNAL" >&6
5669 <    if test "x$PACX_SIGNAL" = "xyes" ; then
5670 <      if test -f "$MPI_LIBDIR/libmpi.a" ; then
5671 <        MPI_LIB="-lmpi"
5672 <      elif test -f "$MPI_LIBDIR/libmpi.so" ; then
5673 <        MPI_LIB="-lmpi"
5674 <      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5675 <        MPI_LIB="-lmpich"
5676 <      else
5677 <        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5678 < echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5679 <   { (exit 1); exit 1; }; }
5680 <      fi
5681 <    else
5682 <      if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
5683 <         MPI_LIB="-lmpi_r"
5684 <      else
5685 <         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
5686 < echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
5687 <   { (exit 1); exit 1; }; }
5688 <      fi
5689 <    fi
5690 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5691 < echo "${ECHO_T}found $MPI_LIB" >&6
5692 <  ;;
5693 <  *)                             if test -f "$MPI_LIBDIR/libmpich.a" ; then
5694 <      MPI_LIB="-lmpich"
5695 <    elif test -f "$MPI_LIBDIR/libmpi.so" ; then
5696 <      MPI_LIB="-lmpi"
5697 <    elif test -f "$MPI_LIBDIR/libmpi.a" ; then
5698 <      MPI_LIB="-lmpi"
5699 <    else
5700 <      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5701 < echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5702 <   { (exit 1); exit 1; }; }
5703 <    fi
5704 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5660 > ac_ext=c
5661 > ac_cpp='$CPP $CPPFLAGS'
5662 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5663 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5664 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5665 >
5666 > ac_save_LDFLAGS=$LDFLAGS
5667 > LDFLAGS="${LDFLAGS} -L${MPI_LIBDIR} "
5668 >
5669 > if test x = x"$MPI_LIB"; then
5670 >   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5671 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5672 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5673 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5674 > else
5675 >  ac_check_lib_save_LIBS=$LIBS
5676 > LIBS="-lmpi  $LIBS"
5677 > cat >conftest.$ac_ext <<_ACEOF
5678 > #line $LINENO "configure"
5679 > /* confdefs.h.  */
5680 > _ACEOF
5681 > cat confdefs.h >>conftest.$ac_ext
5682 > cat >>conftest.$ac_ext <<_ACEOF
5683 > /* end confdefs.h.  */
5684 >
5685 > /* Override any gcc2 internal prototype to avoid an error.  */
5686 > #ifdef __cplusplus
5687 > extern "C"
5688 > #endif
5689 > /* We use char because int might match the return type of a gcc2
5690 >   builtin and then its argument prototype would still apply.  */
5691 > char MPI_Init ();
5692 > int
5693 > main ()
5694 > {
5695 > MPI_Init ();
5696 >  ;
5697 >  return 0;
5698 > }
5699 > _ACEOF
5700 > rm -f conftest.$ac_objext conftest$ac_exeext
5701 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5702 >  (eval $ac_link) 2>&5
5703 >  ac_status=$?
5704 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 >  (exit $ac_status); } &&
5706 >         { ac_try='test -s conftest$ac_exeext'
5707 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 >  (eval $ac_try) 2>&5
5709 >  ac_status=$?
5710 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 >  (exit $ac_status); }; }; then
5712 >  ac_cv_lib_mpi_MPI_Init=yes
5713 > else
5714 >  echo "$as_me: failed program was:" >&5
5715 > sed 's/^/| /' conftest.$ac_ext >&5
5716 >
5717 > ac_cv_lib_mpi_MPI_Init=no
5718 > fi
5719 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5720 > LIBS=$ac_check_lib_save_LIBS
5721 > fi
5722 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5723 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5724 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5725 >  MPI_LIB="-lmpi"
5726 > fi
5727 >
5728 > fi
5729 > if test x = x"$MPI_LIB"; then
5730 >   echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5731 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5732 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5733 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5734 > else
5735 >  ac_check_lib_save_LIBS=$LIBS
5736 > LIBS="-lmpich  $LIBS"
5737 > cat >conftest.$ac_ext <<_ACEOF
5738 > #line $LINENO "configure"
5739 > /* confdefs.h.  */
5740 > _ACEOF
5741 > cat confdefs.h >>conftest.$ac_ext
5742 > cat >>conftest.$ac_ext <<_ACEOF
5743 > /* end confdefs.h.  */
5744 >
5745 > /* Override any gcc2 internal prototype to avoid an error.  */
5746 > #ifdef __cplusplus
5747 > extern "C"
5748 > #endif
5749 > /* We use char because int might match the return type of a gcc2
5750 >   builtin and then its argument prototype would still apply.  */
5751 > char MPI_Init ();
5752 > int
5753 > main ()
5754 > {
5755 > MPI_Init ();
5756 >  ;
5757 >  return 0;
5758 > }
5759 > _ACEOF
5760 > rm -f conftest.$ac_objext conftest$ac_exeext
5761 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5762 >  (eval $ac_link) 2>&5
5763 >  ac_status=$?
5764 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 >  (exit $ac_status); } &&
5766 >         { ac_try='test -s conftest$ac_exeext'
5767 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5768 >  (eval $ac_try) 2>&5
5769 >  ac_status=$?
5770 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 >  (exit $ac_status); }; }; then
5772 >  ac_cv_lib_mpich_MPI_Init=yes
5773 > else
5774 >  echo "$as_me: failed program was:" >&5
5775 > sed 's/^/| /' conftest.$ac_ext >&5
5776 >
5777 > ac_cv_lib_mpich_MPI_Init=no
5778 > fi
5779 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5780 > LIBS=$ac_check_lib_save_LIBS
5781 > fi
5782 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5783 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5784 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
5785 >  MPI_LIB="-lmpich"
5786 > fi
5787 >
5788 > fi
5789 > $as_unset ac_cv_lib_mpi_MPI_Init
5790 > if test x = x"$MPI_LIB"; then
5791 >   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5792 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5793 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5794 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5795 > else
5796 >  ac_check_lib_save_LIBS=$LIBS
5797 > LIBS="-lmpi "-llam" $LIBS"
5798 > cat >conftest.$ac_ext <<_ACEOF
5799 > #line $LINENO "configure"
5800 > /* confdefs.h.  */
5801 > _ACEOF
5802 > cat confdefs.h >>conftest.$ac_ext
5803 > cat >>conftest.$ac_ext <<_ACEOF
5804 > /* end confdefs.h.  */
5805 >
5806 > /* Override any gcc2 internal prototype to avoid an error.  */
5807 > #ifdef __cplusplus
5808 > extern "C"
5809 > #endif
5810 > /* We use char because int might match the return type of a gcc2
5811 >   builtin and then its argument prototype would still apply.  */
5812 > char MPI_Init ();
5813 > int
5814 > main ()
5815 > {
5816 > MPI_Init ();
5817 >  ;
5818 >  return 0;
5819 > }
5820 > _ACEOF
5821 > rm -f conftest.$ac_objext conftest$ac_exeext
5822 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5823 >  (eval $ac_link) 2>&5
5824 >  ac_status=$?
5825 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 >  (exit $ac_status); } &&
5827 >         { ac_try='test -s conftest$ac_exeext'
5828 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 >  (eval $ac_try) 2>&5
5830 >  ac_status=$?
5831 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 >  (exit $ac_status); }; }; then
5833 >  ac_cv_lib_mpi_MPI_Init=yes
5834 > else
5835 >  echo "$as_me: failed program was:" >&5
5836 > sed 's/^/| /' conftest.$ac_ext >&5
5837 >
5838 > ac_cv_lib_mpi_MPI_Init=no
5839 > fi
5840 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5841 > LIBS=$ac_check_lib_save_LIBS
5842 > fi
5843 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5844 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5845 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5846 >  MPI_LIB="-lmpi -llam"
5847 > fi
5848 >
5849 > fi
5850 >
5851 > $as_unset ac_cv_lib_mpi_MPI_Init
5852 > if test x = x"$MPI_LIB"; then
5853 >   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5854 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5855 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5856 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5857 > else
5858 >  ac_check_lib_save_LIBS=$LIBS
5859 > LIBS="-lmpi -llam -lpthread $LIBS"
5860 > cat >conftest.$ac_ext <<_ACEOF
5861 > #line $LINENO "configure"
5862 > /* confdefs.h.  */
5863 > _ACEOF
5864 > cat confdefs.h >>conftest.$ac_ext
5865 > cat >>conftest.$ac_ext <<_ACEOF
5866 > /* end confdefs.h.  */
5867 >
5868 > /* Override any gcc2 internal prototype to avoid an error.  */
5869 > #ifdef __cplusplus
5870 > extern "C"
5871 > #endif
5872 > /* We use char because int might match the return type of a gcc2
5873 >   builtin and then its argument prototype would still apply.  */
5874 > char MPI_Init ();
5875 > int
5876 > main ()
5877 > {
5878 > MPI_Init ();
5879 >  ;
5880 >  return 0;
5881 > }
5882 > _ACEOF
5883 > rm -f conftest.$ac_objext conftest$ac_exeext
5884 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5885 >  (eval $ac_link) 2>&5
5886 >  ac_status=$?
5887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 >  (exit $ac_status); } &&
5889 >         { ac_try='test -s conftest$ac_exeext'
5890 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5891 >  (eval $ac_try) 2>&5
5892 >  ac_status=$?
5893 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 >  (exit $ac_status); }; }; then
5895 >  ac_cv_lib_mpi_MPI_Init=yes
5896 > else
5897 >  echo "$as_me: failed program was:" >&5
5898 > sed 's/^/| /' conftest.$ac_ext >&5
5899 >
5900 > ac_cv_lib_mpi_MPI_Init=no
5901 > fi
5902 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5903 > LIBS=$ac_check_lib_save_LIBS
5904 > fi
5905 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5906 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5907 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5908 >  MPI_LIB="-lmpi -llam -lpthread"
5909 > else
5910 >  { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
5911 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
5912 >   { (exit 1); exit 1; }; }
5913 > fi
5914 >
5915 > fi
5916 >
5917 > echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5918   echo "${ECHO_T}found $MPI_LIB" >&6
5919 <  ;;
5920 < esac
5919 >
5920 >
5921 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
5922 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
5923 > MPI_F90LIB=""
5924 > if test -f "$MPI_LIBDIR/libfmpich.a" ; then
5925 >  MPI_F90LIB="-lfmpich"
5926 > elif test -f "$MPI_LIBDIR/liblamf77mpi.a" ; then
5927 >  MPI_F90LIB="-llamf77mpi"
5928 > else
5929 >  # nothing special found, we'll assume that the C library is all we need
5930 >  MPI_F90LIB="  "
5931 > fi
5932 > echo "$as_me:$LINENO: result: found $MPI_F90LIB" >&5
5933 > echo "${ECHO_T}found $MPI_F90LIB" >&6
5934  
5935  
5936  
5937 +
5938   ac_ext=c
5939   ac_cpp='$CPP $CPPFLAGS'
5940   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5962 | Line 5963 | do
5963    # On the NeXT, cc -E runs the code through the compiler's parser,
5964    # not just through cpp. "Syntax error" is here to catch this case.
5965    cat >conftest.$ac_ext <<_ACEOF
5966 + #line $LINENO "configure"
5967   /* confdefs.h.  */
5968   _ACEOF
5969   cat confdefs.h >>conftest.$ac_ext
# Line 5972 | Line 5974 | cat >>conftest.$ac_ext <<_ACEOF
5974   #else
5975   # include <assert.h>
5976   #endif
5977 <                     Syntax error
5977 >                     Syntax error
5978   _ACEOF
5979   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5980    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5984 | Line 5986 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5986    (exit $ac_status); } >/dev/null; then
5987    if test -s conftest.err; then
5988      ac_cpp_err=$ac_c_preproc_warn_flag
5987    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5989    else
5990      ac_cpp_err=
5991    fi
# Line 6005 | Line 6006 | rm -f conftest.err conftest.$ac_ext
6006    # OK, works on sane cases.  Now check whether non-existent headers
6007    # can be detected and how.
6008    cat >conftest.$ac_ext <<_ACEOF
6009 + #line $LINENO "configure"
6010   /* confdefs.h.  */
6011   _ACEOF
6012   cat confdefs.h >>conftest.$ac_ext
# Line 6022 | Line 6024 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6024    (exit $ac_status); } >/dev/null; then
6025    if test -s conftest.err; then
6026      ac_cpp_err=$ac_c_preproc_warn_flag
6025    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6027    else
6028      ac_cpp_err=
6029    fi
# Line 6069 | Line 6070 | do
6070    # On the NeXT, cc -E runs the code through the compiler's parser,
6071    # not just through cpp. "Syntax error" is here to catch this case.
6072    cat >conftest.$ac_ext <<_ACEOF
6073 + #line $LINENO "configure"
6074   /* confdefs.h.  */
6075   _ACEOF
6076   cat confdefs.h >>conftest.$ac_ext
# Line 6079 | Line 6081 | cat >>conftest.$ac_ext <<_ACEOF
6081   #else
6082   # include <assert.h>
6083   #endif
6084 <                     Syntax error
6084 >                     Syntax error
6085   _ACEOF
6086   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6087    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 6091 | Line 6093 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6093    (exit $ac_status); } >/dev/null; then
6094    if test -s conftest.err; then
6095      ac_cpp_err=$ac_c_preproc_warn_flag
6094    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6096    else
6097      ac_cpp_err=
6098    fi
# Line 6112 | Line 6113 | rm -f conftest.err conftest.$ac_ext
6113    # OK, works on sane cases.  Now check whether non-existent headers
6114    # can be detected and how.
6115    cat >conftest.$ac_ext <<_ACEOF
6116 + #line $LINENO "configure"
6117   /* confdefs.h.  */
6118   _ACEOF
6119   cat confdefs.h >>conftest.$ac_ext
# Line 6129 | Line 6131 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6131    (exit $ac_status); } >/dev/null; then
6132    if test -s conftest.err; then
6133      ac_cpp_err=$ac_c_preproc_warn_flag
6132    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6134    else
6135      ac_cpp_err=
6136    fi
# Line 6190 | Line 6191 | else
6191    echo $ECHO_N "(cached) $ECHO_C" >&6
6192   else
6193    cat >conftest.$ac_ext <<_ACEOF
6194 + #line $LINENO "configure"
6195   /* confdefs.h.  */
6196   _ACEOF
6197   cat confdefs.h >>conftest.$ac_ext
# Line 6210 | Line 6212 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6212   _ACEOF
6213   rm -f conftest.$ac_objext
6214   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6215 <  (eval $ac_compile) 2>conftest.er1
6215 >  (eval $ac_compile) 2>&5
6216    ac_status=$?
6215  grep -v '^ *+' conftest.er1 >conftest.err
6216  rm -f conftest.er1
6217  cat conftest.err >&5
6217    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218    (exit $ac_status); } &&
6219 <         { ac_try='test -z "$ac_c_werror_flag"
6221 <                         || test ! -s conftest.err'
6219 >         { ac_try='test -s conftest.$ac_objext'
6220    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221    (eval $ac_try) 2>&5
6222    ac_status=$?
6223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226  (exit $ac_status); }; } &&
6227         { ac_try='test -s conftest.$ac_objext'
6228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6229  (eval $ac_try) 2>&5
6230  ac_status=$?
6231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224    (exit $ac_status); }; }; then
6225    ac_cv_header_stdc=yes
6226   else
# Line 6237 | Line 6229 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6229  
6230   ac_cv_header_stdc=no
6231   fi
6232 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6232 > rm -f conftest.$ac_objext conftest.$ac_ext
6233  
6234   if test $ac_cv_header_stdc = yes; then
6235    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6236    cat >conftest.$ac_ext <<_ACEOF
6237 + #line $LINENO "configure"
6238   /* confdefs.h.  */
6239   _ACEOF
6240   cat confdefs.h >>conftest.$ac_ext
# Line 6263 | Line 6256 | if test $ac_cv_header_stdc = yes; then
6256   if test $ac_cv_header_stdc = yes; then
6257    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6258    cat >conftest.$ac_ext <<_ACEOF
6259 + #line $LINENO "configure"
6260   /* confdefs.h.  */
6261   _ACEOF
6262   cat confdefs.h >>conftest.$ac_ext
# Line 6287 | Line 6281 | else
6281    :
6282   else
6283    cat >conftest.$ac_ext <<_ACEOF
6284 + #line $LINENO "configure"
6285   /* confdefs.h.  */
6286   _ACEOF
6287   cat confdefs.h >>conftest.$ac_ext
# Line 6298 | Line 6293 | cat >>conftest.$ac_ext <<_ACEOF
6293   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6294   #else
6295   # define ISLOWER(c) \
6296 <                   (('a' <= (c) && (c) <= 'i') \
6297 <                     || ('j' <= (c) && (c) <= 'r') \
6298 <                     || ('s' <= (c) && (c) <= 'z'))
6296 >                   (('a' <= (c) && (c) <= 'i') \
6297 >                     || ('j' <= (c) && (c) <= 'r') \
6298 >                     || ('s' <= (c) && (c) <= 'z'))
6299   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6300   #endif
6301  
# Line 6311 | Line 6306 | main ()
6306    int i;
6307    for (i = 0; i < 256; i++)
6308      if (XOR (islower (i), ISLOWER (i))
6309 <        || toupper (i) != TOUPPER (i))
6309 >        || toupper (i) != TOUPPER (i))
6310        exit(2);
6311    exit (0);
6312   }
# Line 6336 | Line 6331 | rm -f core *.core gmon.out bb.out conftest$ac_exeext c
6331   ( exit $ac_status )
6332   ac_cv_header_stdc=no
6333   fi
6334 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6334 > rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6335   fi
6336   fi
6337   fi
# Line 6361 | Line 6356 | for ac_header in sys/types.h sys/stat.h stdlib.h strin
6356  
6357  
6358   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6359 <                  inttypes.h stdint.h unistd.h
6359 >                  inttypes.h stdint.h unistd.h
6360   do
6361   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6362   echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 6370 | Line 6365 | else
6365    echo $ECHO_N "(cached) $ECHO_C" >&6
6366   else
6367    cat >conftest.$ac_ext <<_ACEOF
6368 + #line $LINENO "configure"
6369   /* confdefs.h.  */
6370   _ACEOF
6371   cat confdefs.h >>conftest.$ac_ext
# Line 6381 | Line 6377 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6377   _ACEOF
6378   rm -f conftest.$ac_objext
6379   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380 <  (eval $ac_compile) 2>conftest.er1
6380 >  (eval $ac_compile) 2>&5
6381    ac_status=$?
6386  grep -v '^ *+' conftest.er1 >conftest.err
6387  rm -f conftest.er1
6388  cat conftest.err >&5
6382    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383    (exit $ac_status); } &&
6384 <         { ac_try='test -z "$ac_c_werror_flag"
6392 <                         || test ! -s conftest.err'
6393 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6394 <  (eval $ac_try) 2>&5
6395 <  ac_status=$?
6396 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 <  (exit $ac_status); }; } &&
6398 <         { ac_try='test -s conftest.$ac_objext'
6384 >         { ac_try='test -s conftest.$ac_objext'
6385    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386    (eval $ac_try) 2>&5
6387    ac_status=$?
# Line 6408 | Line 6394 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6394  
6395   eval "$as_ac_Header=no"
6396   fi
6397 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 > rm -f conftest.$ac_objext conftest.$ac_ext
6398   fi
6399   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6400   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 6512 | Line 6498 | cat >conftest.$ac_ext <<_ACEOF
6498   echo "$as_me:$LINENO: checking sprng.h usability" >&5
6499   echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6
6500   cat >conftest.$ac_ext <<_ACEOF
6501 + #line $LINENO "configure"
6502   /* confdefs.h.  */
6503   _ACEOF
6504   cat confdefs.h >>conftest.$ac_ext
# Line 6522 | Line 6509 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509   _ACEOF
6510   rm -f conftest.$ac_objext
6511   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 <  (eval $ac_compile) 2>conftest.er1
6512 >  (eval $ac_compile) 2>&5
6513    ac_status=$?
6527  grep -v '^ *+' conftest.er1 >conftest.err
6528  rm -f conftest.er1
6529  cat conftest.err >&5
6514    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515    (exit $ac_status); } &&
6516 <         { ac_try='test -z "$ac_c_werror_flag"
6533 <                         || test ! -s conftest.err'
6516 >         { ac_try='test -s conftest.$ac_objext'
6517    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518    (eval $ac_try) 2>&5
6519    ac_status=$?
6520    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538  (exit $ac_status); }; } &&
6539         { ac_try='test -s conftest.$ac_objext'
6540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541  (eval $ac_try) 2>&5
6542  ac_status=$?
6543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521    (exit $ac_status); }; }; then
6522    ac_header_compiler=yes
6523   else
# Line 6549 | Line 6526 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6526  
6527   ac_header_compiler=no
6528   fi
6529 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 > rm -f conftest.$ac_objext conftest.$ac_ext
6530   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6531   echo "${ECHO_T}$ac_header_compiler" >&6
6532  
# Line 6557 | Line 6534 | cat >conftest.$ac_ext <<_ACEOF
6534   echo "$as_me:$LINENO: checking sprng.h presence" >&5
6535   echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6
6536   cat >conftest.$ac_ext <<_ACEOF
6537 + #line $LINENO "configure"
6538   /* confdefs.h.  */
6539   _ACEOF
6540   cat confdefs.h >>conftest.$ac_ext
# Line 6574 | Line 6552 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6552    (exit $ac_status); } >/dev/null; then
6553    if test -s conftest.err; then
6554      ac_cpp_err=$ac_c_preproc_warn_flag
6577    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6555    else
6556      ac_cpp_err=
6557    fi
# Line 6594 | Line 6571 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
6571   echo "${ECHO_T}$ac_header_preproc" >&6
6572  
6573   # So?  What about this header?
6574 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6575 <  yes:no: )
6574 > case $ac_header_compiler:$ac_header_preproc in
6575 >  yes:no )
6576      { echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5
6577   echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6578 <    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the compiler's result" >&5
6579 < echo "$as_me: WARNING: sprng.h: proceeding with the compiler's result" >&2;}
6580 <    ac_header_preproc=yes
6578 >    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6579 > echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6580 >    (
6581 >      cat <<\_ASBOX
6582 > ## ------------------------------------ ##
6583 > ## Report this to bug-autoconf@gnu.org. ##
6584 > ## ------------------------------------ ##
6585 > _ASBOX
6586 >    ) |
6587 >      sed "s/^/$as_me: WARNING:     /" >&2
6588      ;;
6589 <  no:yes:* )
6589 >  no:yes )
6590      { echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5
6591   echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;}
6592 <    { echo "$as_me:$LINENO: WARNING: sprng.h:     check for missing prerequisite headers?" >&5
6593 < echo "$as_me: WARNING: sprng.h:     check for missing prerequisite headers?" >&2;}
6610 <    { echo "$as_me:$LINENO: WARNING: sprng.h: see the Autoconf documentation" >&5
6611 < echo "$as_me: WARNING: sprng.h: see the Autoconf documentation" >&2;}
6612 <    { echo "$as_me:$LINENO: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&5
6613 < echo "$as_me: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6592 >    { echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5
6593 > echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;}
6594      { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6595   echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6616    { echo "$as_me:$LINENO: WARNING: sprng.h: in the future, the compiler will take precedence" >&5
6617 echo "$as_me: WARNING: sprng.h: in the future, the compiler will take precedence" >&2;}
6596      (
6597        cat <<\_ASBOX
6598 < ## ------------------------------ ##
6599 < ## Report this to gezelter@nd.edu ##
6600 < ## ------------------------------ ##
6598 > ## ------------------------------------ ##
6599 > ## Report this to bug-autoconf@gnu.org. ##
6600 > ## ------------------------------------ ##
6601   _ASBOX
6602      ) |
6603        sed "s/^/$as_me: WARNING:     /" >&2
# Line 6646 | Line 6624 | cat >conftest.$ac_ext <<_ACEOF
6624    ac_check_lib_save_LIBS=$LIBS
6625   LIBS="-lsprng  $LIBS"
6626   cat >conftest.$ac_ext <<_ACEOF
6627 + #line $LINENO "configure"
6628   /* confdefs.h.  */
6629   _ACEOF
6630   cat confdefs.h >>conftest.$ac_ext
# Line 6669 | Line 6648 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6648   _ACEOF
6649   rm -f conftest.$ac_objext conftest$ac_exeext
6650   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6651 <  (eval $ac_link) 2>conftest.er1
6651 >  (eval $ac_link) 2>&5
6652    ac_status=$?
6674  grep -v '^ *+' conftest.er1 >conftest.err
6675  rm -f conftest.er1
6676  cat conftest.err >&5
6653    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654    (exit $ac_status); } &&
6655 <         { ac_try='test -z "$ac_c_werror_flag"
6680 <                         || test ! -s conftest.err'
6655 >         { ac_try='test -s conftest$ac_exeext'
6656    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657    (eval $ac_try) 2>&5
6658    ac_status=$?
6659    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685  (exit $ac_status); }; } &&
6686         { ac_try='test -s conftest$ac_exeext'
6687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688  (eval $ac_try) 2>&5
6689  ac_status=$?
6690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660    (exit $ac_status); }; }; then
6661    ac_cv_lib_sprng_init_rng=yes
6662   else
# Line 6696 | Line 6665 | rm -f conftest.err conftest.$ac_objext \
6665  
6666   ac_cv_lib_sprng_init_rng=no
6667   fi
6668 < rm -f conftest.err conftest.$ac_objext \
6700 <      conftest$ac_exeext conftest.$ac_ext
6668 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6669   LIBS=$ac_check_lib_save_LIBS
6670   fi
6671   echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
# Line 6713 | Line 6681 | fi
6681  
6682    CPPFLAGS=$ac_save_CPPFLAGS
6683    LDFLAGS=$ac_save_LDFLAGS
6684 <  ac_ext=f90
6685 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6686 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6684 >  ac_ext=c
6685 > ac_cpp='$CPP $CPPFLAGS'
6686 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6687 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6688 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6689  
6690  
6691    if test x_$HAVE_SPRNG != x_yes; then
# Line 6737 | Line 6706 | echo "${ECHO_T}yes" >&6
6706    withval="$with_mkl"
6707       echo "$as_me:$LINENO: result: yes" >&5
6708   echo "${ECHO_T}yes" >&6
6709 <    for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
6709 >    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
6710          mkldir="$dir"
6711          if test -f "$dir/include/mkl.h"; then
6712              found_mkl="yes";
# Line 6777 | Line 6746 | cat >conftest.$ac_ext <<_ACEOF
6746   echo "$as_me:$LINENO: checking mkl.h usability" >&5
6747   echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
6748   cat >conftest.$ac_ext <<_ACEOF
6749 + #line $LINENO "configure"
6750   /* confdefs.h.  */
6751   _ACEOF
6752   cat confdefs.h >>conftest.$ac_ext
# Line 6787 | Line 6757 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6757   _ACEOF
6758   rm -f conftest.$ac_objext
6759   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6760 <  (eval $ac_compile) 2>conftest.er1
6760 >  (eval $ac_compile) 2>&5
6761    ac_status=$?
6792  grep -v '^ *+' conftest.er1 >conftest.err
6793  rm -f conftest.er1
6794  cat conftest.err >&5
6762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763    (exit $ac_status); } &&
6764 <         { ac_try='test -z "$ac_c_werror_flag"
6798 <                         || test ! -s conftest.err'
6764 >         { ac_try='test -s conftest.$ac_objext'
6765    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766    (eval $ac_try) 2>&5
6767    ac_status=$?
6768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803  (exit $ac_status); }; } &&
6804         { ac_try='test -s conftest.$ac_objext'
6805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806  (eval $ac_try) 2>&5
6807  ac_status=$?
6808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769    (exit $ac_status); }; }; then
6770    ac_header_compiler=yes
6771   else
# Line 6814 | Line 6774 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6774  
6775   ac_header_compiler=no
6776   fi
6777 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6777 > rm -f conftest.$ac_objext conftest.$ac_ext
6778   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6779   echo "${ECHO_T}$ac_header_compiler" >&6
6780  
# Line 6822 | Line 6782 | cat >conftest.$ac_ext <<_ACEOF
6782   echo "$as_me:$LINENO: checking mkl.h presence" >&5
6783   echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
6784   cat >conftest.$ac_ext <<_ACEOF
6785 + #line $LINENO "configure"
6786   /* confdefs.h.  */
6787   _ACEOF
6788   cat confdefs.h >>conftest.$ac_ext
# Line 6839 | Line 6800 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6800    (exit $ac_status); } >/dev/null; then
6801    if test -s conftest.err; then
6802      ac_cpp_err=$ac_c_preproc_warn_flag
6842    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6803    else
6804      ac_cpp_err=
6805    fi
# Line 6859 | Line 6819 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
6819   echo "${ECHO_T}$ac_header_preproc" >&6
6820  
6821   # So?  What about this header?
6822 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6823 <  yes:no: )
6822 > case $ac_header_compiler:$ac_header_preproc in
6823 >  yes:no )
6824      { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6825   echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6826 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
6827 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
6828 <    ac_header_preproc=yes
6826 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6827 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6828 >    (
6829 >      cat <<\_ASBOX
6830 > ## ------------------------------------ ##
6831 > ## Report this to bug-autoconf@gnu.org. ##
6832 > ## ------------------------------------ ##
6833 > _ASBOX
6834 >    ) |
6835 >      sed "s/^/$as_me: WARNING:     /" >&2
6836      ;;
6837 <  no:yes:* )
6837 >  no:yes )
6838      { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
6839   echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
6840 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
6841 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
6875 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
6876 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
6877 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
6878 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6840 >    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
6841 > echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
6842      { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6843   echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6881    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
6882 echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
6844      (
6845        cat <<\_ASBOX
6846 < ## ------------------------------ ##
6847 < ## Report this to gezelter@nd.edu ##
6848 < ## ------------------------------ ##
6846 > ## ------------------------------------ ##
6847 > ## Report this to bug-autoconf@gnu.org. ##
6848 > ## ------------------------------------ ##
6849   _ASBOX
6850      ) |
6851        sed "s/^/$as_me: WARNING:     /" >&2
# Line 6911 | Line 6872 | cat >conftest.$ac_ext <<_ACEOF
6872    ac_check_lib_save_LIBS=$LIBS
6873   LIBS="-lmkl  $LIBS"
6874   cat >conftest.$ac_ext <<_ACEOF
6875 + #line $LINENO "configure"
6876   /* confdefs.h.  */
6877   _ACEOF
6878   cat confdefs.h >>conftest.$ac_ext
# Line 6934 | Line 6896 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6896   _ACEOF
6897   rm -f conftest.$ac_objext conftest$ac_exeext
6898   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899 <  (eval $ac_link) 2>conftest.er1
6899 >  (eval $ac_link) 2>&5
6900    ac_status=$?
6939  grep -v '^ *+' conftest.er1 >conftest.err
6940  rm -f conftest.er1
6941  cat conftest.err >&5
6901    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902    (exit $ac_status); } &&
6903 <         { ac_try='test -z "$ac_c_werror_flag"
6945 <                         || test ! -s conftest.err'
6903 >         { ac_try='test -s conftest$ac_exeext'
6904    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905    (eval $ac_try) 2>&5
6906    ac_status=$?
6907    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950  (exit $ac_status); }; } &&
6951         { ac_try='test -s conftest$ac_exeext'
6952  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953  (eval $ac_try) 2>&5
6954  ac_status=$?
6955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908    (exit $ac_status); }; }; then
6909    ac_cv_lib_mkl_vslNewStream=yes
6910   else
# Line 6961 | Line 6913 | rm -f conftest.err conftest.$ac_objext \
6913  
6914   ac_cv_lib_mkl_vslNewStream=no
6915   fi
6916 < rm -f conftest.err conftest.$ac_objext \
6965 <      conftest$ac_exeext conftest.$ac_ext
6916 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6917   LIBS=$ac_check_lib_save_LIBS
6918   fi
6919   echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
# Line 6981 | Line 6932 | fi
6932  
6933    CPPFLAGS=$ac_save_CPPFLAGS
6934    LDFLAGS=$ac_save_LDFLAGS
6935 <  ac_ext=f90
6936 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6937 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6938 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6935 >  ac_ext=c
6936 > ac_cpp='$CPP $CPPFLAGS'
6937 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6938 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6939 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6940  
6941  
6942    if test x_$HAVE_MKL != x_yes; then
# Line 7031 | Line 6983 | SUBDIRS="libBASS libmdtools src forceFields samples ut
6983  
6984   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
6985  
6986 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps third-party"
6986 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps third-party shapes"
6987  
6988   CFLAGS=${CFLAGS-""}
6989   CXXFLAGS=${CXXFLAGS-""}
# Line 7068 | Line 7020 | esac
7020  
7021            ac_config_headers="$ac_config_headers libmdtools/config.h"
7022  
7023 <                                                                                                                                                                ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
7023 >                                                                                                                                                                          ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile shapes/Makefile"
7024  
7025  
7026   cat >confcache <<\_ACEOF
# Line 7099 | Line 7051 | _ACEOF
7051        # `set' does not quote correctly, so add quotes (double-quote
7052        # substitution turns \\\\ into \\, and sed turns \\ into \).
7053        sed -n \
7054 <        "s/'/'\\\\''/g;
7055 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7054 >        "s/'/'\\\\''/g;
7055 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7056        ;;
7057      *)
7058        # `set' quotes correctly as required by POSIX, so do not add quotes.
7059        sed -n \
7060 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7060 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7061        ;;
7062      esac;
7063   } |
# Line 7135 | Line 7087 | if test "x$srcdir" = x.; then
7087   # trailing colons and then remove the whole line if VPATH becomes empty
7088   # (actually we leave an empty line to preserve line numbers).
7089   if test "x$srcdir" = x.; then
7090 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7090 >  ac_vpsub='/^[         ]*VPATH[        ]*=/{
7091   s/:*\$(srcdir):*/:/;
7092   s/:*\${srcdir}:*/:/;
7093   s/:*@srcdir@:*/:/;
7094 < s/^\([^=]*=[     ]*\):*/\1/;
7094 > s/^\([^=]*=[    ]*\):*/\1/;
7095   s/:*$//;
7096 < s/^[^=]*=[       ]*$//;
7096 > s/^[^=]*=[      ]*$//;
7097   }'
7098   fi
7099  
# Line 7152 | Line 7104 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
7104   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7105    # 1. Remove the extension, and $U if already installed.
7106    ac_i=`echo "$ac_i" |
7107 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7107 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7108    # 2. Add them.
7109    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7110    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 7196 | Line 7148 | DUALCASE=1; export DUALCASE # for MKS sh
7148   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7149    set -o posix
7150   fi
7199 DUALCASE=1; export DUALCASE # for MKS sh
7151  
7152   # Support unset when possible.
7153 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7153 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
7154    as_unset=unset
7155   else
7156    as_unset=false
# Line 7218 | Line 7169 | do
7169    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7170    LC_TELEPHONE LC_TIME
7171   do
7172 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7172 >  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
7173      eval $as_var=C; export $as_var
7174    else
7175      $as_unset $as_var
# Line 7397 | Line 7348 | else
7348   if mkdir -p . 2>/dev/null; then
7349    as_mkdir_p=:
7350   else
7400  test -d ./-p && rmdir ./-p
7351    as_mkdir_p=false
7352   fi
7353  
7354   as_executable_p="test -f"
7355  
7356   # Sed expression to map a string onto a valid CPP name.
7357 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7357 > as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7358  
7359   # Sed expression to map a string onto a valid variable name.
7360 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7360 > as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7361  
7362  
7363   # IFS
# Line 7434 | Line 7384 | generated by GNU Autoconf 2.59.  Invocation command li
7384   cat >&5 <<_CSEOF
7385  
7386   This file was extended by OOPSE $as_me 1.0, which was
7387 < generated by GNU Autoconf 2.59.  Invocation command line was
7387 > generated by GNU Autoconf 2.57.  Invocation command line was
7388  
7389    CONFIG_FILES    = $CONFIG_FILES
7390    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 7478 | Line 7428 | Usage: $0 [OPTIONS] [FILE]...
7428    -d, --debug      don't remove temporary files
7429        --recheck    update $as_me by reconfiguring in the same conditions
7430    --file=FILE[:TEMPLATE]
7431 <                   instantiate the configuration file FILE
7431 >                   instantiate the configuration file FILE
7432    --header=FILE[:TEMPLATE]
7433 <                   instantiate the configuration header FILE
7433 >                   instantiate the configuration header FILE
7434  
7435   Configuration files:
7436   $config_files
# Line 7494 | Line 7444 | configured by $0, generated by GNU Autoconf 2.59,
7444   cat >>$CONFIG_STATUS <<_ACEOF
7445   ac_cs_version="\\
7446   OOPSE config.status 1.0
7447 < configured by $0, generated by GNU Autoconf 2.59,
7447 > configured by $0, generated by GNU Autoconf 2.57,
7448    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7449  
7450 < Copyright (C) 2003 Free Software Foundation, Inc.
7450 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7451 > Free Software Foundation, Inc.
7452   This config.status script is free software; the Free Software Foundation
7453   gives unlimited permission to copy, distribute and modify it."
7454   srcdir=$srcdir
# Line 7612 | Line 7563 | do
7563    "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
7564    "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
7565    "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
7566 +  "shapes/Makefile" ) CONFIG_FILES="$CONFIG_FILES shapes/Makefile" ;;
7567    "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7568    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7569   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
# Line 7746 | Line 7698 | s,@MPI_LIB@,$MPI_LIB,;t t
7698   s,@mpi@,$mpi,;t t
7699   s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t
7700   s,@MPI_INC@,$MPI_INC,;t t
7701 + s,@MPI_F90INC@,$MPI_F90INC,;t t
7702   s,@MPI_LIB@,$MPI_LIB,;t t
7703 + s,@MPI_F90LIB@,$MPI_F90LIB,;t t
7704   s,@CPP@,$CPP,;t t
7705   s,@EGREP@,$EGREP,;t t
7706   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
# Line 7794 | Line 7748 | _ACEOF
7748        (echo ':t
7749    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7750        if test -z "$ac_sed_cmds"; then
7751 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7751 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7752        else
7753 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7753 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7754        fi
7755        ac_sed_frag=`expr $ac_sed_frag + 1`
7756        ac_beg=$ac_end
# Line 7814 | Line 7768 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
7768    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7769    case $ac_file in
7770    - | *:- | *:-:* ) # input from stdin
7771 <        cat >$tmp/stdin
7772 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7773 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7771 >        cat >$tmp/stdin
7772 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7773 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7774    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7775 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7775 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7776    * )   ac_file_in=$ac_file.in ;;
7777    esac
7778  
7779    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7780    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7781   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7782 <         X"$ac_file" : 'X\(//\)[^/]' \| \
7783 <         X"$ac_file" : 'X\(//\)$' \| \
7784 <         X"$ac_file" : 'X\(/\)' \| \
7785 <         .     : '\(.\)' 2>/dev/null ||
7782 >         X"$ac_file" : 'X\(//\)[^/]' \| \
7783 >         X"$ac_file" : 'X\(//\)$' \| \
7784 >         X"$ac_file" : 'X\(/\)' \| \
7785 >         .     : '\(.\)' 2>/dev/null ||
7786   echo X"$ac_file" |
7787      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7788            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 7844 | Line 7798 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
7798        as_dirs="$as_dir $as_dirs"
7799        as_dir=`(dirname "$as_dir") 2>/dev/null ||
7800   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7801 <         X"$as_dir" : 'X\(//\)[^/]' \| \
7802 <         X"$as_dir" : 'X\(//\)$' \| \
7803 <         X"$as_dir" : 'X\(/\)' \| \
7804 <         .     : '\(.\)' 2>/dev/null ||
7801 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7802 >         X"$as_dir" : 'X\(//\)$' \| \
7803 >         X"$as_dir" : 'X\(/\)' \| \
7804 >         .     : '\(.\)' 2>/dev/null ||
7805   echo X"$as_dir" |
7806      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7807            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 7885 | Line 7839 | esac
7839      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7840      ac_top_srcdir=$ac_top_builddir$srcdir ;;
7841   esac
7842 + # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7843 + # absolute.
7844 + ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7845 + ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7846 + ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7847 + ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7848  
7889 # Do not use `cd foo && pwd` to compute absolute paths, because
7890 # the directories may not exist.
7891 case `pwd` in
7892 .) ac_abs_builddir="$ac_dir";;
7893 *)
7894  case "$ac_dir" in
7895  .) ac_abs_builddir=`pwd`;;
7896  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7897  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7898  esac;;
7899 esac
7900 case $ac_abs_builddir in
7901 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7902 *)
7903  case ${ac_top_builddir}. in
7904  .) ac_abs_top_builddir=$ac_abs_builddir;;
7905  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7906  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7907  esac;;
7908 esac
7909 case $ac_abs_builddir in
7910 .) ac_abs_srcdir=$ac_srcdir;;
7911 *)
7912  case $ac_srcdir in
7913  .) ac_abs_srcdir=$ac_abs_builddir;;
7914  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7915  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7916  esac;;
7917 esac
7918 case $ac_abs_builddir in
7919 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7920 *)
7921  case $ac_top_srcdir in
7922  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7923  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7924  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7925  esac;;
7926 esac
7849  
7928
7850    case $INSTALL in
7851    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7852    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
# Line 7945 | Line 7866 | echo "$as_me: creating $ac_file" >&6;}
7866      configure_input="$ac_file.  "
7867    fi
7868    configure_input=$configure_input"Generated from `echo $ac_file_in |
7869 <                                     sed 's,.*/,,'` by configure."
7869 >                                     sed 's,.*/,,'` by configure."
7870  
7871    # First look for the input files in the build tree, otherwise in the
7872    # src tree.
# Line 7954 | Line 7875 | echo "$as_me: creating $ac_file" >&6;}
7875        case $f in
7876        -) echo $tmp/stdin ;;
7877        [\\/$]*)
7878 <         # Absolute (can't be DOS-style, as IFS=:)
7879 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7878 >         # Absolute (can't be DOS-style, as IFS=:)
7879 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7880   echo "$as_me: error: cannot find input file: $f" >&2;}
7881     { (exit 1); exit 1; }; }
7882 <         echo "$f";;
7882 >         echo $f;;
7883        *) # Relative
7884 <         if test -f "$f"; then
7885 <           # Build tree
7886 <           echo "$f"
7887 <         elif test -f "$srcdir/$f"; then
7888 <           # Source tree
7889 <           echo "$srcdir/$f"
7890 <         else
7891 <           # /dev/null tree
7892 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7884 >         if test -f "$f"; then
7885 >           # Build tree
7886 >           echo $f
7887 >         elif test -f "$srcdir/$f"; then
7888 >           # Source tree
7889 >           echo $srcdir/$f
7890 >         else
7891 >           # /dev/null tree
7892 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7893   echo "$as_me: error: cannot find input file: $f" >&2;}
7894     { (exit 1); exit 1; }; }
7895 <         fi;;
7895 >         fi;;
7896        esac
7897      done` || { (exit 1); exit 1; }
7898   _ACEOF
# Line 8013 | Line 7934 | ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7934   # NAME is the cpp macro being defined and VALUE is the value it is being given.
7935   #
7936   # ac_d sets the value in "#define NAME VALUE" lines.
7937 < ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
7938 < ac_dB='[         ].*$,\1#\2'
7937 > ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7938 > ac_dB='[        ].*$,\1#\2'
7939   ac_dC=' '
7940   ac_dD=',;t'
7941   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7942 < ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7942 > ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7943   ac_uB='$,\1#\2define\3'
7944   ac_uC=' '
7945   ac_uD=',;t'
# Line 8027 | Line 7948 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7948    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7949    case $ac_file in
7950    - | *:- | *:-:* ) # input from stdin
7951 <        cat >$tmp/stdin
7952 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7953 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7951 >        cat >$tmp/stdin
7952 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7953 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7954    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7955 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7955 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7956    * )   ac_file_in=$ac_file.in ;;
7957    esac
7958  
# Line 8045 | Line 7966 | echo "$as_me: creating $ac_file" >&6;}
7966        case $f in
7967        -) echo $tmp/stdin ;;
7968        [\\/$]*)
7969 <         # Absolute (can't be DOS-style, as IFS=:)
7970 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7969 >         # Absolute (can't be DOS-style, as IFS=:)
7970 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7971   echo "$as_me: error: cannot find input file: $f" >&2;}
7972     { (exit 1); exit 1; }; }
7973 <         # Do quote $f, to prevent DOS paths from being IFS'd.
8053 <         echo "$f";;
7973 >         echo $f;;
7974        *) # Relative
7975 <         if test -f "$f"; then
7976 <           # Build tree
7977 <           echo "$f"
7978 <         elif test -f "$srcdir/$f"; then
7979 <           # Source tree
7980 <           echo "$srcdir/$f"
7981 <         else
7982 <           # /dev/null tree
7983 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7975 >         if test -f "$f"; then
7976 >           # Build tree
7977 >           echo $f
7978 >         elif test -f "$srcdir/$f"; then
7979 >           # Source tree
7980 >           echo $srcdir/$f
7981 >         else
7982 >           # /dev/null tree
7983 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7984   echo "$as_me: error: cannot find input file: $f" >&2;}
7985     { (exit 1); exit 1; }; }
7986 <         fi;;
7986 >         fi;;
7987        esac
7988      done` || { (exit 1); exit 1; }
7989    # Remove the trailing spaces.
7990 <  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
7990 >  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7991  
7992   _ACEOF
7993  
# Line 8090 | Line 8010 | s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*
8010   s,[\\$`],\\&,g
8011   t clear
8012   : clear
8013 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8013 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8014   t end
8015 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8015 > s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8016   : end
8017   _ACEOF
8018   # If some macros were called several times there might be several times
# Line 8106 | Line 8026 | s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/*
8026   # example, in the case of _POSIX_SOURCE, which is predefined and required
8027   # on some systems where configure will not decide to define it.
8028   cat >>conftest.undefs <<\_ACEOF
8029 < s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8029 > s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8030   _ACEOF
8031  
8032   # Break up conftest.defines because some shells have a limit on the size
8033   # of here documents, and old seds have small limits too (100 cmds).
8034   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8035 < echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8035 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8036   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8037   echo '  :' >>$CONFIG_STATUS
8038   rm -f conftest.tail
# Line 8121 | Line 8041 | do
8041    # Write a limited-size here document to $tmp/defines.sed.
8042    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8043    # Speed up: don't consider the non `#define' lines.
8044 <  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
8044 >  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
8045    # Work around the forget-to-reset-the-flag bug.
8046    echo 't clr' >>$CONFIG_STATUS
8047    echo ': clr' >>$CONFIG_STATUS
# Line 8148 | Line 8068 | do
8068    # Write a limited-size here document to $tmp/undefs.sed.
8069    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8070    # Speed up: don't consider the non `#undef'
8071 <  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8071 >  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8072    # Work around the forget-to-reset-the-flag bug.
8073    echo 't clr' >>$CONFIG_STATUS
8074    echo ': clr' >>$CONFIG_STATUS
# Line 8182 | Line 8102 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
8102      else
8103        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8104   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8105 <         X"$ac_file" : 'X\(//\)[^/]' \| \
8106 <         X"$ac_file" : 'X\(//\)$' \| \
8107 <         X"$ac_file" : 'X\(/\)' \| \
8108 <         .     : '\(.\)' 2>/dev/null ||
8105 >         X"$ac_file" : 'X\(//\)[^/]' \| \
8106 >         X"$ac_file" : 'X\(//\)$' \| \
8107 >         X"$ac_file" : 'X\(/\)' \| \
8108 >         .     : '\(.\)' 2>/dev/null ||
8109   echo X"$ac_file" |
8110      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8111            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8201 | Line 8121 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
8121        as_dirs="$as_dir $as_dirs"
8122        as_dir=`(dirname "$as_dir") 2>/dev/null ||
8123   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8124 <         X"$as_dir" : 'X\(//\)[^/]' \| \
8125 <         X"$as_dir" : 'X\(//\)$' \| \
8126 <         X"$as_dir" : 'X\(/\)' \| \
8127 <         .     : '\(.\)' 2>/dev/null ||
8124 >         X"$as_dir" : 'X\(//\)[^/]' \| \
8125 >         X"$as_dir" : 'X\(//\)$' \| \
8126 >         X"$as_dir" : 'X\(/\)' \| \
8127 >         .     : '\(.\)' 2>/dev/null ||
8128   echo X"$as_dir" |
8129      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8130            /^X\(\/\/\)[^/].*/{ s//\1/; q; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines