mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Polish X11 detection code a bit.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@243 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
1094dcdc54
commit
e425061a2c
@ -171,7 +171,6 @@ AC_ARG_ENABLE(x11,
|
||||
[want_x11="$enableval"])
|
||||
|
||||
|
||||
AM_CONDITIONAL(BUILD_X11, test x$want_x11)
|
||||
if test x$want_x11 == xyes; then
|
||||
AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
@ -183,15 +182,15 @@ if test x$want_x11 == xyes; then
|
||||
fi
|
||||
AC_DEFINE(X11, 1, [Define if you want to use X11])
|
||||
AC_DEFINE(HAVE_X11, 1, [Define if you have X11])
|
||||
AM_CONDITIONAL(BUILD_X11, true)
|
||||
if test $dah != "no"; then
|
||||
AC_DEFINE(DOUBLE_BUFFER, 1, [Define if you want support for the DBE extension])
|
||||
AC_CHECK_LIB(Xext, XdbeQueryExtension, [AC_DEFINE([HAVE_XDBE], 1, [Xdbe]) LIBS="$LIBS -lXext"],
|
||||
[AC_MSG_ERROR([something went wrong when checking for Xdbe (double buffer extension)])])
|
||||
fi
|
||||
else
|
||||
AM_CONDITIONAL(BUILD_X11, false)
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_X11, test x$want_x11)
|
||||
|
||||
|
||||
|
||||
dnl
|
||||
dnl Xft
|
||||
|
Loading…
Reference in New Issue
Block a user