[Libreoffice] Quoting issue in autogen.sh
wiz at NetBSD.org
Sun Oct 3 08:34:32 PDT 2010
I'm trying to pass down flags so the configure script finds stuff.
autogen.sh ...someflags... CPPFLAGS="-I/usr/pkg/include -I/usr/local/include"
and configure dies with:
configure: error: unrecognized option: `-I/usr/local/include'
autogen.sh runs its arguments through
sed -e 's/.*configure //' -e 's/=\(\([^"'"'"'-]\|-[^-]\| \)*\)\( \|$\)/="\1" /g'
and then runs
eval `echo ./configure $new_args $old_args`
(old_args are fetched from config.log in case no command line
arguments are given)
This doesn't seem to work.
I understand that requote_args wants to quote the arguments somehow,
but I don't understand how the sed expression is supposed to do that.
Jan, you seem to have added that regex. Perhaps you still know how
this is supposed to work and can fix it?
More information about the LibreOffice