Index: Makefile.in ================================================================== --- Makefile.in +++ Makefile.in @@ -9,11 +9,11 @@ # Copyright (c) 1999-2000 Scriptics Corporation. # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: Makefile.in,v 1.5 2000/02/06 00:57:35 wart Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.6 2000/02/09 21:19:24 wart Exp $ lib_BINARIES=$(tls_LIB_FILE) BINARIES=$(lib_BINARIES) @@ -60,11 +60,11 @@ SSL_DIR = @SSL_DIR@ SSL_LIB_DIR = @SSL_LIB_DIR@ SSL_INCLUDE_DIR = @SSL_INCLUDE_DIR@ SSL_INCLUDE_DIR_NATIVE = @SSL_INCLUDE_DIR_NATIVE@ SSL_INCLUDES = -I$(SSL_INCLUDE_DIR_NATIVE) -SSL_CFLAGS = -DNO_PATENTS +SSL_CFLAGS = @SSL_CFLAGS@ #======================================================================== # This is boilerplate from the sample tcl extension Makefile.in: # Nothing of the variables below this line need to be changed. Please Index: configure.in ================================================================== --- configure.in +++ configure.in @@ -64,10 +64,18 @@ SSL_INCLUDE_DIR=${SSL_DIR}/include AC_SUBST(SSL_DIR) AC_SUBST(SSL_LIB_DIR) AC_SUBST(SSL_INCLUDE_DIR) + +#-------------------------------------------------------------------- +# Determine if we should use the patented encryption code +#-------------------------------------------------------------------- + +AC_ARG_WITH(patents, [ --with-patents=yes|no Turn on/off the patented encryption code. Default is no patents], SSL_CFLAGS="", SSL_CFLAGS="-DNO_PATENTS") + +AC_SUBST(SSL_CFLAGS) #-------------------------------------------------------------------- # Check whether --enable-gcc or --disable-gcc was given. Do this # before AC_CYGWIN is called so the compiler can be fully tested by # built-in autoconf tools. This macro also calls AC_PROG_CC to set