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



commit a2e7ffab006d182f80a345f75d6521eb333c218a
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Oct 23 17:14:53 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  |    4 +---
 src/Makefile.am         |    2 --
 3 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/auth-dialog/Makefile.am b/auth-dialog/Makefile.am
index cc6b817..4508752 100644
--- a/auth-dialog/Makefile.am
+++ b/auth-dialog/Makefile.am
@@ -9,9 +9,7 @@ nm_pptp_auth_dialog_CPPFLAGS =                  \
        -I${top_srcdir}                         \
        -DICONDIR=\""$(datadir)/pixmaps"\"      \
        -DUIDIR=\""$(uidir)"\"                  \
-       -DBINDIR=\""$(bindir)"\"                \
-       -DG_DISABLE_DEPRECATED                  \
-       -DVERSION=\"$(VERSION)\"
+       -DBINDIR=\""$(bindir)"\"
 
 nm_pptp_auth_dialog_SOURCES = \
        main.c
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 5492557..ae8e3ad 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -26,9 +26,7 @@ common_CFLAGS =                                         \
         -I$(top_srcdir)/src                             \
         -DICONDIR=\""$(datadir)/pixmaps"\"              \
         -DUIDIR=\""$(uidir)"\"                          \
-        -DLOCALEDIR=\""$(datadir)/locale"\"             \
-        -DG_DISABLE_DEPRECATED                          \
-        -DVERSION=\"$(VERSION)\"
+        -DLOCALEDIR=\""$(datadir)/locale"\"
 
 libnm_vpn_plugin_pptp_la_CFLAGS =                       \
         $(common_CFLAGS)                                \
diff --git a/src/Makefile.am b/src/Makefile.am
index a1aa870..22f0c56 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,11 +2,9 @@ AM_CPPFLAGS =                                                  \
        $(GLIB_CFLAGS)                                          \
        $(LIBNM_CFLAGS)                                         \
        -I${top_srcdir}                                         \
-       -DG_DISABLE_DEPRECATED                                  \
        -DBINDIR=\"$(bindir)\"                                  \
        -DPREFIX=\""$(prefix)"\"                                \
        -DSYSCONFDIR=\""$(sysconfdir)"\"                        \
-       -DNM_VERSION="\"$(VERSION)\""                           \
        -DLIBDIR=\""$(libdir)"\"                                \
        -DLIBEXECDIR=\""$(libexecdir)"\"                        \
        -DLOCALSTATEDIR=\""$(localstatedir)"\"                  \


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