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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2715 by chrisfen, Sun Apr 16 02:51:16 2006 UTC vs.
Revision 2754 by gezelter, Wed May 17 03:03:03 2006 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 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 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'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 881 | Line 881 | Optional Packages:
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882    --with-perl-shebang     override what perl thinks is the way for the kernel
883                            to start it (seldom needed)
884 <  --with-zlib=DIR root directory path of zlib installation defaults to
885 <                    /usr/local or /usr if not found in /usr/local
886 <  --without-zlib to disable zlib usage completely
884 >  --with-zlib=DIR         root directory path of zlib installation (defaults
885 >                          to /usr/local or /usr if not found in /usr/local)
886 >  --with-fftw=DIR         root directory path of fftw installation (defaults
887 >                          to /usr/local or /usr if not found in /usr/local)
888    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
889    --with-cgal-makefile=FILE  CGAL makefile that should be used
890  
# Line 1419 | Line 1420 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1420  
1421  
1422  
1423 +
1424 +
1425   #
1426   #
1427   #
1428 +
1429 +
1430 +
1431 +
1432  
1433  
1434   # AC_F90_MODULE_NAMES
# Line 1430 | Line 1437 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1437   # Figure out how the Fortran 90 compiler constructs module file names
1438   #
1439   # AC_F90_MODULE_NAMES
1440 +
1441 +
1442 +
1443 +
1444 +
1445 +
1446 +
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  
# Line 1466 | Line 1520 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1520  
1521  
1522  
1523 +
1524 +
1525 +
1526 +
1527 +
1528   # who am i
1529   # Make sure we can run config.sub.
1530   $ac_config_sub sun4 >/dev/null 2>&1 ||
# Line 2726 | Line 2785 | echo "$as_me:2729:" \
2785  
2786  
2787   # Provide some information about the compiler.
2788 < echo "$as_me:2729:" \
2788 > echo "$as_me:2788:" \
2789       "checking for Fortran compiler version" >&5
2790   ac_compiler=`set X $ac_compile; echo $2`
2791   { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
# Line 3478 | Line 3537 | if test "$AR" = "NONE"; then
3537   fi
3538  
3539   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; }; }
3540    cat >confcache <<\_ACEOF
3541   # This file is a shell script that caches the results of configure
3542   # tests run on this system so they can be shared between configure
# Line 3977 | Line 4033 | FCFLAGS="$FCFLAGS $ac_verb"
4033   # flags.
4034   ac_save_FFLAGS=$FCFLAGS
4035   FCFLAGS="$FCFLAGS $ac_verb"
4036 < (eval echo $as_me:3980: \"$ac_link\") >&5
4036 > (eval echo $as_me:4036: \"$ac_link\") >&5
4037   ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4038   echo "$ac_fc_v_output" >&5
4039   FCFLAGS=$ac_save_FFLAGS
# Line 4055 | Line 4111 | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
4111   # flags.
4112   ac_save_FFLAGS=$FCFLAGS
4113   FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
4114 < (eval echo $as_me:4058: \"$ac_link\") >&5
4114 > (eval echo $as_me:4114: \"$ac_link\") >&5
4115   ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4116   echo "$ac_fc_v_output" >&5
4117   FCFLAGS=$ac_save_FFLAGS
# Line 4791 | Line 4847 | FCFLAGS="$FCFLAGS $ac_verb"
4847   # flags.
4848   ac_save_FFLAGS=$FCFLAGS
4849   FCFLAGS="$FCFLAGS $ac_verb"
4850 < (eval echo $as_me:4794: \"$ac_link\") >&5
4850 > (eval echo $as_me:4850: \"$ac_link\") >&5
4851   ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4852   echo "$ac_fc_v_output" >&5
4853   FCFLAGS=$ac_save_FFLAGS
# Line 4869 | Line 4925 | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
4925   # flags.
4926   ac_save_FFLAGS=$FCFLAGS
4927   FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
4928 < (eval echo $as_me:4872: \"$ac_link\") >&5
4928 > (eval echo $as_me:4928: \"$ac_link\") >&5
4929   ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4930   echo "$ac_fc_v_output" >&5
4931   FCFLAGS=$ac_save_FFLAGS
# Line 5746 | Line 5802 | echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5802   #
5803   # Handle user hints
5804   #
5749 echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5750 echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5805  
5806   # Check whether --with-zlib or --without-zlib was given.
5807   if test "${with_zlib+set}" = set; then
5808    withval="$with_zlib"
5809 <  if test "$withval" != no ; then
5810 <  echo "$as_me:$LINENO: result: yes" >&5
5811 < echo "${ECHO_T}yes" >&6
5812 <  if test -d "$withval"
5813 <  then
5814 <    ZLIB_HOME="$withval"
5809 >  zlib_dir="$withval"
5810 > else
5811 >                zlib_dir="not_set"
5812 > fi;
5813 > if test "$zlib_dir" != "no"; then
5814 >
5815 > if test "$zlib_dir" != "not_set" ; then
5816 >  if test -d "$zlib_dir"
5817 >  then
5818 >    ZLIB_HOME="$zlib_dir"
5819    else
5820 <    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5821 < echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5820 >    { echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5
5821 > echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;}
5822    fi
5765 else
5766  echo "$as_me:$LINENO: result: no" >&5
5767 echo "${ECHO_T}no" >&6
5823   fi
5769 fi;
5824  
5825   ZLIB_HOME=/usr/local
5826   if test ! -f "${ZLIB_HOME}/include/zlib.h"
# Line 6019 | Line 6073 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6073   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6074   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6075  
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                #
6076  
6077 < echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
6078 < echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
6079 < if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
6077 >        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"; then
6078 >
6079 > cat >>confdefs.h <<\_ACEOF
6080 > #define HAVE_ZLIB_H 1
6081 > _ACEOF
6082 >
6083 >
6084 > cat >>confdefs.h <<\_ACEOF
6085 > #define HAVE_LIBZ 1
6086 > _ACEOF
6087 >
6088 >                ZLIB_INC_DIR="${ZLIB_HOME}/include"
6089 >                ZLIB_LIB_DIR="${ZLIB_HOME}/lib"
6090 >                ZLIB="-lz"
6091 >        else
6092 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
6093 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
6094 >                ZLIB_INC_DIR=
6095 >                ZLIB_LIB_DIR=
6096 >                ZLIB=
6097 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
6098 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
6099 >                echo "$as_me:$LINENO: result: failed" >&5
6100 > echo "${ECHO_T}failed" >&6
6101 >                echo ""
6102 >                echo "*********************************************************"
6103 >                echo "* WARNING: Could not find a working zlib installation   *"
6104 >                echo "* If you need OOPSE to be able to deal with compressed  *"
6105 >                echo "* trajectory dump files be sure to specify a valid zlib *"
6106 >                echo "* installation with --with-zlib=DIR                     *"
6107 >                echo "*                                                       *"
6108 >                echo "* OOPSE will still work without zlib installed.         *"
6109 >                echo "*********************************************************"
6110 >                echo ""
6111 >        fi
6112 >
6113 >
6114 >
6115 > fi
6116 > fi
6117 >
6118 > #
6119 > # Handle user hints
6120 > #
6121 >
6122 > # Check whether --with-fftw or --without-fftw was given.
6123 > if test "${with_fftw+set}" = set; then
6124 >  withval="$with_fftw"
6125 >  fftw_dir="$withval"
6126 > else
6127 >                fftw_dir="not_set"
6128 > fi;
6129 > if test "$fftw_dir" != "no"; then
6130 >
6131 > if test "$fftw_dir" != "not_set" ; then
6132 >  if test -d "$fftw_dir"
6133 >  then
6134 >    FFTW_HOME="$fftw_dir"
6135 >  else
6136 >    { echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5
6137 > echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;}
6138 >  fi
6139 > fi
6140 >
6141 > FFTW_HOME=/usr/local
6142 > if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o  -f "${FFTW_HOME}/include/dfftw.h"
6143 > then
6144 >        FFTW_HOME=/usr
6145 > fi
6146 >
6147 > #
6148 > # Locate fftw, if wanted
6149 > #
6150 > if test -n "${FFTW_HOME}"
6151 > then
6152 >        FFTW_OLD_LDFLAGS=$LDFLAGS
6153 >        FFTW_OLD_CPPFLAGS=$LDFLAGS
6154 >        LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib"
6155 >        CPPFLAGS="$CPPFLAGS -I${FFTW_HOME}/include"
6156 >
6157 >
6158 >        ac_ext=c
6159 > ac_cpp='$CPP $CPPFLAGS'
6160 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6161 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6162 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6163 >
6164 >        echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5
6165 > echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6
6166 > if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then
6167    echo $ECHO_N "(cached) $ECHO_C" >&6
6168   else
6169    ac_check_lib_save_LIBS=$LIBS
6170 < LIBS="-lz  $LIBS"
6170 > LIBS="-lfftw3  $LIBS"
6171   cat >conftest.$ac_ext <<_ACEOF
6172   /* confdefs.h.  */
6173   _ACEOF
# Line 6045 | Line 6181 | char inflateEnd ();
6181   #endif
6182   /* We use char because int might match the return type of a gcc2
6183     builtin and then its argument prototype would still apply.  */
6184 < char inflateEnd ();
6184 > char fftw_execute ();
6185   #ifdef FC_DUMMY_MAIN
6186   #ifndef FC_DUMMY_MAIN_EQ_F77
6187   #  ifdef __cplusplus
# Line 6057 | Line 6193 | inflateEnd ();
6193   int
6194   main ()
6195   {
6196 < inflateEnd ();
6196 > fftw_execute ();
6197    ;
6198    return 0;
6199   }
# Line 6084 | Line 6220 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6220    ac_status=$?
6221    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222    (exit $ac_status); }; }; then
6223 <  ac_cv_lib_z_inflateEnd=yes
6223 >  ac_cv_lib_fftw3_fftw_execute=yes
6224   else
6225    echo "$as_me: failed program was:" >&5
6226   sed 's/^/| /' conftest.$ac_ext >&5
6227  
6228 < ac_cv_lib_z_inflateEnd=no
6228 > ac_cv_lib_fftw3_fftw_execute=no
6229   fi
6230   rm -f conftest.err conftest.$ac_objext \
6231        conftest$ac_exeext conftest.$ac_ext
6232   LIBS=$ac_check_lib_save_LIBS
6233   fi
6234 < echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
6235 < echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
6236 < if test $ac_cv_lib_z_inflateEnd = yes; then
6237 <  cat >>confdefs.h <<_ACEOF
6238 < #define HAVE_LIBZ 1
6239 < _ACEOF
6234 > echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5
6235 > echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6
6236 > if test $ac_cv_lib_fftw3_fftw_execute = yes; then
6237 >  fftw_cv_libfftw3=yes
6238 > else
6239 >  fftw_cv_libfftw3=no
6240 > fi
6241  
6242 <  LIBS="-lz $LIBS"
6242 >        if test "${ac_cv_header_fftw3_h+set}" = set; then
6243 >  echo "$as_me:$LINENO: checking for fftw3.h" >&5
6244 > echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6
6245 > if test "${ac_cv_header_fftw3_h+set}" = set; then
6246 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6247 > fi
6248 > echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
6249 > echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6
6250 > else
6251 >  # Is the header compilable?
6252 > echo "$as_me:$LINENO: checking fftw3.h usability" >&5
6253 > echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6
6254 > cat >conftest.$ac_ext <<_ACEOF
6255 > /* confdefs.h.  */
6256 > _ACEOF
6257 > cat confdefs.h >>conftest.$ac_ext
6258 > cat >>conftest.$ac_ext <<_ACEOF
6259 > /* end confdefs.h.  */
6260 > $ac_includes_default
6261 > #include <fftw3.h>
6262 > _ACEOF
6263 > rm -f conftest.$ac_objext
6264 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6265 >  (eval $ac_compile) 2>conftest.er1
6266 >  ac_status=$?
6267 >  grep -v '^ *+' conftest.er1 >conftest.err
6268 >  rm -f conftest.er1
6269 >  cat conftest.err >&5
6270 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 >  (exit $ac_status); } &&
6272 >         { ac_try='test -z "$ac_c_werror_flag"
6273 >                         || test ! -s conftest.err'
6274 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6275 >  (eval $ac_try) 2>&5
6276 >  ac_status=$?
6277 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 >  (exit $ac_status); }; } &&
6279 >         { ac_try='test -s conftest.$ac_objext'
6280 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 >  (eval $ac_try) 2>&5
6282 >  ac_status=$?
6283 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 >  (exit $ac_status); }; }; then
6285 >  ac_header_compiler=yes
6286 > else
6287 >  echo "$as_me: failed program was:" >&5
6288 > sed 's/^/| /' conftest.$ac_ext >&5
6289  
6290 + ac_header_compiler=no
6291   fi
6292 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6293 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6294 + echo "${ECHO_T}$ac_header_compiler" >&6
6295  
6296 <                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
6297 < echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
6298 <                echo "$as_me:$LINENO: result: ok" >&5
6299 < echo "${ECHO_T}ok" >&6
6296 > # Is the header present?
6297 > echo "$as_me:$LINENO: checking fftw3.h presence" >&5
6298 > echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6
6299 > cat >conftest.$ac_ext <<_ACEOF
6300 > /* confdefs.h.  */
6301 > _ACEOF
6302 > cat confdefs.h >>conftest.$ac_ext
6303 > cat >>conftest.$ac_ext <<_ACEOF
6304 > /* end confdefs.h.  */
6305 > #include <fftw3.h>
6306 > _ACEOF
6307 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6308 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6309 >  ac_status=$?
6310 >  grep -v '^ *+' conftest.er1 >conftest.err
6311 >  rm -f conftest.er1
6312 >  cat conftest.err >&5
6313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 >  (exit $ac_status); } >/dev/null; then
6315 >  if test -s conftest.err; then
6316 >    ac_cpp_err=$ac_c_preproc_warn_flag
6317 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6318 >  else
6319 >    ac_cpp_err=
6320 >  fi
6321 > else
6322 >  ac_cpp_err=yes
6323 > fi
6324 > if test -z "$ac_cpp_err"; then
6325 >  ac_header_preproc=yes
6326 > else
6327 >  echo "$as_me: failed program was:" >&5
6328 > sed 's/^/| /' conftest.$ac_ext >&5
6329 >
6330 >  ac_header_preproc=no
6331 > fi
6332 > rm -f conftest.err conftest.$ac_ext
6333 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6334 > echo "${ECHO_T}$ac_header_preproc" >&6
6335 >
6336 > # So?  What about this header?
6337 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6338 >  yes:no: )
6339 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5
6340 > echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6341 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5
6342 > echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;}
6343 >    ac_header_preproc=yes
6344 >    ;;
6345 >  no:yes:* )
6346 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5
6347 > echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;}
6348 >    { echo "$as_me:$LINENO: WARNING: fftw3.h:     check for missing prerequisite headers?" >&5
6349 > echo "$as_me: WARNING: fftw3.h:     check for missing prerequisite headers?" >&2;}
6350 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5
6351 > echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;}
6352 >    { echo "$as_me:$LINENO: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&5
6353 > echo "$as_me: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6354 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5
6355 > echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;}
6356 >    { echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5
6357 > echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;}
6358 >    (
6359 >      cat <<\_ASBOX
6360 > ## ------------------------------ ##
6361 > ## Report this to gezelter@nd.edu ##
6362 > ## ------------------------------ ##
6363 > _ASBOX
6364 >    ) |
6365 >      sed "s/^/$as_me: WARNING:     /" >&2
6366 >    ;;
6367 > esac
6368 > echo "$as_me:$LINENO: checking for fftw3.h" >&5
6369 > echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6
6370 > if test "${ac_cv_header_fftw3_h+set}" = set; then
6371 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6372 > else
6373 >  ac_cv_header_fftw3_h=$ac_header_preproc
6374 > fi
6375 > echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
6376 > echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6
6377 >
6378 > fi
6379 > if test $ac_cv_header_fftw3_h = yes; then
6380 >  fftw_cv_fftw3_h=yes
6381 > else
6382 >  fftw_cv_fftw3_h=no
6383 > fi
6384 >
6385 >
6386 >        if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"
6387 >        then
6388 >                echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5
6389 > echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6
6390 > if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then
6391 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6392 > else
6393 >  ac_check_lib_save_LIBS=$LIBS
6394 > LIBS="-lfftw  $LIBS"
6395 > cat >conftest.$ac_ext <<_ACEOF
6396 > /* confdefs.h.  */
6397 > _ACEOF
6398 > cat confdefs.h >>conftest.$ac_ext
6399 > cat >>conftest.$ac_ext <<_ACEOF
6400 > /* end confdefs.h.  */
6401 >
6402 > /* Override any gcc2 internal prototype to avoid an error.  */
6403 > #ifdef __cplusplus
6404 > extern "C"
6405 > #endif
6406 > /* We use char because int might match the return type of a gcc2
6407 >   builtin and then its argument prototype would still apply.  */
6408 > char fftwnd_one ();
6409 > #ifdef FC_DUMMY_MAIN
6410 > #ifndef FC_DUMMY_MAIN_EQ_F77
6411 > #  ifdef __cplusplus
6412 >     extern "C"
6413 > #  endif
6414 >   int FC_DUMMY_MAIN() { return 1; }
6415 > #endif
6416 > #endif
6417 > int
6418 > main ()
6419 > {
6420 > fftwnd_one ();
6421 >  ;
6422 >  return 0;
6423 > }
6424 > _ACEOF
6425 > rm -f conftest.$ac_objext conftest$ac_exeext
6426 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427 >  (eval $ac_link) 2>conftest.er1
6428 >  ac_status=$?
6429 >  grep -v '^ *+' conftest.er1 >conftest.err
6430 >  rm -f conftest.er1
6431 >  cat conftest.err >&5
6432 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 >  (exit $ac_status); } &&
6434 >         { ac_try='test -z "$ac_c_werror_flag"
6435 >                         || test ! -s conftest.err'
6436 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 >  (eval $ac_try) 2>&5
6438 >  ac_status=$?
6439 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 >  (exit $ac_status); }; } &&
6441 >         { ac_try='test -s conftest$ac_exeext'
6442 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 >  (eval $ac_try) 2>&5
6444 >  ac_status=$?
6445 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 >  (exit $ac_status); }; }; then
6447 >  ac_cv_lib_fftw_fftwnd_one=yes
6448 > else
6449 >  echo "$as_me: failed program was:" >&5
6450 > sed 's/^/| /' conftest.$ac_ext >&5
6451 >
6452 > ac_cv_lib_fftw_fftwnd_one=no
6453 > fi
6454 > rm -f conftest.err conftest.$ac_objext \
6455 >      conftest$ac_exeext conftest.$ac_ext
6456 > LIBS=$ac_check_lib_save_LIBS
6457 > fi
6458 > echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5
6459 > echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6
6460 > if test $ac_cv_lib_fftw_fftwnd_one = yes; then
6461 >  fftw_cv_libfftw=yes
6462 > else
6463 >  fftw_cv_libfftw=no
6464 > fi
6465 >
6466 >                if test "${ac_cv_header_fftw_h+set}" = set; then
6467 >  echo "$as_me:$LINENO: checking for fftw.h" >&5
6468 > echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6
6469 > if test "${ac_cv_header_fftw_h+set}" = set; then
6470 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6471 > fi
6472 > echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
6473 > echo "${ECHO_T}$ac_cv_header_fftw_h" >&6
6474 > else
6475 >  # Is the header compilable?
6476 > echo "$as_me:$LINENO: checking fftw.h usability" >&5
6477 > echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6
6478 > cat >conftest.$ac_ext <<_ACEOF
6479 > /* confdefs.h.  */
6480 > _ACEOF
6481 > cat confdefs.h >>conftest.$ac_ext
6482 > cat >>conftest.$ac_ext <<_ACEOF
6483 > /* end confdefs.h.  */
6484 > $ac_includes_default
6485 > #include <fftw.h>
6486 > _ACEOF
6487 > rm -f conftest.$ac_objext
6488 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6489 >  (eval $ac_compile) 2>conftest.er1
6490 >  ac_status=$?
6491 >  grep -v '^ *+' conftest.er1 >conftest.err
6492 >  rm -f conftest.er1
6493 >  cat conftest.err >&5
6494 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 >  (exit $ac_status); } &&
6496 >         { ac_try='test -z "$ac_c_werror_flag"
6497 >                         || test ! -s conftest.err'
6498 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 >  (eval $ac_try) 2>&5
6500 >  ac_status=$?
6501 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 >  (exit $ac_status); }; } &&
6503 >         { ac_try='test -s conftest.$ac_objext'
6504 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 >  (eval $ac_try) 2>&5
6506 >  ac_status=$?
6507 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 >  (exit $ac_status); }; }; then
6509 >  ac_header_compiler=yes
6510 > else
6511 >  echo "$as_me: failed program was:" >&5
6512 > sed 's/^/| /' conftest.$ac_ext >&5
6513 >
6514 > ac_header_compiler=no
6515 > fi
6516 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6517 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6518 > echo "${ECHO_T}$ac_header_compiler" >&6
6519 >
6520 > # Is the header present?
6521 > echo "$as_me:$LINENO: checking fftw.h presence" >&5
6522 > echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6
6523 > cat >conftest.$ac_ext <<_ACEOF
6524 > /* confdefs.h.  */
6525 > _ACEOF
6526 > cat confdefs.h >>conftest.$ac_ext
6527 > cat >>conftest.$ac_ext <<_ACEOF
6528 > /* end confdefs.h.  */
6529 > #include <fftw.h>
6530 > _ACEOF
6531 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6532 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6533 >  ac_status=$?
6534 >  grep -v '^ *+' conftest.er1 >conftest.err
6535 >  rm -f conftest.er1
6536 >  cat conftest.err >&5
6537 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 >  (exit $ac_status); } >/dev/null; then
6539 >  if test -s conftest.err; then
6540 >    ac_cpp_err=$ac_c_preproc_warn_flag
6541 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6542 >  else
6543 >    ac_cpp_err=
6544 >  fi
6545 > else
6546 >  ac_cpp_err=yes
6547 > fi
6548 > if test -z "$ac_cpp_err"; then
6549 >  ac_header_preproc=yes
6550 > else
6551 >  echo "$as_me: failed program was:" >&5
6552 > sed 's/^/| /' conftest.$ac_ext >&5
6553 >
6554 >  ac_header_preproc=no
6555 > fi
6556 > rm -f conftest.err conftest.$ac_ext
6557 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6558 > echo "${ECHO_T}$ac_header_preproc" >&6
6559 >
6560 > # So?  What about this header?
6561 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6562 >  yes:no: )
6563 >    { echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
6564 > echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6565 >    { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5
6566 > echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;}
6567 >    ac_header_preproc=yes
6568 >    ;;
6569 >  no:yes:* )
6570 >    { echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5
6571 > echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;}
6572 >    { echo "$as_me:$LINENO: WARNING: fftw.h:     check for missing prerequisite headers?" >&5
6573 > echo "$as_me: WARNING: fftw.h:     check for missing prerequisite headers?" >&2;}
6574 >    { echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5
6575 > echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;}
6576 >    { echo "$as_me:$LINENO: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&5
6577 > echo "$as_me: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6578 >    { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5
6579 > echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;}
6580 >    { echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5
6581 > echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;}
6582 >    (
6583 >      cat <<\_ASBOX
6584 > ## ------------------------------ ##
6585 > ## Report this to gezelter@nd.edu ##
6586 > ## ------------------------------ ##
6587 > _ASBOX
6588 >    ) |
6589 >      sed "s/^/$as_me: WARNING:     /" >&2
6590 >    ;;
6591 > esac
6592 > echo "$as_me:$LINENO: checking for fftw.h" >&5
6593 > echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6
6594 > if test "${ac_cv_header_fftw_h+set}" = set; then
6595 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6596 > else
6597 >  ac_cv_header_fftw_h=$ac_header_preproc
6598 > fi
6599 > echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
6600 > echo "${ECHO_T}$ac_cv_header_fftw_h" >&6
6601 >
6602 > fi
6603 > if test $ac_cv_header_fftw_h = yes; then
6604 >  fftw_cv_fftw_h=yes
6605 > else
6606 >  fftw_cv_fftw_h=no
6607 > fi
6608 >
6609 >
6610 >                if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"
6611 >                then
6612 >                        echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5
6613 > echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6
6614 > if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then
6615 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6616 > else
6617 >  ac_check_lib_save_LIBS=$LIBS
6618 > LIBS="-ldfftw  $LIBS"
6619 > cat >conftest.$ac_ext <<_ACEOF
6620 > /* confdefs.h.  */
6621 > _ACEOF
6622 > cat confdefs.h >>conftest.$ac_ext
6623 > cat >>conftest.$ac_ext <<_ACEOF
6624 > /* end confdefs.h.  */
6625 >
6626 > /* Override any gcc2 internal prototype to avoid an error.  */
6627 > #ifdef __cplusplus
6628 > extern "C"
6629 > #endif
6630 > /* We use char because int might match the return type of a gcc2
6631 >   builtin and then its argument prototype would still apply.  */
6632 > char fftwnd_one ();
6633 > #ifdef FC_DUMMY_MAIN
6634 > #ifndef FC_DUMMY_MAIN_EQ_F77
6635 > #  ifdef __cplusplus
6636 >     extern "C"
6637 > #  endif
6638 >   int FC_DUMMY_MAIN() { return 1; }
6639 > #endif
6640 > #endif
6641 > int
6642 > main ()
6643 > {
6644 > fftwnd_one ();
6645 >  ;
6646 >  return 0;
6647 > }
6648 > _ACEOF
6649 > rm -f conftest.$ac_objext conftest$ac_exeext
6650 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6651 >  (eval $ac_link) 2>conftest.er1
6652 >  ac_status=$?
6653 >  grep -v '^ *+' conftest.er1 >conftest.err
6654 >  rm -f conftest.er1
6655 >  cat conftest.err >&5
6656 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 >  (exit $ac_status); } &&
6658 >         { ac_try='test -z "$ac_c_werror_flag"
6659 >                         || test ! -s conftest.err'
6660 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 >  (eval $ac_try) 2>&5
6662 >  ac_status=$?
6663 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 >  (exit $ac_status); }; } &&
6665 >         { ac_try='test -s conftest$ac_exeext'
6666 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667 >  (eval $ac_try) 2>&5
6668 >  ac_status=$?
6669 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 >  (exit $ac_status); }; }; then
6671 >  ac_cv_lib_dfftw_fftwnd_one=yes
6672 > else
6673 >  echo "$as_me: failed program was:" >&5
6674 > sed 's/^/| /' conftest.$ac_ext >&5
6675 >
6676 > ac_cv_lib_dfftw_fftwnd_one=no
6677 > fi
6678 > rm -f conftest.err conftest.$ac_objext \
6679 >      conftest$ac_exeext conftest.$ac_ext
6680 > LIBS=$ac_check_lib_save_LIBS
6681 > fi
6682 > echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5
6683 > echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6
6684 > if test $ac_cv_lib_dfftw_fftwnd_one = yes; then
6685 >  fftw_cv_libdfftw=yes
6686 > else
6687 >  fftw_cv_libdfftw=no
6688 > fi
6689 >
6690 >                        if test "${ac_cv_header_dfftw_h+set}" = set; then
6691 >  echo "$as_me:$LINENO: checking for dfftw.h" >&5
6692 > echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6
6693 > if test "${ac_cv_header_dfftw_h+set}" = set; then
6694 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6695 > fi
6696 > echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
6697 > echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6
6698 > else
6699 >  # Is the header compilable?
6700 > echo "$as_me:$LINENO: checking dfftw.h usability" >&5
6701 > echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6
6702 > cat >conftest.$ac_ext <<_ACEOF
6703 > /* confdefs.h.  */
6704 > _ACEOF
6705 > cat confdefs.h >>conftest.$ac_ext
6706 > cat >>conftest.$ac_ext <<_ACEOF
6707 > /* end confdefs.h.  */
6708 > $ac_includes_default
6709 > #include <dfftw.h>
6710 > _ACEOF
6711 > rm -f conftest.$ac_objext
6712 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6713 >  (eval $ac_compile) 2>conftest.er1
6714 >  ac_status=$?
6715 >  grep -v '^ *+' conftest.er1 >conftest.err
6716 >  rm -f conftest.er1
6717 >  cat conftest.err >&5
6718 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 >  (exit $ac_status); } &&
6720 >         { ac_try='test -z "$ac_c_werror_flag"
6721 >                         || test ! -s conftest.err'
6722 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 >  (eval $ac_try) 2>&5
6724 >  ac_status=$?
6725 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 >  (exit $ac_status); }; } &&
6727 >         { ac_try='test -s conftest.$ac_objext'
6728 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 >  (eval $ac_try) 2>&5
6730 >  ac_status=$?
6731 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 >  (exit $ac_status); }; }; then
6733 >  ac_header_compiler=yes
6734 > else
6735 >  echo "$as_me: failed program was:" >&5
6736 > sed 's/^/| /' conftest.$ac_ext >&5
6737 >
6738 > ac_header_compiler=no
6739 > fi
6740 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6741 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6742 > echo "${ECHO_T}$ac_header_compiler" >&6
6743 >
6744 > # Is the header present?
6745 > echo "$as_me:$LINENO: checking dfftw.h presence" >&5
6746 > echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6
6747 > cat >conftest.$ac_ext <<_ACEOF
6748 > /* confdefs.h.  */
6749 > _ACEOF
6750 > cat confdefs.h >>conftest.$ac_ext
6751 > cat >>conftest.$ac_ext <<_ACEOF
6752 > /* end confdefs.h.  */
6753 > #include <dfftw.h>
6754 > _ACEOF
6755 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6756 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6757 >  ac_status=$?
6758 >  grep -v '^ *+' conftest.er1 >conftest.err
6759 >  rm -f conftest.er1
6760 >  cat conftest.err >&5
6761 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 >  (exit $ac_status); } >/dev/null; then
6763 >  if test -s conftest.err; then
6764 >    ac_cpp_err=$ac_c_preproc_warn_flag
6765 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6766 >  else
6767 >    ac_cpp_err=
6768 >  fi
6769 > else
6770 >  ac_cpp_err=yes
6771 > fi
6772 > if test -z "$ac_cpp_err"; then
6773 >  ac_header_preproc=yes
6774 > else
6775 >  echo "$as_me: failed program was:" >&5
6776 > sed 's/^/| /' conftest.$ac_ext >&5
6777 >
6778 >  ac_header_preproc=no
6779 > fi
6780 > rm -f conftest.err conftest.$ac_ext
6781 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6782 > echo "${ECHO_T}$ac_header_preproc" >&6
6783 >
6784 > # So?  What about this header?
6785 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6786 >  yes:no: )
6787 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
6788 > echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6789 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5
6790 > echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;}
6791 >    ac_header_preproc=yes
6792 >    ;;
6793 >  no:yes:* )
6794 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5
6795 > echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;}
6796 >    { echo "$as_me:$LINENO: WARNING: dfftw.h:     check for missing prerequisite headers?" >&5
6797 > echo "$as_me: WARNING: dfftw.h:     check for missing prerequisite headers?" >&2;}
6798 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5
6799 > echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;}
6800 >    { echo "$as_me:$LINENO: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&5
6801 > echo "$as_me: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6802 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5
6803 > echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;}
6804 >    { echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5
6805 > echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;}
6806 >    (
6807 >      cat <<\_ASBOX
6808 > ## ------------------------------ ##
6809 > ## Report this to gezelter@nd.edu ##
6810 > ## ------------------------------ ##
6811 > _ASBOX
6812 >    ) |
6813 >      sed "s/^/$as_me: WARNING:     /" >&2
6814 >    ;;
6815 > esac
6816 > echo "$as_me:$LINENO: checking for dfftw.h" >&5
6817 > echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6
6818 > if test "${ac_cv_header_dfftw_h+set}" = set; then
6819 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6820 > else
6821 >  ac_cv_header_dfftw_h=$ac_header_preproc
6822 > fi
6823 > echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
6824 > echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6
6825 >
6826 > fi
6827 > if test $ac_cv_header_dfftw_h = yes; then
6828 >  fftw_cv_dfftw_h=yes
6829 > else
6830 >  fftw_cv_dfftw_h=no
6831 > fi
6832 >
6833 >
6834 >                fi
6835 >        fi
6836 >        ac_ext=c
6837 > ac_cpp='$CPP $CPPFLAGS'
6838 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6839 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6840 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6841 >
6842 >
6843 >        if test "$fftw_cv_libfftw3" = "yes" -a "$fftw_cv_fftw3_h" = "yes"
6844 >        then
6845 >
6846 > cat >>confdefs.h <<\_ACEOF
6847 > #define HAVE_FFTW3_H 1
6848 > _ACEOF
6849 >
6850 >                FFTW_INC_DIR="${FFTW_HOME}/include"
6851 >                FFTW_LIB_DIR="${FFTW_HOME}/lib"
6852 >                FFTW_LIBS="-lfftw3"
6853          else
6854 <                #
6855 <                # If either header or library was not found, revert and bomb
6856 <                #
6857 <                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
6858 < echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
6859 <                LDFLAGS="$ZLIB_OLD_LDFLAGS"
6860 <                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
6854 >        if test "$fftw_cv_libfftw" = "yes" -a "$fftw_cv_fftw_h" = "yes"
6855 >        then
6856 >
6857 > cat >>confdefs.h <<\_ACEOF
6858 > #define HAVE_FFTW_H 1
6859 > _ACEOF
6860 >
6861 >                FFTW_INC_DIR="${FFTW_HOME}/include"
6862 >                FFTW_LIB_DIR="${FFTW_HOME}/lib"
6863 >                FFTW_LIBS="-lfftw"
6864 >        else
6865 >        if test "$fftw_cv_libdfftw" = "yes" -a "$fftw_cv_dfftw_h" = "yes"
6866 >        then
6867 >
6868 > cat >>confdefs.h <<\_ACEOF
6869 > #define HAVE_DFFTW_H 1
6870 > _ACEOF
6871 >
6872 >                FFTW_INC_DIR="${FFTW_HOME}/include"
6873 >                FFTW_LIB_DIR="${FFTW_HOME}/lib"
6874 >                FFTW_LIBS="-ldfftw"
6875 >        else
6876 >                echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5
6877 > echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6
6878 >                FFTW_INC_DIR=
6879 >                FFTW_LIB_DIR=
6880 >                FFTW_LIBS=
6881 >                LDFLAGS="$FFTW_OLD_LDFLAGS"
6882 >                CPPFLAGS="$FFTW_OLD_CPPFLAGS"
6883                  echo "$as_me:$LINENO: result: failed" >&5
6884   echo "${ECHO_T}failed" >&6
6885 <                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
6886 < echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
6887 <   { (exit 1); exit 1; }; }
6885 >        echo ""
6886 >        echo "*********************************************************"
6887 >        echo "* WARNING: Could not find a working FFTW installation   *"
6888 >        echo "* If you need the staticProps program to be able to     *"
6889 >        echo "* compute undulation spectra, be sure to specify a      *"
6890 >        echo "* valid fftw installation with --with-fftw=DIR          *"
6891 >        echo "*                                                       *"
6892 >        echo "* OOPSE will still work without fftw installed.         *"
6893 >        echo "*********************************************************"
6894 >        echo ""
6895          fi
6896 +        fi
6897 +        fi
6898 +
6899 +
6900 +
6901 + fi
6902   fi
6903  
6904  
# Line 11137 | Line 11912 | if test "$ac_test_FCFLAGS" != "set"; then
11912   # Try to determine "good" native compiler flags if none specified on command
11913   # line
11914  
11915 < if test "$ac_test_FCFLAGS" != "set"; then
11915 > if test "$ac_test_FFLAGS" != "set"; then
11916    FCFLAGS=""
11917    case "${host_cpu}-${host_os}" in
11918  
11919    *linux*) if test "$FC" = ifc -o "$FC" = ifort; then
11920 <                    FCFLAGS="-O"
11920 >                    FCFLAGS="-O3 -ip -no-prec-div -cxxlib-icc"
11921                  fi;;
11922     rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then
11923                      FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
# Line 11162 | Line 11937 | if test "$ac_test_FCFLAGS" != "set"; then
11937          fi;;
11938     *darwin*)
11939          if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
11940 <                FCFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto"
11940 >                FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
11941 >        fi
11942 >        if test "$FC" = ifort; then
11943 >                FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic"
11944          fi;;
11945    esac
11946  
# Line 11321 | Line 12099 | if test "$ac_test_CFLAGS" != "set"; then
12099          fi;;
12100     *darwin*)
12101          if test "$CC" = xlc -o "$CC" = cc; then
12102 <                CFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12102 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12103 >        fi
12104 >        if test "$CC" = icc; then
12105 >                CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
12106          fi;;
12107    esac
12108  
# Line 11775 | Line 12556 | if test "$ac_test_CXXFLAGS" != "set"; then
12556          fi;;
12557     *darwin*)
12558          if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
12559 <                CXXFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12559 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12560 >        fi
12561 >        if test "$CXX" = icpc; then
12562 >                CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
12563          fi;;
12564    esac
12565  
# Line 12501 | Line 13285 | LIBS="-lpmpich "-lmpich" $LIBS"
13285    echo $ECHO_N "(cached) $ECHO_C" >&6
13286   else
13287    ac_check_lib_save_LIBS=$LIBS
13288 < LIBS="-lpmpich "-lmpich" $LIBS"
13288 > LIBS="-lmpich "-lpmpich" $LIBS"
13289   cat >conftest.$ac_ext <<_ACEOF
13290   /* confdefs.h.  */
13291   _ACEOF
# Line 13134 | Line 13918 | CGAL_RLIB_DIR=${CGAL_RLIBDIR}
13918  
13919  
13920  
13137
13921   # Check whether --enable-doxygen or --disable-doxygen was given.
13922   if test "${enable_doxygen+set}" = set; then
13923    enableval="$enable_doxygen"
# Line 13957 | Line 14740 | s,@LIBOBJS@,$LIBOBJS,;t t
14740   s,@MODDIRFLAG@,$MODDIRFLAG,;t t
14741   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
14742   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
14743 + s,@ZLIB_INC_DIR@,$ZLIB_INC_DIR,;t t
14744 + s,@ZLIB_LIB_DIR@,$ZLIB_LIB_DIR,;t t
14745 + s,@ZLIB@,$ZLIB,;t t
14746 + s,@FFTW_INC_DIR@,$FFTW_INC_DIR,;t t
14747 + s,@FFTW_LIB_DIR@,$FFTW_LIB_DIR,;t t
14748 + s,@FFTW_LIBS@,$FFTW_LIBS,;t t
14749   s,@LIBOBJS@,$LIBOBJS,;t t
14750   s,@POW_LIB@,$POW_LIB,;t t
14751   s,@CXXCPP@,$CXXCPP,;t t
# Line 14622 | Line 15411 | fi
15411    $ac_cs_success || { (exit 1); exit 1; }
15412   fi
15413  
14625
14626

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines