From 8c535abed406a35c9a2cb691c71606b30c685f18 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 29 Mar 2020 18:49:04 -0400 Subject: [PATCH] Replace XOpenDisplay with XSetWMHints in X11 AC_CHECK_LIB --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 85b50b0..a5d7f97 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ CFLAGS="${CFLAGS} ${X_CFLAGS}" LIBS="${LIBS} ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS}" dnl Checking for X11 library. -AC_CHECK_LIB(X11, XOpenDisplay, LIBS="${LIBS} -lX11", +AC_CHECK_LIB(X11, XSetWMHints, LIBS="${LIBS} -lX11", echo "Can't find X11 library" ; exit 1, "${X_LIBS}") dnl --with-gtk3 option -- 2.20.1