Fix last change in configure.ac

* configure.ac: Test window system against "x11", not "x".
This commit is contained in:
Po Lu 2022-04-13 11:17:34 +08:00
parent e91cbdfaee
commit 1996064996

View file

@ -2797,7 +2797,7 @@ gtk3_pkg_errors=
if test "${opsys}" != "mingw32"; then
if test "${with_gtk3}" = "yes" || test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
GLIB_REQUIRED=2.37.5
if test "${window_system}" = "x"; then
if test "${window_system}" = "x11"; then
GTK_REQUIRED=3.10
else
GTK_REQUIRED=3.20