| 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 |
| 607 |
|
DOC |
| 608 |
|
DOT |
| 609 |
|
DOXYGEN |
| 607 |
– |
USE_CGAL |
| 608 |
– |
CGAL_LIBS |
| 609 |
– |
CGAL_LDFLAGS |
| 610 |
– |
CGAL_CPPFLAGS |
| 611 |
– |
CGAL_CXXFLAGS |
| 612 |
– |
CGAL_MAKEFILE |
| 610 |
|
POW_LIB |
| 611 |
|
LIBOBJS |
| 612 |
|
USE_OPENBABEL |
| 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 |
| 733 |
|
with_fftw |
| 734 |
|
with_qhull |
| 735 |
|
with_openbabel |
| 739 |
– |
with_cgalmakefile |
| 736 |
|
enable_doxygen |
| 737 |
|
enable_dot |
| 738 |
|
enable_html_docs |
| 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) |
| 1393 |
|
--with-openbabel=DIR root directory path of openbabel-2.x installation |
| 1394 |
|
(defaults to /usr/local or /usr if not found in |
| 1395 |
|
/usr/local) |
| 1400 |
– |
--with-cgalmakefile=makefile |
| 1401 |
– |
Use the following CGAL makefile |
| 1396 |
|
|
| 1397 |
|
Some influential environment variables: |
| 1398 |
|
CXX C++ compiler command |
| 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 |
| 2896 |
|
|
| 2897 |
|
|
| 2898 |
|
|
| 2905 |
– |
|
| 2906 |
– |
|
| 2907 |
– |
|
| 2908 |
– |
|
| 2909 |
– |
|
| 2910 |
– |
|
| 2911 |
– |
|
| 2912 |
– |
|
| 2913 |
– |
|
| 2914 |
– |
|
| 2915 |
– |
|
| 2916 |
– |
|
| 2917 |
– |
|
| 2918 |
– |
|
| 2919 |
– |
|
| 2920 |
– |
|
| 2921 |
– |
|
| 2922 |
– |
|
| 2923 |
– |
|
| 2924 |
– |
|
| 2925 |
– |
|
| 2926 |
– |
# This is taken from http://autoqt.sourceforge.net/ |
| 2927 |
– |
# Copyright (c) 2002, Geoffrey Wossum |
| 2928 |
– |
# All rights reserved. |
| 2929 |
– |
|
| 2930 |
– |
# Redistribution and use in source and binary forms, with or without |
| 2931 |
– |
# modification, are permitted provided that the following conditions are |
| 2932 |
– |
# met: |
| 2933 |
– |
|
| 2934 |
– |
# - Redistributions of source code must retain the above copyright notice, |
| 2935 |
– |
# this list of conditions and the following disclaimer. |
| 2936 |
– |
|
| 2937 |
– |
# - Redistributions in binary form must reproduce the above copyright |
| 2938 |
– |
# notice, this list of conditions and the following disclaimer in the |
| 2939 |
– |
# documentation and/or other materials provided with the distribution. |
| 2940 |
– |
|
| 2941 |
– |
# - Neither the name of Geoffrey Wossum nor the names of its |
| 2942 |
– |
# contributors may be used to endorse or promote products derived from |
| 2943 |
– |
# this software without specific prior written permission. |
| 2944 |
– |
|
| 2945 |
– |
|
| 2946 |
– |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 2947 |
– |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 2948 |
– |
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 2949 |
– |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 2950 |
– |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 2951 |
– |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 2952 |
– |
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 2953 |
– |
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 2954 |
– |
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 2955 |
– |
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 2956 |
– |
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 2957 |
– |
|
| 2958 |
– |
|
| 2959 |
– |
# Check for Qt compiler flags, linker flags, and binary packages |
| 2960 |
– |
|
| 2961 |
– |
|
| 2962 |
– |
|
| 2899 |
|
# who am i |
| 2900 |
|
# Make sure we can run config.sub. |
| 2901 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 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 |
| 3546 |
– |
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 |
|
{ |
| 3558 |
– |
FILE *f = fopen ("conftest.out", "w"); |
| 3559 |
– |
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 |
| 3633 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3634 |
– |
$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 |
| 3648 |
< |
# the compiler is broken, or we cross compile. |
| 3649 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
| 3650 |
< |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
| 3651 |
< |
# If not cross compiling, check that we can run a simple program. |
| 3652 |
< |
if test "$cross_compiling" != yes; then |
| 3653 |
< |
if { ac_try='./$ac_file' |
| 3654 |
< |
{ { case "(($ac_try" in |
| 3655 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3656 |
< |
*) ac_try_echo=$ac_try;; |
| 3657 |
< |
esac |
| 3658 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3659 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3660 |
< |
(eval "$ac_try") 2>&5 |
| 3661 |
< |
ac_status=$? |
| 3662 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3663 |
< |
test $ac_status = 0; }; }; then |
| 3664 |
< |
cross_compiling=no |
| 3665 |
< |
else |
| 3666 |
< |
if test "$cross_compiling" = maybe; then |
| 3667 |
< |
cross_compiling=yes |
| 3668 |
< |
else |
| 3669 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3670 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3671 |
< |
as_fn_error "cannot run C++ compiled programs. |
| 3672 |
< |
If you meant to cross compile, use \`--host'. |
| 3673 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3674 |
< |
fi |
| 3675 |
< |
fi |
| 3676 |
< |
fi |
| 3677 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3678 |
< |
$as_echo "yes" >&6; } |
| 3679 |
< |
|
| 3680 |
< |
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 |
| 3682 |
– |
# Check that the compiler produces executables we can run. If not, either |
| 3683 |
– |
# the compiler is broken, or we cross compile. |
| 3684 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3685 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3686 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3687 |
– |
$as_echo "$cross_compiling" >&6; } |
| 3688 |
– |
|
| 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 |
| 4409 |
– |
rm -f conftest.er1 conftest.err |
| 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 |
| 4948 |
– |
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 |
| 5404 |
– |
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 |
| 5660 |
– |
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 |
| 6001 |
– |
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 |
| 10664 |
|
fi |
| 10665 |
|
|
| 10666 |
|
;; |
| 10705 |
– |
esac |
| 10706 |
– |
|
| 10707 |
– |
|
| 10708 |
– |
acx_cgal_found=no |
| 10709 |
– |
|
| 10710 |
– |
# Check whether --with-cgalmakefile was given. |
| 10711 |
– |
if test "${with_cgalmakefile+set}" = set; then : |
| 10712 |
– |
withval=$with_cgalmakefile; |
| 10713 |
– |
fi |
| 10714 |
– |
|
| 10715 |
– |
case $with_cgalmakefile in |
| 10716 |
– |
yes | "") ;; |
| 10717 |
– |
no) acx_cgal_found=disable ;; |
| 10718 |
– |
-* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 10719 |
– |
*) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 10667 |
|
esac |
| 10721 |
– |
|
| 10722 |
– |
if test "$acx_cgal_found" == no; then |
| 10723 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CGAL_MAKEFILE" >&5 |
| 10724 |
– |
$as_echo_n "checking CGAL_MAKEFILE... " >&6; } |
| 10725 |
– |
|
| 10726 |
– |
if test \! -z "$CGAL_MAKEFILE"; then |
| 10727 |
– |
|
| 10728 |
– |
if test -e "$CGAL_MAKEFILE"; then |
| 10729 |
– |
tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` |
| 10730 |
– |
|
| 10731 |
– |
cat > $tname << _ACEOF |
| 10732 |
– |
include $CGAL_MAKEFILE |
| 10733 |
– |
|
| 10734 |
– |
cppflags: |
| 10735 |
– |
@echo \$(CGAL_CXXFLAGS) |
| 10736 |
– |
|
| 10737 |
– |
cxxflags: |
| 10738 |
– |
@echo |
| 10739 |
– |
ldflags: |
| 10740 |
– |
@echo \$(CGAL_LDFLAGS) |
| 10741 |
– |
_ACEOF |
| 10742 |
– |
CGAL_CPPFLAGS="`make -s -f $tname cppflags`" |
| 10743 |
– |
CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" |
| 10744 |
– |
CGAL_LDFLAGST="`make -s -f $tname ldflags`" |
| 10745 |
– |
for i in $CGAL_LDFLAGST; do |
| 10746 |
– |
if test `echo $i| grep -c ^-l`; then |
| 10747 |
– |
CGAL_LIBS="$CGAL_LIBS $i" |
| 10748 |
– |
else |
| 10749 |
– |
CGAL_LDFLAGS="$CGAL_LDFLAGS $i" |
| 10750 |
– |
fi |
| 10751 |
– |
done |
| 10752 |
– |
rm -f $tname |
| 10753 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 10754 |
– |
$as_echo "yes" >&6; } |
| 10755 |
– |
acx_cgal_found=yes |
| 10756 |
– |
else |
| 10757 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: invalid" >&5 |
| 10758 |
– |
$as_echo "invalid" >&6; } |
| 10759 |
– |
as_fn_error "CGAL_MAKEFILE defined, but the makefile does not exist." "$LINENO" 5 |
| 10760 |
– |
fi |
| 10761 |
– |
else |
| 10762 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not defined" >&5 |
| 10763 |
– |
$as_echo "not defined" >&6; } |
| 10764 |
– |
fi |
| 10765 |
– |
fi |
| 10668 |
|
|
| 10767 |
– |
if test "$acx_cgal_found" == no; then |
| 10768 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "CGAL/Exact_predicates_inexact_constructions_kernel.h" "ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" "$ac_includes_default" |
| 10769 |
– |
if test "x$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" = x""yes; then : |
| 10770 |
– |
cgal_have_header=yes |
| 10771 |
– |
else |
| 10772 |
– |
cgal_have_header=no |
| 10773 |
– |
fi |
| 10669 |
|
|
| 10775 |
– |
|
| 10776 |
– |
if test "$cgal_have_header" == yes; then |
| 10777 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCGAL" >&5 |
| 10778 |
– |
$as_echo_n "checking for main in -lCGAL... " >&6; } |
| 10779 |
– |
if test "${ac_cv_lib_CGAL_main+set}" = set; then : |
| 10780 |
– |
$as_echo_n "(cached) " >&6 |
| 10781 |
– |
else |
| 10782 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 10783 |
– |
LIBS="-lCGAL $LIBS" |
| 10784 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10785 |
– |
/* end confdefs.h. */ |
| 10786 |
– |
|
| 10787 |
– |
|
| 10788 |
– |
#ifdef FC_DUMMY_MAIN |
| 10789 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 10790 |
– |
# ifdef __cplusplus |
| 10791 |
– |
extern "C" |
| 10792 |
– |
# endif |
| 10793 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 10794 |
– |
#endif |
| 10795 |
– |
#endif |
| 10796 |
– |
int |
| 10797 |
– |
main () |
| 10798 |
– |
{ |
| 10799 |
– |
return main (); |
| 10800 |
– |
; |
| 10801 |
– |
return 0; |
| 10802 |
– |
} |
| 10803 |
– |
_ACEOF |
| 10804 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 10805 |
– |
ac_cv_lib_CGAL_main=yes |
| 10806 |
– |
else |
| 10807 |
– |
ac_cv_lib_CGAL_main=no |
| 10808 |
– |
fi |
| 10809 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 10810 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10811 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 10812 |
– |
fi |
| 10813 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_main" >&5 |
| 10814 |
– |
$as_echo "$ac_cv_lib_CGAL_main" >&6; } |
| 10815 |
– |
if test "x$ac_cv_lib_CGAL_main" = x""yes; then : |
| 10816 |
– |
cgal_have_lib=yes |
| 10817 |
– |
else |
| 10818 |
– |
cgal_have_lib=no |
| 10819 |
– |
fi |
| 10820 |
– |
|
| 10821 |
– |
if test "$cgal_have_lib" == no; then |
| 10822 |
– |
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
| 10823 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCGAL" >&5 |
| 10824 |
– |
$as_echo_n "checking for main in -lCGAL... " >&6; } |
| 10825 |
– |
if test "${ac_cv_lib_CGAL_main+set}" = set; then : |
| 10826 |
– |
$as_echo_n "(cached) " >&6 |
| 10827 |
– |
else |
| 10828 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 10829 |
– |
LIBS="-lCGAL $LIBS" |
| 10830 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10831 |
– |
/* end confdefs.h. */ |
| 10832 |
– |
|
| 10833 |
– |
|
| 10834 |
– |
#ifdef FC_DUMMY_MAIN |
| 10835 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 10836 |
– |
# ifdef __cplusplus |
| 10837 |
– |
extern "C" |
| 10838 |
– |
# endif |
| 10839 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 10840 |
– |
#endif |
| 10841 |
– |
#endif |
| 10842 |
– |
int |
| 10843 |
– |
main () |
| 10844 |
– |
{ |
| 10845 |
– |
return main (); |
| 10846 |
– |
; |
| 10847 |
– |
return 0; |
| 10848 |
– |
} |
| 10849 |
– |
_ACEOF |
| 10850 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 10851 |
– |
ac_cv_lib_CGAL_main=yes |
| 10852 |
– |
else |
| 10853 |
– |
ac_cv_lib_CGAL_main=no |
| 10854 |
– |
fi |
| 10855 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 10856 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10857 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 10858 |
– |
fi |
| 10859 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_main" >&5 |
| 10860 |
– |
$as_echo "$ac_cv_lib_CGAL_main" >&6; } |
| 10861 |
– |
if test "x$ac_cv_lib_CGAL_main" = x""yes; then : |
| 10862 |
– |
CGAL_LIBS="-lCGAL -lgmp -lmpfr" |
| 10863 |
– |
cgal_have_lib=yes |
| 10864 |
– |
else |
| 10865 |
– |
cgal_have_lib=no |
| 10866 |
– |
fi |
| 10867 |
– |
|
| 10868 |
– |
LIBS="$save_LIBS" |
| 10869 |
– |
else |
| 10870 |
– |
CGAL_LIBS="-lCGAL" |
| 10871 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpfr" >&5 |
| 10872 |
– |
$as_echo_n "checking for main in -lmpfr... " >&6; } |
| 10873 |
– |
if test "${ac_cv_lib_mpfr_main+set}" = set; then : |
| 10874 |
– |
$as_echo_n "(cached) " >&6 |
| 10875 |
– |
else |
| 10876 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 10877 |
– |
LIBS="-lmpfr $LIBS" |
| 10878 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10879 |
– |
/* end confdefs.h. */ |
| 10880 |
– |
|
| 10881 |
– |
|
| 10882 |
– |
#ifdef FC_DUMMY_MAIN |
| 10883 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 10884 |
– |
# ifdef __cplusplus |
| 10885 |
– |
extern "C" |
| 10886 |
– |
# endif |
| 10887 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 10888 |
– |
#endif |
| 10889 |
– |
#endif |
| 10890 |
– |
int |
| 10891 |
– |
main () |
| 10892 |
– |
{ |
| 10893 |
– |
return main (); |
| 10894 |
– |
; |
| 10895 |
– |
return 0; |
| 10896 |
– |
} |
| 10897 |
– |
_ACEOF |
| 10898 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 10899 |
– |
ac_cv_lib_mpfr_main=yes |
| 10900 |
– |
else |
| 10901 |
– |
ac_cv_lib_mpfr_main=no |
| 10902 |
– |
fi |
| 10903 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 10904 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10905 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 10906 |
– |
fi |
| 10907 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_main" >&5 |
| 10908 |
– |
$as_echo "$ac_cv_lib_mpfr_main" >&6; } |
| 10909 |
– |
if test "x$ac_cv_lib_mpfr_main" = x""yes; then : |
| 10910 |
– |
CGAL_LIBS="$CGAL_LIBS -lmpfr" |
| 10911 |
– |
fi |
| 10912 |
– |
|
| 10913 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
| 10914 |
– |
$as_echo_n "checking for main in -lgmp... " >&6; } |
| 10915 |
– |
if test "${ac_cv_lib_gmp_main+set}" = set; then : |
| 10916 |
– |
$as_echo_n "(cached) " >&6 |
| 10917 |
– |
else |
| 10918 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 10919 |
– |
LIBS="-lgmp $LIBS" |
| 10920 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10921 |
– |
/* end confdefs.h. */ |
| 10922 |
– |
|
| 10923 |
– |
|
| 10924 |
– |
#ifdef FC_DUMMY_MAIN |
| 10925 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 10926 |
– |
# ifdef __cplusplus |
| 10927 |
– |
extern "C" |
| 10928 |
– |
# endif |
| 10929 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 10930 |
– |
#endif |
| 10931 |
– |
#endif |
| 10932 |
– |
int |
| 10933 |
– |
main () |
| 10934 |
– |
{ |
| 10935 |
– |
return main (); |
| 10936 |
– |
; |
| 10937 |
– |
return 0; |
| 10938 |
– |
} |
| 10939 |
– |
_ACEOF |
| 10940 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 10941 |
– |
ac_cv_lib_gmp_main=yes |
| 10942 |
– |
else |
| 10943 |
– |
ac_cv_lib_gmp_main=no |
| 10944 |
– |
fi |
| 10945 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 10946 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10947 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 10948 |
– |
fi |
| 10949 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
| 10950 |
– |
$as_echo "$ac_cv_lib_gmp_main" >&6; } |
| 10951 |
– |
if test "x$ac_cv_lib_gmp_main" = x""yes; then : |
| 10952 |
– |
CGAL_LIBS="$CGAL_LIBS -lgmp" |
| 10953 |
– |
fi |
| 10954 |
– |
|
| 10955 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmpxx" >&5 |
| 10956 |
– |
$as_echo_n "checking for main in -lgmpxx... " >&6; } |
| 10957 |
– |
if test "${ac_cv_lib_gmpxx_main+set}" = set; then : |
| 10958 |
– |
$as_echo_n "(cached) " >&6 |
| 10959 |
– |
else |
| 10960 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 10961 |
– |
LIBS="-lgmpxx $LIBS" |
| 10962 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10963 |
– |
/* end confdefs.h. */ |
| 10964 |
– |
|
| 10965 |
– |
|
| 10966 |
– |
#ifdef FC_DUMMY_MAIN |
| 10967 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 10968 |
– |
# ifdef __cplusplus |
| 10969 |
– |
extern "C" |
| 10970 |
– |
# endif |
| 10971 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 10972 |
– |
#endif |
| 10973 |
– |
#endif |
| 10974 |
– |
int |
| 10975 |
– |
main () |
| 10976 |
– |
{ |
| 10977 |
– |
return main (); |
| 10978 |
– |
; |
| 10979 |
– |
return 0; |
| 10980 |
– |
} |
| 10981 |
– |
_ACEOF |
| 10982 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 10983 |
– |
ac_cv_lib_gmpxx_main=yes |
| 10984 |
– |
else |
| 10985 |
– |
ac_cv_lib_gmpxx_main=no |
| 10986 |
– |
fi |
| 10987 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 10988 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10989 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 10990 |
– |
fi |
| 10991 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmpxx_main" >&5 |
| 10992 |
– |
$as_echo "$ac_cv_lib_gmpxx_main" >&6; } |
| 10993 |
– |
if test "x$ac_cv_lib_gmpxx_main" = x""yes; then : |
| 10994 |
– |
CGAL_LIBS="$CGAL_LIBS -lgmpxx" |
| 10995 |
– |
fi |
| 10996 |
– |
|
| 10997 |
– |
fi |
| 10998 |
– |
|
| 10999 |
– |
if test "$cgal_have_lib" == yes; then |
| 11000 |
– |
acx_cgal_found=yes |
| 11001 |
– |
fi |
| 11002 |
– |
fi |
| 11003 |
– |
if test "$acx_cgal_found" == yes; then |
| 11004 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCore" >&5 |
| 11005 |
– |
$as_echo_n "checking for main in -lCore... " >&6; } |
| 11006 |
– |
if test "${ac_cv_lib_Core_main+set}" = set; then : |
| 11007 |
– |
$as_echo_n "(cached) " >&6 |
| 11008 |
– |
else |
| 11009 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 11010 |
– |
LIBS="-lCore $LIBS" |
| 11011 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11012 |
– |
/* end confdefs.h. */ |
| 11013 |
– |
|
| 11014 |
– |
|
| 11015 |
– |
#ifdef FC_DUMMY_MAIN |
| 11016 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 11017 |
– |
# ifdef __cplusplus |
| 11018 |
– |
extern "C" |
| 11019 |
– |
# endif |
| 11020 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 11021 |
– |
#endif |
| 11022 |
– |
#endif |
| 11023 |
– |
int |
| 11024 |
– |
main () |
| 11025 |
– |
{ |
| 11026 |
– |
return main (); |
| 11027 |
– |
; |
| 11028 |
– |
return 0; |
| 11029 |
– |
} |
| 11030 |
– |
_ACEOF |
| 11031 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 11032 |
– |
ac_cv_lib_Core_main=yes |
| 11033 |
– |
else |
| 11034 |
– |
ac_cv_lib_Core_main=no |
| 11035 |
– |
fi |
| 11036 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 11037 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 11038 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 11039 |
– |
fi |
| 11040 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Core_main" >&5 |
| 11041 |
– |
$as_echo "$ac_cv_lib_Core_main" >&6; } |
| 11042 |
– |
if test "x$ac_cv_lib_Core_main" = x""yes; then : |
| 11043 |
– |
CGAL_LIBS="$CGAL_LIBS -lCore" |
| 11044 |
– |
fi |
| 11045 |
– |
|
| 11046 |
– |
fi |
| 11047 |
– |
fi |
| 11048 |
– |
|
| 11049 |
– |
|
| 11050 |
– |
|
| 11051 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CGAL" >&5 |
| 11052 |
– |
$as_echo_n "checking CGAL... " >&6; } |
| 11053 |
– |
|
| 11054 |
– |
|
| 11055 |
– |
|
| 11056 |
– |
|
| 11057 |
– |
|
| 11058 |
– |
if test "$acx_cgal_found" == yes; then |
| 11059 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 11060 |
– |
$as_echo "yes" >&6; } |
| 11061 |
– |
|
| 11062 |
– |
else |
| 11063 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11064 |
– |
$as_echo "no" >&6; } |
| 11065 |
– |
|
| 11066 |
– |
fi |
| 11067 |
– |
USE_CGAL=no |
| 11068 |
– |
if test "$acx_cgal_found" == yes; then |
| 11069 |
– |
USE_CGAL=yes |
| 11070 |
– |
|
| 11071 |
– |
$as_echo "#define HAVE_CGAL 1" >>confdefs.h |
| 11072 |
– |
|
| 11073 |
– |
|
| 11074 |
– |
|
| 11075 |
– |
|
| 11076 |
– |
|
| 11077 |
– |
fi |
| 11078 |
– |
|
| 11079 |
– |
|
| 11080 |
– |
|
| 11081 |
– |
|
| 10670 |
|
# Check whether --enable-doxygen was given. |
| 10671 |
|
if test "${enable_doxygen+set}" = set; then : |
| 10672 |
|
enableval=$enable_doxygen; |
| 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 |