Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


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'

autogen.sh runs its arguments through
requote_args ()
{
    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?

Cheers,
 Thomas

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.