1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

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.
This commit is contained in:
Score_Under 2015-06-24 16:38:15 +01:00
parent 4e6a8eb63b
commit c90c108c44

View File

@ -9,11 +9,11 @@ AC_DEFUN([ARC_ENABLE], [
)], )],
[ENABLE_$1="$enableval"], [ENABLE_$1="$enableval"],
[AS_IF( [AS_IF(
[test "x$4" == "xdisable"], [test "x$4" = "xdisable"],
[ENABLE_$1="yes"], [ENABLE_$1="yes"],
[ENABLE_$1="no"] [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]) AC_SUBST([ENABLE_$1])
]) ])