From ed6a7b384d5b6d7823b1d74f4fb918ccea955ce5 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 21 Nov 2021 09:52:22 -0800 Subject: [PATCH] teach the Autotools build system that GTK headers are not part of Graphviz MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is the equivalent of fb5e2bf574739cc8225683aacfc6833d586a9e77, but for Smyrna’s use of GTK. It squashes 27 warnings. --- cmd/smyrna/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/smyrna/Makefile.am b/cmd/smyrna/Makefile.am index e8cde249d..c8a0cf8ce 100644 --- a/cmd/smyrna/Makefile.am +++ b/cmd/smyrna/Makefile.am @@ -13,7 +13,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/common \ -I$(top_srcdir)/lib/pathplan \ -I$(top_srcdir)/cmd/smyrna/gui \ - $(GTK_CFLAGS) $(GLUT_CFLAGS) $(GTKGLEXT_CFLAGS) $(GLADE_CFLAGS) $(FREETYPE2_CFLAGS) $(FONTCONFIG_CFLAGS) $(GTS_CFLAGS) $(XRENDER_CFLAGS) + $(patsubst -I%,-isystem%,$(GTK_CFLAGS)) \ + $(GLUT_CFLAGS) $(GTKGLEXT_CFLAGS) $(GLADE_CFLAGS) $(FREETYPE2_CFLAGS) $(FONTCONFIG_CFLAGS) $(GTS_CFLAGS) $(XRENDER_CFLAGS) bin_PROGRAMS = man_MANS = -- 2.40.0