| 1 |
--- configure
|
| 2 |
+++ configure
|
| 3 |
@@ -33211,6 +33211,21 @@
|
| 4 |
|
| 5 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
| 6 |
conftest$ac_exeext conftest.$ac_ext
|
| 7 |
+
|
| 8 |
+ if test x"$openssl_cmdline" != xno; then
|
| 9 |
+ if `$openssl_cmdline version 2>/dev/null 1>&2`; then
|
| 10 |
+ openssl_cflags=`$openssl_cmdline version -f 2>/dev/null`
|
| 11 |
+ if test ! -z "$openssl_cflags"; then
|
| 12 |
+ # Look for the -pthread flag, indicating that this OpenSSL was built
|
| 13 |
+ # with threads support (see Bug#3795)
|
| 14 |
+ for openssl_cflag in $openssl_cflags; do
|
| 15 |
+ if test x"$openssl_cflag" = x"-pthread"; then
|
| 16 |
+ LIBS="$LIBS -pthread"
|
| 17 |
+ fi
|
| 18 |
+ done
|
| 19 |
+ fi
|
| 20 |
+ fi
|
| 21 |
+ fi
|
| 22 |
fi
|
| 23 |
|
| 24 |
if test x"$pr_use_postgres" = xyes; then
|
| 25 |
@@ -33303,21 +33318,6 @@
|
| 26 |
CPPFLAGS="$saved_cppflags"
|
| 27 |
LDFLAGS="$saved_ldflags"
|
| 28 |
LIBS="$saved_libs"
|
| 29 |
-
|
| 30 |
- if test x"$openssl_cmdline" != xno; then
|
| 31 |
- if `$openssl_cmdline version 2>/dev/null 1>&2`; then
|
| 32 |
- openssl_cflags=`$openssl_cmdline version -f 2>/dev/null`
|
| 33 |
- if test ! -z "$openssl_cflags"; then
|
| 34 |
- # Look for the -pthread flag, indicating that this OpenSSL was built
|
| 35 |
- # with threads support (see Bug#3795)
|
| 36 |
- for openssl_cflag in $openssl_cflags; do
|
| 37 |
- if test x"$openssl_cflag" = x"-pthread"; then
|
| 38 |
- LIBS="$LIBS -pthread"
|
| 39 |
- fi
|
| 40 |
- done
|
| 41 |
- fi
|
| 42 |
- fi
|
| 43 |
- fi
|
| 44 |
fi
|
| 45 |
|
| 46 |
for module in $ac_shared_modules ; do
|
| 47 |
--- configure.in
|
| 48 |
+++ configure.in
|
| 49 |
@@ -2473,6 +2473,21 @@
|
| 50 |
)
|
| 51 |
]
|
| 52 |
)
|
| 53 |
+
|
| 54 |
+ if test x"$openssl_cmdline" != xno; then
|
| 55 |
+ if `$openssl_cmdline version 2>/dev/null 1>&2`; then
|
| 56 |
+ openssl_cflags=`$openssl_cmdline version -f 2>/dev/null`
|
| 57 |
+ if test ! -z "$openssl_cflags"; then
|
| 58 |
+ # Look for the -pthread flag, indicating that this OpenSSL was built
|
| 59 |
+ # with threads support (see Bug#3795)
|
| 60 |
+ for openssl_cflag in $openssl_cflags; do
|
| 61 |
+ if test x"$openssl_cflag" = x"-pthread"; then
|
| 62 |
+ LIBS="$LIBS -pthread"
|
| 63 |
+ fi
|
| 64 |
+ done
|
| 65 |
+ fi
|
| 66 |
+ fi
|
| 67 |
+ fi
|
| 68 |
fi
|
| 69 |
|
| 70 |
if test x"$pr_use_postgres" = xyes; then
|
| 71 |
@@ -2521,21 +2536,6 @@
|
| 72 |
CPPFLAGS="$saved_cppflags"
|
| 73 |
LDFLAGS="$saved_ldflags"
|
| 74 |
LIBS="$saved_libs"
|
| 75 |
-
|
| 76 |
- if test x"$openssl_cmdline" != xno; then
|
| 77 |
- if `$openssl_cmdline version 2>/dev/null 1>&2`; then
|
| 78 |
- openssl_cflags=`$openssl_cmdline version -f 2>/dev/null`
|
| 79 |
- if test ! -z "$openssl_cflags"; then
|
| 80 |
- # Look for the -pthread flag, indicating that this OpenSSL was built
|
| 81 |
- # with threads support (see Bug#3795)
|
| 82 |
- for openssl_cflag in $openssl_cflags; do
|
| 83 |
- if test x"$openssl_cflag" = x"-pthread"; then
|
| 84 |
- LIBS="$LIBS -pthread"
|
| 85 |
- fi
|
| 86 |
- done
|
| 87 |
- fi
|
| 88 |
- fi
|
| 89 |
- fi
|
| 90 |
fi
|
| 91 |
|
| 92 |
for module in $ac_shared_modules ; do
|