source: configure.ac@ aead7d

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

Set version to 1.1.6.

  • Library version is now 8:1:0, API version is 1.1.6.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT([CodePatterns], [1.1.6], [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], [8:1:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.6])
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_CXX_HAVE_VALARRAY
58
59# Checks for library functions.
60AC_FUNC_MALLOC
61AC_CHECK_FUNCS([memset])
62
63# -${CODEPATTERNS_API_VERSION}
64AC_CONFIG_FILES([
65 CodePatterns.pc:CodePatterns.pc.in])
66AC_CONFIG_FILES([
67 CodePatterns-debug.pc:CodePatterns-debug.pc.in])
68AC_CONFIG_FILES([
69 Makefile
70 doc/Makefile
71 src/Makefile
72 ])
73AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.