summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-13 02:11:38 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-13 02:11:38 +0300
commit15fb266175f8f2f063d73b40f56a4eec05653d23 (patch)
treeac03ec9e43c7356732ac25ca6c901493a315021b
parent03ac0b56514514a7e84ce323d9c8dac645e456f4 (diff)
Revert "Use separately built "system" OpenSSL for iOS"
This reverts commit cd4784c4d7466027801736f13bf06b08f6beacf6.
-rwxr-xr-xconfigure.in21
-rw-r--r--distro-configs/LibreOfficeiOS.conf1
2 files changed, 5 insertions, 17 deletions
diff --git a/configure.in b/configure.in
index 8857c2423f9f..9f79e576e310 100755
--- a/configure.in
+++ b/configure.in
@@ -5799,23 +5799,12 @@ AC_MSG_CHECKING([which libssl to use])
if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
test "$with_system_openssl" != "no"; then
AC_MSG_RESULT([external])
-
- dnl Mac OS (and BSD, apparently) builds should get out without
- dnl extra stuff is the Mac porters' wish. And pkg-config is
- dnl although Xcode ships a .pc for OpenSSL
-
- dnl For iOS we don't want to even try compiling bundled (outdated
- dnl version of) OpenSSL with its ultra-weird configury. But on the
- dnl other hand there is no system OpenSSL either. But let's just
- dnl build a current OpenSSL separately using some of the ways
- dnl found on the net and pretend it is a "system" OpenSSL.
-
- dnl In either case pass OPENSSL_CFLAGS and OPENSSL_LIBS if
- dnl necessary in the environment.
-
- if test "$_os" = "Darwin" -o "$_os" = "iOS" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
+ # Mac OS builds should get out without extra stuff is the Mac porters'
+ # wish. And pkg-config is although Xcode ships a .pc for openssl
+ if test "$_os" = "Darwin" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
"$_os" = "DragonFly"; then
- OPENSSL_LIBS=${OPENSSL_LIBS:--lssl -lcrypto}
+ OPENSSL_CFLAGS=
+ OPENSSL_LIBS="-lssl -lcrypto"
else
PKG_CHECK_MODULES( OPENSSL, openssl )
fi
diff --git a/distro-configs/LibreOfficeiOS.conf b/distro-configs/LibreOfficeiOS.conf
index 20231741682e..02008d5511fc 100644
--- a/distro-configs/LibreOfficeiOS.conf
+++ b/distro-configs/LibreOfficeiOS.conf
@@ -15,7 +15,6 @@
--disable-randr
--disable-randr-link
--disable-systray
---with-system-openssl
--without-fonts
--without-java
--without-junit