Added optional third parameter which is the `script-if-enabled' parameter
authorMartin Baulig <martin@home-of-linux.org>
Sun, 11 Oct 1998 11:57:55 +0000 (11:57 +0000)
committerMartin Baulig <martin@src.gnome.org>
Sun, 11 Oct 1998 11:57:55 +0000 (11:57 +0000)
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

macros/ChangeLog
macros/gnome-libgtop-check.m4

index e7f2516..8f23bbc 100644 (file)
@@ -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.
index 8810a3d..1def327 100644 (file)
@@ -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)
 ])