Fix broken test

Test with "==" is non-standard so it doesn't work on all shells. Arc-theme will not build without this change for me.
master
Score_Under 2015-06-24 16:38:15 +01:00
parent 4e6a8eb63b
commit c90c108c44
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ AC_DEFUN([ARC_ENABLE], [
)],
[ENABLE_$1="$enableval"],
[AS_IF(
[test "x$4" == "xdisable"],
[test "x$4" = "xdisable"],
[ENABLE_$1="yes"],
[ENABLE_$1="no"]
)]
)
AM_CONDITIONAL([ENABLE_$1], [test "x$ENABLE_$1" == "xyes"])
AM_CONDITIONAL([ENABLE_$1], [test "x$ENABLE_$1" = "xyes"])
AC_SUBST([ENABLE_$1])
])