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

Comparing trunk/ac-tools/configure.in (file contents):
Revision 956 by gezelter, Tue May 16 02:06:37 2006 UTC vs.
Revision 957 by gezelter, Tue May 16 20:38:23 2006 UTC

# Line 1 | Line 1 | dnl **** Process this file with autoconf to produce a
1   dnl **** Process this file with autoconf to produce a configure script.
2
2   AC_PREREQ(2.59)
3   AC_INIT(OOPSE, 3.0, gezelter@nd.edu, oopse)
4   AC_CONFIG_AUX_DIR(ac-tools)
5   AC_CONFIG_SRCDIR([src/applications/oopse/oopse.cpp])
6   AC_CONFIG_HEADER([src/config.h])
7  
8 < builtin(include, ac-tools/aclocal.m4)
8 > builtin(include, ac-tools/OOPSE.m4)
9   builtin(include, ac-tools/AC_CXX_HAVE_STL.m4)
10   builtin(include, ac-tools/AC_CXX_NAMESPACES.m4)
11   builtin(include, ac-tools/AC_CXX_STD.m4)
# Line 66 | Line 65 | if test "$AR" = "NONE"; then
65   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
66   AC_CHECK_PROG(AR, ar, ar, NONE)
67   if test "$AR" = "NONE"; then
69  AC_MSG_ERROR(--> Can't find \`ar'!)
68    AC_CACHE_SAVE
69    exit 1
70   fi
# Line 138 | Line 136 | ACX_CHECK_ZLIB
136   dnl Checks for libraries.
137   AC_CHECK_LIB(m, asin, , exit)
138   ACX_CHECK_ZLIB
139 < AC_ARG_WITH(fftw,
142 < [  --without-fftw          if you turn this off you cannot compute undulation spectra],, with_fftw=yes)
143 < if test "$with_fftw" = "no"; then
144 <  AC_DEFINE(WITHOUT_FFTW,,[Disable all FFTW (and thus undulation spectrum) support])
145 < fi
146 < if test "$with_fftw" = "yes"; then
147 <  sizeof_real=8
148 <
149 <  ACX_CHECK_FFTW(fftw3,$sizeof_real)
150 <
151 <  if test "$with_mpi" = "yes"; then
152 <    ACX_CHECK_FFTW(fftw3_mpi,$sizeof_real)
153 <  fi
139 > ACX_CHECK_FFTW
140  
155  case ${ac_fftw_savedprefix} in
156   d) AC_DEFINE(FFTW_NAME_DFFTW,,[Use the d prefix on fftw includes]) ;;
157   *) AC_DEFINE(FFTW_NAME_FFTW,,[Dont use any prefix on fftw includes]) ;;
158  esac
159 else
160  echo "*******************************************************************"
161  echo "* FFTW libraries and include files are required for computing     *"
162  echo "* undulation spectra with the staticProps program.  If you don't  *"
163  echo "* fftw turned on, OOPSE will still work, but you won't be able to *"
164  echo "* analyze your trajectories for this property.                    *"
165  echo "*******************************************************************"
166 fi # end of fftw check
141  
142   # Checks for header files.
143   AC_HEADER_STDC
# Line 271 | Line 245 | AC_SUBST(USE_MPI)
245   fi
246   AC_SUBST(USE_MPI)
247  
274
248   dnl ########################################
249   dnl # Check for CGAL headers and libraries #
250   dnl ########################################
# Line 471 | Line 444 | AC_SUBST(CGAL_LIBS)
444   AC_SUBST(CGAL_CXXFLAGS)
445   AC_SUBST(CGAL_LIBS)
446  
474
447   BB_ENABLE_DOXYGEN
448  
449   AC_SUBST(EXEEXT)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines