[Fresco-devel] Bug 223 - "*-config scripts have inappropriate --cxxflags output"

sashang <[email protected]> 31 Mar 2003 11:29:05 +1200
Newsgroups gmane.comp.video.fresco.devel
Message-ID <1049066945.3055.18.camel@localhost>
Hi

I've been looking into the bug in the subject line and have had to
figure out how the build system works. I'm a Linux newb. Anyway this is
what I've found out. In general on GNU/Linux the configure file is
generated by autoconf from a user made configure.ac or configure.in
file. automake generates a makefile.in from a user made makefile.am.
Then ./configure will generate a makefile for make. However in Fresco's
case it doesn't look like automake is used. Instead the makefile.in is
hand made. 

How does this fit in with the bug report? Well the set of flags cxxflags
"-g O2" are generated by autoconf for even the simplest 'hello world'
type project. But it would be nice if there was an option to let the
user choose the cxxflags to use, or if it just took cxxflags from the
environment. I'm looking into how to do that at the moment.

-- 
sashan
http://sashan.netfirms.com
---------------------------------------------------
Brain: Here we are, Pinky--at the dawn of time!
Pinky:  Narf, Brain.  Wake me at the noon of time.