BIND 10 master, updated. 9a75a9c73b0bb361f1952e92eb4b5a62694be4d6 [master] remove log4cxx in configure.ac and Makefiles.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 24 15:53:58 UTC 2011
The branch, master has been updated
via 9a75a9c73b0bb361f1952e92eb4b5a62694be4d6 (commit)
from 6fb5dd6bf0e9fcb0d00eb3f659b5b9c45340bb37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9a75a9c73b0bb361f1952e92eb4b5a62694be4d6
Author: Jeremy C. Reed <jreed at ISC.org>
Date: Thu Feb 24 09:32:42 2011 -0600
[master] remove log4cxx in configure.ac and Makefiles.
It is not used currently.
Discussed in jabber.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 53 ------------------------------------
src/lib/asiolink/tests/Makefile.am | 2 +-
src/lib/log/Makefile.am | 1 -
3 files changed, 1 insertions(+), 55 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index b02143b..65c90fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -368,57 +368,6 @@ if test "$lcov" != "no"; then
fi
AC_SUBST(USE_LCOV)
-# Configure log4cxx header and library path
-#
-# If explicitly specified, use it.
-
-AC_ARG_WITH([log4cxx],
- AC_HELP_STRING([--with-log4cxx=PATH],
- [specify directory where log4cxx is installed]),
- [
- log4cxx_include_path="${withval}/include";
- log4cxx_library_path="${withval}/lib"
- ])
-
-# This is an urgent fix to avoid regression due to log4cxx on some
-# platforms. It should be cleaned up with a better fix.
-if test "X$with_log4cxx" != "Xno"; then
-
-# If not specified, try some common paths. These default to
-# /usr/include and /usr/lib if not found
-
-if test -z "$with_log4cxx"; then
- log4cxxdirs="/usr/local /usr/pkg /opt /opt/local"
- for d in $log4cxxdirs
- do
- if test -d $d/include/log4cxx; then
- log4cxx_include_path=$d/include
- log4cxx_library_path=$d/lib
- break
- fi
- done
-fi
-
-CPPFLAGS_SAVES="$CPPFLAGS"
-if test "${log4cxx_include_path}" ; then
- LOG4CXX_INCLUDES="-I${log4cxx_include_path}"
- CPPFLAGS="$CPPFLAGS $LOG4CXX_INCLUDES"
-fi
-AC_CHECK_HEADER([log4cxx/logger.h],, AC_MSG_ERROR([Missing log4cxx header files.]))
-CPPFLAGS="$CPPFLAGS_SAVES"
-AC_SUBST(LOG4CXX_INCLUDES)
-
-LOG4CXX_LDFLAGS="-llog4cxx";
-if test "${log4cxx_library_path}"; then
- LOG4CXX_LDFLAGS="-L${log4cxx_library_path} -llog4cxx"
-fi
-AC_SUBST(LOG4CXX_LDFLAGS)
-
-# The following two lines are part of the urgent fix, and should be cleaned
-# up with a better fix.
-fi
-AM_CONDITIONAL(USE_LOG4CXX, test "X${with_log4cxx}" != "Xno")
-
#
# Configure Boost header path
#
@@ -833,8 +782,6 @@ dnl includes too
${PYTHON_LDFLAGS}
${PYTHON_LIB}
Boost: ${BOOST_INCLUDES}
- log4cxx: ${LOG4CXX_INCLUDES}
- ${LOG4CXX_LDFLAGS}
SQLite: $SQLITE_CFLAGS
$SQLITE_LIBS
diff --git a/src/lib/asiolink/tests/Makefile.am b/src/lib/asiolink/tests/Makefile.am
index d475278..b4f0a87 100644
--- a/src/lib/asiolink/tests/Makefile.am
+++ b/src/lib/asiolink/tests/Makefile.am
@@ -39,7 +39,7 @@ run_unittests_LDADD += $(top_builddir)/src/lib/log/liblog.la
run_unittests_LDADD += $(top_builddir)/src/lib/cache/libcache.la
run_unittests_LDADD += $(top_builddir)/src/lib/nsas/libnsas.la
-run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) $(LOG4CXX_LDFLAGS)
+run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
# B10_CXXFLAGS)
diff --git a/src/lib/log/Makefile.am b/src/lib/log/Makefile.am
index 416fd06..5bcafa8 100644
--- a/src/lib/log/Makefile.am
+++ b/src/lib/log/Makefile.am
@@ -2,7 +2,6 @@ SUBDIRS = . compiler tests
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES)
-# AM_CPPFLAGS += $(LOG4CXX_INCLUDES)
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/log -I$(top_builddir)/src/lib/log
CLEANFILES = *.gcno *.gcda
More information about the bind10-changes
mailing list