add OpenSSL to build rules

This commit is contained in:
David Rose 2002-09-24 19:54:21 +00:00
parent d78a078649
commit bda1e63b8e
4 changed files with 21 additions and 0 deletions

View File

@ -196,6 +196,12 @@
#define STL_CFLAGS
#define STL_LIBS
// Is OpenSSL installed, and where?
#define SSL_IPATH /usr/local/ssl/include
#define SSL_LPATH /usr/local/ssl/lib
#define SSL_LIBS ssl crypto
#defer HAVE_SSL $[libtest $[SSL_LPATH],$[SSL_LIBS]]
// Is Crypto++ installed, and where?
#define CRYPTO_IPATH /usr/include/crypto++
#define CRYPTO_LPATH /usr/lib

View File

@ -28,6 +28,9 @@ $[cdefine HAVE_MAYA]
/* Define if we have NSPR installed. */
$[cdefine HAVE_NSPR]
/* Define if we have OpenSSL installed. */
$[cdefine HAVE_SSL]
/* Define if we have crypto++ installed. */
$[cdefine HAVE_CRYPTO]

View File

@ -92,6 +92,11 @@
#set NSPR_LIBS $[NSPR_LIBS]
#set HAVE_NSPR $[HAVE_NSPR]
#set SSL_IPATH $[unixfilename $[SSL_IPATH]]
#set SSL_LPATH $[unixfilename $[SSL_LPATH]]
#set SSL_LIBS $[SSL_LIBS]
#set HAVE_SSL $[HAVE_SSL]
#set CRYPTO_IPATH $[unixfilename $[CRYPTO_IPATH]]
#set CRYPTO_LPATH $[unixfilename $[CRYPTO_LPATH]]
#set CRYPTO_LIBS $[CRYPTO_LIBS]

View File

@ -91,6 +91,13 @@
#define nspr_libs $[NSPR_LIBS]
#endif
#if $[HAVE_SSL]
#define ssl_ipath $[wildcard $[SSL_IPATH]]
#define ssl_lpath $[wildcard $[SSL_LPATH]]
#define ssl_cflags $[SSL_CFLAGS]
#define ssl_libs $[SSL_LIBS]
#endif
#if $[HAVE_CRYPTO]
#define crypto_ipath $[wildcard $[CRYPTO_IPATH]]
#define crypto_lpath $[wildcard $[CRYPTO_LPATH]]