diff --git a/configure.in b/configure.in index 3df4d5876b847..02998b9db17aa 100644 --- a/configure.in +++ b/configure.in @@ -798,7 +798,7 @@ else fi # XRandR -if test "$host_vendor" = "apple" || test "$use_x11" == "no"; then +if test "$host_vendor" = "apple" || test "$use_x11" = "no"; then use_xrandr="no" AC_MSG_RESULT($xrandr_disabled) else @@ -815,7 +815,7 @@ if test "$host_vendor" = "apple" ; then AC_MSG_NOTICE($goom_disabled) DISABLE_GOOM=1 else - if test "$use_goom" = "yes" && test "use_gl" == "yes"; then + if test "$use_goom" = "yes" && test "use_gl" = "yes"; then AC_MSG_NOTICE($goom_enabled) DISABLE_GOOM=0 else @@ -825,7 +825,7 @@ else fi # RSXS -if test "$use_rsxs" = "no" || test "$use_gl" == "no"; then +if test "$use_rsxs" = "no" || test "$use_gl" = "no"; then AC_MSG_NOTICE($rsxs_disabled) DISABLE_RSXS=1 else @@ -1653,7 +1653,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [ --disable-encoders \ --enable-encoder=ac3 \ --enable-encoder=aac \ - `if test "$use_ffmpeg_libvorbis" == "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \ + `if test "$use_ffmpeg_libvorbis" = "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \ --disable-devices \ --disable-ffprobe \ --disable-ffplay \ @@ -1692,7 +1692,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [ --disable-encoders \ --enable-encoder=ac3 \ --enable-encoder=aac \ - `if test "$use_ffmpeg_libvorbis" == "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \ + `if test "$use_ffmpeg_libvorbis" = "yes"; then echo --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis; else echo --disable-libvorbis; fi` \ --disable-decoder=mpeg_xvmc \ --disable-devices \ --disable-ffprobe \ diff --git a/lib/libdvd/build-xbmc-win32.sh b/lib/libdvd/build-xbmc-win32.sh index a0ff00eabfde6..e32b81f2fa805 100644 --- a/lib/libdvd/build-xbmc-win32.sh +++ b/lib/libdvd/build-xbmc-win32.sh @@ -3,7 +3,7 @@ MAKECLEAN=0 MAKEFLAGS="" -if [ "$1" == "clean" ] +if [ "$1" = "clean" ] then MAKECLEAN=1 fi @@ -15,7 +15,7 @@ fi #libdvdcss cd libdvdcss echo "***** Cleaning libdvdcss *****" -if [ $MAKECLEAN == 1 ] +if [ $MAKECLEAN = 1 ] then make distclean fi @@ -36,7 +36,7 @@ cp libdvdcss/src/.libs/libdvdcss-2.dll /xbmc/system/players/dvdplayer/ #libdvdread cd libdvdread echo "***** Cleaning libdvdread *****" -if [ $MAKECLEAN == 1 ] +if [ $MAKECLEAN = 1 ] then make distclean fi @@ -54,7 +54,7 @@ cd .. #libdvdnav cd libdvdnav echo "***** Cleaning libdvdnav *****" -if [ $MAKECLEAN == 1 ] +if [ $MAKECLEAN = 1 ] then make distclean fi @@ -77,4 +77,4 @@ gcc \ strip -S obj/libdvdnav.dll cd .. cp libdvdnav/obj/libdvdnav.dll /xbmc/system/players/dvdplayer/ -echo "***** Done *****" \ No newline at end of file +echo "***** Done *****"