diff options
author | Chris Mayo <aklhfex@gmail.com> | 2021-03-25 19:31:44 +0000 |
---|---|---|
committer | Chris Mayo <aklhfex@gmail.com> | 2021-03-25 19:31:44 +0000 |
commit | 0105b280cb3aebbcc0a9d05a3e4f9608eb5a2207 (patch) | |
tree | 025c7a1ddf2ddfa5e39d3885402b853a9e686192 | |
parent | 9306f18621f53723087d355ba0e4f63a96dd87f1 (diff) |
build: replace bashism in configuration for GTK 4
Else with dash as /bin/sh, GTK 4 support cannot be selected.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8b3db35..7b2a99c 100644 --- a/configure.ac +++ b/configure.ac @@ -87,7 +87,7 @@ AC_ARG_WITH([gtk4], [Use GTK4 instead of Xlib @<:@default=no@:>@])], [], [with_gtk4="no"]) -if test "x$with_gtk4" == "xyes"; then +if test "x$with_gtk4" = "xyes"; then PKG_CHECK_MODULES([GTK], [gtk4 >= 3.98], [ AC_DEFINE([WITH_GTK], [1], [If defined, load GTK+ libraries]) AC_DEFINE([USE_GTK_FOR_MONITORS], [1], [If defined, use GTK for monitor resolution instead of XRandr]) |