summaryrefslogtreecommitdiff
path: root/ogg.m4
diff options
context:
space:
mode:
authorStan Seibert <volsung@xiph.org>2001-08-20 21:31:38 +0000
committerStan Seibert <volsung@xiph.org>2001-08-20 21:31:38 +0000
commit9dda31c03f778cec8310ebbe4a629549cb7c7b2c (patch)
tree8449080cac101d78f06677148ecfec7bb8c0a3fb /ogg.m4
parent01f0fa5f9c138b2e89620380ad0da85acf8e991f (diff)
downloadogg-9dda31c03f778cec8310ebbe4a629549cb7c7b2c.tar.gz
empty prefixes detected correctly now.
git-svn-id: http://svn.xiph.org/trunk/ogg@1899 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'ogg.m4')
-rw-r--r--ogg.m44
1 files changed, 2 insertions, 2 deletions
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"