[evolution-exchange] Bug #654540 - Don't pass --no-undefined on BSDs



commit 15d286b0c55433c5ff473671baceb30e64fa557a
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date:   Wed Aug 31 13:02:23 2011 +0200

    Bug #654540 - Don't pass --no-undefined on BSDs

 configure.ac |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dcb8da4..6082add 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,10 @@ 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
@@ -100,6 +103,12 @@ case "$host" in
 	SOCKET_LIBS='-lws2_32'
 	DNS_LIBS='-ldnsapi'
 	;;
+*openbsd*|*freebsd*)
+	os_win32=no
+	NO_UNDEFINED=''
+	SOCKET_LIBS=''
+	DNS_LIBS=''
+	;;
 *)
 	os_win32=no
 	NO_UNDEFINED='-Wl,--no-undefined'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]