diff options
author | Andrew Dunstan | 2009-07-23 23:50:29 +0000 |
---|---|---|
committer | Andrew Dunstan | 2009-07-23 23:50:29 +0000 |
commit | bef37884b1efb878cf7559e8387da266ee6b3030 (patch) | |
tree | d998bd3e1998a61d6e4b27232e486a1896205f1d | |
parent | 2f23a2b4adec191de0657d72aa16c0c9d243a785 (diff) |
Force use of our erand48 on Cygwin
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 15 insertions, 0 deletions
@@ -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 3d51c70913..ed6d524038 100644 --- a/configure.in +++ b/configure.in @@ -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) |