configure: Not all compilers understand -idirafter, use -I instead.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 19 May 2020 11:48:22 -0400
changeset 1383063e3318077dd
parent 13829 d735f145ecef
child 13831 0522c30c1990
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...?
configure.ac
     1.1 --- a/configure.ac	Tue May 19 11:38:18 2020 -0400
     1.2 +++ b/configure.ac	Tue May 19 11:48:22 2020 -0400
     1.3 @@ -70,7 +70,7 @@
     1.4  esac
     1.5  
     1.6  dnl Set up the compiler and linker flags
     1.7 -INCLUDE="-I$srcdir/include -idirafter $srcdir/src/video/khronos"
     1.8 +INCLUDE="-I$srcdir/include -I$srcdir/src/video/khronos"
     1.9  if test x$srcdir != x.; then
    1.10      INCLUDE="-Iinclude $INCLUDE"
    1.11  elif test -d .hg; then