| 1 | 
  | 
#! /bin/sh | 
| 2 | 
  | 
# Guess values for system-dependent variables and create Makefiles. | 
| 3 | 
< | 
# Generated by GNU Autoconf 2.59 for OOPSE 1.0. | 
| 3 | 
> | 
# Generated by GNU Autoconf 2.59 for OOPSE 2.0. | 
| 4 | 
  | 
# | 
| 5 | 
  | 
# Report bugs to <gezelter@nd.edu>. | 
| 6 | 
  | 
# | 
| 269 | 
  | 
# Identity of this package. | 
| 270 | 
  | 
PACKAGE_NAME='OOPSE' | 
| 271 | 
  | 
PACKAGE_TARNAME='oopse' | 
| 272 | 
< | 
PACKAGE_VERSION='1.0' | 
| 273 | 
< | 
PACKAGE_STRING='OOPSE 1.0' | 
| 272 | 
> | 
PACKAGE_VERSION='2.0' | 
| 273 | 
> | 
PACKAGE_STRING='OOPSE 2.0' | 
| 274 | 
  | 
PACKAGE_BUGREPORT='gezelter@nd.edu' | 
| 275 | 
  | 
 | 
| 276 | 
< | 
ac_unique_file="src/oopse.cpp" | 
| 276 | 
> | 
ac_unique_file="src/applications/oopse/oopse.cpp" | 
| 277 | 
  | 
ac_default_prefix="/usr/local" | 
| 278 | 
  | 
# Factoring default headers for most tests. | 
| 279 | 
  | 
ac_includes_default="\ | 
| 312 | 
  | 
# include <unistd.h> | 
| 313 | 
  | 
#endif" | 
| 314 | 
  | 
 | 
| 315 | 
< | 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' | 
| 315 | 
> | 
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' | 
| 316 | 
  | 
ac_subst_files='' | 
| 317 | 
  | 
 | 
| 318 | 
  | 
# Initialize some variables set by options. | 
| 797 | 
  | 
  # Omit some internal or obsolete options to make the list less imposing. | 
| 798 | 
  | 
  # This message is too long to be a string in the A/UX 3.1 sh. | 
| 799 | 
  | 
  cat <<_ACEOF | 
| 800 | 
< | 
\`configure' configures OOPSE 1.0 to adapt to many kinds of systems. | 
| 800 | 
> | 
\`configure' configures OOPSE 2.0 to adapt to many kinds of systems. | 
| 801 | 
  | 
 | 
| 802 | 
  | 
Usage: $0 [OPTION]... [VAR=VALUE]... | 
| 803 | 
  | 
 | 
| 858 | 
  | 
 | 
| 859 | 
  | 
if test -n "$ac_init_help"; then | 
| 860 | 
  | 
  case $ac_init_help in | 
| 861 | 
< | 
     short | recursive ) echo "Configuration of OOPSE 1.0:";; | 
| 861 | 
> | 
     short | recursive ) echo "Configuration of OOPSE 2.0:";; | 
| 862 | 
  | 
   esac | 
| 863 | 
  | 
  cat <<\_ACEOF | 
| 864 | 
  | 
 | 
| 866 | 
  | 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
| 867 | 
  | 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| 868 | 
  | 
  --enable-debug          Compile OOPSE in debug mode | 
| 869 | 
+ | 
  --enable-doxygen        enable documentation generation with doxygen (auto) | 
| 870 | 
+ | 
  --enable-dot            use 'dot' to generate graphs in doxygen (auto) | 
| 871 | 
+ | 
  --enable-html-docs      enable HTML generation with doxygen (yes) | 
| 872 | 
+ | 
  --enable-latex-docs     enable LaTeX documentation generation with doxygen (no) | 
| 873 | 
  | 
  --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse | 
| 874 | 
  | 
 | 
| 875 | 
  | 
Optional Packages: | 
| 992 | 
  | 
test -n "$ac_init_help" && exit 0 | 
| 993 | 
  | 
if $ac_init_version; then | 
| 994 | 
  | 
  cat <<\_ACEOF | 
| 995 | 
< | 
OOPSE configure 1.0 | 
| 995 | 
> | 
OOPSE configure 2.0 | 
| 996 | 
  | 
generated by GNU Autoconf 2.59 | 
| 997 | 
  | 
 | 
| 998 | 
  | 
Copyright (C) 2003 Free Software Foundation, Inc. | 
| 1006 | 
  | 
This file contains any messages produced by compilers while | 
| 1007 | 
  | 
running configure, to aid debugging if configure makes a mistake. | 
| 1008 | 
  | 
 | 
| 1009 | 
< | 
It was created by OOPSE $as_me 1.0, which was | 
| 1009 | 
> | 
It was created by OOPSE $as_me 2.0, which was | 
| 1010 | 
  | 
generated by GNU Autoconf 2.59.  Invocation command line was | 
| 1011 | 
  | 
 | 
| 1012 | 
  | 
  $ $0 $@ | 
| 1817 | 
  | 
# $SHELLVAR to the Fortran 95 mangled name.  If the SHELLVAR | 
| 1818 | 
  | 
# argument is not supplied, it defaults to NAME. | 
| 1819 | 
  | 
# AC_F95_FUNC | 
| 1820 | 
+ | 
 | 
| 1821 | 
+ | 
# AC_F90_MODULE_NAMES | 
| 1822 | 
+ | 
# ------------------- | 
| 1823 | 
+ | 
# | 
| 1824 | 
+ | 
# Figure out how the Fortran 90 compiler constructs module file names | 
| 1825 | 
+ | 
# | 
| 1826 | 
+ | 
 # AC_F90_MODULE_NAMES | 
| 1827 | 
+ | 
 | 
| 1828 | 
  | 
 | 
| 1829 | 
  | 
 | 
| 1830 | 
  | 
 | 
| 1880 | 
  | 
 | 
| 1881 | 
  | 
 | 
| 1882 | 
  | 
 | 
| 1883 | 
+ | 
 | 
| 1884 | 
+ | 
 | 
| 1885 | 
+ | 
 | 
| 1886 | 
  | 
# set program name | 
| 1887 | 
  | 
PROGNAME="oopse" | 
| 1888 | 
  | 
 | 
| 1962 | 
  | 
 | 
| 1963 | 
  | 
 | 
| 1964 | 
  | 
 | 
| 1965 | 
+ | 
 | 
| 1966 | 
+ | 
 | 
| 1967 | 
  | 
ac_ext=c | 
| 1968 | 
  | 
ac_cpp='$CPP $CPPFLAGS' | 
| 1969 | 
  | 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3542 | 
  | 
ac_save_F90FLAGS=$F90FLAGS | 
| 3543 | 
  | 
F90FLAGS="$F90FLAGS $ac_verb" | 
| 3544 | 
  | 
 | 
| 3545 | 
< | 
(eval echo $as_me:3528: \"$ac_link\") >&5 | 
| 3545 | 
> | 
(eval echo $as_me:3545: \"$ac_link\") >&5 | 
| 3546 | 
  | 
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3547 | 
  | 
echo "$ac_f90_v_output" >&5 | 
| 3548 | 
  | 
F90FLAGS=$ac_save_F90FLAGS | 
| 3619 | 
  | 
ac_save_F90FLAGS=$F90FLAGS | 
| 3620 | 
  | 
F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" | 
| 3621 | 
  | 
 | 
| 3622 | 
< | 
(eval echo $as_me:3605: \"$ac_link\") >&5 | 
| 3622 | 
> | 
(eval echo $as_me:3622: \"$ac_link\") >&5 | 
| 3623 | 
  | 
ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3624 | 
  | 
echo "$ac_f90_v_output" >&5 | 
| 3625 | 
  | 
F90FLAGS=$ac_save_F90FLAGS | 
| 4215 | 
  | 
   rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* | 
| 4216 | 
  | 
   if test $madedir = 1 ; then rmdir conf ; fi | 
| 4217 | 
  | 
fi | 
| 4218 | 
+ | 
 | 
| 4219 | 
+ | 
 | 
| 4220 | 
+ | 
echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 | 
| 4221 | 
+ | 
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 | 
| 4222 | 
+ | 
if test "${ac_cv_f90_module_names+set}" = set; then | 
| 4223 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4224 | 
+ | 
else | 
| 4225 | 
+ | 
  ac_ext=f90 | 
| 4226 | 
+ | 
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4227 | 
+ | 
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4228 | 
+ | 
ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4229 | 
+ | 
 | 
| 4230 | 
+ | 
# carry out the test in a new directory, so that we don't miss anything | 
| 4231 | 
+ | 
mkdir conftest | 
| 4232 | 
+ | 
cd conftest | 
| 4233 | 
+ | 
cat >conftest.$ac_ext <<_ACEOF | 
| 4234 | 
+ | 
MODULE Bar | 
| 4235 | 
+ | 
END MODULE Bar | 
| 4236 | 
+ | 
_ACEOF | 
| 4237 | 
+ | 
rm -f conftest.$ac_objext | 
| 4238 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4239 | 
+ | 
  (eval $ac_compile) 2>conftest.er1 | 
| 4240 | 
+ | 
  ac_status=$? | 
| 4241 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 4242 | 
+ | 
  rm -f conftest.er1 | 
| 4243 | 
+ | 
  cat conftest.err >&5 | 
| 4244 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4245 | 
+ | 
  (exit $ac_status); } && | 
| 4246 | 
+ | 
         { ac_try='test -z "$ac_f90_werror_flag" | 
| 4247 | 
+ | 
                         || test ! -s conftest.err' | 
| 4248 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4249 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 4250 | 
+ | 
  ac_status=$? | 
| 4251 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4252 | 
+ | 
  (exit $ac_status); }; } && | 
| 4253 | 
+ | 
         { ac_try='test -s conftest.$ac_objext' | 
| 4254 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4255 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 4256 | 
+ | 
  ac_status=$? | 
| 4257 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4258 | 
+ | 
  (exit $ac_status); }; }; then | 
| 4259 | 
+ | 
  ac_cv_f90_module_names= | 
| 4260 | 
+ | 
ac_file_list=* | 
| 4261 | 
+ | 
for ac_file in $ac_file_list; do | 
| 4262 | 
+ | 
   case $ac_file in | 
| 4263 | 
+ | 
      # don't care for original source and object files | 
| 4264 | 
+ | 
      conftest.$ac_ext | conftest.$ac_objext | conftest.err ) | 
| 4265 | 
+ | 
          : | 
| 4266 | 
+ | 
          ;; | 
| 4267 | 
+ | 
      # look for new files derived from the file name | 
| 4268 | 
+ | 
      *conftest*) | 
| 4269 | 
+ | 
          ac_pat=`echo $ac_file | sed s/conftest/%FILE%/` | 
| 4270 | 
+ | 
            ac_exists=false | 
| 4271 | 
+ | 
  for ac_i in $ac_cv_f90_module_names; do | 
| 4272 | 
+ | 
    if test x"$ac_pat" = x"$ac_i"; then | 
| 4273 | 
+ | 
      ac_exists=true | 
| 4274 | 
+ | 
      break | 
| 4275 | 
+ | 
    fi | 
| 4276 | 
+ | 
  done | 
| 4277 | 
+ | 
 | 
| 4278 | 
+ | 
  if test x"$ac_exists" = xtrue; then | 
| 4279 | 
+ | 
  : | 
| 4280 | 
+ | 
else | 
| 4281 | 
+ | 
  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4282 | 
+ | 
fi | 
| 4283 | 
+ | 
 | 
| 4284 | 
+ | 
          ;; | 
| 4285 | 
+ | 
      # look for new files derived from the module name, | 
| 4286 | 
+ | 
      # with different case translation schemes | 
| 4287 | 
+ | 
      *Bar*) | 
| 4288 | 
+ | 
          ac_pat=`echo $ac_file | sed s/Bar/%Module%/` | 
| 4289 | 
+ | 
            ac_exists=false | 
| 4290 | 
+ | 
  for ac_i in $ac_cv_f90_module_names; do | 
| 4291 | 
+ | 
    if test x"$ac_pat" = x"$ac_i"; then | 
| 4292 | 
+ | 
      ac_exists=true | 
| 4293 | 
+ | 
      break | 
| 4294 | 
+ | 
    fi | 
| 4295 | 
+ | 
  done | 
| 4296 | 
+ | 
 | 
| 4297 | 
+ | 
  if test x"$ac_exists" = xtrue; then | 
| 4298 | 
+ | 
  : | 
| 4299 | 
+ | 
else | 
| 4300 | 
+ | 
  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4301 | 
+ | 
fi | 
| 4302 | 
+ | 
 | 
| 4303 | 
+ | 
          ;; | 
| 4304 | 
+ | 
      *bar*) | 
| 4305 | 
+ | 
          ac_pat=`echo $ac_file | sed s/bar/%module%/` | 
| 4306 | 
+ | 
            ac_exists=false | 
| 4307 | 
+ | 
  for ac_i in $ac_cv_f90_module_names; do | 
| 4308 | 
+ | 
    if test x"$ac_pat" = x"$ac_i"; then | 
| 4309 | 
+ | 
      ac_exists=true | 
| 4310 | 
+ | 
      break | 
| 4311 | 
+ | 
    fi | 
| 4312 | 
+ | 
  done | 
| 4313 | 
+ | 
 | 
| 4314 | 
+ | 
  if test x"$ac_exists" = xtrue; then | 
| 4315 | 
+ | 
  : | 
| 4316 | 
+ | 
else | 
| 4317 | 
+ | 
  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4318 | 
+ | 
fi | 
| 4319 | 
+ | 
 | 
| 4320 | 
+ | 
          ;; | 
| 4321 | 
+ | 
      *BAR*) | 
| 4322 | 
+ | 
          ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/` | 
