I've set CPPFLAGS to specify the include directory using the -I compiler
option, but for some reason the compiler still can't find the file. The
only way I've been able to get it to work is either to place the include
file in the same directory from which I'm running the configure script,
or to add the include file's path to the INCLUDE environment variable.
Is there some way to get the -I option to work as expected? Thanks for
any help.
- Jon Leighton
I'm not good at autoconf programming, so I don't know how to
solve this problem. Sorry!
Looking at nsprpub/configure.in, I only see CPPFLAGS used in
AC_DEFUN(MOZ_CHECK_PTHREADS, whereas CFLAGS is
used in many places (search for "_SAVE_CFLAGS=$CFLAGS").
You can email Ted Mielczarek for help (I don't think he reads
this newsgroup):
http://www.mozilla.org/owners.html#nspr
Wan-Teh