aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome.m4
diff options
context:
space:
mode:
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"])
+])