Fix type check.
[shibboleth/cpp-xmltooling.git] / configure.ac
index ec8ed09..7caeb35 100644 (file)
@@ -288,8 +288,7 @@ int i = 0;
             [#include <xsec/utils/XSECPlatformUtils.hpp>],
             [XSECPlatformUtils::Initialise()],,
             [AC_MSG_ERROR([unable to link with XML-Security])])
-    AC_MSG_CHECKING([xsecsize_t])
-    AC_CHECK_TYPE([xsecsize_t],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
+    AC_CHECK_TYPE([xsecsize_t],[AC_DEFINE([HAVE_XSECSIZE_T], [1], [Define to 1 if you have the 'xsecsize_t' type.])])
 
        # restore master libs
        LIBS="$save_LIBS"