From 7aca608357139f58e7cfe38630aeecbbb335a93c Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 3 Nov 2012 20:49:28 -0700 Subject: [PATCH] fixed m4 macro --- ogg.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ogg.m4 b/ogg.m4 index 77d663b..3345418 100644 --- a/ogg.m4 +++ b/ogg.m4 @@ -20,7 +20,7 @@ AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile 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 @@ -34,7 +34,7 @@ AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile 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 @@ -62,7 +62,7 @@ dnl #include #include -int main () +int main (void) { system("touch conf.oggtest"); return 0; -- 2.7.4