mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
configure: -idirafter needs a space, -I doesn't.
Some compilers are apparently quite cranky about the -I not having a space!
This commit is contained in:
parent
475afe2162
commit
72fdc80512
4
configure
vendored
4
configure
vendored
@ -16022,7 +16022,7 @@ _ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
have_idirafter="yes"
|
||||
idirafter="-idirafter"
|
||||
idirafter="-idirafter "
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
@ -16030,7 +16030,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
$as_echo "$have_idirafter" >&6; }
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
INCLUDE="-I$srcdir/include $idirafter $srcdir/src/video/khronos"
|
||||
INCLUDE="-I$srcdir/include $idirafter$srcdir/src/video/khronos"
|
||||
if test x$srcdir != x.; then
|
||||
INCLUDE="-Iinclude $INCLUDE"
|
||||
elif test -d .hg; then
|
||||
|
@ -79,13 +79,13 @@ AC_TRY_COMPILE([
|
||||
],[
|
||||
],[
|
||||
have_idirafter="yes"
|
||||
idirafter="-idirafter"
|
||||
idirafter="-idirafter "
|
||||
])
|
||||
AC_MSG_RESULT($have_idirafter)
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
dnl Set up the compiler and linker flags
|
||||
INCLUDE="-I$srcdir/include $idirafter $srcdir/src/video/khronos"
|
||||
INCLUDE="-I$srcdir/include $idirafter$srcdir/src/video/khronos"
|
||||
if test x$srcdir != x.; then
|
||||
INCLUDE="-Iinclude $INCLUDE"
|
||||
elif test -d .hg; then
|
||||
|
Loading…
Reference in New Issue
Block a user