aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal-fallback/glib-2.0.m4
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-11-18 16:31:31 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-21 13:50:54 +0000
commit67d9daa65b9d555ced9fb1a9df90b1f8f1a4a257 (patch)
treefd996d97c128dc0d474cfd4d98e7833ddb7099bc /aclocal-fallback/glib-2.0.m4
parentf711fbfae45d737142f30bdb1777d8c621d163de (diff)
autotools: Fix extra-compiler-warnings for system headers
Use -isystem instead of -I for external headers with GCC/clang to squash all the noise. cmake already uses -isystem by default for supported platforms/compilers. Change-Id: Ia6c9d1eb9b894fda6f48c531094d792e16fd39fc Reviewed-on: https://code.wireshark.org/review/11947 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'aclocal-fallback/glib-2.0.m4')
-rw-r--r--aclocal-fallback/glib-2.0.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal-fallback/glib-2.0.m4 b/aclocal-fallback/glib-2.0.m4
index f6b58396b1..6d37a33a1b 100644
--- a/aclocal-fallback/glib-2.0.m4
+++ b/aclocal-fallback/glib-2.0.m4
@@ -67,6 +67,7 @@ AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
+ AC_WIRESHARK_GCC_SYSTEM_INCLUDE(GLIB_CFLAGS)
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`