| 4323 | 
+ | 
            ac_exists=false | 
| 4324 | 
+ | 
  for ac_i in $ac_cv_f90_module_names; do | 
| 4325 | 
+ | 
    if test x"$ac_pat" = x"$ac_i"; then | 
| 4326 | 
+ | 
      ac_exists=true | 
| 4327 | 
+ | 
      break | 
| 4328 | 
+ | 
    fi | 
| 4329 | 
+ | 
  done | 
| 4330 | 
+ | 
 | 
| 4331 | 
+ | 
  if test x"$ac_exists" = xtrue; then | 
| 4332 | 
+ | 
  : | 
| 4333 | 
+ | 
else | 
| 4334 | 
+ | 
  ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4335 | 
+ | 
fi | 
| 4336 | 
+ | 
 | 
| 4337 | 
+ | 
          ;; | 
| 4338 | 
+ | 
       # Other files - we have no idea how they are generated | 
| 4339 | 
+ | 
       *) | 
| 4340 | 
+ | 
          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 | 
| 4341 | 
+ | 
echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} | 
| 4342 | 
+ | 
          ;; | 
| 4343 | 
+ | 
   esac | 
| 4344 | 
+ | 
done | 
| 4345 | 
+ | 
if test "x$ac_cv_f90_module_names" = "x"; then | 
| 4346 | 
+ | 
  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 | 
| 4347 | 
+ | 
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4348 | 
+ | 
fi | 
| 4349 | 
+ | 
 | 
| 4350 | 
+ | 
else | 
| 4351 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 4352 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4353 | 
+ | 
 | 
| 4354 | 
+ | 
ac_cv_f90_module_names= | 
| 4355 | 
+ | 
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 | 
| 4356 | 
+ | 
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4357 | 
+ | 
fi | 
| 4358 | 
+ | 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4359 | 
+ | 
cd .. | 
| 4360 | 
+ | 
# cleanup | 
| 4361 | 
+ | 
rm -rf conftest | 
| 4362 | 
+ | 
ac_ext=f90 | 
| 4363 | 
+ | 
ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4364 | 
+ | 
ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4365 | 
+ | 
ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4366 | 
+ | 
 | 
| 4367 | 
+ | 
fi | 
| 4368 | 
+ | 
echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 | 
| 4369 | 
+ | 
echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK | 
| 4370 | 
+ | 
 | 
| 4371 | 
+ | 
# We now generate a shell script that will help us to figure out the correct | 
| 4372 | 
+ | 
# module file names, using the value of ac_cv_f90_module_names | 
| 4373 | 
+ | 
 | 
| 4374 | 
+ | 
echo "Generating shell script modnam" | 
| 4375 | 
+ | 
 | 
