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

Comparing trunk/OOPSE/configure (file contents):
Revision 942 by gezelter, Wed Jan 14 15:49:26 2004 UTC vs.
Revision 1233 by gezelter, Fri Jun 4 02:38:23 2004 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.57 for OOPSE 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright (C) 2003 Free Software Foundation, Inc.
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 > # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11   ## --------------------- ##
# Line 21 | Line 22 | DUALCASE=1; export DUALCASE # for MKS sh
22   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23    set -o posix
24   fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25  
26   # Support unset when possible.
27 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28    as_unset=unset
29   else
30    as_unset=false
# Line 43 | Line 43 | do
43    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44    LC_TELEPHONE LC_TIME
45   do
46 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 >  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47      eval $as_var=C; export $as_var
48    else
49      $as_unset $as_var
# Line 220 | Line 220 | else
220   if mkdir -p . 2>/dev/null; then
221    as_mkdir_p=:
222   else
223  test -d ./-p && rmdir ./-p
223    as_mkdir_p=false
224   fi
225  
226   as_executable_p="test -f"
227  
228   # Sed expression to map a string onto a valid CPP name.
229 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 > as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230  
231   # Sed expression to map a string onto a valid variable name.
232 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 > as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233  
234  
235   # IFS
# Line 312 | Line 311 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
311   # include <unistd.h>
312   #endif"
313  
314 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR mpi MPI_LIBDIR MPI_INC MPI_LIB CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
314 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR MPI_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
877    --with-sprng-include=PREFIX
878                            SPRNG include directory
879 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
879 >  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
880  
881   Some influential environment variables:
882    CC          C compiler command
# 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
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
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 2067 | 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 2086 | 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 2107 | 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 2197 | 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 2223 | 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 2273 | 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 2292 | 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=$?
2297  grep -v '^ *+' conftest.er1 >conftest.err
2298  rm -f conftest.er1
2299  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"
2303 <                         || 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
2308  (exit $ac_status); }; } &&
2309         { ac_try='test -s conftest.$ac_objext'
2310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311  (eval $ac_try) 2>&5
2312  ac_status=$?
2313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272    (exit $ac_status); }; }; then
2273    ac_compiler_gnu=yes
2274   else
# Line 2319 | 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 2335 | 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 2351 | 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=$?
2356  grep -v '^ *+' conftest.er1 >conftest.err
2357  rm -f conftest.er1
2358  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"
2362 <                         || 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
2367  (exit $ac_status); }; } &&
2368         { ac_try='test -s conftest.$ac_objext'
2369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370  (eval $ac_try) 2>&5
2371  ac_status=$?
2372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322    (exit $ac_status); }; }; then
2323    ac_cv_prog_cc_g=yes
2324   else
# Line 2378 | 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 2405 | 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 2432 | Line 2382 | static char *f (char * (*g) (char **, int), char **p,
2382    va_end (v);
2383    return s;
2384   }
2435
2436 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2437   function prototypes and stuff, but not '\xHH' hex character constants.
2438   These don't provoke an error unfortunately, instead are silently treated
2439   as 'x'.  The following induces an error, until -std1 is added to get
2440   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2441   array size at least.  It's necessary to write '\x00'==0 to get something
2442   that's true only with -std1.  */
2443 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2444
2385   int test (int i, double x);
2386   struct s1 {int (*f) (int a);};
2387   struct s2 {int (*f) (double a);};
# Line 2468 | 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=$?
2473  grep -v '^ *+' conftest.er1 >conftest.err
2474  rm -f conftest.er1
2475  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"
2479 <                         || 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
2484  (exit $ac_status); }; } &&
2485         { ac_try='test -s conftest.$ac_objext'
2486  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487  (eval $ac_try) 2>&5
2488  ac_status=$?
2489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420    (exit $ac_status); }; }; then
2421    ac_cv_prog_cc_stdc=$ac_arg
2422   break
# Line 2495 | 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 2523 | 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=$?
2528  grep -v '^ *+' conftest.er1 >conftest.err
2529  rm -f conftest.er1
2530  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"
2534 <                         || test ! -s conftest.err'
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
2539 <  (exit $ac_status); }; } &&
2540 <         { 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 2552 | 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.  */
2560 $ac_declaration
2482   #include <stdlib.h>
2483 + $ac_declaration
2484   int
2485   main ()
2486   {
# Line 2569 | 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=$?
2574  grep -v '^ *+' conftest.er1 >conftest.err
2575  rm -f conftest.er1
2576  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"
2580 <                         || 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
2585  (exit $ac_status); }; } &&
2586         { ac_try='test -s conftest.$ac_objext'
2587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588  (eval $ac_try) 2>&5
2589  ac_status=$?
2590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503    (exit $ac_status); }; }; then
2504    :
2505   else
# Line 2596 | 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 2614 | 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=$?
2619  grep -v '^ *+' conftest.er1 >conftest.err
2620  rm -f conftest.er1
2621  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"
2625 <                         || 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
2630  (exit $ac_status); }; } &&
2631         { ac_try='test -s conftest.$ac_objext'
2632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633  (eval $ac_try) 2>&5
2634  ac_status=$?
2635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539    (exit $ac_status); }; }; then
2540    break
2541   else
# Line 2640 | 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 2654 | 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 2668 | 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 2710 | 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 2781 | 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 2800 | 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=$?
2805  grep -v '^ *+' conftest.er1 >conftest.err
2806  rm -f conftest.er1
2807  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"
2811 <                         || 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
2816  (exit $ac_status); }; } &&
2817         { ac_try='test -s conftest.$ac_objext'
2818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819  (eval $ac_try) 2>&5
2820  ac_status=$?
2821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716    (exit $ac_status); }; }; then
2717    ac_compiler_gnu=yes
2718   else
# Line 2827 | 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 2843 | 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 2859 | 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=$?
2864  grep -v '^ *+' conftest.er1 >conftest.err
2865  rm -f conftest.er1
2866  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"
2870 <                         || 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
2875  (exit $ac_status); }; } &&
2876         { ac_try='test -s conftest.$ac_objext'
2877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878  (eval $ac_try) 2>&5
2879  ac_status=$?
2880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766    (exit $ac_status); }; }; then
2767    ac_cv_prog_cxx_g=yes
2768   else
# Line 2886 | 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 2906 | 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 2914 | 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.  */
2922 $ac_declaration
2809   #include <stdlib.h>
2810 + $ac_declaration
2811   int
2812   main ()
2813   {
# Line 2931 | 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=$?
2936  grep -v '^ *+' conftest.er1 >conftest.err
2937  rm -f conftest.er1
2938  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"
2942 <                         || test ! -s conftest.err'
2943 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 <  (eval $ac_try) 2>&5
2945 <  ac_status=$?
2946 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 <  (exit $ac_status); }; } &&
2948 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 2958 | 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 2976 | 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=$?
2981  grep -v '^ *+' conftest.er1 >conftest.err
2982  rm -f conftest.er1
2983  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"
2987 <                         || 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
2992  (exit $ac_status); }; } &&
2993         { ac_try='test -s conftest.$ac_objext'
2994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995  (eval $ac_try) 2>&5
2996  ac_status=$?
2997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866    (exit $ac_status); }; }; then
2867    break
2868   else
# Line 3002 | 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 3187 | 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=$?
3192  grep -v '^ *+' conftest.er1 >conftest.err
3193  rm -f conftest.er1
3194  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"
3198 <                         || 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
3203  (exit $ac_status); }; } &&
3204         { ac_try='test -s conftest.$ac_objext'
3205  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206  (eval $ac_try) 2>&5
3207  ac_status=$?
3208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067    (exit $ac_status); }; }; then
3068    ac_compiler_gnu=yes
3069   else
# Line 3214 | 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 3288 | 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=$?
3293  grep -v '^ *+' conftest.er1 >conftest.err
3294  rm -f conftest.er1
3295  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"
3299 <                         || 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
3304  (exit $ac_status); }; } &&
3305         { ac_try='test -s conftest.$ac_objext'
3306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307  (eval $ac_try) 2>&5
3308  ac_status=$?
3309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158    (exit $ac_status); }; }; then
3159    prepflagworks=1
3160   else
# Line 3315 | 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 3403 | 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=$?
3408  grep -v '^ *+' conftest.er1 >conftest.err
3409  rm -f conftest.er1
3410  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"
3414 <                         || test ! -s conftest.err'
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=$?
3262    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419  (exit $ac_status); }; } &&
3420         { ac_try='test -s conftest.$ac_objext'
3421  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422  (eval $ac_try) 2>&5
3423  ac_status=$?
3424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263    (exit $ac_status); }; }; then
3264    prepdefflagworks=1
3265   else
# Line 3430 | 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 3482 | 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=$?
3487  grep -v '^ *+' conftest.er1 >conftest.err
3488  rm -f conftest.er1
3489  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"
3493 <                         || test ! -s conftest.err'
3494 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 <  (eval $ac_try) 2>&5
3496 <  ac_status=$?
3497 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 <  (exit $ac_status); }; } &&
3499 <         { 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 3526 | Line 3354 | F90FLAGS="$F90FLAGS $ac_verb"
3354   ac_save_F90FLAGS=$F90FLAGS
3355   F90FLAGS="$F90FLAGS $ac_verb"
3356  
3357 < (eval echo $as_me:3529: \"$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 3568 | 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 3603 | 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:3606: \"$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 3785 | 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=$?
3790  grep -v '^ *+' conftest.er1 >conftest.err
3791  rm -f conftest.er1
3792  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"
3796 <                         || test ! -s conftest.err'
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=$?
3624    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801  (exit $ac_status); }; } &&
3802         { ac_try='test -s conftest.$ac_objext'
3803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804  (eval $ac_try) 2>&5
3805  ac_status=$?
3806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625    (exit $ac_status); }; }; then
3626    mv conftest.$ac_objext cf90_test.$ac_objext
3627  
# Line 3821 | 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 3844 | 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=$?
3849  grep -v '^ *+' conftest.er1 >conftest.err
3850  rm -f conftest.er1
3851  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"
3855 <                         || 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
3860  (exit $ac_status); }; } &&
3861         { ac_try='test -s conftest$ac_exeext'
3862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863  (eval $ac_try) 2>&5
3864  ac_status=$?
3865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675    (exit $ac_status); }; }; then
3676    ac_success=yes; break 2
3677   else
# Line 3870 | 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 \
3874 <      conftest$ac_exeext conftest.$ac_ext
3682 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3683      done
3684    done
3685  
# Line 3892 | 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 3915 | 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=$?
3920  grep -v '^ *+' conftest.er1 >conftest.err
3921  rm -f conftest.er1
3922  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"
3926 <                         || 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
3931  (exit $ac_status); }; } &&
3932         { ac_try='test -s conftest$ac_exeext'
3933  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934  (eval $ac_try) 2>&5
3935  ac_status=$?
3936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736    (exit $ac_status); }; }; then
3737    ac_success_extra=yes; break
3738   else
# Line 3941 | 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 \
3945 <      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 3977 | 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 4213 | Line 4011 | echo "$as_me:$LINENO: checking whether we are *really*
4011  
4012  
4013  
4014 < echo "$as_me:$LINENO: checking whether we are *really* using gcc" >&5
4015 < echo $ECHO_N "checking whether we are *really* using gcc... $ECHO_C" >&6
4014 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
4015 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
4016   if test "${ac_cv_prog_really_gcc+set}" = set; then
4017    echo $ECHO_N "(cached) $ECHO_C" >&6
4018   else
# Line 4288 | 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"
4292 <                echo "*******************************************************"
4293 <                echo "*  You have Darwin on an unknown powerpc system.      *"
4294 <                echo "*  It is recommended that you use                     *"
4295 <                echo "*                                                     *"
4296 <                echo "*  CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
4297 <                echo "*                               ^^^                   *"
4298 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4299 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4300 <                echo "*******************************************************"
4089 >                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4090          fi;;
4091    esac
4092  
# Line 4683 | Line 4472 | echo "$as_me:$LINENO: checking whether we are *really*
4472  
4473  
4474  
4475 < echo "$as_me:$LINENO: checking whether we are *really* using g++" >&5
4476 < echo $ECHO_N "checking whether we are *really* using g++... $ECHO_C" >&6
4475 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
4476 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
4477   if test "${ac_cv_prog_really_gxx+set}" = set; then
4478    echo $ECHO_N "(cached) $ECHO_C" >&6
4479   else
# Line 4748 | 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"
4753 <                echo "*******************************************************"
4754 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
4755 <                echo "*  recommended that you use                           *"
4756 <                echo "*                                                     *"
4757 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
4758 <                echo "*                                 ^^^                 *"
4759 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
4760 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
4761 <                echo "*******************************************************"
4540 >        if test "$CXX" = xlc++; then
4541 >                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
4542          fi;;
4543    esac
4544  
# Line 5169 | 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"
5174 <                echo "*********************************************************"
5175 <                echo "*  You have Darwin on an unknown powerpc system.  It is *"
5176 <                echo "*  recommended that you use                             *"
5177 <                echo "*                                                       *"
5178 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w    *"
5179 <                echo "*                                 ^^^                   *"
5180 <                echo "*  where xxx is 601, 603, 604, or whatever kind of      *"
5181 <                echo "*  PowerPC CPU you have.   For more info, man xlf.      *"
5182 <                echo "*********************************************************"
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 5268 | 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"
5271 # 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 5285 | Line 5055 | case $as_dir/ in
5055   case $as_dir/ in
5056    ./ | .// | /cC/* | \
5057    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5288  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5058    /usr/ucb/* ) ;;
5059    *)
5060      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 5293 | 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 5349 | 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 5557 | 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=$?
5562  grep -v '^ *+' conftest.er1 >conftest.err
5563  rm -f conftest.er1
5564  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"
5568 <                         || test ! -s conftest.err'
5569 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 <  (eval $ac_try) 2>&5
5571 <  ac_status=$?
5572 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 <  (exit $ac_status); }; } &&
5574 <         { 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 5584 | 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 \
5588 <      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 5610 | 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=$?
5615  grep -v '^ *+' conftest.er1 >conftest.err
5616  rm -f conftest.er1
5617  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"
5621 <                         || 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
5626  (exit $ac_status); }; } &&
5627         { ac_try='test -s conftest$ac_exeext'
5628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629  (eval $ac_try) 2>&5
5630  ac_status=$?
5631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380    (exit $ac_status); }; }; then
5381    ac_cv_lib_l_yywrap=yes
5382   else
# Line 5637 | 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 \
5641 <      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 5700 | 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=$?
5705  grep -v '^ *+' conftest.er1 >conftest.err
5706  rm -f conftest.er1
5707  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"
5711 <                         || 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
5716  (exit $ac_status); }; } &&
5717         { ac_try='test -s conftest$ac_exeext'
5718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719  (eval $ac_try) 2>&5
5720  ac_status=$?
5721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459    (exit $ac_status); }; }; then
5460    ac_cv_prog_lex_yytext_pointer=yes
5461   else
# Line 5726 | 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 \
5730 <      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 5811 | 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 5840 | Line 5576 | echo "$as_me:$LINENO: checking for mpi-directory" >&5
5576    exit 1
5577   fi
5578  
5843 echo "$as_me:$LINENO: checking for mpi-directory" >&5
5844 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;
5853 echo "$as_me:$LINENO: result: $MPI_DIR" >&5
5854 echo "${ECHO_T}$MPI_DIR" >&6
5588  
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  
5857 echo "$as_me:$LINENO: checking for mpi-lib-directory" >&5
5858 echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
5600  
5601 < # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
5602 < if test "${with_mpi_libdir+set}" = set; then
5603 <  withval="$with_mpi_libdir"
5863 <  MPI_LIBDIR="$withval"
5864 < else
5865 <  MPI_LIBDIR="$MPI_DIR/lib"
5866 < fi;
5867 < echo "$as_me:$LINENO: result: $MPI_LIBDIR" >&5
5868 < echo "${ECHO_T}$MPI_LIBDIR" >&6
5601 > # Set variables...
5602 > MPI_LIB_DIR="$MPI/lib"
5603 > MPI_INC_DIR="$MPI/include"
5604  
5605  
5871 echo "$as_me:$LINENO: checking for mpi-inc-directory" >&5
5872 echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
5606  
5607 < # Check whether --with-mpi_inc or --without-mpi_inc was given.
5608 < if test "${with_mpi_inc+set}" = set; then
5609 <  withval="$with_mpi_inc"
5610 <  MPI_INC="$withval"
5611 < else
5612 <  MPI_INC="$MPI_DIR/include"
5613 < fi;
5614 < echo "$as_me:$LINENO: result: $MPI_INC" >&5
5615 < echo "${ECHO_T}$MPI_INC" >&6
5607 > echo "$as_me:$LINENO: checking for mpi.h" >&5
5608 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
5609 > have_mpi_h=0
5610 > echo '#include <mpi.h>' > conftest.cc
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_mpi_h=1
5615 > else
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 for MPI library" >&5
5630 < echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
5631 < MPI_LIB=""
5632 < case "$host" in
5633 <  *-ibm-aix*)
5634 <    echo "$as_me:$LINENO: checking whether to use signal-based MPI library" >&5
5635 < echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
5636 <    echo "$as_me:$LINENO: result: $PACX_SIGNAL" >&5
5637 < echo "${ECHO_T}$PACX_SIGNAL" >&6
5638 <    if test "x$PACX_SIGNAL" = "xyes" ; then
5639 <      if test -f "$MPI_LIBDIR/libmpi.a" ; then
5640 <        MPI_LIB="-lmpi"
5641 <      elif test -f "$MPI_LIBDIR/libmpi.so" ; then
5642 <        MPI_LIB="-lmpi"
5643 <      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
5644 <        MPI_LIB="-lmpich"
5645 <      else
5646 <        { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5647 < echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
5648 <   { (exit 1); exit 1; }; }
5649 <      fi
5650 <    else
5651 <      if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
5652 <         MPI_LIB="-lmpi_r"
5653 <      else
5654 <         { { echo "$as_me:$LINENO: error: libmpi_r not found; check path for MPI package..." >&5
5655 < echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
5656 <   { (exit 1); exit 1; }; }
5657 <      fi
5658 <    fi
5659 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5660 < echo "${ECHO_T}found $MPI_LIB" >&6
5661 <  ;;
5662 <  *)                             if test -f "$MPI_LIBDIR/libmpich.a" ; then
5663 <      MPI_LIB="-lmpich"
5664 <    elif test -f "$MPI_LIBDIR/libmpi.so" ; then
5665 <      MPI_LIB="-lmpi"
5666 <    elif test -f "$MPI_LIBDIR/libmpi.a" ; then
5667 <      MPI_LIB="-lmpi"
5668 <    else
5669 <      { { echo "$as_me:$LINENO: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
5670 < echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
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_mpif_h=0
5632 > rm -f conftest*
5633 > cat >conftest.f90 <<EOF
5634 > program main
5635 >   include 'mpif.h'
5636 > end
5637 > EOF
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_F90_INC="$MPI_INC"
5642 >        have_mpif_h=1
5643 > else
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'
5664 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5665 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5666 >
5667 > ac_save_LDFLAGS=$LDFLAGS
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
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
5675 > else
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
5683 > cat >>conftest.$ac_ext <<_ACEOF
5684 > /* end confdefs.h.  */
5685 >
5686 > /* Override any gcc2 internal prototype to avoid an error.  */
5687 > #ifdef __cplusplus
5688 > extern "C"
5689 > #endif
5690 > /* We use char because int might match the return type of a gcc2
5691 >   builtin and then its argument prototype would still apply.  */
5692 > char MPI_Init ();
5693 > int
5694 > main ()
5695 > {
5696 > MPI_Init ();
5697 >  ;
5698 >  return 0;
5699 > }
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>&5
5704 >  ac_status=$?
5705 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 >  (exit $ac_status); } &&
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=$?
5711 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 >  (exit $ac_status); }; }; then
5713 >  ac_cv_lib_mpi_MPI_Init=yes
5714 > else
5715 >  echo "$as_me: failed program was:" >&5
5716 > sed 's/^/| /' conftest.$ac_ext >&5
5717 >
5718 > ac_cv_lib_mpi_MPI_Init=no
5719 > fi
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
5724 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5725 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5726 >  MPI_LIB="-lmpi"
5727 > fi
5728 >
5729 > fi
5730 > if test x = x"$MPI_LIB"; then
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
5735 > else
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
5743 > cat >>conftest.$ac_ext <<_ACEOF
5744 > /* end confdefs.h.  */
5745 >
5746 > /* Override any gcc2 internal prototype to avoid an error.  */
5747 > #ifdef __cplusplus
5748 > extern "C"
5749 > #endif
5750 > /* We use char because int might match the return type of a gcc2
5751 >   builtin and then its argument prototype would still apply.  */
5752 > char MPI_Init ();
5753 > int
5754 > main ()
5755 > {
5756 > MPI_Init ();
5757 >  ;
5758 >  return 0;
5759 > }
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>&5
5764 >  ac_status=$?
5765 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 >  (exit $ac_status); } &&
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
5772 >  (exit $ac_status); }; }; then
5773 >  ac_cv_lib_mpich_MPI_Init=yes
5774 > else
5775 >  echo "$as_me: failed program was:" >&5
5776 > sed 's/^/| /' conftest.$ac_ext >&5
5777 >
5778 > ac_cv_lib_mpich_MPI_Init=no
5779 > fi
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
5784 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5785 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
5786 >  MPI_LIB="-lmpich"
5787 > fi
5788 >
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
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
5796 > else
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
5804 > cat >>conftest.$ac_ext <<_ACEOF
5805 > /* end confdefs.h.  */
5806 >
5807 > /* Override any gcc2 internal prototype to avoid an error.  */
5808 > #ifdef __cplusplus
5809 > extern "C"
5810 > #endif
5811 > /* We use char because int might match the return type of a gcc2
5812 >   builtin and then its argument prototype would still apply.  */
5813 > char MPI_Init ();
5814 > int
5815 > main ()
5816 > {
5817 > MPI_Init ();
5818 >  ;
5819 >  return 0;
5820 > }
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>&5
5825 >  ac_status=$?
5826 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 >  (exit $ac_status); } &&
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
5833 >  (exit $ac_status); }; }; then
5834 >  ac_cv_lib_mpi_MPI_Init=yes
5835 > else
5836 >  echo "$as_me: failed program was:" >&5
5837 > sed 's/^/| /' conftest.$ac_ext >&5
5838 >
5839 > ac_cv_lib_mpi_MPI_Init=no
5840 > fi
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
5845 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5846 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5847 >  MPI_LIB="-lmpi -llam"
5848 > fi
5849 >
5850 > fi
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
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
5858 > else
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
5866 > cat >>conftest.$ac_ext <<_ACEOF
5867 > /* end confdefs.h.  */
5868 >
5869 > /* Override any gcc2 internal prototype to avoid an error.  */
5870 > #ifdef __cplusplus
5871 > extern "C"
5872 > #endif
5873 > /* We use char because int might match the return type of a gcc2
5874 >   builtin and then its argument prototype would still apply.  */
5875 > char MPI_Init ();
5876 > int
5877 > main ()
5878 > {
5879 > MPI_Init ();
5880 >  ;
5881 >  return 0;
5882 > }
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>&5
5887 >  ac_status=$?
5888 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 >  (exit $ac_status); } &&
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
5895 >  (exit $ac_status); }; }; then
5896 >  ac_cv_lib_mpi_MPI_Init=yes
5897 > else
5898 >  echo "$as_me: failed program was:" >&5
5899 > sed 's/^/| /' conftest.$ac_ext >&5
5900 >
5901 > ac_cv_lib_mpi_MPI_Init=no
5902 > fi
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
5907 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5908 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
5909 >  MPI_LIB="-lmpi -llam -lpthread"
5910 > else
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 <    fi
5916 <    echo "$as_me:$LINENO: result: found $MPI_LIB" >&5
5917 < echo "${ECHO_T}found $MPI_LIB" >&6
5918 <  ;;
5919 < esac
5915 >             USE_MPI="no"
5916 >
5917 > fi
5918 >
5919 > fi
5920 >
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_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 >                        MPI_F90_LIB="  "
5932 > fi
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  
# Line 5962 | 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 5972 | 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 5984 | 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
5987    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5992    else
5993      ac_cpp_err=
5994    fi
# Line 6005 | 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 6022 | 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
6025    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6030    else
6031      ac_cpp_err=
6032    fi
# Line 6069 | 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 6079 | 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 6091 | 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
6094    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6099    else
6100      ac_cpp_err=
6101    fi
# Line 6112 | 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 6129 | 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
6132    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6137    else
6138      ac_cpp_err=
6139    fi
# Line 6190 | 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 6210 | 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=$?
6215  grep -v '^ *+' conftest.er1 >conftest.err
6216  rm -f conftest.er1
6217  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"
6221 <                         || test ! -s conftest.err'
6222 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6223 <  (eval $ac_try) 2>&5
6224 <  ac_status=$?
6225 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 <  (exit $ac_status); }; } &&
6227 <         { 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 6237 | 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 6263 | 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 6287 | 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 6298 | 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 6311 | 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 6336 | 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 6361 | 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 6370 | 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 6381 | 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=$?
6386  grep -v '^ *+' conftest.er1 >conftest.err
6387  rm -f conftest.er1
6388  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"
6392 <                         || 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
6397  (exit $ac_status); }; } &&
6398         { ac_try='test -s conftest.$ac_objext'
6399  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400  (eval $ac_try) 2>&5
6401  ac_status=$?
6402  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392    (exit $ac_status); }; }; then
6393    eval "$as_ac_Header=yes"
6394   else
# Line 6408 | 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 6512 | 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 6522 | 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=$?
6527  grep -v '^ *+' conftest.er1 >conftest.err
6528  rm -f conftest.er1
6529  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"
6533 <                         || 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
6538  (exit $ac_status); }; } &&
6539         { ac_try='test -s conftest.$ac_objext'
6540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541  (eval $ac_try) 2>&5
6542  ac_status=$?
6543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524    (exit $ac_status); }; }; then
6525    ac_header_compiler=yes
6526   else
# Line 6549 | 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 6557 | 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 6574 | 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
6577    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6558    else
6559      ac_cpp_err=
6560    fi
# Line 6594 | 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;}
6610 <    { echo "$as_me:$LINENO: WARNING: sprng.h: see the Autoconf documentation" >&5
6611 < echo "$as_me: WARNING: sprng.h: see the Autoconf documentation" >&2;}
6612 <    { echo "$as_me:$LINENO: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&5
6613 < echo "$as_me: WARNING: sprng.h:     section \"Present But Cannot Be Compiled\"" >&2;}
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;}
6616    { echo "$as_me:$LINENO: WARNING: sprng.h: in the future, the compiler will take precedence" >&5
6617 echo "$as_me: WARNING: sprng.h: in the future, the compiler will take precedence" >&2;}
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 6646 | 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 6669 | 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=$?
6674  grep -v '^ *+' conftest.er1 >conftest.err
6675  rm -f conftest.er1
6676  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"
6680 <                         || 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
6685  (exit $ac_status); }; } &&
6686         { ac_try='test -s conftest$ac_exeext'
6687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688  (eval $ac_try) 2>&5
6689  ac_status=$?
6690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663    (exit $ac_status); }; }; then
6664    ac_cv_lib_sprng_init_rng=yes
6665   else
# Line 6696 | 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 \
6700 <      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 6713 | Line 6684 | fi
6684  
6685    CPPFLAGS=$ac_save_CPPFLAGS
6686    LDFLAGS=$ac_save_LDFLAGS
6687 <  ac_ext=f90
6688 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6689 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6687 >  ac_ext=c
6688 > ac_cpp='$CPP $CPPFLAGS'
6689 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6690 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6691 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692  
6693  
6694    if test x_$HAVE_SPRNG != x_yes; then
# Line 6737 | Line 6709 | echo "${ECHO_T}yes" >&6
6709    withval="$with_mkl"
6710       echo "$as_me:$LINENO: result: yes" >&5
6711   echo "${ECHO_T}yes" >&6
6712 <    for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
6712 >    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
6713          mkldir="$dir"
6714          if test -f "$dir/include/mkl.h"; then
6715              found_mkl="yes";
# Line 6777 | 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 6787 | 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=$?
6792  grep -v '^ *+' conftest.er1 >conftest.err
6793  rm -f conftest.er1
6794  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"
6798 <                         || 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
6803  (exit $ac_status); }; } &&
6804         { ac_try='test -s conftest.$ac_objext'
6805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806  (eval $ac_try) 2>&5
6807  ac_status=$?
6808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772    (exit $ac_status); }; }; then
6773    ac_header_compiler=yes
6774   else
# Line 6814 | 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 6822 | 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 6839 | 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
6842    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6806    else
6807      ac_cpp_err=
6808    fi
# Line 6859 | 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;}
6875 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
6876 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
6877 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
6878 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
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;}
6881    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
6882 echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
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 6911 | 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 6934 | 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=$?
6939  grep -v '^ *+' conftest.er1 >conftest.err
6940  rm -f conftest.er1
6941  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"
6945 <                         || test ! -s conftest.err'
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=$?
6910    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950  (exit $ac_status); }; } &&
6951         { ac_try='test -s conftest$ac_exeext'
6952  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953  (eval $ac_try) 2>&5
6954  ac_status=$?
6955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911    (exit $ac_status); }; }; then
6912    ac_cv_lib_mkl_vslNewStream=yes
6913   else
# Line 6961 | 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 \
6965 <      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 6981 | Line 6935 | fi
6935  
6936    CPPFLAGS=$ac_save_CPPFLAGS
6937    LDFLAGS=$ac_save_LDFLAGS
6938 <  ac_ext=f90
6939 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6940 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6941 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6938 >  ac_ext=c
6939 > ac_cpp='$CPP $CPPFLAGS'
6940 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6943  
6944  
6945    if test x_$HAVE_MKL != x_yes; then
# Line 7031 | 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 7066 | 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 7099 | 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 7135 | 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 7152 | 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 7196 | 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
7199 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 7218 | 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 7397 | Line 7351 | else
7351   if mkdir -p . 2>/dev/null; then
7352    as_mkdir_p=:
7353   else
7400  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 7434 | 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 7478 | 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 7494 | 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 7612 | 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 7743 | 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
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_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 7794 | 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 7814 | 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 7844 | 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 7885 | Line 7842 | esac
7842      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7843      ac_top_srcdir=$ac_top_builddir$srcdir ;;
7844   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  
7889 # Do not use `cd foo && pwd` to compute absolute paths, because
7890 # the directories may not exist.
7891 case `pwd` in
7892 .) ac_abs_builddir="$ac_dir";;
7893 *)
7894  case "$ac_dir" in
7895  .) ac_abs_builddir=`pwd`;;
7896  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7897  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7898  esac;;
7899 esac
7900 case $ac_abs_builddir in
7901 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7902 *)
7903  case ${ac_top_builddir}. in
7904  .) ac_abs_top_builddir=$ac_abs_builddir;;
7905  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7906  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7907  esac;;
7908 esac
7909 case $ac_abs_builddir in
7910 .) ac_abs_srcdir=$ac_srcdir;;
7911 *)
7912  case $ac_srcdir in
7913  .) ac_abs_srcdir=$ac_abs_builddir;;
7914  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7915  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7916  esac;;
7917 esac
7918 case $ac_abs_builddir in
7919 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7920 *)
7921  case $ac_top_srcdir in
7922  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7923  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7924  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7925  esac;;
7926 esac
7852  
7928
7853    case $INSTALL in
7854    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7855    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
# Line 7945 | 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 7954 | 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 8013 | 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 8027 | 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 8045 | 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.
8053 <         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 8090 | 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 8106 | 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 8121 | 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 8148 | 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 8182 | 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 8201 | 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