diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2007-07-13 Jim Meyering <jim@meyering.net> + + Use proper backslash-quoting inside backticks. + * configure.ac: Otherwise we run afoul of strict GNU tr: + a string ending in a lone backslash would provoke a failure. + 2007-07-12 Jim Meyering <jim@meyering.net> Expand default-no-install prog list in ./configure --help output, diff --git a/configure.ac b/configure.ac index 2f9f4cc80..6b5f37388 100644 --- a/configure.ac +++ b/configure.ac @@ -256,7 +256,7 @@ mk="$srcdir/src/Makefile.am" v=EXTRA_PROGRAMS for gl_i in `sed -n '/^'$v' =/,/[[^\]]$/p' $mk \ | sed 's/^ *//;/^\$.*/d;/^'$v' =/d' \ - | tr -s '\012\\' ' '`; do + | tr -s '\\012\\\\' ' '`; do gl_ADD_PROG([optional_bin_progs], $gl_i) done @@ -265,7 +265,7 @@ done v=no_install__progs t=`sed -n '/^'$v' =/,/[[^\]]$/p' $mk \ | sed 's/^ *//;/^\$.*/d;/^'$v' =/d' \ - | tr -s '\012\\' ' '` + | tr -s '\\012\\\\' ' '` # Remove any trailing space. no_install_progs_default=`echo "$t"|sed 's/ $//'` |