X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=62e4adf489dc4a49fe65a3dc046739a4d5358e2f;hb=0ab16276dcb0fb2dd9db10e57b2b0e72a1025f2c;hp=4c7fd07bddc36f9b8cffa3435282776f95fc1552;hpb=3934d283d4a033f356d5f9d4f20e601cee843db4;p=shibboleth%2Fxmltooling.git diff --git a/configure.ac b/configure.ac index 4c7fd07..62e4adf 100644 --- a/configure.ac +++ b/configure.ac @@ -335,6 +335,13 @@ int i = 0; [AC_DEFINE([XMLTOOLING_XMLSEC_ECC], [1], [Define to 1 if XML-Security-C includes ECC support.])], [AC_MSG_RESULT([no])]) + AC_MSG_CHECKING([whether XML-Security-C includes debug logging support]) + AC_TRY_COMPILE([#include ], + [XSECPlatformUtils::SetReferenceLoggingSink(NULL)], + [AC_MSG_RESULT([yes])] + [AC_DEFINE([XMLTOOLING_XMLSEC_DEBUGLOGGING], [1], [Define to 1 if XML-Security-C includes debug logging support.])], + [AC_MSG_RESULT([no])]) + # restore master libs LIBS="$save_LIBS"