dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.54)
+AC_PREREQ(2.62)
dnl ==========================================================================
dnl Versioning
dnl The triplet
m4_define([atk_major_version], [1])
-m4_define([atk_minor_version], [23])
-m4_define([atk_micro_version], [5])
+m4_define([atk_minor_version], [29])
+m4_define([atk_micro_version], [4])
m4_define([atk_version],
[atk_major_version.atk_minor_version.atk_micro_version])
[http://bugzilla.gnome.org/enter_bug.cgi?product=atk])
AC_CONFIG_SRCDIR([ChangeLog])
+AC_CONFIG_MACRO_DIR([m4])
+
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([-Wno-portability])
dnl ==========================================================================
dnl
fi
changequote([,])dnl
-AM_PATH_GLIB_2_0(2.5.7,have_no_export=true,have_no_export=false)
-if test "x$have_no_export" = "xtrue"; then
- GLIB_REQUIRED_VERSION=2.5.7
- glib_no_export_package="gmodule-no-export-2.0"
-else
- GLIB_REQUIRED_VERSION=2.0.0
- glib_no_export_package=
-fi
-GLIB_PACKAGES="gobject-2.0 $glib_no_export_package"
+GLIB_REQUIRED_VERSION=2.0.0
+GLIB_PACKAGES="gobject-2.0"
AC_SUBST(GLIB_PACKAGES)
AC_SUBST(GLIB_REQUIRED_VERSION)
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.]),
- gobject gmodule-no-export)
+ gobject)
PKG_CHECK_MODULES(DEP, glib-2.0 >= $GLIB_REQUIRED_VERSION $GLIB_PACKAGES, ,
AC_MSG_ERROR([
AC_CHECK_FUNCS(bind_textdomain_codeset)
+GOBJECT_INTROSPECTION_CHECK([0.6.7])
+
GTK_DOC_CHECK([1.0])
# define a MAINT-like variable REBUILD which is set if Perl