Configure options --with-bugurl, --with-pkgversion

Alexandre Oliva aoliva@redhat.com
Fri Feb 16 07:51:00 GMT 2007


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}



More information about the Binutils mailing list