2007-01-10 11:57:56 -05:00
|
|
|
$OpenBSD: patch-configure_in,v 1.7 2007/01/10 16:57:56 steven Exp $
|
2006-11-01 15:38:37 -05:00
|
|
|
--- configure.in.orig Tue Oct 17 18:03:36 2006
|
|
|
|
+++ configure.in Sat Oct 21 15:13:55 2006
|
|
|
|
@@ -197,7 +197,7 @@ case $ac_sys_system/$ac_sys_release in
|
2005-06-06 21:12:54 -04:00
|
|
|
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
|
|
|
|
# even though select is a POSIX function. Reported by J. Ribbens.
|
|
|
|
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
|
2006-11-01 15:38:37 -05:00
|
|
|
- OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@ | OpenBSD/4.@<:@0@:>@)
|
|
|
|
+ OpenBSD*)
|
2005-06-06 21:12:54 -04:00
|
|
|
define_xopen_source=no;;
|
|
|
|
# On Solaris 2.6, sys/wait.h is inconsistent in the usage
|
|
|
|
# of union __?sigval. Reported by Stuart Bishop.
|
2006-11-01 15:38:37 -05:00
|
|
|
@@ -1616,9 +1618,10 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic li
|
2005-06-06 21:12:54 -04:00
|
|
|
|
|
|
|
# only check for sem_ini if thread support is requested
|
|
|
|
if test "$with_threads" = "yes" -o -z "$with_threads"; then
|
|
|
|
- AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
|
|
|
|
+# AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
|
|
|
|
# posix4 on Solaris 2.6
|
|
|
|
# pthread (first!) on Linux
|
|
|
|
+ LIBS="-pthread $(LIBS)"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# check if we need libintl for locale functions
|