1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([ADG],[0.5.0],[ntd at entidi.it],[adg],[http://adg.entidi.com/])
4 AC_CONFIG_SRCDIR([configure.ac])
5 AC_CONFIG_HEADERS([config.h])
6 AC_CONFIG_MACRO_DIR([m4])
20 dnl Alloca is required by cpml, so it should be removed
21 dnl in case the adg and cpml libraries will be splitted
27 AM_GNU_GETTEXT([external])
28 AM_GNU_GETTEXT_VERSION([0.15])
31 # Check required packages
34 PKG_CHECK_MODULES([GOBJECT2],[gobject-2.0 >= 2.4.0])
35 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
38 # Check for optional GTK+2 support
41 [AS_HELP_STRING([--enable-gtk2],
42 [include GKT+2 specific widgets @<:@default=check@:>@])],
43 [],[enable_gtk2=check])
44 AS_IF([test "x$enable_gtk2" != "xno"],
45 [PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.12.0],
47 [AS_IF([test "x$enable_gtk2" = "xyes"],
48 [AC_MSG_ERROR([$GTK2_PKG_ERRORS but GTK+2 support requested])],
50 AM_CONDITIONAL([HAVE_GTK2],[test "x$enable_gtk2" = "xyes"])
55 SHAVE_INIT([],[enable])
56 AC_CONFIG_FILES([shave
66 docs/cpml/bookinfo.xml