[Libreoffice] Quoting issue in autogen.sh

Sidney Markowitz sidney at sidney.com
Sun Oct 3 10:48:12 PDT 2010


Thomas Klausner wrote, On 4/10/10 4:34 AM:
> Hi!
> 
> I'm trying to pass down flags so the configure script finds stuff.
> I'm running
> 	autogen.sh ...someflags... CPPFLAGS="-I/usr/pkg/include  -I/usr/local/include" 
> and configure dies with:
> 	configure: error: unrecognized option: `-I/usr/local/include'

This is probably related to a problem I saw doing something like (ignore that
the particular arguments any not make sense, it is just an example of the bug)

CFLAGS="-Wall -Wformat-security" CPPFLAGS="-Wall -Wformat-security"
./autogen.sh ...

That is, setting CFLAGS and CPPFLAGS in the environment both to something with
space ends up with errors during the configuration.


More information about the LibreOffice mailing list