| 4376 | 
+ | 
cat > scripts/modnam << EOF | 
| 4377 | 
+ | 
#! /bin/sh | 
| 4378 | 
+ | 
# This script is auto-generated by configure | 
| 4379 | 
+ | 
# | 
| 4380 | 
+ | 
usage="\\ | 
| 4381 | 
+ | 
Usage: \$0 [FILES] | 
| 4382 | 
+ | 
 | 
| 4383 | 
+ | 
[FILES] are Fortran 90 source files. | 
| 4384 | 
+ | 
The output is a list of module file names that the Fortran 90 compiler | 
| 4385 | 
+ | 
generates when compiling [FILES]." | 
| 4386 | 
+ | 
 | 
| 4387 | 
+ | 
list= | 
| 4388 | 
+ | 
empty= | 
| 4389 | 
+ | 
 | 
| 4390 | 
+ | 
if test \$# -eq 0; then | 
| 4391 | 
+ | 
   echo "\$usage"; exit 0 | 
| 4392 | 
+ | 
fi | 
| 4393 | 
+ | 
 | 
| 4394 | 
+ | 
while test \$# != 0; do | 
| 4395 | 
+ | 
 | 
| 4396 | 
+ | 
  file=\$1 | 
| 4397 | 
+ | 
  shift | 
| 4398 | 
+ | 
 | 
| 4399 | 
+ | 
# strip suffix | 
| 4400 | 
+ | 
  base=\`echo \$file | sed 's/[.][^.]*$//'\` | 
| 4401 | 
+ | 
 | 
| 4402 | 
+ | 
  test ! -f \$file && continue | 
| 4403 | 
+ | 
 | 
| 4404 | 
+ | 
# Look for module definitions and transform them to upper / lower case | 
| 4405 | 
+ | 
  mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\` | 
| 4406 | 
+ | 
  upper=\`echo \$mods | tr a-z A-Z\` | 
| 4407 | 
+ | 
  lower=\`echo \$mods | tr A-Z a-z\` | 
| 4408 | 
+ | 
 | 
| 4409 | 
+ | 
# Here, the patterns for generating module file names were inserted by configure | 
| 4410 | 
+ | 
  for trans in $ac_cv_f90_module_names; do | 
| 4411 | 
+ | 
 | 
| 4412 | 
+ | 
    pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\` | 
| 4413 | 
+ | 
    var=empty | 
| 4414 | 
+ | 
    case \$pat in | 
| 4415 | 
+ | 
       %MODULE%) | 
| 4416 | 
+ | 
          var=upper ;; | 
| 4417 | 
+ | 
       %Module%) | 
| 4418 | 
+ | 
          var=mods ;; | 
| 4419 | 
+ | 
       %module%) | 
| 4420 | 
+ | 
          var=lower ;; | 
| 4421 | 
+ | 
       %FILE%) | 
| 4422 | 
+ | 
          test -n "\$mods" && var=base ;; | 
| 4423 | 
+ | 
    esac | 
| 4424 | 
+ | 
    new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\` | 
| 4425 | 
+ | 
    list="\$list \$new" | 
| 4426 | 
+ | 
  done | 
| 4427 | 
+ | 
done | 
| 4428 | 
  | 
 | 
| 4429 | 
+ | 
echo \$list | 
| 4430 | 
+ | 
# end of configure-generated script | 
| 4431 | 
+ | 
EOF | 
| 4432 | 
+ | 
chmod 755 scripts/modnam | 
| 4433 | 
+ | 
 | 
| 4434 | 
+ | 
pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'` | 
| 4435 | 
+ | 
F90_MODULE_NAMES=empty | 
| 4436 | 
+ | 
case $pat in | 
| 4437 | 
+ | 
       %MODULE%) | 
| 4438 | 
+ | 
          F90_MODULE_NAMES=UPPER ;; | 
| 4439 | 
+ | 
       %Module%) | 
| 4440 | 
+ | 
          F90_MODULE_NAMES=Mixed ;; | 
| 4441 | 
+ | 
       %module%) | 
| 4442 | 
+ | 
          F90_MODULE_NAMES=lower ;; | 
| 4443 | 
+ | 
       *) | 
| 4444 | 
+ | 
          F90_MODULE_NAMES=unknown ;; | 
| 4445 | 
+ | 
esac | 
| 4446 | 
  | 
 | 
| 4447 | 
  | 
ac_ext=c | 
| 4448 | 
  | 
ac_cpp='$CPP $CPPFLAGS' | 
| 4932 | 
  | 
eval "$as_ac_Header=no" | 
| 4933 | 
  | 
fi | 
| 4934 | 
  | 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4935 | 
+ | 
fi | 
| 4936 | 
+ | 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 4937 | 
+ | 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 4938 | 
+ | 
if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 4939 | 
+ | 
  cat >>confdefs.h <<_ACEOF | 
| 4940 | 
+ | 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 4941 | 
+ | 
_ACEOF | 
| 4942 | 
+ | 
 | 
| 4943 | 
+ | 
fi | 
| 4944 | 
+ | 
 | 
| 4945 | 
+ | 
done | 
| 4946 | 
+ | 
 | 
| 4947 | 
+ | 
 | 
| 4948 | 
+ | 
 | 
| 4949 | 
+ | 
 | 
| 4950 | 
+ | 
 | 
| 4951 | 
+ | 
 | 
| 4952 | 
+ | 
 | 
| 4953 | 
+ | 
 | 
| 4954 | 
+ | 
 | 
| 4955 | 
+ | 
 | 
| 4956 | 
+ | 
 | 
| 4957 | 
+ | 
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 | 
| 4958 | 
+ | 
do | 
| 4959 | 
+ | 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 4960 | 
+ | 
if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 4961 | 
+ | 
  echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 4962 | 
+ | 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 4963 | 
+ | 
if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 4964 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4965 | 
+ | 
fi | 
| 4966 | 
+ | 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 4967 | 
+ | 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 4968 | 
+ | 
else | 
| 4969 | 
+ | 
  # Is the header compilable? | 
| 4970 | 
+ | 
echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 4971 | 
+ | 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 4972 | 
+ | 
cat >conftest.$ac_ext <<_ACEOF | 
| 4973 | 
+ | 
/* confdefs.h.  */ | 
| 4974 | 
+ | 
_ACEOF | 
| 4975 | 
+ | 
cat confdefs.h >>conftest.$ac_ext | 
| 4976 | 
+ | 
cat >>conftest.$ac_ext <<_ACEOF | 
| 4977 | 
+ | 
/* end confdefs.h.  */ | 
| 4978 | 
+ | 
$ac_includes_default | 
| 4979 | 
+ | 
#include <$ac_header> | 
| 4980 | 
+ | 
_ACEOF | 
| 4981 | 
+ | 
rm -f conftest.$ac_objext | 
| 4982 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4983 | 
+ | 
  (eval $ac_compile) 2>conftest.er1 | 
| 4984 | 
+ | 
  ac_status=$? | 
| 4985 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 4986 | 
+ | 
  rm -f conftest.er1 | 
| 4987 | 
+ | 
  cat conftest.err >&5 | 
| 4988 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4989 | 
+ | 
  (exit $ac_status); } && | 
| 4990 | 
+ | 
         { ac_try='test -z "$ac_c_werror_flag" | 
| 4991 | 
+ | 
                         || test ! -s conftest.err' | 
| 4992 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4993 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 4994 | 
+ | 
  ac_status=$? | 
| 4995 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4996 | 
+ | 
  (exit $ac_status); }; } && | 
| 4997 | 
+ | 
         { ac_try='test -s conftest.$ac_objext' | 
| 4998 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4999 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 5000 | 
+ | 
  ac_status=$? | 
| 5001 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5002 | 
+ | 
  (exit $ac_status); }; }; then | 
| 5003 | 
+ | 
  ac_header_compiler=yes | 
| 5004 | 
+ | 
else | 
| 5005 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 5006 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5007 | 
+ | 
 | 
| 5008 | 
+ | 
ac_header_compiler=no | 
| 5009 | 
+ | 
fi | 
| 5010 | 
+ | 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5011 | 
+ | 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 5012 | 
+ | 
echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 5013 | 
+ | 
 | 
