[network-manager-iodine/lr/multiple-vpn: 15/17] all: remove useless defines
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-iodine/lr/multiple-vpn: 15/17] all: remove useless defines
- Date: Wed, 27 Jan 2016 17:41:34 +0000 (UTC)
commit 40041a57ecf120b5baba9601c800fef26a5cdeca
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Fri Oct 23 16:07: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.
properties/Makefile.am | 6 +-----
src/Makefile.am | 1 -
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/properties/Makefile.am b/properties/Makefile.am
index 6edc5bc..f882c3e 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -19,11 +19,7 @@ common_CFLAGS = \
-I$(top_srcdir)/src \
-DICONDIR=\""$(datadir)/pixmaps"\" \
-DUIDIR=\""$(uidir)"\" \
- -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED \
- -DGNOME_DISABLE_DEPRECATED \
- -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
- -DVERSION=\"$(VERSION)\"
+ -DGNOMELOCALEDIR=\"$(datadir)/locale\"
libnm_vpn_plugin_iodine_la_CFLAGS = \
$(LIBNM_CFLAGS) \
diff --git a/src/Makefile.am b/src/Makefile.am
index d412962..93ada5a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,6 @@ AM_CPPFLAGS = \
-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]