From: Martin Baulig Date: Fri, 13 Apr 2001 17:05:18 +0000 (+0000) Subject: Set variable `have_' to yes or no depending on whether the module X-Git-Tag: BONOBO_COMMON_1_2_3~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8eff2c2860b677e15b2e24cede9a437484b1daa;p=platform%2Fupstream%2Fgnome-common.git Set variable `have_' to yes or no depending on whether the module 2001-04-13 Martin Baulig * gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES): Set variable `have_' 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 --- diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 316e923..1e0c9b1 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,10 @@ +2001-04-13 Martin Baulig + + * gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES): + Set variable `have_' 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 * autogen.sh: Add the xml-i18n-tools stuff here. diff --git a/macros2/gnome-pkgconfig.m4 b/macros2/gnome-pkgconfig.m4 index 628cdce..976ed53 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 ])