| 5014 | 
+ | 
# Is the header present? | 
| 5015 | 
+ | 
echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 5016 | 
+ | 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 5017 | 
+ | 
cat >conftest.$ac_ext <<_ACEOF | 
| 5018 | 
+ | 
/* confdefs.h.  */ | 
| 5019 | 
+ | 
_ACEOF | 
| 5020 | 
+ | 
cat confdefs.h >>conftest.$ac_ext | 
| 5021 | 
+ | 
cat >>conftest.$ac_ext <<_ACEOF | 
| 5022 | 
+ | 
/* end confdefs.h.  */ | 
| 5023 | 
+ | 
#include <$ac_header> | 
| 5024 | 
+ | 
_ACEOF | 
| 5025 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 5026 | 
+ | 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5027 | 
+ | 
  ac_status=$? | 
| 5028 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 5029 | 
+ | 
  rm -f conftest.er1 | 
| 5030 | 
+ | 
  cat conftest.err >&5 | 
| 5031 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5032 | 
+ | 
  (exit $ac_status); } >/dev/null; then | 
| 5033 | 
+ | 
  if test -s conftest.err; then | 
| 5034 | 
+ | 
    ac_cpp_err=$ac_c_preproc_warn_flag | 
| 5035 | 
+ | 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 5036 | 
+ | 
  else | 
| 5037 | 
+ | 
    ac_cpp_err= | 
| 5038 | 
+ | 
  fi | 
| 5039 | 
+ | 
else | 
| 5040 | 
+ | 
  ac_cpp_err=yes | 
| 5041 | 
  | 
fi | 
| 5042 | 
+ | 
if test -z "$ac_cpp_err"; then | 
| 5043 | 
+ | 
  ac_header_preproc=yes | 
| 5044 | 
+ | 
else | 
| 5045 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 5046 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5047 | 
+ | 
 | 
| 5048 | 
+ | 
  ac_header_preproc=no | 
| 5049 | 
+ | 
fi | 
| 5050 | 
+ | 
rm -f conftest.err conftest.$ac_ext | 
| 5051 | 
+ | 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 5052 | 
+ | 
echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 5053 | 
+ | 
 | 
| 5054 | 
+ | 
# So?  What about this header? | 
| 5055 | 
+ | 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 5056 | 
+ | 
  yes:no: ) | 
| 5057 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 5058 | 
+ | 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 5059 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 5060 | 
+ | 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 5061 | 
+ | 
    ac_header_preproc=yes | 
| 5062 | 
+ | 
    ;; | 
| 5063 | 
+ | 
  no:yes:* ) | 
| 5064 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 5065 | 
+ | 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 5066 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 5067 | 
+ | 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 5068 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 5069 | 
+ | 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 5070 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 5071 | 
+ | 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 5072 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 5073 | 
+ | 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 5074 | 
+ | 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 5075 | 
+ | 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 5076 | 
+ | 
    ( | 
| 5077 | 
+ | 
      cat <<\_ASBOX | 
| 5078 | 
+ | 
## ------------------------------ ## | 
| 5079 | 
+ | 
## Report this to gezelter@nd.edu ## | 
| 5080 | 
+ | 
## ------------------------------ ## | 
| 5081 | 
+ | 
_ASBOX | 
| 5082 | 
+ | 
    ) | | 
| 5083 | 
+ | 
      sed "s/^/$as_me: WARNING:     /" >&2 | 
| 5084 | 
+ | 
    ;; | 
| 5085 | 
+ | 
esac | 
| 5086 | 
+ | 
echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5087 | 
+ | 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5088 | 
+ | 
if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5089 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5090 | 
+ | 
else | 
| 5091 | 
+ | 
  eval "$as_ac_Header=\$ac_header_preproc" | 
| 5092 | 
+ | 
fi | 
| 5093 | 
  | 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5094 | 
  | 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5095 | 
+ | 
 | 
| 5096 | 
+ | 
fi | 
| 5097 | 
  | 
if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 5098 | 
  | 
  cat >>confdefs.h <<_ACEOF | 
| 5099 | 
  | 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 5100 | 
+ | 
_ACEOF | 
| 5101 | 
+ | 
 | 
| 5102 | 
+ | 
fi | 
| 5103 | 
+ | 
 | 
| 5104 | 
+ | 
done | 
| 5105 | 
+ | 
 | 
| 5106 | 
+ | 
 | 
| 5107 | 
+ | 
 | 
| 5108 | 
+ | 
 | 
| 5109 | 
+ | 
 | 
| 5110 | 
+ | 
 | 
| 5111 | 
+ | 
for ac_func in pstat_getstatic sysmp getsysinfo sysctl table | 
| 5112 | 
+ | 
do | 
| 5113 | 
+ | 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 5114 | 
+ | 
echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 5115 | 
+ | 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 5116 | 
+ | 
if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 5117 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5118 | 
+ | 
else | 
| 5119 | 
+ | 
  cat >conftest.$ac_ext <<_ACEOF | 
| 5120 | 
+ | 
/* confdefs.h.  */ | 
| 5121 | 
+ | 
_ACEOF | 
| 5122 | 
+ | 
cat confdefs.h >>conftest.$ac_ext | 
| 5123 | 
+ | 
cat >>conftest.$ac_ext <<_ACEOF | 
| 5124 | 
+ | 
/* end confdefs.h.  */ | 
| 5125 | 
+ | 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 5126 | 
+ | 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 5127 | 
+ | 
#define $ac_func innocuous_$ac_func | 
| 5128 | 
+ | 
 | 
| 5129 | 
+ | 
/* System header to define __stub macros and hopefully few prototypes, | 
| 5130 | 
+ | 
    which can conflict with char $ac_func (); below. | 
| 5131 | 
+ | 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 5132 | 
+ | 
    <limits.h> exists even on freestanding compilers.  */ | 
| 5133 | 
+ | 
 | 
| 5134 | 
+ | 
#ifdef __STDC__ | 
| 5135 | 
+ | 
# include <limits.h> | 
| 5136 | 
+ | 
#else | 
| 5137 | 
+ | 
# include <assert.h> | 
| 5138 | 
+ | 
#endif | 
| 5139 | 
+ | 
 | 
| 5140 | 
+ | 
#undef $ac_func | 
| 5141 | 
+ | 
 | 
| 5142 | 
+ | 
/* Override any gcc2 internal prototype to avoid an error.  */ | 
| 5143 | 
+ | 
#ifdef __cplusplus | 
| 5144 | 
+ | 
extern "C" | 
| 5145 | 
+ | 
{ | 
| 5146 | 
+ | 
#endif | 
| 5147 | 
+ | 
/* We use char because int might match the return type of a gcc2 | 
| 5148 | 
+ | 
   builtin and then its argument prototype would still apply.  */ | 
| 5149 | 
+ | 
char $ac_func (); | 
| 5150 | 
+ | 
/* The GNU C library defines this for functions which it implements | 
| 5151 | 
+ | 
    to always fail with ENOSYS.  Some functions are actually named | 
| 5152 | 
+ | 
    something starting with __ and the normal name is an alias.  */ | 
| 5153 | 
+ | 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 5154 | 
+ | 
choke me | 
| 5155 | 
+ | 
#else | 
| 5156 | 
+ | 
char (*f) () = $ac_func; | 
| 5157 | 
+ | 
#endif | 
| 5158 | 
+ | 
#ifdef __cplusplus | 
| 5159 | 
+ | 
} | 
| 5160 | 
+ | 
#endif | 
| 5161 | 
+ | 
 | 
| 5162 | 
+ | 
int | 
| 5163 | 
+ | 
main () | 
| 5164 | 
+ | 
{ | 
| 5165 | 
+ | 
return f != $ac_func; | 
| 5166 | 
+ | 
  ; | 
| 5167 | 
+ | 
  return 0; | 
| 5168 | 
+ | 
} | 
| 5169 | 
  | 
_ACEOF | 
| 5170 | 
+ | 
rm -f conftest.$ac_objext conftest$ac_exeext | 
| 5171 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 5172 | 
+ | 
  (eval $ac_link) 2>conftest.er1 | 
| 5173 | 
+ | 
  ac_status=$? | 
| 5174 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 5175 | 
+ | 
  rm -f conftest.er1 | 
| 5176 | 
+ | 
  cat conftest.err >&5 | 
| 5177 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5178 | 
+ | 
  (exit $ac_status); } && | 
