aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog6
-rw-r--r--macros/gnome-libgtop-check.m42
2 files changed, 7 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index e7f2516962..8f23bbcd7a 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,9 @@
+1998-10-11 Martin Baulig <martin@home-of-linux.org>
+
+ * gnome-libgtop-check.m4 (GNOME_INIT_LIBGTOP): Added optional
+ third parameter which is the `script-if-enabled' parameter of
+ the GNOME_LIBGTOP_HOOOK.
+
1998-10-05 Karl Eichwalder <ke@suse.de>
* gnome-xml-check.m4: Fix typo while signaling the error.
diff --git a/macros/gnome-libgtop-check.m4 b/macros/gnome-libgtop-check.m4
index 8810a3d94c..1def32734f 100644
--- a/macros/gnome-libgtop-check.m4
+++ b/macros/gnome-libgtop-check.m4
@@ -151,5 +151,5 @@ AC_DEFUN([GNOME_LIBGTOP_HOOK],
])
AC_DEFUN([GNOME_INIT_LIBGTOP],[
- GNOME_LIBGTOP_HOOK($1,[],$2)
+ GNOME_LIBGTOP_HOOK($1,[ifelse([$3], [], :, [$3])],$2)
])