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

Comparing trunk/OOPSE-4/configure (file contents):
Revision 1535 by gezelter, Wed Oct 6 21:22: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 2.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 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 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 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 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 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 989 | Line 959 | generated by GNU Autoconf 2.59
959   if $ac_init_version; then
960    cat <<\_ACEOF
961   OOPSE configure 2.0
962 < generated by GNU Autoconf 2.59
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 1003 | Line 974 | generated by GNU Autoconf 2.59.  Invocation command li
974   running configure, to aid debugging if configure makes a mistake.
975  
976   It was created by OOPSE $as_me 2.0, which was
977 < generated by GNU Autoconf 2.59.  Invocation command line 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 1820 | Line 1791 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1791   # Figure out how the Fortran 90 compiler constructs module file names
1792   #
1793   # AC_F90_MODULE_NAMES
1794 +
1795 +
1796 +
1797  
1798  
1799  
# Line 2076 | 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 2095 | 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 2116 | 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 <        ;;
2098 <    [ab].out )
2099 <        # We found the default executable, but exeext='' is most
2100 <        # certainly right.
2101 <        break;;
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;;
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 2206 | 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 2232 | 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 2282 | 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 2301 | 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=$?
2306  grep -v '^ *+' conftest.er1 >conftest.err
2307  rm -f conftest.er1
2308  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"
2312 <                         || 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
2317  (exit $ac_status); }; } &&
2318         { ac_try='test -s conftest.$ac_objext'
2319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320  (eval $ac_try) 2>&5
2321  ac_status=$?
2322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290    (exit $ac_status); }; }; then
2291    ac_compiler_gnu=yes
2292   else
# Line 2328 | 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 2344 | 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 2360 | 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=$?
2365  grep -v '^ *+' conftest.er1 >conftest.err
2366  rm -f conftest.er1
2367  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"
2371 <                         || 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
2376  (exit $ac_status); }; } &&
2377         { ac_try='test -s conftest.$ac_objext'
2378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379  (eval $ac_try) 2>&5
2380  ac_status=$?
2381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340    (exit $ac_status); }; }; then
2341    ac_cv_prog_cc_g=yes
2342   else
# Line 2387 | 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 2414 | 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 2441 | Line 2400 | static char *f (char * (*g) (char **, int), char **p,
2400    va_end (v);
2401    return s;
2402   }
2444
2445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2446   function prototypes and stuff, but not '\xHH' hex character constants.
2447   These don't provoke an error unfortunately, instead are silently treated
2448   as 'x'.  The following induces an error, until -std1 is added to get
2449   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2450   array size at least.  It's necessary to write '\x00'==0 to get something
2451   that's true only with -std1.  */
2452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2453
2403   int test (int i, double x);
2404   struct s1 {int (*f) (int a);};
2405   struct s2 {int (*f) (double a);};
# Line 2477 | 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=$?
2482  grep -v '^ *+' conftest.er1 >conftest.err
2483  rm -f conftest.er1
2484  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"
2488 <                         || test ! -s conftest.err'
2489 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 <  (eval $ac_try) 2>&5
2491 <  ac_status=$?
2492 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 <  (exit $ac_status); }; } &&
2494 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 2504 | 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 2532 | 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=$?
2537  grep -v '^ *+' conftest.er1 >conftest.err
2538  rm -f conftest.er1
2539  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"
2543 <                         || 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
2548  (exit $ac_status); }; } &&
2549         { ac_try='test -s conftest.$ac_objext'
2550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551  (eval $ac_try) 2>&5
2552  ac_status=$?
2553  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 2561 | 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.  */
2569 $ac_declaration
2500   #include <stdlib.h>
2501 + $ac_declaration
2502   int
2503   main ()
2504   {
# Line 2578 | 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=$?
2583  grep -v '^ *+' conftest.er1 >conftest.err
2584  rm -f conftest.er1
2585  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"
2589 <                         || 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
2594  (exit $ac_status); }; } &&
2595         { ac_try='test -s conftest.$ac_objext'
2596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597  (eval $ac_try) 2>&5
2598  ac_status=$?
2599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521    (exit $ac_status); }; }; then
2522    :
2523   else
# Line 2605 | 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 2623 | 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=$?
2628  grep -v '^ *+' conftest.er1 >conftest.err
2629  rm -f conftest.er1
2630  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"
2634 <                         || test ! -s conftest.err'
2635 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 <  (eval $ac_try) 2>&5
2637 <  ac_status=$?
2638 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 <  (exit $ac_status); }; } &&
2640 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 2649 | 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 2663 | 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 2790 | 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 2809 | 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=$?
2814  grep -v '^ *+' conftest.er1 >conftest.err
2815  rm -f conftest.er1
2816  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"
2820 <                         || test ! -s conftest.err'
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=$?
2733    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825  (exit $ac_status); }; } &&
2826         { ac_try='test -s conftest.$ac_objext'
2827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828  (eval $ac_try) 2>&5
2829  ac_status=$?
2830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734    (exit $ac_status); }; }; then
2735    ac_compiler_gnu=yes
2736   else
# Line 2836 | 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 2852 | 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 2868 | 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=$?
2873  grep -v '^ *+' conftest.er1 >conftest.err
2874  rm -f conftest.er1
2875  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"
2879 <                         || 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
2884  (exit $ac_status); }; } &&
2885         { ac_try='test -s conftest.$ac_objext'
2886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887  (eval $ac_try) 2>&5
2888  ac_status=$?
2889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784    (exit $ac_status); }; }; then
2785    ac_cv_prog_cxx_g=yes
2786   else
# Line 2895 | 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 2915 | 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 2923 | 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.  */
2931 $ac_declaration
2827   #include <stdlib.h>
2828 + $ac_declaration
2829   int
2830   main ()
2831   {
# Line 2940 | 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=$?
2945  grep -v '^ *+' conftest.er1 >conftest.err
2946  rm -f conftest.er1
2947  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"
2951 <                         || test ! -s conftest.err'
2952 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 <  (eval $ac_try) 2>&5
2954 <  ac_status=$?
2955 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 <  (exit $ac_status); }; } &&
2957 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 2967 | 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 2985 | 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=$?
2990  grep -v '^ *+' conftest.er1 >conftest.err
2991  rm -f conftest.er1
2992  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"
2996 <                         || 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
3001  (exit $ac_status); }; } &&
3002         { ac_try='test -s conftest.$ac_objext'
3003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004  (eval $ac_try) 2>&5
3005  ac_status=$?
3006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884    (exit $ac_status); }; }; then
2885    break
2886   else
# Line 3011 | 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 3196 | 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=$?
3201  grep -v '^ *+' conftest.er1 >conftest.err
3202  rm -f conftest.er1
3203  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"
3207 <                         || test ! -s conftest.err'
3208 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 <  (eval $ac_try) 2>&5
3210 <  ac_status=$?
3211 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 <  (exit $ac_status); }; } &&
3213 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 3223 | 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 3297 | 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=$?
3302  grep -v '^ *+' conftest.er1 >conftest.err
3303  rm -f conftest.er1
3304  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"
3308 <                         || 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
3313  (exit $ac_status); }; } &&
3314         { ac_try='test -s conftest.$ac_objext'
3315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316  (eval $ac_try) 2>&5
3317  ac_status=$?
3318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176    (exit $ac_status); }; }; then
3177    prepflagworks=1
3178   else
# Line 3324 | 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 3412 | 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=$?
3417  grep -v '^ *+' conftest.er1 >conftest.err
3418  rm -f conftest.er1
3419  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"
3423 <                         || 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
3428  (exit $ac_status); }; } &&
3429         { ac_try='test -s conftest.$ac_objext'
3430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431  (eval $ac_try) 2>&5
3432  ac_status=$?
3433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281    (exit $ac_status); }; }; then
3282    prepdefflagworks=1
3283   else
# Line 3439 | 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 3491 | 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=$?
3496  grep -v '^ *+' conftest.er1 >conftest.err
3497  rm -f conftest.er1
3498  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"
3502 <                         || test ! -s conftest.err'
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=$?
3349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507  (exit $ac_status); }; } &&
3508         { ac_try='test -s conftest.$ac_objext'
3509  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510  (eval $ac_try) 2>&5
3511  ac_status=$?
3512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350    (exit $ac_status); }; }; then
3351    ac_cv_prog_f90_v=
3352   # Try some options frequently used verbose output
# Line 3535 | Line 3372 | F90FLAGS="$F90FLAGS $ac_verb"
3372   ac_save_F90FLAGS=$F90FLAGS
3373   F90FLAGS="$F90FLAGS $ac_verb"
3374  
3375 < (eval echo $as_me:3538: \"$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 3577 | 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 3612 | 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:3615: \"$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 3794 | 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=$?
3799  grep -v '^ *+' conftest.er1 >conftest.err
3800  rm -f conftest.er1
3801  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"
3805 <                         || test ! -s conftest.err'
3806 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 <  (eval $ac_try) 2>&5
3808 <  ac_status=$?
3809 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 <  (exit $ac_status); }; } &&
3811 <         { ac_try='test -s conftest.$ac_objext'
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=$?
# Line 3830 | 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 3853 | 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=$?
3858  grep -v '^ *+' conftest.er1 >conftest.err
3859  rm -f conftest.er1
3860  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"
3864 <                         || test ! -s conftest.err'
3865 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 <  (eval $ac_try) 2>&5
3867 <  ac_status=$?
3868 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 <  (exit $ac_status); }; } &&
3870 <         { ac_try='test -s conftest$ac_exeext'
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=$?
# Line 3879 | 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 \
3883 <      conftest$ac_exeext conftest.$ac_ext
3700 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3701      done
3702    done
3703  
# Line 3901 | 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 3924 | 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=$?
3929  grep -v '^ *+' conftest.er1 >conftest.err
3930  rm -f conftest.er1
3931  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"
3935 <                         || 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
3940  (exit $ac_status); }; } &&
3941         { ac_try='test -s conftest$ac_exeext'
3942  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943  (eval $ac_try) 2>&5
3944  ac_status=$?
3945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754    (exit $ac_status); }; }; then
3755    ac_success_extra=yes; break
3756   else
# Line 3950 | 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 \
3954 <      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 3986 | 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 4229 | Line 4036 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4036   _ACEOF
4037   rm -f conftest.$ac_objext
4038   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4039 <  (eval $ac_compile) 2>conftest.er1
4039 >  (eval $ac_compile) 2>&5
4040    ac_status=$?
4234  grep -v '^ *+' conftest.er1 >conftest.err
4235  rm -f conftest.er1
4236  cat conftest.err >&5
4041    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042    (exit $ac_status); } &&
4043 <         { ac_try='test -z "$ac_f90_werror_flag"
4240 <                         || test ! -s conftest.err'
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
4245  (exit $ac_status); }; } &&
4246         { ac_try='test -s conftest.$ac_objext'
4247  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248  (eval $ac_try) 2>&5
4249  ac_status=$?
4250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048    (exit $ac_status); }; }; then
4049    ac_cv_f90_module_names=
4050   ac_file_list=*
# Line 4348 | Line 4145 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
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.err conftest.$ac_objext conftest.$ac_ext
4148 > rm -f conftest.$ac_objext conftest.$ac_ext
4149   cd ..
4150   # cleanup
4151   rm -rf conftest
# Line 4478 | 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 4488 | 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 4500 | 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
4503    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4301    else
4302      ac_cpp_err=
4303    fi
# Line 4521 | 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 4538 | 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
4541    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4339    else
4340      ac_cpp_err=
4341    fi
# Line 4585 | 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 4595 | 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 4607 | 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
4610    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4408    else
4409      ac_cpp_err=
4410    fi
# Line 4628 | 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 4645 | 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
4648    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4446    else
4447      ac_cpp_err=
4448    fi
# Line 4706 | 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 4726 | 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=$?
4731  grep -v '^ *+' conftest.er1 >conftest.err
4732  rm -f conftest.er1
4733  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"
4737 <                         || test ! -s conftest.err'
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=$?
4535    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742  (exit $ac_status); }; } &&
4743         { ac_try='test -s conftest.$ac_objext'
4744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745  (eval $ac_try) 2>&5
4746  ac_status=$?
4747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536    (exit $ac_status); }; }; then
4537    ac_cv_header_stdc=yes
4538   else
# Line 4753 | 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 4779 | 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 4803 | 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 4814 | 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 4827 | 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 4852 | 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 4877 | 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 4886 | 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 4897 | 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=$?
4902  grep -v '^ *+' conftest.er1 >conftest.err
4903  rm -f conftest.er1
4904  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"
4908 <                         || test ! -s conftest.err'
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=$?
4700    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913  (exit $ac_status); }; } &&
4914         { ac_try='test -s conftest.$ac_objext'
4915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916  (eval $ac_try) 2>&5
4917  ac_status=$?
4918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701    (exit $ac_status); }; }; then
4702    eval "$as_ac_Header=yes"
4703   else
# Line 4924 | 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 4938 | Line 4720 | done
4720   done
4721  
4722  
4941  # clean out junk possibly left behind by a previous configuration
4942  rm -f utils/getopt.h
4943  # 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 4958 | 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 4968 | 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=$?
4761 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 +  (exit $ac_status); } &&
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
4768 +  (exit $ac_status); }; }; then
4769 +  ac_header_compiler=yes
4770 + else
4771 +  echo "$as_me: failed program was:" >&5
4772 + sed 's/^/| /' conftest.$ac_ext >&5
4773 +
4774 + ac_header_compiler=no
4775 + fi
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 +
4780 + # Is the header present?
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
4788 + cat >>conftest.$ac_ext <<_ACEOF
4789 + /* end confdefs.h.  */
4790 + #include <$ac_header>
4791 + _ACEOF
4792 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4793 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4794 +  ac_status=$?
4795    grep -v '^ *+' conftest.er1 >conftest.err
4796    rm -f conftest.er1
4797    cat conftest.err >&5
4798    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 +  (exit $ac_status); } >/dev/null; then
4800 +  if test -s conftest.err; then
4801 +    ac_cpp_err=$ac_c_preproc_warn_flag
4802 +  else
4803 +    ac_cpp_err=
4804 +  fi
4805 + else
4806 +  ac_cpp_err=yes
4807 + fi
4808 + if test -z "$ac_cpp_err"; then
4809 +  ac_header_preproc=yes
4810 + else
4811 +  echo "$as_me: failed program was:" >&5
4812 + sed 's/^/| /' conftest.$ac_ext >&5
4813 +
4814 +  ac_header_preproc=no
4815 + fi
4816 + rm -f conftest.err conftest.$ac_ext
4817 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4818 + echo "${ECHO_T}$ac_header_preproc" >&6
4819 +
4820 + # So?  What about this header?
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 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 )
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;}
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;}
4843 +    (
4844 +      cat <<\_ASBOX
4845 + ## ------------------------------------ ##
4846 + ## Report this to bug-autoconf@gnu.org. ##
4847 + ## ------------------------------------ ##
4848 + _ASBOX
4849 +    ) |
4850 +      sed "s/^/$as_me: WARNING:     /" >&2
4851 +    ;;
4852 + esac
4853 + echo "$as_me:$LINENO: checking for $ac_header" >&5
4854 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
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"
4859 + fi
4860 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4861 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4862 +
4863 + fi
4864 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
4865 +  cat >>confdefs.h <<_ACEOF
4866 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4867 + _ACEOF
4868 +
4869 + fi
4870 +
4871 + done
4872 +
4873 +
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
4882 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4883 + if eval "test \"\${$as_ac_var+set}\" = set"; then
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.  */
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.  */
4897 + #ifdef __STDC__
4898 + # include <limits.h>
4899 + #else
4900 + # include <assert.h>
4901 + #endif
4902 + /* Override any gcc2 internal prototype to avoid an error.  */
4903 + #ifdef __cplusplus
4904 + extern "C"
4905 + {
4906 + #endif
4907 + /* We use char because int might match the return type of a gcc2
4908 +   builtin and then its argument prototype would still apply.  */
4909 + char $ac_func ();
4910 + /* The GNU C library defines this for functions which it implements
4911 +    to always fail with ENOSYS.  Some functions are actually named
4912 +    something starting with __ and the normal name is an alias.  */
4913 + #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4914 + choke me
4915 + #else
4916 + char (*f) () = $ac_func;
4917 + #endif
4918 + #ifdef __cplusplus
4919 + }
4920 + #endif
4921 +
4922 + int
4923 + main ()
4924 + {
4925 + return f != $ac_func;
4926 +  ;
4927 +  return 0;
4928 + }
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>&5
4933 +  ac_status=$?
4934 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935    (exit $ac_status); } &&
4936 <         { ac_try='test -z "$ac_c_werror_flag"
4979 <                         || 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
4941 <  (exit $ac_status); }; } &&
4942 <         { ac_try='test -s conftest.$ac_objext'
4941 >  (exit $ac_status); }; }; then
4942 >  eval "$as_ac_var=yes"
4943 > else
4944 >  echo "$as_me: failed program was:" >&5
4945 > sed 's/^/| /' conftest.$ac_ext >&5
4946 >
4947 > eval "$as_ac_var=no"
4948 > fi
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
4953 > if test `eval echo '${'$as_ac_var'}'` = yes; then
4954 >  cat >>confdefs.h <<_ACEOF
4955 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4956 > _ACEOF
4957 >
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 > #include <sys/systemcfg.h>
4973 > int
4974 > main ()
4975 > {
4976 > double x = _system_configuration.physmem;
4977 >  ;
4978 >  return 0;
4979 > }
4980 > _ACEOF
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=$?
4985 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 >  (exit $ac_status); } &&
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
4992    (exit $ac_status); }; }; then
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 + echo "$as_me:$LINENO: result: no" >&5
5005 + echo "${ECHO_T}no" >&6
5006 + fi
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: `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 + 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    echo "$as_me: failed program was:" >&5
# Line 4995 | Line 5054 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ex
5054  
5055   ac_header_compiler=no
5056   fi
5057 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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  
# Line 5003 | Line 5062 | cat >conftest.$ac_ext <<_ACEOF
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
# Line 5020 | Line 5080 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5080    (exit $ac_status); } >/dev/null; then
5081    if test -s conftest.err; then
5082      ac_cpp_err=$ac_c_preproc_warn_flag
5023    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5083    else
5084      ac_cpp_err=
5085    fi
# Line 5040 | Line 5099 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5099   echo "${ECHO_T}$ac_header_preproc" >&6
5100  
5101   # So?  What about this header?
5102 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5103 <  yes:no: )
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 compiler's result" >&5
5107 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5108 <    ac_header_preproc=yes
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:* )
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;}
5056 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5057 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5058 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5059 < echo "$as_me: WARNING: $ac_header:     section \"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;}
5062    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5124      (
5125        cat <<\_ASBOX
5126 < ## ------------------------------ ##
5127 < ## Report this to gezelter@nd.edu ##
5128 < ## ------------------------------ ##
5126 > ## ------------------------------------ ##
5127 > ## Report this to bug-autoconf@gnu.org. ##
5128 > ## ------------------------------------ ##
5129   _ASBOX
5130      ) |
5131        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5076 | Line 5136 | else
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"
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
# Line 5101 | Line 5161 | else
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.  */
5109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5110   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5111 #define $ac_func innocuous_$ac_func
5112
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.  */
5117
5174   #ifdef __STDC__
5175   # include <limits.h>
5176   #else
5177   # include <assert.h>
5178   #endif
5123
5124 #undef $ac_func
5125
5179   /* Override any gcc2 internal prototype to avoid an error.  */
5180   #ifdef __cplusplus
5181   extern "C"
# Line 5153 | Line 5206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
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>conftest.er1
5209 >  (eval $ac_link) 2>&5
5210    ac_status=$?
5158  grep -v '^ *+' conftest.er1 >conftest.err
5159  rm -f conftest.er1
5160  cat conftest.err >&5
5211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212    (exit $ac_status); } &&
5213 <         { ac_try='test -z "$ac_c_werror_flag"
5164 <                         || test ! -s conftest.err'
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
5169  (exit $ac_status); }; } &&
5170         { ac_try='test -s conftest$ac_exeext'
5171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172  (eval $ac_try) 2>&5
5173  ac_status=$?
5174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218    (exit $ac_status); }; }; then
5219    eval "$as_ac_var=yes"
5220   else
# Line 5180 | Line 5223 | rm -f conftest.err conftest.$ac_objext \
5223  
5224   eval "$as_ac_var=no"
5225   fi
5226 < rm -f conftest.err conftest.$ac_objext \
5184 <      conftest$ac_exeext conftest.$ac_ext
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
# Line 5200 | Line 5242 | cat >conftest.$ac_ext <<_ACEOF
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
# Line 5223 | Line 5266 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
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>conftest.er1
5269 >  (eval $ac_link) 2>&5
5270    ac_status=$?
5228  grep -v '^ *+' conftest.er1 >conftest.err
5229  rm -f conftest.er1
5230  cat conftest.err >&5
5271    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272    (exit $ac_status); } &&
5273 <         { ac_try='test -z "$ac_c_werror_flag"
5234 <                         || test ! -s conftest.err'
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
5239  (exit $ac_status); }; } &&
5240         { ac_try='test -s conftest$ac_exeext'
5241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242  (eval $ac_try) 2>&5
5243  ac_status=$?
5244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278    (exit $ac_status); }; }; then
5279    ac_cv_lib_gnugetopt_getopt_long=yes
5280   else
# Line 5250 | Line 5283 | rm -f conftest.err conftest.$ac_objext \
5283  
5284   ac_cv_lib_gnugetopt_getopt_long=no
5285   fi
5286 < rm -f conftest.err conftest.$ac_objext \
5254 <      conftest$ac_exeext conftest.$ac_ext
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
# Line 5263 | Line 5295 | else
5295  
5296   else
5297    # use the GNU replacement
5298 <      case $LIBOBJS in
5299 <    "getopt.$ac_objext"   | \
5300 <  *" getopt.$ac_objext"   | \
5269 <    "getopt.$ac_objext "* | \
5270 <  *" getopt.$ac_objext "* ) ;;
5271 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5272 < esac
5273 <
5274 <      case $LIBOBJS in
5275 <    "getopt1.$ac_objext"   | \
5276 <  *" getopt1.$ac_objext"   | \
5277 <    "getopt1.$ac_objext "* | \
5278 <  *" getopt1.$ac_objext "* ) ;;
5279 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5280 < esac
5281 <
5282 <                ac_config_links="$ac_config_links utils/getopt.h:utils/gnugetopt.h"
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  
# Line 5373 | 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 5824 | 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 6237 | 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 6327 | 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"
6330 # 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 6344 | Line 6361 | case $as_dir/ in
6361   case $as_dir/ in
6362    ./ | .// | /cC/* | \
6363    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6347  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6364    /usr/ucb/* ) ;;
6365    *)
6366      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 6352 | 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 6408 | 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 6607 | 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 6630 | 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=$?
6635  grep -v '^ *+' conftest.er1 >conftest.err
6636  rm -f conftest.er1
6637  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"
6641 <                         || test ! -s conftest.err'
6642 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6643 <  (eval $ac_try) 2>&5
6644 <  ac_status=$?
6645 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 <  (exit $ac_status); }; } &&
6647 <         { 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 6657 | 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 \
6661 <      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 6674 | 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 6697 | 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=$?
6702  grep -v '^ *+' conftest.er1 >conftest.err
6703  rm -f conftest.er1
6704  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"
6708 <                         || 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
6713  (exit $ac_status); }; } &&
6714         { ac_try='test -s conftest$ac_exeext'
6715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716  (eval $ac_try) 2>&5
6717  ac_status=$?
6718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716    (exit $ac_status); }; }; then
6717    ac_cv_lib_l_yywrap=yes
6718   else
# Line 6724 | 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 \
6728 <      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 6787 | 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=$?
6792  grep -v '^ *+' conftest.er1 >conftest.err
6793  rm -f conftest.er1
6794  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"
6798 <                         || 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
6803  (exit $ac_status); }; } &&
6804         { ac_try='test -s conftest$ac_exeext'
6805  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806  (eval $ac_try) 2>&5
6807  ac_status=$?
6808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795    (exit $ac_status); }; }; then
6796    ac_cv_prog_lex_yytext_pointer=yes
6797   else
# Line 6813 | 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 \
6817 <      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 6898 | 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 6925 | Line 6910 | fi
6910   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 7026 | 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 7049 | 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=$?
7054  grep -v '^ *+' conftest.er1 >conftest.err
7055  rm -f conftest.er1
7056  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"
7060 <                         || test ! -s conftest.err'
7061 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 <  (eval $ac_try) 2>&5
7063 <  ac_status=$?
7064 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 <  (exit $ac_status); }; } &&
7066 <         { ac_try='test -s conftest$ac_exeext'
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=$?
# Line 7076 | 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 \
7080 <      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 7096 | 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 7119 | 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=$?
7124  grep -v '^ *+' conftest.er1 >conftest.err
7125  rm -f conftest.er1
7126  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"
7130 <                         || test ! -s conftest.err'
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=$?
7187    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135  (exit $ac_status); }; } &&
7136         { ac_try='test -s conftest$ac_exeext'
7137  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138  (eval $ac_try) 2>&5
7139  ac_status=$?
7140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188    (exit $ac_status); }; }; then
7189    ac_cv_lib_mpi_MPI_Init=yes
7190   else
# Line 7146 | 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 \
7150 <      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 7167 | 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 7190 | 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=$?
7195  grep -v '^ *+' conftest.er1 >conftest.err
7196  rm -f conftest.er1
7197  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"
7201 <                         || 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
7206  (exit $ac_status); }; } &&
7207         { ac_try='test -s conftest$ac_exeext'
7208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209  (eval $ac_try) 2>&5
7210  ac_status=$?
7211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249    (exit $ac_status); }; }; then
7250    ac_cv_lib_mpi_MPI_Init=yes
7251   else
# Line 7217 | 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 \
7221 <      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 7239 | 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 7262 | 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=$?
7267  grep -v '^ *+' conftest.er1 >conftest.err
7268  rm -f conftest.er1
7269  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"
7273 <                         || test ! -s conftest.err'
7274 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 <  (eval $ac_try) 2>&5
7276 <  ac_status=$?
7277 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 <  (exit $ac_status); }; } &&
7279 <         { ac_try='test -s conftest$ac_exeext'
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=$?
# Line 7289 | 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 \
7293 <      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 7392 | 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 7415 | 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=$?
7420  grep -v '^ *+' conftest.er1 >conftest.err
7421  rm -f conftest.er1
7422  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"
7426 <                         || 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
7431  (exit $ac_status); }; } &&
7432         { ac_try='test -s conftest$ac_exeext'
7433  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434  (eval $ac_try) 2>&5
7435  ac_status=$?
7436  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515    (exit $ac_status); }; }; then
7516    ac_cv_lib_sprng_init_rng=yes
7517   else
# Line 7442 | 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 \
7446 <      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 7519 | 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 7529 | 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=$?
7534  grep -v '^ *+' conftest.er1 >conftest.err
7535  rm -f conftest.er1
7536  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"
7540 <                         || 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
7545  (exit $ac_status); }; } &&
7546         { ac_try='test -s conftest.$ac_objext'
7547  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548  (eval $ac_try) 2>&5
7549  ac_status=$?
7550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619    (exit $ac_status); }; }; then
7620    ac_header_compiler=yes
7621   else
# Line 7556 | 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 7564 | 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 7581 | 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
7584    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7653    else
7654      ac_cpp_err=
7655    fi
# Line 7601 | 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;}
7617 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
7618 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
7619 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
7620 < 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;}
7623    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
7624 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 7653 | 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 7676 | 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=$?
7681  grep -v '^ *+' conftest.er1 >conftest.err
7682  rm -f conftest.er1
7683  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"
7687 <                         || 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
7692  (exit $ac_status); }; } &&
7693         { ac_try='test -s conftest$ac_exeext'
7694  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695  (eval $ac_try) 2>&5
7696  ac_status=$?
7697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758    (exit $ac_status); }; }; then
7759    ac_cv_lib_mkl_vslNewStream=yes
7760   else
# Line 7703 | 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 \
7707 <      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 7746 | 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 7810 | Line 8008 | esac
8008  
8009            ac_config_headers="$ac_config_headers src/config.h"
8010  
8011 <          ac_config_files="$ac_config_files make/Makefile"
8011 >                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8012  
8013  
8014   cat >confcache <<\_ACEOF
# Line 7841 | 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 7877 | 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 7894 | 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 7938 | 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
7941 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 7960 | 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 8139 | Line 8336 | else
8336   if mkdir -p . 2>/dev/null; then
8337    as_mkdir_p=:
8338   else
8142  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 8176 | Line 8372 | generated by GNU Autoconf 2.59.  Invocation command li
8372   cat >&5 <<_CSEOF
8373  
8374   This file was extended by OOPSE $as_me 2.0, which was
8375 < generated by GNU Autoconf 2.59.  Invocation command line was
8375 > generated by GNU Autoconf 2.57.  Invocation command line was
8376  
8377    CONFIG_FILES    = $CONFIG_FILES
8378    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 8220 | 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 8239 | Line 8435 | configured by $0, generated by GNU Autoconf 2.59,
8435   cat >>$CONFIG_STATUS <<_ACEOF
8436   ac_cs_version="\\
8437   OOPSE config.status 2.0
8438 < configured by $0, generated by GNU Autoconf 2.59,
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 8342 | Line 8539 | do
8539    case "$ac_config_target" in
8540    # Handling of arguments.
8541    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8542 <  "utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;;
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;}
# Line 8479 | 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 8493 | 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 8529 | 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 8549 | 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 8579 | 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 8620 | Line 8825 | esac
8825      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8826      ac_top_srcdir=$ac_top_builddir$srcdir ;;
8827   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  
8624 # Do not use `cd foo && pwd` to compute absolute paths, because
8625 # the directories may not exist.
8626 case `pwd` in
8627 .) ac_abs_builddir="$ac_dir";;
8628 *)
8629  case "$ac_dir" in
8630  .) ac_abs_builddir=`pwd`;;
8631  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8632  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8633  esac;;
8634 esac
8635 case $ac_abs_builddir in
8636 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8637 *)
8638  case ${ac_top_builddir}. in
8639  .) ac_abs_top_builddir=$ac_abs_builddir;;
8640  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8641  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8642  esac;;
8643 esac
8644 case $ac_abs_builddir in
8645 .) ac_abs_srcdir=$ac_srcdir;;
8646 *)
8647  case $ac_srcdir in
8648  .) ac_abs_srcdir=$ac_abs_builddir;;
8649  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8650  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8651  esac;;
8652 esac
8653 case $ac_abs_builddir in
8654 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8655 *)
8656  case $ac_top_srcdir in
8657  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8658  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8659  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8660  esac;;
8661 esac
8835  
8663
8836    case $INSTALL in
8837    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8838    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
# Line 8680 | 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 8689 | 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 8748 | 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 8762 | 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 8780 | 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.
8788 <         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 8825 | 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 8841 | 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 8856 | 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 8883 | 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 8917 | 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 8936 | 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 8984 | 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 9003 | 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 9044 | 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  
9048 # Do not use `cd foo && pwd` to compute absolute paths, because
9049 # the directories may not exist.
9050 case `pwd` in
9051 .) ac_abs_builddir="$ac_dest_dir";;
9052 *)
9053  case "$ac_dest_dir" in
9054  .) ac_abs_builddir=`pwd`;;
9055  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
9056  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
9057  esac;;
9058 esac
9059 case $ac_abs_builddir in
9060 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9061 *)
9062  case ${ac_top_builddir}. in
9063  .) ac_abs_top_builddir=$ac_abs_builddir;;
9064  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9065  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9066  esac;;
9067 esac
9068 case $ac_abs_builddir in
9069 .) ac_abs_srcdir=$ac_srcdir;;
9070 *)
9071  case $ac_srcdir in
9072  .) ac_abs_srcdir=$ac_abs_builddir;;
9073  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9074  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9075  esac;;
9076 esac
9077 case $ac_abs_builddir in
9078 .) ac_abs_top_srcdir=$ac_top_srcdir;;
9079 *)
9080  case $ac_top_srcdir in
9081  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9082  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9083  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9084  esac;;
9085 esac
9225  
9087
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