Changeset 95078c for configure.ac
- Timestamp:
- May 30, 2008, 1:50:45 PM (17 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:
- 5e4058
- Parents:
- 6b33de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r6b33de r95078c 36 36 # Checks for library functions. 37 37 # check for GNU Scientific Library 38 AC_CHECK_LIB(m,main)39 38 AC_CHECK_LIB(blas,main) 40 39 AC_CHECK_LIB(gsl,main) … … 45 44 if ! test x"$enable_debug" = xno; then 46 45 if test x"${enable_debug}" = xyes; then 47 CFLAGS=" -g3"48 CXXFLAGS=" -g3"46 CFLAGS="$CFLAGS -g3" 47 CXXFLAGS="$CXXFLAGS -g3" 49 48 else 50 CFLAGS=" -g${enable_debug}"51 CXXFLAGS=" -g${enable_debug}"49 CFLAGS="$CFLAGS -g${enable_debug}" 50 CXXFLAGS="$CXXFLAGS -g${enable_debug}" 52 51 fi 52 dnl enable all warnings 53 CFLAGS="$CFLAGS -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-noreturn -Wformat-security -Wmissing-format-attribute -Winit-self" 54 CXXFLAGS="$CXXFLAGS -Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wredundant-decls -Wmissing-noreturn -Wformat-security -Wmissing-format-attribute -Winit-self" 53 55 AC_DEFINE(HAVE_DEBUG,1, ["Output debugging info"]) 54 56 AC_SUBST(HAVE_DEBUG) 57 else 58 dnl even without debugging we want some minimal info of something's utterly wrong 59 CFLAGS="$CFLAGS -Wall" 60 CXXFLAGS="$CXXFLAGS -Wall" 55 61 fi 56 62 … … 61 67 if test x"$enable_debug" = xno; then 62 68 if test x"${enable_optimization}" = xyes; then 63 CFLAGS=" -O2"64 CXXFLAGS=" -O2"69 CFLAGS="$CFLAGS -O2" 70 CXXFLAGS="$CXXFLAGS -O2" 65 71 else 66 CFLAGS=" -O${enable_optimization}"67 CXXFLAGS=" -O${enable_optimization}"72 CFLAGS="$CFLAGS -O${enable_optimization}" 73 CXXFLAGS="$CXXFLAGS -O${enable_optimization}" 68 74 fi 69 75 # else
Note:
See TracChangeset
for help on using the changeset viewer.