mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Use '=' instead of '==' for test command in configure scripts (fixes #866)
This commit is contained in:
@@ -96,10 +96,10 @@ genflags()
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user