Adriaan de Jong wrote:
Content-Description: 02_openssl_crypto_separation.patch.gz
> Separate OpenSSL specific code
>
> diff -r 228dee8676bf Makefile.am
> --- a/Makefile.am Wed Aug 11 14:37:00 2010 +0200
> +++ b/Makefile.am Wed Dec 08 11:49:46 2010 +0100
> @@ -74,18 +74,18 @@
> INSTALL-win32.txt
>
> openvpn_SOURCES = \
> - base64.c base64.h \
> + base64.c base64.h \
Please make all whitespace changes in a separate patch.
> +++ b/configure.ac Wed Dec 08 11:49:46 2010 +0100
..
> @@ -272,6 +272,16 @@
> [MEMCHECK="$withval"]
> )
>
> +AC_ARG_WITH([ssl-type],
> + [ --with-ssl-type=TYPE Build with the given SSL library, TYPE = openssl
> ],
> + [case "${withval}" in
> + openssl) SSL_LIB=openssl ;;
> + *) AC_MSG_ERROR([bad value ${withval} for --with-ssl-type]) ;;
> + esac],
> + [SSL_LIB="openssl"]
> +)
> +AM_CONDITIONAL([USE_OPENSSL], [test x$SSL_LIB = xopenssl])
> +
I think --with-openssl is the common way.
//Peter