Commit c66372f3 authored by Sam Hocevar's avatar Sam Hocevar

* ./configure.ac.in: moved an extra -lws2_32 to a win32 specific case.

parent 5c9fdb11
...@@ -130,6 +130,7 @@ case "x${target_os}" in ...@@ -130,6 +130,7 @@ case "x${target_os}" in
LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lws2_32" LDFLAGS_access_ftp="${LDFLAGS_access_ftp} -lws2_32"
LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32" LDFLAGS_access_output_udp="${LDFLAGS_access_output_udp} -lws2_32"
LDFLAGS_sap="${LDFLAGS_sap} -lws2_32" LDFLAGS_sap="${LDFLAGS_sap} -lws2_32"
LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
LDFLAGS_httpd="${LDFLAGS_httpd} -lws2_32" LDFLAGS_httpd="${LDFLAGS_httpd} -lws2_32"
fi fi
;; ;;
...@@ -2607,9 +2608,6 @@ then ...@@ -2607,9 +2608,6 @@ then
then then
PLUGINS="${PLUGINS} slp" PLUGINS="${PLUGINS} slp"
LDFLAGS_slp="${LDFLAGS_slp} -lslp" LDFLAGS_slp="${LDFLAGS_slp} -lslp"
if test "x${SYS}" != "xmingw32"; then
LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
fi
fi fi
else else
AC_MSG_CHECKING(for slp headers in ${with_slp}) AC_MSG_CHECKING(for slp headers in ${with_slp})
...@@ -2619,9 +2617,6 @@ then ...@@ -2619,9 +2617,6 @@ then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
PLUGINS="${PLUGINS} slp" PLUGINS="${PLUGINS} slp"
LDFLAGS_slp="${LDFLAGS_slp} -L${with_slp} -lslp" LDFLAGS_slp="${LDFLAGS_slp} -L${with_slp} -lslp"
if test "x${SYS}" != "xmingw32"; then
LDFLAGS_slp="${LDFLAGS_slp} -lws2_32"
fi
CPPFLAGS_slp="${CPPFLAGS_slp} -I${with_slp}" CPPFLAGS_slp="${CPPFLAGS_slp} -I${with_slp}"
else else
dnl No libslp could be found, sorry dnl No libslp could be found, sorry
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment