| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.59 for OOPSE 3.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 4.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 269 |
|
# Identity of this package. |
| 270 |
|
PACKAGE_NAME='OOPSE' |
| 271 |
|
PACKAGE_TARNAME='oopse' |
| 272 |
< |
PACKAGE_VERSION='3.0' |
| 273 |
< |
PACKAGE_STRING='OOPSE 3.0' |
| 272 |
> |
PACKAGE_VERSION='4.0' |
| 273 |
> |
PACKAGE_STRING='OOPSE 4.0' |
| 274 |
|
PACKAGE_BUGREPORT='gezelter@nd.edu' |
| 275 |
|
|
| 276 |
|
ac_unique_file="src/applications/oopse/oopse.cpp" |
| 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROGNAME debug CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC FC FCFLAGS ac_ct_FC CPP EGREP LN_S SET_MAKE RANLIB ac_ct_RANLIB PERLINTERP PERL_SHEBANG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PS FCFLAGS_F90 FCFLAGS_SRCEXT PREPDEFFLAG FCLIBS FC_FUNC FC_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES LIBOBJS POW_LIB CXXCPP __func__ MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROGNAME debug USE_SINGLE_PRECISION CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC FC FCFLAGS ac_ct_FC CPP EGREP LN_S SET_MAKE RANLIB ac_ct_RANLIB PERLINTERP PERL_SHEBANG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PS FCFLAGS_F90 FCFLAGS_SRCEXT PREPDEFFLAG FCLIBS FC_FUNC FC_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES ZLIB_INC_DIR ZLIB_LIB_DIR ZLIB FFTW_INC_DIR FFTW_LIB_DIR FFTW_LIBS QHULL_INC_DIR QHULL_LIB_DIR QHULL USE_QHULL LIBOBJS POW_LIB CXXCPP __func__ MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CGAL_CXXFLAGS CGAL_LDFLAGS CGAL_CPPFLAGS CGAL_LIBS USE_CGAL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS LTLIBOBJS' |
| 316 |
|
ac_subst_files='' |
| 317 |
|
|
| 318 |
|
# Initialize some variables set by options. |
| 801 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 802 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 803 |
|
cat <<_ACEOF |
| 804 |
< |
\`configure' configures OOPSE 3.0 to adapt to many kinds of systems. |
| 804 |
> |
\`configure' configures OOPSE 4.0 to adapt to many kinds of systems. |
| 805 |
|
|
| 806 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 807 |
|
|
| 862 |
|
|
| 863 |
|
if test -n "$ac_init_help"; then |
| 864 |
|
case $ac_init_help in |
| 865 |
< |
short | recursive ) echo "Configuration of OOPSE 3.0:";; |
| 865 |
> |
short | recursive ) echo "Configuration of OOPSE 4.0:";; |
| 866 |
|
esac |
| 867 |
|
cat <<\_ACEOF |
| 868 |
|
|
| 871 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 872 |
|
--enable-oopse-home=DIR define oopse home dir PREFIX/oopse |
| 873 |
|
--enable-debug Compile OOPSE in debug mode |
| 874 |
+ |
--enable-single compile OOPSE in single precision |
| 875 |
+ |
--enable-float synonym for --enable-single |
| 876 |
|
--enable-doxygen enable documentation generation with doxygen (auto) |
| 877 |
|
--enable-dot use 'dot' to generate graphs in doxygen (auto) |
| 878 |
|
--enable-html-docs enable HTML generation with doxygen (yes) |
| 883 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 884 |
|
--with-perl-shebang override what perl thinks is the way for the kernel |
| 885 |
|
to start it (seldom needed) |
| 886 |
< |
--with-zlib=DIR root directory path of zlib installation defaults to |
| 887 |
< |
/usr/local or /usr if not found in /usr/local |
| 888 |
< |
--without-zlib to disable zlib usage completely |
| 886 |
> |
--with-zlib=DIR root directory path of zlib installation (defaults |
| 887 |
> |
to /usr/local or /usr if not found in /usr/local) |
| 888 |
> |
--with-fftw=DIR root directory path of fftw installation (defaults |
| 889 |
> |
to /usr/local or /usr if not found in /usr/local) |
| 890 |
> |
--with-qhull=DIR root directory path of qhull installation (defaults |
| 891 |
> |
to /usr/local or /usr if not found in /usr/local) |
| 892 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
| 893 |
< |
--with-cgal-makefile=FILE CGAL makefile that should be used |
| 893 |
> |
--with-cgalmakefile=makefile |
| 894 |
> |
Use the following CGAL makefile |
| 895 |
|
|
| 896 |
|
Some influential environment variables: |
| 897 |
|
CXX C++ compiler command |
| 1006 |
|
test -n "$ac_init_help" && exit 0 |
| 1007 |
|
if $ac_init_version; then |
| 1008 |
|
cat <<\_ACEOF |
| 1009 |
< |
OOPSE configure 3.0 |
| 1009 |
> |
OOPSE configure 4.0 |
| 1010 |
|
generated by GNU Autoconf 2.59 |
| 1011 |
|
|
| 1012 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
| 1020 |
|
This file contains any messages produced by compilers while |
| 1021 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1022 |
|
|
| 1023 |
< |
It was created by OOPSE $as_me 3.0, which was |
| 1023 |
> |
It was created by OOPSE $as_me 4.0, which was |
| 1024 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
| 1025 |
|
|
| 1026 |
|
$ $0 $@ |
| 1425 |
|
|
| 1426 |
|
|
| 1427 |
|
|
| 1428 |
+ |
|
| 1429 |
+ |
|
| 1430 |
|
# |
| 1431 |
|
# |
| 1432 |
|
# |
| 1433 |
|
|
| 1434 |
|
|
| 1435 |
+ |
|
| 1436 |
+ |
|
| 1437 |
+ |
|
| 1438 |
+ |
|
| 1439 |
+ |
|
| 1440 |
+ |
|
| 1441 |
|
# AC_F90_MODULE_NAMES |
| 1442 |
|
# ------------------- |
| 1443 |
|
# |
| 1444 |
|
# Figure out how the Fortran 90 compiler constructs module file names |
| 1445 |
|
# |
| 1446 |
|
# AC_F90_MODULE_NAMES |
| 1447 |
+ |
|
| 1448 |
+ |
|
| 1449 |
+ |
|
| 1450 |
+ |
|
| 1451 |
+ |
|
| 1452 |
+ |
|
| 1453 |
+ |
|
| 1454 |
+ |
|
| 1455 |
+ |
|
| 1456 |
+ |
|
| 1457 |
+ |
|
| 1458 |
+ |
|
| 1459 |
+ |
|
| 1460 |
+ |
|
| 1461 |
+ |
|
| 1462 |
+ |
|
| 1463 |
+ |
|
| 1464 |
+ |
|
| 1465 |
+ |
|
| 1466 |
+ |
|
| 1467 |
+ |
|
| 1468 |
+ |
|
| 1469 |
+ |
|
| 1470 |
+ |
|
| 1471 |
+ |
|
| 1472 |
+ |
|
| 1473 |
+ |
|
| 1474 |
+ |
|
| 1475 |
+ |
|
| 1476 |
+ |
|
| 1477 |
+ |
|
| 1478 |
+ |
|
| 1479 |
+ |
|
| 1480 |
+ |
|
| 1481 |
+ |
|
| 1482 |
+ |
|
| 1483 |
+ |
|
| 1484 |
+ |
|
| 1485 |
+ |
|
| 1486 |
+ |
|
| 1487 |
+ |
|
| 1488 |
+ |
|
| 1489 |
+ |
|
| 1490 |
+ |
|
| 1491 |
+ |
|
| 1492 |
+ |
|
| 1493 |
+ |
|
| 1494 |
+ |
|
| 1495 |
+ |
|
| 1496 |
+ |
|
| 1497 |
|
|
| 1498 |
|
|
| 1499 |
|
|
| 1522 |
|
|
| 1523 |
|
|
| 1524 |
|
|
| 1525 |
+ |
|
| 1526 |
+ |
|
| 1527 |
+ |
|
| 1528 |
+ |
|
| 1529 |
+ |
|
| 1530 |
+ |
|
| 1531 |
+ |
|
| 1532 |
+ |
|
| 1533 |
+ |
|
| 1534 |
+ |
|
| 1535 |
+ |
|
| 1536 |
+ |
|
| 1537 |
+ |
|
| 1538 |
+ |
|
| 1539 |
+ |
|
| 1540 |
+ |
|
| 1541 |
+ |
|
| 1542 |
+ |
|
| 1543 |
+ |
|
| 1544 |
+ |
|
| 1545 |
+ |
|
| 1546 |
+ |
|
| 1547 |
+ |
|
| 1548 |
+ |
|
| 1549 |
+ |
|
| 1550 |
+ |
|
| 1551 |
+ |
|
| 1552 |
+ |
|
| 1553 |
+ |
|
| 1554 |
+ |
|
| 1555 |
+ |
|
| 1556 |
+ |
# This is taken from http://autoqt.sourceforge.net/ |
| 1557 |
+ |
# Copyright (c) 2002, Geoffrey Wossum |
| 1558 |
+ |
# All rights reserved. |
| 1559 |
+ |
|
| 1560 |
+ |
# Redistribution and use in source and binary forms, with or without |
| 1561 |
+ |
# modification, are permitted provided that the following conditions are |
| 1562 |
+ |
# met: |
| 1563 |
+ |
|
| 1564 |
+ |
# - Redistributions of source code must retain the above copyright notice, |
| 1565 |
+ |
# this list of conditions and the following disclaimer. |
| 1566 |
+ |
|
| 1567 |
+ |
# - Redistributions in binary form must reproduce the above copyright |
| 1568 |
+ |
# notice, this list of conditions and the following disclaimer in the |
| 1569 |
+ |
# documentation and/or other materials provided with the distribution. |
| 1570 |
|
|
| 1571 |
+ |
# - Neither the name of Geoffrey Wossum nor the names of its |
| 1572 |
+ |
# contributors may be used to endorse or promote products derived from |
| 1573 |
+ |
# this software without specific prior written permission. |
| 1574 |
|
|
| 1575 |
|
|
| 1576 |
+ |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 1577 |
+ |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 1578 |
+ |
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 1579 |
+ |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 1580 |
+ |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 1581 |
+ |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 1582 |
+ |
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 1583 |
+ |
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 1584 |
+ |
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 1585 |
+ |
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 1586 |
+ |
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 1587 |
|
|
| 1588 |
|
|
| 1589 |
+ |
# Check for Qt compiler flags, linker flags, and binary packages |
| 1590 |
|
|
| 1591 |
|
|
| 1592 |
|
|
| 1687 |
|
|
| 1688 |
|
msg="$msg, debug mode" |
| 1689 |
|
fi |
| 1690 |
+ |
|
| 1691 |
+ |
|
| 1692 |
+ |
# Check whether --enable-single or --disable-single was given. |
| 1693 |
+ |
if test "${enable_single+set}" = set; then |
| 1694 |
+ |
enableval="$enable_single" |
| 1695 |
+ |
ok=$enableval |
| 1696 |
+ |
else |
| 1697 |
+ |
ok=no |
| 1698 |
+ |
fi; |
| 1699 |
+ |
# Check whether --enable-float or --disable-float was given. |
| 1700 |
+ |
if test "${enable_float+set}" = set; then |
| 1701 |
+ |
enableval="$enable_float" |
| 1702 |
+ |
ok=$enableval |
| 1703 |
+ |
fi; |
| 1704 |
+ |
if test "$ok" = "yes"; then |
| 1705 |
+ |
|
| 1706 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 1707 |
+ |
#define SINGLE_PRECISION 1 |
| 1708 |
+ |
_ACEOF |
| 1709 |
|
|
| 1710 |
+ |
USE_SINGLE_PRECISION=yes |
| 1711 |
|
|
| 1712 |
+ |
fi |
| 1713 |
+ |
|
| 1714 |
|
# Checks for programs. |
| 1715 |
|
ac_ext=cc |
| 1716 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 1718 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1719 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 1720 |
|
if test -n "$ac_tool_prefix"; then |
| 1721 |
< |
for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC |
| 1721 |
> |
for ac_prog in $CCC mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1722 |
|
do |
| 1723 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1724 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1760 |
|
fi |
| 1761 |
|
if test -z "$CXX"; then |
| 1762 |
|
ac_ct_CXX=$CXX |
| 1763 |
< |
for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC |
| 1763 |
> |
for ac_prog in $CCC mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1764 |
|
do |
| 1765 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1766 |
|
set dummy $ac_prog; ac_word=$2 |
| 2274 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2275 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2276 |
|
if test -n "$ac_tool_prefix"; then |
| 2277 |
< |
for ac_prog in icc pgcc pathcc cc xlc gcc |
| 2277 |
> |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
| 2278 |
|
do |
| 2279 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2280 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2316 |
|
fi |
| 2317 |
|
if test -z "$CC"; then |
| 2318 |
|
ac_ct_CC=$CC |
| 2319 |
< |
for ac_prog in icc pgcc pathcc cc xlc gcc |
| 2319 |
> |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
| 2320 |
|
do |
| 2321 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2322 |
|
set dummy $ac_prog; ac_word=$2 |
| 2785 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 2786 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 2787 |
|
if test -n "$ac_tool_prefix"; then |
| 2788 |
< |
for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 2788 |
> |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 2789 |
|
do |
| 2790 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2791 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2827 |
|
fi |
| 2828 |
|
if test -z "$FC"; then |
| 2829 |
|
ac_ct_FC=$FC |
| 2830 |
< |
for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 2830 |
> |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 2831 |
|
do |
| 2832 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2833 |
|
set dummy $ac_prog; ac_word=$2 |
| 2872 |
|
|
| 2873 |
|
|
| 2874 |
|
# Provide some information about the compiler. |
| 2875 |
< |
echo "$as_me:2729:" \ |
| 2875 |
> |
echo "$as_me:2875:" \ |
| 2876 |
|
"checking for Fortran compiler version" >&5 |
| 2877 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 2878 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 3624 |
|
fi |
| 3625 |
|
|
| 3626 |
|
if test "$AR" = "NONE"; then |
| 3481 |
– |
{ { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 |
| 3482 |
– |
echo "$as_me: error: --> Can't find \`ar'!" >&2;} |
| 3483 |
– |
{ (exit 1); exit 1; }; } |
| 3627 |
|
cat >confcache <<\_ACEOF |
| 3628 |
|
# This file is a shell script that caches the results of configure |
| 3629 |
|
# tests run on this system so they can be shared between configure |
| 4120 |
|
# flags. |
| 4121 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4122 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
| 4123 |
< |
(eval echo $as_me:3980: \"$ac_link\") >&5 |
| 4123 |
> |
(eval echo $as_me:4123: \"$ac_link\") >&5 |
| 4124 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4125 |
|
echo "$ac_fc_v_output" >&5 |
| 4126 |
|
FCFLAGS=$ac_save_FFLAGS |
| 4198 |
|
# flags. |
| 4199 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4200 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
| 4201 |
< |
(eval echo $as_me:4058: \"$ac_link\") >&5 |
| 4201 |
> |
(eval echo $as_me:4201: \"$ac_link\") >&5 |
| 4202 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4203 |
|
echo "$ac_fc_v_output" >&5 |
| 4204 |
|
FCFLAGS=$ac_save_FFLAGS |
| 4934 |
|
# flags. |
| 4935 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4936 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
| 4937 |
< |
(eval echo $as_me:4794: \"$ac_link\") >&5 |
| 4937 |
> |
(eval echo $as_me:4937: \"$ac_link\") >&5 |
| 4938 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4939 |
|
echo "$ac_fc_v_output" >&5 |
| 4940 |
|
FCFLAGS=$ac_save_FFLAGS |
| 5012 |
|
# flags. |
| 5013 |
|
ac_save_FFLAGS=$FCFLAGS |
| 5014 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
| 5015 |
< |
(eval echo $as_me:4872: \"$ac_link\") >&5 |
| 5015 |
> |
(eval echo $as_me:5015: \"$ac_link\") >&5 |
| 5016 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 5017 |
|
echo "$ac_fc_v_output" >&5 |
| 5018 |
|
FCFLAGS=$ac_save_FFLAGS |
| 5889 |
|
# |
| 5890 |
|
# Handle user hints |
| 5891 |
|
# |
| 5749 |
– |
echo "$as_me:$LINENO: checking if zlib is wanted" >&5 |
| 5750 |
– |
echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 |
| 5892 |
|
|
| 5893 |
|
# Check whether --with-zlib or --without-zlib was given. |
| 5894 |
|
if test "${with_zlib+set}" = set; then |
| 5895 |
|
withval="$with_zlib" |
| 5896 |
< |
if test "$withval" != no ; then |
| 5756 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5757 |
< |
echo "${ECHO_T}yes" >&6 |
| 5758 |
< |
if test -d "$withval" |
| 5759 |
< |
then |
| 5760 |
< |
ZLIB_HOME="$withval" |
| 5761 |
< |
else |
| 5762 |
< |
{ echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 |
| 5763 |
< |
echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} |
| 5764 |
< |
fi |
| 5896 |
> |
zlib_dir="$withval" |
| 5897 |
|
else |
| 5898 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5767 |
< |
echo "${ECHO_T}no" >&6 |
| 5768 |
< |
fi |
| 5898 |
> |
zlib_dir="not_set" |
| 5899 |
|
fi; |
| 5900 |
+ |
if test "$zlib_dir" != "no"; then |
| 5901 |
|
|
| 5902 |
< |
ZLIB_HOME=/usr/local |
| 5903 |
< |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 5904 |
< |
then |
| 5905 |
< |
ZLIB_HOME=/usr |
| 5902 |
> |
if test "$zlib_dir" != "not_set" ; then |
| 5903 |
> |
if test -d "$zlib_dir" |
| 5904 |
> |
then |
| 5905 |
> |
ZLIB_HOME="$zlib_dir" |
| 5906 |
> |
else |
| 5907 |
> |
{ echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5 |
| 5908 |
> |
echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;} |
| 5909 |
> |
ZLIB_HOME=/usr/local |
| 5910 |
> |
if test ! -f "${ZLIB_HOME}/include/zlib.h" |
| 5911 |
> |
then |
| 5912 |
> |
ZLIB_HOME=/usr |
| 5913 |
> |
fi |
| 5914 |
> |
fi |
| 5915 |
|
fi |
| 5776 |
– |
|
| 5916 |
|
# |
| 5917 |
|
# Locate zlib, if wanted |
| 5918 |
|
# |
| 5919 |
|
if test -n "${ZLIB_HOME}" |
| 5920 |
|
then |
| 5921 |
|
ZLIB_OLD_LDFLAGS=$LDFLAGS |
| 5922 |
< |
ZLIB_OLD_CPPFLAGS=$LDFLAGS |
| 5922 |
> |
ZLIB_OLD_CFLAGS=$CFLAGS |
| 5923 |
|
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5924 |
< |
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5924 |
> |
CFLAGS="$CFLAGS -I${ZLIB_HOME}/include" |
| 5925 |
|
|
| 5926 |
|
|
| 5927 |
|
ac_ext=c |
| 6158 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6159 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6160 |
|
|
| 6022 |
– |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" |
| 6023 |
– |
then |
| 6024 |
– |
# |
| 6025 |
– |
# If both library and header were found, use them |
| 6026 |
– |
# |
| 6161 |
|
|
| 6162 |
< |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 6163 |
< |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 6164 |
< |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 6165 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6166 |
< |
else |
| 6167 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 6168 |
< |
LIBS="-lz $LIBS" |
| 6169 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6170 |
< |
/* confdefs.h. */ |
| 6171 |
< |
_ACEOF |
| 6172 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6173 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 6174 |
< |
/* end confdefs.h. */ |
| 6162 |
> |
if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"; then |
| 6163 |
> |
|
| 6164 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6165 |
> |
#define HAVE_ZLIB_H 1 |
| 6166 |
> |
_ACEOF |
| 6167 |
> |
|
| 6168 |
> |
|
| 6169 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6170 |
> |
#define HAVE_LIBZ 1 |
| 6171 |
> |
_ACEOF |
| 6172 |
> |
|
| 6173 |
> |
ZLIB_INC_DIR="${ZLIB_HOME}/include" |
| 6174 |
> |
ZLIB_LIB_DIR="${ZLIB_HOME}/lib" |
| 6175 |
> |
ZLIB="-lz" |
| 6176 |
> |
else |
| 6177 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 6178 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 6179 |
> |
ZLIB_INC_DIR= |
| 6180 |
> |
ZLIB_LIB_DIR= |
| 6181 |
> |
ZLIB= |
| 6182 |
> |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 6183 |
> |
CFLAGS="$ZLIB_OLD_CFLAGS" |
| 6184 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 6185 |
> |
echo "${ECHO_T}failed" >&6 |
| 6186 |
> |
echo "" |
| 6187 |
> |
echo "*********************************************************" |
| 6188 |
> |
echo "* WARNING: Could not find a working zlib installation *" |
| 6189 |
> |
echo "* If you need OOPSE to be able to deal with compressed *" |
| 6190 |
> |
echo "* trajectory dump files be sure to specify a valid zlib *" |
| 6191 |
> |
echo "* installation with --with-zlib=DIR *" |
| 6192 |
> |
echo "* *" |
| 6193 |
> |
echo "* OOPSE will still work without zlib installed. *" |
| 6194 |
> |
echo "*********************************************************" |
| 6195 |
> |
echo "" |
| 6196 |
> |
fi |
| 6197 |
> |
|
| 6198 |
> |
|
| 6199 |
> |
|
| 6200 |
> |
fi |
| 6201 |
> |
fi |
| 6202 |
> |
|
| 6203 |
> |
# |
| 6204 |
> |
# Handle user hints |
| 6205 |
> |
# |
| 6206 |
> |
|
| 6207 |
> |
# Check whether --with-fftw or --without-fftw was given. |
| 6208 |
> |
if test "${with_fftw+set}" = set; then |
| 6209 |
> |
withval="$with_fftw" |
| 6210 |
> |
fftw_dir="$withval" |
| 6211 |
> |
else |
| 6212 |
> |
fftw_dir="not_set" |
| 6213 |
> |
fi; |
| 6214 |
> |
if test "$fftw_dir" != "no"; then |
| 6215 |
> |
if test "$fftw_dir" != "not_set" ; then |
| 6216 |
> |
if test -d "$fftw_dir"; then |
| 6217 |
> |
FFTW_HOME="$fftw_dir" |
| 6218 |
> |
else |
| 6219 |
> |
{ echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5 |
| 6220 |
> |
echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;} |
| 6221 |
> |
FFTW_HOME=/usr/local |
| 6222 |
> |
if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o -f "${FFTW_HOME}/include/dfftw.h"; then |
| 6223 |
> |
FFTW_HOME=/usr |
| 6224 |
> |
fi |
| 6225 |
> |
fi |
| 6226 |
> |
# |
| 6227 |
> |
# Locate fftw, if wanted |
| 6228 |
> |
# |
| 6229 |
> |
if test -n "${FFTW_HOME}"; then |
| 6230 |
> |
FFTW_OLD_LDFLAGS=$LDFLAGS |
| 6231 |
> |
FFTW_OLD_CFLAGS=$CFLAGS |
| 6232 |
> |
LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib" |
| 6233 |
> |
CFLAGS="$CFLAGS -I${FFTW_HOME}/include" |
| 6234 |
> |
|
| 6235 |
> |
|
| 6236 |
> |
ac_ext=c |
| 6237 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6238 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6239 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6240 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6241 |
> |
|
| 6242 |
> |
echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 |
| 6243 |
> |
echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6 |
| 6244 |
> |
if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then |
| 6245 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6246 |
> |
else |
| 6247 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6248 |
> |
LIBS="-lfftw3 $LIBS" |
| 6249 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6250 |
> |
/* confdefs.h. */ |
| 6251 |
> |
_ACEOF |
| 6252 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6253 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6254 |
> |
/* end confdefs.h. */ |
| 6255 |
> |
|
| 6256 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6257 |
> |
#ifdef __cplusplus |
| 6258 |
> |
extern "C" |
| 6259 |
> |
#endif |
| 6260 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6261 |
> |
builtin and then its argument prototype would still apply. */ |
| 6262 |
> |
char fftw_execute (); |
| 6263 |
> |
#ifdef FC_DUMMY_MAIN |
| 6264 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6265 |
> |
# ifdef __cplusplus |
| 6266 |
> |
extern "C" |
| 6267 |
> |
# endif |
| 6268 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 6269 |
> |
#endif |
| 6270 |
> |
#endif |
| 6271 |
> |
int |
| 6272 |
> |
main () |
| 6273 |
> |
{ |
| 6274 |
> |
fftw_execute (); |
| 6275 |
> |
; |
| 6276 |
> |
return 0; |
| 6277 |
> |
} |
| 6278 |
> |
_ACEOF |
| 6279 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6280 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6281 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6282 |
> |
ac_status=$? |
| 6283 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6284 |
> |
rm -f conftest.er1 |
| 6285 |
> |
cat conftest.err >&5 |
| 6286 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6287 |
> |
(exit $ac_status); } && |
| 6288 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6289 |
> |
|| test ! -s conftest.err' |
| 6290 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6291 |
> |
(eval $ac_try) 2>&5 |
| 6292 |
> |
ac_status=$? |
| 6293 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6294 |
> |
(exit $ac_status); }; } && |
| 6295 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6296 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6297 |
> |
(eval $ac_try) 2>&5 |
| 6298 |
> |
ac_status=$? |
| 6299 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6300 |
> |
(exit $ac_status); }; }; then |
| 6301 |
> |
ac_cv_lib_fftw3_fftw_execute=yes |
| 6302 |
> |
else |
| 6303 |
> |
echo "$as_me: failed program was:" >&5 |
| 6304 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6305 |
> |
|
| 6306 |
> |
ac_cv_lib_fftw3_fftw_execute=no |
| 6307 |
> |
fi |
| 6308 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6309 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6310 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 6311 |
> |
fi |
| 6312 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
| 6313 |
> |
echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6 |
| 6314 |
> |
if test $ac_cv_lib_fftw3_fftw_execute = yes; then |
| 6315 |
> |
fftw_cv_libfftw3=yes |
| 6316 |
> |
else |
| 6317 |
> |
fftw_cv_libfftw3=no |
| 6318 |
> |
fi |
| 6319 |
> |
|
| 6320 |
> |
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6321 |
> |
echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6322 |
> |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 |
| 6323 |
> |
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6324 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6325 |
> |
fi |
| 6326 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6327 |
> |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 |
| 6328 |
> |
else |
| 6329 |
> |
# Is the header compilable? |
| 6330 |
> |
echo "$as_me:$LINENO: checking fftw3.h usability" >&5 |
| 6331 |
> |
echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6 |
| 6332 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6333 |
> |
/* confdefs.h. */ |
| 6334 |
> |
_ACEOF |
| 6335 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6336 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6337 |
> |
/* end confdefs.h. */ |
| 6338 |
> |
$ac_includes_default |
| 6339 |
> |
#include <fftw3.h> |
| 6340 |
> |
_ACEOF |
| 6341 |
> |
rm -f conftest.$ac_objext |
| 6342 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6343 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6344 |
> |
ac_status=$? |
| 6345 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6346 |
> |
rm -f conftest.er1 |
| 6347 |
> |
cat conftest.err >&5 |
| 6348 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6349 |
> |
(exit $ac_status); } && |
| 6350 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6351 |
> |
|| test ! -s conftest.err' |
| 6352 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6353 |
> |
(eval $ac_try) 2>&5 |
| 6354 |
> |
ac_status=$? |
| 6355 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6356 |
> |
(exit $ac_status); }; } && |
| 6357 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6358 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6359 |
> |
(eval $ac_try) 2>&5 |
| 6360 |
> |
ac_status=$? |
| 6361 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6362 |
> |
(exit $ac_status); }; }; then |
| 6363 |
> |
ac_header_compiler=yes |
| 6364 |
> |
else |
| 6365 |
> |
echo "$as_me: failed program was:" >&5 |
| 6366 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6367 |
> |
|
| 6368 |
> |
ac_header_compiler=no |
| 6369 |
> |
fi |
| 6370 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6371 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6372 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6373 |
> |
|
| 6374 |
> |
# Is the header present? |
| 6375 |
> |
echo "$as_me:$LINENO: checking fftw3.h presence" >&5 |
| 6376 |
> |
echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6 |
| 6377 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6378 |
> |
/* confdefs.h. */ |
| 6379 |
> |
_ACEOF |
| 6380 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6381 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6382 |
> |
/* end confdefs.h. */ |
| 6383 |
> |
#include <fftw3.h> |
| 6384 |
> |
_ACEOF |
| 6385 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6386 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6387 |
> |
ac_status=$? |
| 6388 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6389 |
> |
rm -f conftest.er1 |
| 6390 |
> |
cat conftest.err >&5 |
| 6391 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6392 |
> |
(exit $ac_status); } >/dev/null; then |
| 6393 |
> |
if test -s conftest.err; then |
| 6394 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6395 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6396 |
> |
else |
| 6397 |
> |
ac_cpp_err= |
| 6398 |
> |
fi |
| 6399 |
> |
else |
| 6400 |
> |
ac_cpp_err=yes |
| 6401 |
> |
fi |
| 6402 |
> |
if test -z "$ac_cpp_err"; then |
| 6403 |
> |
ac_header_preproc=yes |
| 6404 |
> |
else |
| 6405 |
> |
echo "$as_me: failed program was:" >&5 |
| 6406 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6407 |
> |
|
| 6408 |
> |
ac_header_preproc=no |
| 6409 |
> |
fi |
| 6410 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6411 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6412 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6413 |
> |
|
| 6414 |
> |
# So? What about this header? |
| 6415 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6416 |
> |
yes:no: ) |
| 6417 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6418 |
> |
echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6419 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5 |
| 6420 |
> |
echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;} |
| 6421 |
> |
ac_header_preproc=yes |
| 6422 |
> |
;; |
| 6423 |
> |
no:yes:* ) |
| 6424 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5 |
| 6425 |
> |
echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;} |
| 6426 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: check for missing prerequisite headers?" >&5 |
| 6427 |
> |
echo "$as_me: WARNING: fftw3.h: check for missing prerequisite headers?" >&2;} |
| 6428 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5 |
| 6429 |
> |
echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;} |
| 6430 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 6431 |
> |
echo "$as_me: WARNING: fftw3.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6432 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5 |
| 6433 |
> |
echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;} |
| 6434 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5 |
| 6435 |
> |
echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;} |
| 6436 |
> |
( |
| 6437 |
> |
cat <<\_ASBOX |
| 6438 |
> |
## ------------------------------ ## |
| 6439 |
> |
## Report this to gezelter@nd.edu ## |
| 6440 |
> |
## ------------------------------ ## |
| 6441 |
> |
_ASBOX |
| 6442 |
> |
) | |
| 6443 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6444 |
> |
;; |
| 6445 |
> |
esac |
| 6446 |
> |
echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6447 |
> |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 |
| 6448 |
> |
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6449 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6450 |
> |
else |
| 6451 |
> |
ac_cv_header_fftw3_h=$ac_header_preproc |
| 6452 |
> |
fi |
| 6453 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6454 |
> |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 |
| 6455 |
> |
|
| 6456 |
> |
fi |
| 6457 |
> |
if test $ac_cv_header_fftw3_h = yes; then |
| 6458 |
> |
fftw_cv_fftw3_h=yes |
| 6459 |
> |
else |
| 6460 |
> |
fftw_cv_fftw3_h=no |
| 6461 |
> |
fi |
| 6462 |
> |
|
| 6463 |
> |
|
| 6464 |
> |
if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then |
| 6465 |
> |
echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 |
| 6466 |
> |
echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6 |
| 6467 |
> |
if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then |
| 6468 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6469 |
> |
else |
| 6470 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6471 |
> |
LIBS="-lfftw $LIBS" |
| 6472 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6473 |
> |
/* confdefs.h. */ |
| 6474 |
> |
_ACEOF |
| 6475 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6476 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6477 |
> |
/* end confdefs.h. */ |
| 6478 |
> |
|
| 6479 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6480 |
> |
#ifdef __cplusplus |
| 6481 |
> |
extern "C" |
| 6482 |
> |
#endif |
| 6483 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6484 |
> |
builtin and then its argument prototype would still apply. */ |
| 6485 |
> |
char fftwnd_one (); |
| 6486 |
> |
#ifdef FC_DUMMY_MAIN |
| 6487 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6488 |
> |
# ifdef __cplusplus |
| 6489 |
> |
extern "C" |
| 6490 |
> |
# endif |
| 6491 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 6492 |
> |
#endif |
| 6493 |
> |
#endif |
| 6494 |
> |
int |
| 6495 |
> |
main () |
| 6496 |
> |
{ |
| 6497 |
> |
fftwnd_one (); |
| 6498 |
> |
; |
| 6499 |
> |
return 0; |
| 6500 |
> |
} |
| 6501 |
> |
_ACEOF |
| 6502 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6503 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6504 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6505 |
> |
ac_status=$? |
| 6506 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6507 |
> |
rm -f conftest.er1 |
| 6508 |
> |
cat conftest.err >&5 |
| 6509 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6510 |
> |
(exit $ac_status); } && |
| 6511 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6512 |
> |
|| test ! -s conftest.err' |
| 6513 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6514 |
> |
(eval $ac_try) 2>&5 |
| 6515 |
> |
ac_status=$? |
| 6516 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6517 |
> |
(exit $ac_status); }; } && |
| 6518 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6519 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6520 |
> |
(eval $ac_try) 2>&5 |
| 6521 |
> |
ac_status=$? |
| 6522 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6523 |
> |
(exit $ac_status); }; }; then |
| 6524 |
> |
ac_cv_lib_fftw_fftwnd_one=yes |
| 6525 |
> |
else |
| 6526 |
> |
echo "$as_me: failed program was:" >&5 |
| 6527 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6528 |
> |
|
| 6529 |
> |
ac_cv_lib_fftw_fftwnd_one=no |
| 6530 |
> |
fi |
| 6531 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6532 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6533 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 6534 |
> |
fi |
| 6535 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
| 6536 |
> |
echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6 |
| 6537 |
> |
if test $ac_cv_lib_fftw_fftwnd_one = yes; then |
| 6538 |
> |
fftw_cv_libfftw=yes |
| 6539 |
> |
else |
| 6540 |
> |
fftw_cv_libfftw=no |
| 6541 |
> |
fi |
| 6542 |
> |
|
| 6543 |
> |
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6544 |
> |
echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6545 |
> |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 |
| 6546 |
> |
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6547 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6548 |
> |
fi |
| 6549 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6550 |
> |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 |
| 6551 |
> |
else |
| 6552 |
> |
# Is the header compilable? |
| 6553 |
> |
echo "$as_me:$LINENO: checking fftw.h usability" >&5 |
| 6554 |
> |
echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6 |
| 6555 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6556 |
> |
/* confdefs.h. */ |
| 6557 |
> |
_ACEOF |
| 6558 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6559 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6560 |
> |
/* end confdefs.h. */ |
| 6561 |
> |
$ac_includes_default |
| 6562 |
> |
#include <fftw.h> |
| 6563 |
> |
_ACEOF |
| 6564 |
> |
rm -f conftest.$ac_objext |
| 6565 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6566 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6567 |
> |
ac_status=$? |
| 6568 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6569 |
> |
rm -f conftest.er1 |
| 6570 |
> |
cat conftest.err >&5 |
| 6571 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6572 |
> |
(exit $ac_status); } && |
| 6573 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6574 |
> |
|| test ! -s conftest.err' |
| 6575 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6576 |
> |
(eval $ac_try) 2>&5 |
| 6577 |
> |
ac_status=$? |
| 6578 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6579 |
> |
(exit $ac_status); }; } && |
| 6580 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6581 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6582 |
> |
(eval $ac_try) 2>&5 |
| 6583 |
> |
ac_status=$? |
| 6584 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6585 |
> |
(exit $ac_status); }; }; then |
| 6586 |
> |
ac_header_compiler=yes |
| 6587 |
> |
else |
| 6588 |
> |
echo "$as_me: failed program was:" >&5 |
| 6589 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6590 |
> |
|
| 6591 |
> |
ac_header_compiler=no |
| 6592 |
> |
fi |
| 6593 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6594 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6595 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6596 |
> |
|
| 6597 |
> |
# Is the header present? |
| 6598 |
> |
echo "$as_me:$LINENO: checking fftw.h presence" >&5 |
| 6599 |
> |
echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6 |
| 6600 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6601 |
> |
/* confdefs.h. */ |
| 6602 |
> |
_ACEOF |
| 6603 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6604 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6605 |
> |
/* end confdefs.h. */ |
| 6606 |
> |
#include <fftw.h> |
| 6607 |
> |
_ACEOF |
| 6608 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6609 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6610 |
> |
ac_status=$? |
| 6611 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6612 |
> |
rm -f conftest.er1 |
| 6613 |
> |
cat conftest.err >&5 |
| 6614 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6615 |
> |
(exit $ac_status); } >/dev/null; then |
| 6616 |
> |
if test -s conftest.err; then |
| 6617 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6618 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6619 |
> |
else |
| 6620 |
> |
ac_cpp_err= |
| 6621 |
> |
fi |
| 6622 |
> |
else |
| 6623 |
> |
ac_cpp_err=yes |
| 6624 |
> |
fi |
| 6625 |
> |
if test -z "$ac_cpp_err"; then |
| 6626 |
> |
ac_header_preproc=yes |
| 6627 |
> |
else |
| 6628 |
> |
echo "$as_me: failed program was:" >&5 |
| 6629 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6630 |
> |
|
| 6631 |
> |
ac_header_preproc=no |
| 6632 |
> |
fi |
| 6633 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6634 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6635 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6636 |
> |
|
| 6637 |
> |
# So? What about this header? |
| 6638 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6639 |
> |
yes:no: ) |
| 6640 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6641 |
> |
echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6642 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5 |
| 6643 |
> |
echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;} |
| 6644 |
> |
ac_header_preproc=yes |
| 6645 |
> |
;; |
| 6646 |
> |
no:yes:* ) |
| 6647 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5 |
| 6648 |
> |
echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;} |
| 6649 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: check for missing prerequisite headers?" >&5 |
| 6650 |
> |
echo "$as_me: WARNING: fftw.h: check for missing prerequisite headers?" >&2;} |
| 6651 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5 |
| 6652 |
> |
echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;} |
| 6653 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 6654 |
> |
echo "$as_me: WARNING: fftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6655 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5 |
| 6656 |
> |
echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;} |
| 6657 |
> |
{ echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5 |
| 6658 |
> |
echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;} |
| 6659 |
> |
( |
| 6660 |
> |
cat <<\_ASBOX |
| 6661 |
> |
## ------------------------------ ## |
| 6662 |
> |
## Report this to gezelter@nd.edu ## |
| 6663 |
> |
## ------------------------------ ## |
| 6664 |
> |
_ASBOX |
| 6665 |
> |
) | |
| 6666 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6667 |
> |
;; |
| 6668 |
> |
esac |
| 6669 |
> |
echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6670 |
> |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 |
| 6671 |
> |
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6672 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6673 |
> |
else |
| 6674 |
> |
ac_cv_header_fftw_h=$ac_header_preproc |
| 6675 |
> |
fi |
| 6676 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6677 |
> |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 |
| 6678 |
> |
|
| 6679 |
> |
fi |
| 6680 |
> |
if test $ac_cv_header_fftw_h = yes; then |
| 6681 |
> |
fftw_cv_fftw_h=yes |
| 6682 |
> |
else |
| 6683 |
> |
fftw_cv_fftw_h=no |
| 6684 |
> |
fi |
| 6685 |
> |
|
| 6686 |
> |
|
| 6687 |
> |
if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then |
| 6688 |
> |
echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 |
| 6689 |
> |
echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6 |
| 6690 |
> |
if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then |
| 6691 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6692 |
> |
else |
| 6693 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 6694 |
> |
LIBS="-ldfftw $LIBS" |
| 6695 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6696 |
> |
/* confdefs.h. */ |
| 6697 |
> |
_ACEOF |
| 6698 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6699 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6700 |
> |
/* end confdefs.h. */ |
| 6701 |
> |
|
| 6702 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6703 |
> |
#ifdef __cplusplus |
| 6704 |
> |
extern "C" |
| 6705 |
> |
#endif |
| 6706 |
> |
/* We use char because int might match the return type of a gcc2 |
| 6707 |
> |
builtin and then its argument prototype would still apply. */ |
| 6708 |
> |
char fftwnd_one (); |
| 6709 |
> |
#ifdef FC_DUMMY_MAIN |
| 6710 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6711 |
> |
# ifdef __cplusplus |
| 6712 |
> |
extern "C" |
| 6713 |
> |
# endif |
| 6714 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 6715 |
> |
#endif |
| 6716 |
> |
#endif |
| 6717 |
> |
int |
| 6718 |
> |
main () |
| 6719 |
> |
{ |
| 6720 |
> |
fftwnd_one (); |
| 6721 |
> |
; |
| 6722 |
> |
return 0; |
| 6723 |
> |
} |
| 6724 |
> |
_ACEOF |
| 6725 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6726 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6727 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6728 |
> |
ac_status=$? |
| 6729 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6730 |
> |
rm -f conftest.er1 |
| 6731 |
> |
cat conftest.err >&5 |
| 6732 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6733 |
> |
(exit $ac_status); } && |
| 6734 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6735 |
> |
|| test ! -s conftest.err' |
| 6736 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6737 |
> |
(eval $ac_try) 2>&5 |
| 6738 |
> |
ac_status=$? |
| 6739 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6740 |
> |
(exit $ac_status); }; } && |
| 6741 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6742 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6743 |
> |
(eval $ac_try) 2>&5 |
| 6744 |
> |
ac_status=$? |
| 6745 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6746 |
> |
(exit $ac_status); }; }; then |
| 6747 |
> |
ac_cv_lib_dfftw_fftwnd_one=yes |
| 6748 |
> |
else |
| 6749 |
> |
echo "$as_me: failed program was:" >&5 |
| 6750 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6751 |
> |
|
| 6752 |
> |
ac_cv_lib_dfftw_fftwnd_one=no |
| 6753 |
> |
fi |
| 6754 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6755 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6756 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 6757 |
> |
fi |
| 6758 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
| 6759 |
> |
echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6 |
| 6760 |
> |
if test $ac_cv_lib_dfftw_fftwnd_one = yes; then |
| 6761 |
> |
fftw_cv_libdfftw=yes |
| 6762 |
> |
else |
| 6763 |
> |
fftw_cv_libdfftw=no |
| 6764 |
> |
fi |
| 6765 |
> |
|
| 6766 |
> |
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6767 |
> |
echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6768 |
> |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 |
| 6769 |
> |
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6770 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6771 |
> |
fi |
| 6772 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6773 |
> |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 |
| 6774 |
> |
else |
| 6775 |
> |
# Is the header compilable? |
| 6776 |
> |
echo "$as_me:$LINENO: checking dfftw.h usability" >&5 |
| 6777 |
> |
echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6 |
| 6778 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6779 |
> |
/* confdefs.h. */ |
| 6780 |
> |
_ACEOF |
| 6781 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6782 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6783 |
> |
/* end confdefs.h. */ |
| 6784 |
> |
$ac_includes_default |
| 6785 |
> |
#include <dfftw.h> |
| 6786 |
> |
_ACEOF |
| 6787 |
> |
rm -f conftest.$ac_objext |
| 6788 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6789 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6790 |
> |
ac_status=$? |
| 6791 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6792 |
> |
rm -f conftest.er1 |
| 6793 |
> |
cat conftest.err >&5 |
| 6794 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6795 |
> |
(exit $ac_status); } && |
| 6796 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6797 |
> |
|| test ! -s conftest.err' |
| 6798 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6799 |
> |
(eval $ac_try) 2>&5 |
| 6800 |
> |
ac_status=$? |
| 6801 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6802 |
> |
(exit $ac_status); }; } && |
| 6803 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6804 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6805 |
> |
(eval $ac_try) 2>&5 |
| 6806 |
> |
ac_status=$? |
| 6807 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6808 |
> |
(exit $ac_status); }; }; then |
| 6809 |
> |
ac_header_compiler=yes |
| 6810 |
> |
else |
| 6811 |
> |
echo "$as_me: failed program was:" >&5 |
| 6812 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6813 |
> |
|
| 6814 |
> |
ac_header_compiler=no |
| 6815 |
> |
fi |
| 6816 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6817 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6818 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6819 |
> |
|
| 6820 |
> |
# Is the header present? |
| 6821 |
> |
echo "$as_me:$LINENO: checking dfftw.h presence" >&5 |
| 6822 |
> |
echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6 |
| 6823 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6824 |
> |
/* confdefs.h. */ |
| 6825 |
> |
_ACEOF |
| 6826 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 6827 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 6828 |
> |
/* end confdefs.h. */ |
| 6829 |
> |
#include <dfftw.h> |
| 6830 |
> |
_ACEOF |
| 6831 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6832 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6833 |
> |
ac_status=$? |
| 6834 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6835 |
> |
rm -f conftest.er1 |
| 6836 |
> |
cat conftest.err >&5 |
| 6837 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6838 |
> |
(exit $ac_status); } >/dev/null; then |
| 6839 |
> |
if test -s conftest.err; then |
| 6840 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6841 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6842 |
> |
else |
| 6843 |
> |
ac_cpp_err= |
| 6844 |
> |
fi |
| 6845 |
> |
else |
| 6846 |
> |
ac_cpp_err=yes |
| 6847 |
> |
fi |
| 6848 |
> |
if test -z "$ac_cpp_err"; then |
| 6849 |
> |
ac_header_preproc=yes |
| 6850 |
> |
else |
| 6851 |
> |
echo "$as_me: failed program was:" >&5 |
| 6852 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6853 |
> |
|
| 6854 |
> |
ac_header_preproc=no |
| 6855 |
> |
fi |
| 6856 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6857 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6858 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6859 |
> |
|
| 6860 |
> |
# So? What about this header? |
| 6861 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6862 |
> |
yes:no: ) |
| 6863 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 6864 |
> |
echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 6865 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5 |
| 6866 |
> |
echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;} |
| 6867 |
> |
ac_header_preproc=yes |
| 6868 |
> |
;; |
| 6869 |
> |
no:yes:* ) |
| 6870 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5 |
| 6871 |
> |
echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;} |
| 6872 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: check for missing prerequisite headers?" >&5 |
| 6873 |
> |
echo "$as_me: WARNING: dfftw.h: check for missing prerequisite headers?" >&2;} |
| 6874 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5 |
| 6875 |
> |
echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;} |
| 6876 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 6877 |
> |
echo "$as_me: WARNING: dfftw.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 6878 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5 |
| 6879 |
> |
echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;} |
| 6880 |
> |
{ echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5 |
| 6881 |
> |
echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;} |
| 6882 |
> |
( |
| 6883 |
> |
cat <<\_ASBOX |
| 6884 |
> |
## ------------------------------ ## |
| 6885 |
> |
## Report this to gezelter@nd.edu ## |
| 6886 |
> |
## ------------------------------ ## |
| 6887 |
> |
_ASBOX |
| 6888 |
> |
) | |
| 6889 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6890 |
> |
;; |
| 6891 |
> |
esac |
| 6892 |
> |
echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6893 |
> |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 |
| 6894 |
> |
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6895 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6896 |
> |
else |
| 6897 |
> |
ac_cv_header_dfftw_h=$ac_header_preproc |
| 6898 |
> |
fi |
| 6899 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6900 |
> |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 |
| 6901 |
> |
|
| 6902 |
> |
fi |
| 6903 |
> |
if test $ac_cv_header_dfftw_h = yes; then |
| 6904 |
> |
fftw_cv_dfftw_h=yes |
| 6905 |
> |
else |
| 6906 |
> |
fftw_cv_dfftw_h=no |
| 6907 |
> |
fi |
| 6908 |
> |
|
| 6909 |
> |
|
| 6910 |
> |
fi |
| 6911 |
> |
fi |
| 6912 |
> |
ac_ext=c |
| 6913 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 6914 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6915 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6916 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6917 |
> |
|
| 6918 |
> |
if test "$fftw_cv_libfftw3" = "yes" -a "$fftw_cv_fftw3_h" = "yes"; then |
| 6919 |
> |
|
| 6920 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6921 |
> |
#define HAVE_FFTW3_H 1 |
| 6922 |
> |
_ACEOF |
| 6923 |
> |
|
| 6924 |
> |
FFTW_INC_DIR="${FFTW_HOME}/include" |
| 6925 |
> |
FFTW_LIB_DIR="${FFTW_HOME}/lib" |
| 6926 |
> |
FFTW_LIBS="-lfftw3" |
| 6927 |
> |
else |
| 6928 |
> |
if test "$fftw_cv_libfftw" = "yes" -a "$fftw_cv_fftw_h" = "yes"; then |
| 6929 |
> |
|
| 6930 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6931 |
> |
#define HAVE_FFTW_H 1 |
| 6932 |
> |
_ACEOF |
| 6933 |
> |
|
| 6934 |
> |
FFTW_INC_DIR="${FFTW_HOME}/include" |
| 6935 |
> |
FFTW_LIB_DIR="${FFTW_HOME}/lib" |
| 6936 |
> |
FFTW_LIBS="-lfftw" |
| 6937 |
> |
else |
| 6938 |
> |
if test "$fftw_cv_libdfftw" = "yes" -a "$fftw_cv_dfftw_h" = "yes"; then |
| 6939 |
> |
|
| 6940 |
> |
cat >>confdefs.h <<\_ACEOF |
| 6941 |
> |
#define HAVE_DFFTW_H 1 |
| 6942 |
> |
_ACEOF |
| 6943 |
> |
|
| 6944 |
> |
FFTW_INC_DIR="${FFTW_HOME}/include" |
| 6945 |
> |
FFTW_LIB_DIR="${FFTW_HOME}/lib" |
| 6946 |
> |
FFTW_LIBS="-ldfftw" |
| 6947 |
> |
else |
| 6948 |
> |
echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 |
| 6949 |
> |
echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6 |
| 6950 |
> |
FFTW_INC_DIR= |
| 6951 |
> |
FFTW_LIB_DIR= |
| 6952 |
> |
FFTW_LIBS= |
| 6953 |
> |
LDFLAGS="$FFTW_OLD_LDFLAGS" |
| 6954 |
> |
CFLAGS="$FFTW_OLD_CFLAGS" |
| 6955 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 6956 |
> |
echo "${ECHO_T}failed" >&6 |
| 6957 |
> |
echo "" |
| 6958 |
> |
echo "*********************************************************" |
| 6959 |
> |
echo "* WARNING: Could not find a working FFTW installation *" |
| 6960 |
> |
echo "* If you need the staticProps program to be able to *" |
| 6961 |
> |
echo "* compute undulation spectra, be sure to specify a *" |
| 6962 |
> |
echo "* valid fftw installation with --with-fftw=DIR *" |
| 6963 |
> |
echo "* *" |
| 6964 |
> |
echo "* OOPSE will still work without fftw installed. *" |
| 6965 |
> |
echo "*********************************************************" |
| 6966 |
> |
echo "" |
| 6967 |
> |
fi |
| 6968 |
> |
fi |
| 6969 |
> |
fi |
| 6970 |
> |
|
| 6971 |
> |
|
| 6972 |
> |
|
| 6973 |
> |
fi |
| 6974 |
> |
fi |
| 6975 |
> |
fi |
| 6976 |
> |
|
| 6977 |
> |
# |
| 6978 |
> |
# Handle user hints |
| 6979 |
> |
# |
| 6980 |
> |
|
| 6981 |
> |
# Check whether --with-qhull or --without-qhull was given. |
| 6982 |
> |
if test "${with_qhull+set}" = set; then |
| 6983 |
> |
withval="$with_qhull" |
| 6984 |
> |
qhull_dir="$withval" |
| 6985 |
> |
else |
| 6986 |
> |
qhull_dir="not_set" |
| 6987 |
> |
fi; |
| 6988 |
> |
if test "$qhull_dir" != "no"; then |
| 6989 |
> |
|
| 6990 |
> |
if test "$qhull_dir" != "not_set" ; then |
| 6991 |
> |
if test -d "$qhull_dir" |
| 6992 |
> |
then |
| 6993 |
> |
QHULL_HOME="$qhull_dir" |
| 6994 |
> |
else |
| 6995 |
> |
{ echo "$as_me:$LINENO: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 |
| 6996 |
> |
echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} |
| 6997 |
> |
QHULL_HOME=/usr/local |
| 6998 |
> |
if test ! -f "${QHULL_HOME}/include/qhull/qhull.h" |
| 6999 |
> |
then |
| 7000 |
> |
QHULL_HOME=/usr |
| 7001 |
> |
fi |
| 7002 |
> |
fi |
| 7003 |
> |
fi |
| 7004 |
> |
# |
| 7005 |
> |
# Locate qhull, if wanted |
| 7006 |
> |
# |
| 7007 |
> |
if test -n "${QHULL_HOME}" |
| 7008 |
> |
then |
| 7009 |
> |
QHULL_OLD_LDFLAGS=$LDFLAGS |
| 7010 |
> |
QHULL_OLD_CFLAGS=$CFLAGS |
| 7011 |
> |
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
| 7012 |
> |
CFLAGS="$CFLAGS -I${QHULL_HOME}/include" |
| 7013 |
> |
|
| 7014 |
> |
|
| 7015 |
> |
ac_ext=c |
| 7016 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 7017 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7018 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7019 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7020 |
> |
|
| 7021 |
> |
echo "$as_me:$LINENO: checking for qh_qhull in -lqhull" >&5 |
| 7022 |
> |
echo $ECHO_N "checking for qh_qhull in -lqhull... $ECHO_C" >&6 |
| 7023 |
> |
if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then |
| 7024 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7025 |
> |
else |
| 7026 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 7027 |
> |
LIBS="-lqhull $LIBS" |
| 7028 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 7029 |
> |
/* confdefs.h. */ |
| 7030 |
> |
_ACEOF |
| 7031 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7032 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7033 |
> |
/* end confdefs.h. */ |
| 7034 |
> |
|
| 7035 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7036 |
> |
#ifdef __cplusplus |
| 7037 |
> |
extern "C" |
| 7038 |
> |
#endif |
| 7039 |
> |
/* We use char because int might match the return type of a gcc2 |
| 7040 |
> |
builtin and then its argument prototype would still apply. */ |
| 7041 |
> |
char qh_qhull (); |
| 7042 |
> |
#ifdef FC_DUMMY_MAIN |
| 7043 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 7044 |
> |
# ifdef __cplusplus |
| 7045 |
> |
extern "C" |
| 7046 |
> |
# endif |
| 7047 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 7048 |
> |
#endif |
| 7049 |
> |
#endif |
| 7050 |
> |
int |
| 7051 |
> |
main () |
| 7052 |
> |
{ |
| 7053 |
> |
qh_qhull (); |
| 7054 |
> |
; |
| 7055 |
> |
return 0; |
| 7056 |
> |
} |
| 7057 |
> |
_ACEOF |
| 7058 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7059 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7060 |
> |
(eval $ac_link) 2>conftest.er1 |
| 7061 |
> |
ac_status=$? |
| 7062 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7063 |
> |
rm -f conftest.er1 |
| 7064 |
> |
cat conftest.err >&5 |
| 7065 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7066 |
> |
(exit $ac_status); } && |
| 7067 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7068 |
> |
|| test ! -s conftest.err' |
| 7069 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7070 |
> |
(eval $ac_try) 2>&5 |
| 7071 |
> |
ac_status=$? |
| 7072 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7073 |
> |
(exit $ac_status); }; } && |
| 7074 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 7075 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7076 |
> |
(eval $ac_try) 2>&5 |
| 7077 |
> |
ac_status=$? |
| 7078 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7079 |
> |
(exit $ac_status); }; }; then |
| 7080 |
> |
ac_cv_lib_qhull_qh_qhull=yes |
| 7081 |
> |
else |
| 7082 |
> |
echo "$as_me: failed program was:" >&5 |
| 7083 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7084 |
> |
|
| 7085 |
> |
ac_cv_lib_qhull_qh_qhull=no |
| 7086 |
> |
fi |
| 7087 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 7088 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7089 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 7090 |
> |
fi |
| 7091 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
| 7092 |
> |
echo "${ECHO_T}$ac_cv_lib_qhull_qh_qhull" >&6 |
| 7093 |
> |
if test $ac_cv_lib_qhull_qh_qhull = yes; then |
| 7094 |
> |
qhull_cv_libqhull=yes |
| 7095 |
> |
else |
| 7096 |
> |
qhull_cv_libqhull=no |
| 7097 |
> |
fi |
| 7098 |
> |
|
| 7099 |
> |
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
| 7100 |
> |
echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
| 7101 |
> |
echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6 |
| 7102 |
> |
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
| 7103 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7104 |
> |
fi |
| 7105 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
| 7106 |
> |
echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6 |
| 7107 |
> |
else |
| 7108 |
> |
# Is the header compilable? |
| 7109 |
> |
echo "$as_me:$LINENO: checking qhull/qhull.h usability" >&5 |
| 7110 |
> |
echo $ECHO_N "checking qhull/qhull.h usability... $ECHO_C" >&6 |
| 7111 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 7112 |
> |
/* confdefs.h. */ |
| 7113 |
> |
_ACEOF |
| 7114 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7115 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7116 |
> |
/* end confdefs.h. */ |
| 7117 |
> |
$ac_includes_default |
| 7118 |
> |
#include <qhull/qhull.h> |
| 7119 |
> |
_ACEOF |
| 7120 |
> |
rm -f conftest.$ac_objext |
| 7121 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7122 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7123 |
> |
ac_status=$? |
| 7124 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7125 |
> |
rm -f conftest.er1 |
| 7126 |
> |
cat conftest.err >&5 |
| 7127 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7128 |
> |
(exit $ac_status); } && |
| 7129 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7130 |
> |
|| test ! -s conftest.err' |
| 7131 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7132 |
> |
(eval $ac_try) 2>&5 |
| 7133 |
> |
ac_status=$? |
| 7134 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7135 |
> |
(exit $ac_status); }; } && |
| 7136 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7137 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7138 |
> |
(eval $ac_try) 2>&5 |
| 7139 |
> |
ac_status=$? |
| 7140 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7141 |
> |
(exit $ac_status); }; }; then |
| 7142 |
> |
ac_header_compiler=yes |
| 7143 |
> |
else |
| 7144 |
> |
echo "$as_me: failed program was:" >&5 |
| 7145 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7146 |
> |
|
| 7147 |
> |
ac_header_compiler=no |
| 7148 |
> |
fi |
| 7149 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7150 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7151 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7152 |
> |
|
| 7153 |
> |
# Is the header present? |
| 7154 |
> |
echo "$as_me:$LINENO: checking qhull/qhull.h presence" >&5 |
| 7155 |
> |
echo $ECHO_N "checking qhull/qhull.h presence... $ECHO_C" >&6 |
| 7156 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 7157 |
> |
/* confdefs.h. */ |
| 7158 |
> |
_ACEOF |
| 7159 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 7160 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 7161 |
> |
/* end confdefs.h. */ |
| 7162 |
> |
#include <qhull/qhull.h> |
| 7163 |
> |
_ACEOF |
| 7164 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 7165 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 7166 |
> |
ac_status=$? |
| 7167 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7168 |
> |
rm -f conftest.er1 |
| 7169 |
> |
cat conftest.err >&5 |
| 7170 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7171 |
> |
(exit $ac_status); } >/dev/null; then |
| 7172 |
> |
if test -s conftest.err; then |
| 7173 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7174 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7175 |
> |
else |
| 7176 |
> |
ac_cpp_err= |
| 7177 |
> |
fi |
| 7178 |
> |
else |
| 7179 |
> |
ac_cpp_err=yes |
| 7180 |
> |
fi |
| 7181 |
> |
if test -z "$ac_cpp_err"; then |
| 7182 |
> |
ac_header_preproc=yes |
| 7183 |
> |
else |
| 7184 |
> |
echo "$as_me: failed program was:" >&5 |
| 7185 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7186 |
> |
|
| 7187 |
> |
ac_header_preproc=no |
| 7188 |
> |
fi |
| 7189 |
> |
rm -f conftest.err conftest.$ac_ext |
| 7190 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7191 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7192 |
> |
|
| 7193 |
> |
# So? What about this header? |
| 7194 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7195 |
> |
yes:no: ) |
| 7196 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7197 |
> |
echo "$as_me: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7198 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&5 |
| 7199 |
> |
echo "$as_me: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&2;} |
| 7200 |
> |
ac_header_preproc=yes |
| 7201 |
> |
;; |
| 7202 |
> |
no:yes:* ) |
| 7203 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: present but cannot be compiled" >&5 |
| 7204 |
> |
echo "$as_me: WARNING: qhull/qhull.h: present but cannot be compiled" >&2;} |
| 7205 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&5 |
| 7206 |
> |
echo "$as_me: WARNING: qhull/qhull.h: check for missing prerequisite headers?" >&2;} |
| 7207 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: see the Autoconf documentation" >&5 |
| 7208 |
> |
echo "$as_me: WARNING: qhull/qhull.h: see the Autoconf documentation" >&2;} |
| 7209 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 7210 |
> |
echo "$as_me: WARNING: qhull/qhull.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 7211 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&5 |
| 7212 |
> |
echo "$as_me: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&2;} |
| 7213 |
> |
{ echo "$as_me:$LINENO: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&5 |
| 7214 |
> |
echo "$as_me: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&2;} |
| 7215 |
> |
( |
| 7216 |
> |
cat <<\_ASBOX |
| 7217 |
> |
## ------------------------------ ## |
| 7218 |
> |
## Report this to gezelter@nd.edu ## |
| 7219 |
> |
## ------------------------------ ## |
| 7220 |
> |
_ASBOX |
| 7221 |
> |
) | |
| 7222 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7223 |
> |
;; |
| 7224 |
> |
esac |
| 7225 |
> |
echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 |
| 7226 |
> |
echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6 |
| 7227 |
> |
if test "${ac_cv_header_qhull_qhull_h+set}" = set; then |
| 7228 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7229 |
> |
else |
| 7230 |
> |
ac_cv_header_qhull_qhull_h=$ac_header_preproc |
| 7231 |
> |
fi |
| 7232 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 |
| 7233 |
> |
echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6 |
| 7234 |
> |
|
| 7235 |
> |
fi |
| 7236 |
> |
if test $ac_cv_header_qhull_qhull_h = yes; then |
| 7237 |
> |
qhull_cv_qhull_h=yes |
| 7238 |
> |
else |
| 7239 |
> |
qhull_cv_qhull_h=no |
| 7240 |
> |
fi |
| 7241 |
> |
|
| 7242 |
> |
|
| 7243 |
> |
ac_ext=c |
| 7244 |
> |
ac_cpp='$CPP $CPPFLAGS' |
| 7245 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7246 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7247 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7248 |
> |
|
| 7249 |
> |
|
| 7250 |
> |
if test "$qhull_cv_libqhull" = "yes" -a "$qhull_cv_qhull_h" = "yes"; then |
| 7251 |
> |
|
| 7252 |
> |
cat >>confdefs.h <<\_ACEOF |
| 7253 |
> |
#define HAVE_QHULL_H 1 |
| 7254 |
> |
_ACEOF |
| 7255 |
> |
|
| 7256 |
> |
|
| 7257 |
> |
cat >>confdefs.h <<\_ACEOF |
| 7258 |
> |
#define HAVE_QHULL 1 |
| 7259 |
> |
_ACEOF |
| 7260 |
> |
|
| 7261 |
> |
USE_QHULL=yes |
| 7262 |
> |
QHULL_INC_DIR="${QHULL_HOME}/include" |
| 7263 |
> |
QHULL_LIB_DIR="${QHULL_HOME}/lib" |
| 7264 |
> |
QHULL="-lqhull" |
| 7265 |
> |
else |
| 7266 |
> |
echo "$as_me:$LINENO: checking qhull in ${QHULL_HOME}" >&5 |
| 7267 |
> |
echo $ECHO_N "checking qhull in ${QHULL_HOME}... $ECHO_C" >&6 |
| 7268 |
> |
QHULL_INC_DIR= |
| 7269 |
> |
QHULL_LIB_DIR= |
| 7270 |
> |
QHULL= |
| 7271 |
> |
USE_QHULL=no |
| 7272 |
> |
LDFLAGS="$QHULL_OLD_LDFLAGS" |
| 7273 |
> |
CFLAGS="$QHULL_OLD_CFLAGS" |
| 7274 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 7275 |
> |
echo "${ECHO_T}failed" >&6 |
| 7276 |
> |
echo "" |
| 7277 |
> |
echo "*********************************************************" |
| 7278 |
> |
echo "* WARNING: Could not find a working qhull installation *" |
| 7279 |
> |
echo "* If you need OOPSE to be able to deal with convex *" |
| 7280 |
> |
echo "* hulls be sure to specify a valid qhull installation *" |
| 7281 |
> |
echo "* with --with-qhull=DIR *" |
| 7282 |
> |
echo "* *" |
| 7283 |
> |
echo "* OOPSE will still work without qhull installed. *" |
| 7284 |
> |
echo "*********************************************************" |
| 7285 |
> |
echo "" |
| 7286 |
> |
fi |
| 7287 |
|
|
| 6042 |
– |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6043 |
– |
#ifdef __cplusplus |
| 6044 |
– |
extern "C" |
| 6045 |
– |
#endif |
| 6046 |
– |
/* We use char because int might match the return type of a gcc2 |
| 6047 |
– |
builtin and then its argument prototype would still apply. */ |
| 6048 |
– |
char inflateEnd (); |
| 6049 |
– |
#ifdef FC_DUMMY_MAIN |
| 6050 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6051 |
– |
# ifdef __cplusplus |
| 6052 |
– |
extern "C" |
| 6053 |
– |
# endif |
| 6054 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 6055 |
– |
#endif |
| 6056 |
– |
#endif |
| 6057 |
– |
int |
| 6058 |
– |
main () |
| 6059 |
– |
{ |
| 6060 |
– |
inflateEnd (); |
| 6061 |
– |
; |
| 6062 |
– |
return 0; |
| 6063 |
– |
} |
| 6064 |
– |
_ACEOF |
| 6065 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6066 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6067 |
– |
(eval $ac_link) 2>conftest.er1 |
| 6068 |
– |
ac_status=$? |
| 6069 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6070 |
– |
rm -f conftest.er1 |
| 6071 |
– |
cat conftest.err >&5 |
| 6072 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6073 |
– |
(exit $ac_status); } && |
| 6074 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6075 |
– |
|| test ! -s conftest.err' |
| 6076 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6077 |
– |
(eval $ac_try) 2>&5 |
| 6078 |
– |
ac_status=$? |
| 6079 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6080 |
– |
(exit $ac_status); }; } && |
| 6081 |
– |
{ ac_try='test -s conftest$ac_exeext' |
| 6082 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6083 |
– |
(eval $ac_try) 2>&5 |
| 6084 |
– |
ac_status=$? |
| 6085 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6086 |
– |
(exit $ac_status); }; }; then |
| 6087 |
– |
ac_cv_lib_z_inflateEnd=yes |
| 6088 |
– |
else |
| 6089 |
– |
echo "$as_me: failed program was:" >&5 |
| 6090 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7288 |
|
|
| 6092 |
– |
ac_cv_lib_z_inflateEnd=no |
| 6093 |
– |
fi |
| 6094 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 6095 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 6096 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 6097 |
– |
fi |
| 6098 |
– |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 6099 |
– |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 6100 |
– |
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 6101 |
– |
cat >>confdefs.h <<_ACEOF |
| 6102 |
– |
#define HAVE_LIBZ 1 |
| 6103 |
– |
_ACEOF |
| 7289 |
|
|
| 6105 |
– |
LIBS="-lz $LIBS" |
| 7290 |
|
|
| 7291 |
|
fi |
| 6108 |
– |
|
| 6109 |
– |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 6110 |
– |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 6111 |
– |
echo "$as_me:$LINENO: result: ok" >&5 |
| 6112 |
– |
echo "${ECHO_T}ok" >&6 |
| 6113 |
– |
else |
| 6114 |
– |
# |
| 6115 |
– |
# If either header or library was not found, revert and bomb |
| 6116 |
– |
# |
| 6117 |
– |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 6118 |
– |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 6119 |
– |
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 6120 |
– |
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 6121 |
– |
echo "$as_me:$LINENO: result: failed" >&5 |
| 6122 |
– |
echo "${ECHO_T}failed" >&6 |
| 6123 |
– |
{ { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 |
| 6124 |
– |
echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} |
| 6125 |
– |
{ (exit 1); exit 1; }; } |
| 6126 |
– |
fi |
| 7292 |
|
fi |
| 7293 |
|
|
| 7294 |
|
|
| 6130 |
– |
|
| 7295 |
|
# Checks for header files. |
| 7296 |
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 7297 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 12301 |
|
# Try to determine "good" native compiler flags if none specified on command |
| 12302 |
|
# line |
| 12303 |
|
|
| 12304 |
< |
if test "$ac_test_FCFLAGS" != "set"; then |
| 12304 |
> |
if test "$ac_test_FFLAGS" != "set"; then |
| 12305 |
|
FCFLAGS="" |
| 12306 |
|
case "${host_cpu}-${host_os}" in |
| 12307 |
|
|
| 12308 |
|
*linux*) if test "$FC" = ifc -o "$FC" = ifort; then |
| 12309 |
< |
FCFLAGS="-O" |
| 12309 |
> |
FCFLAGS="-O3 -ip -no-prec-div" |
| 12310 |
|
fi;; |
| 12311 |
|
rs6000*-aix*) if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then |
| 12312 |
|
FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" |
| 12327 |
|
*darwin*) |
| 12328 |
|
if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then |
| 12329 |
|
FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" |
| 12330 |
+ |
fi |
| 12331 |
+ |
if test "$FC" = ifort; then |
| 12332 |
+ |
FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" |
| 12333 |
|
fi;; |
| 12334 |
|
esac |
| 12335 |
|
|
| 12489 |
|
*darwin*) |
| 12490 |
|
if test "$CC" = xlc -o "$CC" = cc; then |
| 12491 |
|
CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
| 12492 |
+ |
fi |
| 12493 |
+ |
if test "$CC" = icc; then |
| 12494 |
+ |
CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
| 12495 |
|
fi;; |
| 12496 |
|
esac |
| 12497 |
|
|
| 12498 |
|
# use default flags for gcc on all systems |
| 12499 |
|
if test $ac_cv_prog_really_gcc = yes; then |
| 12500 |
< |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" |
| 12500 |
> |
CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
| 12501 |
|
fi |
| 12502 |
|
|
| 12503 |
|
# test for gcc-specific flags: |
| 12946 |
|
*darwin*) |
| 12947 |
|
if test "$CXX" = xlc++ -o "$CXX" = xlC ; then |
| 12948 |
|
CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" |
| 12949 |
+ |
fi |
| 12950 |
+ |
if test "$CXX" = icpc; then |
| 12951 |
+ |
CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" |
| 12952 |
|
fi;; |
| 12953 |
|
esac |
| 12954 |
|
|
| 12955 |
|
# use default flags for gcc on all systems |
| 12956 |
|
if test $ac_cv_prog_really_gxx = yes; then |
| 12957 |
< |
CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" |
| 12957 |
> |
CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align" |
| 12958 |
|
fi |
| 12959 |
|
|
| 12960 |
|
# test for gcc-specific flags: |
| 13363 |
|
MPI_INC_DIR="$MPI/include" |
| 13364 |
|
|
| 13365 |
|
|
| 13366 |
+ |
|
| 13367 |
+ |
ac_ext=c |
| 13368 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 13369 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13370 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13371 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13372 |
|
|
| 13373 |
|
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 13374 |
|
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
| 13375 |
|
have_mpi_h=0 |
| 13376 |
|
rm -f conftest* |
| 13377 |
< |
echo '#include <mpi.h>' > conftest.cc |
| 13378 |
< |
if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then |
| 13377 |
> |
echo '#include <mpi.h>' > conftest.c |
| 13378 |
> |
if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then |
| 13379 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 13380 |
|
echo "${ECHO_T}yes" >&6 |
| 13381 |
|
have_mpi_h=1 |
| 13398 |
|
|
| 13399 |
|
echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
| 13400 |
|
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 |
| 13401 |
+ |
|
| 13402 |
+ |
|
| 13403 |
+ |
ac_ext=${FC_SRCEXT-f} |
| 13404 |
+ |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 13405 |
+ |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 13406 |
+ |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 13407 |
+ |
|
| 13408 |
+ |
ac_save_ext=$ac_ext |
| 13409 |
+ |
ac_ext=F90 |
| 13410 |
+ |
ac_save_FCFLAGS=$FCFLAGS |
| 13411 |
|
have_mpif_h=0 |
| 13412 |
|
rm -f conftest* |
| 13413 |
|
cat >conftest.$ac_ext <<EOF |
| 13437 |
|
_ACEOF |
| 13438 |
|
|
| 13439 |
|
fi |
| 13440 |
+ |
FCFLAGS=$ac_save_FCFLAGS |
| 13441 |
+ |
ac_ext=$ac_save_ext |
| 13442 |
+ |
ac_ext=c |
| 13443 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 13444 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13445 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13446 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13447 |
|
|
| 13448 |
+ |
|
| 13449 |
|
ac_ext=c |
| 13450 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 13451 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13454 |
|
|
| 13455 |
|
ac_save_LDFLAGS=$LDFLAGS |
| 13456 |
< |
LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} " |
| 13456 |
> |
LDFLAGS="-L${MPI_LIB_DIR} ${LDFLAGS} " |
| 13457 |
|
|
| 13458 |
|
if test x = x"$MPI_LIB"; then |
| 13459 |
|
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
| 13533 |
|
fi |
| 13534 |
|
|
| 13535 |
|
fi |
| 13536 |
+ |
$as_unset ac_cv_lib_mpich_MPI_Init |
| 13537 |
|
if test x = x"$MPI_LIB"; then |
| 13538 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13539 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13540 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 13538 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 |
| 13539 |
> |
echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6 |
| 13540 |
> |
if test "${ac_cv_lib_pmpich_MPI_Init+set}" = set; then |
| 13541 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13542 |
|
else |
| 13543 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13544 |
< |
LIBS="-lmpi $LIBS" |
| 13544 |
> |
LIBS="-lpmpich -lmpich -lpmpich -lmpich $LIBS" |
| 13545 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 13546 |
|
/* confdefs.h. */ |
| 13547 |
|
_ACEOF |
| 13594 |
|
ac_status=$? |
| 13595 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13596 |
|
(exit $ac_status); }; }; then |
| 13597 |
< |
ac_cv_lib_mpi_MPI_Init=yes |
| 13597 |
> |
ac_cv_lib_pmpich_MPI_Init=yes |
| 13598 |
|
else |
| 13599 |
|
echo "$as_me: failed program was:" >&5 |
| 13600 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13601 |
|
|
| 13602 |
< |
ac_cv_lib_mpi_MPI_Init=no |
| 13602 |
> |
ac_cv_lib_pmpich_MPI_Init=no |
| 13603 |
|
fi |
| 13604 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 13605 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13606 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13607 |
|
fi |
| 13608 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13609 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13610 |
< |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13611 |
< |
MPI_LIB="-lmpi" |
| 13608 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 |
| 13609 |
> |
echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6 |
| 13610 |
> |
if test $ac_cv_lib_pmpich_MPI_Init = yes; then |
| 13611 |
> |
MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich" |
| 13612 |
|
fi |
| 13613 |
|
|
| 13614 |
|
fi |
| 12417 |
– |
$as_unset ac_cv_lib_mpi_MPI_Init |
| 13615 |
|
if test x = x"$MPI_LIB"; then |
| 13616 |
|
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13617 |
|
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13619 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13620 |
|
else |
| 13621 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13622 |
< |
LIBS="-lmpi "-llam" $LIBS" |
| 13622 |
> |
LIBS="-lmpi $LIBS" |
| 13623 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 13624 |
|
/* confdefs.h. */ |
| 13625 |
|
_ACEOF |
| 13686 |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13687 |
|
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13688 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13689 |
< |
MPI_LIB="-lmpi -llam" |
| 13689 |
> |
MPI_LIB="-lmpi" |
| 13690 |
|
fi |
| 13691 |
|
|
| 13692 |
|
fi |
| 13693 |
< |
$as_unset ac_cv_lib_mpich_MPI_Init |
| 13693 |
> |
$as_unset ac_cv_lib_mpi_MPI_Init |
| 13694 |
|
if test x = x"$MPI_LIB"; then |
| 13695 |
< |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
| 13696 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
| 13697 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
| 13695 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13696 |
> |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13697 |
> |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 13698 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13699 |
|
else |
| 13700 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13701 |
< |
LIBS="-lmpich "-lpmpich" $LIBS" |
| 13701 |
> |
LIBS="-lmpi -llam $LIBS" |
| 13702 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 13703 |
|
/* confdefs.h. */ |
| 13704 |
|
_ACEOF |
| 13751 |
|
ac_status=$? |
| 13752 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13753 |
|
(exit $ac_status); }; }; then |
| 13754 |
< |
ac_cv_lib_mpich_MPI_Init=yes |
| 13754 |
> |
ac_cv_lib_mpi_MPI_Init=yes |
| 13755 |
|
else |
| 13756 |
|
echo "$as_me: failed program was:" >&5 |
| 13757 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13758 |
|
|
| 13759 |
< |
ac_cv_lib_mpich_MPI_Init=no |
| 13759 |
> |
ac_cv_lib_mpi_MPI_Init=no |
| 13760 |
|
fi |
| 13761 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 13762 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13763 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13764 |
|
fi |
| 13765 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 13766 |
< |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
| 13767 |
< |
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
| 13768 |
< |
MPI_LIB="-lmpich -lpmpich" |
| 13765 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13766 |
> |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13767 |
> |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13768 |
> |
MPI_LIB="-lmpi -llam" |
| 13769 |
|
fi |
| 13770 |
|
|
| 13771 |
|
fi |
| 12575 |
– |
|
| 13772 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
| 13773 |
|
if test x = x"$MPI_LIB"; then |
| 13774 |
|
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13876 |
|
|
| 13877 |
|
|
| 13878 |
|
|
| 13879 |
< |
USE_CGAL=no |
| 12684 |
< |
cgal_makefile=auto |
| 13879 |
> |
acx_cgal_found=no |
| 13880 |
|
|
| 13881 |
< |
# Check whether --with-cgal-makefile or --without-cgal-makefile was given. |
| 13882 |
< |
if test "${with_cgal_makefile+set}" = set; then |
| 13883 |
< |
withval="$with_cgal_makefile" |
| 13884 |
< |
cgal_makefile="$withval" |
| 13881 |
> |
# Check whether --with-cgalmakefile or --without-cgalmakefile was given. |
| 13882 |
> |
if test "${with_cgalmakefile+set}" = set; then |
| 13883 |
> |
withval="$with_cgalmakefile" |
| 13884 |
> |
|
| 13885 |
|
fi; |
| 13886 |
+ |
case $with_cgalmakefile in |
| 13887 |
+ |
yes | "") ;; |
| 13888 |
+ |
no) acx_cgal_found=disable ;; |
| 13889 |
+ |
-* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 13890 |
+ |
*) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 13891 |
+ |
esac |
| 13892 |
|
|
| 13893 |
< |
if test "x$cgal_makefile" != xno; then |
| 13893 |
> |
if test "$acx_cgal_found" == no; then |
| 13894 |
> |
echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 |
| 13895 |
> |
echo $ECHO_N "checking CGAL_MAKEFILE... $ECHO_C" >&6 |
| 13896 |
|
|
| 13897 |
< |
if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then |
| 12695 |
< |
cgal_makefile="$CGAL_MAKEFILE" |
| 12696 |
< |
fi |
| 13897 |
> |
if test \! -z "$CGAL_MAKEFILE"; then |
| 13898 |
|
|
| 13899 |
< |
echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5 |
| 13900 |
< |
echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6 |
| 13899 |
> |
if test -e "$CGAL_MAKEFILE"; then |
| 13900 |
> |
tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` |
| 13901 |
|
|
| 13902 |
< |
if test -f "$cgal_makefile"; then |
| 13902 |
> |
cat > $tname << _ACEOF |
| 13903 |
> |
include $CGAL_MAKEFILE |
| 13904 |
|
|
| 13905 |
< |
cat >config.tmp.Makefile <<EOF |
| 13906 |
< |
include $cgal_makefile |
| 12705 |
< |
default: |
| 12706 |
< |
@echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables |
| 12707 |
< |
@echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables |
| 12708 |
< |
@echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables |
| 12709 |
< |
@echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 12710 |
< |
@echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables |
| 12711 |
< |
@echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables |
| 12712 |
< |
@echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables |
| 12713 |
< |
@echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 12714 |
< |
@echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables |
| 12715 |
< |
@echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables |
| 12716 |
< |
@echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 12717 |
< |
@echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables |
| 12718 |
< |
EOF |
| 12719 |
< |
|
| 12720 |
< |
make -s -f config.tmp.Makefile |
| 12721 |
< |
. config.tmp.cgalvariables |
| 12722 |
< |
|
| 12723 |
< |
rm -f config.tmp.Makefile config.tmp.cgalvariables |
| 12724 |
< |
|
| 12725 |
< |
if test "x$CGAL_INCLDIR" = "x"; then |
| 12726 |
< |
CGAL_INCLDIR="" |
| 12727 |
< |
fi |
| 12728 |
< |
|
| 12729 |
< |
if test "x$CGAL_LIBDIR" = "x"; then |
| 12730 |
< |
CGAL_LIBDIR="" |
| 12731 |
< |
fi |
| 12732 |
< |
|
| 12733 |
< |
if test "x$CGAL_RLIBDIR" = "x"; then |
| 12734 |
< |
CGAL_RLIBDIR="" |
| 12735 |
< |
fi |
| 13905 |
> |
cppflags: |
| 13906 |
> |
@echo \$(CGAL_CXXFLAGS) |
| 13907 |
|
|
| 13908 |
< |
if test "x$LEDA_INCLDIR" = "x"; then |
| 13909 |
< |
LEDA_INCLDIR="" |
| 13908 |
> |
cxxflags: |
| 13909 |
> |
@echo |
| 13910 |
> |
ldflags: |
| 13911 |
> |
@echo \$(CGAL_LDFLAGS) |
| 13912 |
> |
_ACEOF |
| 13913 |
> |
CGAL_CPPFLAGS="`make -s -f $tname cppflags`" |
| 13914 |
> |
CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" |
| 13915 |
> |
CGAL_LDFLAGST="`make -s -f $tname ldflags`" |
| 13916 |
> |
for i in $CGAL_LDFLAGST; do |
| 13917 |
> |
if test `echo $i| grep -c ^-l`; then |
| 13918 |
> |
CGAL_LIBS="$CGAL_LIBS $i" |
| 13919 |
> |
else |
| 13920 |
> |
CGAL_LDFLAGS="$CGAL_LDFLAGS $i" |
| 13921 |
> |
fi |
| 13922 |
> |
done |
| 13923 |
> |
rm -f $tname |
| 13924 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 13925 |
> |
echo "${ECHO_T}yes" >&6 |
| 13926 |
> |
acx_cgal_found=yes |
| 13927 |
> |
else |
| 13928 |
> |
echo "$as_me:$LINENO: result: invalid" >&5 |
| 13929 |
> |
echo "${ECHO_T}invalid" >&6 |
| 13930 |
> |
{ { echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 |
| 13931 |
> |
echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} |
| 13932 |
> |
{ (exit 1); exit 1; }; } |
| 13933 |
> |
fi |
| 13934 |
> |
else |
| 13935 |
> |
echo "$as_me:$LINENO: result: not defined" >&5 |
| 13936 |
> |
echo "${ECHO_T}not defined" >&6 |
| 13937 |
|
fi |
| 13938 |
+ |
fi |
| 13939 |
|
|
| 13940 |
< |
if test "x$LEDA_LIBDIR" = "x"; then |
| 13941 |
< |
LEDA_LIBDIR="" |
| 13942 |
< |
fi |
| 13943 |
< |
|
| 13944 |
< |
if test "x$LEDA_RLIBDIR" = "x"; then |
| 12746 |
< |
LEDA_RLIBDIR="" |
| 12747 |
< |
fi |
| 12748 |
< |
|
| 12749 |
< |
if test "x$GMP_INCLDIR" = "x"; then |
| 12750 |
< |
GMP_INCLDIR="" |
| 12751 |
< |
fi |
| 12752 |
< |
|
| 12753 |
< |
if test "x$GMP_LIBDIR" = "x"; then |
| 12754 |
< |
GMP_LIBDIR="" |
| 12755 |
< |
fi |
| 12756 |
< |
|
| 12757 |
< |
if test "x$GMP_RLIBDIR" = "x"; then |
| 12758 |
< |
GMP_RLIBDIR="" |
| 12759 |
< |
fi |
| 12760 |
< |
|
| 12761 |
< |
echo "$as_me:$LINENO: result: CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&5 |
| 12762 |
< |
echo "${ECHO_T}CGAL_OS_COMPILER= $CGAL_OS_COMPILER" >&6 |
| 12763 |
< |
echo "$as_me:$LINENO: result: CGAL_INCLDIR= $CGAL_INCLDIR" >&5 |
| 12764 |
< |
echo "${ECHO_T}CGAL_INCLDIR= $CGAL_INCLDIR" >&6 |
| 12765 |
< |
echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&5 |
| 12766 |
< |
echo "${ECHO_T}CGAL_INCLCONFDIR= $CGAL_INCLCONFDIR" >&6 |
| 12767 |
< |
echo "$as_me:$LINENO: result: CGAL_LIBDIR= $CGAL_LIBDIR" >&5 |
| 12768 |
< |
echo "${ECHO_T}CGAL_LIBDIR= $CGAL_LIBDIR" >&6 |
| 12769 |
< |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&5 |
| 12770 |
< |
echo "${ECHO_T}CGAL_CXXFLAGS= $CGAL_CXXFLAGS" >&6 |
| 12771 |
< |
echo "$as_me:$LINENO: result: LEDA_INCLDIR= $LEDA_INCLDIR" >&5 |
| 12772 |
< |
echo "${ECHO_T}LEDA_INCLDIR= $LEDA_INCLDIR" >&6 |
| 12773 |
< |
echo "$as_me:$LINENO: result: LEDA_LIBDIR= $LEDA_LIBDIR" >&5 |
| 12774 |
< |
echo "${ECHO_T}LEDA_LIBDIR= $LEDA_LIBDIR" >&6 |
| 12775 |
< |
echo "$as_me:$LINENO: result: GMP_INCLDIR= $GMP_INCLDIR" >&5 |
| 12776 |
< |
echo "${ECHO_T}GMP_INCLDIR= $GMP_INCLDIR" >&6 |
| 12777 |
< |
echo "$as_me:$LINENO: result: GMP_LIBDIR= $GMP_LIBDIR" >&5 |
| 12778 |
< |
echo "${ECHO_T}GMP_LIBDIR= $GMP_LIBDIR" >&6 |
| 12779 |
< |
|
| 12780 |
< |
ac_ext=cc |
| 12781 |
< |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 12782 |
< |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 12783 |
< |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 12784 |
< |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 12785 |
< |
|
| 12786 |
< |
save_CXXFLAGS="$CXXFLAGS" |
| 12787 |
< |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 12788 |
< |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 12789 |
< |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 12790 |
< |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 12791 |
< |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 13940 |
> |
if test "$acx_cgal_found" == no; then |
| 13941 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 13942 |
> |
echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
| 13943 |
> |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6 |
| 13944 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 13945 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13946 |
|
fi |
| 13947 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 13948 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 13947 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
| 13948 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6 |
| 13949 |
|
else |
| 13950 |
|
# Is the header compilable? |
| 13951 |
< |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5 |
| 13952 |
< |
echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6 |
| 13951 |
> |
echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 |
| 13952 |
> |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... $ECHO_C" >&6 |
| 13953 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 13954 |
|
/* confdefs.h. */ |
| 13955 |
|
_ACEOF |
| 13957 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13958 |
|
/* end confdefs.h. */ |
| 13959 |
|
$ac_includes_default |
| 13960 |
< |
#include <CGAL/Cartesian.h> |
| 13960 |
> |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
| 13961 |
|
_ACEOF |
| 13962 |
|
rm -f conftest.$ac_objext |
| 13963 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13968 |
|
cat conftest.err >&5 |
| 13969 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13970 |
|
(exit $ac_status); } && |
| 13971 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 13971 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13972 |
|
|| test ! -s conftest.err' |
| 13973 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13974 |
|
(eval $ac_try) 2>&5 |
| 13993 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 13994 |
|
|
| 13995 |
|
# Is the header present? |
| 13996 |
< |
echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5 |
| 13997 |
< |
echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6 |
| 13996 |
> |
echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 |
| 13997 |
> |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... $ECHO_C" >&6 |
| 13998 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 13999 |
|
/* confdefs.h. */ |
| 14000 |
|
_ACEOF |
| 14001 |
|
cat confdefs.h >>conftest.$ac_ext |
| 14002 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 14003 |
|
/* end confdefs.h. */ |
| 14004 |
< |
#include <CGAL/Cartesian.h> |
| 14004 |
> |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
| 14005 |
|
_ACEOF |
| 14006 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 14007 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 14012 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14013 |
|
(exit $ac_status); } >/dev/null; then |
| 14014 |
|
if test -s conftest.err; then |
| 14015 |
< |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 14016 |
< |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 14015 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 14016 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 14017 |
|
else |
| 14018 |
|
ac_cpp_err= |
| 14019 |
|
fi |
| 14033 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 14034 |
|
|
| 14035 |
|
# So? What about this header? |
| 14036 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 14036 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 14037 |
|
yes:no: ) |
| 14038 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 14039 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 14040 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5 |
| 14041 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;} |
| 14038 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 14039 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 14040 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 |
| 14041 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} |
| 14042 |
|
ac_header_preproc=yes |
| 14043 |
|
;; |
| 14044 |
|
no:yes:* ) |
| 14045 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5 |
| 14046 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;} |
| 14047 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&5 |
| 14048 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: check for missing prerequisite headers?" >&2;} |
| 14049 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5 |
| 14050 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;} |
| 14051 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 14052 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 14053 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5 |
| 14054 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;} |
| 14055 |
< |
{ echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5 |
| 14056 |
< |
echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;} |
| 14045 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 |
| 14046 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} |
| 14047 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&5 |
| 14048 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&2;} |
| 14049 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 |
| 14050 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} |
| 14051 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 14052 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 14053 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 |
| 14054 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} |
| 14055 |
> |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 |
| 14056 |
> |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} |
| 14057 |
|
( |
| 14058 |
|
cat <<\_ASBOX |
| 14059 |
|
## ------------------------------ ## |
| 14064 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
| 14065 |
|
;; |
| 14066 |
|
esac |
| 14067 |
< |
echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5 |
| 14068 |
< |
echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6 |
| 14069 |
< |
if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then |
| 14067 |
> |
echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
| 14068 |
> |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6 |
| 14069 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 14070 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14071 |
|
else |
| 14072 |
< |
ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc |
| 14072 |
> |
ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc |
| 14073 |
|
fi |
| 14074 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5 |
| 14075 |
< |
echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6 |
| 14074 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
| 14075 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6 |
| 14076 |
|
|
| 14077 |
|
fi |
| 14078 |
< |
if test $ac_cv_header_CGAL_Cartesian_h = yes; then |
| 14079 |
< |
cgal=yes |
| 14078 |
> |
if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then |
| 14079 |
> |
cgal_have_header=yes |
| 14080 |
|
else |
| 14081 |
< |
cgal=no |
| 14081 |
> |
cgal_have_header=no |
| 14082 |
|
fi |
| 14083 |
|
|
| 14084 |
|
|
| 14085 |
< |
CXXFLAGS="$save_CXXFLAGS" |
| 14085 |
> |
if test "$cgal_have_header" == yes; then |
| 14086 |
> |
echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
| 14087 |
> |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6 |
| 14088 |
> |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
| 14089 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14090 |
> |
else |
| 14091 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14092 |
> |
LIBS="-lCGAL $LIBS" |
| 14093 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 14094 |
> |
/* confdefs.h. */ |
| 14095 |
> |
_ACEOF |
| 14096 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 14097 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 14098 |
> |
/* end confdefs.h. */ |
| 14099 |
|
|
| 12934 |
– |
if test "x$cgal" = xyes; then |
| 12935 |
– |
echo "$as_me:$LINENO: checking for CGAL version" >&5 |
| 12936 |
– |
echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6 |
| 12937 |
– |
LOCATION=${CGAL_INCLDIR} |
| 12938 |
– |
LOCATION=${LOCATION:-/usr/include} |
| 12939 |
– |
if test -f $LOCATION/CGAL/version.h; then |
| 12940 |
– |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'` |
| 12941 |
– |
else |
| 12942 |
– |
CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'` |
| 12943 |
– |
fi |
| 12944 |
– |
if echo $CGAL_VERSION | grep -q "^[3456789]"; then |
| 12945 |
– |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5 |
| 12946 |
– |
echo "${ECHO_T}($CGAL_VERSION) yes" >&6 |
| 12947 |
– |
else |
| 12948 |
– |
echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5 |
| 12949 |
– |
echo "${ECHO_T}($CGAL_VERSION) no" >&6 |
| 12950 |
– |
cgal=no |
| 12951 |
– |
fi |
| 12952 |
– |
fi |
| 14100 |
|
|
| 14101 |
< |
if test "x$cgal" = xyes; then |
| 14102 |
< |
CGAL_LIBS="-lCGAL" |
| 14103 |
< |
echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5 |
| 14104 |
< |
echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6 |
| 14105 |
< |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then |
| 14106 |
< |
CGAL_USES_LEDA=yes |
| 14107 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 14108 |
< |
echo "${ECHO_T}yes" >&6 |
| 14109 |
< |
CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX" |
| 14110 |
< |
else |
| 14111 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 14112 |
< |
echo "${ECHO_T}no" >&6 |
| 14113 |
< |
CGAL_USES_LEDA=no |
| 14114 |
< |
fi |
| 14115 |
< |
|
| 14116 |
< |
echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5 |
| 14117 |
< |
echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6 |
| 14118 |
< |
if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then |
| 14119 |
< |
CGAL_USES_GMP=yes |
| 14120 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 14121 |
< |
echo "${ECHO_T}yes" >&6 |
| 14122 |
< |
CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES" |
| 14123 |
< |
else |
| 14124 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 14125 |
< |
echo "${ECHO_T}no" >&6 |
| 14126 |
< |
CGAL_USES_GMP=no |
| 14127 |
< |
fi |
| 14128 |
< |
|
| 14129 |
< |
CGAL_LIBS="$CGAL_LIBS -lm" |
| 14130 |
< |
|
| 14131 |
< |
CGAL_CXXFLAGS="-ftemplate-depth-50" |
| 14101 |
> |
#ifdef FC_DUMMY_MAIN |
| 14102 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14103 |
> |
# ifdef __cplusplus |
| 14104 |
> |
extern "C" |
| 14105 |
> |
# endif |
| 14106 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 14107 |
> |
#endif |
| 14108 |
> |
#endif |
| 14109 |
> |
int |
| 14110 |
> |
main () |
| 14111 |
> |
{ |
| 14112 |
> |
main (); |
| 14113 |
> |
; |
| 14114 |
> |
return 0; |
| 14115 |
> |
} |
| 14116 |
> |
_ACEOF |
| 14117 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14118 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14119 |
> |
(eval $ac_link) 2>conftest.er1 |
| 14120 |
> |
ac_status=$? |
| 14121 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14122 |
> |
rm -f conftest.er1 |
| 14123 |
> |
cat conftest.err >&5 |
| 14124 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14125 |
> |
(exit $ac_status); } && |
| 14126 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14127 |
> |
|| test ! -s conftest.err' |
| 14128 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14129 |
> |
(eval $ac_try) 2>&5 |
| 14130 |
> |
ac_status=$? |
| 14131 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14132 |
> |
(exit $ac_status); }; } && |
| 14133 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 14134 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14135 |
> |
(eval $ac_try) 2>&5 |
| 14136 |
> |
ac_status=$? |
| 14137 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14138 |
> |
(exit $ac_status); }; }; then |
| 14139 |
> |
ac_cv_lib_CGAL_main=yes |
| 14140 |
> |
else |
| 14141 |
> |
echo "$as_me: failed program was:" >&5 |
| 14142 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14143 |
|
|
| 14144 |
< |
echo "$as_me:$LINENO: result: CGAL_USES_LEDA= $CGAL_USES_LEDA" >&5 |
| 14145 |
< |
echo "${ECHO_T}CGAL_USES_LEDA= $CGAL_USES_LEDA" >&6 |
| 14146 |
< |
echo "$as_me:$LINENO: result: CGAL_USES_GMP = $CGAL_USES_GMP" >&5 |
| 14147 |
< |
echo "${ECHO_T}CGAL_USES_GMP = $CGAL_USES_GMP" >&6 |
| 14148 |
< |
echo "$as_me:$LINENO: result: CGAL_INCLDIR = $CGAL_INCLDIR" >&5 |
| 14149 |
< |
echo "${ECHO_T}CGAL_INCLDIR = $CGAL_INCLDIR" >&6 |
| 14150 |
< |
echo "$as_me:$LINENO: result: CGAL_LIBDIR = $CGAL_LIBDIR" >&5 |
| 14151 |
< |
echo "${ECHO_T}CGAL_LIBDIR = $CGAL_LIBDIR" >&6 |
| 14152 |
< |
echo "$as_me:$LINENO: result: CGAL_DEFINES = $CGAL_DEFINES" >&5 |
| 14153 |
< |
echo "${ECHO_T}CGAL_DEFINES = $CGAL_DEFINES" >&6 |
| 14154 |
< |
echo "$as_me:$LINENO: result: CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&5 |
| 14155 |
< |
echo "${ECHO_T}CGAL_CXXFLAGS = $CGAL_CXXFLAGS" >&6 |
| 14156 |
< |
echo "$as_me:$LINENO: result: CGAL_LIBS = $CGAL_LIBS" >&5 |
| 12999 |
< |
echo "${ECHO_T}CGAL_LIBS = $CGAL_LIBS" >&6 |
| 13000 |
< |
fi |
| 14144 |
> |
ac_cv_lib_CGAL_main=no |
| 14145 |
> |
fi |
| 14146 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 14147 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14148 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14149 |
> |
fi |
| 14150 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
| 14151 |
> |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6 |
| 14152 |
> |
if test $ac_cv_lib_CGAL_main = yes; then |
| 14153 |
> |
cgal_have_lib=yes |
| 14154 |
> |
else |
| 14155 |
> |
cgal_have_lib=no |
| 14156 |
> |
fi |
| 14157 |
|
|
| 14158 |
< |
if test "x$cgal" = xyes; then |
| 14159 |
< |
save_LIBS="$LIBS" |
| 14160 |
< |
LIBS="$LIBS -L$CGAL_LIBDIR" |
| 14161 |
< |
if test "x$CGAL_USES_LEDA" = xyes; then |
| 14162 |
< |
LIBS="-lL $LIBS -L$LEDA_LIBDIR" |
| 14163 |
< |
fi |
| 14164 |
< |
# if test "x$CGAL_USES_GMP" = xyes; then |
| 14165 |
< |
# LIBS="-lgmp $LIBS $GMP_LIBDIR" |
| 13010 |
< |
# fi |
| 13011 |
< |
echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5 |
| 13012 |
< |
echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6 |
| 13013 |
< |
save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS" |
| 13014 |
< |
CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR" |
| 13015 |
< |
save_LIBS_CHECK_CXX_LIB="$LIBS" |
| 14158 |
> |
if test "$cgal_have_lib" == no; then |
| 14159 |
> |
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
| 14160 |
> |
echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
| 14161 |
> |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6 |
| 14162 |
> |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
| 14163 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14164 |
> |
else |
| 14165 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14166 |
|
LIBS="-lCGAL $LIBS" |
| 14167 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 14168 |
|
/* confdefs.h. */ |
| 14170 |
|
cat confdefs.h >>conftest.$ac_ext |
| 14171 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 14172 |
|
/* end confdefs.h. */ |
| 14173 |
< |
#include <CGAL/Cartesian.h> |
| 14173 |
> |
|
| 14174 |
> |
|
| 14175 |
|
#ifdef FC_DUMMY_MAIN |
| 14176 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14177 |
|
# ifdef __cplusplus |
| 14183 |
|
int |
| 14184 |
|
main () |
| 14185 |
|
{ |
| 14186 |
< |
::CGAL::Cartesian<int>::Point_2 P |
| 14186 |
> |
main (); |
| 14187 |
|
; |
| 14188 |
|
return 0; |
| 14189 |
|
} |
| 14197 |
|
cat conftest.err >&5 |
| 14198 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14199 |
|
(exit $ac_status); } && |
| 14200 |
< |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 14200 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14201 |
|
|| test ! -s conftest.err' |
| 14202 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14203 |
|
(eval $ac_try) 2>&5 |
| 14210 |
|
ac_status=$? |
| 14211 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14212 |
|
(exit $ac_status); }; }; then |
| 14213 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 13063 |
< |
echo "${ECHO_T}yes" >&6 |
| 13064 |
< |
cgal=yes |
| 14213 |
> |
ac_cv_lib_CGAL_main=yes |
| 14214 |
|
else |
| 14215 |
|
echo "$as_me: failed program was:" >&5 |
| 14216 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14217 |
|
|
| 14218 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 13070 |
< |
echo "${ECHO_T}no" >&6 |
| 13071 |
< |
cgal=no |
| 14218 |
> |
ac_cv_lib_CGAL_main=no |
| 14219 |
|
fi |
| 14220 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 14221 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14222 |
< |
CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB" |
| 14223 |
< |
LIBS="$save_LIBS_CHECK_CXX_LIB" |
| 14224 |
< |
LIBS="$save_LIBS" |
| 14225 |
< |
fi |
| 14222 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14223 |
> |
fi |
| 14224 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
| 14225 |
> |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6 |
| 14226 |
> |
if test $ac_cv_lib_CGAL_main = yes; then |
| 14227 |
> |
CGAL_LIBS="-lCGAL -lgmp -lmpfr" |
| 14228 |
> |
cgal_have_lib=yes |
| 14229 |
> |
else |
| 14230 |
> |
cgal_have_lib=no |
| 14231 |
> |
fi |
| 14232 |
|
|
| 14233 |
< |
fi |
| 14234 |
< |
ac_ext=c |
| 14235 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 14236 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 14237 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 14238 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 14233 |
> |
LIBS="$save_LIBS" |
| 14234 |
> |
else |
| 14235 |
> |
CGAL_LIBS="-lCGAL" |
| 14236 |
> |
echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 |
| 14237 |
> |
echo $ECHO_N "checking for main in -lmpfr... $ECHO_C" >&6 |
| 14238 |
> |
if test "${ac_cv_lib_mpfr_main+set}" = set; then |
| 14239 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14240 |
> |
else |
| 14241 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14242 |
> |
LIBS="-lmpfr $LIBS" |
| 14243 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 14244 |
> |
/* confdefs.h. */ |
| 14245 |
> |
_ACEOF |
| 14246 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 14247 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 14248 |
> |
/* end confdefs.h. */ |
| 14249 |
|
|
| 14250 |
|
|
| 14251 |
+ |
#ifdef FC_DUMMY_MAIN |
| 14252 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14253 |
+ |
# ifdef __cplusplus |
| 14254 |
+ |
extern "C" |
| 14255 |
+ |
# endif |
| 14256 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 14257 |
+ |
#endif |
| 14258 |
+ |
#endif |
| 14259 |
+ |
int |
| 14260 |
+ |
main () |
| 14261 |
+ |
{ |
| 14262 |
+ |
main (); |
| 14263 |
+ |
; |
| 14264 |
+ |
return 0; |
| 14265 |
+ |
} |
| 14266 |
+ |
_ACEOF |
| 14267 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14268 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14269 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 14270 |
+ |
ac_status=$? |
| 14271 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14272 |
+ |
rm -f conftest.er1 |
| 14273 |
+ |
cat conftest.err >&5 |
| 14274 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14275 |
+ |
(exit $ac_status); } && |
| 14276 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14277 |
+ |
|| test ! -s conftest.err' |
| 14278 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14279 |
+ |
(eval $ac_try) 2>&5 |
| 14280 |
+ |
ac_status=$? |
| 14281 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14282 |
+ |
(exit $ac_status); }; } && |
| 14283 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 14284 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14285 |
+ |
(eval $ac_try) 2>&5 |
| 14286 |
+ |
ac_status=$? |
| 14287 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14288 |
+ |
(exit $ac_status); }; }; then |
| 14289 |
+ |
ac_cv_lib_mpfr_main=yes |
| 14290 |
+ |
else |
| 14291 |
+ |
echo "$as_me: failed program was:" >&5 |
| 14292 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14293 |
+ |
|
| 14294 |
+ |
ac_cv_lib_mpfr_main=no |
| 14295 |
|
fi |
| 14296 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 14297 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 14298 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 14299 |
+ |
fi |
| 14300 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 |
| 14301 |
+ |
echo "${ECHO_T}$ac_cv_lib_mpfr_main" >&6 |
| 14302 |
+ |
if test $ac_cv_lib_mpfr_main = yes; then |
| 14303 |
+ |
CGAL_LIBS="$CGAL_LIBS -lmpfr" |
| 14304 |
+ |
fi |
| 14305 |
|
|
| 14306 |
< |
if test "x$cgal" = xyes; then |
| 14307 |
< |
USE_CGAL=yes |
| 14308 |
< |
|
| 14309 |
< |
cat >>confdefs.h <<\_ACEOF |
| 14310 |
< |
#define HAVE_CGAL 1 |
| 14306 |
> |
echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
| 14307 |
> |
echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
| 14308 |
> |
if test "${ac_cv_lib_gmp_main+set}" = set; then |
| 14309 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14310 |
> |
else |
| 14311 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14312 |
> |
LIBS="-lgmp $LIBS" |
| 14313 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 14314 |
> |
/* confdefs.h. */ |
| 14315 |
|
_ACEOF |
| 14316 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 14317 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 14318 |
+ |
/* end confdefs.h. */ |
| 14319 |
|
|
| 14320 |
|
|
| 14321 |
< |
cat >>confdefs.h <<_ACEOF |
| 14322 |
< |
#define CGAL_VERSION $CGAL_VERSION |
| 14321 |
> |
#ifdef FC_DUMMY_MAIN |
| 14322 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14323 |
> |
# ifdef __cplusplus |
| 14324 |
> |
extern "C" |
| 14325 |
> |
# endif |
| 14326 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 14327 |
> |
#endif |
| 14328 |
> |
#endif |
| 14329 |
> |
int |
| 14330 |
> |
main () |
| 14331 |
> |
{ |
| 14332 |
> |
main (); |
| 14333 |
> |
; |
| 14334 |
> |
return 0; |
| 14335 |
> |
} |
| 14336 |
|
_ACEOF |
| 14337 |
< |
|
| 14338 |
< |
if ! echo $CGAL_VERSION | grep -q "^3.0"; then |
| 14339 |
< |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 14340 |
< |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 14341 |
< |
{ echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the ***" >&5 |
| 14342 |
< |
echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the ***" >&2;} |
| 14343 |
< |
{ echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5 |
| 14344 |
< |
echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;} |
| 14345 |
< |
{ echo "$as_me:$LINENO: WARNING: *****************************************************" >&5 |
| 14346 |
< |
echo "$as_me: WARNING: *****************************************************" >&2;} |
| 14347 |
< |
fi |
| 14348 |
< |
else |
| 14349 |
< |
if test "x$cgal_makefile" != xno; then |
| 14350 |
< |
echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5 |
| 14351 |
< |
echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6 |
| 14352 |
< |
fi |
| 14353 |
< |
CGAL_INCLDIR= |
| 14354 |
< |
CGAL_LIBDIR= |
| 14355 |
< |
CGAL_RLIBDIR= |
| 14356 |
< |
CGAL_DEFINES= |
| 14357 |
< |
CGAL_CXXFLAGS= |
| 14358 |
< |
CGAL_LIBS= |
| 14337 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14338 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14339 |
> |
(eval $ac_link) 2>conftest.er1 |
| 14340 |
> |
ac_status=$? |
| 14341 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14342 |
> |
rm -f conftest.er1 |
| 14343 |
> |
cat conftest.err >&5 |
| 14344 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14345 |
> |
(exit $ac_status); } && |
| 14346 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14347 |
> |
|| test ! -s conftest.err' |
| 14348 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14349 |
> |
(eval $ac_try) 2>&5 |
| 14350 |
> |
ac_status=$? |
| 14351 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14352 |
> |
(exit $ac_status); }; } && |
| 14353 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 14354 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14355 |
> |
(eval $ac_try) 2>&5 |
| 14356 |
> |
ac_status=$? |
| 14357 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14358 |
> |
(exit $ac_status); }; }; then |
| 14359 |
> |
ac_cv_lib_gmp_main=yes |
| 14360 |
> |
else |
| 14361 |
> |
echo "$as_me: failed program was:" >&5 |
| 14362 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14363 |
> |
|
| 14364 |
> |
ac_cv_lib_gmp_main=no |
| 14365 |
|
fi |
| 14366 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 14367 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 14368 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 14369 |
+ |
fi |
| 14370 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
| 14371 |
+ |
echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
| 14372 |
+ |
if test $ac_cv_lib_gmp_main = yes; then |
| 14373 |
+ |
CGAL_LIBS="$CGAL_LIBS -lgmp" |
| 14374 |
+ |
fi |
| 14375 |
|
|
| 14376 |
+ |
echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 |
| 14377 |
+ |
echo $ECHO_N "checking for main in -lgmpxx... $ECHO_C" >&6 |
| 14378 |
+ |
if test "${ac_cv_lib_gmpxx_main+set}" = set; then |
| 14379 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14380 |
+ |
else |
| 14381 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 14382 |
+ |
LIBS="-lgmpxx $LIBS" |
| 14383 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 14384 |
+ |
/* confdefs.h. */ |
| 14385 |
+ |
_ACEOF |
| 14386 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 14387 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 14388 |
+ |
/* end confdefs.h. */ |
| 14389 |
|
|
| 13126 |
– |
CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}" |
| 14390 |
|
|
| 14391 |
< |
CGAL_LIB_DIR=${CGAL_LIBDIR} |
| 14391 |
> |
#ifdef FC_DUMMY_MAIN |
| 14392 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14393 |
> |
# ifdef __cplusplus |
| 14394 |
> |
extern "C" |
| 14395 |
> |
# endif |
| 14396 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 14397 |
> |
#endif |
| 14398 |
> |
#endif |
| 14399 |
> |
int |
| 14400 |
> |
main () |
| 14401 |
> |
{ |
| 14402 |
> |
main (); |
| 14403 |
> |
; |
| 14404 |
> |
return 0; |
| 14405 |
> |
} |
| 14406 |
> |
_ACEOF |
| 14407 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14408 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14409 |
> |
(eval $ac_link) 2>conftest.er1 |
| 14410 |
> |
ac_status=$? |
| 14411 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14412 |
> |
rm -f conftest.er1 |
| 14413 |
> |
cat conftest.err >&5 |
| 14414 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14415 |
> |
(exit $ac_status); } && |
| 14416 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14417 |
> |
|| test ! -s conftest.err' |
| 14418 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14419 |
> |
(eval $ac_try) 2>&5 |
| 14420 |
> |
ac_status=$? |
| 14421 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14422 |
> |
(exit $ac_status); }; } && |
| 14423 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 14424 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14425 |
> |
(eval $ac_try) 2>&5 |
| 14426 |
> |
ac_status=$? |
| 14427 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14428 |
> |
(exit $ac_status); }; }; then |
| 14429 |
> |
ac_cv_lib_gmpxx_main=yes |
| 14430 |
> |
else |
| 14431 |
> |
echo "$as_me: failed program was:" >&5 |
| 14432 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14433 |
|
|
| 14434 |
< |
CGAL_RLIB_DIR=${CGAL_RLIBDIR} |
| 14434 |
> |
ac_cv_lib_gmpxx_main=no |
| 14435 |
> |
fi |
| 14436 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 14437 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14438 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14439 |
> |
fi |
| 14440 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5 |
| 14441 |
> |
echo "${ECHO_T}$ac_cv_lib_gmpxx_main" >&6 |
| 14442 |
> |
if test $ac_cv_lib_gmpxx_main = yes; then |
| 14443 |
> |
CGAL_LIBS="$CGAL_LIBS -lgmpxx" |
| 14444 |
> |
fi |
| 14445 |
|
|
| 14446 |
+ |
fi |
| 14447 |
|
|
| 14448 |
+ |
if test "$cgal_have_lib" == yes; then |
| 14449 |
+ |
acx_cgal_found=yes |
| 14450 |
+ |
fi |
| 14451 |
+ |
fi |
| 14452 |
+ |
if test "$acx_cgal_found" == yes; then |
| 14453 |
+ |
echo "$as_me:$LINENO: checking for main in -lCore" >&5 |
| 14454 |
+ |
echo $ECHO_N "checking for main in -lCore... $ECHO_C" >&6 |
| 14455 |
+ |
if test "${ac_cv_lib_Core_main+set}" = set; then |
| 14456 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14457 |
+ |
else |
| 14458 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 14459 |
+ |
LIBS="-lCore $LIBS" |
| 14460 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 14461 |
+ |
/* confdefs.h. */ |
| 14462 |
+ |
_ACEOF |
| 14463 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 14464 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 14465 |
+ |
/* end confdefs.h. */ |
| 14466 |
|
|
| 14467 |
|
|
| 14468 |
+ |
#ifdef FC_DUMMY_MAIN |
| 14469 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14470 |
+ |
# ifdef __cplusplus |
| 14471 |
+ |
extern "C" |
| 14472 |
+ |
# endif |
| 14473 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 14474 |
+ |
#endif |
| 14475 |
+ |
#endif |
| 14476 |
+ |
int |
| 14477 |
+ |
main () |
| 14478 |
+ |
{ |
| 14479 |
+ |
main (); |
| 14480 |
+ |
; |
| 14481 |
+ |
return 0; |
| 14482 |
+ |
} |
| 14483 |
+ |
_ACEOF |
| 14484 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14485 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14486 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 14487 |
+ |
ac_status=$? |
| 14488 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14489 |
+ |
rm -f conftest.er1 |
| 14490 |
+ |
cat conftest.err >&5 |
| 14491 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14492 |
+ |
(exit $ac_status); } && |
| 14493 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14494 |
+ |
|| test ! -s conftest.err' |
| 14495 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14496 |
+ |
(eval $ac_try) 2>&5 |
| 14497 |
+ |
ac_status=$? |
| 14498 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14499 |
+ |
(exit $ac_status); }; } && |
| 14500 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 14501 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14502 |
+ |
(eval $ac_try) 2>&5 |
| 14503 |
+ |
ac_status=$? |
| 14504 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14505 |
+ |
(exit $ac_status); }; }; then |
| 14506 |
+ |
ac_cv_lib_Core_main=yes |
| 14507 |
+ |
else |
| 14508 |
+ |
echo "$as_me: failed program was:" >&5 |
| 14509 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14510 |
|
|
| 14511 |
+ |
ac_cv_lib_Core_main=no |
| 14512 |
+ |
fi |
| 14513 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 14514 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 14515 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 14516 |
+ |
fi |
| 14517 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5 |
| 14518 |
+ |
echo "${ECHO_T}$ac_cv_lib_Core_main" >&6 |
| 14519 |
+ |
if test $ac_cv_lib_Core_main = yes; then |
| 14520 |
+ |
CGAL_LIBS="$CGAL_LIBS -lCore" |
| 14521 |
+ |
fi |
| 14522 |
|
|
| 14523 |
+ |
fi |
| 14524 |
+ |
fi |
| 14525 |
|
|
| 14526 |
+ |
|
| 14527 |
+ |
|
| 14528 |
+ |
echo "$as_me:$LINENO: checking CGAL" >&5 |
| 14529 |
+ |
echo $ECHO_N "checking CGAL... $ECHO_C" >&6 |
| 14530 |
+ |
if test "$acx_cgal_found" == yes; then |
| 14531 |
+ |
echo "$as_me:$LINENO: result: yes" >&5 |
| 14532 |
+ |
echo "${ECHO_T}yes" >&6; |
| 14533 |
+ |
|
| 14534 |
+ |
else |
| 14535 |
+ |
echo "$as_me:$LINENO: result: no" >&5 |
| 14536 |
+ |
echo "${ECHO_T}no" >&6 |
| 14537 |
+ |
|
| 14538 |
+ |
fi |
| 14539 |
+ |
USE_CGAL=no |
| 14540 |
+ |
if test "$acx_cgal_found" == yes; then |
| 14541 |
+ |
USE_CGAL=yes |
| 14542 |
+ |
|
| 14543 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 14544 |
+ |
#define HAVE_CGAL 1 |
| 14545 |
+ |
_ACEOF |
| 14546 |
+ |
|
| 14547 |
+ |
|
| 14548 |
+ |
|
| 14549 |
+ |
|
| 14550 |
+ |
|
| 14551 |
+ |
fi |
| 14552 |
+ |
|
| 14553 |
+ |
|
| 14554 |
+ |
|
| 14555 |
+ |
|
| 14556 |
|
# Check whether --enable-doxygen or --disable-doxygen was given. |
| 14557 |
|
if test "${enable_doxygen+set}" = set; then |
| 14558 |
|
enableval="$enable_doxygen" |
| 14706 |
|
|
| 14707 |
|
|
| 14708 |
|
|
| 14709 |
< |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" |
| 14709 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile scripts/filepp" |
| 14710 |
|
|
| 14711 |
|
|
| 14712 |
|
cat >confcache <<\_ACEOF |
| 15071 |
|
} >&5 |
| 15072 |
|
cat >&5 <<_CSEOF |
| 15073 |
|
|
| 15074 |
< |
This file was extended by OOPSE $as_me 3.0, which was |
| 15074 |
> |
This file was extended by OOPSE $as_me 4.0, which was |
| 15075 |
|
generated by GNU Autoconf 2.59. Invocation command line was |
| 15076 |
|
|
| 15077 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15134 |
|
|
| 15135 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 15136 |
|
ac_cs_version="\\ |
| 15137 |
< |
OOPSE config.status 3.0 |
| 15137 |
> |
OOPSE config.status 4.0 |
| 15138 |
|
configured by $0, generated by GNU Autoconf 2.59, |
| 15139 |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 15140 |
|
|
| 15239 |
|
# Handling of arguments. |
| 15240 |
|
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
| 15241 |
|
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
| 15242 |
< |
"src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;; |
| 15242 |
> |
"src/math/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/math/Makefile" ;; |
| 15243 |
|
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 15244 |
|
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
| 15245 |
|
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 15338 |
|
s,@host_os@,$host_os,;t t |
| 15339 |
|
s,@PROGNAME@,$PROGNAME,;t t |
| 15340 |
|
s,@debug@,$debug,;t t |
| 15341 |
+ |
s,@USE_SINGLE_PRECISION@,$USE_SINGLE_PRECISION,;t t |
| 15342 |
|
s,@CXX@,$CXX,;t t |
| 15343 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 15344 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
| 15376 |
|
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 15377 |
|
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 15378 |
|
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 15379 |
+ |
s,@ZLIB_INC_DIR@,$ZLIB_INC_DIR,;t t |
| 15380 |
+ |
s,@ZLIB_LIB_DIR@,$ZLIB_LIB_DIR,;t t |
| 15381 |
+ |
s,@ZLIB@,$ZLIB,;t t |
| 15382 |
+ |
s,@FFTW_INC_DIR@,$FFTW_INC_DIR,;t t |
| 15383 |
+ |
s,@FFTW_LIB_DIR@,$FFTW_LIB_DIR,;t t |
| 15384 |
+ |
s,@FFTW_LIBS@,$FFTW_LIBS,;t t |
| 15385 |
+ |
s,@QHULL_INC_DIR@,$QHULL_INC_DIR,;t t |
| 15386 |
+ |
s,@QHULL_LIB_DIR@,$QHULL_LIB_DIR,;t t |
| 15387 |
+ |
s,@QHULL@,$QHULL,;t t |
| 15388 |
+ |
s,@USE_QHULL@,$USE_QHULL,;t t |
| 15389 |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
| 15390 |
|
s,@POW_LIB@,$POW_LIB,;t t |
| 15391 |
|
s,@CXXCPP@,$CXXCPP,;t t |
| 15396 |
|
s,@MPI_LIB@,$MPI_LIB,;t t |
| 15397 |
|
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 15398 |
|
s,@USE_MPI@,$USE_MPI,;t t |
| 13970 |
– |
s,@USE_CGAL@,$USE_CGAL,;t t |
| 13971 |
– |
s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t |
| 13972 |
– |
s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t |
| 13973 |
– |
s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t |
| 13974 |
– |
s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t |
| 15399 |
|
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
| 15400 |
+ |
s,@CGAL_LDFLAGS@,$CGAL_LDFLAGS,;t t |
| 15401 |
+ |
s,@CGAL_CPPFLAGS@,$CGAL_CPPFLAGS,;t t |
| 15402 |
|
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
| 15403 |
+ |
s,@USE_CGAL@,$USE_CGAL,;t t |
| 15404 |
|
s,@DOXYGEN@,$DOXYGEN,;t t |
| 15405 |
|
s,@DOT@,$DOT,;t t |
| 15406 |
|
s,@DOC@,$DOC,;t t |
| 15653 |
|
case $ac_file in |
| 15654 |
|
make/Makefile ) chmod 0755 scripts/* ;; |
| 15655 |
|
src/utils/Makefile ) chmod 0755 scripts/* ;; |
| 15656 |
< |
src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;; |
| 15656 |
> |
src/math/Makefile ) chmod 0755 scripts/* ;; |
| 15657 |
|
scripts/filepp ) chmod 0755 scripts/* ;; |
| 15658 |
|
esac |
| 15659 |
|
done |
| 16049 |
|
$ac_cs_success || { (exit 1); exit 1; } |
| 16050 |
|
fi |
| 16051 |
|
|
| 14625 |
– |
|
| 14626 |
– |
|