From 69ebb03efc30cddc9d20051a22b6f09ee2571922 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 15 Sep 2017 01:11:44 -0400 Subject: configure.ac: s/ -I/ -isystem/g in libraries' CFLAGS This suppresses warnings in libraries' headers. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d724a03..c622e95 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,10 @@ m4_foreach_w([WARN], PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES([GTK], [gtk+-3.0]) PKG_CHECK_MODULES([WEBKIT2GTK], [webkit2gtk-4.0]) +GTK_CFLAGS="$(printf ' %s' "${GTK_CFLAGS}" | \ + sed 's/ -I/ -isystem/g;')" +WEBKIT2GTK_CFLAGS="$(printf ' %s' "${WEBKIT2GTK_CFLAGS}" | \ + sed 's/ -I/ -isystem/g;')" AC_CONFIG_FILES([Makefile]) AC_CONFIG_HEADERS([config.h]) -- cgit v0.9.1