source: configure.ac@ 74e0f7

Last change on this file since 74e0f7 was 76379c, checked in by Frederik Heber <heber@…>, 15 years ago

Doxygen now uses m4/ac_doxygen.m4.

  • fixes to ac_doxygen.m4 necessary as given here, "is not a valid shell variable name": https://issues.apache.org/jira/browse/AMQCPP-191.
  • we again have doc/Makefile.am as otherwise PHONY targets doxygen-doc and doc come into conflict.
  • using .am file for doxygen configuration from doxample (by Oren Ben-Tiki).
  • Property mode set to 100644
File size: 1.7 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.4], [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], [7:4:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.4])
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_PROGRAM_OPTIONS
42BOOST_THREADS
43
44# Checks for typedefs, structures, and compiler characteristics.
45AC_HEADER_STDBOOL
46AC_C_INLINE
47AC_TYPE_SIZE_T
48AC_CHECK_HEADERS([sys/times.h])
49
50# Checks for library functions.
51AC_FUNC_MALLOC
52AC_CHECK_FUNCS([memset])
53
54# -${CODEPATTERNS_API_VERSION}
55AC_CONFIG_FILES([
56 CodePatterns.pc:CodePatterns.pc.in])
57AC_CONFIG_FILES([
58 CodePatterns-debug.pc:CodePatterns-debug.pc.in])
59AC_CONFIG_FILES([
60 Makefile
61 doc/Makefile
62 src/Makefile
63 ])
64AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.