source: ThirdParty/CodePatterns/configure.ac@ ce9681

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since ce9681 was 41e8e2, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '084729c5923f0123e695fbe2548b393288c1f13d' as 'ThirdParty/CodePatterns'

  • Property mode set to 100644
File size: 2.2 KB
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT([LibCodePatterns], [1.3.2], [heber@ins.uni-bonn.de], [libcodepatterns], [http://trac.ins.uni-bonn.de/projects/CodePatterns/])
6AC_CONFIG_AUX_DIR(config)
7AC_CONFIG_SRCDIR([src/codepatterns-config-main.cpp])
8AC_CONFIG_HEADERS([config.h libcodepatterns_config.h])
9AC_CONFIG_MACRO_DIR([m4])
10
11AM_INIT_AUTOMAKE([dist-bzip2 1.11 parallel-tests color-tests subdir-objects])
12
13# Checks for programs.
14AM_PATH_CPPUNIT(1.9.6)
15AC_PROG_CXX
16AC_PROG_INSTALL
17AC_PROG_MAKE_SET
18
19# use doxygen
20DX_HTML_FEATURE(ON)
21DX_PS_FEATURE(OFF)
22DX_PDF_FEATURE(OFF)
23DX_INIT_DOXYGEN(libcodepatterns, Doxyfile, ${docdir})
24
25# use libtool
26LT_INIT([disable-static])
27
28# Define these substitions here to keep all version information in one place.
29# For information on how to properly maintain the library version information,
30# refer to the libtool manual, section "Updating library version information":
31# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
32AC_SUBST([CODEPATTERNS_SO_VERSION], [12:2:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.3.2])
34
35# Checks for libraries.
36# FIXME: Replace `main' with a function in `-ldl':
37AC_CHECK_LIB([dl], [main])
38
39# Boost libraries
40BOOST_REQUIRE([1.40])
41BOOST_BIND
42BOOST_FUNCTION
43BOOST_ITERATOR
44BOOST_OPTIONAL
45BOOST_PREPROCESSOR
46BOOST_PROGRAM_OPTIONS
47BOOST_SERIALIZATION
48BOOST_SMART_PTR
49BOOST_THREADS
50BOOST_TOKENIZER
51
52# Checks for typedefs, structures, and compiler characteristics.
53AC_HEADER_STDBOOL
54AC_C_INLINE
55AC_TYPE_SIZE_T
56AC_CHECK_HEADERS([time.h])
57AC_CHECK_HEADERS([sys/time.h])
58AC_CHECK_HEADERS([sys/times.h])
59AC_CHECK_HEADERS([unistd.h])
60AC_CXX_HAVE_VALARRAY
61
62LIBRT=""
63AS_IF([test x"$ac_cv_header_time_h" = xyes],
64 AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"])
65 AC_SUBST(LIBRT)
66)
67
68# Checks for library functions.
69AC_FUNC_MALLOC
70AC_CHECK_FUNCS([memset])
71
72# -${CODEPATTERNS_API_VERSION}
73AC_CONFIG_FILES([
74 libcodepatterns.pc:libcodepatterns.pc.in])
75AC_CONFIG_FILES([
76 libcodepatterns-debug.pc:libcodepatterns-debug.pc.in])
77AC_CONFIG_FILES([
78 Makefile
79 doc/Makefile
80 src/Makefile
81 src/Helpers/Makefile
82 src/Observer/Makefile
83 src/Patterns/Makefile
84 src/unittests/Makefile
85 ])
86AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.