Changeset ac6d04 for configure.ac
- Timestamp:
- Apr 10, 2012, 1:55:49 PM (14 years ago)
- Children:
- a40eea
- Parents:
- d24c2f
- File:
-
- 1 edited
-
configure.ac (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
rd24c2f rac6d04 69 69 AC_MSG_RESULT($enable_mpe) 70 70 71 AC_MSG_CHECKING(whether to enable debug measurement of run times)72 AC_ARG_ENABLE([ debug-measure-time],73 AS_HELP_STRING([--enable- debug-measure-time], [Enable runtime measurement]),74 enable_ debug_measure_time=$enableval,75 enable_ debug_measure_time="no")76 AC_MSG_RESULT($enable_ debug_measure_time)77 AS_IF([test "$enable_ debug_measure_time" = "yes"], [71 AC_MSG_CHECKING(whether to enable runtime measurement) 72 AC_ARG_ENABLE([timer], 73 AS_HELP_STRING([--enable-timer], [Enable runtime measurement]), 74 enable_timer=$enableval, 75 enable_timer="no") 76 AC_MSG_RESULT($enable_timer) 77 AS_IF([test "$enable_timer" = "yes"], [ 78 78 AC_DEFINE([DEBUG_MEASURE_TIME], [1], [Runtime measurement]) 79 ]) 80 81 AC_MSG_CHECKING(whether to enable runtime measurement output) 82 AC_ARG_ENABLE([timer-output], 83 AS_HELP_STRING([--enable-timer-output], [Enable runtime measurement output]), 84 enable_timer_output=$enableval, 85 enable_timer_output="no") 86 AC_MSG_RESULT($enable_timer_output) 87 AS_IF([test "$enable_timer_output" = "yes"], [ 88 AC_DEFINE([DEBUG_MEASURE_TIME_OUTPUT], [1], [Output of runtime measurement]) 79 89 ]) 80 90 … … 100 110 ]) 101 111 102 AC_ARG_VAR(BSPLINE_DEG, [Degree of interpolating B-Splines. Must be [3 -6].])112 AC_ARG_VAR(BSPLINE_DEG, [Degree of interpolating B-Splines. Must be [3].]) 103 113 104 114 if test -z "$BSPLINE_DEG" … … 125 135 CXX=$MPICXX 126 136 LIBS="$MPILIBS $LIBS" 127 AC_DEFINE([MPICH_SKIP_CXX], [1], [Skip C++ bindings]) 128 AC_DEFINE([OMPI_SKIP_MPICXX], [1], [Skip C++ bindings])] 137 AC_DEFINE([MPICH_SKIP_MPICXX], [1], [Skip C++ bindings]) 138 AC_DEFINE([OMPI_SKIP_MPICXX], [1], [Skip C++ bindings]) 139 AC_DEFINE([MPI_NO_CPPBIND], [1], [Skip C++ bindings]) 140 AC_DEFINE([_MPICC_H], [1], [Skip C++ bindings]) 141 AC_DEFINE([MPIBULL_SKIP_MPICXX], [1], [Skip C++ bindings])] 129 142 if test "$enable_mpe" = "yes"; then 130 143 AC_DEFINE([HAVE_MPE], [1], [Use MPE parallel profiler]) … … 146 159 147 160 AM_OPTIONS_VTK 148 AM_PATH_VTK([5. 4.2],161 AM_PATH_VTK([5.8.0], 149 162 [AC_DEFINE([HAVE_VTK], [1], [VTK present on system])]) 150 163 151 164 AC_SUBST([VTK_CXXFLAGS]) 152 165 AC_SUBST([VTK_LDFLAGS]) 166 AC_SUBST([VTK_LIBS]) 153 167 154 168 AX_BOOST_BASE([1.34],[have_boost=yes],[have_boost=no]) … … 156 170 AX_BOOST_SYSTEM 157 171 AX_BOOST_FILESYSTEM 172 AX_BOOST_UNIT_TEST_FRAMEWORK 158 173 fi 159 160 AC_SUBST([LIBVMG]) 161 LIBVMG='$(top_builddir)/src/libfcs_vmg.a $(BOOST_SYSTEM_LIB) $(BOOST_FILESYSTEM_LIB)' 162 163 AC_SUBST([LIBINTERFACES]) 164 LIBINTERFACES='$(top_builddir)/test/interfaces/libinterfaces.a' 174 AM_CONDITIONAL([COND_HAVE_BOOST_UNIT_TEST], [test x"$ax_cv_boost_unit_test_framework" != xyes]) 175 AM_CONDITIONAL([COND_HAVE_BOOST_UNIT_TEST_LIB], [test x"$ax_cv_boost_unit_test_framework" != xyes && test x"$ax_cv_boost_unit_test_framework_lib" != xyes]) 165 176 166 177 AC_PROG_RANLIB … … 170 181 AX_LAPACK 171 182 AM_CONDITIONAL([HAVE_LAPACK], [test "x$ax_lapack_ok" = xyes]) 172 173 AC_CACHE_CHECK([for cppunit], [vmg_cv_cppunit],174 [save_LIBS=$LIBS175 LIBS="-lcppunit $LIBS"176 AC_LINK_IFELSE([AC_LANG_SOURCE([[177 #include <cppunit/TestResult.h>178 int main (void)179 {180 CppUnit::TestResult testresult;181 return 0;182 }]])],183 [vmg_cv_cppunit=yes], [vmg_cv_cppunit=no])184 LIBS=$save_LIBS185 ])186 AM_CONDITIONAL([HAVE_CPPUNIT], [test "$vmg_cv_cppunit" = yes])187 183 188 184 # Checks for header files. … … 222 218 223 219 AC_CONFIG_FILES([Makefile 224 src/Makefile 225 doc/Makefile 226 test/Makefile 227 test/interfaces/Makefile 228 test/unit_test/Makefile 229 vmg_particles/Makefile]) 220 src/Makefile 221 doc/Makefile 222 test/Makefile 223 vmg_particles/Makefile]) 230 224 AC_OUTPUT
Note:
See TracChangeset
for help on using the changeset viewer.
