2007-11-15 Andreas Schwab <[EMAIL PROTECTED]>
* include-exclude-prog.m4 (gl_REMOVE_PROG): Fix syntax error.
Remove trailing space from result.
diff --git a/m4/include-exclude-prog.m4 b/m4/include-exclude-prog.m4
index d0addc7..c5e31d9 100644
--- a/m4/include-exclude-prog.m4
+++ b/m4/include-exclude-prog.m4
@@ -20,7 +20,8 @@ AC_DEFUN([gl_ADD_PROG],
AC_DEFUN([gl_REMOVE_PROG],
[{
$1=`for gl_rem_i in $$1; do
- test "$gl_rem_i" = "$2" || echo "$gl_rem_i" done | tr '\012' ' '; echo`
+ test "$gl_rem_i" = "$2" || echo "$gl_rem_i"
+ done | tr '\012' ' ' | sed 's/ $//'; echo`
}])
# Given the name of a variable containing a space-separated list of
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils