source: configure.ac@ c362a4

Last change on this file since c362a4 was c362a4, checked in by Frederik Heber <heber@…>, 13 years ago

Set version to 1.2.2

  • Library version is now 9:2:0, API version is 1.2.2.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT([CodePatterns], [1.2.2], [heber@ins.uni-bonn.de], [codepatterns], [http://trac.ins.uni-bonn.de/projects/CodePatterns/])
6AC_CONFIG_AUX_DIR(config)
7AC_CONFIG_SRCDIR([src/codepatterns-config.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])
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(CodePatterns, 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], [9:2:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.2.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([sys/times.h])
57AC_CHECK_HEADERS([unistd.h])
58AC_CXX_HAVE_VALARRAY
59
60# Checks for library functions.
61AC_FUNC_MALLOC
62AC_CHECK_FUNCS([memset])
63
64# -${CODEPATTERNS_API_VERSION}
65AC_CONFIG_FILES([
66 CodePatterns.pc:CodePatterns.pc.in])
67AC_CONFIG_FILES([
68 CodePatterns-debug.pc:CodePatterns-debug.pc.in])
69AC_CONFIG_FILES([
70 Makefile
71 doc/Makefile
72 src/Makefile
73 src/Helpers/Makefile
74 src/Observer/Makefile
75 src/Patterns/Makefile
76 src/unittests/Makefile
77 ])
78AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.