Changeset f3b8a5
- Timestamp:
- Dec 28, 2011, 3:24:56 PM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- c015b3
- Parents:
- e06010
- git-author:
- Frederik Heber <heber@…> (11/11/11 12:12:50)
- git-committer:
- Frederik Heber <heber@…> (12/28/11 15:24:56)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LinearAlgebra/configure.ac
re06010 rf3b8a5 38 38 dnl Check if we have enable debug support. 39 39 AC_MSG_CHECKING(whether to enable debugging) 40 default="no"41 have_debug="no"42 40 AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes/full] turn on debugging 43 [default=$default]],, enable_debug=$default) 41 [default=yes]],, enable_debug=$enableval) 42 AC_MSG_RESULT($enable_debug) 44 43 if test "x$enable_debug" = "xyes"; then 45 44 AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."]) 46 45 AC_DEFINE(HAVE_DEBUG,1, ["Use debug setting to compile code."]) 47 have_debug="yes"48 46 elif test "x$enable_debug" = "xfull"; then 49 47 AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."]) 50 48 AC_DEFINE(LOG_OBSERVER,1, ["Use observer log."]) 51 49 AC_DEFINE(HAVE_DEBUG,2, ["Use debug setting to compile code."]) 52 have_debug="full"53 50 else 54 51 AC_DEFINE(NDEBUG,1, ["Don't compile in debugging code."]) 55 52 AC_DEFINE(HAVE_DEBUG,0, ["Use debug setting to compile code."]) 56 have_debug="no"57 53 fi 58 AC_MSG_RESULT($have_debug)59 54 AC_SUBST(HAVE_DEBUG) 60 55 … … 63 58 dnl Check if we have enable debug support. 64 59 AC_MSG_CHECKING([whether to enable internal caching of values (speedup!)]) 65 default="yes"66 60 AC_ARG_ENABLE(cache, [ --enable-cache=[no/yes] turn on caching 67 [default=$default]],, enable_cache=$default) 61 [default=yes]],, enable_cache=$enableval) 62 AC_MSG_RESULT($enable_cache) 68 63 if test "x$enable_cache" = "xno"; then 69 64 AC_DEFINE(NO_CACHING,1, ["Don't use caching code."]) 70 65 AC_DEFINE(HAVE_CACHE,0, ["cache variables to speed up the code."]) 71 AC_MSG_RESULT(no)72 66 else 73 67 AC_DEFINE(HAVE_CACHE,1, ["cache variables to speed up the code."]) … … 75 69 fi 76 70 AC_SUBST(HAVE_CACHE) 77 78 #AC_MSG_CHECKING(whether to enable profiling)79 #default="no"80 #AC_ARG_ENABLE(debug, [ --enable-profile=[no/yes] turn on profiling81 # [default=$default]],, enable_profile=$default)82 #if test "x$enable_profile" = "xyes"; then83 # CXXFLAGS="$CXXFLAGS -g -DDEBUG -pg"84 # DEBUG=-pg;85 # AC_MSG_RESULT(yes)86 #else87 # AC_MSG_RESULT(no)88 #fi89 90 #AC_MSG_CHECKING(whether to enable serialization)91 #default="no"92 #AC_ARG_ENABLE(debug, [ --enable-serialization=[no/yes] turn on serialization support93 # [default=$default]],, enable_serialization=$default)94 #if test "x$enable_serialization" = "xyes"; then95 # CXXFLAGS="$CXXFLAGS -DSERIALIZATION"96 # serialization=yes;97 # AC_MSG_RESULT(yes)98 #else99 # serialization=no;100 # AC_MSG_RESULT(no)101 #fi102 71 103 72 # Checks for libraries. … … 150 119 151 120 # with valgrinding testsuite or not 121 AC_MSG_CHECKING(whether to enable valgrind memory checking in testsuite) 152 122 AC_ARG_WITH([valgrind],AS_HELP_STRING([--with-valgrind],[Use Valgrind on the testsuite (default is no)]), 153 123 [with_valgrind=$withval], [with_valgrind=no]) 154 if test x"$with_valgrind" = xyes; then 124 AC_MSG_RESULT($with_valgrind) 125 AS_IF([test "$with_valgrind" = yes],[ 155 126 AC_CHECK_HEADER([valgrind/valgrind.h], 156 127 [ … … 167 138 ] 168 139 ) 169 fi 140 ]) 170 141 171 142 # Check for "extern inline", using a modified version -
configure.ac
re06010 rf3b8a5 73 73 dnl Check if we have enable debug support. 74 74 AC_MSG_CHECKING(whether to enable debugging) 75 default="no"76 75 have_debug="no" 76 AC_MSG_RESULT($have_debug) 77 77 AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes/full] turn on debugging 78 [default= $default]],, enable_debug=$default)78 [default=no]],, enable_debug=$enableval) 79 79 if test "x$enable_debug" = "xyes"; then 80 80 AC_DEFINE(MEMDEBUG,1, ["Use memory debugger."]) … … 93 93 have_debug="no" 94 94 fi 95 AC_MSG_RESULT($have_debug)96 95 AC_SUBST(HAVE_DEBUG) 97 96 … … 99 98 dnl to the configure script (./configure --enable-debug) 100 99 dnl Check if we have enable debug support. 101 AC_MSG_CHECKING([whether to enable internal caching of values (speedup!)]) 102 default="yes" 100 AC_MSG_CHECKING(whether to enable internal caching/lazy evaluation) 103 101 AC_ARG_ENABLE(cache, [ --enable-cache=[no/yes] turn on caching 104 [default=$default]],, enable_cache=$default) 102 [default=yes]],, enable_cache=$enableval) 103 AC_MSG_RESULT($enable_cache) 105 104 if test "x$enable_cache" = "xno"; then 106 105 AC_DEFINE(NO_CACHING,1, ["Don't use caching code."]) 107 106 AC_DEFINE(HAVE_CACHE,0, ["cache variables to speed up the code."]) 108 AC_MSG_RESULT(no)109 107 else 110 108 AC_DEFINE(HAVE_CACHE,1, ["cache variables to speed up the code."]) 111 AC_MSG_RESULT(yes)112 109 fi 113 110 AC_SUBST(HAVE_CACHE) 114 115 #AC_MSG_CHECKING(whether to enable profiling)116 #default="no"117 #AC_ARG_ENABLE(debug, [ --enable-profile=[no/yes] turn on profiling118 # [default=$default]],, enable_profile=$default)119 #if test "x$enable_profile" = "xyes"; then120 # CXXFLAGS="$CXXFLAGS -g -DDEBUG -pg"121 # DEBUG=-pg;122 # AC_MSG_RESULT(yes)123 #else124 # AC_MSG_RESULT(no)125 #fi126 127 #AC_MSG_CHECKING(whether to enable serialization)128 #default="no"129 #AC_ARG_ENABLE(debug, [ --enable-serialization=[no/yes] turn on serialization support130 # [default=$default]],, enable_serialization=$default)131 #if test "x$enable_serialization" = "xyes"; then132 # CXXFLAGS="$CXXFLAGS -DSERIALIZATION"133 # serialization=yes;134 # AC_MSG_RESULT(yes)135 #else136 # serialization=no;137 # AC_MSG_RESULT(no)138 #fi139 111 140 112 # Checks for libraries. … … 200 172 201 173 # with valgrinding testsuite or not 174 AC_MSG_CHECKING(whether to enable valgrind memory checking in testsuite) 202 175 AC_ARG_WITH([valgrind],AS_HELP_STRING([--with-valgrind],[Use Valgrind on the testsuite (default is no)]), 203 176 [with_valgrind=$withval], [with_valgrind=no]) 204 if test x"$with_valgrind" = xyes; then 177 AC_MSG_RESULT($with_valgrind) 178 AS_IF([test "$with_valgrind" = "yes"], [ 205 179 AC_CHECK_HEADER([valgrind/valgrind.h], 206 180 [ … … 217 191 ] 218 192 ) 219 fi 193 ]) 220 194 221 195 # Check for "extern inline", using a modified version
Note:
See TracChangeset
for help on using the changeset viewer.