diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1999-12-03 15:11:06 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1999-12-03 15:11:06 +0000 |
commit | 8a097f57745f5fde8d2e0f9ffd7b21f2c9736dc0 (patch) | |
tree | b8593d9845644c599cee51c70c82eac36eb21097 | |
parent | 05c0510dbe98f2dc9acce4fc2602afee682d7c05 (diff) | |
download | shared-mime-info-8a097f57745f5fde8d2e0f9ffd7b21f2c9736dc0.tar.gz |
Fix empty for loop, the Zucchi way.
Fix empty for loop, the Zucchi way.
svn path=/trunk/; revision=1021
-rw-r--r-- | hack-macros/gnome.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hack-macros/gnome.m4 b/hack-macros/gnome.m4 index 98312a34..078519f3 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 |