configure fails to find vorbis with --with-vorbis-includes
./configure --with-vorbis-libraries=~/src/vorbis/aotuv-b6.02_20110227/lib/.libs/ --with-vorbis-includes=~/src/vorbis/aotuv-b6.02_20110227/include/
[...]
checking for library containing cos... -lm
checking for Vorbis... yes
checking whether OV_ECTL_COUPLING_SET is declared... no
configure: error: Vorbis >= 1.3.0 required !
config.log:
configure:21549: checking whether OV_ECTL_COUPLING_SET is declared
configure:21579: gcc -c -O2 -Wall -ffast-math -fsigned-char -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:102: error: 'OV_ECTL_COUPLING_SET' undeclared (first use in this function)
conftest.c:102: error: (Each undeclared identifier is reported only once
conftest.c:102: error: for each function it appears in.)
configure:21585: $? = 1
problem: gcc is not called with the proper include dirs
This is for vorbis-tools 1.4.0