[build] Included demo.h in distribution
[adg.git] / configure.ac
blob86d1ca15c6ddae38fa45a8f791a2763dd9b4f8d5
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([adg], [0.4.0],
4         [ntd at entidi.it],
5         [adg])
6 AC_CONFIG_SRCDIR([adg/adg.h])
7 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_MACRO_DIR(m4)
9 AM_INIT_AUTOMAKE
10 AM_MAINTAINER_MODE
13 # Check for programs
15 AC_PROG_CC
16 AC_DISABLE_STATIC
17 AC_PROG_LIBTOOL
18 PKG_PROG_PKG_CONFIG
21 # Check for functions
23 dnl Alloca is required by cpml, so it should be removed
24 dnl in case the adg and cpml libraries will be splitted
25 AC_FUNC_ALLOCA
28 # I18n
30 AM_GNU_GETTEXT([external])
31 AM_GNU_GETTEXT_VERSION([0.15])
34 # Check for gtk-doc
36 GTK_DOC_CHECK(1.9)
39 # Check for packages
41 PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.12.0])
42 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
45 # Final step
47 AC_CONFIG_FILES([Makefile
48                  cpml/Makefile
49                  adg/Makefile
50                  demo/Makefile
51                  docs/Makefile
52                  docs/adg/Makefile
53                  docs/adg/version.xml
54                  docs/cpml/Makefile
55                  docs/cpml/version.xml
56                  po/Makefile.in])
57 AC_OUTPUT