aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-12-12 09:26:42 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-12-12 09:26:42 +0200
commitad365b2f91dc57ed1f18839f9f59a2799d276c8d (patch)
tree55e8f1830b2a00e68c0b0adc30a3a7695476d78d
parent92fb649837e36944bd0e9eed6c90b4b01b7deb18 (diff)
downloadpostgresql-ad365b2f91dc57ed1f18839f9f59a2799d276c8d.tar.gz
postgresql-ad365b2f91dc57ed1f18839f9f59a2799d276c8d.zip
Fix broken autoconf test for random number source.
Hopefully this fixes buildfarm member jacana. Discussion: https://www.postgresql.org/message-id/be25aa16-2f06-b7d1-8810-c69489a0e70b@dunslane.net
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ed5c30ecde4..0f143a0fad7 100755
--- a/configure
+++ b/configure
@@ -15022,7 +15022,7 @@ fi
if test "$enable_strong_random" = "yes" && test x"$USE_OPENSSL_RANDOM" = x"" && test x"$USE_WIN32_RANDOM" = x"" && test x"$USE_DEV_URANDOM" = x"" ; then
if test x"$with_openssl" = x"yes" ; then
USE_OPENSSL_RANDOM=1
- elif test "$PORTNAME" = x"win32" ; then
+ elif test "$PORTNAME" = "win32" ; then
USE_WIN32_RANDOM=1
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5
diff --git a/configure.in b/configure.in
index b8c3d4d5c97..b9831bc3408 100644
--- a/configure.in
+++ b/configure.in
@@ -1981,7 +1981,7 @@ fi
if test "$enable_strong_random" = "yes" && test x"$USE_OPENSSL_RANDOM" = x"" && test x"$USE_WIN32_RANDOM" = x"" && test x"$USE_DEV_URANDOM" = x"" ; then
if test x"$with_openssl" = x"yes" ; then
USE_OPENSSL_RANDOM=1
- elif test "$PORTNAME" = x"win32" ; then
+ elif test "$PORTNAME" = "win32" ; then
USE_WIN32_RANDOM=1
else
AC_CHECK_FILE([/dev/urandom], [], [])