summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2021-02-20 01:17:10 +0000
committerMichael Paquier2021-02-20 01:17:10 +0000
commita899ec1cb23eb3c4a94648f18a9408e5316d32a4 (patch)
treecb0e02ccf748887a25826fa96b65cc77dd15bb47
parentfe06819f105ccea52c12d418c8dbaaaa54377e96 (diff)
Fix inconsistent configure data for --with-ssl
This inconsistency was showing up after an autoreconf. Reported-by: Antonin Houska Reviewed-by: Tom Lane Discussion: https://postgr.es/m/47255.1613716807@antos
-rw-r--r--configure.ac2
-rw-r--r--src/include/pg_config.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 07da84d401..f54f65febe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1234,7 +1234,7 @@ if test "$with_ssl" = openssl ; then
# thread-safety. In 1.1.0, it's no longer required, and CRYPTO_lock()
# function was removed.
AC_CHECK_FUNCS([CRYPTO_lock])
- AC_DEFINE([USE_OPENSSL], 1, [Define to 1 if you have OpenSSL support.])
+ AC_DEFINE([USE_OPENSSL], 1, [Define to 1 to build with OpenSSL support. (--with-ssl=openssl)])
elif test "$with_ssl" != no ; then
AC_MSG_ERROR([--with-ssl must specify openssl])
fi
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index 55cab4d2bf..04dc330119 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -899,7 +899,7 @@
/* Define to select named POSIX semaphores. */
#undef USE_NAMED_POSIX_SEMAPHORES
-/* Define to build with OpenSSL support. (--with-ssl=openssl) */
+/* Define to 1 to build with OpenSSL support. (--with-ssl=openssl) */
#undef USE_OPENSSL
/* Define to 1 to build with PAM support. (--with-pam) */