projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
803f567
)
Check for xmlsec 1.4.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 2 Oct 2007 17:50:09 +0000
(17:50 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 2 Oct 2007 17:50:09 +0000
(17:50 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
2f13bbc
..
5a64534
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-209,18
+209,18
@@
AC_CHECK_HEADER([xsec/utils/XSECPlatformUtils.hpp],,AC_MSG_ERROR([unable to find
AC_MSG_CHECKING([XML-Security version])
AC_PREPROC_IFELSE(
[AC_LANG_PROGRAM([#include <xsec/utils/XSECPlatformUtils.hpp>],
AC_MSG_CHECKING([XML-Security version])
AC_PREPROC_IFELSE(
[AC_LANG_PROGRAM([#include <xsec/utils/XSECPlatformUtils.hpp>],
- [#if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
|| (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM == 3 && XSEC_VERSION_MINOR > 0)
+ [#if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
int i = 0;
#else
int i = 0;
#else
-#error need version 1.
3.1
or later
+#error need version 1.
4.0
or later
#endif])],
[AC_MSG_RESULT(OK)],
#endif])],
[AC_MSG_RESULT(OK)],
- [AC_MSG_FAILURE([XML-Security version 1.
3.1
or greater is required.])])
+ [AC_MSG_FAILURE([XML-Security version 1.
4.0
or greater is required.])])
AC_TRY_LINK(
[#include <xsec/utils/XSECPlatformUtils.hpp>],
[XSECPlatformUtils::Initialise()],
AC_TRY_LINK(
[#include <xsec/utils/XSECPlatformUtils.hpp>],
[XSECPlatformUtils::Initialise()],
- [AC_DEFINE(HAVE_LIBXSEC,1,[Define if XML-Sec library was found])],
- [AC_MSG_ERROR([unable to link with
xmlsec
library])]
+ [AC_DEFINE(HAVE_LIBXSEC,1,[Define if XML-Sec
urity
library was found])],
+ [AC_MSG_ERROR([unable to link with
XML-Security
library])]
)
# XML-Tooling settings
)
# XML-Tooling settings