libvorbis/libvorbis-m4.dif

21 lines
703 B
Plaintext

--- vorbis.m4-dist 2002-07-09 15:08:57.000000000 +0200
+++ vorbis.m4 2002-09-19 15:24:06.000000000 +0200
@@ -19,7 +19,7 @@
VORBIS_LIBS="-L$vorbis_libraries"
elif test "x$vorbis_prefix" != "x" ; then
VORBIS_LIBS="-L$vorbis_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
+ elif test "x$prefix" != "xNONE" -a test "x$prefix" != "x/usr"; then
VORBIS_LIBS="-L$prefix/lib"
fi
@@ -31,7 +31,7 @@
VORBIS_CFLAGS="-I$vorbis_includes"
elif test "x$vorbis_prefix" != "x" ; then
VORBIS_CFLAGS="-I$vorbis_prefix/include"
- elif test "x$prefix" != "xNONE"; then
+ elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
VORBIS_CFLAGS="-I$prefix/include"
fi