INN commit: trunk (m4/berkeleydb.m4 storage/Makefile)

INN Commit rra at isc.org
Sun Jul 31 13:22:47 UTC 2011


    Date: Sunday, July 31, 2011 @ 06:22:47
  Author: iulius
Revision: 9296

fix Makefile inclusion variable for Berkeley DB

Use the right DB_CPPFLAGS variable instead of BERKELEY_DB_CFLAGS.

Modified:
  trunk/m4/berkeleydb.m4
  trunk/storage/Makefile

------------------+
 m4/berkeleydb.m4 |    2 +-
 storage/Makefile |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: m4/berkeleydb.m4
===================================================================
--- m4/berkeleydb.m4	2011-07-31 09:50:15 UTC (rev 9295)
+++ m4/berkeleydb.m4	2011-07-31 13:22:47 UTC (rev 9296)
@@ -4,7 +4,7 @@
 dnl This file provides INN_LIB_BERKELEYDB, which defines the --with-berkeleydb
 dnl command-line option and probes for the location of Berkeley DB if that
 dnl option is used without an optional path.  It looks for Berkeley DB in $prefix,
-dnl /usr/local and /usr.  It then exports DB_LDFLAGS, DB_CFLAGS, and DB_LIBS.
+dnl /usr/local and /usr.  It then exports DB_LDFLAGS, DB_CPPFLAGS, and DB_LIBS.
 
 AC_DEFUN([INN_LIB_BERKELEYDB],
 [DB_CPPFLAGS=

Modified: storage/Makefile
===================================================================
--- storage/Makefile	2011-07-31 09:50:15 UTC (rev 9295)
+++ storage/Makefile	2011-07-31 13:22:47 UTC (rev 9296)
@@ -3,7 +3,7 @@
 include ../Makefile.global
 
 top	      = ..
-CFLAGS	      = $(GCFLAGS) -I. $(BERKELEY_DB_CFLAGS)
+CFLAGS	      = $(GCFLAGS) -I. $(DB_CPPFLAGS)
 
 SOURCES	      = expire.c interface.c methods.c ov.c overdata.c overview.c \
 		ovmethods.c $(METHOD_SOURCES)
@@ -68,7 +68,7 @@
 	$(FIXSCRIPT) -i buildconfig.in
 
 .c.o .c.lo:
-	$(LIBCC) $(CFLAGS) $(DB_CPPFLAGS) $(CCOUTPUT)
+	$(LIBCC) $(CFLAGS) $(CCOUTPUT)
 
 ovtest:	ov.c libstorage.$(EXTLIB) $(LIBINN)
 	$(CC) $(CFLAGS) -D_TEST_ -o ovtest ov.c \




More information about the inn-committers mailing list