ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 1373 by gezelter, Tue Oct 20 13:13:45 2009 UTC vs.
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.64 for OOPSE 4.0.
3 > # Generated by GNU Autoconf 2.65 for OpenMD 1.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 + #
8   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
10 < # Foundation, Inc.
9 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 > # Inc.
11 > #
12   #
13   # This configure script is free software; the Free Software Foundation
14   # gives unlimited permission to copy, distribute and modify it.
# Line 527 | Line 529 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530  
531  
532 < exec 7<&0 </dev/null 6>&1
532 > test -n "$DJDIR" || exec 7<&0 </dev/null
533 > exec 6>&1
534  
535   # Name of the host.
536   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 547 | Line 550 | MAKEFLAGS=
550   MAKEFLAGS=
551  
552   # Identity of this package.
553 < PACKAGE_NAME='OOPSE'
554 < PACKAGE_TARNAME='oopse'
555 < PACKAGE_VERSION='4.0'
556 < PACKAGE_STRING='OOPSE 4.0'
553 > PACKAGE_NAME='OpenMD'
554 > PACKAGE_TARNAME='openmd'
555 > PACKAGE_VERSION='1.0'
556 > PACKAGE_STRING='OpenMD 1.0'
557   PACKAGE_BUGREPORT='gezelter@nd.edu'
558   PACKAGE_URL=''
559  
560 < ac_unique_file="src/applications/oopse/oopse.cpp"
560 > ac_unique_file="src/applications/openmd/openmd.cpp"
561   ac_default_prefix="/usr/local"
562   # Factoring default headers for most tests.
563   ac_includes_default="\
# Line 594 | Line 597 | SUBDIRS
597  
598   ac_subst_vars='LTLIBOBJS
599   SUBDIRS
600 < OOPSE_HOME
601 < OOPSE
600 > OPENMD_HOME
601 > OPENMD
602   MKINSTALLDIRS
603   BATEXT
604   enable_latex_docs
# Line 604 | Line 607 | DOXYGEN
607   DOC
608   DOT
609   DOXYGEN
607 USE_CGAL
608 CGAL_LIBS
609 CGAL_LDFLAGS
610 CGAL_CPPFLAGS
611 CGAL_CXXFLAGS
612 CGAL_MAKEFILE
610   POW_LIB
611   LIBOBJS
612   USE_OPENBABEL
# Line 727 | Line 724 | enable_option_checking
724   ac_subst_files=''
725   ac_user_opts='
726   enable_option_checking
727 < enable_oopse_home
727 > enable_openmd_home
728   enable_debug
729   enable_single
730   enable_float
# Line 736 | Line 733 | with_openbabel
733   with_fftw
734   with_qhull
735   with_openbabel
739 with_cgalmakefile
736   enable_doxygen
737   enable_dot
738   enable_html_docs
# Line 1301 | Line 1297 | if test "$ac_init_help" = "long"; then
1297    # Omit some internal or obsolete options to make the list less imposing.
1298    # This message is too long to be a string in the A/UX 3.1 sh.
1299    cat <<_ACEOF
1300 < \`configure' configures OOPSE 4.0 to adapt to many kinds of systems.
1300 > \`configure' configures OpenMD 1.0 to adapt to many kinds of systems.
1301  
1302   Usage: $0 [OPTION]... [VAR=VALUE]...
1303  
# Line 1349 | Line 1345 | Fine tuning of the installation directories:
1345    --infodir=DIR           info documentation [DATAROOTDIR/info]
1346    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1347    --mandir=DIR            man documentation [DATAROOTDIR/man]
1348 <  --docdir=DIR            documentation root [DATAROOTDIR/doc/oopse]
1348 >  --docdir=DIR            documentation root [DATAROOTDIR/doc/openmd]
1349    --htmldir=DIR           html documentation [DOCDIR]
1350    --dvidir=DIR            dvi documentation [DOCDIR]
1351    --pdfdir=DIR            pdf documentation [DOCDIR]
# Line 1366 | Line 1362 | if test -n "$ac_init_help"; then
1362  
1363   if test -n "$ac_init_help"; then
1364    case $ac_init_help in
1365 <     short | recursive ) echo "Configuration of OOPSE 4.0:";;
1365 >     short | recursive ) echo "Configuration of OpenMD 1.0:";;
1366     esac
1367    cat <<\_ACEOF
1368  
# Line 1374 | Line 1370 | Optional Features:
1370    --disable-option-checking  ignore unrecognized --enable/--with options
1371    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1372    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1373 <  --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse
1374 <  --enable-debug          Compile OOPSE in debug mode
1375 <  --enable-single         compile OOPSE in single precision
1373 >  --enable-openmd-home=DIR      define OpenMD home dir PREFIX/openmd
1374 >  --enable-debug          Compile OpenMD in debug mode
1375 >  --enable-single         compile OpenMD in single precision
1376    --enable-float          synonym for --enable-single
1377    --enable-doxygen        enable documentation generation with doxygen (auto)
1378    --enable-dot            use 'dot' to generate graphs in doxygen (auto)
# Line 1397 | Line 1393 | Optional Packages:
1393    --with-openbabel=DIR    root directory path of openbabel-2.x installation
1394                            (defaults to /usr/local or /usr if not found in
1395                            /usr/local)
1400  --with-cgalmakefile=makefile
1401                          Use the following CGAL makefile
1396  
1397   Some influential environment variables:
1398    CXX         C++ compiler command
# Line 1406 | Line 1400 | Some influential environment variables:
1400    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1401                nonstandard directory <lib dir>
1402    LIBS        libraries to pass to the linker, e.g. -l<library>
1403 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1403 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404                you have headers in a nonstandard directory <include dir>
1405    MPICXX      MPI C++ compiler command
1406    CC          C compiler command
# Line 1484 | Line 1478 | if $ac_init_version; then
1478   test -n "$ac_init_help" && exit $ac_status
1479   if $ac_init_version; then
1480    cat <<\_ACEOF
1481 < OOPSE configure 4.0
1482 < generated by GNU Autoconf 2.64
1481 > OpenMD configure 1.0
1482 > generated by GNU Autoconf 2.65
1483  
1484   Copyright (C) 2009 Free Software Foundation, Inc.
1485   This configure script is free software; the Free Software Foundation
# Line 1532 | Line 1526 | fi
1526          ac_retval=1
1527   fi
1528    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1529 <  return $ac_retval
1529 >  as_fn_set_status $ac_retval
1530  
1531   } # ac_fn_cxx_try_compile
1532  
# Line 1578 | Line 1572 | fi
1572    # left behind by Apple's compiler.  We do this before executing the actions.
1573    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1574    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 <  return $ac_retval
1575 >  as_fn_set_status $ac_retval
1576  
1577   } # ac_fn_cxx_try_link
1578  
# Line 1683 | Line 1677 | fi
1677          ac_retval=1
1678   fi
1679    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 <  return $ac_retval
1680 >  as_fn_set_status $ac_retval
1681  
1682   } # ac_fn_c_try_compile
1683  
# Line 1729 | Line 1723 | fi
1723    # left behind by Apple's compiler.  We do this before executing the actions.
1724    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 <  return $ac_retval
1726 >  as_fn_set_status $ac_retval
1727  
1728   } # ac_fn_c_try_link
1729  
# Line 1834 | Line 1828 | fi
1828          ac_retval=1
1829   fi
1830    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 <  return $ac_retval
1831 >  as_fn_set_status $ac_retval
1832  
1833   } # ac_fn_fc_try_compile
1834  
# Line 1880 | Line 1874 | fi
1874    # left behind by Apple's compiler.  We do this before executing the actions.
1875    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 <  return $ac_retval
1877 >  as_fn_set_status $ac_retval
1878  
1879   } # ac_fn_fc_try_link
1880  
# Line 1917 | Line 1911 | fi
1911      ac_retval=1
1912   fi
1913    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 <  return $ac_retval
1914 >  as_fn_set_status $ac_retval
1915  
1916   } # ac_fn_c_try_cpp
1917  
# Line 2052 | Line 2046 | fi
2046   fi
2047    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2048    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 <  return $ac_retval
2049 >  as_fn_set_status $ac_retval
2050  
2051   } # ac_fn_c_try_run
2052  
# Line 2120 | Line 2114 | fi
2114      ac_retval=1
2115   fi
2116    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117 <  return $ac_retval
2117 >  as_fn_set_status $ac_retval
2118  
2119   } # ac_fn_cxx_try_cpp
2120  
# Line 2290 | Line 2284 | running configure, to aid debugging if configure makes
2284   This file contains any messages produced by compilers while
2285   running configure, to aid debugging if configure makes a mistake.
2286  
2287 < It was created by OOPSE $as_me 4.0, which was
2288 < generated by GNU Autoconf 2.64.  Invocation command line was
2287 > It was created by OpenMD $as_me 1.0, which was
2288 > generated by GNU Autoconf 2.65.  Invocation command line was
2289  
2290    $ $0 $@
2291  
# Line 2544 | Line 2538 | do
2538   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2539   do
2540    test "x$ac_site_file" = xNONE && continue
2541 <  if test -r "$ac_site_file"; then
2541 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2542      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2543   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2544      sed 's/^/| /' "$ac_site_file" >&5
# Line 2553 | Line 2547 | if test -r "$cache_file"; then
2547   done
2548  
2549   if test -r "$cache_file"; then
2550 <  # Some versions of bash will fail to source /dev/null (special
2551 <  # files actually), so we avoid doing that.
2552 <  if test -f "$cache_file"; then
2550 >  # Some versions of bash will fail to source /dev/null (special files
2551 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2552 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2553      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2554   $as_echo "$as_me: loading cache $cache_file" >&6;}
2555      case $cache_file in
# Line 2899 | Line 2893 | ac_config_headers="$ac_config_headers src/config.h"
2893   # then outputs the replacement expansion.  We do not care
2894   # about autoupdate's warning because that contains
2895   # information on what to do *after* running autoupdate.
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2896  
2897  
2898  
2918
2919
2920
2921
2922
2923
2924
2925
2926 # This is taken from http://autoqt.sourceforge.net/
2927 # Copyright (c) 2002, Geoffrey Wossum
2928 # All rights reserved.
2929
2930 # Redistribution and use in source and binary forms, with or without
2931 # modification, are permitted provided that the following conditions are
2932 # met:
2933
2934 #  - Redistributions of source code must retain the above copyright notice,
2935 #    this list of conditions and the following disclaimer.
2936
2937 #  - Redistributions in binary form must reproduce the above copyright
2938 #    notice, this list of conditions and the following disclaimer in the
2939 #    documentation and/or other materials provided with the distribution.
2940
2941 #  - Neither the name of Geoffrey Wossum nor the names of its
2942 #    contributors may be used to endorse or promote products derived from
2943 #    this software without specific prior written permission.
2944
2945
2946 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2947 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2948 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2949 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
2950 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2951 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2952 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2953 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2954 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2955 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2956 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2957
2958
2959 # Check for Qt compiler flags, linker flags, and binary packages
2960
2961
2962
2899   # who am i
2900   # Make sure we can run config.sub.
2901   $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
# Line 3036 | Line 2972 | case $host_os in *\ *) host_os=`echo "$host_os" | sed
2972  
2973  
2974   # set program name
2975 < PROGNAME="oopse"
2975 > PROGNAME="openmd"
2976  
2977  
2978  
2979  
2980   OBJEXT=".$OBJEXT"
2981  
2982 < OOPSE=oopse
2982 > OPENMD=openmd
2983  
2984   if test "x${prefix}" = "xNONE"
2985   then
2986 <  OOPSE_HOME=${ac_default_prefix}/oopse
2986 >  OPENMD_HOME=${ac_default_prefix}/openmd
2987   else
2988 <  OOPSE_HOME=${prefix}/oopse
2988 >  OPENMD_HOME=${prefix}/openmd
2989   fi
2990 < # Check whether --enable-oopse-home was given.
2991 < if test "${enable_oopse_home+set}" = set; then :
2992 <  enableval=$enable_oopse_home; OOPSE_HOME="${enableval}"
2990 > # Check whether --enable-openmd-home was given.
2991 > if test "${enable_openmd_home+set}" = set; then :
2992 >  enableval=$enable_openmd_home; OPENMD_HOME="${enableval}"
2993   fi
2994  
2995  
# Line 3543 | Line 3479 | $as_echo "$ac_try_echo"; } >&5
3479   ... rest of stderr output deleted ...
3480           10q' conftest.err >conftest.er1
3481      cat conftest.er1 >&5
3546    rm -f conftest.er1 conftest.err
3482    fi
3483 +  rm -f conftest.er1 conftest.err
3484    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485    test $ac_status = 0; }
3486   done
3487  
3488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489   /* end confdefs.h.  */
3490 < #include <stdio.h>
3490 >
3491   int
3492   main ()
3493   {
3558 FILE *f = fopen ("conftest.out", "w");
3559 return ferror (f) || fclose (f) != 0;
3494  
3495    ;
3496    return 0;
3497   }
3498   _ACEOF
3499   ac_clean_files_save=$ac_clean_files
3500 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3500 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3501   # Try to create an executable without -o first, disregard a.out.
3502   # It will help us diagnose broken compilers, and finding out an intuition
3503   # of exeext.
3504 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3505 < $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3504 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3505 > $as_echo_n "checking whether the C++ compiler works... " >&6; }
3506   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3507  
3508   # The possible output files:
# Line 3630 | Line 3564 | fi
3564   else
3565    ac_file=''
3566   fi
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3634 $as_echo "$ac_file" >&6; }
3567   if test -z "$ac_file"; then :
3568 <  $as_echo "$as_me: failed program was:" >&5
3568 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 > $as_echo "no" >&6; }
3570 > $as_echo "$as_me: failed program was:" >&5
3571   sed 's/^/| /' conftest.$ac_ext >&5
3572  
3573   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
# Line 3641 | Line 3575 | See \`config.log' for more details." "$LINENO" 5; }; }
3575   { as_fn_set_status 77
3576   as_fn_error "C++ compiler cannot create executables
3577   See \`config.log' for more details." "$LINENO" 5; }; }
3578 + else
3579 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3580 + $as_echo "yes" >&6; }
3581   fi
3582 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3583 + $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3584 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3585 + $as_echo "$ac_file" >&6; }
3586   ac_exeext=$ac_cv_exeext
3587  
3588 < # Check that the compiler produces executables we can run.  If not, either
3648 < # the compiler is broken, or we cross compile.
3649 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3650 < $as_echo_n "checking whether the C++ compiler works... " >&6; }
3651 < # If not cross compiling, check that we can run a simple program.
3652 < if test "$cross_compiling" != yes; then
3653 <  if { ac_try='./$ac_file'
3654 <  { { case "(($ac_try" in
3655 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 <  *) ac_try_echo=$ac_try;;
3657 < esac
3658 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 < $as_echo "$ac_try_echo"; } >&5
3660 <  (eval "$ac_try") 2>&5
3661 <  ac_status=$?
3662 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 <  test $ac_status = 0; }; }; then
3664 <    cross_compiling=no
3665 <  else
3666 <    if test "$cross_compiling" = maybe; then
3667 <        cross_compiling=yes
3668 <    else
3669 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 < as_fn_error "cannot run C++ compiled programs.
3672 < If you meant to cross compile, use \`--host'.
3673 < See \`config.log' for more details." "$LINENO" 5; }
3674 <    fi
3675 <  fi
3676 < fi
3677 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3678 < $as_echo "yes" >&6; }
3679 <
3680 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3588 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3589   ac_clean_files=$ac_clean_files_save
3682 # Check that the compiler produces executables we can run.  If not, either
3683 # the compiler is broken, or we cross compile.
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3685 $as_echo_n "checking whether we are cross compiling... " >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3687 $as_echo "$cross_compiling" >&6; }
3688
3590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3591   $as_echo_n "checking for suffix of executables... " >&6; }
3592   if { { ac_try="$ac_link"
# Line 3718 | Line 3619 | fi
3619   as_fn_error "cannot compute suffix of executables: cannot compile and link
3620   See \`config.log' for more details." "$LINENO" 5; }
3621   fi
3622 < rm -f conftest$ac_cv_exeext
3622 > rm -f conftest conftest$ac_cv_exeext
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3624   $as_echo "$ac_cv_exeext" >&6; }
3625  
3626   rm -f conftest.$ac_ext
3627   EXEEXT=$ac_cv_exeext
3628   ac_exeext=$EXEEXT
3629 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 + /* end confdefs.h.  */
3631 + #include <stdio.h>
3632 + int
3633 + main ()
3634 + {
3635 + FILE *f = fopen ("conftest.out", "w");
3636 + return ferror (f) || fclose (f) != 0;
3637 +
3638 +  ;
3639 +  return 0;
3640 + }
3641 + _ACEOF
3642 + ac_clean_files="$ac_clean_files conftest.out"
3643 + # Check that the compiler produces executables we can run.  If not, either
3644 + # the compiler is broken, or we cross compile.
3645 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3646 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3647 + if test "$cross_compiling" != yes; then
3648 +  { { ac_try="$ac_link"
3649 + case "(($ac_try" in
3650 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 +  *) ac_try_echo=$ac_try;;
3652 + esac
3653 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3654 + $as_echo "$ac_try_echo"; } >&5
3655 +  (eval "$ac_link") 2>&5
3656 +  ac_status=$?
3657 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3658 +  test $ac_status = 0; }
3659 +  if { ac_try='./conftest$ac_cv_exeext'
3660 +  { { case "(($ac_try" in
3661 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 +  *) ac_try_echo=$ac_try;;
3663 + esac
3664 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 + $as_echo "$ac_try_echo"; } >&5
3666 +  (eval "$ac_try") 2>&5
3667 +  ac_status=$?
3668 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 +  test $ac_status = 0; }; }; then
3670 +    cross_compiling=no
3671 +  else
3672 +    if test "$cross_compiling" = maybe; then
3673 +        cross_compiling=yes
3674 +    else
3675 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3677 + as_fn_error "cannot run C++ compiled programs.
3678 + If you meant to cross compile, use \`--host'.
3679 + See \`config.log' for more details." "$LINENO" 5; }
3680 +    fi
3681 +  fi
3682 + fi
3683 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3684 + $as_echo "$cross_compiling" >&6; }
3685 +
3686 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3687 + ac_clean_files=$ac_clean_files_save
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3689   $as_echo_n "checking for suffix of object files... " >&6; }
3690   if test "${ac_cv_objext+set}" = set; then :
# Line 4076 | Line 4036 | if test x = x"$MPILIBS"; then
4036   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
4037   if test x = x"$MPILIBS"; then
4038          USE_MPI="no"
4039 <       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C++ MPI implementation found. oopse_MPI will not be built." >&5
4040 < $as_echo "$as_me: WARNING: No suitable C++ MPI implementation found. oopse_MPI will not be built." >&2;}
4039 >       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C++ MPI implementation found. openmd_MPI will not be built." >&5
4040 > $as_echo "$as_me: WARNING: No suitable C++ MPI implementation found. openmd_MPI will not be built." >&2;}
4041          :
4042   else
4043          USE_MPI="yes"
# Line 4406 | Line 4366 | $as_echo "$ac_try_echo"; } >&5
4366   ... rest of stderr output deleted ...
4367           10q' conftest.err >conftest.er1
4368      cat conftest.er1 >&5
4409    rm -f conftest.er1 conftest.err
4369    fi
4370 +  rm -f conftest.er1 conftest.err
4371    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372    test $ac_status = 0; }
4373   done
# Line 4811 | Line 4771 | if test x = x"$MPILIBS"; then
4771   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
4772   if test x = x"$MPILIBS"; then
4773          USE_MPI="no"
4774 <       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C MPI implementation found. oopse_MPI will not be built." >&5
4775 < $as_echo "$as_me: WARNING: No suitable C MPI implementation found. oopse_MPI will not be built." >&2;}
4774 >       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable C MPI implementation found. openmd_MPI will not be built." >&5
4775 > $as_echo "$as_me: WARNING: No suitable C MPI implementation found. openmd_MPI will not be built." >&2;}
4776          :
4777   else
4778          USE_MPI="yes"
# Line 4945 | Line 4905 | $as_echo "$ac_try_echo"; } >&5
4905   ... rest of stderr output deleted ...
4906           10q' conftest.err >conftest.er1
4907      cat conftest.er1 >&5
4948    rm -f conftest.er1 conftest.err
4908    fi
4909 +  rm -f conftest.er1 conftest.err
4910    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4911    test $ac_status = 0; }
4912   done
# Line 5251 | Line 5211 | if test x = x"$MPILIBS"; then
5211   # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5212   if test x = x"$MPILIBS"; then
5213          USE_MPI="no"
5214 <       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable Fortran MPI implementation found. oopse_MPI will not be built." >&5
5215 < $as_echo "$as_me: WARNING: No suitable Fortran MPI implementation found. oopse_MPI will not be built." >&2;}
5214 >       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable Fortran MPI implementation found. openmd_MPI will not be built." >&5
5215 > $as_echo "$as_me: WARNING: No suitable Fortran MPI implementation found. openmd_MPI will not be built." >&2;}
5216          :
5217   else
5218          USE_MPI="yes"
# Line 5401 | Line 5361 | $as_echo "$ac_try_echo"; } >&5
5361   ... rest of stderr output deleted ...
5362           10q' conftest.err >conftest.er1
5363      cat conftest.er1 >&5
5404    rm -f conftest.er1 conftest.err
5364    fi
5365 +  rm -f conftest.er1 conftest.err
5366    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367    test $ac_status = 0; }
5368   done
# Line 5657 | Line 5617 | $as_echo "$ac_try_echo"; } >&5
5617   ... rest of stderr output deleted ...
5618           10q' conftest.err >conftest.er1
5619      cat conftest.er1 >&5
5660    rm -f conftest.er1 conftest.err
5620    fi
5621 +  rm -f conftest.er1 conftest.err
5622    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5623    test $ac_status = 0; }
5624   done
# Line 5998 | Line 5958 | $as_echo "$ac_try_echo"; } >&5
5958   ... rest of stderr output deleted ...
5959           10q' conftest.err >conftest.er1
5960      cat conftest.er1 >&5
5961 <    rm -f conftest.er1 conftest.err
5962 <  fi
5961 >  fi
5962 >  rm -f conftest.er1 conftest.err
5963    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5964    test $ac_status = 0; }
5965   done
# Line 8734 | Line 8694 | $as_echo "failed" >&6; }
8694                  echo ""
8695                  echo "*********************************************************"
8696                  echo "* WARNING: Could not find a working zlib installation   *"
8697 <                echo "* If you need OOPSE to be able to deal with compressed  *"
8697 >                echo "* If you need OpenMD to be able to deal with compressed *"
8698                  echo "* trajectory dump files be sure to specify a valid zlib *"
8699                  echo "* installation with --with-zlib=DIR                     *"
8700                  echo "*                                                       *"
8701 <                echo "* OOPSE will still work without zlib installed.         *"
8701 >                echo "* OpenMD will still work without zlib installed.        *"
8702                  echo "*********************************************************"
8703                  echo ""
8704          fi
# Line 9010 | Line 8970 | $as_echo "failed" >&6; }
8970              echo "* compute undulation spectra, be sure to specify a      *"
8971              echo "* valid fftw installation with --with-fftw=DIR          *"
8972              echo "*                                                       *"
8973 <            echo "* OOPSE will still work without fftw installed.         *"
8973 >            echo "* OpenMD will still work without fftw installed.        *"
8974              echo "*********************************************************"
8975              echo ""
8976            fi
# Line 9157 | Line 9117 | $as_echo "$as_me: WARNING: Could not find a working qh
9117   $as_echo "$as_me: WARNING: " >&2;}
9118             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a working qhull installation" >&5
9119   $as_echo "$as_me: WARNING: Could not find a working qhull installation" >&2;}
9120 <           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you need OOPSE to be able to deal with convex    " >&5
9121 < $as_echo "$as_me: WARNING: If you need OOPSE to be able to deal with convex    " >&2;}
9120 >           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you need OpenMD to be able to deal with convex    " >&5
9121 > $as_echo "$as_me: WARNING: If you need OpenMD to be able to deal with convex    " >&2;}
9122             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hulls be sure to specify a valid qhull installation " >&5
9123   $as_echo "$as_me: WARNING: hulls be sure to specify a valid qhull installation " >&2;}
9124             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: with --with-qhull=DIR                               " >&5
9125   $as_echo "$as_me: WARNING: with --with-qhull=DIR                               " >&2;}
9126             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
9127   $as_echo "$as_me: WARNING: " >&2;}
9128 <           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OOPSE will still work without qhull installed.      " >&5
9129 < $as_echo "$as_me: WARNING: OOPSE will still work without qhull installed.      " >&2;}
9128 >           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenMD will still work without qhull installed.      " >&5
9129 > $as_echo "$as_me: WARNING: OpenMD will still work without qhull installed.      " >&2;}
9130             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
9131   $as_echo "$as_me: WARNING: " >&2;}
9132          fi
# Line 9440 | Line 9400 | $as_echo "failed" >&6; }
9400                  echo ""
9401                  echo "*********************************************************"
9402                  echo "* WARNING: Could not find a working openbabel-2.x       *"
9403 <                echo "* installation If you need OOPSE to be able to convert  *"
9403 >                echo "* installation If you need OpenMD to be able to convert *"
9404                  echo "* xyz or pdb files you need to specify a valid          *"
9405                  echo "* openbabel-2.x installation with --with-openbabel=DIR  *"
9406                  echo "*                                                       *"
9407 <                echo "* OOPSE will still work without openbabel installed.    *"
9407 >                echo "* OpenMD will still work without openbabel installed.   *"
9408                  echo "*********************************************************"
9409                  echo ""
9410          fi
# Line 10702 | Line 10662 | fi
10662   fi
10663  
10664       ;;
10705 esac
10706
10707
10708 acx_cgal_found=no
10709
10710 # Check whether --with-cgalmakefile was given.
10711 if test "${with_cgalmakefile+set}" = set; then :
10712  withval=$with_cgalmakefile;
10713 fi
10714
10715 case $with_cgalmakefile in
10716        yes | "") ;;
10717        no) acx_cgal_found=disable ;;
10718        -* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;;
10719        *) CGAL_MAKEFILE="$with_cgalmakefile" ;;
10665   esac
10721
10722 if test "$acx_cgal_found" == no; then
10723    { $as_echo "$as_me:${as_lineno-$LINENO}: checking CGAL_MAKEFILE" >&5
10724 $as_echo_n "checking CGAL_MAKEFILE... " >&6; }
10725
10726    if test \! -z "$CGAL_MAKEFILE"; then
10727
10728        if test -e "$CGAL_MAKEFILE"; then
10729            tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX`
10730
10731 cat > $tname << _ACEOF
10732 include $CGAL_MAKEFILE
10733
10734 cppflags:
10735        @echo \$(CGAL_CXXFLAGS)
10736
10737 cxxflags:
10738        @echo
10739 ldflags:
10740        @echo \$(CGAL_LDFLAGS)
10741 _ACEOF
10742            CGAL_CPPFLAGS="`make -s -f $tname cppflags`"
10743            CGAL_CXXFLAGS="`make -s -f $tname cxxflags`"
10744            CGAL_LDFLAGST="`make -s -f $tname ldflags`"
10745            for i in $CGAL_LDFLAGST; do
10746                if test `echo $i| grep -c ^-l`; then
10747                    CGAL_LIBS="$CGAL_LIBS $i"
10748                else
10749                    CGAL_LDFLAGS="$CGAL_LDFLAGS $i"
10750                fi
10751            done
10752            rm -f $tname
10753            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10754 $as_echo "yes" >&6; }
10755            acx_cgal_found=yes
10756                                   else
10757            { $as_echo "$as_me:${as_lineno-$LINENO}: result: invalid" >&5
10758 $as_echo "invalid" >&6; }
10759            as_fn_error "CGAL_MAKEFILE defined, but the makefile does not exist." "$LINENO" 5
10760        fi
10761    else
10762        { $as_echo "$as_me:${as_lineno-$LINENO}: result: not defined" >&5
10763 $as_echo "not defined" >&6; }
10764    fi
10765 fi
10666  
10767 if test "$acx_cgal_found" == no; then
10768        ac_fn_c_check_header_mongrel "$LINENO" "CGAL/Exact_predicates_inexact_constructions_kernel.h" "ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" "$ac_includes_default"
10769 if test "x$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" = x""yes; then :
10770  cgal_have_header=yes
10771 else
10772  cgal_have_header=no
10773 fi
10667  
10775
10776        if test "$cgal_have_header" == yes; then
10777                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCGAL" >&5
10778 $as_echo_n "checking for main in -lCGAL... " >&6; }
10779 if test "${ac_cv_lib_CGAL_main+set}" = set; then :
10780  $as_echo_n "(cached) " >&6
10781 else
10782  ac_check_lib_save_LIBS=$LIBS
10783 LIBS="-lCGAL  $LIBS"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h.  */
10786
10787
10788 #ifdef FC_DUMMY_MAIN
10789 #ifndef FC_DUMMY_MAIN_EQ_F77
10790 #  ifdef __cplusplus
10791     extern "C"
10792 #  endif
10793   int FC_DUMMY_MAIN() { return 1; }
10794 #endif
10795 #endif
10796 int
10797 main ()
10798 {
10799 return main ();
10800  ;
10801  return 0;
10802 }
10803 _ACEOF
10804 if ac_fn_c_try_link "$LINENO"; then :
10805  ac_cv_lib_CGAL_main=yes
10806 else
10807  ac_cv_lib_CGAL_main=no
10808 fi
10809 rm -f core conftest.err conftest.$ac_objext \
10810    conftest$ac_exeext conftest.$ac_ext
10811 LIBS=$ac_check_lib_save_LIBS
10812 fi
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_main" >&5
10814 $as_echo "$ac_cv_lib_CGAL_main" >&6; }
10815 if test "x$ac_cv_lib_CGAL_main" = x""yes; then :
10816  cgal_have_lib=yes
10817 else
10818  cgal_have_lib=no
10819 fi
10820
10821                if test "$cgal_have_lib" == no; then
10822                        save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm"
10823                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCGAL" >&5
10824 $as_echo_n "checking for main in -lCGAL... " >&6; }
10825 if test "${ac_cv_lib_CGAL_main+set}" = set; then :
10826  $as_echo_n "(cached) " >&6
10827 else
10828  ac_check_lib_save_LIBS=$LIBS
10829 LIBS="-lCGAL  $LIBS"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h.  */
10832
10833
10834 #ifdef FC_DUMMY_MAIN
10835 #ifndef FC_DUMMY_MAIN_EQ_F77
10836 #  ifdef __cplusplus
10837     extern "C"
10838 #  endif
10839   int FC_DUMMY_MAIN() { return 1; }
10840 #endif
10841 #endif
10842 int
10843 main ()
10844 {
10845 return main ();
10846  ;
10847  return 0;
10848 }
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851  ac_cv_lib_CGAL_main=yes
10852 else
10853  ac_cv_lib_CGAL_main=no
10854 fi
10855 rm -f core conftest.err conftest.$ac_objext \
10856    conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10858 fi
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_CGAL_main" >&5
10860 $as_echo "$ac_cv_lib_CGAL_main" >&6; }
10861 if test "x$ac_cv_lib_CGAL_main" = x""yes; then :
10862  CGAL_LIBS="-lCGAL -lgmp -lmpfr"
10863                                                  cgal_have_lib=yes
10864 else
10865  cgal_have_lib=no
10866 fi
10867
10868                        LIBS="$save_LIBS"
10869                else
10870                        CGAL_LIBS="-lCGAL"
10871                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpfr" >&5
10872 $as_echo_n "checking for main in -lmpfr... " >&6; }
10873 if test "${ac_cv_lib_mpfr_main+set}" = set; then :
10874  $as_echo_n "(cached) " >&6
10875 else
10876  ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lmpfr  $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h.  */
10880
10881
10882 #ifdef FC_DUMMY_MAIN
10883 #ifndef FC_DUMMY_MAIN_EQ_F77
10884 #  ifdef __cplusplus
10885     extern "C"
10886 #  endif
10887   int FC_DUMMY_MAIN() { return 1; }
10888 #endif
10889 #endif
10890 int
10891 main ()
10892 {
10893 return main ();
10894  ;
10895  return 0;
10896 }
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899  ac_cv_lib_mpfr_main=yes
10900 else
10901  ac_cv_lib_mpfr_main=no
10902 fi
10903 rm -f core conftest.err conftest.$ac_objext \
10904    conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10906 fi
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_main" >&5
10908 $as_echo "$ac_cv_lib_mpfr_main" >&6; }
10909 if test "x$ac_cv_lib_mpfr_main" = x""yes; then :
10910  CGAL_LIBS="$CGAL_LIBS -lmpfr"
10911 fi
10912
10913                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
10914 $as_echo_n "checking for main in -lgmp... " >&6; }
10915 if test "${ac_cv_lib_gmp_main+set}" = set; then :
10916  $as_echo_n "(cached) " >&6
10917 else
10918  ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lgmp  $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h.  */
10922
10923
10924 #ifdef FC_DUMMY_MAIN
10925 #ifndef FC_DUMMY_MAIN_EQ_F77
10926 #  ifdef __cplusplus
10927     extern "C"
10928 #  endif
10929   int FC_DUMMY_MAIN() { return 1; }
10930 #endif
10931 #endif
10932 int
10933 main ()
10934 {
10935 return main ();
10936  ;
10937  return 0;
10938 }
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941  ac_cv_lib_gmp_main=yes
10942 else
10943  ac_cv_lib_gmp_main=no
10944 fi
10945 rm -f core conftest.err conftest.$ac_objext \
10946    conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10948 fi
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
10950 $as_echo "$ac_cv_lib_gmp_main" >&6; }
10951 if test "x$ac_cv_lib_gmp_main" = x""yes; then :
10952  CGAL_LIBS="$CGAL_LIBS -lgmp"
10953 fi
10954
10955                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmpxx" >&5
10956 $as_echo_n "checking for main in -lgmpxx... " >&6; }
10957 if test "${ac_cv_lib_gmpxx_main+set}" = set; then :
10958  $as_echo_n "(cached) " >&6
10959 else
10960  ac_check_lib_save_LIBS=$LIBS
10961 LIBS="-lgmpxx  $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h.  */
10964
10965
10966 #ifdef FC_DUMMY_MAIN
10967 #ifndef FC_DUMMY_MAIN_EQ_F77
10968 #  ifdef __cplusplus
10969     extern "C"
10970 #  endif
10971   int FC_DUMMY_MAIN() { return 1; }
10972 #endif
10973 #endif
10974 int
10975 main ()
10976 {
10977 return main ();
10978  ;
10979  return 0;
10980 }
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983  ac_cv_lib_gmpxx_main=yes
10984 else
10985  ac_cv_lib_gmpxx_main=no
10986 fi
10987 rm -f core conftest.err conftest.$ac_objext \
10988    conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS
10990 fi
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmpxx_main" >&5
10992 $as_echo "$ac_cv_lib_gmpxx_main" >&6; }
10993 if test "x$ac_cv_lib_gmpxx_main" = x""yes; then :
10994  CGAL_LIBS="$CGAL_LIBS -lgmpxx"
10995 fi
10996
10997                fi
10998
10999                if test "$cgal_have_lib" == yes; then
11000                        acx_cgal_found=yes
11001                fi
11002        fi
11003        if test "$acx_cgal_found" == yes; then
11004                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCore" >&5
11005 $as_echo_n "checking for main in -lCore... " >&6; }
11006 if test "${ac_cv_lib_Core_main+set}" = set; then :
11007  $as_echo_n "(cached) " >&6
11008 else
11009  ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lCore  $LIBS"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h.  */
11013
11014
11015 #ifdef FC_DUMMY_MAIN
11016 #ifndef FC_DUMMY_MAIN_EQ_F77
11017 #  ifdef __cplusplus
11018     extern "C"
11019 #  endif
11020   int FC_DUMMY_MAIN() { return 1; }
11021 #endif
11022 #endif
11023 int
11024 main ()
11025 {
11026 return main ();
11027  ;
11028  return 0;
11029 }
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032  ac_cv_lib_Core_main=yes
11033 else
11034  ac_cv_lib_Core_main=no
11035 fi
11036 rm -f core conftest.err conftest.$ac_objext \
11037    conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_lib_save_LIBS
11039 fi
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Core_main" >&5
11041 $as_echo "$ac_cv_lib_Core_main" >&6; }
11042 if test "x$ac_cv_lib_Core_main" = x""yes; then :
11043  CGAL_LIBS="$CGAL_LIBS -lCore"
11044 fi
11045
11046        fi
11047 fi
11048
11049
11050
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CGAL" >&5
11052 $as_echo_n "checking CGAL... " >&6; }
11053
11054
11055
11056
11057
11058 if test "$acx_cgal_found" == yes; then
11059        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11060 $as_echo "yes" >&6; }
11061
11062 else
11063        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11065
11066 fi
11067 USE_CGAL=no
11068 if test "$acx_cgal_found" == yes; then
11069        USE_CGAL=yes
11070
11071 $as_echo "#define HAVE_CGAL 1" >>confdefs.h
11072
11073
11074
11075
11076
11077 fi
11078
11079
11080
11081
10668   # Check whether --enable-doxygen was given.
10669   if test "${enable_doxygen+set}" = set; then :
10670    enableval=$enable_doxygen;
# Line 11738 | Line 11324 | ac_log="
11324   # report actual input values of CONFIG_FILES etc. instead of their
11325   # values after options handling.
11326   ac_log="
11327 < This file was extended by OOPSE $as_me 4.0, which was
11328 < generated by GNU Autoconf 2.64.  Invocation command line was
11327 > This file was extended by OpenMD $as_me 1.0, which was
11328 > generated by GNU Autoconf 2.65.  Invocation command line was
11329  
11330    CONFIG_FILES    = $CONFIG_FILES
11331    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 11778 | Line 11364 | Usage: $0 [OPTION]... [TAG]...
11364  
11365    -h, --help       print this help, then exit
11366    -V, --version    print version number and configuration settings, then exit
11367 +      --config     print configuration, then exit
11368    -q, --quiet, --silent
11369                     do not print progress messages
11370    -d, --debug      don't remove temporary files
# Line 11797 | Line 11384 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11384  
11385   _ACEOF
11386   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11387 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11388   ac_cs_version="\\
11389 < OOPSE config.status 4.0
11390 < configured by $0, generated by GNU Autoconf 2.64,
11391 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11389 > OpenMD config.status 1.0
11390 > configured by $0, generated by GNU Autoconf 2.65,
11391 >  with options \\"\$ac_cs_config\\"
11392  
11393   Copyright (C) 2009 Free Software Foundation, Inc.
11394   This config.status script is free software; the Free Software Foundation
# Line 11836 | Line 11424 | do
11424      ac_cs_recheck=: ;;
11425    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11426      $as_echo "$ac_cs_version"; exit ;;
11427 +  --config | --confi | --conf | --con | --co | --c )
11428 +    $as_echo "$ac_cs_config"; exit ;;
11429    --debug | --debu | --deb | --de | --d | -d )
11430      debug=: ;;
11431    --file | --fil | --fi | --f )
# Line 12021 | Line 11611 | h
11611   t delim
11612   :nl
11613   h
11614 < s/\(.\{148\}\).*/\1/
11614 > s/\(.\{148\}\)..*/\1/
11615   t more1
11616   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11617   p
# Line 12035 | Line 11625 | h
11625   t nl
11626   :delim
11627   h
11628 < s/\(.\{148\}\).*/\1/
11628 > s/\(.\{148\}\)..*/\1/
11629   t more2
11630   s/["\\]/\\&/g; s/^/"/; s/$/"/
11631   p

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines