You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by sc...@apache.org on 2010/10/25 05:01:43 UTC
svn commit: r1026936 - in /santuario/trunk/c: configure.ac
xsec/framework/XSECConfig.hpp.in xsec/framework/XSECDefs.hpp
Author: scantor
Date: Mon Oct 25 03:01:42 2010
New Revision: 1026936
URL: http://svn.apache.org/viewvc?rev=1026936&view=rev
Log:
Limit public config.h symbols and add internal version.
Added:
santuario/trunk/c/xsec/framework/XSECConfig.hpp.in
Modified:
santuario/trunk/c/configure.ac
santuario/trunk/c/xsec/framework/XSECDefs.hpp
Modified: santuario/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/santuario/trunk/c/configure.ac?rev=1026936&r1=1026935&r2=1026936&view=diff
==============================================================================
--- santuario/trunk/c/configure.ac (original)
+++ santuario/trunk/c/configure.ac Mon Oct 25 03:01:42 2010
@@ -42,7 +42,7 @@ fi
# Define the files we wish to generate
AC_CONFIG_FILES([Makefile xsec/Makefile])
-AC_CONFIG_HEADERS([xsec/framework/XSECConfig.hpp])
+AC_CONFIG_HEADERS([config.h xsec/framework/XSECConfig.hpp])
AH_BOTTOM([#include <xsec/framework/XSECVersion.hpp>])
# Check for basic programs
Added: santuario/trunk/c/xsec/framework/XSECConfig.hpp.in
URL: http://svn.apache.org/viewvc/santuario/trunk/c/xsec/framework/XSECConfig.hpp.in?rev=1026936&view=auto
==============================================================================
--- santuario/trunk/c/xsec/framework/XSECConfig.hpp.in (added)
+++ santuario/trunk/c/xsec/framework/XSECConfig.hpp.in Mon Oct 25 03:01:42 2010
@@ -0,0 +1,75 @@
+/* xsec/framework/XSECConfig.hpp.in. Generated from configure.ac by autoheader. */
+
+/* Define if NSS is in use. */
+#undef XSEC_HAVE_NSS
+
+/* Define if OpenSSL is in use. */
+#undef XSEC_HAVE_OPENSSL
+
+/* Define to 1 if strcasecmp present. */
+#undef XSEC_HAVE_STRCASECMP
+
+/* Define to 1 if Xalan is unavailable. */
+#undef XSEC_NO_XALAN
+
+/* Define to 1 if OpenSSL has EVP_CIPHER_CTX_set_padding. */
+#undef XSEC_OPENSSL_CANSET_PADDING
+
+/* Define to 1 if OpenSSL uses const input buffers. */
+#undef XSEC_OPENSSL_CONST_BUFFERS
+
+/* Define to 1 if OpenSSL X509 API has const input buffer. */
+#undef XSEC_OPENSSL_D2IX509_CONST_BUFFER
+
+/* Define to 1 if OpenSSL has full AES support. */
+#undef XSEC_OPENSSL_HAVE_AES
+
+/* Define to 1 if OpenSSL has CRYPTO_cleanup_all_ex_data. */
+#undef XSEC_OPENSSL_HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
+
+/* Define to 1 if OpenSSL has EC support. */
+#undef XSEC_OPENSSL_HAVE_EC
+
+/* Define to 1 if OpenSSL has SHA2 support. */
+#undef XSEC_OPENSSL_HAVE_SHA2
+
+/* Define to 1 if Xalan XPathEvaluator requires NodeRefList. */
+#undef XSEC_SELECTNODELIST_REQS_NODEREFLIST
+
+/* Define to 1 if Xalan requires MemoryManager */
+#undef XSEC_XALAN_REQS_MEMORYMANAGER
+
+/* Define to 1 if Xalan XercesParserLiaison ctor takes XercesDOMSupport. */
+#undef XSEC_XERCESPARSERLIAISON_REQS_DOMSUPPORT
+
+/* Define to 1 if Xerces has a 64-bit-safe API. */
+#undef XSEC_XERCES_64BITSAFE
+
+/* Define to 1 if Xerces DOMEntity has getInputEncoding. */
+#undef XSEC_XERCES_DOMENTITYINPUTENCODING
+
+/* Define to 1 if Xerces has DOMLSSerializer. */
+#undef XSEC_XERCES_DOMLSSERIALIZER
+
+/* Define to 1 if Xerces XMLFormatter requires version. */
+#undef XSEC_XERCES_FORMATTER_REQUIRES_VERSION
+
+/* Define to 1 if Xerces DOM ID methods take extra parameter. */
+#undef XSEC_XERCES_HAS_BOOLSETIDATTRIBUTE
+
+/* Define to 1 if Xerces has legacy setIdAttribute. */
+#undef XSEC_XERCES_HAS_SETIDATTRIBUTE
+
+/* Define to 1 if Xerces InputStream class requires getContentType. */
+#undef XSEC_XERCES_INPUTSTREAM_HAS_CONTENTTYPE
+
+/* Define to 1 if Xerces XMLFormatter requires MemoryManager. */
+#undef XSEC_XERCES_REQUIRES_MEMMGR
+
+/* Define to 1 if Xerces XMLString has release method. */
+#undef XSEC_XERCES_XMLSTRING_HAS_RELEASE
+
+/* Define to 1 if Xalan XSLException returns XalanDOMString. */
+#undef XSEC_XSLEXCEPTION_RETURNS_DOMSTRING
+
+#include <xsec/framework/XSECVersion.hpp>
Modified: santuario/trunk/c/xsec/framework/XSECDefs.hpp
URL: http://svn.apache.org/viewvc/santuario/trunk/c/xsec/framework/XSECDefs.hpp?rev=1026936&r1=1026935&r2=1026936&view=diff
==============================================================================
--- santuario/trunk/c/xsec/framework/XSECDefs.hpp (original)
+++ santuario/trunk/c/xsec/framework/XSECDefs.hpp Mon Oct 25 03:01:42 2010
@@ -45,6 +45,8 @@
# endif
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
+#elif defined (XSEC_LIBRARY_BUILD)
+# include "config.h"
#else
# include <xsec/framework/XSECConfig.hpp>
#endif