projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19fb255
)
MinGW/MSYS needs lib ws2_32 for proper operation of configure script.
author
Yang Tse
<yangsita@gmail.com>
Thu, 3 Aug 2006 21:19:40 +0000
(21:19 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 3 Aug 2006 21:19:40 +0000
(21:19 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
e2867d1
..
989dee2
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-81,6
+81,18
@@
esac
AC_MSG_RESULT($need_no_undefined)
AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
+AC_MSG_CHECKING([if we need ws2_32 lib])
+case $host in
+ *-*-mingw* | *-*-pw32*)
+ need_lib_ws2_32=yes
+ LIBS="$LIBS -lws2_32"
+ ;;
+ *)
+ need_lib_ws2_32=no
+ ;;
+esac
+AC_MSG_RESULT($need_lib_ws2_32)
+
dnl Checks for header files.
AC_HEADER_STDC