From 94c6a33adeb5e1ccf91ad7d3d56cba8cfcbbe81d Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 15 Dec 1998 18:23:20 +0000 Subject: [PATCH] This is no valid shell syntax: for module in ; do So we add a `.' in front of the $4 to make it look like this: for module in . $4 ; do This works even if $4 is empty ... --- glib.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib.m4 b/glib.m4 index f26ccdc08..3b439dad7 100644 --- a/glib.m4 +++ b/glib.m4 @@ -29,7 +29,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and ru fi fi - for module in $4 ; do + for module in . $4 ; do case "$module" in gmodule) glib_config_args="$glib_config_args gmodule"