grim/guifications2
Clone
Summary
Browse
Changes
Graph
This should satisfy ancient crap
org.guifications.gf2
2007-12-16, Gary Kramlich
f72beee2d529
Parents
71ed9a74e045
Children
e27e2ceeb462
This should satisfy ancient crap
1 files changed, 5 insertions(+), 9 deletions(-)
+5
-9
configure.ac
--- a/configure.ac Sun Dec 16 21:05:23 2007 -0500
+++ b/configure.ac Sun Dec 16 21:05:40 2007 -0500
@@ -19,6 +19,9 @@
F77=no
GCJ=no
+dnl # Make sure we have pkg-config
+PKG_PROG_PKG_CONFIG()
+
#
# Setup libtool
#
@@ -102,18 +105,11 @@
#
# check for gtk and other dependencies
#
-
-AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([
-*** GLib 2.0 is required to build Guifications; please make sure you have the
-*** GLib development headers installed. The latest version of GLib is always
-*** available at http://www.gtk.org/.]))
+PKG_CHECK_MODULES(GLIB, [glib-2.0])
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
-AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR([
-*** GTK+ 2.0 is required to build Guifications; please make sure you have the
-*** GTK+ development headers installed. The latest version of GTK+ is always
-*** available at http://www.gtk.org/.]))
+PKG_CHECK_MODULES(GTK, [gtk+-2.0])
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)