Set variable `have_<name>' to yes or no depending on whether the module
authorMartin Baulig <baulig@suse.de>
Fri, 13 Apr 2001 17:05:18 +0000 (17:05 +0000)
committerMartin Baulig <martin@src.gnome.org>
Fri, 13 Apr 2001 17:05:18 +0000 (17:05 +0000)
2001-04-13  Martin Baulig  <baulig@suse.de>

* gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES):
Set variable `have_<name>' to yes or no depending on whether the
module was found or not; allows you to define automake conditionals
for optional modules.

svn path=/trunk/; revision=1659

macros2/ChangeLog
macros2/gnome-pkgconfig.m4

index 316e923..1e0c9b1 100644 (file)
@@ -1,3 +1,10 @@
+2001-04-13  Martin Baulig  <baulig@suse.de>
+
+       * gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES):
+       Set variable `have_<name>' to yes or no depending on whether the
+       module was found or not; allows you to define automake conditionals
+       for optional modules.
+
 2001-03-24  Martin Baulig  <baulig@suse.de>
 
        * autogen.sh: Add the xml-i18n-tools stuff here.
index 628cdce..976ed53 100644 (file)
@@ -178,6 +178,9 @@ AC_DEFUN([GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES],
        if test -z "$4" ; then
            eval 'HAVE_'$name=yes
        fi
+       eval 'have_'$name=yes
+    else
+       eval 'have_'$name=no
     fi
 ])