[AdgADim] Added "angle1" and "angle2" properties
[adg.git] / configure.ac
blobbc71734f1311b3ad67ce031336d44b0229beb2e3
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([ADG], [0.4.3], [ntd at entidi.it],
4         [adg], [http://adg.entidi.com/])
5 AC_CONFIG_SRCDIR([adg/adg.h])
6 AC_CONFIG_HEADERS([config.h])
7 AC_CONFIG_MACRO_DIR(m4)
8 AM_INIT_AUTOMAKE
11 # Check for programs
13 AC_PROG_CC
14 AC_DISABLE_STATIC
15 AC_PROG_LIBTOOL
16 PKG_PROG_PKG_CONFIG
19 # Check for functions
21 dnl Alloca is required by cpml, so it should be removed
22 dnl in case the adg and cpml libraries will be splitted
23 AC_FUNC_ALLOCA
26 # I18n
28 AM_GNU_GETTEXT([external])
29 AM_GNU_GETTEXT_VERSION([0.15])
32 # Check for gtk-doc
34 GTK_DOC_CHECK(1.9)
37 # Check for packages
39 PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.12.0])
40 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
43 # Final step
45 SHAVE_INIT([],[enable])
46 AC_CONFIG_FILES([shave
47                  shave-libtool
48                  Makefile
49                  cpml/Makefile
50                  adg/Makefile
51                  demo/Makefile
52                  docs/Makefile
53                  docs/adg/Makefile
54                  docs/adg/bookinfo.xml
55                  docs/cpml/Makefile
56                  docs/cpml/bookinfo.xml
57                  po/Makefile.in])
58 AC_OUTPUT