From 8a097f57745f5fde8d2e0f9ffd7b21f2c9736dc0 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Fri, 3 Dec 1999 15:11:06 +0000 Subject: Fix empty for loop, the Zucchi way. Fix empty for loop, the Zucchi way. svn path=/trunk/; revision=1021 --- hack-macros/gnome.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack-macros/gnome.m4 b/hack-macros/gnome.m4 index 98312a3..078519f 100644 --- a/hack-macros/gnome.m4 +++ b/hack-macros/gnome.m4 @@ -87,7 +87,7 @@ AC_ARG_ENABLE(gnometest, [ --disable-gnometest Do not try to compile and fi tmp_gnome_libdir=`$GNOME_CONFIG $gnome_config_args --libdir` - for module in $4; do + for module in $4 ""; do if test -f $tmp_gnome_libdir/$module'Conf'.sh; then tmp_bsnom=`echo $module | tr a-z A-Z` eval $tmp_bsnom'_CFLAGS'=\"`$GNOME_CONFIG $gnome_config_args --cflags $module`\" @@ -110,7 +110,7 @@ AC_ARG_ENABLE(gnometest, [ --disable-gnometest Do not try to compile and OAF_LIBS="`$GNOME_CONFIG $gnome_config_args --libs oaf`" AC_SUBST(OAF_CFLAGS) AC_SUBST(OAF_LIBS) - else + elif -n "$module"; then echo "*** $module library is not installed" ifelse([$3], , :, [$3]) fi -- cgit v1.2.1