[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] [PATCH 07/15] build: replace INCLUDES by CPPFLAGS
From: |
Jan Engelhardt |
Subject: |
[Gluster-devel] [PATCH 07/15] build: replace INCLUDES by CPPFLAGS |
Date: |
Tue, 25 Sep 2012 18:41:05 +0200 |
automake warns: "INCLUDES" is the old name for "AM_CPPFLAGS"
(or "*_CPPFLAGS")
So abolish INCLUDES, and place the flags into GF_CPPFLAGS which then
needs to be mentioned for glusterd.
Signed-off-by: Jan Engelhardt <address@hidden>
---
configure.ac | 5 ++---
xlators/mgmt/glusterd/src/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1ba5d49..008a4ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,10 +561,9 @@ AC_SUBST(AM_LIBTOOLFLAGS)
CONTRIBDIR='$(top_srcdir)/contrib'
AC_SUBST(CONTRIBDIR)
-GF_CPPFLAGS='-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS)'
+GF_CPPFLAGS='-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \
+ -I$(top_srcdir)/libglusterfs/src -I$(CONTRIBDIR)/uuid'
AC_SUBST([GF_CPPFLAGS])
-INCLUDES='-I$(top_srcdir)/libglusterfs/src -I$(CONTRIBDIR)/uuid'
-AC_SUBST(INCLUDES)
AM_CONDITIONAL([GF_DARWIN_HOST_OS], test "${GF_HOST_OS}" = "GF_DARWIN_HOST_OS")
diff --git a/xlators/mgmt/glusterd/src/Makefile.am
b/xlators/mgmt/glusterd/src/Makefile.am
index 533da2a..c08b7d7 100644
--- a/xlators/mgmt/glusterd/src/Makefile.am
+++ b/xlators/mgmt/glusterd/src/Makefile.am
@@ -1,6 +1,6 @@
xlator_LTLIBRARIES = glusterd.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mgmt
-glusterd_la_CPPFLAGS =
"-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\""
+glusterd_la_CPPFLAGS = $(GF_CPPFLAGS)
"-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\""
glusterd_la_LDFLAGS = -module -avoidversion $(LIBXML2_LIBS) -lcrypto
glusterd_la_SOURCES = glusterd.c glusterd-handler.c glusterd-sm.c \
glusterd-op-sm.c glusterd-utils.c glusterd-rpc-ops.c \
--
1.7.10.4
- [Gluster-devel] Build system cleanups (v2), Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 05/15] init.d: implement reload action for SUSE init script, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 07/15] build: replace INCLUDES by CPPFLAGS,
Jan Engelhardt <=
- [Gluster-devel] [PATCH 01/15] build: add missing GF_CFLAGS in api/src/, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 03/15] build: more efficient clean, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 15/15] build: make use of system libuuid, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 12/15] build: move -L arguments out of CFLAGS, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 09/15] build: remove two no-op lines from rdma Makefile, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 08/15] build: fix a typo in the python xlator Makefile, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 04/15] init.d: use proper dependencies in SUSE init script, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 11/15] build: remove useless explicit -fPIC -shared from CFLAGS, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 14/15] build: libraries must be in LDADD/LIBADD, Jan Engelhardt, 2012/09/25
- [Gluster-devel] [PATCH 02/15] build: add missing backslash in api/src/, Jan Engelhardt, 2012/09/25