From: Jack Moffitt Date: Mon, 26 Mar 2001 22:30:08 +0000 (+0000) Subject: fixed minor errors in Jeff's patches. X-Git-Tag: v1.3.3~1003 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77713fe4eae6d804a7159a0c7787426d7a4184b3;p=platform%2Fupstream%2Flibvorbis.git fixed minor errors in Jeff's patches. svn path=/trunk/vorbis/; revision=1402 --- diff --git a/acinclude.m4 b/acinclude.m4 index 5a7e261..73e41bd 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -16,7 +16,7 @@ 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 != x ; then + if test "x$ogg_prefix" != "xNONE" ; then ogg_args="$ogg_args --prefix=$ogg_prefix" OGG_CFLAGS="-I$ogg_prefix/include" OGG_LIBS="-L$ogg_prefix/lib" @@ -58,7 +58,7 @@ int main () LIBS="$ac_save_LIBS" fi - if test "x$no_ogg" = x ; then + if test "x$no_ogg" = "x" ; then AC_MSG_RESULT(yes) ifelse([$1], , :, [$1]) else diff --git a/vorbis.m4 b/vorbis.m4 index 7ce9600..1c0d846 100644 --- a/vorbis.m4 +++ b/vorbis.m4 @@ -12,7 +12,7 @@ dnl AC_ARG_WITH(vorbis-prefix,[ --with-vorbis-prefix=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="") AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes) - if test x$vorbis_prefix != x ; then + if test "x$vorbis_prefix" != "xNONE" ; then vorbis_args="$vorbis_args --prefix=$vorbis_prefix" VORBIS_CFLAGS="-I$vorbis_prefix/include" VORBIS_LIBDIR="-L$vorbis_prefix/lib" @@ -56,7 +56,7 @@ int main () LIBS="$ac_save_LIBS" fi - if test "x$no_vorbis" = x ; then + if test "x$no_vorbis" = "x" ; then AC_MSG_RESULT(yes) ifelse([$1], , :, [$1]) else