altering cflags for autotools
hi..
today i've been trying to package mod_python but had some difficulties because ${STAGING_INCDIR} was not included in the path thus mod_include.h (staged from the apache2 package) could not be found -> can't compile mod_python.
Changing CFLAGS or EXTRA_CFLAGS has no effect. Looking at the autotools class that is no surprise because it doesn't seem to be read anywhere. How can I fix this? Do I have to patch the configure.in file ?
Which leads me to my next, slightly related question. When in a devshell session, shouldn't STAGING_INCDIR be set as environment variable ?
regards,
Tobi
Quoted 10 lines · Tobias Pflug
hi..
today i've been trying to package
mod_pythonbut had some difficulties because ${STAGING_INCDIR} was not included in the path thusmod_include.h(staged from the apache2 package) could not be found -> can't compilemod_python.Changing CFLAGS or
EXTRA_CFLAGShas no effect. Looking at the autotools class that is no surprise because it doesn't seem to be read anywhere. How can I fix this? Do I have to patch the configure.in file ?
It doesn't need to be read anywhere. It's exported, and autoconf uses the environment CFLAGS by default.
Signature · 3 lines
Chris Larson - clarson at kergoth dot com Dedicated Engineer - MontaVista - clarson at mvista dot com Core Developer/Architect - TSLib, BitBake, OpenEmbedded, OpenZaurus
Quoted 8 lines · Chris Larson
Quoted 7 lines · Tobias Pflug
hi..
today i've been trying to package
mod_pythonbut had some difficulties because ${STAGING_INCDIR} was not included in the path thusmod_include.h(staged from the apache2 package) could not be found -> can't compilemod_python.
Quoted 6 lines
Quoted 3 lines
Changing CFLAGS or
EXTRA_CFLAGShas no effect. Looking at the autotools class that is no surprise because it doesn't seem to be read anywhere. How can I fix this? Do I have to patch the configure.in file ?It doesn't need to be read anywhere. It's exported, and autoconf uses the environment CFLAGS by default.
Alright.. I was being silly. The problem is that I need to overwrite the values used by apxs which is used for building ..
Still, thanks for your clarification