aboutsummaryrefslogtreecommitdiffstats
path: root/echld
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-19 08:20:35 +0000
committerJoão Valverde <j@v6e.pt>2016-02-21 07:51:55 +0000
commitf0fb79d534c4276d30838bb25fc624e3eabce83c (patch)
tree7996dc2491e63b2d7e8d737543976cc3a00ff644 /echld
parent8b46cbbceb51f86ccc2efb487cf66024b9174ab4 (diff)
autotools: Use pkg-config autoconf macros for GLib/GTK
Remove mostly obsolete aclocal macros. Make GTK build flags a strict superset of GLib flags. Use GTK build variables for GTK GUI and GLib elsewhere. Add dependency flags explicitly instead of using WS_CPPFLAGS. Some minor improvements and fixes for missing/unnecessary variables (no impact on our test builds). Change-Id: I3e1f067a875f79d6516c1fa7af986f17a7a6b671 Reviewed-on: https://code.wireshark.org/review/14005 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'echld')
-rw-r--r--echld/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/echld/Makefile.am b/echld/Makefile.am
index 8b0898808e..ce54a69b09 100644
--- a/echld/Makefile.am
+++ b/echld/Makefile.am
@@ -23,7 +23,8 @@ include $(top_srcdir)/Makefile.am.inc
ACLOCAL_AMFLAGS = `../aclocal-flags`
-AM_CPPFLAGS += -DWS_BUILD_DLL
+AM_CPPFLAGS = -DWS_BUILD_DLL $(INCLUDEDIRS) $(WS_CPPFLAGS) \
+ $(GLIB_CFLAGS)
# Optional objects that I know how to build. These will be
# linked into libechld.