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 944 by gezelter, Wed Jan 14 22:41:34 2004 UTC vs.
Revision 1323 by gezelter, Wed Jul 14 20:11:29 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_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'
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_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI 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 871 | Line 870 | Optional Packages:
870   Optional Packages:
871    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
872    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
873 <  --with-mpi=MPIDIR   give the path for MPI /usr/local
875 <  --with-mpi-libdir=dir  give the path for MPI-libraries MPI_DIR/lib
876 <  --with-mpi-inc=dir  give the path for MPI-include-files MPI_DIR/include
873 >  --with-mpi=<prefix>     compile with MPI libraries in <prefix> [default=no]
874    --with-sprng_prefix=PREFIX
875                            Prefix where SPRNG is installed
876    --with-sprng-libdir=PREFIX  SPRNG library directory
# Line 931 | Line 928 | esac
928      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
929      ac_top_srcdir=$ac_top_builddir$srcdir ;;
930   esac
931 <
932 < # Do not use `cd foo && pwd` to compute absolute paths, because
933 < # the directories may not exist.
934 < case `pwd` in
935 < .) ac_abs_builddir="$ac_dir";;
936 < *)
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
931 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
932 > # absolute.
933 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
934 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
935 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
936 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
937  
938      cd $ac_dir
939      # Check for guested configure; otherwise get Cygnus style configure.
# Line 980 | Line 944 | esac
944        echo
945        $SHELL $ac_srcdir/configure  --help=recursive
946      elif test -f $ac_srcdir/configure.ac ||
947 <           test -f $ac_srcdir/configure.in; then
947 >           test -f $ac_srcdir/configure.in; then
948        echo
949        $ac_configure --help
950      else
# Line 994 | Line 958 | generated by GNU Autoconf 2.59
958   if $ac_init_version; then
959    cat <<\_ACEOF
960   OOPSE configure 1.0
961 < generated by GNU Autoconf 2.59
961 > generated by GNU Autoconf 2.57
962  
963 < Copyright (C) 2003 Free Software Foundation, Inc.
963 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
964 > Free Software Foundation, Inc.
965   This configure script is free software; the Free Software Foundation
966   gives unlimited permission to copy, distribute and modify it.
967   _ACEOF
# Line 1008 | Line 973 | generated by GNU Autoconf 2.59.  Invocation command li
973   running configure, to aid debugging if configure makes a mistake.
974  
975   It was created by OOPSE $as_me 1.0, which was
976 < generated by GNU Autoconf 2.59.  Invocation command line was
976 > generated by GNU Autoconf 2.57.  Invocation command line was
977  
978    $ $0 $@
979  
# Line 1085 | Line 1050 | do
1050      2)
1051        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1052        if test $ac_must_keep_next = true; then
1053 <        ac_must_keep_next=false # Got value, back to normal.
1053 >        ac_must_keep_next=false # Got value, back to normal.
1054        else
1055 <        case $ac_arg in
1056 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1057 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059 <          | -with-* | --with-* | -without-* | --without-* | --x)
1060 <            case "$ac_configure_args0 " in
1061 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1062 <            esac
1063 <            ;;
1064 <          -* ) ac_must_keep_next=true ;;
1065 <        esac
1055 >        case $ac_arg in
1056 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1057 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059 >          | -with-* | --with-* | -without-* | --without-* | --x)
1060 >            case "$ac_configure_args0 " in
1061 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1062 >            esac
1063 >            ;;
1064 >          -* ) ac_must_keep_next=true ;;
1065 >        esac
1066        fi
1067        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1068        # Get rid of the leading space.
# Line 1131 | Line 1096 | _ASBOX
1096      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1097      *ac_space=\ *)
1098        sed -n \
1099 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1099 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101        ;;
1102      *)
1103        sed -n \
1104 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1105        ;;
1106      esac;
1107   }
# Line 1165 | Line 1130 | _ASBOX
1130        for ac_var in $ac_subst_files
1131        do
1132          eval ac_val=$`echo $ac_var`
1133 <        echo "$ac_var='"'"'$ac_val'"'"'"
1133 >        echo "$ac_var='"'"'$ac_val'"'"'"
1134        done | sort
1135        echo
1136      fi
# Line 1184 | Line 1149 | _ASBOX
1149        echo "$as_me: caught signal $ac_signal"
1150      echo "$as_me: exit $exit_status"
1151    } >&5
1152 <  rm -f core *.core &&
1152 >  rm -f core core.* *.core &&
1153    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1154      exit $exit_status
1155       ' 0
# Line 1264 | Line 1229 | for ac_var in `(set) 2>&1 |
1229   # value.
1230   ac_cache_corrupted=false
1231   for ac_var in `(set) 2>&1 |
1232 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1232 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1233    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1234    eval ac_new_set=\$ac_env_${ac_var}_set
1235    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1281 | Line 1246 | echo "$as_me: error: \`$ac_var' was not set in the pre
1246      ,);;
1247      *)
1248        if test "x$ac_old_val" != "x$ac_new_val"; then
1249 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1249 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1250   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1251 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1252 < echo "$as_me:   former value:  $ac_old_val" >&2;}
1253 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1251 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1252 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1253 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1254   echo "$as_me:   current value: $ac_new_val" >&2;}
1255 <        ac_cache_corrupted=:
1255 >        ac_cache_corrupted=:
1256        fi;;
1257    esac
1258    # Pass precious variables to config.status.
# Line 1818 | Line 1783 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1783   # $SHELLVAR to the Fortran 95 mangled name.  If the SHELLVAR
1784   # argument is not supplied, it defaults to NAME.
1785   # AC_F95_FUNC
1821
1786  
1787  
1788  
# Line 2068 | Line 2032 | cat >conftest.$ac_ext <<_ACEOF
2032    (exit $ac_status); }
2033  
2034   cat >conftest.$ac_ext <<_ACEOF
2035 + #line $LINENO "configure"
2036   /* confdefs.h.  */
2037   _ACEOF
2038   cat confdefs.h >>conftest.$ac_ext
# Line 2087 | Line 2052 | echo "$as_me:$LINENO: checking for C compiler default
2052   # Try to create an executable without -o first, disregard a.out.
2053   # It will help us diagnose broken compilers, and finding out an intuition
2054   # of exeext.
2055 < echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2056 < echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2055 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2056 > echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2057   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2058   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2059    (eval $ac_link_default) 2>&5
# Line 2108 | Line 2073 | do
2073    test -f "$ac_file" || continue
2074    case $ac_file in
2075      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2076 <        ;;
2076 >        ;;
2077      conftest.$ac_ext )
2078 <        # This is the source file.
2079 <        ;;
2078 >        # This is the source file.
2079 >        ;;
2080      [ab].out )
2081 <        # We found the default executable, but exeext='' is most
2082 <        # certainly right.
2083 <        break;;
2081 >        # We found the default executable, but exeext='' is most
2082 >        # certainly right.
2083 >        break;;
2084      *.* )
2085 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2087 <        # but it would be cool to find out if it's true.  Does anybody
2088 <        # maintain Libtool? --akim.
2089 <        export ac_cv_exeext
2090 <        break;;
2085 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2087 >        # but it would be cool to find out if it's true.  Does anybody
2088 >        # maintain Libtool? --akim.
2089 >        export ac_cv_exeext
2090 >        break;;
2091      * )
2092 <        break;;
2092 >        break;;
2093    esac
2094   done
2095   else
# Line 2198 | Line 2163 | for ac_file in conftest.exe conftest conftest.*; do
2163    case $ac_file in
2164      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2165      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2166 <          export ac_cv_exeext
2167 <          break;;
2166 >          export ac_cv_exeext
2167 >          break;;
2168      * ) break;;
2169    esac
2170   done
# Line 2224 | Line 2189 | else
2189    echo $ECHO_N "(cached) $ECHO_C" >&6
2190   else
2191    cat >conftest.$ac_ext <<_ACEOF
2192 + #line $LINENO "configure"
2193   /* confdefs.h.  */
2194   _ACEOF
2195   cat confdefs.h >>conftest.$ac_ext
# Line 2274 | Line 2240 | else
2240    echo $ECHO_N "(cached) $ECHO_C" >&6
2241   else
2242    cat >conftest.$ac_ext <<_ACEOF
2243 + #line $LINENO "configure"
2244   /* confdefs.h.  */
2245   _ACEOF
2246   cat confdefs.h >>conftest.$ac_ext
# Line 2293 | Line 2260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260   _ACEOF
2261   rm -f conftest.$ac_objext
2262   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 <  (eval $ac_compile) 2>conftest.er1
2263 >  (eval $ac_compile) 2>&5
2264    ac_status=$?
2298  grep -v '^ *+' conftest.er1 >conftest.err
2299  rm -f conftest.er1
2300  cat conftest.err >&5
2265    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266    (exit $ac_status); } &&
2267 <         { ac_try='test -z "$ac_c_werror_flag"
2304 <                         || test ! -s conftest.err'
2267 >         { ac_try='test -s conftest.$ac_objext'
2268    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269    (eval $ac_try) 2>&5
2270    ac_status=$?
2271    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309  (exit $ac_status); }; } &&
2310         { ac_try='test -s conftest.$ac_objext'
2311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312  (eval $ac_try) 2>&5
2313  ac_status=$?
2314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272    (exit $ac_status); }; }; then
2273    ac_compiler_gnu=yes
2274   else
# Line 2320 | Line 2277 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2277  
2278   ac_compiler_gnu=no
2279   fi
2280 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2280 > rm -f conftest.$ac_objext conftest.$ac_ext
2281   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2282  
2283   fi
# Line 2336 | Line 2293 | else
2293    echo $ECHO_N "(cached) $ECHO_C" >&6
2294   else
2295    cat >conftest.$ac_ext <<_ACEOF
2296 + #line $LINENO "configure"
2297   /* confdefs.h.  */
2298   _ACEOF
2299   cat confdefs.h >>conftest.$ac_ext
# Line 2352 | Line 2310 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310   _ACEOF
2311   rm -f conftest.$ac_objext
2312   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 <  (eval $ac_compile) 2>conftest.er1
2313 >  (eval $ac_compile) 2>&5
2314    ac_status=$?
2357  grep -v '^ *+' conftest.er1 >conftest.err
2358  rm -f conftest.er1
2359  cat conftest.err >&5
2315    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316    (exit $ac_status); } &&
2317 <         { ac_try='test -z "$ac_c_werror_flag"
2363 <                         || test ! -s conftest.err'
2317 >         { ac_try='test -s conftest.$ac_objext'
2318    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319    (eval $ac_try) 2>&5
2320    ac_status=$?
2321    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368  (exit $ac_status); }; } &&
2369         { ac_try='test -s conftest.$ac_objext'
2370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371  (eval $ac_try) 2>&5
2372  ac_status=$?
2373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322    (exit $ac_status); }; }; then
2323    ac_cv_prog_cc_g=yes
2324   else
# Line 2379 | Line 2327 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2327  
2328   ac_cv_prog_cc_g=no
2329   fi
2330 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2330 > rm -f conftest.$ac_objext conftest.$ac_ext
2331   fi
2332   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2333   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2406 | Line 2354 | cat >conftest.$ac_ext <<_ACEOF
2354    ac_cv_prog_cc_stdc=no
2355   ac_save_CC=$CC
2356   cat >conftest.$ac_ext <<_ACEOF
2357 + #line $LINENO "configure"
2358   /* confdefs.h.  */
2359   _ACEOF
2360   cat confdefs.h >>conftest.$ac_ext
# Line 2433 | Line 2382 | static char *f (char * (*g) (char **, int), char **p,
2382    va_end (v);
2383    return s;
2384   }
2436
2437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2438   function prototypes and stuff, but not '\xHH' hex character constants.
2439   These don't provoke an error unfortunately, instead are silently treated
2440   as 'x'.  The following induces an error, until -std1 is added to get
2441   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2442   array size at least.  It's necessary to write '\x00'==0 to get something
2443   that's true only with -std1.  */
2444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2445
2385   int test (int i, double x);
2386   struct s1 {int (*f) (int a);};
2387   struct s2 {int (*f) (double a);};
# Line 2469 | Line 2408 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408    CC="$ac_save_CC $ac_arg"
2409    rm -f conftest.$ac_objext
2410   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 <  (eval $ac_compile) 2>conftest.er1
2411 >  (eval $ac_compile) 2>&5
2412    ac_status=$?
2474  grep -v '^ *+' conftest.er1 >conftest.err
2475  rm -f conftest.er1
2476  cat conftest.err >&5
2413    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414    (exit $ac_status); } &&
2415 <         { ac_try='test -z "$ac_c_werror_flag"
2480 <                         || test ! -s conftest.err'
2415 >         { ac_try='test -s conftest.$ac_objext'
2416    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417    (eval $ac_try) 2>&5
2418    ac_status=$?
2419    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485  (exit $ac_status); }; } &&
2486         { ac_try='test -s conftest.$ac_objext'
2487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488  (eval $ac_try) 2>&5
2489  ac_status=$?
2490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420    (exit $ac_status); }; }; then
2421    ac_cv_prog_cc_stdc=$ac_arg
2422   break
# Line 2496 | Line 2425 | rm -f conftest.err conftest.$ac_objext
2425   sed 's/^/| /' conftest.$ac_ext >&5
2426  
2427   fi
2428 < rm -f conftest.err conftest.$ac_objext
2428 > rm -f conftest.$ac_objext
2429   done
2430   rm -f conftest.$ac_ext conftest.$ac_objext
2431   CC=$ac_save_CC
# Line 2524 | Line 2453 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453   _ACEOF
2454   rm -f conftest.$ac_objext
2455   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 <  (eval $ac_compile) 2>conftest.er1
2456 >  (eval $ac_compile) 2>&5
2457    ac_status=$?
2529  grep -v '^ *+' conftest.er1 >conftest.err
2530  rm -f conftest.er1
2531  cat conftest.err >&5
2458    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459    (exit $ac_status); } &&
2460 <         { ac_try='test -z "$ac_c_werror_flag"
2535 <                         || test ! -s conftest.err'
2536 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 <  (eval $ac_try) 2>&5
2538 <  ac_status=$?
2539 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 <  (exit $ac_status); }; } &&
2541 <         { ac_try='test -s conftest.$ac_objext'
2460 >         { ac_try='test -s conftest.$ac_objext'
2461    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462    (eval $ac_try) 2>&5
2463    ac_status=$?
2464    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465    (exit $ac_status); }; }; then
2466    for ac_declaration in \
2467 <   '' \
2467 >   ''\
2468 >   '#include <stdlib.h>' \
2469     'extern "C" void std::exit (int) throw (); using std::exit;' \
2470     'extern "C" void std::exit (int); using std::exit;' \
2471     'extern "C" void exit (int) throw ();' \
# Line 2553 | Line 2473 | do
2473     'void exit (int);'
2474   do
2475    cat >conftest.$ac_ext <<_ACEOF
2476 + #line $LINENO "configure"
2477   /* confdefs.h.  */
2478   _ACEOF
2479   cat confdefs.h >>conftest.$ac_ext
2480   cat >>conftest.$ac_ext <<_ACEOF
2481   /* end confdefs.h.  */
2561 $ac_declaration
2482   #include <stdlib.h>
2483 + $ac_declaration
2484   int
2485   main ()
2486   {
# Line 2570 | Line 2491 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491   _ACEOF
2492   rm -f conftest.$ac_objext
2493   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 <  (eval $ac_compile) 2>conftest.er1
2494 >  (eval $ac_compile) 2>&5
2495    ac_status=$?
2575  grep -v '^ *+' conftest.er1 >conftest.err
2576  rm -f conftest.er1
2577  cat conftest.err >&5
2496    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497    (exit $ac_status); } &&
2498 <         { ac_try='test -z "$ac_c_werror_flag"
2581 <                         || test ! -s conftest.err'
2498 >         { ac_try='test -s conftest.$ac_objext'
2499    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500    (eval $ac_try) 2>&5
2501    ac_status=$?
2502    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586  (exit $ac_status); }; } &&
2587         { ac_try='test -s conftest.$ac_objext'
2588  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589  (eval $ac_try) 2>&5
2590  ac_status=$?
2591  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503    (exit $ac_status); }; }; then
2504    :
2505   else
# Line 2597 | Line 2508 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2508  
2509   continue
2510   fi
2511 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2511 > rm -f conftest.$ac_objext conftest.$ac_ext
2512    cat >conftest.$ac_ext <<_ACEOF
2513 + #line $LINENO "configure"
2514   /* confdefs.h.  */
2515   _ACEOF
2516   cat confdefs.h >>conftest.$ac_ext
# Line 2615 | Line 2527 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527   _ACEOF
2528   rm -f conftest.$ac_objext
2529   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530 <  (eval $ac_compile) 2>conftest.er1
2530 >  (eval $ac_compile) 2>&5
2531    ac_status=$?
2620  grep -v '^ *+' conftest.er1 >conftest.err
2621  rm -f conftest.er1
2622  cat conftest.err >&5
2532    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533    (exit $ac_status); } &&
2534 <         { ac_try='test -z "$ac_c_werror_flag"
2626 <                         || test ! -s conftest.err'
2534 >         { ac_try='test -s conftest.$ac_objext'
2535    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536    (eval $ac_try) 2>&5
2537    ac_status=$?
2538    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631  (exit $ac_status); }; } &&
2632         { ac_try='test -s conftest.$ac_objext'
2633  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634  (eval $ac_try) 2>&5
2635  ac_status=$?
2636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539    (exit $ac_status); }; }; then
2540    break
2541   else
# Line 2641 | Line 2543 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2543   sed 's/^/| /' conftest.$ac_ext >&5
2544  
2545   fi
2546 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2546 > rm -f conftest.$ac_objext conftest.$ac_ext
2547   done
2548   rm -f conftest*
2549   if test -n "$ac_declaration"; then
# Line 2655 | Line 2557 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2557   sed 's/^/| /' conftest.$ac_ext >&5
2558  
2559   fi
2560 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2560 > rm -f conftest.$ac_objext conftest.$ac_ext
2561   ac_ext=c
2562   ac_cpp='$CPP $CPPFLAGS'
2563   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2669 | Line 2571 | if test -n "$ac_tool_prefix"; then
2571   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2573   if test -n "$ac_tool_prefix"; then
2574 <  for ac_prog in $CCC icpc icc xlC CC g++ c++
2574 >  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2575    do
2576      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2711 | Line 2613 | if test -z "$CXX"; then
2613   fi
2614   if test -z "$CXX"; then
2615    ac_ct_CXX=$CXX
2616 <  for ac_prog in $CCC icpc icc xlC CC g++ c++
2616 >  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2617   do
2618    # Extract the first word of "$ac_prog", so it can be a program name with args.
2619   set dummy $ac_prog; ac_word=$2
# Line 2782 | Line 2684 | else
2684    echo $ECHO_N "(cached) $ECHO_C" >&6
2685   else
2686    cat >conftest.$ac_ext <<_ACEOF
2687 + #line $LINENO "configure"
2688   /* confdefs.h.  */
2689   _ACEOF
2690   cat confdefs.h >>conftest.$ac_ext
# Line 2801 | Line 2704 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2704   _ACEOF
2705   rm -f conftest.$ac_objext
2706   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 <  (eval $ac_compile) 2>conftest.er1
2707 >  (eval $ac_compile) 2>&5
2708    ac_status=$?
2806  grep -v '^ *+' conftest.er1 >conftest.err
2807  rm -f conftest.er1
2808  cat conftest.err >&5
2709    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710    (exit $ac_status); } &&
2711 <         { ac_try='test -z "$ac_cxx_werror_flag"
2812 <                         || test ! -s conftest.err'
2711 >         { ac_try='test -s conftest.$ac_objext'
2712    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713    (eval $ac_try) 2>&5
2714    ac_status=$?
2715    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817  (exit $ac_status); }; } &&
2818         { ac_try='test -s conftest.$ac_objext'
2819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820  (eval $ac_try) 2>&5
2821  ac_status=$?
2822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716    (exit $ac_status); }; }; then
2717    ac_compiler_gnu=yes
2718   else
# Line 2828 | Line 2721 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2721  
2722   ac_compiler_gnu=no
2723   fi
2724 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2724 > rm -f conftest.$ac_objext conftest.$ac_ext
2725   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2726  
2727   fi
# Line 2844 | Line 2737 | else
2737    echo $ECHO_N "(cached) $ECHO_C" >&6
2738   else
2739    cat >conftest.$ac_ext <<_ACEOF
2740 + #line $LINENO "configure"
2741   /* confdefs.h.  */
2742   _ACEOF
2743   cat confdefs.h >>conftest.$ac_ext
# Line 2860 | Line 2754 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2754   _ACEOF
2755   rm -f conftest.$ac_objext
2756   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757 <  (eval $ac_compile) 2>conftest.er1
2757 >  (eval $ac_compile) 2>&5
2758    ac_status=$?
2865  grep -v '^ *+' conftest.er1 >conftest.err
2866  rm -f conftest.er1
2867  cat conftest.err >&5
2759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760    (exit $ac_status); } &&
2761 <         { ac_try='test -z "$ac_cxx_werror_flag"
2871 <                         || test ! -s conftest.err'
2761 >         { ac_try='test -s conftest.$ac_objext'
2762    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763    (eval $ac_try) 2>&5
2764    ac_status=$?
2765    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876  (exit $ac_status); }; } &&
2877         { ac_try='test -s conftest.$ac_objext'
2878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879  (eval $ac_try) 2>&5
2880  ac_status=$?
2881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766    (exit $ac_status); }; }; then
2767    ac_cv_prog_cxx_g=yes
2768   else
# Line 2887 | Line 2771 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2771  
2772   ac_cv_prog_cxx_g=no
2773   fi
2774 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2774 > rm -f conftest.$ac_objext conftest.$ac_ext
2775   fi
2776   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2777   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2907 | Line 2791 | for ac_declaration in \
2791    fi
2792   fi
2793   for ac_declaration in \
2794 <   '' \
2794 >   ''\
2795 >   '#include <stdlib.h>' \
2796     'extern "C" void std::exit (int) throw (); using std::exit;' \
2797     'extern "C" void std::exit (int); using std::exit;' \
2798     'extern "C" void exit (int) throw ();' \
# Line 2915 | Line 2800 | do
2800     'void exit (int);'
2801   do
2802    cat >conftest.$ac_ext <<_ACEOF
2803 + #line $LINENO "configure"
2804   /* confdefs.h.  */
2805   _ACEOF
2806   cat confdefs.h >>conftest.$ac_ext
2807   cat >>conftest.$ac_ext <<_ACEOF
2808   /* end confdefs.h.  */
2923 $ac_declaration
2809   #include <stdlib.h>
2810 + $ac_declaration
2811   int
2812   main ()
2813   {
# Line 2932 | Line 2818 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818   _ACEOF
2819   rm -f conftest.$ac_objext
2820   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2821 <  (eval $ac_compile) 2>conftest.er1
2821 >  (eval $ac_compile) 2>&5
2822    ac_status=$?
2937  grep -v '^ *+' conftest.er1 >conftest.err
2938  rm -f conftest.er1
2939  cat conftest.err >&5
2823    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824    (exit $ac_status); } &&
2825 <         { ac_try='test -z "$ac_cxx_werror_flag"
2943 <                         || test ! -s conftest.err'
2825 >         { ac_try='test -s conftest.$ac_objext'
2826    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2827    (eval $ac_try) 2>&5
2828    ac_status=$?
2829    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948  (exit $ac_status); }; } &&
2949         { ac_try='test -s conftest.$ac_objext'
2950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951  (eval $ac_try) 2>&5
2952  ac_status=$?
2953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830    (exit $ac_status); }; }; then
2831    :
2832   else
# Line 2959 | Line 2835 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2835  
2836   continue
2837   fi
2838 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2838 > rm -f conftest.$ac_objext conftest.$ac_ext
2839    cat >conftest.$ac_ext <<_ACEOF
2840 + #line $LINENO "configure"
2841   /* confdefs.h.  */
2842   _ACEOF
2843   cat confdefs.h >>conftest.$ac_ext
# Line 2977 | Line 2854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2854   _ACEOF
2855   rm -f conftest.$ac_objext
2856   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2857 <  (eval $ac_compile) 2>conftest.er1
2857 >  (eval $ac_compile) 2>&5
2858    ac_status=$?
2982  grep -v '^ *+' conftest.er1 >conftest.err
2983  rm -f conftest.er1
2984  cat conftest.err >&5
2859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860    (exit $ac_status); } &&
2861 <         { ac_try='test -z "$ac_cxx_werror_flag"
2988 <                         || test ! -s conftest.err'
2861 >         { ac_try='test -s conftest.$ac_objext'
2862    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863    (eval $ac_try) 2>&5
2864    ac_status=$?
2865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993  (exit $ac_status); }; } &&
2994         { ac_try='test -s conftest.$ac_objext'
2995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996  (eval $ac_try) 2>&5
2997  ac_status=$?
2998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866    (exit $ac_status); }; }; then
2867    break
2868   else
# Line 3003 | Line 2870 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2870   sed 's/^/| /' conftest.$ac_ext >&5
2871  
2872   fi
2873 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2873 > rm -f conftest.$ac_objext conftest.$ac_ext
2874   done
2875   rm -f conftest*
2876   if test -n "$ac_declaration"; then
# Line 3188 | Line 3055 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3055   _ACEOF
3056   rm -f conftest.$ac_objext
3057   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 <  (eval $ac_compile) 2>conftest.er1
3058 >  (eval $ac_compile) 2>&5
3059    ac_status=$?
3193  grep -v '^ *+' conftest.er1 >conftest.err
3194  rm -f conftest.er1
3195  cat conftest.err >&5
3060    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061    (exit $ac_status); } &&
3062 <         { ac_try='test -z "$ac_f90_werror_flag"
3199 <                         || test ! -s conftest.err'
3062 >         { ac_try='test -s conftest.$ac_objext'
3063    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064    (eval $ac_try) 2>&5
3065    ac_status=$?
3066    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204  (exit $ac_status); }; } &&
3205         { ac_try='test -s conftest.$ac_objext'
3206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207  (eval $ac_try) 2>&5
3208  ac_status=$?
3209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067    (exit $ac_status); }; }; then
3068    ac_compiler_gnu=yes
3069   else
# Line 3215 | Line 3072 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3072  
3073   ac_compiler_gnu=no
3074   fi
3075 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3075 > rm -f conftest.$ac_objext conftest.$ac_ext
3076   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3077  
3078   fi
# Line 3289 | Line 3146 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146   _ACEOF
3147   rm -f conftest.$ac_objext
3148   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3149 <  (eval $ac_compile) 2>conftest.er1
3149 >  (eval $ac_compile) 2>&5
3150    ac_status=$?
3294  grep -v '^ *+' conftest.er1 >conftest.err
3295  rm -f conftest.er1
3296  cat conftest.err >&5
3151    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152    (exit $ac_status); } &&
3153 <         { ac_try='test -z "$ac_f90_werror_flag"
3300 <                         || test ! -s conftest.err'
3153 >         { ac_try='test -s conftest.$ac_objext'
3154    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155    (eval $ac_try) 2>&5
3156    ac_status=$?
3157    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305  (exit $ac_status); }; } &&
3306         { ac_try='test -s conftest.$ac_objext'
3307  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308  (eval $ac_try) 2>&5
3309  ac_status=$?
3310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158    (exit $ac_status); }; }; then
3159    prepflagworks=1
3160   else
# Line 3316 | Line 3163 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3163  
3164   prepflagworks=0
3165   fi
3166 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 > rm -f conftest.$ac_objext conftest.$ac_ext
3167  
3168    F90FLAGS=$ac_save_F90FLAGS
3169    ac_ext=$ac_save_ext
# Line 3404 | Line 3251 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3251   _ACEOF
3252   rm -f conftest.$ac_objext
3253   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254 <  (eval $ac_compile) 2>conftest.er1
3254 >  (eval $ac_compile) 2>&5
3255    ac_status=$?
3409  grep -v '^ *+' conftest.er1 >conftest.err
3410  rm -f conftest.er1
3411  cat conftest.err >&5
3256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257    (exit $ac_status); } &&
3258 <         { ac_try='test -z "$ac_f90_werror_flag"
3415 <                         || test ! -s conftest.err'
3416 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 <  (eval $ac_try) 2>&5
3418 <  ac_status=$?
3419 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 <  (exit $ac_status); }; } &&
3421 <         { ac_try='test -s conftest.$ac_objext'
3258 >         { ac_try='test -s conftest.$ac_objext'
3259    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260    (eval $ac_try) 2>&5
3261    ac_status=$?
# Line 3431 | Line 3268 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3268  
3269   prepdefflagworks=0
3270   fi
3271 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3271 > rm -f conftest.$ac_objext conftest.$ac_ext
3272  
3273    F90FLAGS=$ac_save_F90FLAGS
3274    ac_ext=$ac_save_ext
# Line 3483 | Line 3320 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3320   _ACEOF
3321   rm -f conftest.$ac_objext
3322   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3323 <  (eval $ac_compile) 2>conftest.er1
3323 >  (eval $ac_compile) 2>&5
3324    ac_status=$?
3488  grep -v '^ *+' conftest.er1 >conftest.err
3489  rm -f conftest.er1
3490  cat conftest.err >&5
3325    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326    (exit $ac_status); } &&
3327 <         { ac_try='test -z "$ac_f90_werror_flag"
3494 <                         || test ! -s conftest.err'
3495 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496 <  (eval $ac_try) 2>&5
3497 <  ac_status=$?
3498 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 <  (exit $ac_status); }; } &&
3500 <         { ac_try='test -s conftest.$ac_objext'
3327 >         { ac_try='test -s conftest.$ac_objext'
3328    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329    (eval $ac_try) 2>&5
3330    ac_status=$?
# Line 3527 | Line 3354 | F90FLAGS="$F90FLAGS $ac_verb"
3354   ac_save_F90FLAGS=$F90FLAGS
3355   F90FLAGS="$F90FLAGS $ac_verb"
3356  
3357 < (eval echo $as_me:3530: \"$ac_link\") >&5
3357 > (eval echo $as_me:3357: \"$ac_link\") >&5
3358   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3359   echo "$ac_f90_v_output" >&5
3360   F90FLAGS=$ac_save_F90FLAGS
# Line 3569 | Line 3396 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3396   { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3397   echo "$as_me: WARNING: compilation failed" >&2;}
3398   fi
3399 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3399 > rm -f conftest.$ac_objext conftest.$ac_ext
3400  
3401   fi
3402   echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
# Line 3604 | Line 3431 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3431   ac_save_F90FLAGS=$F90FLAGS
3432   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3433  
3434 < (eval echo $as_me:3607: \"$ac_link\") >&5
3434 > (eval echo $as_me:3434: \"$ac_link\") >&5
3435   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3436   echo "$ac_f90_v_output" >&5
3437   F90FLAGS=$ac_save_F90FLAGS
# Line 3676 | Line 3503 | fi
3503  
3504            ;;
3505            # Ignore these flags.
3506 <        -lang* | -lcrt0.o | -lc | -lgcc | -LANG:=*)
3506 >        -lang* | -lcrt[012].o | -lc | -lgcc | -LANG:=*)
3507            ;;
3508          -lkernel32)
3509            test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
# Line 3786 | Line 3613 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613   _ACEOF
3614   rm -f conftest.$ac_objext
3615   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3616 <  (eval $ac_compile) 2>conftest.er1
3616 >  (eval $ac_compile) 2>&5
3617    ac_status=$?
3791  grep -v '^ *+' conftest.er1 >conftest.err
3792  rm -f conftest.er1
3793  cat conftest.err >&5
3618    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619    (exit $ac_status); } &&
3620 <         { ac_try='test -z "$ac_f90_werror_flag"
3797 <                         || test ! -s conftest.err'
3798 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 <  (eval $ac_try) 2>&5
3800 <  ac_status=$?
3801 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 <  (exit $ac_status); }; } &&
3803 <         { ac_try='test -s conftest.$ac_objext'
3620 >         { ac_try='test -s conftest.$ac_objext'
3621    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622    (eval $ac_try) 2>&5
3623    ac_status=$?
# Line 3822 | Line 3639 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639      for ac_underscore in "" "_"; do
3640        ac_func="$ac_foobar$ac_underscore"
3641        cat >conftest.$ac_ext <<_ACEOF
3642 + #line $LINENO "configure"
3643   /* confdefs.h.  */
3644   _ACEOF
3645   cat confdefs.h >>conftest.$ac_ext
# Line 3845 | Line 3663 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3663   _ACEOF
3664   rm -f conftest.$ac_objext conftest$ac_exeext
3665   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666 <  (eval $ac_link) 2>conftest.er1
3666 >  (eval $ac_link) 2>&5
3667    ac_status=$?
3850  grep -v '^ *+' conftest.er1 >conftest.err
3851  rm -f conftest.er1
3852  cat conftest.err >&5
3668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669    (exit $ac_status); } &&
3670 <         { ac_try='test -z "$ac_c_werror_flag"
3856 <                         || test ! -s conftest.err'
3670 >         { ac_try='test -s conftest$ac_exeext'
3671    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672    (eval $ac_try) 2>&5
3673    ac_status=$?
3674    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861  (exit $ac_status); }; } &&
3862         { ac_try='test -s conftest$ac_exeext'
3863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864  (eval $ac_try) 2>&5
3865  ac_status=$?
3866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675    (exit $ac_status); }; }; then
3676    ac_success=yes; break 2
3677   else
# Line 3871 | Line 3679 | rm -f conftest.err conftest.$ac_objext \
3679   sed 's/^/| /' conftest.$ac_ext >&5
3680  
3681   fi
3682 < rm -f conftest.err conftest.$ac_objext \
3875 <      conftest$ac_exeext conftest.$ac_ext
3682 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3683      done
3684    done
3685  
# Line 3893 | Line 3700 | rm -f conftest.err conftest.$ac_objext \
3700          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3701  
3702          cat >conftest.$ac_ext <<_ACEOF
3703 + #line $LINENO "configure"
3704   /* confdefs.h.  */
3705   _ACEOF
3706   cat confdefs.h >>conftest.$ac_ext
# Line 3916 | Line 3724 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3724   _ACEOF
3725   rm -f conftest.$ac_objext conftest$ac_exeext
3726   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3727 <  (eval $ac_link) 2>conftest.er1
3727 >  (eval $ac_link) 2>&5
3728    ac_status=$?
3921  grep -v '^ *+' conftest.er1 >conftest.err
3922  rm -f conftest.er1
3923  cat conftest.err >&5
3729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730    (exit $ac_status); } &&
3731 <         { ac_try='test -z "$ac_c_werror_flag"
3927 <                         || test ! -s conftest.err'
3731 >         { ac_try='test -s conftest$ac_exeext'
3732    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733    (eval $ac_try) 2>&5
3734    ac_status=$?
3735    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932  (exit $ac_status); }; } &&
3933         { ac_try='test -s conftest$ac_exeext'
3934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935  (eval $ac_try) 2>&5
3936  ac_status=$?
3937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736    (exit $ac_status); }; }; then
3737    ac_success_extra=yes; break
3738   else
# Line 3942 | Line 3740 | rm -f conftest.err conftest.$ac_objext \
3740   sed 's/^/| /' conftest.$ac_ext >&5
3741  
3742   fi
3743 < rm -f conftest.err conftest.$ac_objext \
3946 <      conftest$ac_exeext conftest.$ac_ext
3743 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3744       done
3745  
3746       if test "$ac_success_extra" = "yes"; then
# Line 3978 | Line 3775 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3775   sed 's/^/| /' conftest.$ac_ext >&5
3776  
3777   fi
3778 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3778 > rm -f conftest.$ac_objext conftest.$ac_ext
3779   ac_ext=f90
3780   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3781   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4289 | Line 4086 | if test "$ac_test_CFLAGS" != "set"; then
4086          fi;;
4087     *darwin*)
4088          if test "$CC" = xlc -o "$CC" = cc; then
4089 <                CFLAGS="-O3 -qtune=auto -w"
4293 <                echo "*******************************************************"
4294 <                echo "*  You have Darwin on an unknown powerpc system.      *"
4295 <                echo "*  It is recommended that you use                     *"
4296 <                echo "*                                                     *"
4297 <                echo "*  CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
4298 <                echo "*                               ^^^                   *"
4299 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4300 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4301 <                echo "*******************************************************"
4089 >                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4090          fi;;
4091    esac
4092  
# Line 4749 | Line 4537 | if test "$ac_test_CXXFLAGS" != "set"; then
4537                  echo "*******************************************************"
4538          fi;;
4539     *darwin*)
4540 <        if test "$CXX" = xlC; then
4541 <                CXXFLAGS="-O3 -qtune=auto -qansialias -w"
4754 <                echo "*******************************************************"
4755 <                echo "*  You have Darwin on an unknown powerpc system.      *"
4756 <                echo "*  It is recommended that you use                     *"
4757 <                echo "*                                                     *"
4758 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
4759 <                echo "*                                 ^^^                 *"
4760 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4761 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4762 <                echo "*******************************************************"
4540 >        if test "$CXX" = xlc++; then
4541 >                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4542          fi;;
4543    esac
4544  
# Line 5170 | Line 4949 | if test x"$F90FLAGS" = x ; then
4949                  echo "*******************************************************"
4950          fi;;
4951     *darwin*)
4952 <        if test "$F90" = f90 -o "$F90" = xlf90; then
4953 <                F90FLAGS="-O3 -qtune=auto -w"
5175 <                echo "*********************************************************"
5176 <                echo "*  You have Darwin on an unknown powerpc system.  It is *"
5177 <                echo "*  recommended that you use                             *"
5178 <                echo "*                                                       *"
5179 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
5180 <                echo "*                                 ^^^                   *"
5181 <                echo "*  where xxx is 601, 603, 604, or whatever kind of      *"
5182 <                echo "*  PowerPC CPU you have.   For more info, man xlf.      *"
5183 <                echo "*********************************************************"
4952 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
4953 >                F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto"
4954          fi;;
4955    esac
4956  
# Line 5269 | Line 5039 | esac
5039   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5040   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5041   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5272 # OS/2's system install, which has a completely different semantic
5042   # ./install, which can be erroneously created by make from ./install.sh.
5043   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5044   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 5286 | Line 5055 | case $as_dir/ in
5055   case $as_dir/ in
5056    ./ | .// | /cC/* | \
5057    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5289  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5058    /usr/ucb/* ) ;;
5059    *)
5060      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 5294 | Line 5062 | case $as_dir/ in
5062      # by default.
5063      for ac_prog in ginstall scoinst install; do
5064        for ac_exec_ext in '' $ac_executable_extensions; do
5065 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5066 <          if test $ac_prog = install &&
5067 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5068 <            # AIX install.  It has an incompatible calling convention.
5069 <            :
5070 <          elif test $ac_prog = install &&
5071 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5072 <            # program-specific install script used by HP pwplus--don't use.
5073 <            :
5074 <          else
5075 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5076 <            break 3
5077 <          fi
5078 <        fi
5065 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5066 >          if test $ac_prog = install &&
5067 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5068 >            # AIX install.  It has an incompatible calling convention.
5069 >            :
5070 >          elif test $ac_prog = install &&
5071 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5072 >            # program-specific install script used by HP pwplus--don't use.
5073 >            :
5074 >          else
5075 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5076 >            break 3
5077 >          fi
5078 >        fi
5079        done
5080      done
5081      ;;
# Line 5350 | Line 5118 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:.
5118  
5119   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5120   echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5121 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5121 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5122   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5123    echo $ECHO_N "(cached) $ECHO_C" >&6
5124   else
# Line 5558 | Line 5326 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5326   _ACEOF
5327   rm -f conftest.$ac_objext conftest$ac_exeext
5328   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5329 <  (eval $ac_link) 2>conftest.er1
5329 >  (eval $ac_link) 2>&5
5330    ac_status=$?
5563  grep -v '^ *+' conftest.er1 >conftest.err
5564  rm -f conftest.er1
5565  cat conftest.err >&5
5331    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332    (exit $ac_status); } &&
5333 <         { ac_try='test -z "$ac_f90_werror_flag"
5569 <                         || test ! -s conftest.err'
5570 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571 <  (eval $ac_try) 2>&5
5572 <  ac_status=$?
5573 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 <  (exit $ac_status); }; } &&
5575 <         { ac_try='test -s conftest$ac_exeext'
5333 >         { ac_try='test -s conftest$ac_exeext'
5334    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335    (eval $ac_try) 2>&5
5336    ac_status=$?
# Line 5585 | Line 5343 | rm -f conftest.err conftest.$ac_objext \
5343  
5344   ac_cv_lib_fl_yywrap=no
5345   fi
5346 < rm -f conftest.err conftest.$ac_objext \
5589 <      conftest$ac_exeext conftest.$ac_ext
5346 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5347   LIBS=$ac_check_lib_save_LIBS
5348   fi
5349   echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 5611 | Line 5368 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5368   _ACEOF
5369   rm -f conftest.$ac_objext conftest$ac_exeext
5370   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5371 <  (eval $ac_link) 2>conftest.er1
5371 >  (eval $ac_link) 2>&5
5372    ac_status=$?
5616  grep -v '^ *+' conftest.er1 >conftest.err
5617  rm -f conftest.er1
5618  cat conftest.err >&5
5373    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374    (exit $ac_status); } &&
5375 <         { ac_try='test -z "$ac_f90_werror_flag"
5622 <                         || test ! -s conftest.err'
5375 >         { ac_try='test -s conftest$ac_exeext'
5376    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377    (eval $ac_try) 2>&5
5378    ac_status=$?
5379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627  (exit $ac_status); }; } &&
5628         { ac_try='test -s conftest$ac_exeext'
5629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630  (eval $ac_try) 2>&5
5631  ac_status=$?
5632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380    (exit $ac_status); }; }; then
5381    ac_cv_lib_l_yywrap=yes
5382   else
# Line 5638 | Line 5385 | rm -f conftest.err conftest.$ac_objext \
5385  
5386   ac_cv_lib_l_yywrap=no
5387   fi
5388 < rm -f conftest.err conftest.$ac_objext \
5642 <      conftest$ac_exeext conftest.$ac_ext
5388 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5389   LIBS=$ac_check_lib_save_LIBS
5390   fi
5391   echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 5701 | Line 5447 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5447   _ACEOF
5448   rm -f conftest.$ac_objext conftest$ac_exeext
5449   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5450 <  (eval $ac_link) 2>conftest.er1
5450 >  (eval $ac_link) 2>&5
5451    ac_status=$?
5706  grep -v '^ *+' conftest.er1 >conftest.err
5707  rm -f conftest.er1
5708  cat conftest.err >&5
5452    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453    (exit $ac_status); } &&
5454 <         { ac_try='test -z "$ac_f90_werror_flag"
5712 <                         || test ! -s conftest.err'
5454 >         { ac_try='test -s conftest$ac_exeext'
5455    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456    (eval $ac_try) 2>&5
5457    ac_status=$?
5458    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717  (exit $ac_status); }; } &&
5718         { ac_try='test -s conftest$ac_exeext'
5719  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720  (eval $ac_try) 2>&5
5721  ac_status=$?
5722  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459    (exit $ac_status); }; }; then
5460    ac_cv_prog_lex_yytext_pointer=yes
5461   else
# Line 5727 | Line 5463 | rm -f conftest.err conftest.$ac_objext \
5463   sed 's/^/| /' conftest.$ac_ext >&5
5464  
5465   fi
5466 < rm -f conftest.err conftest.$ac_objext \
5731 <      conftest$ac_exeext conftest.$ac_ext
5466 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5467   LIBS=$ac_save_LIBS
5468   rm -f "${LEX_OUTPUT_ROOT}.c"
5469  
# Line 5812 | Line 5547 | _ACEOF
5547        # `set' does not quote correctly, so add quotes (double-quote
5548        # substitution turns \\\\ into \\, and sed turns \\ into \).
5549        sed -n \
5550 <        "s/'/'\\\\''/g;
5551 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5550 >        "s/'/'\\\\''/g;
5551 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5552        ;;
5553      *)
5554        # `set' quotes correctly as required by POSIX, so do not add quotes.
5555        sed -n \
5556 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5556 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5557        ;;
5558      esac;
5559   } |
# Line 5841 | Line 5576 | echo "$as_me:$LINENO: checking for mpi-directory" >&5
5576    exit 1
5577   fi
5578  
5844 echo "$as_me:$LINENO: checking for mpi-directory" >&5
5845 echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
5579  
5580 +
5581   # Check whether --with-mpi or --without-mpi was given.
5582   if test "${with_mpi+set}" = set; then
5583    withval="$with_mpi"
5584 <  MPI_DIR="$withval"
5584 >  with_mpi=$withval
5585   else
5586 <  MPI_DIR="/usr/local"
5586 >  with_mpi="no"
5587   fi;
5854 echo "$as_me:$LINENO: result: $MPI_DIR" >&5
5855 echo "${ECHO_T}$MPI_DIR" >&6
5588  
5589 <
5590 < echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
5591 < echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
5592 <
5593 < # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
5594 < if test "${with_mpi_libdir+set}" = set; then
5595 <  withval="$with_mpi_libdir"
5596 <  MPI_LIBDIR="$withval"
5597 < else
5598 <  MPI_LIBDIR="$MPI_DIR/lib"
5867 < fi;
5868 < echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
5869 < echo "${ECHO_T}$MPI_LIBDIR" >&6
5589 > case "x$with_mpi" in
5590 >        xyes | "x")  USE_MPI=yes;;
5591 >        xno) USE_MPI=no ;;
5592 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
5593 > esac
5594 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
5595 >        MPI="/usr/local"
5596 > fi
5597 > if test "$USE_MPI" = "yes"; then
5598 >        echo "MPI = $MPI"
5599  
5600  
5601 < echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5602 < echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5601 > # Set variables...
5602 > MPI_LIB_DIR="$MPI/lib"
5603 > MPI_INC_DIR="$MPI/include"
5604  
5875 # Check whether --with-mpi-inc or --without-mpi-inc was given.
5876 if test "${with_mpi_inc+set}" = set; then
5877  withval="$with_mpi_inc"
5878  MPI_INC="$withval"
5879 else
5880  MPI_INC="$MPI_DIR/include"
5881 fi;
5882 echo "$as_me:$LINENO: result: $MPI_INC" >&5
5883 echo "${ECHO_T}$MPI_INC" >&6
5605  
5606  
5607   echo "$as_me:$LINENO: checking for mpi.h" >&5
5608   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
5609 < HAVE_MPIDOTH_C="no"
5609 > have_mpi_h=0
5610   echo '#include <mpi.h>' > conftest.cc
5611 < if test -z "`${CXX} -I${MPI_INC} -c conftest.cc 2>&1`"; then
5612 <  echo "$as_me:$LINENO: result: yes" >&5
5611 > if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
5612 >        echo "$as_me:$LINENO: result: yes" >&5
5613   echo "${ECHO_T}yes" >&6
5614 <  HAVE_MPIDOTH_C="yes"
5614 >        have_mpi_h=1
5615   else
5616 <  echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5616 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5617   echo "${ECHO_T}no! Check MPI include paths" >&6
5618 +        USE_MPI="no"
5619   fi
5620   rm -f conftest*
5621 + if test "$have_mpi_h" = 1; then
5622  
5623 + cat >>confdefs.h <<\_ACEOF
5624 + #define HAVE_MPI_H 1
5625 + _ACEOF
5626 +
5627 + fi
5628 +
5629   echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
5630   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
5631 < HAVE_MPIFDOTH_F90="no"
5631 > have_mpif_h=0
5632   rm -f conftest*
5633   cat >conftest.f90 <<EOF
5634   program main
5635 <  include 'mpif.h'
5635 >   include 'mpif.h'
5636   end
5637   EOF
5638 < if $F90 -I$MPI_INC -c conftest.f90 > conftest.out 2>&1 ; then
5639 <   echo "$as_me:$LINENO: result: yes" >&5
5638 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
5639 >        echo "$as_me:$LINENO: result: yes" >&5
5640   echo "${ECHO_T}yes" >&6
5641 <   MPI_F90INC="$MPI_INC"
5642 <   HAVE_MPIFDOTH_F90="yes"
5641 >        MPI_F90_INC="$MPI_INC_DIR"
5642 >        have_mpif_h=1
5643   else
5644 <   if test -s conftest.out ; then cat conftest.out >> config.log ; fi
5645 <   echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5644 >        if test -s conftest.out ; then
5645 >                cat conftest.out >> config.log
5646 >        fi
5647 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5648   echo "${ECHO_T}no! Check MPI include paths" >&6
5649 +        USE_MPI="no"
5650   fi
5651   rm -f conftest*
5652  
5653 + if test "$have_mpif_h" = 1; then
5654  
5655 + cat >>confdefs.h <<\_ACEOF
5656 + #define HAVE_MPIF_H 1
5657 + _ACEOF
5658 +
5659 + fi
5660 +
5661   ac_ext=c
5662   ac_cpp='$CPP $CPPFLAGS'
5663   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5926 | Line 5665 | LDFLAGS="${LDFLAGS} -L${MPI_LIBDIR} "
5665   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5666  
5667   ac_save_LDFLAGS=$LDFLAGS
5668 < LDFLAGS="${LDFLAGS} -L${MPI_LIBDIR} "
5668 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
5669  
5670   if test x = x"$MPI_LIB"; then
5671 <   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5671 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5672   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5673   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5674    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5937 | Line 5676 | cat >conftest.$ac_ext <<_ACEOF
5676    ac_check_lib_save_LIBS=$LIBS
5677   LIBS="-lmpi  $LIBS"
5678   cat >conftest.$ac_ext <<_ACEOF
5679 + #line $LINENO "configure"
5680   /* confdefs.h.  */
5681   _ACEOF
5682   cat confdefs.h >>conftest.$ac_ext
# Line 5960 | Line 5700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5700   _ACEOF
5701   rm -f conftest.$ac_objext conftest$ac_exeext
5702   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5703 <  (eval $ac_link) 2>conftest.er1
5703 >  (eval $ac_link) 2>&5
5704    ac_status=$?
5965  grep -v '^ *+' conftest.er1 >conftest.err
5966  rm -f conftest.er1
5967  cat conftest.err >&5
5705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706    (exit $ac_status); } &&
5707 <         { ac_try='test -z "$ac_c_werror_flag"
5971 <                         || test ! -s conftest.err'
5972 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973 <  (eval $ac_try) 2>&5
5974 <  ac_status=$?
5975 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 <  (exit $ac_status); }; } &&
5977 <         { ac_try='test -s conftest$ac_exeext'
5707 >         { ac_try='test -s conftest$ac_exeext'
5708    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709    (eval $ac_try) 2>&5
5710    ac_status=$?
# Line 5987 | Line 5717 | rm -f conftest.err conftest.$ac_objext \
5717  
5718   ac_cv_lib_mpi_MPI_Init=no
5719   fi
5720 < rm -f conftest.err conftest.$ac_objext \
5991 <      conftest$ac_exeext conftest.$ac_ext
5720 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5721   LIBS=$ac_check_lib_save_LIBS
5722   fi
5723   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 5999 | Line 5728 | if test x = x"$MPI_LIB"; then
5728  
5729   fi
5730   if test x = x"$MPI_LIB"; then
5731 <   echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5731 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5732   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5733   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5734    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6007 | Line 5736 | cat >conftest.$ac_ext <<_ACEOF
5736    ac_check_lib_save_LIBS=$LIBS
5737   LIBS="-lmpich  $LIBS"
5738   cat >conftest.$ac_ext <<_ACEOF
5739 + #line $LINENO "configure"
5740   /* confdefs.h.  */
5741   _ACEOF
5742   cat confdefs.h >>conftest.$ac_ext
# Line 6030 | Line 5760 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5760   _ACEOF
5761   rm -f conftest.$ac_objext conftest$ac_exeext
5762   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5763 <  (eval $ac_link) 2>conftest.er1
5763 >  (eval $ac_link) 2>&5
5764    ac_status=$?
6035  grep -v '^ *+' conftest.er1 >conftest.err
6036  rm -f conftest.er1
6037  cat conftest.err >&5
5765    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766    (exit $ac_status); } &&
5767 <         { ac_try='test -z "$ac_c_werror_flag"
6041 <                         || test ! -s conftest.err'
5767 >         { ac_try='test -s conftest$ac_exeext'
5768    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769    (eval $ac_try) 2>&5
5770    ac_status=$?
5771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046  (exit $ac_status); }; } &&
6047         { ac_try='test -s conftest$ac_exeext'
6048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049  (eval $ac_try) 2>&5
6050  ac_status=$?
6051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772    (exit $ac_status); }; }; then
5773    ac_cv_lib_mpich_MPI_Init=yes
5774   else
# Line 6057 | Line 5777 | rm -f conftest.err conftest.$ac_objext \
5777  
5778   ac_cv_lib_mpich_MPI_Init=no
5779   fi
5780 < rm -f conftest.err conftest.$ac_objext \
6061 <      conftest$ac_exeext conftest.$ac_ext
5780 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5781   LIBS=$ac_check_lib_save_LIBS
5782   fi
5783   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 6070 | Line 5789 | if test x = x"$MPI_LIB"; then
5789   fi
5790   $as_unset ac_cv_lib_mpi_MPI_Init
5791   if test x = x"$MPI_LIB"; then
5792 <   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5792 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5793   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5794   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5795    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6078 | Line 5797 | cat >conftest.$ac_ext <<_ACEOF
5797    ac_check_lib_save_LIBS=$LIBS
5798   LIBS="-lmpi "-llam" $LIBS"
5799   cat >conftest.$ac_ext <<_ACEOF
5800 + #line $LINENO "configure"
5801   /* confdefs.h.  */
5802   _ACEOF
5803   cat confdefs.h >>conftest.$ac_ext
# Line 6101 | Line 5821 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821   _ACEOF
5822   rm -f conftest.$ac_objext conftest$ac_exeext
5823   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5824 <  (eval $ac_link) 2>conftest.er1
5824 >  (eval $ac_link) 2>&5
5825    ac_status=$?
6106  grep -v '^ *+' conftest.er1 >conftest.err
6107  rm -f conftest.er1
6108  cat conftest.err >&5
5826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827    (exit $ac_status); } &&
5828 <         { ac_try='test -z "$ac_c_werror_flag"
6112 <                         || test ! -s conftest.err'
5828 >         { ac_try='test -s conftest$ac_exeext'
5829    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830    (eval $ac_try) 2>&5
5831    ac_status=$?
5832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117  (exit $ac_status); }; } &&
6118         { ac_try='test -s conftest$ac_exeext'
6119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120  (eval $ac_try) 2>&5
6121  ac_status=$?
6122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833    (exit $ac_status); }; }; then
5834    ac_cv_lib_mpi_MPI_Init=yes
5835   else
# Line 6128 | Line 5838 | rm -f conftest.err conftest.$ac_objext \
5838  
5839   ac_cv_lib_mpi_MPI_Init=no
5840   fi
5841 < rm -f conftest.err conftest.$ac_objext \
6132 <      conftest$ac_exeext conftest.$ac_ext
5841 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5842   LIBS=$ac_check_lib_save_LIBS
5843   fi
5844   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 6142 | Line 5851 | if test x = x"$MPI_LIB"; then
5851  
5852   $as_unset ac_cv_lib_mpi_MPI_Init
5853   if test x = x"$MPI_LIB"; then
5854 <   echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5854 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5855   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5856   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5857    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6150 | Line 5859 | cat >conftest.$ac_ext <<_ACEOF
5859    ac_check_lib_save_LIBS=$LIBS
5860   LIBS="-lmpi -llam -lpthread $LIBS"
5861   cat >conftest.$ac_ext <<_ACEOF
5862 + #line $LINENO "configure"
5863   /* confdefs.h.  */
5864   _ACEOF
5865   cat confdefs.h >>conftest.$ac_ext
# Line 6173 | Line 5883 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5883   _ACEOF
5884   rm -f conftest.$ac_objext conftest$ac_exeext
5885   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5886 <  (eval $ac_link) 2>conftest.er1
5886 >  (eval $ac_link) 2>&5
5887    ac_status=$?
6178  grep -v '^ *+' conftest.er1 >conftest.err
6179  rm -f conftest.er1
6180  cat conftest.err >&5
5888    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889    (exit $ac_status); } &&
5890 <         { ac_try='test -z "$ac_c_werror_flag"
6184 <                         || test ! -s conftest.err'
5890 >         { ac_try='test -s conftest$ac_exeext'
5891    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5892    (eval $ac_try) 2>&5
5893    ac_status=$?
5894    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189  (exit $ac_status); }; } &&
6190         { ac_try='test -s conftest$ac_exeext'
6191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192  (eval $ac_try) 2>&5
6193  ac_status=$?
6194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895    (exit $ac_status); }; }; then
5896    ac_cv_lib_mpi_MPI_Init=yes
5897   else
# Line 6200 | Line 5900 | rm -f conftest.err conftest.$ac_objext \
5900  
5901   ac_cv_lib_mpi_MPI_Init=no
5902   fi
5903 < rm -f conftest.err conftest.$ac_objext \
6204 <      conftest$ac_exeext conftest.$ac_ext
5903 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5904   LIBS=$ac_check_lib_save_LIBS
5905   fi
5906   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 6209 | Line 5908 | else
5908   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5909    MPI_LIB="-lmpi -llam -lpthread"
5910   else
5911 <  { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
5911 >
5912 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
5913   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
5914     { (exit 1); exit 1; }; }
5915 +             USE_MPI="no"
5916 +
5917   fi
5918  
5919   fi
5920  
6219 echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
6220 echo "${ECHO_T}found $MPI_LIB" >&6
5921  
5922  
5923   echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
5924   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
5925 < MPI_F90LIB=""
5926 < if test -f "$MPI_LIBDIR/libfmpich.a" ; then
5927 <  MPI_F90LIB="-lfmpich"
5928 < elif test -f "$MPI_LIBDIR/liblamf77mpi.a" ; then
5929 <  MPI_F90LIB="-llamf77mpi"
5925 > MPI_F90_LIB=""
5926 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
5927 >        MPI_F90_LIB="-lfmpich"
5928 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
5929 >        MPI_F90_LIB="-llamf77mpi"
5930   else
5931 <  # nothing special found, we'll assume that the C library is all we need
6232 <  MPI_F90LIB="  "
5931 >                        MPI_F90_LIB="  "
5932   fi
5933 < echo "$as_me:$LINENO: result: found $MPI_F90LIB" >&5
5934 < echo "${ECHO_T}found $MPI_F90LIB" >&6
5933 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
5934 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
5935  
5936  
5937 + fi
5938  
5939  
5940 +
5941   ac_ext=c
5942   ac_cpp='$CPP $CPPFLAGS'
5943   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 6265 | Line 5966 | do
5966    # On the NeXT, cc -E runs the code through the compiler's parser,
5967    # not just through cpp. "Syntax error" is here to catch this case.
5968    cat >conftest.$ac_ext <<_ACEOF
5969 + #line $LINENO "configure"
5970   /* confdefs.h.  */
5971   _ACEOF
5972   cat confdefs.h >>conftest.$ac_ext
# Line 6275 | Line 5977 | cat >>conftest.$ac_ext <<_ACEOF
5977   #else
5978   # include <assert.h>
5979   #endif
5980 <                     Syntax error
5980 >                     Syntax error
5981   _ACEOF
5982   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5983    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 6287 | Line 5989 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5989    (exit $ac_status); } >/dev/null; then
5990    if test -s conftest.err; then
5991      ac_cpp_err=$ac_c_preproc_warn_flag
6290    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5992    else
5993      ac_cpp_err=
5994    fi
# Line 6308 | Line 6009 | rm -f conftest.err conftest.$ac_ext
6009    # OK, works on sane cases.  Now check whether non-existent headers
6010    # can be detected and how.
6011    cat >conftest.$ac_ext <<_ACEOF
6012 + #line $LINENO "configure"
6013   /* confdefs.h.  */
6014   _ACEOF
6015   cat confdefs.h >>conftest.$ac_ext
# Line 6325 | Line 6027 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6027    (exit $ac_status); } >/dev/null; then
6028    if test -s conftest.err; then
6029      ac_cpp_err=$ac_c_preproc_warn_flag
6328    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6030    else
6031      ac_cpp_err=
6032    fi
# Line 6372 | Line 6073 | do
6073    # On the NeXT, cc -E runs the code through the compiler's parser,
6074    # not just through cpp. "Syntax error" is here to catch this case.
6075    cat >conftest.$ac_ext <<_ACEOF
6076 + #line $LINENO "configure"
6077   /* confdefs.h.  */
6078   _ACEOF
6079   cat confdefs.h >>conftest.$ac_ext
# Line 6382 | Line 6084 | cat >>conftest.$ac_ext <<_ACEOF
6084   #else
6085   # include <assert.h>
6086   #endif
6087 <                     Syntax error
6087 >                     Syntax error
6088   _ACEOF
6089   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6090    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 6394 | Line 6096 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6096    (exit $ac_status); } >/dev/null; then
6097    if test -s conftest.err; then
6098      ac_cpp_err=$ac_c_preproc_warn_flag
6397    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6099    else
6100      ac_cpp_err=
6101    fi
# Line 6415 | Line 6116 | rm -f conftest.err conftest.$ac_ext
6116    # OK, works on sane cases.  Now check whether non-existent headers
6117    # can be detected and how.
6118    cat >conftest.$ac_ext <<_ACEOF
6119 + #line $LINENO "configure"
6120   /* confdefs.h.  */
6121   _ACEOF
6122   cat confdefs.h >>conftest.$ac_ext
# Line 6432 | Line 6134 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6134    (exit $ac_status); } >/dev/null; then
6135    if test -s conftest.err; then
6136      ac_cpp_err=$ac_c_preproc_warn_flag
6435    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6137    else
6138      ac_cpp_err=
6139    fi
# Line 6493 | Line 6194 | else
6194    echo $ECHO_N "(cached) $ECHO_C" >&6
6195   else
6196    cat >conftest.$ac_ext <<_ACEOF
6197 + #line $LINENO "configure"
6198   /* confdefs.h.  */
6199   _ACEOF
6200   cat confdefs.h >>conftest.$ac_ext
# Line 6513 | Line 6215 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6215   _ACEOF
6216   rm -f conftest.$ac_objext
6217   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 <  (eval $ac_compile) 2>conftest.er1
6218 >  (eval $ac_compile) 2>&5
6219    ac_status=$?
6518  grep -v '^ *+' conftest.er1 >conftest.err
6519  rm -f conftest.er1
6520  cat conftest.err >&5
6220    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221    (exit $ac_status); } &&
6222 <         { ac_try='test -z "$ac_c_werror_flag"
6524 <                         || test ! -s conftest.err'
6525 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 <  (eval $ac_try) 2>&5
6527 <  ac_status=$?
6528 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 <  (exit $ac_status); }; } &&
6530 <         { ac_try='test -s conftest.$ac_objext'
6222 >         { ac_try='test -s conftest.$ac_objext'
6223    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224    (eval $ac_try) 2>&5
6225    ac_status=$?
# Line 6540 | Line 6232 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6232  
6233   ac_cv_header_stdc=no
6234   fi
6235 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6235 > rm -f conftest.$ac_objext conftest.$ac_ext
6236  
6237   if test $ac_cv_header_stdc = yes; then
6238    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6239    cat >conftest.$ac_ext <<_ACEOF
6240 + #line $LINENO "configure"
6241   /* confdefs.h.  */
6242   _ACEOF
6243   cat confdefs.h >>conftest.$ac_ext
# Line 6566 | Line 6259 | if test $ac_cv_header_stdc = yes; then
6259   if test $ac_cv_header_stdc = yes; then
6260    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6261    cat >conftest.$ac_ext <<_ACEOF
6262 + #line $LINENO "configure"
6263   /* confdefs.h.  */
6264   _ACEOF
6265   cat confdefs.h >>conftest.$ac_ext
# Line 6590 | Line 6284 | else
6284    :
6285   else
6286    cat >conftest.$ac_ext <<_ACEOF
6287 + #line $LINENO "configure"
6288   /* confdefs.h.  */
6289   _ACEOF
6290   cat confdefs.h >>conftest.$ac_ext
# Line 6601 | Line 6296 | cat >>conftest.$ac_ext <<_ACEOF
6296   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6297   #else
6298   # define ISLOWER(c) \
6299 <                   (('a' <= (c) && (c) <= 'i') \
6300 <                     || ('j' <= (c) && (c) <= 'r') \
6301 <                     || ('s' <= (c) && (c) <= 'z'))
6299 >                   (('a' <= (c) && (c) <= 'i') \
6300 >                     || ('j' <= (c) && (c) <= 'r') \
6301 >                     || ('s' <= (c) && (c) <= 'z'))
6302   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6303   #endif
6304  
# Line 6614 | Line 6309 | main ()
6309    int i;
6310    for (i = 0; i < 256; i++)
6311      if (XOR (islower (i), ISLOWER (i))
6312 <        || toupper (i) != TOUPPER (i))
6312 >        || toupper (i) != TOUPPER (i))
6313        exit(2);
6314    exit (0);
6315   }
# Line 6639 | Line 6334 | rm -f core *.core gmon.out bb.out conftest$ac_exeext c
6334   ( exit $ac_status )
6335   ac_cv_header_stdc=no
6336   fi
6337 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6337 > rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6338   fi
6339   fi
6340   fi
# Line 6664 | Line 6359 | for ac_header in sys/types.h sys/stat.h stdlib.h strin
6359  
6360  
6361   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6362 <                  inttypes.h stdint.h unistd.h
6362 >                  inttypes.h stdint.h unistd.h
6363   do
6364   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6365   echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 6673 | Line 6368 | else
6368    echo $ECHO_N "(cached) $ECHO_C" >&6
6369   else
6370    cat >conftest.$ac_ext <<_ACEOF
6371 + #line $LINENO "configure"
6372   /* confdefs.h.  */
6373   _ACEOF
6374   cat confdefs.h >>conftest.$ac_ext
# Line 6684 | Line 6380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380   _ACEOF
6381   rm -f conftest.$ac_objext
6382   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6383 <  (eval $ac_compile) 2>conftest.er1
6383 >  (eval $ac_compile) 2>&5
6384    ac_status=$?
6689  grep -v '^ *+' conftest.er1 >conftest.err
6690  rm -f conftest.er1
6691  cat conftest.err >&5
6385    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386    (exit $ac_status); } &&
6387 <         { ac_try='test -z "$ac_c_werror_flag"
6695 <                         || test ! -s conftest.err'
6387 >         { ac_try='test -s conftest.$ac_objext'
6388    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389    (eval $ac_try) 2>&5
6390    ac_status=$?
6391    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700  (exit $ac_status); }; } &&
6701         { ac_try='test -s conftest.$ac_objext'
6702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703  (eval $ac_try) 2>&5
6704  ac_status=$?
6705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392    (exit $ac_status); }; }; then
6393    eval "$as_ac_Header=yes"
6394   else
# Line 6711 | Line 6397 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6397  
6398   eval "$as_ac_Header=no"
6399   fi
6400 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6400 > rm -f conftest.$ac_objext conftest.$ac_ext
6401   fi
6402   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6403   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 6815 | Line 6501 | cat >conftest.$ac_ext <<_ACEOF
6501   echo "$as_me:$LINENO: checking sprng.h usability" >&5
6502   echo $ECHO_N "checking sprng.h usability... $ECHO_C" >&6
6503   cat >conftest.$ac_ext <<_ACEOF
6504 + #line $LINENO "configure"
6505   /* confdefs.h.  */
6506   _ACEOF
6507   cat confdefs.h >>conftest.$ac_ext
# Line 6825 | Line 6512 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512   _ACEOF
6513   rm -f conftest.$ac_objext
6514   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6515 <  (eval $ac_compile) 2>conftest.er1
6515 >  (eval $ac_compile) 2>&5
6516    ac_status=$?
6830  grep -v '^ *+' conftest.er1 >conftest.err
6831  rm -f conftest.er1
6832  cat conftest.err >&5
6517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518    (exit $ac_status); } &&
6519 <         { ac_try='test -z "$ac_c_werror_flag"
6836 <                         || test ! -s conftest.err'
6519 >         { ac_try='test -s conftest.$ac_objext'
6520    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521    (eval $ac_try) 2>&5
6522    ac_status=$?
6523    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841  (exit $ac_status); }; } &&
6842         { ac_try='test -s conftest.$ac_objext'
6843  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844  (eval $ac_try) 2>&5
6845  ac_status=$?
6846  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524    (exit $ac_status); }; }; then
6525    ac_header_compiler=yes
6526   else
# Line 6852 | Line 6529 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6529  
6530   ac_header_compiler=no
6531   fi
6532 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6532 > rm -f conftest.$ac_objext conftest.$ac_ext
6533   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6534   echo "${ECHO_T}$ac_header_compiler" >&6
6535  
# Line 6860 | Line 6537 | cat >conftest.$ac_ext <<_ACEOF
6537   echo "$as_me:$LINENO: checking sprng.h presence" >&5
6538   echo $ECHO_N "checking sprng.h presence... $ECHO_C" >&6
6539   cat >conftest.$ac_ext <<_ACEOF
6540 + #line $LINENO "configure"
6541   /* confdefs.h.  */
6542   _ACEOF
6543   cat confdefs.h >>conftest.$ac_ext
# Line 6877 | Line 6555 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6555    (exit $ac_status); } >/dev/null; then
6556    if test -s conftest.err; then
6557      ac_cpp_err=$ac_c_preproc_warn_flag
6880    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6558    else
6559      ac_cpp_err=
6560    fi
# Line 6897 | Line 6574 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
6574   echo "${ECHO_T}$ac_header_preproc" >&6
6575  
6576   # So?  What about this header?
6577 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6578 <  yes:no: )
6577 > case $ac_header_compiler:$ac_header_preproc in
6578 >  yes:no )
6579      { echo "$as_me:$LINENO: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&5
6580   echo "$as_me: WARNING: sprng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6581 <    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the compiler's result" >&5
6582 < echo "$as_me: WARNING: sprng.h: proceeding with the compiler's result" >&2;}
6583 <    ac_header_preproc=yes
6581 >    { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6582 > echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6583 >    (
6584 >      cat <<\_ASBOX
6585 > ## ------------------------------------ ##
6586 > ## Report this to bug-autoconf@gnu.org. ##
6587 > ## ------------------------------------ ##
6588 > _ASBOX
6589 >    ) |
6590 >      sed "s/^/$as_me: WARNING:     /" >&2
6591      ;;
6592 <  no:yes:* )
6592 >  no:yes )
6593      { echo "$as_me:$LINENO: WARNING: sprng.h: present but cannot be compiled" >&5
6594   echo "$as_me: WARNING: sprng.h: present but cannot be compiled" >&2;}
6595 <    { echo "$as_me:$LINENO: WARNING: sprng.h:     check for missing prerequisite headers?" >&5
6596 < echo "$as_me: WARNING: sprng.h:     check for missing prerequisite headers?" >&2;}
6913 <    { echo "$as_me:$LINENO: WARNING: sprng.h: see the Autoconf documentation" >&5
6914 < echo "$as_me: WARNING: sprng.h: see the Autoconf documentation" >&2;}
6915 <    { echo "$as_me:$LINENO: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&5
6916 < echo "$as_me: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6595 >    { echo "$as_me:$LINENO: WARNING: sprng.h: check for missing prerequisite headers?" >&5
6596 > echo "$as_me: WARNING: sprng.h: check for missing prerequisite headers?" >&2;}
6597      { echo "$as_me:$LINENO: WARNING: sprng.h: proceeding with the preprocessor's result" >&5
6598   echo "$as_me: WARNING: sprng.h: proceeding with the preprocessor's result" >&2;}
6919    { echo "$as_me:$LINENO: WARNING: sprng.h: in the future, the compiler will take precedence" >&5
6920 echo "$as_me: WARNING: sprng.h: in the future, the compiler will take precedence" >&2;}
6599      (
6600        cat <<\_ASBOX
6601 < ## ------------------------------ ##
6602 < ## Report this to gezelter@nd.edu ##
6603 < ## ------------------------------ ##
6601 > ## ------------------------------------ ##
6602 > ## Report this to bug-autoconf@gnu.org. ##
6603 > ## ------------------------------------ ##
6604   _ASBOX
6605      ) |
6606        sed "s/^/$as_me: WARNING:     /" >&2
# Line 6949 | Line 6627 | cat >conftest.$ac_ext <<_ACEOF
6627    ac_check_lib_save_LIBS=$LIBS
6628   LIBS="-lsprng  $LIBS"
6629   cat >conftest.$ac_ext <<_ACEOF
6630 + #line $LINENO "configure"
6631   /* confdefs.h.  */
6632   _ACEOF
6633   cat confdefs.h >>conftest.$ac_ext
# Line 6972 | Line 6651 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6651   _ACEOF
6652   rm -f conftest.$ac_objext conftest$ac_exeext
6653   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6654 <  (eval $ac_link) 2>conftest.er1
6654 >  (eval $ac_link) 2>&5
6655    ac_status=$?
6977  grep -v '^ *+' conftest.er1 >conftest.err
6978  rm -f conftest.er1
6979  cat conftest.err >&5
6656    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657    (exit $ac_status); } &&
6658 <         { ac_try='test -z "$ac_c_werror_flag"
6983 <                         || test ! -s conftest.err'
6658 >         { ac_try='test -s conftest$ac_exeext'
6659    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660    (eval $ac_try) 2>&5
6661    ac_status=$?
6662    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988  (exit $ac_status); }; } &&
6989         { ac_try='test -s conftest$ac_exeext'
6990  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991  (eval $ac_try) 2>&5
6992  ac_status=$?
6993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663    (exit $ac_status); }; }; then
6664    ac_cv_lib_sprng_init_rng=yes
6665   else
# Line 6999 | Line 6668 | rm -f conftest.err conftest.$ac_objext \
6668  
6669   ac_cv_lib_sprng_init_rng=no
6670   fi
6671 < rm -f conftest.err conftest.$ac_objext \
7003 <      conftest$ac_exeext conftest.$ac_ext
6671 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6672   LIBS=$ac_check_lib_save_LIBS
6673   fi
6674   echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
# Line 7081 | Line 6749 | cat >conftest.$ac_ext <<_ACEOF
6749   echo "$as_me:$LINENO: checking mkl.h usability" >&5
6750   echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
6751   cat >conftest.$ac_ext <<_ACEOF
6752 + #line $LINENO "configure"
6753   /* confdefs.h.  */
6754   _ACEOF
6755   cat confdefs.h >>conftest.$ac_ext
# Line 7091 | Line 6760 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6760   _ACEOF
6761   rm -f conftest.$ac_objext
6762   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6763 <  (eval $ac_compile) 2>conftest.er1
6763 >  (eval $ac_compile) 2>&5
6764    ac_status=$?
7096  grep -v '^ *+' conftest.er1 >conftest.err
7097  rm -f conftest.er1
7098  cat conftest.err >&5
6765    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766    (exit $ac_status); } &&
6767 <         { ac_try='test -z "$ac_c_werror_flag"
7102 <                         || test ! -s conftest.err'
6767 >         { ac_try='test -s conftest.$ac_objext'
6768    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769    (eval $ac_try) 2>&5
6770    ac_status=$?
6771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107  (exit $ac_status); }; } &&
7108         { ac_try='test -s conftest.$ac_objext'
7109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110  (eval $ac_try) 2>&5
7111  ac_status=$?
7112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772    (exit $ac_status); }; }; then
6773    ac_header_compiler=yes
6774   else
# Line 7118 | Line 6777 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
6777  
6778   ac_header_compiler=no
6779   fi
6780 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6780 > rm -f conftest.$ac_objext conftest.$ac_ext
6781   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6782   echo "${ECHO_T}$ac_header_compiler" >&6
6783  
# Line 7126 | Line 6785 | cat >conftest.$ac_ext <<_ACEOF
6785   echo "$as_me:$LINENO: checking mkl.h presence" >&5
6786   echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
6787   cat >conftest.$ac_ext <<_ACEOF
6788 + #line $LINENO "configure"
6789   /* confdefs.h.  */
6790   _ACEOF
6791   cat confdefs.h >>conftest.$ac_ext
# Line 7143 | Line 6803 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
6803    (exit $ac_status); } >/dev/null; then
6804    if test -s conftest.err; then
6805      ac_cpp_err=$ac_c_preproc_warn_flag
7146    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6806    else
6807      ac_cpp_err=
6808    fi
# Line 7163 | Line 6822 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
6822   echo "${ECHO_T}$ac_header_preproc" >&6
6823  
6824   # So?  What about this header?
6825 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6826 <  yes:no: )
6825 > case $ac_header_compiler:$ac_header_preproc in
6826 >  yes:no )
6827      { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6828   echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6829 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
6830 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
6831 <    ac_header_preproc=yes
6829 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6830 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
6831 >    (
6832 >      cat <<\_ASBOX
6833 > ## ------------------------------------ ##
6834 > ## Report this to bug-autoconf@gnu.org. ##
6835 > ## ------------------------------------ ##
6836 > _ASBOX
6837 >    ) |
6838 >      sed "s/^/$as_me: WARNING:     /" >&2
6839      ;;
6840 <  no:yes:* )
6840 >  no:yes )
6841      { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
6842   echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
6843 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
6844 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
7179 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
7180 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
7181 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
7182 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6843 >    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
6844 > echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
6845      { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
6846   echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
7185    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
7186 echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
6847      (
6848        cat <<\_ASBOX
6849 < ## ------------------------------ ##
6850 < ## Report this to gezelter@nd.edu ##
6851 < ## ------------------------------ ##
6849 > ## ------------------------------------ ##
6850 > ## Report this to bug-autoconf@gnu.org. ##
6851 > ## ------------------------------------ ##
6852   _ASBOX
6853      ) |
6854        sed "s/^/$as_me: WARNING:     /" >&2
# Line 7215 | Line 6875 | cat >conftest.$ac_ext <<_ACEOF
6875    ac_check_lib_save_LIBS=$LIBS
6876   LIBS="-lmkl  $LIBS"
6877   cat >conftest.$ac_ext <<_ACEOF
6878 + #line $LINENO "configure"
6879   /* confdefs.h.  */
6880   _ACEOF
6881   cat confdefs.h >>conftest.$ac_ext
# Line 7238 | Line 6899 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899   _ACEOF
6900   rm -f conftest.$ac_objext conftest$ac_exeext
6901   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6902 <  (eval $ac_link) 2>conftest.er1
6902 >  (eval $ac_link) 2>&5
6903    ac_status=$?
7243  grep -v '^ *+' conftest.er1 >conftest.err
7244  rm -f conftest.er1
7245  cat conftest.err >&5
6904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905    (exit $ac_status); } &&
6906 <         { ac_try='test -z "$ac_c_werror_flag"
7249 <                         || test ! -s conftest.err'
7250 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 <  (eval $ac_try) 2>&5
7252 <  ac_status=$?
7253 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 <  (exit $ac_status); }; } &&
7255 <         { ac_try='test -s conftest$ac_exeext'
6906 >         { ac_try='test -s conftest$ac_exeext'
6907    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908    (eval $ac_try) 2>&5
6909    ac_status=$?
# Line 7265 | Line 6916 | rm -f conftest.err conftest.$ac_objext \
6916  
6917   ac_cv_lib_mkl_vslNewStream=no
6918   fi
6919 < rm -f conftest.err conftest.$ac_objext \
7269 <      conftest$ac_exeext conftest.$ac_ext
6919 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6920   LIBS=$ac_check_lib_save_LIBS
6921   fi
6922   echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
# Line 7336 | Line 6986 | SUBDIRS="libBASS libmdtools src forceFields samples ut
6986  
6987   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
6988  
6989 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps third-party"
6989 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps third-party "
6990  
6991   CFLAGS=${CFLAGS-""}
6992   CXXFLAGS=${CXXFLAGS-""}
# Line 7371 | Line 7021 | esac
7021  
7022  
7023  
7024 <          ac_config_headers="$ac_config_headers libmdtools/config.h"
7024 >                    ac_config_headers="$ac_config_headers libBASS/config.h libmdtools/config.h"
7025  
7026                                                                                                                                                                  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"
7027  
# Line 7404 | Line 7054 | _ACEOF
7054        # `set' does not quote correctly, so add quotes (double-quote
7055        # substitution turns \\\\ into \\, and sed turns \\ into \).
7056        sed -n \
7057 <        "s/'/'\\\\''/g;
7058 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7057 >        "s/'/'\\\\''/g;
7058 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7059        ;;
7060      *)
7061        # `set' quotes correctly as required by POSIX, so do not add quotes.
7062        sed -n \
7063 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7063 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7064        ;;
7065      esac;
7066   } |
# Line 7440 | Line 7090 | if test "x$srcdir" = x.; then
7090   # trailing colons and then remove the whole line if VPATH becomes empty
7091   # (actually we leave an empty line to preserve line numbers).
7092   if test "x$srcdir" = x.; then
7093 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
7093 >  ac_vpsub='/^[         ]*VPATH[        ]*=/{
7094   s/:*\$(srcdir):*/:/;
7095   s/:*\${srcdir}:*/:/;
7096   s/:*@srcdir@:*/:/;
7097 < s/^\([^=]*=[     ]*\):*/\1/;
7097 > s/^\([^=]*=[    ]*\):*/\1/;
7098   s/:*$//;
7099 < s/^[^=]*=[       ]*$//;
7099 > s/^[^=]*=[      ]*$//;
7100   }'
7101   fi
7102  
# Line 7457 | Line 7107 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
7107   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7108    # 1. Remove the extension, and $U if already installed.
7109    ac_i=`echo "$ac_i" |
7110 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7110 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7111    # 2. Add them.
7112    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7113    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 7501 | Line 7151 | DUALCASE=1; export DUALCASE # for MKS sh
7151   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7152    set -o posix
7153   fi
7504 DUALCASE=1; export DUALCASE # for MKS sh
7154  
7155   # Support unset when possible.
7156 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7156 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
7157    as_unset=unset
7158   else
7159    as_unset=false
# Line 7523 | Line 7172 | do
7172    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7173    LC_TELEPHONE LC_TIME
7174   do
7175 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7175 >  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
7176      eval $as_var=C; export $as_var
7177    else
7178      $as_unset $as_var
# Line 7702 | Line 7351 | else
7351   if mkdir -p . 2>/dev/null; then
7352    as_mkdir_p=:
7353   else
7705  test -d ./-p && rmdir ./-p
7354    as_mkdir_p=false
7355   fi
7356  
7357   as_executable_p="test -f"
7358  
7359   # Sed expression to map a string onto a valid CPP name.
7360 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7360 > as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7361  
7362   # Sed expression to map a string onto a valid variable name.
7363 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7363 > as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7364  
7365  
7366   # IFS
# Line 7739 | Line 7387 | generated by GNU Autoconf 2.59.  Invocation command li
7387   cat >&5 <<_CSEOF
7388  
7389   This file was extended by OOPSE $as_me 1.0, which was
7390 < generated by GNU Autoconf 2.59.  Invocation command line was
7390 > generated by GNU Autoconf 2.57.  Invocation command line was
7391  
7392    CONFIG_FILES    = $CONFIG_FILES
7393    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 7783 | Line 7431 | Usage: $0 [OPTIONS] [FILE]...
7431    -d, --debug      don't remove temporary files
7432        --recheck    update $as_me by reconfiguring in the same conditions
7433    --file=FILE[:TEMPLATE]
7434 <                   instantiate the configuration file FILE
7434 >                   instantiate the configuration file FILE
7435    --header=FILE[:TEMPLATE]
7436 <                   instantiate the configuration header FILE
7436 >                   instantiate the configuration header FILE
7437  
7438   Configuration files:
7439   $config_files
# Line 7799 | Line 7447 | configured by $0, generated by GNU Autoconf 2.59,
7447   cat >>$CONFIG_STATUS <<_ACEOF
7448   ac_cs_version="\\
7449   OOPSE config.status 1.0
7450 < configured by $0, generated by GNU Autoconf 2.59,
7450 > configured by $0, generated by GNU Autoconf 2.57,
7451    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7452  
7453 < Copyright (C) 2003 Free Software Foundation, Inc.
7453 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7454 > Free Software Foundation, Inc.
7455   This config.status script is free software; the Free Software Foundation
7456   gives unlimited permission to copy, distribute and modify it."
7457   srcdir=$srcdir
# Line 7917 | Line 7566 | do
7566    "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
7567    "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
7568    "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
7569 +  "libBASS/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libBASS/config.h" ;;
7570    "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
7571    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7572   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
# Line 8048 | Line 7698 | s,@mpi@,$mpi,;t t
7698   s,@LEXLIB@,$LEXLIB,;t t
7699   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
7700   s,@AR@,$AR,;t t
7701 < s,@mpi@,$mpi,;t t
7702 < s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t
7703 < s,@MPI_INC@,$MPI_INC,;t t
8054 < s,@MPI_F90INC@,$MPI_F90INC,;t t
7701 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
7702 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
7703 > s,@MPI_F90_INC@,$MPI_F90_INC,;t t
7704   s,@MPI_LIB@,$MPI_LIB,;t t
7705 < s,@MPI_F90LIB@,$MPI_F90LIB,;t t
7705 > s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
7706 > s,@USE_MPI@,$USE_MPI,;t t
7707   s,@CPP@,$CPP,;t t
7708   s,@EGREP@,$EGREP,;t t
7709   s,@SPRNG_LIBDIR@,$SPRNG_LIBDIR,;t t
# Line 8101 | Line 7751 | _ACEOF
7751        (echo ':t
7752    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7753        if test -z "$ac_sed_cmds"; then
7754 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7754 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7755        else
7756 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7756 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7757        fi
7758        ac_sed_frag=`expr $ac_sed_frag + 1`
7759        ac_beg=$ac_end
# Line 8121 | Line 7771 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
7771    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7772    case $ac_file in
7773    - | *:- | *:-:* ) # input from stdin
7774 <        cat >$tmp/stdin
7775 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7776 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7774 >        cat >$tmp/stdin
7775 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7776 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7777    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7778 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7778 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7779    * )   ac_file_in=$ac_file.in ;;
7780    esac
7781  
7782    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7783    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7784   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7785 <         X"$ac_file" : 'X\(//\)[^/]' \| \
7786 <         X"$ac_file" : 'X\(//\)$' \| \
7787 <         X"$ac_file" : 'X\(/\)' \| \
7788 <         .     : '\(.\)' 2>/dev/null ||
7785 >         X"$ac_file" : 'X\(//\)[^/]' \| \
7786 >         X"$ac_file" : 'X\(//\)$' \| \
7787 >         X"$ac_file" : 'X\(/\)' \| \
7788 >         .     : '\(.\)' 2>/dev/null ||
7789   echo X"$ac_file" |
7790      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7791            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8151 | Line 7801 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
7801        as_dirs="$as_dir $as_dirs"
7802        as_dir=`(dirname "$as_dir") 2>/dev/null ||
7803   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7804 <         X"$as_dir" : 'X\(//\)[^/]' \| \
7805 <         X"$as_dir" : 'X\(//\)$' \| \
7806 <         X"$as_dir" : 'X\(/\)' \| \
7807 <         .     : '\(.\)' 2>/dev/null ||
7804 >         X"$as_dir" : 'X\(//\)[^/]' \| \
7805 >         X"$as_dir" : 'X\(//\)$' \| \
7806 >         X"$as_dir" : 'X\(/\)' \| \
7807 >         .     : '\(.\)' 2>/dev/null ||
7808   echo X"$as_dir" |
7809      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7810            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8192 | Line 7842 | esac
7842      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7843      ac_top_srcdir=$ac_top_builddir$srcdir ;;
7844   esac
7845 <
7846 < # Do not use `cd foo && pwd` to compute absolute paths, because
7847 < # the directories may not exist.
7848 < case `pwd` in
7849 < .) ac_abs_builddir="$ac_dir";;
7850 < *)
8201 <  case "$ac_dir" in
8202 <  .) ac_abs_builddir=`pwd`;;
8203 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8204 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8205 <  esac;;
8206 < esac
8207 < case $ac_abs_builddir in
8208 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
8209 < *)
8210 <  case ${ac_top_builddir}. in
8211 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
8212 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8213 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8214 <  esac;;
8215 < esac
8216 < case $ac_abs_builddir in
8217 < .) ac_abs_srcdir=$ac_srcdir;;
8218 < *)
8219 <  case $ac_srcdir in
8220 <  .) ac_abs_srcdir=$ac_abs_builddir;;
8221 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8222 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8223 <  esac;;
8224 < esac
8225 < case $ac_abs_builddir in
8226 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
8227 < *)
8228 <  case $ac_top_srcdir in
8229 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8230 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8231 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8232 <  esac;;
8233 < esac
7845 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7846 > # absolute.
7847 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7848 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7849 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7850 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7851  
7852  
7853    case $INSTALL in
# Line 8252 | Line 7869 | echo "$as_me: creating $ac_file" >&6;}
7869      configure_input="$ac_file.  "
7870    fi
7871    configure_input=$configure_input"Generated from `echo $ac_file_in |
7872 <                                     sed 's,.*/,,'` by configure."
7872 >                                     sed 's,.*/,,'` by configure."
7873  
7874    # First look for the input files in the build tree, otherwise in the
7875    # src tree.
# Line 8261 | Line 7878 | echo "$as_me: creating $ac_file" >&6;}
7878        case $f in
7879        -) echo $tmp/stdin ;;
7880        [\\/$]*)
7881 <         # Absolute (can't be DOS-style, as IFS=:)
7882 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7881 >         # Absolute (can't be DOS-style, as IFS=:)
7882 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7883   echo "$as_me: error: cannot find input file: $f" >&2;}
7884     { (exit 1); exit 1; }; }
7885 <         echo "$f";;
7885 >         echo $f;;
7886        *) # Relative
7887 <         if test -f "$f"; then
7888 <           # Build tree
7889 <           echo "$f"
7890 <         elif test -f "$srcdir/$f"; then
7891 <           # Source tree
7892 <           echo "$srcdir/$f"
7893 <         else
7894 <           # /dev/null tree
7895 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7887 >         if test -f "$f"; then
7888 >           # Build tree
7889 >           echo $f
7890 >         elif test -f "$srcdir/$f"; then
7891 >           # Source tree
7892 >           echo $srcdir/$f
7893 >         else
7894 >           # /dev/null tree
7895 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7896   echo "$as_me: error: cannot find input file: $f" >&2;}
7897     { (exit 1); exit 1; }; }
7898 <         fi;;
7898 >         fi;;
7899        esac
7900      done` || { (exit 1); exit 1; }
7901   _ACEOF
# Line 8320 | Line 7937 | ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7937   # NAME is the cpp macro being defined and VALUE is the value it is being given.
7938   #
7939   # ac_d sets the value in "#define NAME VALUE" lines.
7940 < ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
7941 < ac_dB='[         ].*$,\1#\2'
7940 > ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7941 > ac_dB='[        ].*$,\1#\2'
7942   ac_dC=' '
7943   ac_dD=',;t'
7944   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7945 < ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7945 > ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7946   ac_uB='$,\1#\2define\3'
7947   ac_uC=' '
7948   ac_uD=',;t'
# Line 8334 | Line 7951 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7951    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7952    case $ac_file in
7953    - | *:- | *:-:* ) # input from stdin
7954 <        cat >$tmp/stdin
7955 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7956 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7954 >        cat >$tmp/stdin
7955 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7956 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7957    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7958 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7958 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7959    * )   ac_file_in=$ac_file.in ;;
7960    esac
7961  
# Line 8352 | Line 7969 | echo "$as_me: creating $ac_file" >&6;}
7969        case $f in
7970        -) echo $tmp/stdin ;;
7971        [\\/$]*)
7972 <         # Absolute (can't be DOS-style, as IFS=:)
7973 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7972 >         # Absolute (can't be DOS-style, as IFS=:)
7973 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7974   echo "$as_me: error: cannot find input file: $f" >&2;}
7975     { (exit 1); exit 1; }; }
7976 <         # Do quote $f, to prevent DOS paths from being IFS'd.
8360 <         echo "$f";;
7976 >         echo $f;;
7977        *) # Relative
7978 <         if test -f "$f"; then
7979 <           # Build tree
7980 <           echo "$f"
7981 <         elif test -f "$srcdir/$f"; then
7982 <           # Source tree
7983 <           echo "$srcdir/$f"
7984 <         else
7985 <           # /dev/null tree
7986 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7978 >         if test -f "$f"; then
7979 >           # Build tree
7980 >           echo $f
7981 >         elif test -f "$srcdir/$f"; then
7982 >           # Source tree
7983 >           echo $srcdir/$f
7984 >         else
7985 >           # /dev/null tree
7986 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7987   echo "$as_me: error: cannot find input file: $f" >&2;}
7988     { (exit 1); exit 1; }; }
7989 <         fi;;
7989 >         fi;;
7990        esac
7991      done` || { (exit 1); exit 1; }
7992    # Remove the trailing spaces.
7993 <  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
7993 >  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7994  
7995   _ACEOF
7996  
# Line 8397 | Line 8013 | s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*
8013   s,[\\$`],\\&,g
8014   t clear
8015   : clear
8016 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8016 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8017   t end
8018 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8018 > s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8019   : end
8020   _ACEOF
8021   # If some macros were called several times there might be several times
# Line 8413 | Line 8029 | s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/*
8029   # example, in the case of _POSIX_SOURCE, which is predefined and required
8030   # on some systems where configure will not decide to define it.
8031   cat >>conftest.undefs <<\_ACEOF
8032 < s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8032 > s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8033   _ACEOF
8034  
8035   # Break up conftest.defines because some shells have a limit on the size
8036   # of here documents, and old seds have small limits too (100 cmds).
8037   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8038 < echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8038 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8039   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8040   echo '  :' >>$CONFIG_STATUS
8041   rm -f conftest.tail
# Line 8428 | Line 8044 | do
8044    # Write a limited-size here document to $tmp/defines.sed.
8045    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8046    # Speed up: don't consider the non `#define' lines.
8047 <  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
8047 >  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
8048    # Work around the forget-to-reset-the-flag bug.
8049    echo 't clr' >>$CONFIG_STATUS
8050    echo ': clr' >>$CONFIG_STATUS
# Line 8455 | Line 8071 | do
8071    # Write a limited-size here document to $tmp/undefs.sed.
8072    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8073    # Speed up: don't consider the non `#undef'
8074 <  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8074 >  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8075    # Work around the forget-to-reset-the-flag bug.
8076    echo 't clr' >>$CONFIG_STATUS
8077    echo ': clr' >>$CONFIG_STATUS
# Line 8489 | Line 8105 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
8105      else
8106        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8107   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8108 <         X"$ac_file" : 'X\(//\)[^/]' \| \
8109 <         X"$ac_file" : 'X\(//\)$' \| \
8110 <         X"$ac_file" : 'X\(/\)' \| \
8111 <         .     : '\(.\)' 2>/dev/null ||
8108 >         X"$ac_file" : 'X\(//\)[^/]' \| \
8109 >         X"$ac_file" : 'X\(//\)$' \| \
8110 >         X"$ac_file" : 'X\(/\)' \| \
8111 >         .     : '\(.\)' 2>/dev/null ||
8112   echo X"$ac_file" |
8113      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8114            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8508 | Line 8124 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
8124        as_dirs="$as_dir $as_dirs"
8125        as_dir=`(dirname "$as_dir") 2>/dev/null ||
8126   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8127 <         X"$as_dir" : 'X\(//\)[^/]' \| \
8128 <         X"$as_dir" : 'X\(//\)$' \| \
8129 <         X"$as_dir" : 'X\(/\)' \| \
8130 <         .     : '\(.\)' 2>/dev/null ||
8127 >         X"$as_dir" : 'X\(//\)[^/]' \| \
8128 >         X"$as_dir" : 'X\(//\)$' \| \
8129 >         X"$as_dir" : 'X\(/\)' \| \
8130 >         .     : '\(.\)' 2>/dev/null ||
8131   echo X"$as_dir" |
8132      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8133            /^X\(\/\/\)[^/].*/{ s//\1/; q; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines