summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-10-11 11:57:55 +0000
committerMartin Baulig <martin@src.gnome.org>1998-10-11 11:57:55 +0000
commitf878dd384a475127a58686ca267503399685e4e9 (patch)
tree0101c8b1193cdfdb0e6ef27c38bb4cd5836bb12f
parentd668d53749e5e3270113cdeb9ed416962404ad21 (diff)
downloadgnome-common-f878dd384a475127a58686ca267503399685e4e9.tar.gz
Added optional third parameter which is the `script-if-enabled' parameter
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. svn path=/trunk/; revision=432
-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 e7f2516..8f23bbc 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 8810a3d..1def327 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)
])