mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 00:02:53 -04:00
Force use of our erand48 on Cygwin
This commit is contained in:
parent
0d6909eaba
commit
dc7aa36521
10
configure
vendored
10
configure
vendored
@ -19085,6 +19085,16 @@ esac
|
|||||||
|
|
||||||
fi
|
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
|
# Win32 support
|
||||||
if test "$PORTNAME" = "win32"; then
|
if test "$PORTNAME" = "win32"; then
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
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
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -1289,6 +1289,11 @@ if test "$PORTNAME" = "solaris"; then
|
|||||||
AC_LIBOBJ(getopt)
|
AC_LIBOBJ(getopt)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Cygwin's erand48 sometimes hangs, so force use of ours
|
||||||
|
if test "$PORTNAME" = "cygwin"; then
|
||||||
|
AC_LIBOBJ(erand48)
|
||||||
|
fi
|
||||||
|
|
||||||
# Win32 support
|
# Win32 support
|
||||||
if test "$PORTNAME" = "win32"; then
|
if test "$PORTNAME" = "win32"; then
|
||||||
AC_REPLACE_FUNCS(gettimeofday)
|
AC_REPLACE_FUNCS(gettimeofday)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user