Mesa (master): tests: Add $(top_srcdir)/include to AM_CPPFLAGS.

Vinson Lee vlee at kemper.freedesktop.org
Wed Mar 13 06:15:02 UTC 2013


Module: Mesa
Branch: master
Commit: a6bb7a94957468453c436e3860ee2dd47575c461
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6bb7a94957468453c436e3860ee2dd47575c461

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Mar 12 22:32:47 2013 -0700

tests: Add $(top_srcdir)/include to AM_CPPFLAGS.

Fixes this build error with make check.

  CC     collision.o
In file included from ../../../../../src/mesa/main/hash_table.h:34:0,
                 from collision.c:31:
../../../../../src/mesa/main/compiler.h:51:53: fatal error: c99_compat.h: No such file or directory

Signed-off-by: Vinson Lee <vlee at freedesktop.org>

---

 src/mesa/main/tests/hash_table/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/tests/hash_table/Makefile.am b/src/mesa/main/tests/hash_table/Makefile.am
index 272c63a..f63841d 100644
--- a/src/mesa/main/tests/hash_table/Makefile.am
+++ b/src/mesa/main/tests/hash_table/Makefile.am
@@ -19,6 +19,7 @@
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 AM_CPPFLAGS = \
+	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/mesa/main \
 	$(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
 




More information about the mesa-commit mailing list