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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 1490 by gezelter, Fri Sep 24 04:16:43 2004 UTC vs.
Revision 2024 by gezelter, Tue Feb 15 05:05:33 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.57 for OOPSE 2.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 269 | Line 268 | PACKAGE_VERSION='1.0'
268   # Identity of this package.
269   PACKAGE_NAME='OOPSE'
270   PACKAGE_TARNAME='oopse'
271 < PACKAGE_VERSION='1.0'
272 < PACKAGE_STRING='OOPSE 1.0'
271 > PACKAGE_VERSION='2.0'
272 > PACKAGE_STRING='OOPSE 2.0'
273   PACKAGE_BUGREPORT='gezelter@nd.edu'
274  
275 < ac_unique_file="src/oopse.cpp"
275 > ac_unique_file="src/applications/oopse/oopse.cpp"
276   ac_default_prefix="/usr/local"
277   # Factoring default headers for most tests.
278   ac_includes_default="\
# 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 CPP EGREP LIBOBJS 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 SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS 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 F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315   ac_subst_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 797 | Line 796 | if test "$ac_init_help" = "long"; then
796    # Omit some internal or obsolete options to make the list less imposing.
797    # This message is too long to be a string in the A/UX 3.1 sh.
798    cat <<_ACEOF
799 < \`configure' configures OOPSE 1.0 to adapt to many kinds of systems.
799 > \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
800  
801   Usage: $0 [OPTION]... [VAR=VALUE]...
802  
# 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 858 | Line 857 | if test -n "$ac_init_help"; then
857  
858   if test -n "$ac_init_help"; then
859    case $ac_init_help in
860 <     short | recursive ) echo "Configuration of OOPSE 1.0:";;
860 >     short | recursive ) echo "Configuration of OOPSE 2.0:";;
861     esac
862    cat <<\_ACEOF
863  
# Line 866 | Line 865 | Optional Features:
865    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
866    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
867    --enable-debug          Compile OOPSE in debug mode
868 +  --enable-doxygen        enable documentation generation with doxygen (auto)
869 +  --enable-dot            use 'dot' to generate graphs in doxygen (auto)
870 +  --enable-html-docs      enable HTML generation with doxygen (yes)
871 +  --enable-latex-docs     enable LaTeX documentation generation with doxygen (no)
872    --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse
873  
874   Optional Packages:
# Line 926 | Line 929 | esac
929      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930      ac_top_srcdir=$ac_top_builddir$srcdir ;;
931   esac
932 <
933 < # Do not use `cd foo && pwd` to compute absolute paths, because
934 < # the directories may not exist.
935 < case `pwd` in
936 < .) ac_abs_builddir="$ac_dir";;
937 < *)
935 <  case "$ac_dir" in
936 <  .) ac_abs_builddir=`pwd`;;
937 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
938 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
939 <  esac;;
940 < esac
941 < case $ac_abs_builddir in
942 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
943 < *)
944 <  case ${ac_top_builddir}. in
945 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
946 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
947 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
948 <  esac;;
949 < esac
950 < case $ac_abs_builddir in
951 < .) ac_abs_srcdir=$ac_srcdir;;
952 < *)
953 <  case $ac_srcdir in
954 <  .) ac_abs_srcdir=$ac_abs_builddir;;
955 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
956 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
957 <  esac;;
958 < esac
959 < case $ac_abs_builddir in
960 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
961 < *)
962 <  case $ac_top_srcdir in
963 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
964 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
965 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 <  esac;;
967 < esac
932 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
933 > # absolute.
934 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
935 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
936 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
937 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
938  
939      cd $ac_dir
940      # Check for guested configure; otherwise get Cygnus style configure.
# Line 975 | Line 945 | esac
945        echo
946        $SHELL $ac_srcdir/configure  --help=recursive
947      elif test -f $ac_srcdir/configure.ac ||
948 <           test -f $ac_srcdir/configure.in; then
948 >           test -f $ac_srcdir/configure.in; then
949        echo
950        $ac_configure --help
951      else
# Line 988 | Line 958 | OOPSE configure 1.0
958   test -n "$ac_init_help" && exit 0
959   if $ac_init_version; then
960    cat <<\_ACEOF
961 < OOPSE configure 1.0
962 < generated by GNU Autoconf 2.59
961 > OOPSE configure 2.0
962 > generated by GNU Autoconf 2.57
963  
964 < Copyright (C) 2003 Free Software Foundation, Inc.
964 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
965 > Free Software Foundation, Inc.
966   This configure script is free software; the Free Software Foundation
967   gives unlimited permission to copy, distribute and modify it.
968   _ACEOF
# Line 1002 | Line 973 | It was created by OOPSE $as_me 1.0, which was
973   This file contains any messages produced by compilers while
974   running configure, to aid debugging if configure makes a mistake.
975  
976 < It was created by OOPSE $as_me 1.0, which was
977 < generated by GNU Autoconf 2.59.  Invocation command line was
976 > It was created by OOPSE $as_me 2.0, which was
977 > generated by GNU Autoconf 2.57.  Invocation command line was
978  
979    $ $0 $@
980  
# Line 1080 | Line 1051 | do
1051      2)
1052        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053        if test $ac_must_keep_next = true; then
1054 <        ac_must_keep_next=false # Got value, back to normal.
1054 >        ac_must_keep_next=false # Got value, back to normal.
1055        else
1056 <        case $ac_arg in
1057 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1058 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060 <          | -with-* | --with-* | -without-* | --without-* | --x)
1061 <            case "$ac_configure_args0 " in
1062 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063 <            esac
1064 <            ;;
1065 <          -* ) ac_must_keep_next=true ;;
1066 <        esac
1056 >        case $ac_arg in
1057 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1058 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060 >          | -with-* | --with-* | -without-* | --without-* | --x)
1061 >            case "$ac_configure_args0 " in
1062 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063 >            esac
1064 >            ;;
1065 >          -* ) ac_must_keep_next=true ;;
1066 >        esac
1067        fi
1068        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069        # Get rid of the leading space.
# Line 1126 | Line 1097 | _ASBOX
1097      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098      *ac_space=\ *)
1099        sed -n \
1100 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1100 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1102        ;;
1103      *)
1104        sed -n \
1105 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1105 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106        ;;
1107      esac;
1108   }
# Line 1160 | Line 1131 | _ASBOX
1131        for ac_var in $ac_subst_files
1132        do
1133          eval ac_val=$`echo $ac_var`
1134 <        echo "$ac_var='"'"'$ac_val'"'"'"
1134 >        echo "$ac_var='"'"'$ac_val'"'"'"
1135        done | sort
1136        echo
1137      fi
# Line 1179 | Line 1150 | _ASBOX
1150        echo "$as_me: caught signal $ac_signal"
1151      echo "$as_me: exit $exit_status"
1152    } >&5
1153 <  rm -f core *.core &&
1153 >  rm -f core core.* *.core &&
1154    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1155      exit $exit_status
1156       ' 0
# Line 1259 | Line 1230 | for ac_var in `(set) 2>&1 |
1230   # value.
1231   ac_cache_corrupted=false
1232   for ac_var in `(set) 2>&1 |
1233 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1233 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235    eval ac_new_set=\$ac_env_${ac_var}_set
1236    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1276 | Line 1247 | echo "$as_me: error: \`$ac_var' was not set in the pre
1247      ,);;
1248      *)
1249        if test "x$ac_old_val" != "x$ac_new_val"; then
1250 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1250 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1252 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1253   echo "$as_me:   former value:  $ac_old_val" >&2;}
1254 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1254 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1255   echo "$as_me:   current value: $ac_new_val" >&2;}
1256 <        ac_cache_corrupted=:
1256 >        ac_cache_corrupted=:
1257        fi;;
1258    esac
1259    # Pass precious variables to config.status.
# Line 1813 | Line 1784 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1784   # $SHELLVAR to the Fortran 95 mangled name.  If the SHELLVAR
1785   # argument is not supplied, it defaults to NAME.
1786   # AC_F95_FUNC
1787 +
1788 + # AC_F90_MODULE_NAMES
1789 + # -------------------
1790 + #
1791 + # Figure out how the Fortran 90 compiler constructs module file names
1792 + #
1793 + # AC_F90_MODULE_NAMES
1794  
1795  
1796  
# Line 1868 | Line 1846 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1846  
1847  
1848  
1849 +
1850 +
1851 +
1852 +
1853   # set program name
1854   PROGNAME="oopse"
1855  
# Line 1947 | Line 1929 | ac_ext=c
1929  
1930  
1931  
1932 +
1933 +
1934   ac_ext=c
1935   ac_cpp='$CPP $CPPFLAGS'
1936   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2066 | Line 2050 | cat >conftest.$ac_ext <<_ACEOF
2050    (exit $ac_status); }
2051  
2052   cat >conftest.$ac_ext <<_ACEOF
2053 + #line $LINENO "configure"
2054   /* confdefs.h.  */
2055   _ACEOF
2056   cat confdefs.h >>conftest.$ac_ext
# Line 2085 | Line 2070 | echo "$as_me:$LINENO: checking for C compiler default
2070   # Try to create an executable without -o first, disregard a.out.
2071   # It will help us diagnose broken compilers, and finding out an intuition
2072   # of exeext.
2073 < echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2074 < echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2073 > echo "$as_me:$LINENO: checking for C compiler default output" >&5
2074 > echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2075   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2076   if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2077    (eval $ac_link_default) 2>&5
# Line 2106 | Line 2091 | do
2091    test -f "$ac_file" || continue
2092    case $ac_file in
2093      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2094 <        ;;
2094 >        ;;
2095      conftest.$ac_ext )
2096 <        # This is the source file.
2097 <        ;;
2096 >        # This is the source file.
2097 >        ;;
2098      [ab].out )
2099 <        # We found the default executable, but exeext='' is most
2100 <        # certainly right.
2101 <        break;;
2099 >        # We found the default executable, but exeext='' is most
2100 >        # certainly right.
2101 >        break;;
2102      *.* )
2103 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2104 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2105 <        # but it would be cool to find out if it's true.  Does anybody
2106 <        # maintain Libtool? --akim.
2107 <        export ac_cv_exeext
2108 <        break;;
2103 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2104 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2105 >        # but it would be cool to find out if it's true.  Does anybody
2106 >        # maintain Libtool? --akim.
2107 >        export ac_cv_exeext
2108 >        break;;
2109      * )
2110 <        break;;
2110 >        break;;
2111    esac
2112   done
2113   else
# Line 2196 | Line 2181 | for ac_file in conftest.exe conftest conftest.*; do
2181    case $ac_file in
2182      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2183      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2184 <          export ac_cv_exeext
2185 <          break;;
2184 >          export ac_cv_exeext
2185 >          break;;
2186      * ) break;;
2187    esac
2188   done
# Line 2222 | Line 2207 | else
2207    echo $ECHO_N "(cached) $ECHO_C" >&6
2208   else
2209    cat >conftest.$ac_ext <<_ACEOF
2210 + #line $LINENO "configure"
2211   /* confdefs.h.  */
2212   _ACEOF
2213   cat confdefs.h >>conftest.$ac_ext
# Line 2272 | Line 2258 | else
2258    echo $ECHO_N "(cached) $ECHO_C" >&6
2259   else
2260    cat >conftest.$ac_ext <<_ACEOF
2261 + #line $LINENO "configure"
2262   /* confdefs.h.  */
2263   _ACEOF
2264   cat confdefs.h >>conftest.$ac_ext
# Line 2291 | Line 2278 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2278   _ACEOF
2279   rm -f conftest.$ac_objext
2280   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281 <  (eval $ac_compile) 2>conftest.er1
2281 >  (eval $ac_compile) 2>&5
2282    ac_status=$?
2296  grep -v '^ *+' conftest.er1 >conftest.err
2297  rm -f conftest.er1
2298  cat conftest.err >&5
2283    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284    (exit $ac_status); } &&
2285 <         { ac_try='test -z "$ac_c_werror_flag"
2302 <                         || test ! -s conftest.err'
2285 >         { ac_try='test -s conftest.$ac_objext'
2286    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287    (eval $ac_try) 2>&5
2288    ac_status=$?
2289    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307  (exit $ac_status); }; } &&
2308         { ac_try='test -s conftest.$ac_objext'
2309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310  (eval $ac_try) 2>&5
2311  ac_status=$?
2312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290    (exit $ac_status); }; }; then
2291    ac_compiler_gnu=yes
2292   else
# Line 2318 | Line 2295 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2295  
2296   ac_compiler_gnu=no
2297   fi
2298 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2298 > rm -f conftest.$ac_objext conftest.$ac_ext
2299   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2300  
2301   fi
# Line 2334 | Line 2311 | else
2311    echo $ECHO_N "(cached) $ECHO_C" >&6
2312   else
2313    cat >conftest.$ac_ext <<_ACEOF
2314 + #line $LINENO "configure"
2315   /* confdefs.h.  */
2316   _ACEOF
2317   cat confdefs.h >>conftest.$ac_ext
# Line 2350 | Line 2328 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328   _ACEOF
2329   rm -f conftest.$ac_objext
2330   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2331 <  (eval $ac_compile) 2>conftest.er1
2331 >  (eval $ac_compile) 2>&5
2332    ac_status=$?
2355  grep -v '^ *+' conftest.er1 >conftest.err
2356  rm -f conftest.er1
2357  cat conftest.err >&5
2333    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334    (exit $ac_status); } &&
2335 <         { ac_try='test -z "$ac_c_werror_flag"
2361 <                         || test ! -s conftest.err'
2335 >         { ac_try='test -s conftest.$ac_objext'
2336    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337    (eval $ac_try) 2>&5
2338    ac_status=$?
2339    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366  (exit $ac_status); }; } &&
2367         { ac_try='test -s conftest.$ac_objext'
2368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369  (eval $ac_try) 2>&5
2370  ac_status=$?
2371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340    (exit $ac_status); }; }; then
2341    ac_cv_prog_cc_g=yes
2342   else
# Line 2377 | Line 2345 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2345  
2346   ac_cv_prog_cc_g=no
2347   fi
2348 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2348 > rm -f conftest.$ac_objext conftest.$ac_ext
2349   fi
2350   echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2351   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2404 | Line 2372 | cat >conftest.$ac_ext <<_ACEOF
2372    ac_cv_prog_cc_stdc=no
2373   ac_save_CC=$CC
2374   cat >conftest.$ac_ext <<_ACEOF
2375 + #line $LINENO "configure"
2376   /* confdefs.h.  */
2377   _ACEOF
2378   cat confdefs.h >>conftest.$ac_ext
# Line 2431 | Line 2400 | static char *f (char * (*g) (char **, int), char **p,
2400    va_end (v);
2401    return s;
2402   }
2434
2435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2436   function prototypes and stuff, but not '\xHH' hex character constants.
2437   These don't provoke an error unfortunately, instead are silently treated
2438   as 'x'.  The following induces an error, until -std1 is added to get
2439   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2440   array size at least.  It's necessary to write '\x00'==0 to get something
2441   that's true only with -std1.  */
2442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2443
2403   int test (int i, double x);
2404   struct s1 {int (*f) (int a);};
2405   struct s2 {int (*f) (double a);};
# Line 2467 | Line 2426 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426    CC="$ac_save_CC $ac_arg"
2427    rm -f conftest.$ac_objext
2428   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429 <  (eval $ac_compile) 2>conftest.er1
2429 >  (eval $ac_compile) 2>&5
2430    ac_status=$?
2472  grep -v '^ *+' conftest.er1 >conftest.err
2473  rm -f conftest.er1
2474  cat conftest.err >&5
2431    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432    (exit $ac_status); } &&
2433 <         { ac_try='test -z "$ac_c_werror_flag"
2478 <                         || test ! -s conftest.err'
2433 >         { ac_try='test -s conftest.$ac_objext'
2434    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435    (eval $ac_try) 2>&5
2436    ac_status=$?
2437    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483  (exit $ac_status); }; } &&
2484         { ac_try='test -s conftest.$ac_objext'
2485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486  (eval $ac_try) 2>&5
2487  ac_status=$?
2488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438    (exit $ac_status); }; }; then
2439    ac_cv_prog_cc_stdc=$ac_arg
2440   break
# Line 2494 | Line 2443 | rm -f conftest.err conftest.$ac_objext
2443   sed 's/^/| /' conftest.$ac_ext >&5
2444  
2445   fi
2446 < rm -f conftest.err conftest.$ac_objext
2446 > rm -f conftest.$ac_objext
2447   done
2448   rm -f conftest.$ac_ext conftest.$ac_objext
2449   CC=$ac_save_CC
# Line 2522 | Line 2471 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2471   _ACEOF
2472   rm -f conftest.$ac_objext
2473   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2474 <  (eval $ac_compile) 2>conftest.er1
2474 >  (eval $ac_compile) 2>&5
2475    ac_status=$?
2527  grep -v '^ *+' conftest.er1 >conftest.err
2528  rm -f conftest.er1
2529  cat conftest.err >&5
2476    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477    (exit $ac_status); } &&
2478 <         { ac_try='test -z "$ac_c_werror_flag"
2533 <                         || test ! -s conftest.err'
2478 >         { ac_try='test -s conftest.$ac_objext'
2479    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480    (eval $ac_try) 2>&5
2481    ac_status=$?
2482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538  (exit $ac_status); }; } &&
2539         { ac_try='test -s conftest.$ac_objext'
2540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541  (eval $ac_try) 2>&5
2542  ac_status=$?
2543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483    (exit $ac_status); }; }; then
2484    for ac_declaration in \
2485 <   '' \
2485 >   ''\
2486 >   '#include <stdlib.h>' \
2487     'extern "C" void std::exit (int) throw (); using std::exit;' \
2488     'extern "C" void std::exit (int); using std::exit;' \
2489     'extern "C" void exit (int) throw ();' \
# Line 2551 | Line 2491 | do
2491     'void exit (int);'
2492   do
2493    cat >conftest.$ac_ext <<_ACEOF
2494 + #line $LINENO "configure"
2495   /* confdefs.h.  */
2496   _ACEOF
2497   cat confdefs.h >>conftest.$ac_ext
2498   cat >>conftest.$ac_ext <<_ACEOF
2499   /* end confdefs.h.  */
2559 $ac_declaration
2500   #include <stdlib.h>
2501 + $ac_declaration
2502   int
2503   main ()
2504   {
# Line 2568 | Line 2509 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2509   _ACEOF
2510   rm -f conftest.$ac_objext
2511   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2512 <  (eval $ac_compile) 2>conftest.er1
2512 >  (eval $ac_compile) 2>&5
2513    ac_status=$?
2573  grep -v '^ *+' conftest.er1 >conftest.err
2574  rm -f conftest.er1
2575  cat conftest.err >&5
2514    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515    (exit $ac_status); } &&
2516 <         { ac_try='test -z "$ac_c_werror_flag"
2579 <                         || test ! -s conftest.err'
2516 >         { ac_try='test -s conftest.$ac_objext'
2517    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518    (eval $ac_try) 2>&5
2519    ac_status=$?
2520    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584  (exit $ac_status); }; } &&
2585         { ac_try='test -s conftest.$ac_objext'
2586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587  (eval $ac_try) 2>&5
2588  ac_status=$?
2589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521    (exit $ac_status); }; }; then
2522    :
2523   else
# Line 2595 | Line 2526 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2526  
2527   continue
2528   fi
2529 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2529 > rm -f conftest.$ac_objext conftest.$ac_ext
2530    cat >conftest.$ac_ext <<_ACEOF
2531 + #line $LINENO "configure"
2532   /* confdefs.h.  */
2533   _ACEOF
2534   cat confdefs.h >>conftest.$ac_ext
# Line 2613 | Line 2545 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545   _ACEOF
2546   rm -f conftest.$ac_objext
2547   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 <  (eval $ac_compile) 2>conftest.er1
2548 >  (eval $ac_compile) 2>&5
2549    ac_status=$?
2618  grep -v '^ *+' conftest.er1 >conftest.err
2619  rm -f conftest.er1
2620  cat conftest.err >&5
2550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551    (exit $ac_status); } &&
2552 <         { ac_try='test -z "$ac_c_werror_flag"
2624 <                         || test ! -s conftest.err'
2552 >         { ac_try='test -s conftest.$ac_objext'
2553    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554    (eval $ac_try) 2>&5
2555    ac_status=$?
2556    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629  (exit $ac_status); }; } &&
2630         { ac_try='test -s conftest.$ac_objext'
2631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632  (eval $ac_try) 2>&5
2633  ac_status=$?
2634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557    (exit $ac_status); }; }; then
2558    break
2559   else
# Line 2639 | Line 2561 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2561   sed 's/^/| /' conftest.$ac_ext >&5
2562  
2563   fi
2564 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2564 > rm -f conftest.$ac_objext conftest.$ac_ext
2565   done
2566   rm -f conftest*
2567   if test -n "$ac_declaration"; then
# Line 2653 | Line 2575 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2575   sed 's/^/| /' conftest.$ac_ext >&5
2576  
2577   fi
2578 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2578 > rm -f conftest.$ac_objext conftest.$ac_ext
2579   ac_ext=c
2580   ac_cpp='$CPP $CPPFLAGS'
2581   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2780 | Line 2702 | else
2702    echo $ECHO_N "(cached) $ECHO_C" >&6
2703   else
2704    cat >conftest.$ac_ext <<_ACEOF
2705 + #line $LINENO "configure"
2706   /* confdefs.h.  */
2707   _ACEOF
2708   cat confdefs.h >>conftest.$ac_ext
# Line 2799 | Line 2722 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722   _ACEOF
2723   rm -f conftest.$ac_objext
2724   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 <  (eval $ac_compile) 2>conftest.er1
2725 >  (eval $ac_compile) 2>&5
2726    ac_status=$?
2804  grep -v '^ *+' conftest.er1 >conftest.err
2805  rm -f conftest.er1
2806  cat conftest.err >&5
2727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728    (exit $ac_status); } &&
2729 <         { ac_try='test -z "$ac_cxx_werror_flag"
2810 <                         || test ! -s conftest.err'
2811 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 <  (eval $ac_try) 2>&5
2813 <  ac_status=$?
2814 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 <  (exit $ac_status); }; } &&
2816 <         { ac_try='test -s conftest.$ac_objext'
2729 >         { ac_try='test -s conftest.$ac_objext'
2730    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731    (eval $ac_try) 2>&5
2732    ac_status=$?
# Line 2826 | Line 2739 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2739  
2740   ac_compiler_gnu=no
2741   fi
2742 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2742 > rm -f conftest.$ac_objext conftest.$ac_ext
2743   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2744  
2745   fi
# Line 2842 | Line 2755 | else
2755    echo $ECHO_N "(cached) $ECHO_C" >&6
2756   else
2757    cat >conftest.$ac_ext <<_ACEOF
2758 + #line $LINENO "configure"
2759   /* confdefs.h.  */
2760   _ACEOF
2761   cat confdefs.h >>conftest.$ac_ext
# Line 2858 | Line 2772 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2772   _ACEOF
2773   rm -f conftest.$ac_objext
2774   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 <  (eval $ac_compile) 2>conftest.er1
2775 >  (eval $ac_compile) 2>&5
2776    ac_status=$?
2863  grep -v '^ *+' conftest.er1 >conftest.err
2864  rm -f conftest.er1
2865  cat conftest.err >&5
2777    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778    (exit $ac_status); } &&
2779 <         { ac_try='test -z "$ac_cxx_werror_flag"
2869 <                         || test ! -s conftest.err'
2779 >         { ac_try='test -s conftest.$ac_objext'
2780    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781    (eval $ac_try) 2>&5
2782    ac_status=$?
2783    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874  (exit $ac_status); }; } &&
2875         { ac_try='test -s conftest.$ac_objext'
2876  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877  (eval $ac_try) 2>&5
2878  ac_status=$?
2879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784    (exit $ac_status); }; }; then
2785    ac_cv_prog_cxx_g=yes
2786   else
# Line 2885 | Line 2789 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2789  
2790   ac_cv_prog_cxx_g=no
2791   fi
2792 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2792 > rm -f conftest.$ac_objext conftest.$ac_ext
2793   fi
2794   echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2795   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2905 | Line 2809 | for ac_declaration in \
2809    fi
2810   fi
2811   for ac_declaration in \
2812 <   '' \
2812 >   ''\
2813 >   '#include <stdlib.h>' \
2814     'extern "C" void std::exit (int) throw (); using std::exit;' \
2815     'extern "C" void std::exit (int); using std::exit;' \
2816     'extern "C" void exit (int) throw ();' \
# Line 2913 | Line 2818 | do
2818     'void exit (int);'
2819   do
2820    cat >conftest.$ac_ext <<_ACEOF
2821 + #line $LINENO "configure"
2822   /* confdefs.h.  */
2823   _ACEOF
2824   cat confdefs.h >>conftest.$ac_ext
2825   cat >>conftest.$ac_ext <<_ACEOF
2826   /* end confdefs.h.  */
2921 $ac_declaration
2827   #include <stdlib.h>
2828 + $ac_declaration
2829   int
2830   main ()
2831   {
# Line 2930 | Line 2836 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2836   _ACEOF
2837   rm -f conftest.$ac_objext
2838   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2839 <  (eval $ac_compile) 2>conftest.er1
2839 >  (eval $ac_compile) 2>&5
2840    ac_status=$?
2935  grep -v '^ *+' conftest.er1 >conftest.err
2936  rm -f conftest.er1
2937  cat conftest.err >&5
2841    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842    (exit $ac_status); } &&
2843 <         { ac_try='test -z "$ac_cxx_werror_flag"
2941 <                         || test ! -s conftest.err'
2843 >         { ac_try='test -s conftest.$ac_objext'
2844    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845    (eval $ac_try) 2>&5
2846    ac_status=$?
2847    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946  (exit $ac_status); }; } &&
2947         { ac_try='test -s conftest.$ac_objext'
2948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949  (eval $ac_try) 2>&5
2950  ac_status=$?
2951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848    (exit $ac_status); }; }; then
2849    :
2850   else
# Line 2957 | Line 2853 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2853  
2854   continue
2855   fi
2856 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2856 > rm -f conftest.$ac_objext conftest.$ac_ext
2857    cat >conftest.$ac_ext <<_ACEOF
2858 + #line $LINENO "configure"
2859   /* confdefs.h.  */
2860   _ACEOF
2861   cat confdefs.h >>conftest.$ac_ext
# Line 2975 | Line 2872 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872   _ACEOF
2873   rm -f conftest.$ac_objext
2874   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 <  (eval $ac_compile) 2>conftest.er1
2875 >  (eval $ac_compile) 2>&5
2876    ac_status=$?
2980  grep -v '^ *+' conftest.er1 >conftest.err
2981  rm -f conftest.er1
2982  cat conftest.err >&5
2877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878    (exit $ac_status); } &&
2879 <         { ac_try='test -z "$ac_cxx_werror_flag"
2986 <                         || test ! -s conftest.err'
2879 >         { ac_try='test -s conftest.$ac_objext'
2880    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881    (eval $ac_try) 2>&5
2882    ac_status=$?
2883    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991  (exit $ac_status); }; } &&
2992         { ac_try='test -s conftest.$ac_objext'
2993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994  (eval $ac_try) 2>&5
2995  ac_status=$?
2996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884    (exit $ac_status); }; }; then
2885    break
2886   else
# Line 3001 | Line 2888 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
2888   sed 's/^/| /' conftest.$ac_ext >&5
2889  
2890   fi
2891 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2891 > rm -f conftest.$ac_objext conftest.$ac_ext
2892   done
2893   rm -f conftest*
2894   if test -n "$ac_declaration"; then
# Line 3186 | Line 3073 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3073   _ACEOF
3074   rm -f conftest.$ac_objext
3075   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3076 <  (eval $ac_compile) 2>conftest.er1
3076 >  (eval $ac_compile) 2>&5
3077    ac_status=$?
3191  grep -v '^ *+' conftest.er1 >conftest.err
3192  rm -f conftest.er1
3193  cat conftest.err >&5
3078    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079    (exit $ac_status); } &&
3080 <         { ac_try='test -z "$ac_f90_werror_flag"
3197 <                         || test ! -s conftest.err'
3080 >         { ac_try='test -s conftest.$ac_objext'
3081    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082    (eval $ac_try) 2>&5
3083    ac_status=$?
3084    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202  (exit $ac_status); }; } &&
3203         { ac_try='test -s conftest.$ac_objext'
3204  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205  (eval $ac_try) 2>&5
3206  ac_status=$?
3207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085    (exit $ac_status); }; }; then
3086    ac_compiler_gnu=yes
3087   else
# Line 3213 | Line 3090 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3090  
3091   ac_compiler_gnu=no
3092   fi
3093 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3093 > rm -f conftest.$ac_objext conftest.$ac_ext
3094   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3095  
3096   fi
# Line 3287 | Line 3164 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164   _ACEOF
3165   rm -f conftest.$ac_objext
3166   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3167 <  (eval $ac_compile) 2>conftest.er1
3167 >  (eval $ac_compile) 2>&5
3168    ac_status=$?
3292  grep -v '^ *+' conftest.er1 >conftest.err
3293  rm -f conftest.er1
3294  cat conftest.err >&5
3169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170    (exit $ac_status); } &&
3171 <         { ac_try='test -z "$ac_f90_werror_flag"
3298 <                         || test ! -s conftest.err'
3171 >         { ac_try='test -s conftest.$ac_objext'
3172    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173    (eval $ac_try) 2>&5
3174    ac_status=$?
3175    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303  (exit $ac_status); }; } &&
3304         { ac_try='test -s conftest.$ac_objext'
3305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306  (eval $ac_try) 2>&5
3307  ac_status=$?
3308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176    (exit $ac_status); }; }; then
3177    prepflagworks=1
3178   else
# Line 3314 | Line 3181 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3181  
3182   prepflagworks=0
3183   fi
3184 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3184 > rm -f conftest.$ac_objext conftest.$ac_ext
3185  
3186    F90FLAGS=$ac_save_F90FLAGS
3187    ac_ext=$ac_save_ext
# Line 3402 | Line 3269 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269   _ACEOF
3270   rm -f conftest.$ac_objext
3271   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3272 <  (eval $ac_compile) 2>conftest.er1
3272 >  (eval $ac_compile) 2>&5
3273    ac_status=$?
3407  grep -v '^ *+' conftest.er1 >conftest.err
3408  rm -f conftest.er1
3409  cat conftest.err >&5
3274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275    (exit $ac_status); } &&
3276 <         { ac_try='test -z "$ac_f90_werror_flag"
3413 <                         || test ! -s conftest.err'
3276 >         { ac_try='test -s conftest.$ac_objext'
3277    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3278    (eval $ac_try) 2>&5
3279    ac_status=$?
3280    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418  (exit $ac_status); }; } &&
3419         { ac_try='test -s conftest.$ac_objext'
3420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421  (eval $ac_try) 2>&5
3422  ac_status=$?
3423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281    (exit $ac_status); }; }; then
3282    prepdefflagworks=1
3283   else
# Line 3429 | Line 3286 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3286  
3287   prepdefflagworks=0
3288   fi
3289 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3289 > rm -f conftest.$ac_objext conftest.$ac_ext
3290  
3291    F90FLAGS=$ac_save_F90FLAGS
3292    ac_ext=$ac_save_ext
# Line 3481 | Line 3338 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3338   _ACEOF
3339   rm -f conftest.$ac_objext
3340   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3341 <  (eval $ac_compile) 2>conftest.er1
3341 >  (eval $ac_compile) 2>&5
3342    ac_status=$?
3486  grep -v '^ *+' conftest.er1 >conftest.err
3487  rm -f conftest.er1
3488  cat conftest.err >&5
3343    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344    (exit $ac_status); } &&
3345 <         { ac_try='test -z "$ac_f90_werror_flag"
3492 <                         || test ! -s conftest.err'
3493 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 <  (eval $ac_try) 2>&5
3495 <  ac_status=$?
3496 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 <  (exit $ac_status); }; } &&
3498 <         { ac_try='test -s conftest.$ac_objext'
3345 >         { ac_try='test -s conftest.$ac_objext'
3346    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347    (eval $ac_try) 2>&5
3348    ac_status=$?
# Line 3525 | Line 3372 | F90FLAGS="$F90FLAGS $ac_verb"
3372   ac_save_F90FLAGS=$F90FLAGS
3373   F90FLAGS="$F90FLAGS $ac_verb"
3374  
3375 < (eval echo $as_me:3528: \"$ac_link\") >&5
3375 > (eval echo $as_me:3375: \"$ac_link\") >&5
3376   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3377   echo "$ac_f90_v_output" >&5
3378   F90FLAGS=$ac_save_F90FLAGS
# Line 3567 | Line 3414 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3414   { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3415   echo "$as_me: WARNING: compilation failed" >&2;}
3416   fi
3417 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3417 > rm -f conftest.$ac_objext conftest.$ac_ext
3418  
3419   fi
3420   echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
# Line 3602 | Line 3449 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3449   ac_save_F90FLAGS=$F90FLAGS
3450   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3451  
3452 < (eval echo $as_me:3605: \"$ac_link\") >&5
3452 > (eval echo $as_me:3452: \"$ac_link\") >&5
3453   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3454   echo "$ac_f90_v_output" >&5
3455   F90FLAGS=$ac_save_F90FLAGS
# Line 3784 | Line 3631 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3631   _ACEOF
3632   rm -f conftest.$ac_objext
3633   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 <  (eval $ac_compile) 2>conftest.er1
3634 >  (eval $ac_compile) 2>&5
3635    ac_status=$?
3789  grep -v '^ *+' conftest.er1 >conftest.err
3790  rm -f conftest.er1
3791  cat conftest.err >&5
3636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637    (exit $ac_status); } &&
3638 <         { ac_try='test -z "$ac_f90_werror_flag"
3795 <                         || test ! -s conftest.err'
3638 >         { ac_try='test -s conftest.$ac_objext'
3639    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640    (eval $ac_try) 2>&5
3641    ac_status=$?
3642    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800  (exit $ac_status); }; } &&
3801         { ac_try='test -s conftest.$ac_objext'
3802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803  (eval $ac_try) 2>&5
3804  ac_status=$?
3805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643    (exit $ac_status); }; }; then
3644    mv conftest.$ac_objext cf90_test.$ac_objext
3645  
# Line 3820 | Line 3657 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657      for ac_underscore in "" "_"; do
3658        ac_func="$ac_foobar$ac_underscore"
3659        cat >conftest.$ac_ext <<_ACEOF
3660 + #line $LINENO "configure"
3661   /* confdefs.h.  */
3662   _ACEOF
3663   cat confdefs.h >>conftest.$ac_ext
# Line 3843 | Line 3681 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3681   _ACEOF
3682   rm -f conftest.$ac_objext conftest$ac_exeext
3683   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3684 <  (eval $ac_link) 2>conftest.er1
3684 >  (eval $ac_link) 2>&5
3685    ac_status=$?
3848  grep -v '^ *+' conftest.er1 >conftest.err
3849  rm -f conftest.er1
3850  cat conftest.err >&5
3686    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687    (exit $ac_status); } &&
3688 <         { ac_try='test -z "$ac_c_werror_flag"
3854 <                         || test ! -s conftest.err'
3688 >         { ac_try='test -s conftest$ac_exeext'
3689    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690    (eval $ac_try) 2>&5
3691    ac_status=$?
3692    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859  (exit $ac_status); }; } &&
3860         { ac_try='test -s conftest$ac_exeext'
3861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862  (eval $ac_try) 2>&5
3863  ac_status=$?
3864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693    (exit $ac_status); }; }; then
3694    ac_success=yes; break 2
3695   else
# Line 3869 | Line 3697 | rm -f conftest.err conftest.$ac_objext \
3697   sed 's/^/| /' conftest.$ac_ext >&5
3698  
3699   fi
3700 < rm -f conftest.err conftest.$ac_objext \
3873 <      conftest$ac_exeext conftest.$ac_ext
3700 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3701      done
3702    done
3703  
# Line 3891 | Line 3718 | rm -f conftest.err conftest.$ac_objext \
3718          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3719  
3720          cat >conftest.$ac_ext <<_ACEOF
3721 + #line $LINENO "configure"
3722   /* confdefs.h.  */
3723   _ACEOF
3724   cat confdefs.h >>conftest.$ac_ext
# Line 3914 | Line 3742 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3742   _ACEOF
3743   rm -f conftest.$ac_objext conftest$ac_exeext
3744   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 <  (eval $ac_link) 2>conftest.er1
3745 >  (eval $ac_link) 2>&5
3746    ac_status=$?
3919  grep -v '^ *+' conftest.er1 >conftest.err
3920  rm -f conftest.er1
3921  cat conftest.err >&5
3747    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748    (exit $ac_status); } &&
3749 <         { ac_try='test -z "$ac_c_werror_flag"
3925 <                         || test ! -s conftest.err'
3749 >         { ac_try='test -s conftest$ac_exeext'
3750    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751    (eval $ac_try) 2>&5
3752    ac_status=$?
3753    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930  (exit $ac_status); }; } &&
3931         { ac_try='test -s conftest$ac_exeext'
3932  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933  (eval $ac_try) 2>&5
3934  ac_status=$?
3935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754    (exit $ac_status); }; }; then
3755    ac_success_extra=yes; break
3756   else
# Line 3940 | Line 3758 | rm -f conftest.err conftest.$ac_objext \
3758   sed 's/^/| /' conftest.$ac_ext >&5
3759  
3760   fi
3761 < rm -f conftest.err conftest.$ac_objext \
3944 <      conftest$ac_exeext conftest.$ac_ext
3761 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3762       done
3763  
3764       if test "$ac_success_extra" = "yes"; then
# Line 3976 | Line 3793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
3793   sed 's/^/| /' conftest.$ac_ext >&5
3794  
3795   fi
3796 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3796 > rm -f conftest.$ac_objext conftest.$ac_ext
3797   ac_ext=f90
3798   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3799   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4200 | Line 4017 | ac_ext=c
4017   fi
4018  
4019  
4020 + echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4021 + echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4022 + if test "${ac_cv_f90_module_names+set}" = set; then
4023 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4024 + else
4025 +  ac_ext=f90
4026 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4027 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4028 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4029 +
4030 + # carry out the test in a new directory, so that we don't miss anything
4031 + mkdir conftest
4032 + cd conftest
4033 + cat >conftest.$ac_ext <<_ACEOF
4034 + MODULE Bar
4035 + END MODULE Bar
4036 + _ACEOF
4037 + rm -f conftest.$ac_objext
4038 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4039 +  (eval $ac_compile) 2>&5
4040 +  ac_status=$?
4041 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 +  (exit $ac_status); } &&
4043 +         { ac_try='test -s conftest.$ac_objext'
4044 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 +  (eval $ac_try) 2>&5
4046 +  ac_status=$?
4047 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 +  (exit $ac_status); }; }; then
4049 +  ac_cv_f90_module_names=
4050 + ac_file_list=*
4051 + for ac_file in $ac_file_list; do
4052 +   case $ac_file in
4053 +      # don't care for original source and object files
4054 +      conftest.$ac_ext | conftest.$ac_objext | conftest.err )
4055 +          :
4056 +          ;;
4057 +      # look for new files derived from the file name
4058 +      *conftest*)
4059 +          ac_pat=`echo $ac_file | sed s/conftest/%FILE%/`
4060 +            ac_exists=false
4061 +  for ac_i in $ac_cv_f90_module_names; do
4062 +    if test x"$ac_pat" = x"$ac_i"; then
4063 +      ac_exists=true
4064 +      break
4065 +    fi
4066 +  done
4067 +
4068 +  if test x"$ac_exists" = xtrue; then
4069 +  :
4070 + else
4071 +  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat"
4072 + fi
4073 +
4074 +          ;;
4075 +      # look for new files derived from the module name,
4076 +      # with different case translation schemes
4077 +      *Bar*)
4078 +          ac_pat=`echo $ac_file | sed s/Bar/%Module%/`
4079 +            ac_exists=false
4080 +  for ac_i in $ac_cv_f90_module_names; do
4081 +    if test x"$ac_pat" = x"$ac_i"; then
4082 +      ac_exists=true
4083 +      break
4084 +    fi
4085 +  done
4086 +
4087 +  if test x"$ac_exists" = xtrue; then
4088 +  :
4089 + else
4090 +  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat"
4091 + fi
4092 +
4093 +          ;;
4094 +      *bar*)
4095 +          ac_pat=`echo $ac_file | sed s/bar/%module%/`
4096 +            ac_exists=false
4097 +  for ac_i in $ac_cv_f90_module_names; do
4098 +    if test x"$ac_pat" = x"$ac_i"; then
4099 +      ac_exists=true
4100 +      break
4101 +    fi
4102 +  done
4103 +
4104 +  if test x"$ac_exists" = xtrue; then
4105 +  :
4106 + else
4107 +  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat"
4108 + fi
4109 +
4110 +          ;;
4111 +      *BAR*)
4112 +          ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/`
4113 +            ac_exists=false
4114 +  for ac_i in $ac_cv_f90_module_names; do
4115 +    if test x"$ac_pat" = x"$ac_i"; then
4116 +      ac_exists=true
4117 +      break
4118 +    fi
4119 +  done
4120 +
4121 +  if test x"$ac_exists" = xtrue; then
4122 +  :
4123 + else
4124 +  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat"
4125 + fi
4126 +
4127 +          ;;
4128 +       # Other files - we have no idea how they are generated
4129 +       *)
4130 +          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4131 + echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4132 +          ;;
4133 +   esac
4134 + done
4135 + if test "x$ac_cv_f90_module_names" = "x"; then
4136 +  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4137 + echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4138 + fi
4139 +
4140 + else
4141 +  echo "$as_me: failed program was:" >&5
4142 + sed 's/^/| /' conftest.$ac_ext >&5
4143 +
4144 + ac_cv_f90_module_names=
4145 + { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4146 + echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4147 + fi
4148 + rm -f conftest.$ac_objext conftest.$ac_ext
4149 + cd ..
4150 + # cleanup
4151 + rm -rf conftest
4152 + ac_ext=f90
4153 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4154 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4155 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4156 +
4157 + fi
4158 + echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4159 + echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4160 +
4161 + # We now generate a shell script that will help us to figure out the correct
4162 + # module file names, using the value of ac_cv_f90_module_names
4163 +
4164 + echo "Generating shell script modnam"
4165 +
4166 + cat > scripts/modnam << EOF
4167 + #! /bin/sh
4168 + # This script is auto-generated by configure
4169 + #
4170 + usage="\\
4171 + Usage: \$0 [FILES]
4172 +
4173 + [FILES] are Fortran 90 source files.
4174 + The output is a list of module file names that the Fortran 90 compiler
4175 + generates when compiling [FILES]."
4176 +
4177 + list=
4178 + empty=
4179 +
4180 + if test \$# -eq 0; then
4181 +   echo "\$usage"; exit 0
4182 + fi
4183 +
4184 + while test \$# != 0; do
4185 +
4186 +  file=\$1
4187 +  shift
4188 +
4189 + # strip suffix
4190 +  base=\`echo \$file | sed 's/[.][^.]*$//'\`
4191 +
4192 +  test ! -f \$file && continue
4193 +
4194 + # Look for module definitions and transform them to upper / lower case
4195 +  mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\`
4196 +  upper=\`echo \$mods | tr a-z A-Z\`
4197 +  lower=\`echo \$mods | tr A-Z a-z\`
4198 +
4199 + # Here, the patterns for generating module file names were inserted by configure
4200 +  for trans in $ac_cv_f90_module_names; do
4201 +
4202 +    pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\`
4203 +    var=empty
4204 +    case \$pat in
4205 +       %MODULE%)
4206 +          var=upper ;;
4207 +       %Module%)
4208 +          var=mods ;;
4209 +       %module%)
4210 +          var=lower ;;
4211 +       %FILE%)
4212 +          test -n "\$mods" && var=base ;;
4213 +    esac
4214 +    new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\`
4215 +    list="\$list \$new"
4216 +  done
4217 + done
4218 +
4219 + echo \$list
4220 + # end of configure-generated script
4221 + EOF
4222 + chmod 755 scripts/modnam
4223 +
4224 + pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'`
4225 + F90_MODULE_NAMES=empty
4226 + case $pat in
4227 +       %MODULE%)
4228 +          F90_MODULE_NAMES=UPPER ;;
4229 +       %Module%)
4230 +          F90_MODULE_NAMES=Mixed ;;
4231 +       %module%)
4232 +          F90_MODULE_NAMES=lower ;;
4233 +       *)
4234 +          F90_MODULE_NAMES=unknown ;;
4235 + esac
4236 +
4237   ac_ext=c
4238   ac_cpp='$CPP $CPPFLAGS'
4239   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4241 | Line 4275 | do
4275    # On the NeXT, cc -E runs the code through the compiler's parser,
4276    # not just through cpp. "Syntax error" is here to catch this case.
4277    cat >conftest.$ac_ext <<_ACEOF
4278 + #line $LINENO "configure"
4279   /* confdefs.h.  */
4280   _ACEOF
4281   cat confdefs.h >>conftest.$ac_ext
# Line 4251 | Line 4286 | cat >>conftest.$ac_ext <<_ACEOF
4286   #else
4287   # include <assert.h>
4288   #endif
4289 <                     Syntax error
4289 >                     Syntax error
4290   _ACEOF
4291   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4292    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4263 | Line 4298 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4298    (exit $ac_status); } >/dev/null; then
4299    if test -s conftest.err; then
4300      ac_cpp_err=$ac_c_preproc_warn_flag
4266    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4301    else
4302      ac_cpp_err=
4303    fi
# Line 4284 | Line 4318 | rm -f conftest.err conftest.$ac_ext
4318    # OK, works on sane cases.  Now check whether non-existent headers
4319    # can be detected and how.
4320    cat >conftest.$ac_ext <<_ACEOF
4321 + #line $LINENO "configure"
4322   /* confdefs.h.  */
4323   _ACEOF
4324   cat confdefs.h >>conftest.$ac_ext
# Line 4301 | Line 4336 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4336    (exit $ac_status); } >/dev/null; then
4337    if test -s conftest.err; then
4338      ac_cpp_err=$ac_c_preproc_warn_flag
4304    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4339    else
4340      ac_cpp_err=
4341    fi
# Line 4348 | Line 4382 | do
4382    # On the NeXT, cc -E runs the code through the compiler's parser,
4383    # not just through cpp. "Syntax error" is here to catch this case.
4384    cat >conftest.$ac_ext <<_ACEOF
4385 + #line $LINENO "configure"
4386   /* confdefs.h.  */
4387   _ACEOF
4388   cat confdefs.h >>conftest.$ac_ext
# Line 4358 | Line 4393 | cat >>conftest.$ac_ext <<_ACEOF
4393   #else
4394   # include <assert.h>
4395   #endif
4396 <                     Syntax error
4396 >                     Syntax error
4397   _ACEOF
4398   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4399    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4370 | Line 4405 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4405    (exit $ac_status); } >/dev/null; then
4406    if test -s conftest.err; then
4407      ac_cpp_err=$ac_c_preproc_warn_flag
4373    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4408    else
4409      ac_cpp_err=
4410    fi
# Line 4391 | Line 4425 | rm -f conftest.err conftest.$ac_ext
4425    # OK, works on sane cases.  Now check whether non-existent headers
4426    # can be detected and how.
4427    cat >conftest.$ac_ext <<_ACEOF
4428 + #line $LINENO "configure"
4429   /* confdefs.h.  */
4430   _ACEOF
4431   cat confdefs.h >>conftest.$ac_ext
# Line 4408 | Line 4443 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4443    (exit $ac_status); } >/dev/null; then
4444    if test -s conftest.err; then
4445      ac_cpp_err=$ac_c_preproc_warn_flag
4411    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4446    else
4447      ac_cpp_err=
4448    fi
# Line 4469 | Line 4503 | else
4503    echo $ECHO_N "(cached) $ECHO_C" >&6
4504   else
4505    cat >conftest.$ac_ext <<_ACEOF
4506 + #line $LINENO "configure"
4507   /* confdefs.h.  */
4508   _ACEOF
4509   cat confdefs.h >>conftest.$ac_ext
# Line 4489 | Line 4524 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4524   _ACEOF
4525   rm -f conftest.$ac_objext
4526   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 <  (eval $ac_compile) 2>conftest.er1
4527 >  (eval $ac_compile) 2>&5
4528    ac_status=$?
4494  grep -v '^ *+' conftest.er1 >conftest.err
4495  rm -f conftest.er1
4496  cat conftest.err >&5
4529    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530    (exit $ac_status); } &&
4531 <         { ac_try='test -z "$ac_c_werror_flag"
4500 <                         || test ! -s conftest.err'
4501 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 <  (eval $ac_try) 2>&5
4503 <  ac_status=$?
4504 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 <  (exit $ac_status); }; } &&
4506 <         { ac_try='test -s conftest.$ac_objext'
4531 >         { ac_try='test -s conftest.$ac_objext'
4532    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533    (eval $ac_try) 2>&5
4534    ac_status=$?
# Line 4516 | Line 4541 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
4541  
4542   ac_cv_header_stdc=no
4543   fi
4544 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4544 > rm -f conftest.$ac_objext conftest.$ac_ext
4545  
4546   if test $ac_cv_header_stdc = yes; then
4547    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4548    cat >conftest.$ac_ext <<_ACEOF
4549 + #line $LINENO "configure"
4550   /* confdefs.h.  */
4551   _ACEOF
4552   cat confdefs.h >>conftest.$ac_ext
# Line 4542 | Line 4568 | if test $ac_cv_header_stdc = yes; then
4568   if test $ac_cv_header_stdc = yes; then
4569    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4570    cat >conftest.$ac_ext <<_ACEOF
4571 + #line $LINENO "configure"
4572   /* confdefs.h.  */
4573   _ACEOF
4574   cat confdefs.h >>conftest.$ac_ext
# Line 4566 | Line 4593 | else
4593    :
4594   else
4595    cat >conftest.$ac_ext <<_ACEOF
4596 + #line $LINENO "configure"
4597   /* confdefs.h.  */
4598   _ACEOF
4599   cat confdefs.h >>conftest.$ac_ext
# Line 4577 | Line 4605 | cat >>conftest.$ac_ext <<_ACEOF
4605   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4606   #else
4607   # define ISLOWER(c) \
4608 <                   (('a' <= (c) && (c) <= 'i') \
4609 <                     || ('j' <= (c) && (c) <= 'r') \
4610 <                     || ('s' <= (c) && (c) <= 'z'))
4608 >                   (('a' <= (c) && (c) <= 'i') \
4609 >                     || ('j' <= (c) && (c) <= 'r') \
4610 >                     || ('s' <= (c) && (c) <= 'z'))
4611   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4612   #endif
4613  
# Line 4590 | Line 4618 | main ()
4618    int i;
4619    for (i = 0; i < 256; i++)
4620      if (XOR (islower (i), ISLOWER (i))
4621 <        || toupper (i) != TOUPPER (i))
4621 >        || toupper (i) != TOUPPER (i))
4622        exit(2);
4623    exit (0);
4624   }
# Line 4615 | Line 4643 | rm -f core *.core gmon.out bb.out conftest$ac_exeext c
4643   ( exit $ac_status )
4644   ac_cv_header_stdc=no
4645   fi
4646 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4646 > rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4647   fi
4648   fi
4649   fi
# Line 4640 | Line 4668 | for ac_header in sys/types.h sys/stat.h stdlib.h strin
4668  
4669  
4670   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4671 <                  inttypes.h stdint.h unistd.h
4671 >                  inttypes.h stdint.h unistd.h
4672   do
4673   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4674   echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4649 | Line 4677 | else
4677    echo $ECHO_N "(cached) $ECHO_C" >&6
4678   else
4679    cat >conftest.$ac_ext <<_ACEOF
4680 + #line $LINENO "configure"
4681   /* confdefs.h.  */
4682   _ACEOF
4683   cat confdefs.h >>conftest.$ac_ext
# Line 4660 | Line 4689 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4689   _ACEOF
4690   rm -f conftest.$ac_objext
4691   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 <  (eval $ac_compile) 2>conftest.er1
4692 >  (eval $ac_compile) 2>&5
4693    ac_status=$?
4665  grep -v '^ *+' conftest.er1 >conftest.err
4666  rm -f conftest.er1
4667  cat conftest.err >&5
4694    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695    (exit $ac_status); } &&
4696 <         { ac_try='test -z "$ac_c_werror_flag"
4671 <                         || test ! -s conftest.err'
4672 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 <  (eval $ac_try) 2>&5
4674 <  ac_status=$?
4675 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 <  (exit $ac_status); }; } &&
4677 <         { ac_try='test -s conftest.$ac_objext'
4696 >         { ac_try='test -s conftest.$ac_objext'
4697    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698    (eval $ac_try) 2>&5
4699    ac_status=$?
# Line 4687 | Line 4706 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
4706  
4707   eval "$as_ac_Header=no"
4708   fi
4709 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4709 > rm -f conftest.$ac_objext conftest.$ac_ext
4710   fi
4711   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4712   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4701 | Line 4720 | done
4720   done
4721  
4722  
4704  # clean out junk possibly left behind by a previous configuration
4705  rm -f utils/getopt.h
4706  # Check for getopt_long support
4723  
4724 < for ac_header in getopt.h
4724 >
4725 >
4726 >
4727 >
4728 >
4729 >
4730 >
4731 >
4732 > for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
4733   do
4734   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4735   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 4721 | Line 4745 | cat >conftest.$ac_ext <<_ACEOF
4745   echo "$as_me:$LINENO: checking $ac_header usability" >&5
4746   echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4747   cat >conftest.$ac_ext <<_ACEOF
4748 + #line $LINENO "configure"
4749   /* confdefs.h.  */
4750   _ACEOF
4751   cat confdefs.h >>conftest.$ac_ext
# Line 4731 | Line 4756 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756   _ACEOF
4757   rm -f conftest.$ac_objext
4758   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 <  (eval $ac_compile) 2>conftest.er1
4759 >  (eval $ac_compile) 2>&5
4760    ac_status=$?
4736  grep -v '^ *+' conftest.er1 >conftest.err
4737  rm -f conftest.er1
4738  cat conftest.err >&5
4761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762    (exit $ac_status); } &&
4763 <         { ac_try='test -z "$ac_c_werror_flag"
4742 <                         || test ! -s conftest.err'
4763 >         { ac_try='test -s conftest.$ac_objext'
4764    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765    (eval $ac_try) 2>&5
4766    ac_status=$?
4767    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747  (exit $ac_status); }; } &&
4748         { ac_try='test -s conftest.$ac_objext'
4749  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750  (eval $ac_try) 2>&5
4751  ac_status=$?
4752  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768    (exit $ac_status); }; }; then
4769    ac_header_compiler=yes
4770   else
# Line 4758 | Line 4773 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
4773  
4774   ac_header_compiler=no
4775   fi
4776 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4776 > rm -f conftest.$ac_objext conftest.$ac_ext
4777   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4778   echo "${ECHO_T}$ac_header_compiler" >&6
4779  
# Line 4766 | Line 4781 | cat >conftest.$ac_ext <<_ACEOF
4781   echo "$as_me:$LINENO: checking $ac_header presence" >&5
4782   echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4783   cat >conftest.$ac_ext <<_ACEOF
4784 + #line $LINENO "configure"
4785   /* confdefs.h.  */
4786   _ACEOF
4787   cat confdefs.h >>conftest.$ac_ext
# Line 4783 | Line 4799 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4799    (exit $ac_status); } >/dev/null; then
4800    if test -s conftest.err; then
4801      ac_cpp_err=$ac_c_preproc_warn_flag
4786    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4802    else
4803      ac_cpp_err=
4804    fi
# Line 4803 | Line 4818 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
4818   echo "${ECHO_T}$ac_header_preproc" >&6
4819  
4820   # So?  What about this header?
4821 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4822 <  yes:no: )
4821 > case $ac_header_compiler:$ac_header_preproc in
4822 >  yes:no )
4823      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4824   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4825 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4826 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4827 <    ac_header_preproc=yes
4825 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4826 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4827 >    (
4828 >      cat <<\_ASBOX
4829 > ## ------------------------------------ ##
4830 > ## Report this to bug-autoconf@gnu.org. ##
4831 > ## ------------------------------------ ##
4832 > _ASBOX
4833 >    ) |
4834 >      sed "s/^/$as_me: WARNING:     /" >&2
4835      ;;
4836 <  no:yes:* )
4836 >  no:yes )
4837      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4838   echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4839 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4840 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4819 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4820 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4821 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4822 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4839 >    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4840 > echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4841      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4842   echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4825    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4843      (
4844        cat <<\_ASBOX
4845 < ## ------------------------------ ##
4846 < ## Report this to gezelter@nd.edu ##
4847 < ## ------------------------------ ##
4845 > ## ------------------------------------ ##
4846 > ## Report this to bug-autoconf@gnu.org. ##
4847 > ## ------------------------------------ ##
4848   _ASBOX
4849      ) |
4850        sed "s/^/$as_me: WARNING:     /" >&2
# Line 4839 | Line 4855 | else
4855   if eval "test \"\${$as_ac_Header+set}\" = set"; then
4856    echo $ECHO_N "(cached) $ECHO_C" >&6
4857   else
4858 <  eval "$as_ac_Header=\$ac_header_preproc"
4858 >  eval "$as_ac_Header=$ac_header_preproc"
4859   fi
4860   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4861   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4855 | Line 4871 | for ac_func in getopt_long
4871   done
4872  
4873  
4874 < for ac_func in getopt_long
4874 >
4875 >
4876 >
4877 >
4878 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
4879   do
4880   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4881   echo "$as_me:$LINENO: checking for $ac_func" >&5
# Line 4864 | Line 4884 | else
4884    echo $ECHO_N "(cached) $ECHO_C" >&6
4885   else
4886    cat >conftest.$ac_ext <<_ACEOF
4887 + #line $LINENO "configure"
4888   /* confdefs.h.  */
4889   _ACEOF
4890   cat confdefs.h >>conftest.$ac_ext
4891   cat >>conftest.$ac_ext <<_ACEOF
4892   /* end confdefs.h.  */
4872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4873   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4874 #define $ac_func innocuous_$ac_func
4875
4893   /* System header to define __stub macros and hopefully few prototypes,
4894      which can conflict with char $ac_func (); below.
4895      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4896      <limits.h> exists even on freestanding compilers.  */
4880
4897   #ifdef __STDC__
4898   # include <limits.h>
4899   #else
4900   # include <assert.h>
4901   #endif
4886
4887 #undef $ac_func
4888
4902   /* Override any gcc2 internal prototype to avoid an error.  */
4903   #ifdef __cplusplus
4904   extern "C"
# Line 4916 | Line 4929 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4929   _ACEOF
4930   rm -f conftest.$ac_objext conftest$ac_exeext
4931   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4932 <  (eval $ac_link) 2>conftest.er1
4932 >  (eval $ac_link) 2>&5
4933    ac_status=$?
4921  grep -v '^ *+' conftest.er1 >conftest.err
4922  rm -f conftest.er1
4923  cat conftest.err >&5
4934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935    (exit $ac_status); } &&
4936 <         { ac_try='test -z "$ac_c_werror_flag"
4927 <                         || test ! -s conftest.err'
4936 >         { ac_try='test -s conftest$ac_exeext'
4937    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938    (eval $ac_try) 2>&5
4939    ac_status=$?
4940    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932  (exit $ac_status); }; } &&
4933         { ac_try='test -s conftest$ac_exeext'
4934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935  (eval $ac_try) 2>&5
4936  ac_status=$?
4937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941    (exit $ac_status); }; }; then
4942    eval "$as_ac_var=yes"
4943   else
# Line 4943 | Line 4946 | rm -f conftest.err conftest.$ac_objext \
4946  
4947   eval "$as_ac_var=no"
4948   fi
4949 < rm -f conftest.err conftest.$ac_objext \
4947 <      conftest$ac_exeext conftest.$ac_ext
4949 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4950   fi
4951   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4952   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 4953 | Line 4955 | else
4955   #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4956   _ACEOF
4957  
4958 < else
4959 <  # FreeBSD has a gnugetopt library for this
4960 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
4961 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
4962 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
4963 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4964 < else
4963 <  ac_check_lib_save_LIBS=$LIBS
4964 < LIBS="-lgnugetopt  $LIBS"
4958 > fi
4959 > done
4960 >
4961 > # special check for _system_configuration because AIX <4.3.2 do not
4962 > # contain the `physmem' member.
4963 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
4964 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
4965   cat >conftest.$ac_ext <<_ACEOF
4966 + #line $LINENO "configure"
4967   /* confdefs.h.  */
4968   _ACEOF
4969   cat confdefs.h >>conftest.$ac_ext
4970   cat >>conftest.$ac_ext <<_ACEOF
4971   /* end confdefs.h.  */
4972 <
4972 < /* Override any gcc2 internal prototype to avoid an error.  */
4973 < #ifdef __cplusplus
4974 < extern "C"
4975 < #endif
4976 < /* We use char because int might match the return type of a gcc2
4977 <   builtin and then its argument prototype would still apply.  */
4978 < char getopt_long ();
4972 > #include <sys/systemcfg.h>
4973   int
4974   main ()
4975   {
4976 < getopt_long ();
4976 > double x = _system_configuration.physmem;
4977    ;
4978    return 0;
4979   }
4980   _ACEOF
4981 < rm -f conftest.$ac_objext conftest$ac_exeext
4982 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4983 <  (eval $ac_link) 2>conftest.er1
4981 > rm -f conftest.$ac_objext
4982 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 >  (eval $ac_compile) 2>&5
4984    ac_status=$?
4991  grep -v '^ *+' conftest.er1 >conftest.err
4992  rm -f conftest.er1
4993  cat conftest.err >&5
4985    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986    (exit $ac_status); } &&
4987 <         { ac_try='test -z "$ac_c_werror_flag"
4997 <                         || test ! -s conftest.err'
4987 >         { ac_try='test -s conftest.$ac_objext'
4988    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989    (eval $ac_try) 2>&5
4990    ac_status=$?
4991    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002  (exit $ac_status); }; } &&
5003         { ac_try='test -s conftest$ac_exeext'
5004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005  (eval $ac_try) 2>&5
5006  ac_status=$?
5007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992    (exit $ac_status); }; }; then
4993 <  ac_cv_lib_gnugetopt_getopt_long=yes
4993 >  echo "$as_me:$LINENO: result: yes" >&5
4994 > echo "${ECHO_T}yes" >&6
4995 >
4996 > cat >>confdefs.h <<\_ACEOF
4997 > #define HAVE__SYSTEM_CONFIGURATION 1
4998 > _ACEOF
4999 >
5000   else
5001    echo "$as_me: failed program was:" >&5
5002   sed 's/^/| /' conftest.$ac_ext >&5
5003  
5004 < ac_cv_lib_gnugetopt_getopt_long=no
5004 > echo "$as_me:$LINENO: result: no" >&5
5005 > echo "${ECHO_T}no" >&6
5006   fi
5007 < rm -f conftest.err conftest.$ac_objext \
5008 <      conftest$ac_exeext conftest.$ac_ext
5009 < LIBS=$ac_check_lib_save_LIBS
5007 > rm -f conftest.$ac_objext conftest.$ac_ext
5008 >
5009 >  # clean out junk possibly left behind by a previous configuration
5010 >  rm -f src/getopt.h
5011 >  # Check for getopt_long support
5012 >
5013 > for ac_header in getopt.h
5014 > do
5015 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5016 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5017 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5018 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5019 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5020 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5021   fi
5022 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5023 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5024 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5025 <  cat >>confdefs.h <<\_ACEOF
5026 < #define HAVE_GETOPT_LONG 1
5022 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5023 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5024 > else
5025 >  # Is the header compilable?
5026 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5027 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5028 > cat >conftest.$ac_ext <<_ACEOF
5029 > #line $LINENO "configure"
5030 > /* confdefs.h.  */
5031   _ACEOF
5032 <
5032 > cat confdefs.h >>conftest.$ac_ext
5033 > cat >>conftest.$ac_ext <<_ACEOF
5034 > /* end confdefs.h.  */
5035 > $ac_includes_default
5036 > #include <$ac_header>
5037 > _ACEOF
5038 > rm -f conftest.$ac_objext
5039 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 >  (eval $ac_compile) 2>&5
5041 >  ac_status=$?
5042 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 >  (exit $ac_status); } &&
5044 >         { ac_try='test -s conftest.$ac_objext'
5045 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 >  (eval $ac_try) 2>&5
5047 >  ac_status=$?
5048 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 >  (exit $ac_status); }; }; then
5050 >  ac_header_compiler=yes
5051   else
5052 <  # use the GNU replacement
5053 <      case $LIBOBJS in
5030 <    "getopt.$ac_objext"   | \
5031 <  *" getopt.$ac_objext"   | \
5032 <    "getopt.$ac_objext "* | \
5033 <  *" getopt.$ac_objext "* ) ;;
5034 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5035 < esac
5052 >  echo "$as_me: failed program was:" >&5
5053 > sed 's/^/| /' conftest.$ac_ext >&5
5054  
5055 <      case $LIBOBJS in
5038 <    "getopt1.$ac_objext"   | \
5039 <  *" getopt1.$ac_objext"   | \
5040 <    "getopt1.$ac_objext "* | \
5041 <  *" getopt1.$ac_objext "* ) ;;
5042 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5043 < esac
5044 <
5045 <                ac_config_links="$ac_config_links utils/getopt.h:utils/gnugetopt.h"
5046 <
5055 > ac_header_compiler=no
5056   fi
5057 + rm -f conftest.$ac_objext conftest.$ac_ext
5058 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5059 + echo "${ECHO_T}$ac_header_compiler" >&6
5060  
5061 < fi
5062 < done
5063 <
5064 <
5065 <
5066 < case $debug in
5067 <  1)
5068 <     ;;
5069 <  *)
5061 > # Is the header present?
5062 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5063 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5064 > cat >conftest.$ac_ext <<_ACEOF
5065 > #line $LINENO "configure"
5066 > /* confdefs.h.  */
5067 > _ACEOF
5068 > cat confdefs.h >>conftest.$ac_ext
5069 > cat >>conftest.$ac_ext <<_ACEOF
5070 > /* end confdefs.h.  */
5071 > #include <$ac_header>
5072 > _ACEOF
5073 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5074 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5075 >  ac_status=$?
5076 >  grep -v '^ *+' conftest.er1 >conftest.err
5077 >  rm -f conftest.er1
5078 >  cat conftest.err >&5
5079 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 >  (exit $ac_status); } >/dev/null; then
5081 >  if test -s conftest.err; then
5082 >    ac_cpp_err=$ac_c_preproc_warn_flag
5083 >  else
5084 >    ac_cpp_err=
5085 >  fi
5086 > else
5087 >  ac_cpp_err=yes
5088 > fi
5089 > if test -z "$ac_cpp_err"; then
5090 >  ac_header_preproc=yes
5091 > else
5092 >  echo "$as_me: failed program was:" >&5
5093 > sed 's/^/| /' conftest.$ac_ext >&5
5094 >
5095 >  ac_header_preproc=no
5096 > fi
5097 > rm -f conftest.err conftest.$ac_ext
5098 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5099 > echo "${ECHO_T}$ac_header_preproc" >&6
5100 >
5101 > # So?  What about this header?
5102 > case $ac_header_compiler:$ac_header_preproc in
5103 >  yes:no )
5104 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5105 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5106 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5107 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5108 >    (
5109 >      cat <<\_ASBOX
5110 > ## ------------------------------------ ##
5111 > ## Report this to bug-autoconf@gnu.org. ##
5112 > ## ------------------------------------ ##
5113 > _ASBOX
5114 >    ) |
5115 >      sed "s/^/$as_me: WARNING:     /" >&2
5116 >    ;;
5117 >  no:yes )
5118 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5119 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5120 >    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5121 > echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5122 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5123 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5124 >    (
5125 >      cat <<\_ASBOX
5126 > ## ------------------------------------ ##
5127 > ## Report this to bug-autoconf@gnu.org. ##
5128 > ## ------------------------------------ ##
5129 > _ASBOX
5130 >    ) |
5131 >      sed "s/^/$as_me: WARNING:     /" >&2
5132 >    ;;
5133 > esac
5134 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5135 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5136 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5137 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5138 > else
5139 >  eval "$as_ac_Header=$ac_header_preproc"
5140 > fi
5141 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5142 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5143 >
5144 > fi
5145 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5146 >  cat >>confdefs.h <<_ACEOF
5147 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5148 > _ACEOF
5149 >
5150 > fi
5151 >
5152 > done
5153 >
5154 >
5155 > for ac_func in getopt_long
5156 > do
5157 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5158 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5159 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5160 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5162 > else
5163 >  cat >conftest.$ac_ext <<_ACEOF
5164 > #line $LINENO "configure"
5165 > /* confdefs.h.  */
5166 > _ACEOF
5167 > cat confdefs.h >>conftest.$ac_ext
5168 > cat >>conftest.$ac_ext <<_ACEOF
5169 > /* end confdefs.h.  */
5170 > /* System header to define __stub macros and hopefully few prototypes,
5171 >    which can conflict with char $ac_func (); below.
5172 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5173 >    <limits.h> exists even on freestanding compilers.  */
5174 > #ifdef __STDC__
5175 > # include <limits.h>
5176 > #else
5177 > # include <assert.h>
5178 > #endif
5179 > /* Override any gcc2 internal prototype to avoid an error.  */
5180 > #ifdef __cplusplus
5181 > extern "C"
5182 > {
5183 > #endif
5184 > /* We use char because int might match the return type of a gcc2
5185 >   builtin and then its argument prototype would still apply.  */
5186 > char $ac_func ();
5187 > /* The GNU C library defines this for functions which it implements
5188 >    to always fail with ENOSYS.  Some functions are actually named
5189 >    something starting with __ and the normal name is an alias.  */
5190 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5191 > choke me
5192 > #else
5193 > char (*f) () = $ac_func;
5194 > #endif
5195 > #ifdef __cplusplus
5196 > }
5197 > #endif
5198 >
5199 > int
5200 > main ()
5201 > {
5202 > return f != $ac_func;
5203 >  ;
5204 >  return 0;
5205 > }
5206 > _ACEOF
5207 > rm -f conftest.$ac_objext conftest$ac_exeext
5208 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5209 >  (eval $ac_link) 2>&5
5210 >  ac_status=$?
5211 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 >  (exit $ac_status); } &&
5213 >         { ac_try='test -s conftest$ac_exeext'
5214 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 >  (eval $ac_try) 2>&5
5216 >  ac_status=$?
5217 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 >  (exit $ac_status); }; }; then
5219 >  eval "$as_ac_var=yes"
5220 > else
5221 >  echo "$as_me: failed program was:" >&5
5222 > sed 's/^/| /' conftest.$ac_ext >&5
5223 >
5224 > eval "$as_ac_var=no"
5225 > fi
5226 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5227 > fi
5228 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5229 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5230 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5231 >  cat >>confdefs.h <<_ACEOF
5232 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5233 > _ACEOF
5234 >
5235 > else
5236 >  # FreeBSD has a gnugetopt library for this
5237 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5238 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5239 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5240 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5241 > else
5242 >  ac_check_lib_save_LIBS=$LIBS
5243 > LIBS="-lgnugetopt  $LIBS"
5244 > cat >conftest.$ac_ext <<_ACEOF
5245 > #line $LINENO "configure"
5246 > /* confdefs.h.  */
5247 > _ACEOF
5248 > cat confdefs.h >>conftest.$ac_ext
5249 > cat >>conftest.$ac_ext <<_ACEOF
5250 > /* end confdefs.h.  */
5251 >
5252 > /* Override any gcc2 internal prototype to avoid an error.  */
5253 > #ifdef __cplusplus
5254 > extern "C"
5255 > #endif
5256 > /* We use char because int might match the return type of a gcc2
5257 >   builtin and then its argument prototype would still apply.  */
5258 > char getopt_long ();
5259 > int
5260 > main ()
5261 > {
5262 > getopt_long ();
5263 >  ;
5264 >  return 0;
5265 > }
5266 > _ACEOF
5267 > rm -f conftest.$ac_objext conftest$ac_exeext
5268 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5269 >  (eval $ac_link) 2>&5
5270 >  ac_status=$?
5271 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 >  (exit $ac_status); } &&
5273 >         { ac_try='test -s conftest$ac_exeext'
5274 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 >  (eval $ac_try) 2>&5
5276 >  ac_status=$?
5277 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 >  (exit $ac_status); }; }; then
5279 >  ac_cv_lib_gnugetopt_getopt_long=yes
5280 > else
5281 >  echo "$as_me: failed program was:" >&5
5282 > sed 's/^/| /' conftest.$ac_ext >&5
5283  
5284 + ac_cv_lib_gnugetopt_getopt_long=no
5285 + fi
5286 + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5287 + LIBS=$ac_check_lib_save_LIBS
5288 + fi
5289 + echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5290 + echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5291 + if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5292 +  cat >>confdefs.h <<\_ACEOF
5293 + #define HAVE_GETOPT_LONG 1
5294 + _ACEOF
5295  
5296 + else
5297 +  # use the GNU replacement
5298 +      LIBOBJS="$LIBOBJS getopt.$ac_objext"
5299 +      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
5300 +                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5301  
5302 + fi
5303  
5304 + fi
5305 + done
5306  
5307  
5308 +
5309 + case $debug in
5310 +  1)
5311 +     ;;
5312 +  *)
5313 +
5314 +
5315 +
5316 +
5317 +
5318 +
5319   echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5320   echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5321   if test "${ac_cv_prog_really_gcc+set}" = set; then
# Line 5136 | Line 5391 | if test "$ac_test_CFLAGS" != "set"; then
5391          fi;;
5392     *darwin*)
5393          if test "$CC" = xlc -o "$CC" = cc; then
5394 <                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5394 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5395          fi;;
5396    esac
5397  
# Line 5587 | Line 5842 | if test "$ac_test_CXXFLAGS" != "set"; then
5842                  echo "*******************************************************"
5843          fi;;
5844     *darwin*)
5845 <        if test "$CXX" = xlc++; then
5846 <                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5845 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
5846 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5847          fi;;
5848    esac
5849  
# Line 6000 | Line 6255 | if test x"$F90FLAGS" = x ; then
6255          fi;;
6256     *darwin*)
6257          if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6258 <                F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto"
6258 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6259          fi;;
6260    esac
6261  
# Line 6090 | Line 6345 | esac
6345   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6346   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6347   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6093 # OS/2's system install, which has a completely different semantic
6348   # ./install, which can be erroneously created by make from ./install.sh.
6349   echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6350   echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 6107 | Line 6361 | case $as_dir/ in
6361   case $as_dir/ in
6362    ./ | .// | /cC/* | \
6363    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6110  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6364    /usr/ucb/* ) ;;
6365    *)
6366      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 6115 | Line 6368 | case $as_dir/ in
6368      # by default.
6369      for ac_prog in ginstall scoinst install; do
6370        for ac_exec_ext in '' $ac_executable_extensions; do
6371 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6372 <          if test $ac_prog = install &&
6373 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6374 <            # AIX install.  It has an incompatible calling convention.
6375 <            :
6376 <          elif test $ac_prog = install &&
6377 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6378 <            # program-specific install script used by HP pwplus--don't use.
6379 <            :
6380 <          else
6381 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6382 <            break 3
6383 <          fi
6384 <        fi
6371 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6372 >          if test $ac_prog = install &&
6373 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6374 >            # AIX install.  It has an incompatible calling convention.
6375 >            :
6376 >          elif test $ac_prog = install &&
6377 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6378 >            # program-specific install script used by HP pwplus--don't use.
6379 >            :
6380 >          else
6381 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6382 >            break 3
6383 >          fi
6384 >        fi
6385        done
6386      done
6387      ;;
# Line 6171 | Line 6424 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:.
6424  
6425   echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6426   echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6427 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6427 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6428   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6429    echo $ECHO_N "(cached) $ECHO_C" >&6
6430   else
# Line 6370 | Line 6623 | cat >conftest.$ac_ext <<_ACEOF
6623    ac_check_lib_save_LIBS=$LIBS
6624   LIBS="-lfl  $LIBS"
6625   cat >conftest.$ac_ext <<_ACEOF
6626 + #line $LINENO "configure"
6627   /* confdefs.h.  */
6628   _ACEOF
6629   cat confdefs.h >>conftest.$ac_ext
# Line 6393 | Line 6647 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6647   _ACEOF
6648   rm -f conftest.$ac_objext conftest$ac_exeext
6649   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6650 <  (eval $ac_link) 2>conftest.er1
6650 >  (eval $ac_link) 2>&5
6651    ac_status=$?
6398  grep -v '^ *+' conftest.er1 >conftest.err
6399  rm -f conftest.er1
6400  cat conftest.err >&5
6652    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653    (exit $ac_status); } &&
6654 <         { ac_try='test -z "$ac_c_werror_flag"
6404 <                         || test ! -s conftest.err'
6405 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 <  (eval $ac_try) 2>&5
6407 <  ac_status=$?
6408 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 <  (exit $ac_status); }; } &&
6410 <         { ac_try='test -s conftest$ac_exeext'
6654 >         { ac_try='test -s conftest$ac_exeext'
6655    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656    (eval $ac_try) 2>&5
6657    ac_status=$?
# Line 6420 | Line 6664 | rm -f conftest.err conftest.$ac_objext \
6664  
6665   ac_cv_lib_fl_yywrap=no
6666   fi
6667 < rm -f conftest.err conftest.$ac_objext \
6424 <      conftest$ac_exeext conftest.$ac_ext
6667 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6668   LIBS=$ac_check_lib_save_LIBS
6669   fi
6670   echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 6437 | Line 6680 | cat >conftest.$ac_ext <<_ACEOF
6680    ac_check_lib_save_LIBS=$LIBS
6681   LIBS="-ll  $LIBS"
6682   cat >conftest.$ac_ext <<_ACEOF
6683 + #line $LINENO "configure"
6684   /* confdefs.h.  */
6685   _ACEOF
6686   cat confdefs.h >>conftest.$ac_ext
# Line 6460 | Line 6704 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6704   _ACEOF
6705   rm -f conftest.$ac_objext conftest$ac_exeext
6706   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6707 <  (eval $ac_link) 2>conftest.er1
6707 >  (eval $ac_link) 2>&5
6708    ac_status=$?
6465  grep -v '^ *+' conftest.er1 >conftest.err
6466  rm -f conftest.er1
6467  cat conftest.err >&5
6709    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710    (exit $ac_status); } &&
6711 <         { ac_try='test -z "$ac_c_werror_flag"
6471 <                         || test ! -s conftest.err'
6711 >         { ac_try='test -s conftest$ac_exeext'
6712    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6713    (eval $ac_try) 2>&5
6714    ac_status=$?
6715    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476  (exit $ac_status); }; } &&
6477         { ac_try='test -s conftest$ac_exeext'
6478  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479  (eval $ac_try) 2>&5
6480  ac_status=$?
6481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716    (exit $ac_status); }; }; then
6717    ac_cv_lib_l_yywrap=yes
6718   else
# Line 6487 | Line 6721 | rm -f conftest.err conftest.$ac_objext \
6721  
6722   ac_cv_lib_l_yywrap=no
6723   fi
6724 < rm -f conftest.err conftest.$ac_objext \
6491 <      conftest$ac_exeext conftest.$ac_ext
6724 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6725   LIBS=$ac_check_lib_save_LIBS
6726   fi
6727   echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 6550 | Line 6783 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6783   _ACEOF
6784   rm -f conftest.$ac_objext conftest$ac_exeext
6785   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6786 <  (eval $ac_link) 2>conftest.er1
6786 >  (eval $ac_link) 2>&5
6787    ac_status=$?
6555  grep -v '^ *+' conftest.er1 >conftest.err
6556  rm -f conftest.er1
6557  cat conftest.err >&5
6788    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789    (exit $ac_status); } &&
6790 <         { ac_try='test -z "$ac_c_werror_flag"
6561 <                         || test ! -s conftest.err'
6790 >         { ac_try='test -s conftest$ac_exeext'
6791    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792    (eval $ac_try) 2>&5
6793    ac_status=$?
6794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566  (exit $ac_status); }; } &&
6567         { ac_try='test -s conftest$ac_exeext'
6568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569  (eval $ac_try) 2>&5
6570  ac_status=$?
6571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795    (exit $ac_status); }; }; then
6796    ac_cv_prog_lex_yytext_pointer=yes
6797   else
# Line 6576 | Line 6799 | rm -f conftest.err conftest.$ac_objext \
6799   sed 's/^/| /' conftest.$ac_ext >&5
6800  
6801   fi
6802 < rm -f conftest.err conftest.$ac_objext \
6580 <      conftest$ac_exeext conftest.$ac_ext
6802 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6803   LIBS=$ac_save_LIBS
6804   rm -f "${LEX_OUTPUT_ROOT}.c"
6805  
# Line 6661 | Line 6883 | _ACEOF
6883        # `set' does not quote correctly, so add quotes (double-quote
6884        # substitution turns \\\\ into \\, and sed turns \\ into \).
6885        sed -n \
6886 <        "s/'/'\\\\''/g;
6887 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6886 >        "s/'/'\\\\''/g;
6887 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6888        ;;
6889      *)
6890        # `set' quotes correctly as required by POSIX, so do not add quotes.
6891        sed -n \
6892 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6892 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6893        ;;
6894      esac;
6895   } |
# Line 6689 | Line 6911 | fi
6911   rm -f confcache
6912    exit 1
6913   fi
6914 +
6915 + # Extract the first word of "ps", so it can be a program name with args.
6916 + set dummy ps; ac_word=$2
6917 + echo "$as_me:$LINENO: checking for $ac_word" >&5
6918 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6919 + if test "${ac_cv_path_PS+set}" = set; then
6920 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6921 + else
6922 +  case $PS in
6923 +  [\\/]* | ?:[\\/]*)
6924 +  ac_cv_path_PS="$PS" # Let the user override the test with a path.
6925 +  ;;
6926 +  *)
6927 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 + for as_dir in $PATH
6929 + do
6930 +  IFS=$as_save_IFS
6931 +  test -z "$as_dir" && as_dir=.
6932 +  for ac_exec_ext in '' $ac_executable_extensions; do
6933 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934 +    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
6935 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 +    break 2
6937 +  fi
6938 + done
6939 + done
6940 +
6941 +  ;;
6942 + esac
6943 + fi
6944 + PS=$ac_cv_path_PS
6945 +
6946 + if test -n "$PS"; then
6947 +  echo "$as_me:$LINENO: result: $PS" >&5
6948 + echo "${ECHO_T}$PS" >&6
6949 + else
6950 +  echo "$as_me:$LINENO: result: no" >&5
6951 + echo "${ECHO_T}no" >&6
6952 + fi
6953 +
6954 + echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
6955 + echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
6956 + if test "${ac_cv_prog_ps_syntax+set}" = set; then
6957 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6958 + else
6959 +
6960 +        if $PS -ef -o rss > /dev/null 2>&1; then
6961 +                ac_cv_prog_ps_ef=yes
6962 +        else
6963 +                ac_cv_prog_ps_ef=no
6964 +        fi
6965 +        if $PS ax -o rss > /dev/null 2>&1; then
6966 +                ac_cv_prog_ps_ax=yes
6967 +        else
6968 +                ac_cv_prog_ps_ax=no
6969 +        fi
6970 +        if test "$ac_cv_prog_ps_ef" = yes; then
6971 +                ac_cv_prog_ps_syntax=POSIX
6972 +        else
6973 +                if test "$ac_cv_prog_ps_ax" = yes; then
6974 +                        ac_cv_prog_ps_syntax=BSD
6975 +                else
6976 +                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
6977 + echo "$as_me: error: Could not determine ps syntax" >&2;}
6978 +   { (exit 1); exit 1; }; }
6979 +                fi
6980 +        fi
6981 +
6982 + fi
6983 + echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
6984 + echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
6985 +
6986 + cat >>confdefs.h <<_ACEOF
6987 + #define PS $PS
6988 + _ACEOF
6989  
6990  
6991 + cat >>confdefs.h <<_ACEOF
6992 + #define PSTYPE $ac_cv_prog_ps_syntax
6993 + _ACEOF
6994  
6995 +
6996 +
6997 +
6998   # Check whether --with-mpi or --without-mpi was given.
6999   if test "${with_mpi+set}" = set; then
7000    withval="$with_mpi"
# Line 6789 | Line 7092 | cat >conftest.$ac_ext <<_ACEOF
7092    ac_check_lib_save_LIBS=$LIBS
7093   LIBS="-lmpich  $LIBS"
7094   cat >conftest.$ac_ext <<_ACEOF
7095 + #line $LINENO "configure"
7096   /* confdefs.h.  */
7097   _ACEOF
7098   cat confdefs.h >>conftest.$ac_ext
# Line 6812 | Line 7116 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116   _ACEOF
7117   rm -f conftest.$ac_objext conftest$ac_exeext
7118   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7119 <  (eval $ac_link) 2>conftest.er1
7119 >  (eval $ac_link) 2>&5
7120    ac_status=$?
6817  grep -v '^ *+' conftest.er1 >conftest.err
6818  rm -f conftest.er1
6819  cat conftest.err >&5
7121    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122    (exit $ac_status); } &&
7123 <         { ac_try='test -z "$ac_c_werror_flag"
6823 <                         || test ! -s conftest.err'
7123 >         { ac_try='test -s conftest$ac_exeext'
7124    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125    (eval $ac_try) 2>&5
7126    ac_status=$?
7127    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828  (exit $ac_status); }; } &&
6829         { ac_try='test -s conftest$ac_exeext'
6830  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831  (eval $ac_try) 2>&5
6832  ac_status=$?
6833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128    (exit $ac_status); }; }; then
7129    ac_cv_lib_mpich_MPI_Init=yes
7130   else
# Line 6839 | Line 7133 | rm -f conftest.err conftest.$ac_objext \
7133  
7134   ac_cv_lib_mpich_MPI_Init=no
7135   fi
7136 < rm -f conftest.err conftest.$ac_objext \
6843 <      conftest$ac_exeext conftest.$ac_ext
7136 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7137   LIBS=$ac_check_lib_save_LIBS
7138   fi
7139   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
# Line 6859 | Line 7152 | cat >conftest.$ac_ext <<_ACEOF
7152    ac_check_lib_save_LIBS=$LIBS
7153   LIBS="-lmpi  $LIBS"
7154   cat >conftest.$ac_ext <<_ACEOF
7155 + #line $LINENO "configure"
7156   /* confdefs.h.  */
7157   _ACEOF
7158   cat confdefs.h >>conftest.$ac_ext
# Line 6882 | Line 7176 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7176   _ACEOF
7177   rm -f conftest.$ac_objext conftest$ac_exeext
7178   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7179 <  (eval $ac_link) 2>conftest.er1
7179 >  (eval $ac_link) 2>&5
7180    ac_status=$?
6887  grep -v '^ *+' conftest.er1 >conftest.err
6888  rm -f conftest.er1
6889  cat conftest.err >&5
7181    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182    (exit $ac_status); } &&
7183 <         { ac_try='test -z "$ac_c_werror_flag"
6893 <                         || test ! -s conftest.err'
6894 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 <  (eval $ac_try) 2>&5
6896 <  ac_status=$?
6897 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 <  (exit $ac_status); }; } &&
6899 <         { ac_try='test -s conftest$ac_exeext'
7183 >         { ac_try='test -s conftest$ac_exeext'
7184    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185    (eval $ac_try) 2>&5
7186    ac_status=$?
# Line 6909 | Line 7193 | rm -f conftest.err conftest.$ac_objext \
7193  
7194   ac_cv_lib_mpi_MPI_Init=no
7195   fi
7196 < rm -f conftest.err conftest.$ac_objext \
6913 <      conftest$ac_exeext conftest.$ac_ext
7196 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7197   LIBS=$ac_check_lib_save_LIBS
7198   fi
7199   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 6930 | Line 7213 | cat >conftest.$ac_ext <<_ACEOF
7213    ac_check_lib_save_LIBS=$LIBS
7214   LIBS="-lmpi "-llam" $LIBS"
7215   cat >conftest.$ac_ext <<_ACEOF
7216 + #line $LINENO "configure"
7217   /* confdefs.h.  */
7218   _ACEOF
7219   cat confdefs.h >>conftest.$ac_ext
# Line 6953 | Line 7237 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7237   _ACEOF
7238   rm -f conftest.$ac_objext conftest$ac_exeext
7239   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7240 <  (eval $ac_link) 2>conftest.er1
7240 >  (eval $ac_link) 2>&5
7241    ac_status=$?
6958  grep -v '^ *+' conftest.er1 >conftest.err
6959  rm -f conftest.er1
6960  cat conftest.err >&5
7242    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243    (exit $ac_status); } &&
7244 <         { ac_try='test -z "$ac_c_werror_flag"
6964 <                         || test ! -s conftest.err'
7244 >         { ac_try='test -s conftest$ac_exeext'
7245    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246    (eval $ac_try) 2>&5
7247    ac_status=$?
7248    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969  (exit $ac_status); }; } &&
6970         { ac_try='test -s conftest$ac_exeext'
6971  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972  (eval $ac_try) 2>&5
6973  ac_status=$?
6974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249    (exit $ac_status); }; }; then
7250    ac_cv_lib_mpi_MPI_Init=yes
7251   else
# Line 6980 | Line 7254 | rm -f conftest.err conftest.$ac_objext \
7254  
7255   ac_cv_lib_mpi_MPI_Init=no
7256   fi
7257 < rm -f conftest.err conftest.$ac_objext \
6984 <      conftest$ac_exeext conftest.$ac_ext
7257 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7258   LIBS=$ac_check_lib_save_LIBS
7259   fi
7260   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7261   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7262   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7263    MPI_LIB="-lmpi -llam"
7264 + fi
7265 +
7266 + fi
7267 + $as_unset ac_cv_lib_mpich_MPI_Init
7268 + if test x = x"$MPI_LIB"; then
7269 +        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7270 + echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7271 + if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7272 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7273 + else
7274 +  ac_check_lib_save_LIBS=$LIBS
7275 + LIBS="-lmpich "-lpmpich" $LIBS"
7276 + cat >conftest.$ac_ext <<_ACEOF
7277 + #line $LINENO "configure"
7278 + /* confdefs.h.  */
7279 + _ACEOF
7280 + cat confdefs.h >>conftest.$ac_ext
7281 + cat >>conftest.$ac_ext <<_ACEOF
7282 + /* end confdefs.h.  */
7283 +
7284 + /* Override any gcc2 internal prototype to avoid an error.  */
7285 + #ifdef __cplusplus
7286 + extern "C"
7287 + #endif
7288 + /* We use char because int might match the return type of a gcc2
7289 +   builtin and then its argument prototype would still apply.  */
7290 + char MPI_Init ();
7291 + int
7292 + main ()
7293 + {
7294 + MPI_Init ();
7295 +  ;
7296 +  return 0;
7297 + }
7298 + _ACEOF
7299 + rm -f conftest.$ac_objext conftest$ac_exeext
7300 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7301 +  (eval $ac_link) 2>&5
7302 +  ac_status=$?
7303 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 +  (exit $ac_status); } &&
7305 +         { ac_try='test -s conftest$ac_exeext'
7306 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 +  (eval $ac_try) 2>&5
7308 +  ac_status=$?
7309 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 +  (exit $ac_status); }; }; then
7311 +  ac_cv_lib_mpich_MPI_Init=yes
7312 + else
7313 +  echo "$as_me: failed program was:" >&5
7314 + sed 's/^/| /' conftest.$ac_ext >&5
7315 +
7316 + ac_cv_lib_mpich_MPI_Init=no
7317   fi
7318 + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7319 + LIBS=$ac_check_lib_save_LIBS
7320 + fi
7321 + echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7322 + echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7323 + if test $ac_cv_lib_mpich_MPI_Init = yes; then
7324 +  MPI_LIB="-lmpich -lpmpich"
7325 + fi
7326  
7327   fi
7328  
# Line 7002 | Line 7336 | cat >conftest.$ac_ext <<_ACEOF
7336    ac_check_lib_save_LIBS=$LIBS
7337   LIBS="-lmpi -llam -lpthread $LIBS"
7338   cat >conftest.$ac_ext <<_ACEOF
7339 + #line $LINENO "configure"
7340   /* confdefs.h.  */
7341   _ACEOF
7342   cat confdefs.h >>conftest.$ac_ext
# Line 7025 | Line 7360 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7360   _ACEOF
7361   rm -f conftest.$ac_objext conftest$ac_exeext
7362   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7363 <  (eval $ac_link) 2>conftest.er1
7363 >  (eval $ac_link) 2>&5
7364    ac_status=$?
7030  grep -v '^ *+' conftest.er1 >conftest.err
7031  rm -f conftest.er1
7032  cat conftest.err >&5
7365    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366    (exit $ac_status); } &&
7367 <         { ac_try='test -z "$ac_c_werror_flag"
7036 <                         || test ! -s conftest.err'
7367 >         { ac_try='test -s conftest$ac_exeext'
7368    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369    (eval $ac_try) 2>&5
7370    ac_status=$?
7371    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041  (exit $ac_status); }; } &&
7042         { ac_try='test -s conftest$ac_exeext'
7043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044  (eval $ac_try) 2>&5
7045  ac_status=$?
7046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372    (exit $ac_status); }; }; then
7373    ac_cv_lib_mpi_MPI_Init=yes
7374   else
# Line 7052 | Line 7377 | rm -f conftest.err conftest.$ac_objext \
7377  
7378   ac_cv_lib_mpi_MPI_Init=no
7379   fi
7380 < rm -f conftest.err conftest.$ac_objext \
7056 <      conftest$ac_exeext conftest.$ac_ext
7380 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7381   LIBS=$ac_check_lib_save_LIBS
7382   fi
7383   echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
# Line 7155 | Line 7479 | cat >conftest.$ac_ext <<_ACEOF
7479    ac_check_lib_save_LIBS=$LIBS
7480   LIBS="-lsprng  $LIBS"
7481   cat >conftest.$ac_ext <<_ACEOF
7482 + #line $LINENO "configure"
7483   /* confdefs.h.  */
7484   _ACEOF
7485   cat confdefs.h >>conftest.$ac_ext
# Line 7178 | Line 7503 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7503   _ACEOF
7504   rm -f conftest.$ac_objext conftest$ac_exeext
7505   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 <  (eval $ac_link) 2>conftest.er1
7506 >  (eval $ac_link) 2>&5
7507    ac_status=$?
7183  grep -v '^ *+' conftest.er1 >conftest.err
7184  rm -f conftest.er1
7185  cat conftest.err >&5
7508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509    (exit $ac_status); } &&
7510 <         { ac_try='test -z "$ac_c_werror_flag"
7189 <                         || test ! -s conftest.err'
7510 >         { ac_try='test -s conftest$ac_exeext'
7511    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7512    (eval $ac_try) 2>&5
7513    ac_status=$?
7514    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194  (exit $ac_status); }; } &&
7195         { ac_try='test -s conftest$ac_exeext'
7196  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197  (eval $ac_try) 2>&5
7198  ac_status=$?
7199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515    (exit $ac_status); }; }; then
7516    ac_cv_lib_sprng_init_rng=yes
7517   else
# Line 7205 | Line 7520 | rm -f conftest.err conftest.$ac_objext \
7520  
7521   ac_cv_lib_sprng_init_rng=no
7522   fi
7523 < rm -f conftest.err conftest.$ac_objext \
7209 <      conftest$ac_exeext conftest.$ac_ext
7523 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7524   LIBS=$ac_check_lib_save_LIBS
7525   fi
7526   echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
# Line 7282 | Line 7596 | cat >conftest.$ac_ext <<_ACEOF
7596   echo "$as_me:$LINENO: checking mkl.h usability" >&5
7597   echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
7598   cat >conftest.$ac_ext <<_ACEOF
7599 + #line $LINENO "configure"
7600   /* confdefs.h.  */
7601   _ACEOF
7602   cat confdefs.h >>conftest.$ac_ext
# Line 7292 | Line 7607 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7607   _ACEOF
7608   rm -f conftest.$ac_objext
7609   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7610 <  (eval $ac_compile) 2>conftest.er1
7610 >  (eval $ac_compile) 2>&5
7611    ac_status=$?
7297  grep -v '^ *+' conftest.er1 >conftest.err
7298  rm -f conftest.er1
7299  cat conftest.err >&5
7612    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613    (exit $ac_status); } &&
7614 <         { ac_try='test -z "$ac_c_werror_flag"
7303 <                         || test ! -s conftest.err'
7614 >         { ac_try='test -s conftest.$ac_objext'
7615    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616    (eval $ac_try) 2>&5
7617    ac_status=$?
7618    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308  (exit $ac_status); }; } &&
7309         { ac_try='test -s conftest.$ac_objext'
7310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311  (eval $ac_try) 2>&5
7312  ac_status=$?
7313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619    (exit $ac_status); }; }; then
7620    ac_header_compiler=yes
7621   else
# Line 7319 | Line 7624 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
7624  
7625   ac_header_compiler=no
7626   fi
7627 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7627 > rm -f conftest.$ac_objext conftest.$ac_ext
7628   echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7629   echo "${ECHO_T}$ac_header_compiler" >&6
7630  
# Line 7327 | Line 7632 | cat >conftest.$ac_ext <<_ACEOF
7632   echo "$as_me:$LINENO: checking mkl.h presence" >&5
7633   echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
7634   cat >conftest.$ac_ext <<_ACEOF
7635 + #line $LINENO "configure"
7636   /* confdefs.h.  */
7637   _ACEOF
7638   cat confdefs.h >>conftest.$ac_ext
# Line 7344 | Line 7650 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
7650    (exit $ac_status); } >/dev/null; then
7651    if test -s conftest.err; then
7652      ac_cpp_err=$ac_c_preproc_warn_flag
7347    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7653    else
7654      ac_cpp_err=
7655    fi
# Line 7364 | Line 7669 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
7669   echo "${ECHO_T}$ac_header_preproc" >&6
7670  
7671   # So?  What about this header?
7672 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7673 <  yes:no: )
7672 > case $ac_header_compiler:$ac_header_preproc in
7673 >  yes:no )
7674      { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7675   echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7676 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
7677 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
7678 <    ac_header_preproc=yes
7676 >    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
7677 > echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
7678 >    (
7679 >      cat <<\_ASBOX
7680 > ## ------------------------------------ ##
7681 > ## Report this to bug-autoconf@gnu.org. ##
7682 > ## ------------------------------------ ##
7683 > _ASBOX
7684 >    ) |
7685 >      sed "s/^/$as_me: WARNING:     /" >&2
7686      ;;
7687 <  no:yes:* )
7687 >  no:yes )
7688      { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
7689   echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
7690 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
7691 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
7380 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
7381 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
7382 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
7383 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7690 >    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
7691 > echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
7692      { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
7693   echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
7386    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
7387 echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
7694      (
7695        cat <<\_ASBOX
7696 < ## ------------------------------ ##
7697 < ## Report this to gezelter@nd.edu ##
7698 < ## ------------------------------ ##
7696 > ## ------------------------------------ ##
7697 > ## Report this to bug-autoconf@gnu.org. ##
7698 > ## ------------------------------------ ##
7699   _ASBOX
7700      ) |
7701        sed "s/^/$as_me: WARNING:     /" >&2
# Line 7416 | Line 7722 | cat >conftest.$ac_ext <<_ACEOF
7722    ac_check_lib_save_LIBS=$LIBS
7723   LIBS="-lmkl  $LIBS"
7724   cat >conftest.$ac_ext <<_ACEOF
7725 + #line $LINENO "configure"
7726   /* confdefs.h.  */
7727   _ACEOF
7728   cat confdefs.h >>conftest.$ac_ext
# Line 7439 | Line 7746 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7746   _ACEOF
7747   rm -f conftest.$ac_objext conftest$ac_exeext
7748   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7749 <  (eval $ac_link) 2>conftest.er1
7749 >  (eval $ac_link) 2>&5
7750    ac_status=$?
7444  grep -v '^ *+' conftest.er1 >conftest.err
7445  rm -f conftest.er1
7446  cat conftest.err >&5
7751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752    (exit $ac_status); } &&
7753 <         { ac_try='test -z "$ac_c_werror_flag"
7450 <                         || test ! -s conftest.err'
7753 >         { ac_try='test -s conftest$ac_exeext'
7754    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755    (eval $ac_try) 2>&5
7756    ac_status=$?
7757    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455  (exit $ac_status); }; } &&
7456         { ac_try='test -s conftest$ac_exeext'
7457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458  (eval $ac_try) 2>&5
7459  ac_status=$?
7460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758    (exit $ac_status); }; }; then
7759    ac_cv_lib_mkl_vslNewStream=yes
7760   else
# Line 7466 | Line 7763 | rm -f conftest.err conftest.$ac_objext \
7763  
7764   ac_cv_lib_mkl_vslNewStream=no
7765   fi
7766 < rm -f conftest.err conftest.$ac_objext \
7470 <      conftest$ac_exeext conftest.$ac_ext
7766 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7767   LIBS=$ac_check_lib_save_LIBS
7768   fi
7769   echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
# Line 7509 | Line 7805 | fi;
7805   echo "${ECHO_T}no" >&6
7806  
7807   fi;
7808 +
7809 +
7810 +
7811 + # Check whether --enable-doxygen or --disable-doxygen was given.
7812 + if test "${enable_doxygen+set}" = set; then
7813 +  enableval="$enable_doxygen"
7814 +
7815 + fi;
7816 + # Check whether --enable-dot or --disable-dot was given.
7817 + if test "${enable_dot+set}" = set; then
7818 +  enableval="$enable_dot"
7819 +
7820 + fi;
7821 + # Check whether --enable-html-docs or --disable-html-docs was given.
7822 + if test "${enable_html_docs+set}" = set; then
7823 +  enableval="$enable_html_docs"
7824 +
7825 + else
7826 +   enable_html_docs=yes
7827 + fi;
7828 + # Check whether --enable-latex-docs or --disable-latex-docs was given.
7829 + if test "${enable_latex_docs+set}" = set; then
7830 +  enableval="$enable_latex_docs"
7831 +
7832 + else
7833 +   enable_latex_docs=no
7834 + fi;
7835 + if test "x$enable_doxygen" = xno; then
7836 +        enable_doc=no
7837 + else
7838 +        # Extract the first word of "doxygen", so it can be a program name with args.
7839 + set dummy doxygen; ac_word=$2
7840 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7841 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7842 + if test "${ac_cv_path_DOXYGEN+set}" = set; then
7843 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7844 + else
7845 +  case $DOXYGEN in
7846 +  [\\/]* | ?:[\\/]*)
7847 +  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7848 +  ;;
7849 +  *)
7850 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 + for as_dir in $PATH
7852 + do
7853 +  IFS=$as_save_IFS
7854 +  test -z "$as_dir" && as_dir=.
7855 +  for ac_exec_ext in '' $ac_executable_extensions; do
7856 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 +    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7858 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 +    break 2
7860 +  fi
7861 + done
7862 + done
7863  
7864 +  ;;
7865 + esac
7866 + fi
7867 + DOXYGEN=$ac_cv_path_DOXYGEN
7868  
7869 + if test -n "$DOXYGEN"; then
7870 +  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7871 + echo "${ECHO_T}$DOXYGEN" >&6
7872 + else
7873 +  echo "$as_me:$LINENO: result: no" >&5
7874 + echo "${ECHO_T}no" >&6
7875 + fi
7876  
7877 +        if test "x$DOXYGEN" = x; then
7878 +                if test "x$enable_doxygen" = xyes; then
7879 +                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
7880 + echo "$as_me: error: could not find doxygen" >&2;}
7881 +   { (exit 1); exit 1; }; }
7882 +                fi
7883 +                enable_doc=no
7884 +        else
7885 +                enable_doc=yes
7886 +                # Extract the first word of "dot", so it can be a program name with args.
7887 + set dummy dot; ac_word=$2
7888 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7889 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7890 + if test "${ac_cv_path_DOT+set}" = set; then
7891 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7892 + else
7893 +  case $DOT in
7894 +  [\\/]* | ?:[\\/]*)
7895 +  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
7896 +  ;;
7897 +  *)
7898 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 + for as_dir in $PATH
7900 + do
7901 +  IFS=$as_save_IFS
7902 +  test -z "$as_dir" && as_dir=.
7903 +  for ac_exec_ext in '' $ac_executable_extensions; do
7904 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 +    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
7906 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 +    break 2
7908 +  fi
7909 + done
7910 + done
7911  
7912 +  ;;
7913 + esac
7914 + fi
7915 + DOT=$ac_cv_path_DOT
7916  
7917 + if test -n "$DOT"; then
7918 +  echo "$as_me:$LINENO: result: $DOT" >&5
7919 + echo "${ECHO_T}$DOT" >&6
7920 + else
7921 +  echo "$as_me:$LINENO: result: no" >&5
7922 + echo "${ECHO_T}no" >&6
7923 + fi
7924 +
7925 +        fi
7926 + fi
7927 +
7928 + if test "x$enable_doc" = xyes; then
7929 +  DOC=1
7930 + else
7931 +  DOC=0
7932 + fi
7933 +
7934 +
7935 + if test x$DOT = x; then
7936 +        if test "x$enable_dot" = xyes; then
7937 +                { { echo "$as_me:$LINENO: error: could not find dot" >&5
7938 + echo "$as_me: error: could not find dot" >&2;}
7939 +   { (exit 1); exit 1; }; }
7940 +        fi
7941 +        enable_dot=no
7942 + else
7943 +        enable_dot=yes
7944 + fi
7945 +
7946 +
7947 +
7948 +
7949 +
7950 +
7951 +
7952   OBJEXT=".$OBJEXT"
7953  
7954   OOPSE=oopse
# Line 7537 | Line 7972 | SUBDIRS="libBASS libmdtools src forceFields samples ut
7972  
7973   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
7974  
7540 SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder third-party "
7541
7975   CFLAGS=${CFLAGS-""}
7976   CXXFLAGS=${CXXFLAGS-""}
7977   CPPFLAGS=${CPPFLAGS-""}
# Line 7572 | Line 8005 | esac
8005  
8006  
8007  
7575                    ac_config_headers="$ac_config_headers libBASS/config.h libmdtools/config.h"
8008  
8009 <                                                                                                                                                                                                                            ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/lipid/Makefile samples/minimizer/Makefile samples/metals/Makefile samples/water/Makefile samples/water/dimer/Makefile samples/water/spce/Makefile samples/water/ssd/Makefile samples/water/ssde/Makefile samples/water/tip4p/Makefile samples/water/tip3p_ice/Makefile samples/zcons/Makefile"
8009 >          ac_config_headers="$ac_config_headers src/config.h"
8010  
8011 +                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8012  
8013 +
8014   cat >confcache <<\_ACEOF
8015   # This file is a shell script that caches the results of configure
8016   # tests run on this system so they can be shared between configure
# Line 7605 | Line 8039 | _ACEOF
8039        # `set' does not quote correctly, so add quotes (double-quote
8040        # substitution turns \\\\ into \\, and sed turns \\ into \).
8041        sed -n \
8042 <        "s/'/'\\\\''/g;
8043 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8042 >        "s/'/'\\\\''/g;
8043 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8044        ;;
8045      *)
8046        # `set' quotes correctly as required by POSIX, so do not add quotes.
8047        sed -n \
8048 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8048 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8049        ;;
8050      esac;
8051   } |
# Line 7641 | Line 8075 | if test "x$srcdir" = x.; then
8075   # trailing colons and then remove the whole line if VPATH becomes empty
8076   # (actually we leave an empty line to preserve line numbers).
8077   if test "x$srcdir" = x.; then
8078 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8078 >  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8079   s/:*\$(srcdir):*/:/;
8080   s/:*\${srcdir}:*/:/;
8081   s/:*@srcdir@:*/:/;
8082 < s/^\([^=]*=[     ]*\):*/\1/;
8082 > s/^\([^=]*=[    ]*\):*/\1/;
8083   s/:*$//;
8084 < s/^[^=]*=[       ]*$//;
8084 > s/^[^=]*=[      ]*$//;
8085   }'
8086   fi
8087  
# Line 7658 | Line 8092 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && conti
8092   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8093    # 1. Remove the extension, and $U if already installed.
8094    ac_i=`echo "$ac_i" |
8095 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8095 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8096    # 2. Add them.
8097    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8098    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 7702 | Line 8136 | DUALCASE=1; export DUALCASE # for MKS sh
8136   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8137    set -o posix
8138   fi
7705 DUALCASE=1; export DUALCASE # for MKS sh
8139  
8140   # Support unset when possible.
8141 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8141 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8142    as_unset=unset
8143   else
8144    as_unset=false
# Line 7724 | Line 8157 | do
8157    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8158    LC_TELEPHONE LC_TIME
8159   do
8160 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8160 >  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8161      eval $as_var=C; export $as_var
8162    else
8163      $as_unset $as_var
# Line 7903 | Line 8336 | else
8336   if mkdir -p . 2>/dev/null; then
8337    as_mkdir_p=:
8338   else
7906  test -d ./-p && rmdir ./-p
8339    as_mkdir_p=false
8340   fi
8341  
8342   as_executable_p="test -f"
8343  
8344   # Sed expression to map a string onto a valid CPP name.
8345 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8345 > as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8346  
8347   # Sed expression to map a string onto a valid variable name.
8348 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8348 > as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
8349  
8350  
8351   # IFS
# Line 7939 | Line 8371 | This file was extended by OOPSE $as_me 1.0, which was
8371   } >&5
8372   cat >&5 <<_CSEOF
8373  
8374 < This file was extended by OOPSE $as_me 1.0, which was
8375 < generated by GNU Autoconf 2.59.  Invocation command line was
8374 > This file was extended by OOPSE $as_me 2.0, which was
8375 > generated by GNU Autoconf 2.57.  Invocation command line was
8376  
8377    CONFIG_FILES    = $CONFIG_FILES
8378    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 7984 | Line 8416 | Usage: $0 [OPTIONS] [FILE]...
8416    -d, --debug      don't remove temporary files
8417        --recheck    update $as_me by reconfiguring in the same conditions
8418    --file=FILE[:TEMPLATE]
8419 <                   instantiate the configuration file FILE
8419 >                   instantiate the configuration file FILE
8420    --header=FILE[:TEMPLATE]
8421 <                   instantiate the configuration header FILE
8421 >                   instantiate the configuration header FILE
8422  
8423   Configuration files:
8424   $config_files
# Line 8002 | Line 8434 | OOPSE config.status 1.0
8434  
8435   cat >>$CONFIG_STATUS <<_ACEOF
8436   ac_cs_version="\\
8437 < OOPSE config.status 1.0
8438 < configured by $0, generated by GNU Autoconf 2.59,
8437 > OOPSE config.status 2.0
8438 > configured by $0, generated by GNU Autoconf 2.57,
8439    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8440  
8441 < Copyright (C) 2003 Free Software Foundation, Inc.
8441 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8442 > Free Software Foundation, Inc.
8443   This config.status script is free software; the Free Software Foundation
8444   gives unlimited permission to copy, distribute and modify it."
8445   srcdir=$srcdir
# Line 8105 | Line 8538 | do
8538   do
8539    case "$ac_config_target" in
8540    # Handling of arguments.
8541 <  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8542 <  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
8543 <  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
8544 <  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8112 <  "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
8113 <  "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
8114 <  "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
8115 <  "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
8116 <  "third-party/Makefile" ) CONFIG_FILES="$CONFIG_FILES third-party/Makefile" ;;
8117 <  "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
8118 <  "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
8119 <  "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;;
8120 <  "samples/minimizer/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/minimizer/Makefile" ;;
8121 <  "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;;
8122 <  "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;;
8123 <  "samples/water/dimer/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/dimer/Makefile" ;;
8124 <  "samples/water/spce/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/spce/Makefile" ;;
8125 <  "samples/water/ssd/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssd/Makefile" ;;
8126 <  "samples/water/ssde/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssde/Makefile" ;;
8127 <  "samples/water/tip4p/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip4p/Makefile" ;;
8128 <  "samples/water/tip3p_ice/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip3p_ice/Makefile" ;;
8129 <  "samples/zcons/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/zcons/Makefile" ;;
8130 <  "utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;;
8131 <  "libBASS/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libBASS/config.h" ;;
8132 <  "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
8541 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8542 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8543 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8544 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8545    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8546   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8547     { (exit 1); exit 1; }; };;
# Line 8249 | Line 8661 | s,@CPP@,$CPP,;t t
8661   s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
8662   s,@MODDIRFLAG@,$MODDIRFLAG,;t t
8663   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
8664 + s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
8665   s,@CPP@,$CPP,;t t
8666   s,@EGREP@,$EGREP,;t t
8667   s,@LIBOBJS@,$LIBOBJS,;t t
# Line 8264 | Line 8677 | s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
8677   s,@LEXLIB@,$LEXLIB,;t t
8678   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8679   s,@AR@,$AR,;t t
8680 + s,@PS@,$PS,;t t
8681   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
8682   s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
8683   s,@MPI_F90_INC@,$MPI_F90_INC,;t t
# Line 8278 | Line 8692 | s,@BATEXT@,$BATEXT,;t t
8692   s,@MKL_LIB@,$MKL_LIB,;t t
8693   s,@MKL_INC@,$MKL_INC,;t t
8694   s,@HAVE_MKL@,$HAVE_MKL,;t t
8695 + s,@DOXYGEN@,$DOXYGEN,;t t
8696 + s,@DOT@,$DOT,;t t
8697 + s,@DOC@,$DOC,;t t
8698 + s,@enable_dot@,$enable_dot,;t t
8699 + s,@enable_html_docs@,$enable_html_docs,;t t
8700 + s,@enable_latex_docs@,$enable_latex_docs,;t t
8701   s,@BATEXT@,$BATEXT,;t t
8702   s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8703   s,@OOPSE@,$OOPSE,;t t
# Line 8314 | Line 8734 | _ACEOF
8734        (echo ':t
8735    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8736        if test -z "$ac_sed_cmds"; then
8737 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8737 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8738        else
8739 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8739 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8740        fi
8741        ac_sed_frag=`expr $ac_sed_frag + 1`
8742        ac_beg=$ac_end
# Line 8334 | Line 8754 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
8754    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8755    case $ac_file in
8756    - | *:- | *:-:* ) # input from stdin
8757 <        cat >$tmp/stdin
8758 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8759 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8757 >        cat >$tmp/stdin
8758 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8759 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8760    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8761 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8761 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8762    * )   ac_file_in=$ac_file.in ;;
8763    esac
8764  
8765    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8766    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8767   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8768 <         X"$ac_file" : 'X\(//\)[^/]' \| \
8769 <         X"$ac_file" : 'X\(//\)$' \| \
8770 <         X"$ac_file" : 'X\(/\)' \| \
8771 <         .     : '\(.\)' 2>/dev/null ||
8768 >         X"$ac_file" : 'X\(//\)[^/]' \| \
8769 >         X"$ac_file" : 'X\(//\)$' \| \
8770 >         X"$ac_file" : 'X\(/\)' \| \
8771 >         .     : '\(.\)' 2>/dev/null ||
8772   echo X"$ac_file" |
8773      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8774            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8364 | Line 8784 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
8784        as_dirs="$as_dir $as_dirs"
8785        as_dir=`(dirname "$as_dir") 2>/dev/null ||
8786   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8787 <         X"$as_dir" : 'X\(//\)[^/]' \| \
8788 <         X"$as_dir" : 'X\(//\)$' \| \
8789 <         X"$as_dir" : 'X\(/\)' \| \
8790 <         .     : '\(.\)' 2>/dev/null ||
8787 >         X"$as_dir" : 'X\(//\)[^/]' \| \
8788 >         X"$as_dir" : 'X\(//\)$' \| \
8789 >         X"$as_dir" : 'X\(/\)' \| \
8790 >         .     : '\(.\)' 2>/dev/null ||
8791   echo X"$as_dir" |
8792      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8793            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8405 | Line 8825 | esac
8825      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8826      ac_top_srcdir=$ac_top_builddir$srcdir ;;
8827   esac
8828 <
8829 < # Do not use `cd foo && pwd` to compute absolute paths, because
8830 < # the directories may not exist.
8831 < case `pwd` in
8832 < .) ac_abs_builddir="$ac_dir";;
8833 < *)
8414 <  case "$ac_dir" in
8415 <  .) ac_abs_builddir=`pwd`;;
8416 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8417 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8418 <  esac;;
8419 < esac
8420 < case $ac_abs_builddir in
8421 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
8422 < *)
8423 <  case ${ac_top_builddir}. in
8424 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
8425 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8426 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8427 <  esac;;
8428 < esac
8429 < case $ac_abs_builddir in
8430 < .) ac_abs_srcdir=$ac_srcdir;;
8431 < *)
8432 <  case $ac_srcdir in
8433 <  .) ac_abs_srcdir=$ac_abs_builddir;;
8434 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8435 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8436 <  esac;;
8437 < esac
8438 < case $ac_abs_builddir in
8439 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
8440 < *)
8441 <  case $ac_top_srcdir in
8442 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8443 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8444 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8445 <  esac;;
8446 < esac
8828 > # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8829 > # absolute.
8830 > ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8831 > ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8832 > ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8833 > ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8834  
8835  
8836    case $INSTALL in
# Line 8465 | Line 8852 | echo "$as_me: creating $ac_file" >&6;}
8852      configure_input="$ac_file.  "
8853    fi
8854    configure_input=$configure_input"Generated from `echo $ac_file_in |
8855 <                                     sed 's,.*/,,'` by configure."
8855 >                                     sed 's,.*/,,'` by configure."
8856  
8857    # First look for the input files in the build tree, otherwise in the
8858    # src tree.
# Line 8474 | Line 8861 | echo "$as_me: creating $ac_file" >&6;}
8861        case $f in
8862        -) echo $tmp/stdin ;;
8863        [\\/$]*)
8864 <         # Absolute (can't be DOS-style, as IFS=:)
8865 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8864 >         # Absolute (can't be DOS-style, as IFS=:)
8865 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8866   echo "$as_me: error: cannot find input file: $f" >&2;}
8867     { (exit 1); exit 1; }; }
8868 <         echo "$f";;
8868 >         echo $f;;
8869        *) # Relative
8870 <         if test -f "$f"; then
8871 <           # Build tree
8872 <           echo "$f"
8873 <         elif test -f "$srcdir/$f"; then
8874 <           # Source tree
8875 <           echo "$srcdir/$f"
8876 <         else
8877 <           # /dev/null tree
8878 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8870 >         if test -f "$f"; then
8871 >           # Build tree
8872 >           echo $f
8873 >         elif test -f "$srcdir/$f"; then
8874 >           # Source tree
8875 >           echo $srcdir/$f
8876 >         else
8877 >           # /dev/null tree
8878 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8879   echo "$as_me: error: cannot find input file: $f" >&2;}
8880     { (exit 1); exit 1; }; }
8881 <         fi;;
8881 >         fi;;
8882        esac
8883      done` || { (exit 1); exit 1; }
8884   _ACEOF
# Line 8533 | Line 8920 | ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8920   # NAME is the cpp macro being defined and VALUE is the value it is being given.
8921   #
8922   # ac_d sets the value in "#define NAME VALUE" lines.
8923 < ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
8924 < ac_dB='[         ].*$,\1#\2'
8923 > ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8924 > ac_dB='[        ].*$,\1#\2'
8925   ac_dC=' '
8926   ac_dD=',;t'
8927   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8928 < ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8928 > ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8929   ac_uB='$,\1#\2define\3'
8930   ac_uC=' '
8931   ac_uD=',;t'
# Line 8547 | Line 8934 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
8934    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8935    case $ac_file in
8936    - | *:- | *:-:* ) # input from stdin
8937 <        cat >$tmp/stdin
8938 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8939 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8937 >        cat >$tmp/stdin
8938 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8939 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8940    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8941 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8941 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8942    * )   ac_file_in=$ac_file.in ;;
8943    esac
8944  
# Line 8565 | Line 8952 | echo "$as_me: creating $ac_file" >&6;}
8952        case $f in
8953        -) echo $tmp/stdin ;;
8954        [\\/$]*)
8955 <         # Absolute (can't be DOS-style, as IFS=:)
8956 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8955 >         # Absolute (can't be DOS-style, as IFS=:)
8956 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8957   echo "$as_me: error: cannot find input file: $f" >&2;}
8958     { (exit 1); exit 1; }; }
8959 <         # Do quote $f, to prevent DOS paths from being IFS'd.
8573 <         echo "$f";;
8959 >         echo $f;;
8960        *) # Relative
8961 <         if test -f "$f"; then
8962 <           # Build tree
8963 <           echo "$f"
8964 <         elif test -f "$srcdir/$f"; then
8965 <           # Source tree
8966 <           echo "$srcdir/$f"
8967 <         else
8968 <           # /dev/null tree
8969 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8961 >         if test -f "$f"; then
8962 >           # Build tree
8963 >           echo $f
8964 >         elif test -f "$srcdir/$f"; then
8965 >           # Source tree
8966 >           echo $srcdir/$f
8967 >         else
8968 >           # /dev/null tree
8969 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8970   echo "$as_me: error: cannot find input file: $f" >&2;}
8971     { (exit 1); exit 1; }; }
8972 <         fi;;
8972 >         fi;;
8973        esac
8974      done` || { (exit 1); exit 1; }
8975    # Remove the trailing spaces.
8976 <  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
8976 >  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
8977  
8978   _ACEOF
8979  
# Line 8610 | Line 8996 | s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*
8996   s,[\\$`],\\&,g
8997   t clear
8998   : clear
8999 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8999 > s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9000   t end
9001 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9001 > s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9002   : end
9003   _ACEOF
9004   # If some macros were called several times there might be several times
# Line 8626 | Line 9012 | s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/*
9012   # example, in the case of _POSIX_SOURCE, which is predefined and required
9013   # on some systems where configure will not decide to define it.
9014   cat >>conftest.undefs <<\_ACEOF
9015 < s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9015 > s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9016   _ACEOF
9017  
9018   # Break up conftest.defines because some shells have a limit on the size
9019   # of here documents, and old seds have small limits too (100 cmds).
9020   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9021 < echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9021 > echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9022   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9023   echo '  :' >>$CONFIG_STATUS
9024   rm -f conftest.tail
# Line 8641 | Line 9027 | do
9027    # Write a limited-size here document to $tmp/defines.sed.
9028    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9029    # Speed up: don't consider the non `#define' lines.
9030 <  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9030 >  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9031    # Work around the forget-to-reset-the-flag bug.
9032    echo 't clr' >>$CONFIG_STATUS
9033    echo ': clr' >>$CONFIG_STATUS
# Line 8668 | Line 9054 | do
9054    # Write a limited-size here document to $tmp/undefs.sed.
9055    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9056    # Speed up: don't consider the non `#undef'
9057 <  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9057 >  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9058    # Work around the forget-to-reset-the-flag bug.
9059    echo 't clr' >>$CONFIG_STATUS
9060    echo ': clr' >>$CONFIG_STATUS
# Line 8702 | Line 9088 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9088      else
9089        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9090   $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9091 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9092 <         X"$ac_file" : 'X\(//\)$' \| \
9093 <         X"$ac_file" : 'X\(/\)' \| \
9094 <         .     : '\(.\)' 2>/dev/null ||
9091 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9092 >         X"$ac_file" : 'X\(//\)$' \| \
9093 >         X"$ac_file" : 'X\(/\)' \| \
9094 >         .     : '\(.\)' 2>/dev/null ||
9095   echo X"$ac_file" |
9096      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9097            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8721 | Line 9107 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9107        as_dirs="$as_dir $as_dirs"
9108        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9109   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9110 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9111 <         X"$as_dir" : 'X\(//\)$' \| \
9112 <         X"$as_dir" : 'X\(/\)' \| \
9113 <         .     : '\(.\)' 2>/dev/null ||
9110 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9111 >         X"$as_dir" : 'X\(//\)$' \| \
9112 >         X"$as_dir" : 'X\(/\)' \| \
9113 >         .     : '\(.\)' 2>/dev/null ||
9114   echo X"$as_dir" |
9115      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9116            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8769 | Line 9155 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9155    # Make relative symlinks.
9156    ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
9157   $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9158 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
9159 <         X"$ac_dest" : 'X\(//\)$' \| \
9160 <         X"$ac_dest" : 'X\(/\)' \| \
9161 <         .     : '\(.\)' 2>/dev/null ||
9158 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
9159 >         X"$ac_dest" : 'X\(//\)$' \| \
9160 >         X"$ac_dest" : 'X\(/\)' \| \
9161 >         .     : '\(.\)' 2>/dev/null ||
9162   echo X"$ac_dest" |
9163      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9164            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8788 | Line 9174 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \|
9174        as_dirs="$as_dir $as_dirs"
9175        as_dir=`(dirname "$as_dir") 2>/dev/null ||
9176   $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9177 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9178 <         X"$as_dir" : 'X\(//\)$' \| \
9179 <         X"$as_dir" : 'X\(/\)' \| \
9180 <         .     : '\(.\)' 2>/dev/null ||
9177 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9178 >         X"$as_dir" : 'X\(//\)$' \| \
9179 >         X"$as_dir" : 'X\(/\)' \| \
9180 >         .     : '\(.\)' 2>/dev/null ||
9181   echo X"$as_dir" |
9182      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9183            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 8829 | Line 9215 | esac
9215      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9216      ac_top_srcdir=$ac_top_builddir$srcdir ;;
9217   esac
9218 + # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
9219 + # absolute.
9220 + ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
9221 + ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd`
9222 + ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
9223 + ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
9224  
8833 # Do not use `cd foo && pwd` to compute absolute paths, because
8834 # the directories may not exist.
8835 case `pwd` in
8836 .) ac_abs_builddir="$ac_dest_dir";;
8837 *)
8838  case "$ac_dest_dir" in
8839  .) ac_abs_builddir=`pwd`;;
8840  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
8841  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
8842  esac;;
8843 esac
8844 case $ac_abs_builddir in
8845 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8846 *)
8847  case ${ac_top_builddir}. in
8848  .) ac_abs_top_builddir=$ac_abs_builddir;;
8849  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8850  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8851  esac;;
8852 esac
8853 case $ac_abs_builddir in
8854 .) ac_abs_srcdir=$ac_srcdir;;
8855 *)
8856  case $ac_srcdir in
8857  .) ac_abs_srcdir=$ac_abs_builddir;;
8858  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8859  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8860  esac;;
8861 esac
8862 case $ac_abs_builddir in
8863 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8864 *)
8865  case $ac_top_srcdir in
8866  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8867  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8868  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8869  esac;;
8870 esac
9225  
8872
9226    case $srcdir in
9227    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
9228        *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines