From fb8fe6f2b3f244e76e47ac955a37d07927d1bc02 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 17 Aug 2008 13:25:54 +0000 Subject: OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory when including the OpenSSL header files. This is the recommended setting, this prevents the undesired inclusion of header files with the same name as those of OpenSSL but which do not belong to the OpenSSL package. The visible change from previously released libcurl versions is that now OpenSSl enabled NetWare builds also define USE_OPENSSL in config files, and that OpenSSL header files must be located in a subdirectory named 'openssl'. --- src/Makefile.netware | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Makefile.netware') diff --git a/src/Makefile.netware b/src/Makefile.netware index 47a7cada9..b8ff8b7c3 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -167,6 +167,7 @@ else endif endif ifdef WITH_SSL + INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT) IMPORTS += GetProcessSwitchCount RunningProcess @@ -504,6 +505,7 @@ ifdef WITH_ZLIB endif ifdef WITH_SSL @echo $(DL)#define USE_SSLEAY 1$(DL) >> $@ + @echo $(DL)#define USE_OPENSSL 1$(DL) >> $@ @echo $(DL)#define HAVE_OPENSSL_X509_H 1$(DL) >> $@ @echo $(DL)#define HAVE_OPENSSL_SSL_H 1$(DL) >> $@ @echo $(DL)#define HAVE_OPENSSL_RSA_H 1$(DL) >> $@ -- cgit v1.2.3