source: configure.ac@ 9b8fa4

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

Huge update of file structure to place installation header files into right folder.

  • The problem ist that we desire use as include "CodePatterns/...". For this to work, especially with the new Observer subfolder structure, it has been necessary to place all header files away from their source files into a distinct folder called CodePatterns. This emulates the later, after make install present structure.
  • essentially all source and header files had to be changed to adapt the include.
  • all Makefile.am's had to be changed.
  • nobase_ ... was removed such that header files are installed flat and not creating their subfolder along the process.
  • We placed Observer into its own convenience library and own folder Observer away from Patterns.

Some other changes:

  • FIX: MemDebug.hpp inclusion has been removed in all stubs.
  • 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.1.7], [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:2:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.7])
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 src/Helpers/Makefile
73 src/Observer/Makefile
74 src/Patterns/Makefile
75 src/unittests/Makefile
76 ])
77AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.