summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrew Dunstan2009-07-23 23:50:29 +0000
committerAndrew Dunstan2009-07-23 23:50:29 +0000
commitdc7aa3652129803b19b0f10374c7cb097ff2335a (patch)
tree6a1e20ac790b19c9d2e21259d6b381a2ab0360b1 /configure.in
parent0d6909eaba6e8e0d05a4c990faa701d4b4e78ba5 (diff)
Force use of our erand48 on Cygwin
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c713e543649..6b663c1d75a 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.605 2009/07/16 17:43:52 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.606 2009/07/23 23:50:29 adunstan Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -1289,6 +1289,11 @@ if test "$PORTNAME" = "solaris"; then
AC_LIBOBJ(getopt)
fi
+# Cygwin's erand48 sometimes hangs, so force use of ours
+if test "$PORTNAME" = "cygwin"; then
+ AC_LIBOBJ(erand48)
+fi
+
# Win32 support
if test "$PORTNAME" = "win32"; then
AC_REPLACE_FUNCS(gettimeofday)