diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-10 16:57:36 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-01-07 10:57:02 +0200 |
commit | 59903419ab177402cc394e282bf24cf05f8f3441 (patch) | |
tree | 37161c7690492595a2df7dcb9ce8ba29a08c7bfb /configure.ac | |
parent | 89f9c38dac55966cd51587176b3bb7e0e5867f3d (diff) |
Add --with-prebuilt-openssl
Don't ask.
Oh well, if you want to know: For some people, like me, Cygwin and its
Perl run into horrible trouble with the fork() emulation when building
OpenSSL. (But my Cygwin works fine for all else in the build. Go
figure.)
So I came up with a way to use prebuilt OpenSSL binaries. Not to be
used for release builds, of course (and the configury checks for
that), as long as our policy is to build all we can from sources.
Change-Id: Ic303bdf0c620c5122aca3d646fa1f0587221e70f
(cherry picked from commit cf029192e4ac9ce0e24ddfd880f5f9d557cf9c28)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c5579eb3f61e..96a6048a0ba0 100644 --- a/configure.ac +++ b/configure.ac @@ -1469,6 +1469,11 @@ AC_ARG_ENABLE(openssl, use only if you are hacking on it.]), ,enable_openssl=yes) +AC_ARG_WITH(prebuilt-openssl, + AS_HELP_STRING([--with-prebuilt-openssl], + [Don't build OpenSSL but use prebuilt binaries. Only for use on Windows, when you can't build it, + thanks to the Cygwin fork() problem when running the Perl disaster in OpenSSL's build system.])) + AC_ARG_ENABLE(library-bin-tar, AS_HELP_STRING([--enable-library-bin-tar], [Enable the building and reused of tarball of binary build for some 'external' libraries. @@ -8926,6 +8931,10 @@ if test "$with_system_nss" = "yes"; then libo_MINGW_CHECK_DLL([ssl3]) fi +if test $_os = WINNT -a -z "$ENABLE_RELEASE_BUILD" -a "$with_prebuilt_openssl" = yes; then + BUILD_TYPE="$BUILD_TYPE PREBUILT_OPENSSL" +fi + dnl =================================================================== dnl Check for system mozilla headers dnl =================================================================== |