git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d6909e)
Force use of our erand48 on Cygwin
2009年7月23日 23:50:29 +0000 (23:50 +0000)
2009年7月23日 23:50:29 +0000 (23:50 +0000)

diff --git a/configure b/configure
index 5790a3219c78c436ab258b1f54f6c4b8dfcf0fd7..2ba6050bceb2b89909fb3d9afe67136affdf630f 100755 (executable)
--- 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
diff --git a/configure.in b/configure.in
index c713e543649e84da0262ce83722cddf2d1b494ce..6b663c1d75a8a75ead8a2b5b64b062ea16d4a13c 100644 (file)
--- 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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /