[network-manager-openswan] all: remove useless defines



commit 8a39c0f40b76f6b6a0ccd52442395a417ea8cc5f
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Oct 23 16:54:43 2015 +0200

    all: remove useless defines
    
    VERSION is defined in config.h, we shouldn't define or redefine it.
    
    There's no point in G_*_DEPRECATED by default other that it may break the build
    in future.

 auth-dialog/Makefile.am |    4 +---
 properties/Makefile.am  |    5 +----
 src/Makefile.am         |    2 --
 3 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/auth-dialog/Makefile.am b/auth-dialog/Makefile.am
index b5d3563..4d7bdeb 100644
--- a/auth-dialog/Makefile.am
+++ b/auth-dialog/Makefile.am
@@ -6,9 +6,7 @@ AM_CPPFLAGS = \
        $(LIBSECRET_CFLAGS) \
        -DICONDIR=\""$(datadir)/pixmaps"\" \
        -DBINDIR=\""$(bindir)"\" \
-       -DG_DISABLE_DEPRECATED \
-       -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-       -DVERSION=\"$(VERSION)\"
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\"
 
 libexec_PROGRAMS = nm-openswan-auth-dialog
 
diff --git a/properties/Makefile.am b/properties/Makefile.am
index b2c45a9..631e37e 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -10,10 +10,7 @@ common_CFLAGS = \
        -I$(top_srcdir)/src \
        -DICONDIR=\""$(datadir)/pixmaps"\" \
        -DUIDIR=\""$(uidir)"\" \
-       -DG_DISABLE_DEPRECATED \
-       -DGDK_DISABLE_DEPRECATED \
-       -DLOCALEDIR=\"$(datadir)/locale\" \
-       -DVERSION=\"$(VERSION)\"
+       -DLOCALEDIR=\"$(datadir)/locale\"
 
 libnm_vpn_plugin_openswan_la_CFLAGS = \
        $(common_CFLAGS) \
diff --git a/src/Makefile.am b/src/Makefile.am
index 6e0218a..bb41a43 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,11 +2,9 @@ AM_CPPFLAGS = \
        $(GLIB_CFLAGS) \
        $(LIBNM_CFLAGS) \
        $(LIBNL_CFLAGS) \
-       -DG_DISABLE_DEPRECATED \
        -DBINDIR=\"$(bindir)\" \
        -DPREFIX=\""$(prefix)"\" \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DVERSION="\"$(VERSION)\"" \
        -DLIBDIR=\""$(libdir)"\" \
        -DLIBEXECDIR=\""$(libexecdir)"\" \
        -DLOCALSTATEDIR=\""$(localstatedir)"\" \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]