Skip to content

Commit

Permalink
Fix inconsistent configure data for --with-ssl
Browse files Browse the repository at this point in the history
This inconsistency was showing up after an autoreconf.

Reported-by: Antonin Houska
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/47255.1613716807@antos
  • Loading branch information
michaelpq committed Feb 20, 2021
1 parent fe06819 commit a899ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/include/pg_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit a899ec1

Please sign in to comment.