 +include(CheckLibraryExists)
 +include(CheckSymbolExists)
 +include(CheckTypeSize)
++include(CMakePushCheckState)
 +include(TestBigEndian)
 +########################################
 +function(set_define var)

+#cmakedefine size_t @size_t@
diff --git a/activemq-cpp/configure.cmake b/activemq-cpp/configure.cmake
new file mode 100644
index 0000000..9e5927a
--- /dev/null
+++ b/activemq-cpp/configure.cmake
@@ -0,0 +1,396 @@
+include(CheckCXXCompilerFlag)
+include(CheckCSourceCompiles)
+include(CheckFunctionExists)

+  set(size_t "unsigned int") # Define to `unsigned int' if <sys/types.h> does not define.
+endif()
+set(CMAKE_EXTRA_INCLUDE_FILES)
+cmake_pop_check_state()
+########################################
+set(HAVE_OPENSSL ${OPENSSL_FOUND})
+set_define(HAVE_OPENSSL 1)
