[AdgPath] Added adg_path_get_cpml_path()
[adg.git] / configure.ac
blob848d0db998f6bfd65a39c8ccbd40f1e6c4adac56
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([adg], [0.4.1],
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
12 # Check for programs
14 AC_PROG_CC
15 AC_DISABLE_STATIC
16 AC_PROG_LIBTOOL
17 PKG_PROG_PKG_CONFIG
20 # Check for functions
22 dnl Alloca is required by cpml, so it should be removed
23 dnl in case the adg and cpml libraries will be splitted
24 AC_FUNC_ALLOCA
27 # I18n
29 AM_GNU_GETTEXT([external])
30 AM_GNU_GETTEXT_VERSION([0.15])
33 # Check for gtk-doc
35 GTK_DOC_CHECK(1.9)
38 # Check for packages
40 PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.12.0])
41 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
44 # Final step
46 AC_CONFIG_FILES([Makefile
47                  cpml/Makefile
48                  adg/Makefile
49                  demo/Makefile
50                  docs/Makefile
51                  docs/adg/Makefile
52                  docs/adg/version.xml
53                  docs/cpml/Makefile
54                  docs/cpml/version.xml
55                  po/Makefile.in])
56 AC_OUTPUT