provide support for playhead-to-next/previous-region-boundary actions, and bindings...
[ardour.git] / libs / sigc++2 / configure.ac
1 dnl Configure.in
2 dnl
3 dnl  Source for generating compiler independent libraries.
4 dnl
5
6 dnl INIT is required name a file which is unique to the package
7 dnl just to prevent someone from copying the configure to the wrong package.
8 AC_INIT(sigc++)
9
10 dnl This version stuff is just for the packaging section of the tool.
11 dnl   thus make format_package-0.0.1.tar.gz  
12 FP_MAJOR_VERSION=2
13 FP_MINOR_VERSION=0
14 FP_MICRO_VERSION=6
15 FP_VERSION=$FP_MAJOR_VERSION.$FP_MINOR_VERSION.$FP_MICRO_VERSION
16
17 dnl For automake.
18 VERSION=$FP_VERSION
19 PACKAGE=libsigc++
20
21 dnl Initialize automake stuff
22 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
23
24 dnl Specify a configuration file:
25 AC_CONFIG_HEADER(sigc++config.h)
26
27 dnl disable autoheader
28 AUTOHEADER=':'
29
30 dnl Maintainer support (autodependencies and packaging)
31 AM_MAINTAINER_MODE
32
33 dnl Using C compiler
34 AC_PROG_CC
35 AC_PROG_CPP
36
37 dnl Using libtool
38 AC_CONFIG_MACRO_DIR(scripts)
39 dnl LT_INIT
40 dnl AM_PROG_LIBTOOL
41
42 dnl Using C++ compiler
43 AC_PROG_CXX
44 AC_LANG_CPLUSPLUS
45
46 SIGC_CXX_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD()
47
48 if test "X$config_error" = "Xyes" ; then
49   AC_ERROR(
50 [One or more of the required compiler features is missing.
51 If you believe this is in error, please consult the config.log file
52 for further details.
53 ])
54 fi
55  
56
57 # Generate output
58 AC_OUTPUT([
59   Makefile
60   sigc++-2.0.pc
61
62   sigc++/Makefile
63   libsigc++-2.0.spec
64 ])