configure.ac: drop HAVE_X11 conditional

trying to build an Xserver driver w/o having X11 installed
doesn't make much sense at all.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-12 14:15:53 +01:00
parent 9e5ef5d1a6
commit e6c6421c2f
2 changed files with 3 additions and 8 deletions

View File

@@ -26,14 +26,10 @@ DISTCHECK_CONFIGURE_FLAGS = --with-xorg-module-dir='$${libdir}/xorg/modules'
#ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = man libobj xvmc src tools
SUBDIRS = man libobj xvmc src tools test benchmarks
MAINTAINERCLEANFILES = ChangeLog INSTALL
if HAVE_X11
SUBDIRS += test benchmarks
endif
.PHONY: ChangeLog INSTALL
INSTALL:

View File

@@ -182,9 +182,8 @@ if test "x$UDEV" != "xno"; then
fi
fi
PKG_CHECK_MODULES(X11, [x11 x11-xcb xcb-dri2 xcomposite xdamage xrender xrandr xext xfixes cairo cairo-xlib-xrender pixman-1 libpng], [x11="yes"], [x11="no"])
AM_CONDITIONAL(HAVE_X11, test "x$x11" = "xyes")
echo X11_CLFAGS="$X11_CLFAGS" X11_LIBS="$X11_LIBS"
PKG_CHECK_MODULES(X11,
[x11 x11-xcb xcb-dri2 xcomposite xdamage xrender xrandr xext xfixes cairo cairo-xlib-xrender pixman-1 libpng])
cpuid="yes"
AC_TRY_LINK([