swrast: add correct include for out-of-tree builds
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 14 Oct 2013 16:14:41 +0000 (17:14 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Tue, 15 Oct 2013 19:50:09 +0000 (21:50 +0200)
The xmlpool/options.h file was not accessible when building
out-of-tree leading to failure.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70378
Reported-by: Fabio Pedretti <fabio.ped@libero.it>
Tested-by: Fabio Pedretti <fabio.ped@libero.it>
Tested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
src/gallium/targets/dri-swrast/Makefile.am
src/mesa/drivers/dri/swrast/Makefile.am

index 5d2f146386854cafaf6a8bca4ff6aa23c9d654bc..6b629df307d53b36464768744f58baf2aed6c081 100644 (file)
@@ -33,6 +33,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gallium/winsys \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_builddir)/src/mesa/drivers/dri/common \
        -DGALLIUM_RBUG \
        -DGALLIUM_TRACE \
        -DGALLIUM_SOFTPIPE \
index 9652583f2ca49cfa1b50c5be090a4c3e371e638e..c51ad2d874b218ffa8e9e90fc43589819f60a275 100644 (file)
@@ -30,6 +30,7 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
+       -I$(top_builddir)/src/mesa/drivers/dri/common \
        $(DEFINES) \
        $(VISIBILITY_CFLAGS)