summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2773d19..e43c092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,10 +109,20 @@ done
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([SDL], [sdl2])
+SDL_CFLAGS="$(printf ' %s' "${SDL_CFLAGS}" | \
+ sed 's/ -I/ -isystem/g;')"
PKG_CHECK_MODULES([SDL_IMAGE], [SDL2_image])
+SDL_IMAGE_CFLAGS="$(printf ' %s' "${SDL_IMAGE_CFLAGS}" | \
+ sed 's/ -I/ -isystem/g;')"
PKG_CHECK_MODULES([SDL_TTF], [SDL2_ttf])
+SDL_TTF_CFLAGS="$(printf ' %s' "${SDL_TTF_CFLAGS}" | \
+ sed 's/ -I/ -isystem/g;')"
PKG_CHECK_MODULES([ZLIB], [zlib])
+ZLIB_CFLAGS="$(printf ' %s' "${ZLIB_CFLAGS}" | \
+ sed 's/ -I/ -isystem/g;')"
PKG_CHECK_MODULES([EXPAT], [expat])
+EXPAT_CFLAGS="$(printf ' %s' "${EXPAT_CFLAGS}" | \
+ sed 's/ -I/ -isystem/g;')"
AC_ARG_VAR([XCF2PNG], [path to xcf2png utility])
AC_CHECK_PROGS([XCF2PNG], [xcf2png], [no])