Subject: CONFIGURE_ENV needs a few additions
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 02/03/2001 14:25:56
In light of the recent addition of ${FFLAGS} to ${CONFIGURE_ENV}, I
think it's also desirable to add the following variables as well:

	CPPFLAGS
	CXXFLAGS

as both are also used by GNU configure if they are defined in the
environment.  We current define:

	CFLAGS
	FFLAGS
	LDFLAGS

in ${CONFIGURE_ENV}.  Quite a lot of packages already do:

	CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"

and several C++ packages do the same with CXXFLAGS. I'm unsure as to
why they aren't part of ${CONFIGURE_ENV} already.  Can anyone recall
why?

	Thanks,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/