summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2009-07-23 23:50:29 +0000
committerAndrew Dunstan <andrew@dunslane.net>2009-07-23 23:50:29 +0000
commitdc7aa3652129803b19b0f10374c7cb097ff2335a (patch)
tree6a1e20ac790b19c9d2e21259d6b381a2ab0360b1 /configure
parent0d6909eaba6e8e0d05a4c990faa701d4b4e78ba5 (diff)
downloadpostgresql-dc7aa3652129803b19b0f10374c7cb097ff2335a.tar.gz
Force use of our erand48 on Cygwin
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 5790a3219c..2ba6050bce 100755
--- a/configure
+++ b/configure
@@ -19085,6 +19085,16 @@ esac
fi
+# Cygwin's erand48 sometimes hangs, so force use of ours
+if test "$PORTNAME" = "cygwin"; then
+ case " $LIBOBJS " in
+ *" erand48.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS erand48.$ac_objext"
+ ;;
+esac
+
+fi
+
# Win32 support
if test "$PORTNAME" = "win32"; then