VORBIS_CFLAGS ignored for examples
Note: this report relates to version 1.0 alpha5, but no tag for it exists yet in the bug tracker.
The cflags that configure successfully acquired for libvorbis (from pkg-config I guess) are not used for all of the examples. The result is that if you've got libvorbis located in a non-standard directory that isn't used for some other library that is used, the build fails.
Part of the compilation output:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/links/include/SDL -D_REENTRANT -I/opt/libogg-1.1/include -g -O2 -Wall -MT encoder_example.o -MD -MP -MF ".deps/encoder_example.Tpo" -c -o encoder_example.o encoder_example.c;
then mv -f ".deps/encoder_example.Tpo" ".deps/encoder_example.Po"; else rm -f ".deps/encoder_example.Tpo"; exit 1; fi
encoder_example.c:40:26: vorbis/codec.h: No such file or directory
encoder_example.c:41:30: vorbis/vorbisenc.h: No such file or directory