diff options
author | Thomas Haller <thaller@redhat.com> | 2016-04-05 21:18:43 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-04-05 22:22:58 +0200 |
commit | 9152dec99f479d82400f464ab47d45b8cbd8e0eb (patch) | |
tree | b5d135bd5302fbb2757c3b0bf1052a7156b8115c /docs/libnm/Makefile.am | |
parent | 29cfb144a8cdfce697c63175b1bfa36e0d95a6ad (diff) | |
download | NetworkManager-9152dec99f479d82400f464ab47d45b8cbd8e0eb.tar.gz |
build: disable deprecation checks for internal compilation
For internal compilation we want to be able to use deprecated
API without warnings.
Define the version min/max macros to effectively disable deprecation
warnings.
However, don't do it via CFLAGS option in the makefiles, instead hack it
to "nm-default.h". After all, *every* source file that is for internal
compilation needs to include this header as first.
Diffstat (limited to 'docs/libnm/Makefile.am')
-rw-r--r-- | docs/libnm/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am index 8efea77c20..1317523283 100644 --- a/docs/libnm/Makefile.am +++ b/docs/libnm/Makefile.am @@ -77,6 +77,7 @@ GTKDOC_CFLAGS = \ -I$(top_srcdir)/libnm \ -I$(top_builddir)/libnm \ -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \ + -DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \ $(GLIB_CFLAGS) GTKDOC_LIBS = \ |