summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-23 13:59:22 +0200
committerraveit65 <[email protected]>2016-06-24 13:45:05 +0200
commitba8d0f79a864b445ea0374a7dc5f9d9af7687859 (patch)
treee5ff9d1173d3c74c24e1a1a2a8fd9677fc8034e9
parent9edc6719f9b98ccc19cc78521af5f53cdc05d3cb (diff)
downloadatril-ba8d0f79a864b445ea0374a7dc5f9d9af7687859.tar.bz2
atril-ba8d0f79a864b445ea0374a7dc5f9d9af7687859.tar.xz
synctex: Fix -Wundef warning
taken from: https://git.gnome.org/browse/evince/commit/?id=0708338
-rw-r--r--cut-n-paste/synctex/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/cut-n-paste/synctex/Makefile.am b/cut-n-paste/synctex/Makefile.am
index 881ef4ab..5d7b24c2 100644
--- a/cut-n-paste/synctex/Makefile.am
+++ b/cut-n-paste/synctex/Makefile.am
@@ -6,8 +6,13 @@ libsynctex_la_SOURCES = \
synctex_parser_utils.h \
synctex_parser_utils.c
+libsynctex_la_CPPFLAGS = \
+ -DSYNCTEX_VERBOSE=0 \
+ $(AM_CPPFLAGS)
+
libsynctex_la_CFLAGS = \
$(SHELL_CORE_CFLAGS) \
+ $(AM_CFLAGS) \
$(WARNING_CFLAGS) \
$(DISABLE_DEPRECATED)