aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome.m4
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-02-11 04:21:54 +0800
committerRaja R Harinath <harinath@src.gnome.org>1998-02-11 04:21:54 +0800
commitf97c786c151fd4d96f0ae33f0c6bfc4e71ebd2a6 (patch)
tree67c272ea6c5eec2f5d5e5eef2febb5969cf292f1 /macros/gnome.m4
parent2cacd4650840b80211cc136471c8877d97dadaeb (diff)
downloadgsoc2013-evolution-f97c786c151fd4d96f0ae33f0c6bfc4e71ebd2a6.tar.gz
gsoc2013-evolution-f97c786c151fd4d96f0ae33f0c6bfc4e71ebd2a6.tar.zst
gsoc2013-evolution-f97c786c151fd4d96f0ae33f0c6bfc4e71ebd2a6.zip
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
Diffstat (limited to 'macros/gnome.m4')
-rw-r--r--macros/gnome.m47
1 files changed, 7 insertions, 0 deletions
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"])
+])