Commit 0e08d237933111736fb9c2102f802e3c30139705

Ryan C. Gordon 2020-05-19T11:48:22

configure: Not all compilers understand -idirafter, use -I instead. If this is a problem, we can write a test for the compiler flag, but shouldn't we _always_ use our Khronos headers instead of depending on the system...?

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure.ac b/configure.ac
index 3cabdab..0fb7504 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,7 @@ case "$host" in
 esac
 
 dnl Set up the compiler and linker flags
-INCLUDE="-I$srcdir/include -idirafter $srcdir/src/video/khronos"
+INCLUDE="-I$srcdir/include -I$srcdir/src/video/khronos"
 if test x$srcdir != x.; then
     INCLUDE="-Iinclude $INCLUDE"
 elif test -d .hg; then