pipe-loader: introduce pipe_loader_sw_probe_xlib helper
[mesa.git] / src / gallium / auxiliary / pipe-loader / Makefile.am
index ccdbea56d7a7abc39b147cd928aff0c106b823b6..232fe40f12e1f44b0bf5172ce7e63a8b956f25da 100644 (file)
@@ -8,6 +8,10 @@ AM_CPPFLAGS = $(DEFINES) \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/winsys
 
+if NEED_WINSYS_XLIB
+AM_CPPFLAGS += -DHAVE_WINSYS_XLIB
+endif
+
 noinst_LTLIBRARIES =
 
 if HAVE_LOADER_GALLIUM