2013.12.03 07:29 "[Tiff] jpeglib.h present but cannot be compiled...", by Nacho Man

2013.12.03 07:29 "[Tiff] jpeglib.h present but cannot be compiled...", by Nacho Man

I have gotten the new version of the tiff library to compile for the PS3 thanks to everyones help.  When I run configure though, I receive the following message:

checking jpeglib.h usability... no
checking jpeglib.h presence... yes
configure: WARNING: jpeglib.h: present but cannot be compiled
configure: WARNING: jpeglib.h:     check for missing prerequisite headers?
configure: WARNING: jpeglib.h: see the Autoconf documentation

configure: WARNING: jpeglib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: jpeglib.h: proceeding with the compiler's result
configure: WARNING:     ## -------------------------------------- ##
configure: WARNING:     ## Report this to tiff@lists.maptools.org ##
configure: WARNING:     ## -------------------------------------- ##

checking for jpeglib.h... no

I'm still using jpeg v9.  Is that the reason?  Should I be using version 09a from http://www.infai.org/jpeg/?

These are my configure options:

CPPFLAGS="-I${PSL1GHT}/ppu/include -I${PS3DEV}/portlibs/ppu/include -DHAVE_BOOLEAN" \
CFLAGS="-I${PSL1GHT}/ppu/include -I${PS3DEV}/portlibs/ppu/include" \
LDFLAGS="-L${PSL1GHT}/ppu/lib -L${PS3DEV}/portlibs/ppu/lib -lrt -llv2" \
PKG_CONFIG_PATH="${PS3DEV}/portlibs/ppu/lib/pkgconfig" \
../configure --prefix="${PS3DEV}/portlibs/ppu" --host="powerpc64-ps3-elf" --disable-shared --enable-option-checking

I have even tried putting a -DHAVE_BOOLEAN at the end of the CFLAGS even though I believe the -D[macro definition] flag is only for the preprocessor.  Any ideas?   And thanks for the help.