diff -up libxml++-2.33.2/aclocal.m4.mm libxml++-2.33.2/aclocal.m4
--- libxml++-2.33.2/aclocal.m4.mm 2011-06-10 19:45:35.365462680 +0200
+++ libxml++-2.33.2/aclocal.m4 2011-06-10 19:49:25.640462724 +0200
@@ -1117,6 +1117,15 @@ dnl
AC_MSG_CHECKING([location of documentation utilities])
AS_IF([test "x$MMDOCTOOLDIR" = x],
[
+ MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir mm-common-util 2>&AS_MESSAGE_LOG_FD`
+ AS_IF([test "[$]?" -ne 0],
+ [AC_MSG_ERROR([[not found
+The required module mm-common-util could not be found on this system.
+Trying to figure out if glibmm-2.4 provides doctooldir.
+]])])
+])
+AS_IF([test "x$MMDOCTOOLDIR" = x],
+[
MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir glibmm-2.4 2>&AS_MESSAGE_LOG_FD`
AS_IF([test "[$]?" -ne 0],
[AC_MSG_ERROR([[not found
diff -up libxml++-2.33.2/configure.mm libxml++-2.33.2/configure
--- libxml++-2.33.2/configure.mm 2011-06-10 20:07:37.980462940 +0200
+++ libxml++-2.33.2/configure 2011-06-10 20:29:05.669463005 +0200
@@ -15001,6 +15001,17 @@ $as_echo "#define LIBXMLCPP_EXCEPTIONS_E
$as_echo_n "checking location of documentation utilities... " >&6; }
if test "x$MMDOCTOOLDIR" = x; then :
+ MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir mm-common-util 2>&5`
+ if test "$?" -ne 0; then :
+ as_fn_error $? "not found
+ The required module mm-common-util could not be found on this system.
+ Trying to figure out if glibmm-2.4 provides doctooldir.
+" "$LINENO" 5
+fi
+fi
+
+if test "x$MMDOCTOOLDIR" = x; then :
+
MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir glibmm-2.4 2>&5`
if test "$?" -ne 0; then :
as_fn_error $? "not found