aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2009-04-18 00:24:42 +0800
committerLaurent Bigonville <bigon@bigon.be>2009-04-18 00:24:42 +0800
commite71bed8e3b0016f489ea420114cbe89dabf77896 (patch)
tree23337e639a5682102ef639a7e5f21ee4d29e9be3 /python
parent7c1c77662edf9ef232bb7648fa6c516d31de3648 (diff)
downloadgsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar.gz
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar.bz2
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar.lz
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar.xz
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.tar.zst
gsoc2013-empathy-e71bed8e3b0016f489ea420114cbe89dabf77896.zip
Use autotools magic to take care of disabling deprecated symbols
Passing --enable-maintainer-mode to the configure will disable deprecated symbols
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/Makefile.am3
-rw-r--r--python/pyempathygtk/Makefile.am3
2 files changed, 4 insertions, 2 deletions
diff --git a/python/pyempathy/Makefile.am b/python/pyempathy/Makefile.am
index fa973bf03..8ec61ff8e 100644
--- a/python/pyempathy/Makefile.am
+++ b/python/pyempathy/Makefile.am
@@ -8,7 +8,8 @@ AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
$(PYTHON_INCLUDES) \
- $(WARN_CFLAGS)
+ $(WARN_CFLAGS) \
+ $(DISABLE_DEPRECATED)
BUILT_SOURCES = \
pyempathy.c
diff --git a/python/pyempathygtk/Makefile.am b/python/pyempathygtk/Makefile.am
index ba0ee11df..84204e764 100644
--- a/python/pyempathygtk/Makefile.am
+++ b/python/pyempathygtk/Makefile.am
@@ -7,7 +7,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-DDATADIR=\""$(datadir)"\" \
$(PYTHON_BINDING_CFLAGS) \
- $(PYTHON_INCLUDES)
+ $(PYTHON_INCLUDES) \
+ $(DISABLE_DEPRECATED)
BUILT_SOURCES = \
pyempathygtk.c