123555a940d1a96a0fb1782469db157cf5b4cdf0
[platform/upstream/libogg.git] / packaging / m4.diff
1 Index: ogg.m4
2 ===================================================================
3 --- ogg.m4.orig
4 +++ ogg.m4
5 @@ -20,7 +20,7 @@ AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--
6      OGG_LIBS=""
7    elif test "x$ogg_prefix" != "x" ; then
8      OGG_LIBS="-L$ogg_prefix/lib"
9 -  elif test "x$prefix" != "xNONE" ; then
10 +  elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
11      OGG_LIBS="-L$prefix/lib"
12    fi
13  
14 @@ -34,7 +34,7 @@ AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--
15      OGG_CFLAGS=""
16    elif test "x$ogg_prefix" != "x" ; then
17      OGG_CFLAGS="-I$ogg_prefix/include"
18 -  elif test "x$prefix" != "xNONE"; then
19 +  elif test "x$prefix" != "xNONE" -a "x$prefix" != "x/usr"; then
20      OGG_CFLAGS="-I$prefix/include"
21    fi
22  
23 @@ -62,7 +62,7 @@ dnl
24  #include <string.h>
25  #include <ogg/ogg.h>
26  
27 -int main ()
28 +int main (void)
29  {
30    system("touch conf.oggtest");
31    return 0;