| 5179 | 
+ | 
         { ac_try='test -z "$ac_c_werror_flag" | 
| 5180 | 
+ | 
                         || test ! -s conftest.err' | 
| 5181 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5182 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 5183 | 
+ | 
  ac_status=$? | 
| 5184 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5185 | 
+ | 
  (exit $ac_status); }; } && | 
| 5186 | 
+ | 
         { ac_try='test -s conftest$ac_exeext' | 
| 5187 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5188 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 5189 | 
+ | 
  ac_status=$? | 
| 5190 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5191 | 
+ | 
  (exit $ac_status); }; }; then | 
| 5192 | 
+ | 
  eval "$as_ac_var=yes" | 
| 5193 | 
+ | 
else | 
| 5194 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 5195 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5196 | 
  | 
 | 
| 5197 | 
+ | 
eval "$as_ac_var=no" | 
| 5198 | 
  | 
fi | 
| 5199 | 
+ | 
rm -f conftest.err conftest.$ac_objext \ | 
| 5200 | 
+ | 
      conftest$ac_exeext conftest.$ac_ext | 
| 5201 | 
+ | 
fi | 
| 5202 | 
+ | 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 5203 | 
+ | 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 5204 | 
+ | 
if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 5205 | 
+ | 
  cat >>confdefs.h <<_ACEOF | 
| 5206 | 
+ | 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 5207 | 
+ | 
_ACEOF | 
| 5208 | 
  | 
 | 
| 5209 | 
+ | 
fi | 
| 5210 | 
  | 
done | 
| 5211 | 
  | 
 | 
| 5212 | 
+ | 
# special check for _system_configuration because AIX <4.3.2 do not | 
| 5213 | 
+ | 
# contain the `physmem' member. | 
| 5214 | 
+ | 
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 | 
| 5215 | 
+ | 
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 | 
| 5216 | 
+ | 
cat >conftest.$ac_ext <<_ACEOF | 
| 5217 | 
+ | 
/* confdefs.h.  */ | 
| 5218 | 
+ | 
_ACEOF | 
| 5219 | 
+ | 
cat confdefs.h >>conftest.$ac_ext | 
| 5220 | 
+ | 
cat >>conftest.$ac_ext <<_ACEOF | 
| 5221 | 
+ | 
/* end confdefs.h.  */ | 
| 5222 | 
+ | 
#include <sys/systemcfg.h> | 
| 5223 | 
+ | 
int | 
| 5224 | 
+ | 
main () | 
| 5225 | 
+ | 
{ | 
| 5226 | 
+ | 
double x = _system_configuration.physmem; | 
| 5227 | 
+ | 
  ; | 
| 5228 | 
+ | 
  return 0; | 
| 5229 | 
+ | 
} | 
| 5230 | 
+ | 
_ACEOF | 
| 5231 | 
+ | 
rm -f conftest.$ac_objext | 
| 5232 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5233 | 
+ | 
  (eval $ac_compile) 2>conftest.er1 | 
| 5234 | 
+ | 
  ac_status=$? | 
| 5235 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 5236 | 
+ | 
  rm -f conftest.er1 | 
| 5237 | 
+ | 
  cat conftest.err >&5 | 
| 5238 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5239 | 
+ | 
  (exit $ac_status); } && | 
| 5240 | 
+ | 
         { ac_try='test -z "$ac_c_werror_flag" | 
| 5241 | 
+ | 
                         || test ! -s conftest.err' | 
| 5242 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5243 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 5244 | 
+ | 
  ac_status=$? | 
| 5245 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5246 | 
+ | 
  (exit $ac_status); }; } && | 
| 5247 | 
+ | 
         { ac_try='test -s conftest.$ac_objext' | 
| 5248 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5249 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 5250 | 
+ | 
  ac_status=$? | 
| 5251 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5252 | 
+ | 
  (exit $ac_status); }; }; then | 
| 5253 | 
+ | 
  echo "$as_me:$LINENO: result: yes" >&5 | 
| 5254 | 
+ | 
echo "${ECHO_T}yes" >&6 | 
| 5255 | 
  | 
 | 
| 5256 | 
+ | 
cat >>confdefs.h <<\_ACEOF | 
| 5257 | 
+ | 
#define HAVE__SYSTEM_CONFIGURATION 1 | 
| 5258 | 
+ | 
_ACEOF | 
| 5259 | 
+ | 
 | 
| 5260 | 
+ | 
else | 
| 5261 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 5262 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5263 | 
+ | 
 | 
| 5264 | 
+ | 
echo "$as_me:$LINENO: result: no" >&5 | 
| 5265 | 
+ | 
echo "${ECHO_T}no" >&6 | 
| 5266 | 
+ | 
fi | 
| 5267 | 
+ | 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5268 | 
+ | 
 | 
| 5269 | 
  | 
  # clean out junk possibly left behind by a previous configuration | 
| 5270 | 
< | 
  rm -f utils/getopt.h | 
| 5270 | 
> | 
  rm -f src/getopt.h | 
| 5271 | 
  | 
  # Check for getopt_long support | 
| 5272 | 
  | 
 | 
| 5273 | 
  | 
for ac_header in getopt.h | 
| 5607 | 
  | 
  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; | 
| 5608 | 
  | 
esac | 
| 5609 | 
  | 
 | 
| 5610 | 
< | 
                ac_config_links="$ac_config_links utils/getopt.h:utils/gnugetopt.h" | 
| 5610 | 
> | 
                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" | 
| 5611 | 
  | 
 | 
| 5612 | 
  | 
fi | 
| 5613 | 
  | 
 | 
| 5701 | 
  | 
        fi;; | 
| 5702 | 
  | 
   *darwin*) | 
| 5703 | 
  | 
        if test "$CC" = xlc -o "$CC" = cc; then | 
| 5704 | 
< | 
                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 5704 | 
> | 
                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 5705 | 
  | 
        fi;; | 
| 5706 | 
  | 
  esac | 
| 5707 | 
  | 
 | 
| 6152 | 
  | 
                echo "*******************************************************" | 
| 6153 | 
  | 
        fi;; | 
| 6154 | 
  | 
   *darwin*) | 
| 6155 | 
< | 
        if test "$CXX" = xlc++; then | 
| 6156 | 
< | 
                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 6155 | 
> | 
        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then | 
| 6156 | 
> | 
                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 6157 | 
  | 
        fi;; | 
| 6158 | 
  | 
  esac | 
| 6159 | 
  | 
 | 
| 6565 | 
  | 
        fi;; | 
| 6566 | 
  | 
   *darwin*) | 
| 6567 | 
  | 
        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then | 
| 6568 | 
< | 
                F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto" | 
| 6568 | 
> | 
                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 6569 | 
  | 
        fi;; | 
| 6570 | 
  | 
  esac | 
| 6571 | 
  | 
 | 
| 7253 | 
  | 
fi | 
| 7254 | 
  | 
rm -f confcache | 
| 7255 | 
  | 
  exit 1 | 
| 7256 | 
+ | 
fi | 
| 7257 | 
+ | 
 | 
| 7258 | 
+ | 
# Extract the first word of "ps", so it can be a program name with args. | 
| 7259 | 
+ | 
set dummy ps; ac_word=$2 | 
| 7260 | 
+ | 
echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 7261 | 
+ | 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 7262 | 
+ | 
if test "${ac_cv_path_PS+set}" = set; then | 
| 7263 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7264 | 
+ | 
else | 
| 7265 | 
+ | 
  case $PS in | 
| 7266 | 
+ | 
  [\\/]* | ?:[\\/]*) | 
| 7267 | 
+ | 
  ac_cv_path_PS="$PS" # Let the user override the test with a path. | 
| 7268 | 
+ | 
  ;; | 
| 7269 | 
+ | 
  *) | 
| 7270 | 
+ | 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 7271 | 
+ | 
for as_dir in $PATH | 
| 7272 | 
+ | 
do | 
| 7273 | 
+ | 
  IFS=$as_save_IFS | 
| 7274 | 
+ | 
  test -z "$as_dir" && as_dir=. | 
| 7275 | 
+ | 
  for ac_exec_ext in '' $ac_executable_extensions; do | 
| 7276 | 
+ | 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 7277 | 
+ | 
    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" | 
