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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 1490 by gezelter, Fri Sep 24 04:16:43 2004 UTC vs.
Revision 2022 by gezelter, Mon Feb 14 23:16:48 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 1.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
# Line 269 | Line 269 | PACKAGE_VERSION='1.0'
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="\
# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
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_PATH BSD_PS POSIX_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.
# Line 797 | Line 797 | if test "$ac_init_help" = "long"; then
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  
# Line 858 | Line 858 | if test -n "$ac_init_help"; then
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  
# Line 866 | Line 866 | Optional Features:
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:
# Line 988 | Line 992 | OOPSE configure 1.0
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.
# Line 1002 | Line 1006 | It was created by OOPSE $as_me 1.0, which was
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 $@
# Line 1814 | Line 1818 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
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  
# Line 1868 | Line 1878 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1878  
1879  
1880  
1881 +
1882 +
1883 +
1884 +
1885 +
1886   # set program name
1887   PROGNAME="oopse"
1888  
# Line 1947 | Line 1962 | ac_ext=c
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'
# Line 3525 | Line 3542 | F90FLAGS="$F90FLAGS $ac_verb"
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
# Line 3602 | Line 3619 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
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
# Line 4198 | Line 4215 | fi
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'
4449   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4688 | Line 4932 | fi
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
# Line 4701 | Line 5104 | done
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
# Line 5042 | Line 5607 | esac
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  
# Line 5136 | Line 5701 | if test "$ac_test_CFLAGS" != "set"; then
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  
# Line 5587 | Line 6152 | if test "$ac_test_CXXFLAGS" != "set"; then
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  
# Line 6000 | Line 6565 | if test x"$F90FLAGS" = x ; then
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  
# Line 6690 | Line 7255 | fi
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_PATH+set}" = set; then
7263 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7264 + else
7265 +  case $PS_PATH in
7266 +  [\\/]* | ?:[\\/]*)
7267 +  ac_cv_path_PS_PATH="$PS_PATH" # 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_PATH="$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_PATH=$ac_cv_path_PS_PATH
7288  
7289 + if test -n "$PS_PATH"; then
7290 +  echo "$as_me:$LINENO: result: $PS_PATH" >&5
7291 + echo "${ECHO_T}$PS_PATH" >&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 ps" >&5
7298 + echo $ECHO_N "checking for POSIX ps... $ECHO_C" >&6
7299 + if test "${ac_cv_prog_ps_posix+set}" = set; then
7300 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7301 + else
7302 +
7303 +        USER=${USER:-${LOGNAME:-`logname`}}
7304 +        if $PS_PATH -U $USER -opid,args >/dev/null 2>&1; then
7305 +                ac_cv_prog_ps_posix=yes
7306 +        else
7307 +                ac_cv_prog_ps_posix=no
7308 +        fi
7309 +
7310 + fi
7311 + echo "$as_me:$LINENO: result: $ac_cv_prog_ps_posix" >&5
7312 + echo "${ECHO_T}$ac_cv_prog_ps_posix" >&6
7313 + if test "$ac_cv_prog_ps_posix" = yes; then
7314 +        BSD_PS=yes
7315 + else
7316 +        POSIX_PS=yes
7317 + fi
7318 +
7319 +
7320 +
7321 +
7322 +
7323 +
7324   # Check whether --with-mpi or --without-mpi was given.
7325   if test "${with_mpi+set}" = set; then
7326    withval="$with_mpi"
# Line 6988 | Line 7617 | fi
7617   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7618   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7619    MPI_LIB="-lmpi -llam"
7620 + fi
7621 +
7622 + fi
7623 + $as_unset ac_cv_lib_mpich_MPI_Init
7624 + if test x = x"$MPI_LIB"; then
7625 +        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7626 + echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7627 + if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7628 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7629 + else
7630 +  ac_check_lib_save_LIBS=$LIBS
7631 + LIBS="-lmpich "-lpmpich" $LIBS"
7632 + cat >conftest.$ac_ext <<_ACEOF
7633 + /* confdefs.h.  */
7634 + _ACEOF
7635 + cat confdefs.h >>conftest.$ac_ext
7636 + cat >>conftest.$ac_ext <<_ACEOF
7637 + /* end confdefs.h.  */
7638 +
7639 + /* Override any gcc2 internal prototype to avoid an error.  */
7640 + #ifdef __cplusplus
7641 + extern "C"
7642 + #endif
7643 + /* We use char because int might match the return type of a gcc2
7644 +   builtin and then its argument prototype would still apply.  */
7645 + char MPI_Init ();
7646 + int
7647 + main ()
7648 + {
7649 + MPI_Init ();
7650 +  ;
7651 +  return 0;
7652 + }
7653 + _ACEOF
7654 + rm -f conftest.$ac_objext conftest$ac_exeext
7655 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7656 +  (eval $ac_link) 2>conftest.er1
7657 +  ac_status=$?
7658 +  grep -v '^ *+' conftest.er1 >conftest.err
7659 +  rm -f conftest.er1
7660 +  cat conftest.err >&5
7661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 +  (exit $ac_status); } &&
7663 +         { ac_try='test -z "$ac_c_werror_flag"
7664 +                         || test ! -s conftest.err'
7665 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 +  (eval $ac_try) 2>&5
7667 +  ac_status=$?
7668 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 +  (exit $ac_status); }; } &&
7670 +         { ac_try='test -s conftest$ac_exeext'
7671 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 +  (eval $ac_try) 2>&5
7673 +  ac_status=$?
7674 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 +  (exit $ac_status); }; }; then
7676 +  ac_cv_lib_mpich_MPI_Init=yes
7677 + else
7678 +  echo "$as_me: failed program was:" >&5
7679 + sed 's/^/| /' conftest.$ac_ext >&5
7680 +
7681 + ac_cv_lib_mpich_MPI_Init=no
7682 + fi
7683 + rm -f conftest.err conftest.$ac_objext \
7684 +      conftest$ac_exeext conftest.$ac_ext
7685 + LIBS=$ac_check_lib_save_LIBS
7686 + fi
7687 + echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7688 + echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7689 + if test $ac_cv_lib_mpich_MPI_Init = yes; then
7690 +  MPI_LIB="-lmpich -lpmpich"
7691   fi
7692  
7693   fi
# Line 7507 | Line 8207 | echo "${ECHO_T}no" >&6
8207  
8208      echo "$as_me:$LINENO: result: no" >&5
8209   echo "${ECHO_T}no" >&6
8210 +
8211 + fi;
8212 +
8213 +
8214 +
8215 + # Check whether --enable-doxygen or --disable-doxygen was given.
8216 + if test "${enable_doxygen+set}" = set; then
8217 +  enableval="$enable_doxygen"
8218  
8219   fi;
8220 + # Check whether --enable-dot or --disable-dot was given.
8221 + if test "${enable_dot+set}" = set; then
8222 +  enableval="$enable_dot"
8223 +
8224 + fi;
8225 + # Check whether --enable-html-docs or --disable-html-docs was given.
8226 + if test "${enable_html_docs+set}" = set; then
8227 +  enableval="$enable_html_docs"
8228 +
8229 + else
8230 +   enable_html_docs=yes
8231 + fi;
8232 + # Check whether --enable-latex-docs or --disable-latex-docs was given.
8233 + if test "${enable_latex_docs+set}" = set; then
8234 +  enableval="$enable_latex_docs"
8235 +
8236 + else
8237 +   enable_latex_docs=no
8238 + fi;
8239 + if test "x$enable_doxygen" = xno; then
8240 +        enable_doc=no
8241 + else
8242 +        # Extract the first word of "doxygen", so it can be a program name with args.
8243 + set dummy doxygen; ac_word=$2
8244 + echo "$as_me:$LINENO: checking for $ac_word" >&5
8245 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8246 + if test "${ac_cv_path_DOXYGEN+set}" = set; then
8247 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8248 + else
8249 +  case $DOXYGEN in
8250 +  [\\/]* | ?:[\\/]*)
8251 +  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8252 +  ;;
8253 +  *)
8254 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 + for as_dir in $PATH
8256 + do
8257 +  IFS=$as_save_IFS
8258 +  test -z "$as_dir" && as_dir=.
8259 +  for ac_exec_ext in '' $ac_executable_extensions; do
8260 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 +    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8262 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 +    break 2
8264 +  fi
8265 + done
8266 + done
8267 +
8268 +  ;;
8269 + esac
8270 + fi
8271 + DOXYGEN=$ac_cv_path_DOXYGEN
8272 +
8273 + if test -n "$DOXYGEN"; then
8274 +  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8275 + echo "${ECHO_T}$DOXYGEN" >&6
8276 + else
8277 +  echo "$as_me:$LINENO: result: no" >&5
8278 + echo "${ECHO_T}no" >&6
8279 + fi
8280 +
8281 +        if test "x$DOXYGEN" = x; then
8282 +                if test "x$enable_doxygen" = xyes; then
8283 +                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8284 + echo "$as_me: error: could not find doxygen" >&2;}
8285 +   { (exit 1); exit 1; }; }
8286 +                fi
8287 +                enable_doc=no
8288 +        else
8289 +                enable_doc=yes
8290 +                # Extract the first word of "dot", so it can be a program name with args.
8291 + set dummy dot; ac_word=$2
8292 + echo "$as_me:$LINENO: checking for $ac_word" >&5
8293 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8294 + if test "${ac_cv_path_DOT+set}" = set; then
8295 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8296 + else
8297 +  case $DOT in
8298 +  [\\/]* | ?:[\\/]*)
8299 +  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8300 +  ;;
8301 +  *)
8302 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8303 + for as_dir in $PATH
8304 + do
8305 +  IFS=$as_save_IFS
8306 +  test -z "$as_dir" && as_dir=.
8307 +  for ac_exec_ext in '' $ac_executable_extensions; do
8308 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8309 +    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8310 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8311 +    break 2
8312 +  fi
8313 + done
8314 + done
8315 +
8316 +  ;;
8317 + esac
8318 + fi
8319 + DOT=$ac_cv_path_DOT
8320 +
8321 + if test -n "$DOT"; then
8322 +  echo "$as_me:$LINENO: result: $DOT" >&5
8323 + echo "${ECHO_T}$DOT" >&6
8324 + else
8325 +  echo "$as_me:$LINENO: result: no" >&5
8326 + echo "${ECHO_T}no" >&6
8327 + fi
8328 +
8329 +        fi
8330 + fi
8331 +
8332 + if test "x$enable_doc" = xyes; then
8333 +  DOC=1
8334 + else
8335 +  DOC=0
8336 + fi
8337 +
8338 +
8339 + if test x$DOT = x; then
8340 +        if test "x$enable_dot" = xyes; then
8341 +                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8342 + echo "$as_me: error: could not find dot" >&2;}
8343 +   { (exit 1); exit 1; }; }
8344 +        fi
8345 +        enable_dot=no
8346 + else
8347 +        enable_dot=yes
8348 + fi
8349  
8350  
8351  
8352  
8353  
8354 +
8355 +
8356   OBJEXT=".$OBJEXT"
8357  
8358   OOPSE=oopse
# Line 7537 | Line 8376 | SUBDIRS="libBASS libmdtools src forceFields samples ut
8376  
8377   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8378  
7540 SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder third-party "
7541
8379   CFLAGS=${CFLAGS-""}
8380   CXXFLAGS=${CXXFLAGS-""}
8381   CPPFLAGS=${CPPFLAGS-""}
# Line 7572 | Line 8409 | esac
8409  
8410  
8411  
7575                    ac_config_headers="$ac_config_headers libBASS/config.h libmdtools/config.h"
8412  
8413 <                                                                                                                                                                                                                            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"
8413 >          ac_config_headers="$ac_config_headers src/config.h"
8414 >
8415 >                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8416  
8417  
8418   cat >confcache <<\_ACEOF
# Line 7939 | Line 8777 | This file was extended by OOPSE $as_me 1.0, which was
8777   } >&5
8778   cat >&5 <<_CSEOF
8779  
8780 < This file was extended by OOPSE $as_me 1.0, which was
8780 > This file was extended by OOPSE $as_me 2.0, which was
8781   generated by GNU Autoconf 2.59.  Invocation command line was
8782  
8783    CONFIG_FILES    = $CONFIG_FILES
# Line 8002 | Line 8840 | OOPSE config.status 1.0
8840  
8841   cat >>$CONFIG_STATUS <<_ACEOF
8842   ac_cs_version="\\
8843 < OOPSE config.status 1.0
8843 > OOPSE config.status 2.0
8844   configured by $0, generated by GNU Autoconf 2.59,
8845    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8846  
# Line 8105 | Line 8943 | do
8943   do
8944    case "$ac_config_target" in
8945    # Handling of arguments.
8946 <  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8947 <  "libBASS/Makefile" ) CONFIG_FILES="$CONFIG_FILES libBASS/Makefile" ;;
8948 <  "libmdtools/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmdtools/Makefile" ;;
8949 <  "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" ;;
8946 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8947 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8948 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8949 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8950    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8951   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8952     { (exit 1); exit 1; }; };;
# Line 8249 | Line 9066 | s,@CPP@,$CPP,;t t
9066   s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9067   s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9068   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9069 + s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9070   s,@CPP@,$CPP,;t t
9071   s,@EGREP@,$EGREP,;t t
9072   s,@LIBOBJS@,$LIBOBJS,;t t
# Line 8264 | Line 9082 | s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9082   s,@LEXLIB@,$LEXLIB,;t t
9083   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9084   s,@AR@,$AR,;t t
9085 + s,@PS_PATH@,$PS_PATH,;t t
9086 + s,@BSD_PS@,$BSD_PS,;t t
9087 + s,@POSIX_PS@,$POSIX_PS,;t t
9088   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9089   s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9090   s,@MPI_F90_INC@,$MPI_F90_INC,;t t
# Line 8278 | Line 9099 | s,@BATEXT@,$BATEXT,;t t
9099   s,@MKL_LIB@,$MKL_LIB,;t t
9100   s,@MKL_INC@,$MKL_INC,;t t
9101   s,@HAVE_MKL@,$HAVE_MKL,;t t
9102 + s,@DOXYGEN@,$DOXYGEN,;t t
9103 + s,@DOT@,$DOT,;t t
9104 + s,@DOC@,$DOC,;t t
9105 + s,@enable_dot@,$enable_dot,;t t
9106 + s,@enable_html_docs@,$enable_html_docs,;t t
9107 + s,@enable_latex_docs@,$enable_latex_docs,;t t
9108   s,@BATEXT@,$BATEXT,;t t
9109   s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9110   s,@OOPSE@,$OOPSE,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines