source: configure.ac@ 451f17

Last change on this file since 451f17 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
RevLine 
[a80f419]1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
[17eaa5]5AC_INIT([CodePatterns], [1.1.4], [heber@ins.uni-bonn.de], [codepatterns], [http://trac.ins.uni-bonn.de/projects/CodePatterns/])
[a80f419]6AC_CONFIG_AUX_DIR(config)
[76379c]7AC_CONFIG_SRCDIR([src/codepatterns-config.cpp])
[a80f419]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
[76379c]18
19# use doxygen
20DX_HTML_FEATURE(ON)
21DX_PS_FEATURE(OFF)
22DX_PDF_FEATURE(OFF)
23DX_INIT_DOXYGEN(CodePatterns, Doxyfile, $(docdir))
[a80f419]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
[17eaa5]32AC_SUBST([CODEPATTERNS_SO_VERSION], [7:4:0])
33AC_SUBST([CODEPATTERNS_API_VERSION], [1.1.4])
[a80f419]34
35# Checks for libraries.
36# FIXME: Replace `main' with a function in `-ldl':
37AC_CHECK_LIB([dl], [main])
38
39# Boost libraries
[a0ddcf]40BOOST_REQUIRE([1.40])
41BOOST_PROGRAM_OPTIONS
42BOOST_THREADS
[a80f419]43
44# Checks for typedefs, structures, and compiler characteristics.
45AC_HEADER_STDBOOL
46AC_C_INLINE
47AC_TYPE_SIZE_T
[8e24ef]48AC_CHECK_HEADERS([sys/times.h])
[a80f419]49
50# Checks for library functions.
51AC_FUNC_MALLOC
[2c67a4]52AC_CHECK_FUNCS([memset])
[a80f419]53
[115378]54# -${CODEPATTERNS_API_VERSION}
[a80f419]55AC_CONFIG_FILES([
[115378]56 CodePatterns.pc:CodePatterns.pc.in])
[cdf2e4]57AC_CONFIG_FILES([
58 CodePatterns-debug.pc:CodePatterns-debug.pc.in])
[a80f419]59AC_CONFIG_FILES([
60 Makefile
61 doc/Makefile
62 src/Makefile
63 ])
64AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.