egl/main: remove undefined X11_LIBS automake variable
authorGaetan Nadon <memsize@videotron.ca>
Sat, 28 Sep 2013 18:45:47 +0000 (14:45 -0400)
committerGaetan Nadon <memsize@videotron.ca>
Wed, 9 Oct 2013 14:36:01 +0000 (10:36 -0400)
commite6fb7441415ba641dd712f561a322fd85c662cb3
tree6d164fcecaa299e3cc3bbdec66e0a93ddb3dbd38
parentbc93c3798a8b43682e6ba3a785cc01c977025e15
egl/main: remove undefined X11_LIBS automake variable

The EGL library has some references to x11 but it gets the link flags
from the XCB_DRI2_LIBS if and only if HAVE_EGL_PLATFORM_X11 is true.

The X11_LIBS variable was probably coming from a PKG_CHECK_MODULES (x11)
earlier in history.

If it is possible to have HAVE_EGL_DRIVER_GLX without HAVE_EGL_PLATFORM_X11
then the link flags for libX11 should be passed. However, it won't come
from X11_LIBS which is undefined.

Reported-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
src/egl/main/Makefile.am