From 9dda31c03f778cec8310ebbe4a629549cb7c7b2c Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 20 Aug 2001 21:31:38 +0000 Subject: empty prefixes detected correctly now. git-svn-id: http://svn.xiph.org/trunk/ogg@1899 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- ogg.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ogg.m4') diff --git a/ogg.m4 b/ogg.m4 index 45b7c3f..bf29606 100644 --- a/ogg.m4 +++ b/ogg.m4 @@ -12,11 +12,11 @@ dnl AC_ARG_WITH(ogg-prefix,[ --with-ogg-prefix=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="") AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes) - if test "x$ogg_prefix" != "xNONE" ; then + if test "x$ogg_prefix" != "x"; then ogg_args="$ogg_args --prefix=$ogg_prefix" OGG_CFLAGS="-I$ogg_prefix/include" OGG_LIBS="-L$ogg_prefix/lib" - elif test "$prefix" != ""; then + elif test "x$prefix" != "xNONE"; then ogg_args="$ogg_args --prefix=$prefix" OGG_CFLAGS="-I$prefix/include" OGG_LIBS="-L$prefix/lib" -- cgit v1.2.1