[PATCH] incorrect use of LIBS and CFLAGS in vorbis.m4 and ogg.m4
Hi,
the autoconf documentation explains that the variable LIBS should
contain "-l' options to pass to the linker". For
-L' options,
LDFLAGS should be used instead. This breaks compilation of other
software using libogg/libvorbis (and the XIPH_PATH_OGG/XIPH_PATH_VORBIS
macros) when running "./configure --prefix=foo" if {OGG,VORBIS}_LIBS are
assumed to contain only -l' options. Moreover, header file search directory options (
-IDIR') belong in
CPPFLAGS, not CFLAGS.
Patches are available at http://perso.ens-lyon.fr/julien.cristau/ogg.m4.diff
and http://perso.ens-lyon.fr/julien.cristau/vorbis.m4.diff
Regards, Julien Cristau