configure: Add xfixes to X11 pkg check
Add xfixes to the list of PKG_CHECK_MODULES for X11. '-lXfixes' was hardcoded in test/Makefile.am before. This could lead to a broken build in very rare cases where the build environment has all specified X libraries but Xfixes. Signed-off-by: Daniel Martin <consume.noise@gmail.com>
This commit is contained in:
parent
79f8ff4bbb
commit
700a845cc6
|
|
@ -163,7 +163,7 @@ if test "x$UDEV" != "xno"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES(X11, [x11 xrender xrandr xext pixman-1], [x11="yes"], [x11="no"])
|
||||
PKG_CHECK_MODULES(X11, [x11 xrender xrandr xext xfixes pixman-1], [x11="yes"], [x11="no"])
|
||||
AM_CONDITIONAL(HAVE_X11, test "x$x11" = "xyes")
|
||||
|
||||
PKG_CHECK_MODULES(TOOL, [xinerama xrandr xdamage xfixes xcursor xtst xrender xext x11 pixman-1], [tools="yes"], [tools="no"])
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ check_PROGRAMS = $(stress_TESTS)
|
|||
noinst_PROGRAMS = lowlevel-blt-bench
|
||||
|
||||
AM_CFLAGS = @CWARNFLAGS@ @X11_CFLAGS@ @DRM_CFLAGS@
|
||||
LDADD = libtest.la @X11_LIBS@ -lXfixes @DRM_LIBS@ @CLOCK_GETTIME_LIBS@
|
||||
LDADD = libtest.la @X11_LIBS@ @DRM_LIBS@ @CLOCK_GETTIME_LIBS@
|
||||
|
||||
noinst_LTLIBRARIES = libtest.la
|
||||
libtest_la_SOURCES = \
|
||||
|
|
|
|||
Loading…
Reference in New Issue