| 7278 | 
+ | 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 7279 | 
+ | 
    break 2 | 
| 7280 | 
+ | 
  fi | 
| 7281 | 
+ | 
done | 
| 7282 | 
+ | 
done | 
| 7283 | 
+ | 
 | 
| 7284 | 
+ | 
  ;; | 
| 7285 | 
+ | 
esac | 
| 7286 | 
+ | 
fi | 
| 7287 | 
+ | 
PS=$ac_cv_path_PS | 
| 7288 | 
+ | 
 | 
| 7289 | 
+ | 
if test -n "$PS"; then | 
| 7290 | 
+ | 
  echo "$as_me:$LINENO: result: $PS" >&5 | 
| 7291 | 
+ | 
echo "${ECHO_T}$PS" >&6 | 
| 7292 | 
+ | 
else | 
| 7293 | 
+ | 
  echo "$as_me:$LINENO: result: no" >&5 | 
| 7294 | 
+ | 
echo "${ECHO_T}no" >&6 | 
| 7295 | 
+ | 
fi | 
| 7296 | 
+ | 
 | 
| 7297 | 
+ | 
echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 | 
| 7298 | 
+ | 
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 | 
| 7299 | 
+ | 
if test "${ac_cv_prog_ps_syntax+set}" = set; then | 
| 7300 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7301 | 
+ | 
else | 
| 7302 | 
+ | 
 | 
| 7303 | 
+ | 
        if $PS ax -o rss > /dev/null 2>&1; then | 
| 7304 | 
+ | 
                ac_cv_prog_ps_ax=yes | 
| 7305 | 
+ | 
        else | 
| 7306 | 
+ | 
                ac_cv_prog_ps_ax=no | 
| 7307 | 
+ | 
        fi | 
| 7308 | 
+ | 
        if $PS -ef -o rss > /dev/null 2>&1; then | 
| 7309 | 
+ | 
                ac_cv_prog_ps_ef=yes | 
| 7310 | 
+ | 
        else | 
| 7311 | 
+ | 
                ac_cv_prog_ps_ef=no | 
| 7312 | 
+ | 
        fi | 
| 7313 | 
+ | 
        if test "$ac_cv_prog_ps_ax" = yes; then | 
| 7314 | 
+ | 
                ac_cv_prog_ps_syntax=BSD | 
| 7315 | 
+ | 
        else | 
| 7316 | 
+ | 
                if test "$ac_cv_prog_ps_es" = yes; then | 
| 7317 | 
+ | 
                        ac_cv_prog_ps_syntax=POSIX | 
| 7318 | 
+ | 
                else | 
| 7319 | 
+ | 
                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 | 
| 7320 | 
+ | 
echo "$as_me: error: Could not determine ps syntax" >&2;} | 
| 7321 | 
+ | 
   { (exit 1); exit 1; }; } | 
| 7322 | 
+ | 
                fi | 
| 7323 | 
+ | 
        fi | 
| 7324 | 
+ | 
 | 
| 7325 | 
  | 
fi | 
| 7326 | 
+ | 
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 | 
| 7327 | 
+ | 
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 | 
| 7328 | 
  | 
 | 
| 7329 | 
+ | 
cat >>confdefs.h <<_ACEOF | 
| 7330 | 
+ | 
#define PSCOMMAND $PS | 
| 7331 | 
+ | 
_ACEOF | 
| 7332 | 
  | 
 | 
| 7333 | 
  | 
 | 
| 7334 | 
+ | 
cat >>confdefs.h <<_ACEOF | 
| 7335 | 
+ | 
#define PSTYPE $ac_cv_prog_ps_syntax | 
| 7336 | 
+ | 
_ACEOF | 
| 7337 | 
+ | 
 | 
| 7338 | 
+ | 
 | 
| 7339 | 
+ | 
 | 
| 7340 | 
+ | 
 | 
| 7341 | 
  | 
# Check whether --with-mpi or --without-mpi was given. | 
| 7342 | 
  | 
if test "${with_mpi+set}" = set; then | 
| 7343 | 
  | 
  withval="$with_mpi" | 
| 7637 | 
  | 
fi | 
| 7638 | 
  | 
 | 
| 7639 | 
  | 
fi | 
| 7640 | 
+ | 
$as_unset ac_cv_lib_mpich_MPI_Init | 
| 7641 | 
+ | 
if test x = x"$MPI_LIB"; then | 
| 7642 | 
+ | 
        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 | 
| 7643 | 
+ | 
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 | 
| 7644 | 
+ | 
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then | 
| 7645 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7646 | 
+ | 
else | 
| 7647 | 
+ | 
  ac_check_lib_save_LIBS=$LIBS | 
| 7648 | 
+ | 
LIBS="-lmpich "-lpmpich" $LIBS" | 
| 7649 | 
+ | 
cat >conftest.$ac_ext <<_ACEOF | 
| 7650 | 
+ | 
/* confdefs.h.  */ | 
| 7651 | 
+ | 
_ACEOF | 
| 7652 | 
+ | 
cat confdefs.h >>conftest.$ac_ext | 
| 7653 | 
+ | 
cat >>conftest.$ac_ext <<_ACEOF | 
| 7654 | 
+ | 
/* end confdefs.h.  */ | 
| 7655 | 
  | 
 | 
| 7656 | 
+ | 
/* Override any gcc2 internal prototype to avoid an error.  */ | 
| 7657 | 
+ | 
#ifdef __cplusplus | 
| 7658 | 
+ | 
extern "C" | 
| 7659 | 
+ | 
#endif | 
| 7660 | 
+ | 
/* We use char because int might match the return type of a gcc2 | 
| 7661 | 
+ | 
   builtin and then its argument prototype would still apply.  */ | 
| 7662 | 
+ | 
char MPI_Init (); | 
| 7663 | 
+ | 
int | 
| 7664 | 
+ | 
main () | 
| 7665 | 
+ | 
{ | 
| 7666 | 
+ | 
MPI_Init (); | 
| 7667 | 
+ | 
  ; | 
| 7668 | 
+ | 
  return 0; | 
| 7669 | 
+ | 
} | 
| 7670 | 
+ | 
_ACEOF | 
| 7671 | 
+ | 
rm -f conftest.$ac_objext conftest$ac_exeext | 
| 7672 | 
+ | 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 7673 | 
+ | 
  (eval $ac_link) 2>conftest.er1 | 
| 7674 | 
+ | 
  ac_status=$? | 
| 7675 | 
+ | 
  grep -v '^ *+' conftest.er1 >conftest.err | 
| 7676 | 
+ | 
  rm -f conftest.er1 | 
| 7677 | 
+ | 
  cat conftest.err >&5 | 
| 7678 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7679 | 
+ | 
  (exit $ac_status); } && | 
| 7680 | 
+ | 
         { ac_try='test -z "$ac_c_werror_flag" | 
| 7681 | 
+ | 
                         || test ! -s conftest.err' | 
| 7682 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7683 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 7684 | 
+ | 
  ac_status=$? | 
| 7685 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7686 | 
+ | 
  (exit $ac_status); }; } && | 
| 7687 | 
+ | 
         { ac_try='test -s conftest$ac_exeext' | 
| 7688 | 
+ | 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7689 | 
+ | 
  (eval $ac_try) 2>&5 | 
| 7690 | 
+ | 
  ac_status=$? | 
| 7691 | 
+ | 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7692 | 
+ | 
  (exit $ac_status); }; }; then | 
| 7693 | 
+ | 
  ac_cv_lib_mpich_MPI_Init=yes | 
| 7694 | 
+ | 
else | 
| 7695 | 
+ | 
  echo "$as_me: failed program was:" >&5 | 
| 7696 | 
+ | 
sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7697 | 
+ | 
 | 
| 7698 | 
+ | 
ac_cv_lib_mpich_MPI_Init=no | 
| 7699 | 
+ | 
fi | 
| 7700 | 
+ | 
rm -f conftest.err conftest.$ac_objext \ | 
| 7701 | 
+ | 
      conftest$ac_exeext conftest.$ac_ext | 
| 7702 | 
+ | 
LIBS=$ac_check_lib_save_LIBS | 
| 7703 | 
+ | 
fi | 
| 7704 | 
+ | 
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 7705 | 
+ | 
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 | 
| 7706 | 
+ | 
if test $ac_cv_lib_mpich_MPI_Init = yes; then | 
| 7707 | 
+ | 
  MPI_LIB="-lmpich -lpmpich" | 
