From f51b98333dfa0e53be195043b0e49a8f0a6d8c13 Mon Sep 17 00:00:00 2001 From: Martin Nolte <mnolte@dune-project.org> Date: Tue, 28 Jul 2009 12:57:12 +0000 Subject: [PATCH] foreported the real fix for the undefined macro problem [[Imported from SVN: r5563]] --- bin/dunemodules.inc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/bin/dunemodules.inc b/bin/dunemodules.inc index 491cc2a42..962b7a276 100644 --- a/bin/dunemodules.inc +++ b/bin/dunemodules.inc @@ -197,15 +197,10 @@ sort_dependencies() { # did we find a module file for this mopdule? if test "x$(eval echo \$HAVE_$m)" != "x"; then eval deps=\$DEPS_$m - deps=`echo "$deps" | sed 's/,/ /g;s/([^)]*)/ /'` + deps=`echo "$deps" | sed 's/,/ /g;s/([^)]*)/ /g'` for name in $deps; do - - case "$name" in - '('*) ;; - *) dep=`fix_variable_name $name` - _sort_module $dep - ;; - esac + dep=`fix_variable_name $name` + _sort_module $dep done else eval echo ERROR: could not find module \$NAME_$m >&2 -- GitLab