From 72fdc8051204aadbd443a138eb7b1e9ba277286a Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 19 May 2020 12:30:26 -0400 Subject: [PATCH] configure: -idirafter needs a space, -I doesn't. Some compilers are apparently quite cranky about the -I not having a space! --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index e421c2f7e..9a74c1e49 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 2c312fae5..1e1cec32d 100644 --- a/configure.ac +++ b/configure.ac @@ -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