Commits

Bart van Strien committed f98ea8c

Use '=' instead of '==' for test command in configure scripts (fixes #866)

Comments (0)

Files changed (2)

platform/unix/configure.ac

 	  AC_DEFINE([LOVE_BUILD_EXE], [], [Skip building launcher]))
 
 AM_CONDITIONAL([LOVE_BUILD_EXE], [test "x$enable_exe" != xno])
-AM_CONDITIONAL([LOVE_NOMPG123], [test "x$enable_mpg123" == xno])
+AM_CONDITIONAL([LOVE_NOMPG123], [test "x$enable_mpg123" = xno])
 AM_CONDITIONAL([LOVE_TARGET_OSX], [test "x$enable_osx" != xno])
 
 # Automatic script file rebuilding

platform/unix/genmodules

 		amflag="$(upper $(echo love-$flag | sed 's/-/_/g'))"
 		printf "AC_ARG_ENABLE([$flag], [  --disable-$flag    Turn off $prettyflag], [], [$varflag=true])\n"
 		printf "AH_TEMPLATE([$defineflag], [])\n"
-		printf "if test x\"\$$varflag\" == xtrue; then\n"
+		printf "if test x\"\$$varflag\" = xtrue; then\n"
 		printf "    AC_DEFINE([$defineflag], [])\n"
 		printf "fi\n"
-		printf "AM_CONDITIONAL([$amflag], [test x\$$varflag == xtrue])\n\n"
+		printf "AM_CONDITIONAL([$amflag], [test x\$$varflag = xtrue])\n\n"
 	done
 }