Skip to content

Commit dc7aa36

Browse files
committed
Force use of our erand48 on Cygwin
1 parent 0d6909e commit dc7aa36

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

configure

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19085,6 +19085,16 @@ esac
1908519085

1908619086
fi
1908719087

19088+
# Cygwin's erand48 sometimes hangs, so force use of ours
19089+
if test "$PORTNAME" = "cygwin"; then
19090+
case " $LIBOBJS " in
19091+
*" erand48.$ac_objext "* ) ;;
19092+
*) LIBOBJS="$LIBOBJS erand48.$ac_objext"
19093+
;;
19094+
esac
19095+
19096+
fi
19097+
1908819098
# Win32 support
1908919099
if test "$PORTNAME" = "win32"; then
1909019100

configure.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.605 2009/07/16 17:43:52 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.606 2009/07/23 23:50:29 adunstan Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1289,6 +1289,11 @@ if test "$PORTNAME" = "solaris"; then
12891289
AC_LIBOBJ(getopt)
12901290
fi
12911291

1292+
# Cygwin's erand48 sometimes hangs, so force use of ours
1293+
if test "$PORTNAME" = "cygwin"; then
1294+
AC_LIBOBJ(erand48)
1295+
fi
1296+
12921297
# Win32 support
12931298
if test "$PORTNAME" = "win32"; then
12941299
AC_REPLACE_FUNCS(gettimeofday)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy