OGG_LIBS=""
elif test "x$ogg_prefix" != "x" ; then
OGG_LIBS="-L$ogg_prefix/lib"
- elif test "x$prefix" != "xNONE" ; then
+ elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
OGG_LIBS="-L$prefix/lib"
fi
OGG_CFLAGS=""
elif test "x$ogg_prefix" != "x" ; then
OGG_CFLAGS="-I$ogg_prefix/include"
- elif test "x$prefix" != "xNONE"; then
+ elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
OGG_CFLAGS="-I$prefix/include"
fi
#include <string.h>
#include <ogg/ogg.h>
-int main ()
+int main (void)
{
system("touch conf.oggtest");
return 0;