configure: -idirafter needs a space, -I doesn't.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 19 May 2020 12:30:26 -0400
changeset 138339e4cca5c8e62
parent 13832 b65783853022
child 13834 bb68bb2d5ccb
configure: -idirafter needs a space, -I doesn't.

Some compilers are apparently quite cranky about the -I not having a space!
configure
configure.ac
     1.1 --- a/configure	Tue May 19 12:08:05 2020 -0400
     1.2 +++ b/configure	Tue May 19 12:30:26 2020 -0400
     1.3 @@ -16022,7 +16022,7 @@
     1.4  if ac_fn_c_try_compile "$LINENO"; then :
     1.5  
     1.6  have_idirafter="yes"
     1.7 -idirafter="-idirafter"
     1.8 +idirafter="-idirafter "
     1.9  
    1.10  fi
    1.11  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1.12 @@ -16030,7 +16030,7 @@
    1.13  $as_echo "$have_idirafter" >&6; }
    1.14  CFLAGS="$save_CFLAGS"
    1.15  
    1.16 -INCLUDE="-I$srcdir/include $idirafter $srcdir/src/video/khronos"
    1.17 +INCLUDE="-I$srcdir/include $idirafter$srcdir/src/video/khronos"
    1.18  if test x$srcdir != x.; then
    1.19      INCLUDE="-Iinclude $INCLUDE"
    1.20  elif test -d .hg; then
     2.1 --- a/configure.ac	Tue May 19 12:08:05 2020 -0400
     2.2 +++ b/configure.ac	Tue May 19 12:30:26 2020 -0400
     2.3 @@ -79,13 +79,13 @@
     2.4  ],[
     2.5  ],[
     2.6  have_idirafter="yes"
     2.7 -idirafter="-idirafter"
     2.8 +idirafter="-idirafter "
     2.9  ])
    2.10  AC_MSG_RESULT($have_idirafter)
    2.11  CFLAGS="$save_CFLAGS"
    2.12  
    2.13  dnl Set up the compiler and linker flags
    2.14 -INCLUDE="-I$srcdir/include $idirafter $srcdir/src/video/khronos"
    2.15 +INCLUDE="-I$srcdir/include $idirafter$srcdir/src/video/khronos"
    2.16  if test x$srcdir != x.; then
    2.17      INCLUDE="-Iinclude $INCLUDE"
    2.18  elif test -d .hg; then