Changeset f08ae7
- Timestamp:
- Oct 10, 2011, 4:58:24 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:
- bae8b0
- Parents:
- 78d5b2
- git-author:
- Frederik Heber <heber@…> (09/07/11 16:35:59)
- git-committer:
- Frederik Heber <heber@…> (10/10/11 16:58:24)
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
LinearAlgebra/configure.ac
r78d5b2 rf08ae7 104 104 AC_CHECK_LIB(m, sqrt, , AC_MSG_ERROR([compatible libc math library not found])) 105 105 106 # Boost libraries107 BOOST_REQUIRE([1.40])108 BOOST_EXCEPTION109 110 106 # CodePatterns library (needs operator<<(.., range<>) ) 111 107 AM_PATH_CODEPATTERNS([1.0.13], $have_debug,,[AC_MSG_ERROR([Missing CodePatterns library, please specify PKG_CONFIG_PATH or use --with-codepatterns...])]) 108 109 # boost headers 110 BOOST_REQUIRE([1.40]) 111 BOOST_BIND 112 BOOST_EXCEPTION 112 113 113 114 # Checks for header files. -
LinearAlgebra/src/LinearAlgebra/Makefile.am
r78d5b2 rf08ae7 5 5 6 6 AM_LDFLAGS = ${CodePatterns_LIBS} -ldl 7 AM_CPPFLAGS = $ {BOOST_CPPFLAGS}${CodePatterns_CFLAGS}7 AM_CPPFLAGS = $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS} 8 8 9 9 LINALGSOURCE = \ -
LinearAlgebra/src/unittests/Makefile.am
r78d5b2 rf08ae7 4 4 INCLUDES = -I$(top_srcdir)/src/LinearAlgebra 5 5 6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl $(BOOST_EXCEPTION_LDFLAGS)7 AM_CPPFLAGS = $ {BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 7 AM_CPPFLAGS = $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 8 8 9 9 TESTS = \ … … 23 23 GSLLIBS = \ 24 24 ../LinearAlgebra/libLinearAlgebra.la \ 25 ${CodePatterns_LIBS} \ 26 $(BOOST_EXCEPTION_LIBS) 25 ${CodePatterns_LIBS} 27 26 28 27 TESTSOURCES = \ -
configure.ac
r78d5b2 rf08ae7 112 112 AC_CHECK_LIB(m, sqrt, , AC_MSG_ERROR([compatible libc math library not found])) 113 113 114 # Boost libraries114 # Boost 115 115 BOOST_REQUIRE([1.40]) 116 117 # Boost headers only 118 BOOST_ANY 119 BOOST_BIND 120 BOOST_CONVERSION 116 121 BOOST_EXCEPTION 122 BOOST_FOREACH 123 BOOST_FUNCTION 124 BOOST_PREPROCESSOR 125 BOOST_RANDOM 126 BOOST_SMART_PTR 127 BOOST_TOKENIZER 128 129 # Boost headers with libraries 117 130 BOOST_FILESYSTEM 118 131 BOOST_PROGRAM_OPTIONS 119 BOOST_RANDOM 132 #BOOST_SERIALIZATION 120 133 BOOST_THREADS 121 134 … … 125 138 #AX_CHECK_GLU 126 139 #AC_MSG_NOTICE(["GLU_CFLAGS: $GLU_CFLAGS, GLU_CXXFLAGS: $GLU_CXXFLAGS, GLU_LDFLAGS: $GLU_LDFLAGS, GLU_LIBS: $GLU_LIBS"]) 140 127 141 128 142 # CodePatterns library (needs Observer::Channels ) -
m4/ax_codepatterns.m4
r78d5b2 rf08ae7 6 6 [ 7 7 AC_REQUIRE([BOOST_THREADS]) 8 AC_REQUIRE([BOOST_REQUIRE]) 8 9 9 10 AC_ARG_WITH(codepatterns,[ --with-codepatterns=PFX Prefix where CodePatterns is installed (optional)], … … 43 44 AC_PATH_PROG(CodePatterns_CONFIG, codepatterns-config, no) 44 45 if test "x$CodePatterns_CONFIG" = xno && test x$codepatterns_prefix != x ; then 45 AC_MSG_CHECKING([for alternative codepatterns-config location])46 46 if test -e $codepatterns_prefix/bin/codepatterns-config; then 47 47 codepatterns_pkgconfig=no 48 48 CodePatterns_CONFIG="$codepatterns_prefix/bin/codepatterns-config" 49 AC_MSG_RESULT([yes])50 else51 AC_MSG_RESULT([no])52 49 fi 53 50 fi -
m4/boost.m4
r78d5b2 rf08ae7 23 23 24 24 m4_define([_BOOST_SERIAL], [m4_translit([ 25 # serial 1 525 # serial 16 26 26 ], [# 27 27 ], [])]) … … 459 459 ]) 460 460 461 462 # BOOST_ANY() 463 # ------------ 464 # Look for Boost.Any 465 BOOST_DEFUN([Any], 466 [BOOST_FIND_HEADER([boost/any.hpp])]) 467 468 461 469 # BOOST_ARRAY() 462 470 # ------------- … … 502 510 503 511 # BOOST_EXCEPTION() 504 # ------------ ---512 # ------------ 505 513 # Look for Boost.Exception 506 514 BOOST_DEFUN([Exception], … … 589 597 590 598 599 # BOOST_ITERATOR() 600 # ------------ 601 # Look for Boost.Iterator 602 BOOST_DEFUN([Iterator], 603 [BOOST_FIND_HEADER([boost/iterator/iterator_adaptor.hpp])]) 604 605 591 606 # BOOST_LAMBDA() 592 607 # -------------- … … 594 609 BOOST_DEFUN([Lambda], 595 610 [BOOST_FIND_HEADER([boost/lambda/lambda.hpp])]) 611 612 613 # BOOST_LOG([PREFERRED-RT-OPT]) 614 # ----------------------------- 615 # Look for Boost.Log For the documentation of PREFERRED-RT-OPT, see the 616 # documentation of BOOST_FIND_LIB above. 617 BOOST_DEFUN([Log], 618 [BOOST_FIND_LIB([log], [$1], 619 [boost/log/core/core.hpp], 620 [boost::log::attribute a; a.get_value();]) 621 ])# BOOST_LOG 622 623 624 # BOOST_LOG_SETUP([PREFERRED-RT-OPT]) 625 # ----------------------------------- 626 # Look for Boost.Log For the documentation of PREFERRED-RT-OPT, see the 627 # documentation of BOOST_FIND_LIB above. 628 BOOST_DEFUN([Log_Setup], 629 [AC_REQUIRE([BOOST_LOG])dnl 630 BOOST_FIND_LIB([log_setup], [$1], 631 [boost/log/utility/init/from_settings.hpp], 632 [boost::log::basic_settings<char> bs; bs.empty();]) 633 ])# BOOST_LOG_SETUP 596 634 597 635 … … 635 673 BOOST_DEFUN([Preprocessor], 636 674 [BOOST_FIND_HEADER([boost/preprocessor/repeat.hpp])]) 675 676 677 # BOOST_RANDOM() 678 # -------------------- 679 # Look for Boost.Random 680 BOOST_DEFUN([Random], 681 [BOOST_FIND_HEADER([boost/random/random_number_generator.hpp])]) 682 683 684 # BOOST_UNORDERED() 685 # ----------------- 686 # Look for Boost.Unordered 687 BOOST_DEFUN([Unordered], 688 [BOOST_FIND_HEADER([boost/unordered_map.hpp])]) 689 690 691 # BOOST_UUID() 692 # ------------ 693 # Look for Boost.Uuid 694 BOOST_DEFUN([Uuid], 695 [BOOST_FIND_HEADER([boost/uuid/uuid.hpp])]) 637 696 638 697 … … 678 737 679 738 680 # BOOST_RANDOM()681 # ---------------682 # Look for Boost.Random683 BOOST_DEFUN([Random],684 [BOOST_FIND_HEADER([boost/random/uniform_int.hpp])])685 686 687 739 # BOOST_REF() 688 740 # ----------- … … 712 764 [std::ostream* o = 0; // Cheap way to get an ostream... 713 765 boost::archive::text_oarchive t(*o);]) 714 ])# BOOST_S IGNALS766 ])# BOOST_SERIALIZATION 715 767 716 768 -
src/Actions/unittests/Makefile.am
r78d5b2 rf08ae7 27 27 ../libMolecuilderUI.la 28 28 29 # note that DummyUI inherits Dialog which depends on boost/file_system ... 30 29 31 ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 30 32 ../Actions/unittests/ActionRegistryUnitTest.cpp \ … … 36 38 ../Actions/unittests/ActionSequenceUnitTest.hpp \ 37 39 ../Actions/unittests/stubs/DummyUI.hpp 38 ActionSequenceUnitTest_LDADD = ${ACTIONLIBS} 40 ActionSequenceUnitTest_LDADD = \ 41 ${ACTIONLIBS} \ 42 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \ 43 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 39 44 40 45 AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ … … 47 52 ../Actions/unittests/ManipulateAtomsUnitTest.hpp \ 48 53 ../Actions/unittests/stubs/DummyUI.hpp 49 ManipulateAtomsUnitTest_LDADD = ${ACTIONLIBS} 54 ManipulateAtomsUnitTest_LDADD = \ 55 ${ACTIONLIBS} \ 56 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \ 57 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 50 58 51 59 -
src/Makefile.am
r78d5b2 rf08ae7 14 14 include UIElements/Makefile.am 15 15 16 AM_LDFLAGS = -ldl 16 AM_LDFLAGS = -ldl ${BOOST_LDFLAGS} 17 17 AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} 18 18 -
src/RandomNumbers/Makefile.am
r78d5b2 rf08ae7 5 5 6 6 # Position-Independent Code necessary for shared library 7 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 7 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS} 8 8 #AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 9 9 -
src/RandomNumbers/unittests/Makefile.am
r78d5b2 rf08ae7 4 4 #INCLUDES = -I$(top_srcdir)/src 5 5 6 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 6 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS} 7 7 #AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 8 8 -
src/UIElements/Makefile.am
r78d5b2 rf08ae7 271 271 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 272 272 libMolecuilderRandomNumbers.la \ 273 $ (CodePatterns_LIBS)\274 $(BOOST_ FILESYSTEM_LIBS) \275 $(BOOST_ PROGRAM_OPTIONS_LIBS) \276 $(BOOST_SYSTEM_L IBS)273 ${CodePatterns_LIBS} \ 274 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \ 275 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \ 276 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) 277 277 278 278 libMolecuilderQtUI_la_LIBADD = \ 279 280 281 279 ${QT_LIBS} \ 280 -lQtOpenGL \ 281 ${GLU_LIBS} 282 282 283 283 -
src/unittests/Makefile.am
r78d5b2 rf08ae7 16 16 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src 17 17 18 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)18 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 19 19 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 20 20 … … 43 43 noinst_PROGRAMS += $(GENERALTESTS) TestRunner 44 44 45 BOOST_LIB = $(BOOST_PROGRAM_OPTIONS_LIBS) $(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_THREAD_LIBS) 45 BOOST_LIB = \ 46 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \ 47 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) 46 48 47 49 ALLLIBS = \
Note:
See TracChangeset
for help on using the changeset viewer.