From f97c786c151fd4d96f0ae33f0c6bfc4e71ebd2a6 Mon Sep 17 00:00:00 2001 From: Raja R Harinath Date: Tue, 10 Feb 1998 20:21:54 +0000 Subject: New file. Moved AC_CHECK_GNOME from `configure.in' to here, and renamed * gnome.m4: New file. Moved AC_CHECK_GNOME from `configure.in' to here, and renamed macro to GNOME_CHECK_GNOME. * gnome-x-checks.m4: Likewise, move and renaming AC_GNOME_X_CHECKS to GNOME_X_CHECKS. * aclocal-include.m4: New file. Defines AM_ACLOCAL_INCLUDE macro to provide extra search directories to `aclocal'. svn path=/trunk/; revision=11 --- macros/gnome.m4 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 macros/gnome.m4 (limited to 'macros/gnome.m4') diff --git a/macros/gnome.m4 b/macros/gnome.m4 new file mode 100644 index 0000000000..08e2943280 --- /dev/null +++ b/macros/gnome.m4 @@ -0,0 +1,7 @@ +AC_DEFUN([GNOME_CHECK_GNOME], +[ + AC_REQUIRE([GNOME_X_CHECKS]) + AC_CHECK_LIB(gnome, gnome_init, [GNOME_LIBS="-lgnome -lgnomeui"],[ + AC_MSG_ERROR(Gnome libraries not found)],[ + "$GTK_LIBS $x_libs"]) +]) -- cgit v1.2.3