| 7708 | 
+ | 
fi | 
| 7709 | 
+ | 
 | 
| 7710 | 
+ | 
fi | 
| 7711 | 
+ | 
 | 
| 7712 | 
  | 
$as_unset ac_cv_lib_mpi_MPI_Init | 
| 7713 | 
  | 
if test x = x"$MPI_LIB"; then | 
| 7714 | 
  | 
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 | 
| 8226 | 
  | 
echo "${ECHO_T}no" >&6 | 
| 8227 | 
  | 
 | 
| 8228 | 
  | 
fi; | 
| 8229 | 
+ | 
 | 
| 8230 | 
+ | 
 | 
| 8231 | 
+ | 
 | 
| 8232 | 
+ | 
# Check whether --enable-doxygen or --disable-doxygen was given. | 
| 8233 | 
+ | 
if test "${enable_doxygen+set}" = set; then | 
| 8234 | 
+ | 
  enableval="$enable_doxygen" | 
| 8235 | 
+ | 
 | 
| 8236 | 
+ | 
fi; | 
| 8237 | 
+ | 
# Check whether --enable-dot or --disable-dot was given. | 
| 8238 | 
+ | 
if test "${enable_dot+set}" = set; then | 
| 8239 | 
+ | 
  enableval="$enable_dot" | 
| 8240 | 
+ | 
 | 
| 8241 | 
+ | 
fi; | 
| 8242 | 
+ | 
# Check whether --enable-html-docs or --disable-html-docs was given. | 
| 8243 | 
+ | 
if test "${enable_html_docs+set}" = set; then | 
| 8244 | 
+ | 
  enableval="$enable_html_docs" | 
| 8245 | 
+ | 
 | 
| 8246 | 
+ | 
else | 
| 8247 | 
+ | 
   enable_html_docs=yes | 
| 8248 | 
+ | 
fi; | 
| 8249 | 
+ | 
# Check whether --enable-latex-docs or --disable-latex-docs was given. | 
| 8250 | 
+ | 
if test "${enable_latex_docs+set}" = set; then | 
| 8251 | 
+ | 
  enableval="$enable_latex_docs" | 
| 8252 | 
+ | 
 | 
| 8253 | 
+ | 
else | 
| 8254 | 
+ | 
   enable_latex_docs=no | 
| 8255 | 
+ | 
fi; | 
| 8256 | 
+ | 
if test "x$enable_doxygen" = xno; then | 
| 8257 | 
+ | 
        enable_doc=no | 
| 8258 | 
+ | 
else | 
| 8259 | 
+ | 
        # Extract the first word of "doxygen", so it can be a program name with args. | 
| 8260 | 
+ | 
set dummy doxygen; ac_word=$2 | 
| 8261 | 
+ | 
echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 8262 | 
+ | 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 8263 | 
+ | 
if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
| 8264 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8265 | 
+ | 
else | 
| 8266 | 
+ | 
  case $DOXYGEN in | 
| 8267 | 
+ | 
  [\\/]* | ?:[\\/]*) | 
| 8268 | 
+ | 
  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
| 8269 | 
+ | 
  ;; | 
| 8270 | 
+ | 
  *) | 
| 8271 | 
+ | 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 8272 | 
+ | 
for as_dir in $PATH | 
| 8273 | 
+ | 
do | 
| 8274 | 
+ | 
  IFS=$as_save_IFS | 
| 8275 | 
+ | 
  test -z "$as_dir" && as_dir=. | 
| 8276 | 
+ | 
  for ac_exec_ext in '' $ac_executable_extensions; do | 
| 8277 | 
+ | 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 8278 | 
+ | 
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
| 8279 | 
+ | 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 8280 | 
+ | 
    break 2 | 
| 8281 | 
+ | 
  fi | 
| 8282 | 
+ | 
done | 
| 8283 | 
+ | 
done | 
| 8284 | 
+ | 
 | 
| 8285 | 
+ | 
  ;; | 
| 8286 | 
+ | 
esac | 
| 8287 | 
+ | 
fi | 
| 8288 | 
+ | 
DOXYGEN=$ac_cv_path_DOXYGEN | 
| 8289 | 
+ | 
 | 
| 8290 | 
+ | 
if test -n "$DOXYGEN"; then | 
| 8291 | 
+ | 
  echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
| 8292 | 
+ | 
echo "${ECHO_T}$DOXYGEN" >&6 | 
| 8293 | 
+ | 
else | 
| 8294 | 
+ | 
  echo "$as_me:$LINENO: result: no" >&5 | 
| 8295 | 
+ | 
echo "${ECHO_T}no" >&6 | 
| 8296 | 
+ | 
fi | 
| 8297 | 
+ | 
 | 
| 8298 | 
+ | 
        if test "x$DOXYGEN" = x; then | 
| 8299 | 
+ | 
                if test "x$enable_doxygen" = xyes; then | 
| 8300 | 
+ | 
                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5 | 
| 8301 | 
+ | 
echo "$as_me: error: could not find doxygen" >&2;} | 
| 8302 | 
+ | 
   { (exit 1); exit 1; }; } | 
| 8303 | 
+ | 
                fi | 
| 8304 | 
+ | 
                enable_doc=no | 
| 8305 | 
+ | 
        else | 
| 8306 | 
+ | 
                enable_doc=yes | 
| 8307 | 
+ | 
                # Extract the first word of "dot", so it can be a program name with args. | 
| 8308 | 
+ | 
set dummy dot; ac_word=$2 | 
| 8309 | 
+ | 
echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 8310 | 
+ | 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 8311 | 
+ | 
if test "${ac_cv_path_DOT+set}" = set; then | 
| 8312 | 
+ | 
  echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8313 | 
+ | 
else | 
| 8314 | 
+ | 
  case $DOT in | 
| 8315 | 
+ | 
  [\\/]* | ?:[\\/]*) | 
| 8316 | 
+ | 
  ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
| 8317 | 
+ | 
  ;; | 
| 8318 | 
+ | 
  *) | 
| 8319 | 
+ | 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 8320 | 
+ | 
for as_dir in $PATH | 
| 8321 | 
+ | 
do | 
| 8322 | 
+ | 
  IFS=$as_save_IFS | 
| 8323 | 
+ | 
  test -z "$as_dir" && as_dir=. | 
| 8324 | 
+ | 
  for ac_exec_ext in '' $ac_executable_extensions; do | 
| 8325 | 
+ | 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 8326 | 
+ | 
    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
| 8327 | 
+ | 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 8328 | 
+ | 
    break 2 | 
| 8329 | 
+ | 
  fi | 
| 8330 | 
+ | 
done | 
| 8331 | 
+ | 
done | 
| 8332 | 
+ | 
 | 
| 8333 | 
+ | 
  ;; | 
| 8334 | 
+ | 
esac | 
| 8335 | 
+ | 
fi | 
| 8336 | 
+ | 
DOT=$ac_cv_path_DOT | 
| 8337 | 
+ | 
 | 
| 8338 | 
+ | 
if test -n "$DOT"; then | 
| 8339 | 
+ | 
  echo "$as_me:$LINENO: result: $DOT" >&5 | 
| 8340 | 
+ | 
echo "${ECHO_T}$DOT" >&6 | 
| 8341 | 
+ | 
else | 
| 8342 | 
+ | 
  echo "$as_me:$LINENO: result: no" >&5 | 
| 8343 | 
+ | 
echo "${ECHO_T}no" >&6 | 
| 8344 | 
+ | 
fi | 
| 8345 | 
+ | 
 | 
| 8346 | 
+ | 
        fi | 
| 8347 | 
+ | 
fi | 
| 8348 | 
+ | 
 | 
| 8349 | 
+ | 
if test "x$enable_doc" = xyes; then | 
| 8350 | 
+ | 
  DOC=1 | 
| 8351 | 
+ | 
else | 
| 8352 | 
+ | 
  DOC=0 | 
| 8353 | 
+ | 
fi | 
| 8354 | 
+ | 
 | 
| 8355 | 
+ | 
 | 
| 8356 | 
+ | 
if test x$DOT = x; then | 
| 8357 | 
+ | 
        if test "x$enable_dot" = xyes; then | 
