diff options
Diffstat (limited to 'macros2')
-rw-r--r-- | macros2/ChangeLog | 7 | ||||
-rw-r--r-- | macros2/gnome-pkgconfig.m4 | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 316e9235..1e0c9b12 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -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. diff --git a/macros2/gnome-pkgconfig.m4 b/macros2/gnome-pkgconfig.m4 index 628cdcec..976ed53e 100644 --- a/macros2/gnome-pkgconfig.m4 +++ b/macros2/gnome-pkgconfig.m4 @@ -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 ]) |