From: Hugo Villeneuve Date: Sun, 29 Mar 2020 22:49:04 +0000 (-0400) Subject: Replace XOpenDisplay with XSetWMHints in X11 AC_CHECK_LIB X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=8c535abed406a35c9a2cb691c71606b30c685f18;p=dockapps%2Fhvclock.git Replace XOpenDisplay with XSetWMHints in X11 AC_CHECK_LIB --- 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