| 8358 | 
+ | 
                { { echo "$as_me:$LINENO: error: could not find dot" >&5 | 
| 8359 | 
+ | 
echo "$as_me: error: could not find dot" >&2;} | 
| 8360 | 
+ | 
   { (exit 1); exit 1; }; } | 
| 8361 | 
+ | 
        fi | 
| 8362 | 
+ | 
        enable_dot=no | 
| 8363 | 
+ | 
else | 
| 8364 | 
+ | 
        enable_dot=yes | 
| 8365 | 
+ | 
fi | 
| 8366 | 
  | 
 | 
| 8367 | 
  | 
 | 
| 8368 | 
  | 
 | 
| 8369 | 
  | 
 | 
| 8370 | 
  | 
 | 
| 8371 | 
+ | 
 | 
| 8372 | 
+ | 
 | 
| 8373 | 
  | 
OBJEXT=".$OBJEXT" | 
| 8374 | 
  | 
 | 
| 8375 | 
  | 
OOPSE=oopse | 
| 8393 | 
  | 
 | 
| 8394 | 
  | 
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" | 
| 8395 | 
  | 
 | 
| 7540 | 
– | 
SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder third-party " | 
| 7541 | 
– | 
 | 
| 8396 | 
  | 
CFLAGS=${CFLAGS-""} | 
| 8397 | 
  | 
CXXFLAGS=${CXXFLAGS-""} | 
| 8398 | 
  | 
CPPFLAGS=${CPPFLAGS-""} | 
| 8426 | 
  | 
 | 
| 8427 | 
  | 
 | 
| 8428 | 
  | 
 | 
| 7575 | 
– | 
                    ac_config_headers="$ac_config_headers libBASS/config.h libmdtools/config.h" | 
| 8429 | 
  | 
 | 
| 8430 | 
< | 
                                                                                                                                                                                                                            ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile third-party/Makefile samples/alkane/Makefile samples/argon/Makefile samples/lipid/Makefile samples/minimizer/Makefile samples/metals/Makefile samples/water/Makefile samples/water/dimer/Makefile samples/water/spce/Makefile samples/water/ssd/Makefile samples/water/ssde/Makefile samples/water/tip4p/Makefile samples/water/tip3p_ice/Makefile samples/zcons/Makefile" | 
| 8430 | 
> | 
          ac_config_headers="$ac_config_headers src/config.h" | 
| 8431 | 
  | 
 | 
| 8432 | 
+ | 
                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" | 
| 8433 | 
  | 
 | 
| 8434 | 
+ | 
 | 
| 8435 | 
  | 
cat >confcache <<\_ACEOF | 
| 8436 | 
  | 
# This file is a shell script that caches the results of configure | 
| 8437 | 
  | 
# tests run on this system so they can be shared between configure | 
| 8794 | 
  | 
} >&5 | 
| 8795 | 
  | 
cat >&5 <<_CSEOF | 
| 8796 | 
  | 
 | 
| 8797 | 
< | 
This file was extended by OOPSE $as_me 1.0, which was | 
| 8797 | 
> | 
This file was extended by OOPSE $as_me 2.0, which was | 
| 8798 | 
  | 
generated by GNU Autoconf 2.59.  Invocation command line was | 
| 8799 | 
  | 
 | 
| 8800 | 
  | 
  CONFIG_FILES    = $CONFIG_FILES | 
| 8857 | 
  | 
 | 
| 8858 | 
  | 
cat >>$CONFIG_STATUS <<_ACEOF | 
| 8859 | 
  | 
ac_cs_version="\\ | 
| 8860 | 
< | 
OOPSE config.status 1.0 | 
| 8860 | 
> | 
OOPSE config.status 2.0 | 
| 8861 | 
  | 
configured by $0, generated by GNU Autoconf 2.59, | 
| 8862 | 
  | 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
| 8863 | 
  | 
 | 
| 8960 | 
  | 
do | 
| 8961 | 
  | 
  case "$ac_config_target" in | 
| 8962 | 
  | 
  # Handling of arguments. | 
| 8963 | 
< | 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
| 8964 | 
< | 
  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;; | 
| 8965 | 
< | 
  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;; | 
| 8966 | 
< | 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
| 8112 | 
< | 
  "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; | 
| 8113 | 
< | 
  "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;; | 
| 8114 | 
< | 
  "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;; | 
| 8115 | 
< | 
  "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; | 
| 8116 | 
< | 
  "third-party/Makefile" ) CONFIG_FILES="$CONFIG_FILES third-party/Makefile" ;; | 
| 8117 | 
< | 
  "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;; | 
| 8118 | 
< | 
  "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;; | 
| 8119 | 
< | 
  "samples/lipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/lipid/Makefile" ;; | 
| 8120 | 
< | 
  "samples/minimizer/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/minimizer/Makefile" ;; | 
| 8121 | 
< | 
  "samples/metals/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/metals/Makefile" ;; | 
| 8122 | 
< | 
  "samples/water/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/Makefile" ;; | 
| 8123 | 
< | 
  "samples/water/dimer/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/dimer/Makefile" ;; | 
| 8124 | 
< | 
  "samples/water/spce/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/spce/Makefile" ;; | 
| 8125 | 
< | 
  "samples/water/ssd/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssd/Makefile" ;; | 
| 8126 | 
< | 
  "samples/water/ssde/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/ssde/Makefile" ;; | 
| 8127 | 
< | 
  "samples/water/tip4p/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip4p/Makefile" ;; | 
| 8128 | 
< | 
  "samples/water/tip3p_ice/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/water/tip3p_ice/Makefile" ;; | 
| 8129 | 
< | 
  "samples/zcons/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/zcons/Makefile" ;; | 
| 8130 | 
< | 
  "utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS utils/getopt.h:utils/gnugetopt.h" ;; | 
| 8131 | 
< | 
  "libBASS/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libBASS/config.h" ;; | 
| 8132 | 
< | 
  "libmdtools/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;; | 
| 8963 | 
> | 
  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; | 
| 8964 | 
> | 
  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; | 
| 8965 | 
> | 
  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; | 
| 8966 | 
> | 
  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | 
| 8967 | 
  | 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
| 8968 | 
  | 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
| 8969 | 
  | 
   { (exit 1); exit 1; }; };; | 
| 9083 | 
  | 
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t | 
| 9084 | 
  | 
s,@MODDIRFLAG@,$MODDIRFLAG,;t t | 
| 9085 | 
  | 
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t | 
| 9086 | 
+ | 
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t | 
| 9087 | 
  | 
s,@CPP@,$CPP,;t t | 
| 9088 | 
  | 
s,@EGREP@,$EGREP,;t t | 
| 9089 | 
  | 
s,@LIBOBJS@,$LIBOBJS,;t t | 
| 9099 | 
  | 
s,@LEXLIB@,$LEXLIB,;t t | 
| 9100 | 
  | 
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
| 9101 | 
  | 
s,@AR@,$AR,;t t | 
| 9102 | 
+ | 
s,@PS@,$PS,;t t | 
| 9103 | 
  | 
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t | 
| 9104 | 
  | 
s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t | 
| 9105 | 
  | 
s,@MPI_F90_INC@,$MPI_F90_INC,;t t | 
| 9114 | 
  | 
s,@MKL_LIB@,$MKL_LIB,;t t | 
| 9115 | 
  | 
s,@MKL_INC@,$MKL_INC,;t t | 
| 9116 | 
  | 
s,@HAVE_MKL@,$HAVE_MKL,;t t | 
| 9117 | 
+ | 
s,@DOXYGEN@,$DOXYGEN,;t t | 
| 9118 | 
+ | 
s,@DOT@,$DOT,;t t | 
| 9119 | 
+ | 
s,@DOC@,$DOC,;t t | 
| 9120 | 
+ | 
s,@enable_dot@,$enable_dot,;t t | 
| 9121 | 
+ | 
s,@enable_html_docs@,$enable_html_docs,;t t | 
| 9122 | 
+ | 
s,@enable_latex_docs@,$enable_latex_docs,;t t | 
| 9123 | 
  | 
s,@BATEXT@,$BATEXT,;t t | 
| 9124 | 
  | 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t | 
| 9125 | 
  | 
s,@OOPSE@,$OOPSE,;t t |