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
commit1203e89c8a7de1faae4503a9441af22cb8bee367 (patch)
tree8449080cac101d78f06677148ecfec7bb8c0a3fb /ogg.m4
parent48c8273d357272671caa1ead15f7902c58ce991f (diff)
downloadogg-git-1203e89c8a7de1faae4503a9441af22cb8bee367.tar.gz
empty prefixes detected correctly now.
svn path=/trunk/ogg/; revision=1899
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"