This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Configure options --with-bugurl, --with-pkgversion
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 16 Feb 2007 01:50:24 -0200
- Subject: Re: Configure options --with-bugurl, --with-pkgversion
- References: <Pine.LNX.4.64.0702152158100.23791@digraph.polyomino.org.uk>
On Feb 15, 2007, "Joseph S. Myers" <joseph@codesourcery.com> wrote:
> Index: configure.ac
> + ac_arg="`echo "'$ac_arg'" | sed "s/^'\([[-a-zA-Z0-9]]*=\)/\\1'/"`" ;;
You don't want this kind of nesting of quotes, I think. In fact, you
don't really need the outer-level double quotes, so just lose them and
be safer.
You probably want to quote single quotes the way autoconf does, before
making the transformation above:
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}