AC_PROG_INTLTOOL([0.21])
GNOME_PLATFORM_GNOME_2(yes, force)
+GNOME_COMMON_INIT
AC_ISC_POSIX
AC_PROG_CC
dnl Minimum versions of libraries
GTK_REQUIRED=2.0.5
LIBGNOMEUI_REQUIRED=2.0.1
+LIBBONOBO_REQUIRED=2.0.0
LIBXML_REQUIRED=2.4.23
LIBGNOMEPRINT_REQUIRED=1.115.0
LIBGNOMEPRINTUI_REQUIRED=1.115.0
PKG_CHECK_MODULES(GLABELS, gtk+-2.0 >= $GTK_REQUIRED
libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
+ libbonobo-2.0 >= $LIBBONOBO_REQUIRED
libxml-2.0 >= $LIBXML_REQUIRED
libgnomeprint-2.0 >= $LIBGNOMEPRINT_REQUIRED
libgnomeprintui-2.0 >= $LIBGNOMEPRINTUI_REQUIRED
AM_GLIB_GNU_GETTEXT
-dnl ****************************************
-dnl * Set PACKAGE_LOCALE_DIR in config.h.
-dnl ****************************************
-if test "x${prefix}" = "xNONE"; then
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale")
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/${DATADIRNAME}")
-else
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale")
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/${DATADIRNAME}")
-fi
-
dnl ****************************************
dnl * Configure barcode library