X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=configure.ac;h=4c7fd07bddc36f9b8cffa3435282776f95fc1552;hp=6e78970c4c9a9be37f3b2394020afea82c71e2b8;hb=e4ed5f5716f6a8973b098c6bb033838d258d47b0;hpb=eab22660b1e5678870b4750af89a963476e38c3f diff --git a/configure.ac b/configure.ac index 6e78970..4c7fd07 100644 --- a/configure.ac +++ b/configure.ac @@ -328,6 +328,13 @@ int i = 0; [AC_DEFINE([XMLTOOLING_XMLSEC_SIGALGORITHM], [1], [Define to 1 if XML-Security-C exposes the signature algorithm URI.])], [AC_MSG_RESULT([no])]) + AC_MSG_CHECKING([whether XML-Security-C includes ECC support]) + AC_TRY_COMPILE([#include ], + [DSIGKeyInfoValue* info; info->getECNamedCurve();], + [AC_MSG_RESULT([yes])] + [AC_DEFINE([XMLTOOLING_XMLSEC_ECC], [1], [Define to 1 if XML-Security-C includes ECC support.])], + [AC_MSG_RESULT([no])]) + # restore master libs LIBS="$save_LIBS"