[cpp-opensaml] 06/19: We don't use OpenSSL directly
Scott Cantor
cantor.2 at osu.edu
Tue Jun 26 19:28:04 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=c6d504f9242f3a73059848aa2955fcfea90bd004
commit c6d504f9242f3a73059848aa2955fcfea90bd004
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: Mon Jul 11 11:46:29 2016 +0200
We don't use OpenSSL directly
---
configure.ac | 35 -----------------------------------
1 file changed, 35 deletions(-)
diff --git a/configure.ac b/configure.ac
index c5bc87c..58a2bf1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,41 +72,6 @@ AC_CHECK_FUNCS([strchr strdup strstr])
AX_PTHREAD(,[AC_MSG_ERROR([unable to find pthreads, currently this is required])])
-# OpenSSL settings
-AC_ARG_WITH(openssl,
- AS_HELP_STRING([--with-openssl=PATH],[where openssl is installed]),
- [if test x_$with_openssl != x_/usr; then
- SSLFLAGS="-I${with_openssl}/include"
- SSLLIBS="-L${with_openssl}/lib -lcrypto -lssl"
- else
- SSLLIBS="-lcrypto -lssl"
- fi])
-
-if test "x$with_openssl" = "x" ; then
- AC_PATH_PROG(PKG_CONFIG, pkg-config)
- if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
- if pkg-config openssl ; then
- SSLLIBS="`$PKG_CONFIG --libs openssl`"
- SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
- else
- AC_MSG_WARN([OpenSSL not supported by pkg-config, try --with-openssl instead])
- fi
- fi
-fi
-
-if test "x$SSLLIBS" = "x" ; then
- SSLLIBS="-lcrypto -lssl"
-fi
-
-AC_MSG_CHECKING(for OpenSSL cflags)
-AC_MSG_RESULT($SSLFLAGS)
-CPPFLAGS="$SSLFLAGS $CPPFLAGS"
-AC_MSG_CHECKING(for OpenSSL libraries)
-AC_MSG_RESULT($SSLLIBS)
-LIBS="$LIBS $SSLLIBS"
-
-AC_CHECK_HEADER([openssl/x509.h],,AC_MSG_ERROR([unable to find openssl header files]))
-
AC_LANG([C++])
# C++ requirements
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list