summaryrefslogtreecommitdiffstats
path: root/test-tool
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-05-17 15:04:56 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-05-17 17:05:12 +0100
commit34acb80a28d1b48e734883a32f7f3344dc216ec0 (patch)
treeedb50a9af2c1fc2d590c38fe1a644a11068806ef /test-tool
parent8c0aca8d9280fb87027826fe89d70cc2701e7f8b (diff)
downloadlibguestfs-34acb80a28d1b48e734883a32f7f3344dc216ec0.tar.gz
libguestfs-34acb80a28d1b48e734883a32f7f3344dc216ec0.tar.xz
libguestfs-34acb80a28d1b48e734883a32f7f3344dc216ec0.zip
Enable deprecation warnings on all C programs.
Diffstat (limited to 'test-tool')
-rw-r--r--test-tool/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-tool/Makefile.am b/test-tool/Makefile.am
index 1ed08208..9fa40332 100644
--- a/test-tool/Makefile.am
+++ b/test-tool/Makefile.am
@@ -26,6 +26,7 @@ man_MANS = libguestfs-test-tool.1
libguestfs_test_tool_SOURCES = test-tool.c
libguestfs_test_tool_CFLAGS = \
+ -DGUESTFS_WARN_DEPRECATED=1 \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(WARN_CFLAGS) $(WERROR_CFLAGS)