30 lines
682 B
Plaintext
30 lines
682 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.1 2011/09/12 07:26:19 ajacoutot Exp $
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=654540
|
|
|
|
--- configure.ac.orig Mon Apr 25 09:03:03 2011
|
|
+++ configure.ac Wed Jul 13 12:17:29 2011
|
|
@@ -94,13 +94,22 @@ dnl ******************************
|
|
dnl Check for Win32
|
|
dnl ******************************
|
|
|
|
+AC_CANONICAL_HOST
|
|
AC_MSG_CHECKING([for Win32])
|
|
+
|
|
+dnl This must stay after AC_CANONICAL_HOST, which defines $host.
|
|
case "$host" in
|
|
*-mingw*)
|
|
os_win32=yes
|
|
NO_UNDEFINED='-Wl,--no-undefined'
|
|
SOCKET_LIBS='-lws2_32'
|
|
DNS_LIBS='-ldnsapi'
|
|
+ ;;
|
|
+*openbsd*|*freebsd*)
|
|
+ os_win32=no
|
|
+ NO_UNDEFINED=''
|
|
+ SOCKET_LIBS=''
|
|
+ DNS_LIBS=''
|
|
;;
|
|
*)
|
|
os_win32=no
|