AC_PREREQ([2.50])
AC_INIT([opensaml], [2.0], [mace-opensaml-users@internet2.edu], [saml])
AM_CONFIG_HEADER(config.h)
-AM_CONFIG_HEADER(saml/config_pub.h)
+#AM_CONFIG_HEADER(saml/config_pub.h)
AM_INIT_AUTOMAKE([opensaml], [2.0])
sinclude(doxygen.m4)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN(opensaml, doxygen.cfg, doc/api)
+DX_INCLUDE=
AC_ARG_ENABLE(debug,
AC_HELP_STRING(--enable-debug, [Have GCC compile with symbols (Default = no)]),
[if test x_$with_xmltooling != x_/usr; then
LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
+ DX_INCLUDE="${with_xmltooling}/include"
fi])
LIBS="-lxmltooling $LIBS"
AC_CHECK_HEADER([xmltooling/XMLToolingConfig.h],,AC_MSG_ERROR([unable to find xmltooling header files]))
AC_TRY_LINK(
[#include <xmltooling/XMLToolingConfig.h>],
- [XMLToolingConfig::getConfig().init()],
+ [xmltooling::XMLToolingConfig::getConfig().init()],
[AC_DEFINE(HAVE_LIBXMLTOOLING,1,[Define if XML-Tooling library was found])],
[AC_MSG_ERROR([unable to link with xmltooling library])]
)
AC_SUBST(CXXTESTFLAGS)
AM_CONDITIONAL(BUILD_UNITTEST,test -f ${CXXTEST})
+AC_SUBST(DX_INCLUDE)
LIBTOOL="$LIBTOOL --silent"
# output makefiles