| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.64 for OOPSE 4.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.65 for OpenMD 1.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 7 |
+ |
# |
| 8 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 9 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 10 |
< |
# Foundation, Inc. |
| 9 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 10 |
> |
# Inc. |
| 11 |
> |
# |
| 12 |
|
# |
| 13 |
|
# This configure script is free software; the Free Software Foundation |
| 14 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 529 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 530 |
|
|
| 531 |
|
|
| 532 |
< |
exec 7<&0 </dev/null 6>&1 |
| 532 |
> |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 533 |
> |
exec 6>&1 |
| 534 |
|
|
| 535 |
|
# Name of the host. |
| 536 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 550 |
|
MAKEFLAGS= |
| 551 |
|
|
| 552 |
|
# Identity of this package. |
| 553 |
< |
PACKAGE_NAME='OOPSE' |
| 554 |
< |
PACKAGE_TARNAME='oopse' |
| 555 |
< |
PACKAGE_VERSION='4.0' |
| 556 |
< |
PACKAGE_STRING='OOPSE 4.0' |
| 553 |
> |
PACKAGE_NAME='OpenMD' |
| 554 |
> |
PACKAGE_TARNAME='openmd' |
| 555 |
> |
PACKAGE_VERSION='1.0' |
| 556 |
> |
PACKAGE_STRING='OpenMD 1.0' |
| 557 |
|
PACKAGE_BUGREPORT='gezelter@nd.edu' |
| 558 |
|
PACKAGE_URL='' |
| 559 |
|
|
| 560 |
< |
ac_unique_file="src/applications/oopse/oopse.cpp" |
| 560 |
> |
ac_unique_file="src/applications/openmd/openmd.cpp" |
| 561 |
|
ac_default_prefix="/usr/local" |
| 562 |
|
# Factoring default headers for most tests. |
| 563 |
|
ac_includes_default="\ |
| 597 |
|
|
| 598 |
|
ac_subst_vars='LTLIBOBJS |
| 599 |
|
SUBDIRS |
| 600 |
< |
OOPSE_HOME |
| 601 |
< |
OOPSE |
| 600 |
> |
OPENMD_HOME |
| 601 |
> |
OPENMD |
| 602 |
|
MKINSTALLDIRS |
| 603 |
|
BATEXT |
| 604 |
|
enable_latex_docs |
| 724 |
|
ac_subst_files='' |
| 725 |
|
ac_user_opts=' |
| 726 |
|
enable_option_checking |
| 727 |
< |
enable_oopse_home |
| 727 |
> |
enable_openmd_home |
| 728 |
|
enable_debug |
| 729 |
|
enable_single |
| 730 |
|
enable_float |
| 1297 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1298 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1299 |
|
cat <<_ACEOF |
| 1300 |
< |
\`configure' configures OOPSE 4.0 to adapt to many kinds of systems. |
| 1300 |
> |
\`configure' configures OpenMD 1.0 to adapt to many kinds of systems. |
| 1301 |
|
|
| 1302 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1303 |
|
|
| 1345 |
|
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1346 |
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1347 |
|
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1348 |
< |
--docdir=DIR documentation root [DATAROOTDIR/doc/oopse] |
| 1348 |
> |
--docdir=DIR documentation root [DATAROOTDIR/doc/openmd] |
| 1349 |
|
--htmldir=DIR html documentation [DOCDIR] |
| 1350 |
|
--dvidir=DIR dvi documentation [DOCDIR] |
| 1351 |
|
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1362 |
|
|
| 1363 |
|
if test -n "$ac_init_help"; then |
| 1364 |
|
case $ac_init_help in |
| 1365 |
< |
short | recursive ) echo "Configuration of OOPSE 4.0:";; |
| 1365 |
> |
short | recursive ) echo "Configuration of OpenMD 1.0:";; |
| 1366 |
|
esac |
| 1367 |
|
cat <<\_ACEOF |
| 1368 |
|
|
| 1370 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1371 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1372 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1373 |
< |
--enable-oopse-home=DIR define oopse home dir PREFIX/oopse |
| 1374 |
< |
--enable-debug Compile OOPSE in debug mode |
| 1375 |
< |
--enable-single compile OOPSE in single precision |
| 1373 |
> |
--enable-openmd-home=DIR define OpenMD home dir PREFIX/openmd |
| 1374 |
> |
--enable-debug Compile OpenMD in debug mode |
| 1375 |
> |
--enable-single compile OpenMD in single precision |
| 1376 |
|
--enable-float synonym for --enable-single |
| 1377 |
|
--enable-doxygen enable documentation generation with doxygen (auto) |
| 1378 |
|
--enable-dot use 'dot' to generate graphs in doxygen (auto) |
| 1400 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1401 |
|
nonstandard directory <lib dir> |
| 1402 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1403 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1403 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1404 |
|
you have headers in a nonstandard directory <include dir> |
| 1405 |
|
MPICXX MPI C++ compiler command |
| 1406 |
|
CC C compiler command |
| 1478 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1479 |
|
if $ac_init_version; then |
| 1480 |
|
cat <<\_ACEOF |
| 1481 |
< |
OOPSE configure 4.0 |
| 1482 |
< |
generated by GNU Autoconf 2.64 |
| 1481 |
> |
OpenMD configure 1.0 |
| 1482 |
> |
generated by GNU Autoconf 2.65 |
| 1483 |
|
|
| 1484 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1485 |
|
This configure script is free software; the Free Software Foundation |
| 1526 |
|
ac_retval=1 |
| 1527 |
|
fi |
| 1528 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1529 |
< |
return $ac_retval |
| 1529 |
> |
as_fn_set_status $ac_retval |
| 1530 |
|
|
| 1531 |
|
} # ac_fn_cxx_try_compile |
| 1532 |
|
|
| 1572 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1573 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1574 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1575 |
< |
return $ac_retval |
| 1575 |
> |
as_fn_set_status $ac_retval |
| 1576 |
|
|
| 1577 |
|
} # ac_fn_cxx_try_link |
| 1578 |
|
|
| 1677 |
|
ac_retval=1 |
| 1678 |
|
fi |
| 1679 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1680 |
< |
return $ac_retval |
| 1680 |
> |
as_fn_set_status $ac_retval |
| 1681 |
|
|
| 1682 |
|
} # ac_fn_c_try_compile |
| 1683 |
|
|
| 1723 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1724 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1725 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1726 |
< |
return $ac_retval |
| 1726 |
> |
as_fn_set_status $ac_retval |
| 1727 |
|
|
| 1728 |
|
} # ac_fn_c_try_link |
| 1729 |
|
|
| 1828 |
|
ac_retval=1 |
| 1829 |
|
fi |
| 1830 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1831 |
< |
return $ac_retval |
| 1831 |
> |
as_fn_set_status $ac_retval |
| 1832 |
|
|
| 1833 |
|
} # ac_fn_fc_try_compile |
| 1834 |
|
|
| 1874 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1875 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1876 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1877 |
< |
return $ac_retval |
| 1877 |
> |
as_fn_set_status $ac_retval |
| 1878 |
|
|
| 1879 |
|
} # ac_fn_fc_try_link |
| 1880 |
|
|
| 1911 |
|
ac_retval=1 |
| 1912 |
|
fi |
| 1913 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1914 |
< |
return $ac_retval |
| 1914 |
> |
as_fn_set_status $ac_retval |
| 1915 |
|
|
| 1916 |
|
} # ac_fn_c_try_cpp |
| 1917 |
|
|
| 2046 |
|
fi |
| 2047 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2048 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2049 |
< |
return $ac_retval |
| 2049 |
> |
as_fn_set_status $ac_retval |
| 2050 |
|
|
| 2051 |
|
} # ac_fn_c_try_run |
| 2052 |
|
|
| 2114 |
|
ac_retval=1 |
| 2115 |
|
fi |
| 2116 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2117 |
< |
return $ac_retval |
| 2117 |
> |
as_fn_set_status $ac_retval |
| 2118 |
|
|
| 2119 |
|
} # ac_fn_cxx_try_cpp |
| 2120 |
|
|
| 2284 |
|
This file contains any messages produced by compilers while |
| 2285 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2286 |
|
|
| 2287 |
< |
It was created by OOPSE $as_me 4.0, which was |
| 2288 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 2287 |
> |
It was created by OpenMD $as_me 1.0, which was |
| 2288 |
> |
generated by GNU Autoconf 2.65. Invocation command line was |
| 2289 |
|
|
| 2290 |
|
$ $0 $@ |
| 2291 |
|
|
| 2538 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2539 |
|
do |
| 2540 |
|
test "x$ac_site_file" = xNONE && continue |
| 2541 |
< |
if test -r "$ac_site_file"; then |
| 2541 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2542 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2543 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2544 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2547 |
|
done |
| 2548 |
|
|
| 2549 |
|
if test -r "$cache_file"; then |
| 2550 |
< |
# Some versions of bash will fail to source /dev/null (special |
| 2551 |
< |
# files actually), so we avoid doing that. |
| 2552 |
< |
if test -f "$cache_file"; then |
| 2550 |
> |
# Some versions of bash will fail to source /dev/null (special files |
| 2551 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2552 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2553 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2554 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2555 |
|
case $cache_file in |
| 2972 |
|
|
| 2973 |
|
|
| 2974 |
|
# set program name |
| 2975 |
< |
PROGNAME="oopse" |
| 2975 |
> |
PROGNAME="openmd" |
| 2976 |
|
|
| 2977 |
|
|
| 2978 |
|
|
| 2979 |
|
|
| 2980 |
|
OBJEXT=".$OBJEXT" |
| 2981 |
|
|
| 2982 |
< |
OOPSE=oopse |
| 2982 |
> |
OPENMD=openmd |
| 2983 |
|
|
| 2984 |
|
if test "x${prefix}" = "xNONE" |
| 2985 |
|
then |
| 2986 |
< |
OOPSE_HOME=${ac_default_prefix}/oopse |
| 2986 |
> |
OPENMD_HOME=${ac_default_prefix}/openmd |
| 2987 |
|
else |
| 2988 |
< |
OOPSE_HOME=${prefix}/oopse |
| 2988 |
> |
OPENMD_HOME=${prefix}/openmd |
| 2989 |
|
fi |
| 2990 |
< |
# Check whether --enable-oopse-home was given. |
| 2991 |
< |
if test "${enable_oopse_home+set}" = set; then : |
| 2992 |
< |
enableval=$enable_oopse_home; OOPSE_HOME="${enableval}" |
| 2990 |
> |
# Check whether --enable-openmd-home was given. |
| 2991 |
> |
if test "${enable_openmd_home+set}" = set; then : |
| 2992 |
> |
enableval=$enable_openmd_home; OPENMD_HOME="${enableval}" |
| 2993 |
|
fi |
| 2994 |
|
|
| 2995 |
|
|
| 3341 |
|
as_fn_error "Can't find path to user-specified Fortran compiler $FC" "$LINENO" 5 |
| 3342 |
|
fi |
| 3343 |
|
fi |
| 3344 |
+ |
|
| 3345 |
|
|
| 3346 |
+ |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
| 3347 |
|
|
| 3348 |
|
ac_ext=cpp |
| 3349 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 3481 |
|
... rest of stderr output deleted ... |
| 3482 |
|
10q' conftest.err >conftest.er1 |
| 3483 |
|
cat conftest.er1 >&5 |
| 3479 |
– |
rm -f conftest.er1 conftest.err |
| 3484 |
|
fi |
| 3485 |
+ |
rm -f conftest.er1 conftest.err |
| 3486 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3487 |
|
test $ac_status = 0; } |
| 3488 |
|
done |
| 3489 |
|
|
| 3490 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3491 |
|
/* end confdefs.h. */ |
| 3492 |
< |
#include <stdio.h> |
| 3492 |
> |
|
| 3493 |
|
int |
| 3494 |
|
main () |
| 3495 |
|
{ |
| 3491 |
– |
FILE *f = fopen ("conftest.out", "w"); |
| 3492 |
– |
return ferror (f) || fclose (f) != 0; |
| 3496 |
|
|
| 3497 |
|
; |
| 3498 |
|
return 0; |
| 3499 |
|
} |
| 3500 |
|
_ACEOF |
| 3501 |
|
ac_clean_files_save=$ac_clean_files |
| 3502 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
| 3502 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 3503 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3504 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3505 |
|
# of exeext. |
| 3506 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
| 3507 |
< |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
| 3506 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
| 3507 |
> |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
| 3508 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3509 |
|
|
| 3510 |
|
# The possible output files: |
| 3566 |
|
else |
| 3567 |
|
ac_file='' |
| 3568 |
|
fi |
| 3566 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3567 |
– |
$as_echo "$ac_file" >&6; } |
| 3569 |
|
if test -z "$ac_file"; then : |
| 3570 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3570 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3571 |
> |
$as_echo "no" >&6; } |
| 3572 |
> |
$as_echo "$as_me: failed program was:" >&5 |
| 3573 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3574 |
|
|
| 3575 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3577 |
|
{ as_fn_set_status 77 |
| 3578 |
|
as_fn_error "C++ compiler cannot create executables |
| 3579 |
|
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3580 |
+ |
else |
| 3581 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3582 |
+ |
$as_echo "yes" >&6; } |
| 3583 |
|
fi |
| 3584 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
| 3585 |
+ |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
| 3586 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3587 |
+ |
$as_echo "$ac_file" >&6; } |
| 3588 |
|
ac_exeext=$ac_cv_exeext |
| 3589 |
|
|
| 3590 |
< |
# Check that the compiler produces executables we can run. If not, either |
| 3581 |
< |
# the compiler is broken, or we cross compile. |
| 3582 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
| 3583 |
< |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
| 3584 |
< |
# If not cross compiling, check that we can run a simple program. |
| 3585 |
< |
if test "$cross_compiling" != yes; then |
| 3586 |
< |
if { ac_try='./$ac_file' |
| 3587 |
< |
{ { case "(($ac_try" in |
| 3588 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3589 |
< |
*) ac_try_echo=$ac_try;; |
| 3590 |
< |
esac |
| 3591 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3592 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3593 |
< |
(eval "$ac_try") 2>&5 |
| 3594 |
< |
ac_status=$? |
| 3595 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3596 |
< |
test $ac_status = 0; }; }; then |
| 3597 |
< |
cross_compiling=no |
| 3598 |
< |
else |
| 3599 |
< |
if test "$cross_compiling" = maybe; then |
| 3600 |
< |
cross_compiling=yes |
| 3601 |
< |
else |
| 3602 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3603 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3604 |
< |
as_fn_error "cannot run C++ compiled programs. |
| 3605 |
< |
If you meant to cross compile, use \`--host'. |
| 3606 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3607 |
< |
fi |
| 3608 |
< |
fi |
| 3609 |
< |
fi |
| 3610 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3611 |
< |
$as_echo "yes" >&6; } |
| 3612 |
< |
|
| 3613 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
| 3590 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3591 |
|
ac_clean_files=$ac_clean_files_save |
| 3615 |
– |
# Check that the compiler produces executables we can run. If not, either |
| 3616 |
– |
# the compiler is broken, or we cross compile. |
| 3617 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3618 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3619 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3620 |
– |
$as_echo "$cross_compiling" >&6; } |
| 3621 |
– |
|
| 3592 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3593 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3594 |
|
if { { ac_try="$ac_link" |
| 3621 |
|
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3622 |
|
See \`config.log' for more details." "$LINENO" 5; } |
| 3623 |
|
fi |
| 3624 |
< |
rm -f conftest$ac_cv_exeext |
| 3624 |
> |
rm -f conftest conftest$ac_cv_exeext |
| 3625 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3626 |
|
$as_echo "$ac_cv_exeext" >&6; } |
| 3627 |
|
|
| 3628 |
|
rm -f conftest.$ac_ext |
| 3629 |
|
EXEEXT=$ac_cv_exeext |
| 3630 |
|
ac_exeext=$EXEEXT |
| 3631 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3632 |
+ |
/* end confdefs.h. */ |
| 3633 |
+ |
#include <stdio.h> |
| 3634 |
+ |
int |
| 3635 |
+ |
main () |
| 3636 |
+ |
{ |
| 3637 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
| 3638 |
+ |
return ferror (f) || fclose (f) != 0; |
| 3639 |
+ |
|
| 3640 |
+ |
; |
| 3641 |
+ |
return 0; |
| 3642 |
+ |
} |
| 3643 |
+ |
_ACEOF |
| 3644 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
| 3645 |
+ |
# Check that the compiler produces executables we can run. If not, either |
| 3646 |
+ |
# the compiler is broken, or we cross compile. |
| 3647 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3648 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3649 |
+ |
if test "$cross_compiling" != yes; then |
| 3650 |
+ |
{ { ac_try="$ac_link" |
| 3651 |
+ |
case "(($ac_try" in |
| 3652 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3653 |
+ |
*) ac_try_echo=$ac_try;; |
| 3654 |
+ |
esac |
| 3655 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3656 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3657 |
+ |
(eval "$ac_link") 2>&5 |
| 3658 |
+ |
ac_status=$? |
| 3659 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3660 |
+ |
test $ac_status = 0; } |
| 3661 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
| 3662 |
+ |
{ { case "(($ac_try" in |
| 3663 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3664 |
+ |
*) ac_try_echo=$ac_try;; |
| 3665 |
+ |
esac |
| 3666 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3667 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3668 |
+ |
(eval "$ac_try") 2>&5 |
| 3669 |
+ |
ac_status=$? |
| 3670 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3671 |
+ |
test $ac_status = 0; }; }; then |
| 3672 |
+ |
cross_compiling=no |
| 3673 |
+ |
else |
| 3674 |
+ |
if test "$cross_compiling" = maybe; then |
| 3675 |
+ |
cross_compiling=yes |
| 3676 |
+ |
else |
| 3677 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3678 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3679 |
+ |
as_fn_error "cannot run C++ compiled programs. |
| 3680 |
+ |
If you meant to cross compile, use \`--host'. |
| 3681 |
+ |
See \`config.log' for more details." "$LINENO" 5; } |
| 3682 |
+ |
fi |
| 3683 |
+ |
fi |
| 3684 |
+ |
fi |
| 3685 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3686 |
+ |
$as_echo "$cross_compiling" >&6; } |
| 3687 |
+ |
|
| 3688 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3689 |
+ |
ac_clean_files=$ac_clean_files_save |
| 3690 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3691 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3692 |
|
if test "${ac_cv_objext+set}" = set; then : |
| 4038 |
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
| 4039 |
|
if test x = x"$MPILIBS"; then |
| 4040 |
|
USE_MPI="no" |
| 4041 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C++ MPI implementation found. oopse_MPI will not be built." >&5 |
| 4042 |
< |
$as_echo "$as_me: WARNING: No suitable C++ MPI implementation found. oopse_MPI will not be built." >&2;} |
| 4041 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C++ MPI implementation found. openmd_MPI will not be built." >&5 |
| 4042 |
> |
$as_echo "$as_me: WARNING: No suitable C++ MPI implementation found. openmd_MPI will not be built." >&2;} |
| 4043 |
|
: |
| 4044 |
|
else |
| 4045 |
|
USE_MPI="yes" |
| 4368 |
|
... rest of stderr output deleted ... |
| 4369 |
|
10q' conftest.err >conftest.er1 |
| 4370 |
|
cat conftest.er1 >&5 |
| 4371 |
< |
rm -f conftest.er1 conftest.err |
| 4372 |
< |
fi |
| 4371 |
> |
fi |
| 4372 |
> |
rm -f conftest.er1 conftest.err |
| 4373 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4374 |
|
test $ac_status = 0; } |
| 4375 |
|
done |
| 4773 |
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
| 4774 |
|
if test x = x"$MPILIBS"; then |
| 4775 |
|
USE_MPI="no" |
| 4776 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C MPI implementation found. oopse_MPI will not be built." >&5 |
| 4777 |
< |
$as_echo "$as_me: WARNING: No suitable C MPI implementation found. oopse_MPI will not be built." >&2;} |
| 4776 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C MPI implementation found. openmd_MPI will not be built." >&5 |
| 4777 |
> |
$as_echo "$as_me: WARNING: No suitable C MPI implementation found. openmd_MPI will not be built." >&2;} |
| 4778 |
|
: |
| 4779 |
|
else |
| 4780 |
|
USE_MPI="yes" |
| 4907 |
|
... rest of stderr output deleted ... |
| 4908 |
|
10q' conftest.err >conftest.er1 |
| 4909 |
|
cat conftest.er1 >&5 |
| 4881 |
– |
rm -f conftest.er1 conftest.err |
| 4910 |
|
fi |
| 4911 |
+ |
rm -f conftest.er1 conftest.err |
| 4912 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4913 |
|
test $ac_status = 0; } |
| 4914 |
|
done |
| 5213 |
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
| 5214 |
|
if test x = x"$MPILIBS"; then |
| 5215 |
|
USE_MPI="no" |
| 5216 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable Fortran MPI implementation found. oopse_MPI will not be built." >&5 |
| 5217 |
< |
$as_echo "$as_me: WARNING: No suitable Fortran MPI implementation found. oopse_MPI will not be built." >&2;} |
| 5216 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable Fortran MPI implementation found. openmd_MPI will not be built." >&5 |
| 5217 |
> |
$as_echo "$as_me: WARNING: No suitable Fortran MPI implementation found. openmd_MPI will not be built." >&2;} |
| 5218 |
|
: |
| 5219 |
|
else |
| 5220 |
|
USE_MPI="yes" |
| 5363 |
|
... rest of stderr output deleted ... |
| 5364 |
|
10q' conftest.err >conftest.er1 |
| 5365 |
|
cat conftest.er1 >&5 |
| 5337 |
– |
rm -f conftest.er1 conftest.err |
| 5366 |
|
fi |
| 5367 |
+ |
rm -f conftest.er1 conftest.err |
| 5368 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5369 |
|
test $ac_status = 0; } |
| 5370 |
|
done |
| 5619 |
|
... rest of stderr output deleted ... |
| 5620 |
|
10q' conftest.err >conftest.er1 |
| 5621 |
|
cat conftest.er1 >&5 |
| 5593 |
– |
rm -f conftest.er1 conftest.err |
| 5622 |
|
fi |
| 5623 |
+ |
rm -f conftest.er1 conftest.err |
| 5624 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5625 |
|
test $ac_status = 0; } |
| 5626 |
|
done |
| 5960 |
|
... rest of stderr output deleted ... |
| 5961 |
|
10q' conftest.err >conftest.er1 |
| 5962 |
|
cat conftest.er1 >&5 |
| 5934 |
– |
rm -f conftest.er1 conftest.err |
| 5963 |
|
fi |
| 5964 |
+ |
rm -f conftest.er1 conftest.err |
| 5965 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 5966 |
|
test $ac_status = 0; } |
| 5967 |
|
done |
| 6658 |
|
x/*) ;; |
| 6659 |
|
*) INSTALL=`pwd`/ac-tools/"shtool install -c" ; |
| 6660 |
|
esac |
| 6661 |
< |
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" |
| 6661 |
> |
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f -m 755" |
| 6662 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 6663 |
|
set dummy ar; ac_word=$2 |
| 6664 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8696 |
|
echo "" |
| 8697 |
|
echo "*********************************************************" |
| 8698 |
|
echo "* WARNING: Could not find a working zlib installation *" |
| 8699 |
< |
echo "* If you need OOPSE to be able to deal with compressed *" |
| 8699 |
> |
echo "* If you need OpenMD to be able to deal with compressed *" |
| 8700 |
|
echo "* trajectory dump files be sure to specify a valid zlib *" |
| 8701 |
|
echo "* installation with --with-zlib=DIR *" |
| 8702 |
|
echo "* *" |
| 8703 |
< |
echo "* OOPSE will still work without zlib installed. *" |
| 8703 |
> |
echo "* OpenMD will still work without zlib installed. *" |
| 8704 |
|
echo "*********************************************************" |
| 8705 |
|
echo "" |
| 8706 |
|
fi |
| 8972 |
|
echo "* compute undulation spectra, be sure to specify a *" |
| 8973 |
|
echo "* valid fftw installation with --with-fftw=DIR *" |
| 8974 |
|
echo "* *" |
| 8975 |
< |
echo "* OOPSE will still work without fftw installed. *" |
| 8975 |
> |
echo "* OpenMD will still work without fftw installed. *" |
| 8976 |
|
echo "*********************************************************" |
| 8977 |
|
echo "" |
| 8978 |
|
fi |
| 9119 |
|
$as_echo "$as_me: WARNING: " >&2;} |
| 9120 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a working qhull installation" >&5 |
| 9121 |
|
$as_echo "$as_me: WARNING: Could not find a working qhull installation" >&2;} |
| 9122 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you need OOPSE to be able to deal with convex " >&5 |
| 9123 |
< |
$as_echo "$as_me: WARNING: If you need OOPSE to be able to deal with convex " >&2;} |
| 9122 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you need OpenMD to be able to deal with convex " >&5 |
| 9123 |
> |
$as_echo "$as_me: WARNING: If you need OpenMD to be able to deal with convex " >&2;} |
| 9124 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hulls be sure to specify a valid qhull installation " >&5 |
| 9125 |
|
$as_echo "$as_me: WARNING: hulls be sure to specify a valid qhull installation " >&2;} |
| 9126 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: with --with-qhull=DIR " >&5 |
| 9127 |
|
$as_echo "$as_me: WARNING: with --with-qhull=DIR " >&2;} |
| 9128 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5 |
| 9129 |
|
$as_echo "$as_me: WARNING: " >&2;} |
| 9130 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OOPSE will still work without qhull installed. " >&5 |
| 9131 |
< |
$as_echo "$as_me: WARNING: OOPSE will still work without qhull installed. " >&2;} |
| 9130 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenMD will still work without qhull installed. " >&5 |
| 9131 |
> |
$as_echo "$as_me: WARNING: OpenMD will still work without qhull installed. " >&2;} |
| 9132 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5 |
| 9133 |
|
$as_echo "$as_me: WARNING: " >&2;} |
| 9134 |
|
fi |
| 9402 |
|
echo "" |
| 9403 |
|
echo "*********************************************************" |
| 9404 |
|
echo "* WARNING: Could not find a working openbabel-2.x *" |
| 9405 |
< |
echo "* installation If you need OOPSE to be able to convert *" |
| 9405 |
> |
echo "* installation If you need OpenMD to be able to convert *" |
| 9406 |
|
echo "* xyz or pdb files you need to specify a valid *" |
| 9407 |
|
echo "* openbabel-2.x installation with --with-openbabel=DIR *" |
| 9408 |
|
echo "* *" |
| 9409 |
< |
echo "* OOPSE will still work without openbabel installed. *" |
| 9409 |
> |
echo "* OpenMD will still work without openbabel installed. *" |
| 9410 |
|
echo "*********************************************************" |
| 9411 |
|
echo "" |
| 9412 |
|
fi |
| 11326 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 11327 |
|
# values after options handling. |
| 11328 |
|
ac_log=" |
| 11329 |
< |
This file was extended by OOPSE $as_me 4.0, which was |
| 11330 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 11329 |
> |
This file was extended by OpenMD $as_me 1.0, which was |
| 11330 |
> |
generated by GNU Autoconf 2.65. Invocation command line was |
| 11331 |
|
|
| 11332 |
|
CONFIG_FILES = $CONFIG_FILES |
| 11333 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 11366 |
|
|
| 11367 |
|
-h, --help print this help, then exit |
| 11368 |
|
-V, --version print version number and configuration settings, then exit |
| 11369 |
+ |
--config print configuration, then exit |
| 11370 |
|
-q, --quiet, --silent |
| 11371 |
|
do not print progress messages |
| 11372 |
|
-d, --debug don't remove temporary files |
| 11386 |
|
|
| 11387 |
|
_ACEOF |
| 11388 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 11389 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 11390 |
|
ac_cs_version="\\ |
| 11391 |
< |
OOPSE config.status 4.0 |
| 11392 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
| 11393 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 11391 |
> |
OpenMD config.status 1.0 |
| 11392 |
> |
configured by $0, generated by GNU Autoconf 2.65, |
| 11393 |
> |
with options \\"\$ac_cs_config\\" |
| 11394 |
|
|
| 11395 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
| 11396 |
|
This config.status script is free software; the Free Software Foundation |
| 11426 |
|
ac_cs_recheck=: ;; |
| 11427 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 11428 |
|
$as_echo "$ac_cs_version"; exit ;; |
| 11429 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
| 11430 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
| 11431 |
|
--debug | --debu | --deb | --de | --d | -d ) |
| 11432 |
|
debug=: ;; |
| 11433 |
|
--file | --fil | --fi | --f ) |
| 11613 |
|
t delim |
| 11614 |
|
:nl |
| 11615 |
|
h |
| 11616 |
< |
s/\(.\{148\}\).*/\1/ |
| 11616 |
> |
s/\(.\{148\}\)..*/\1/ |
| 11617 |
|
t more1 |
| 11618 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 11619 |
|
p |
| 11627 |
|
t nl |
| 11628 |
|
:delim |
| 11629 |
|
h |
| 11630 |
< |
s/\(.\{148\}\).*/\1/ |
| 11630 |
> |
s/\(.\{148\}\)..*/\1/ |
| 11631 |
|
t more2 |
| 11632 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 11633 |
|
p |