author | John Beck <John.Beck@Oracle.COM> |
Mon, 28 Sep 2015 10:53:03 -0700 | |
changeset 4960 | 55cc0647d4a7 |
permissions | -rw-r--r-- |
4960
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
1 |
Tomas Heran <[email protected]> |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
2 |
libnsl and libsocket need to be linked to on Solaris 11 for socket API. |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
Reported upstream as: https://gnunet.org/bugs/view.php?id=3752 |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
4 |
|
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
5 |
diff -r d118e0f483a4 configure.ac |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
6 |
--- a/configure.ac Thu Feb 05 14:49:09 2015 +0100 |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
7 |
+++ b/configure.ac Thu Apr 09 16:39:50 2015 +0200 |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
8 |
@@ -135,6 +135,8 @@ |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
9 |
*solaris*) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
10 |
AC_DEFINE_UNQUOTED(SOLARIS,1,[This is a Solaris system]) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
11 |
AC_DEFINE_UNQUOTED(_REENTRANT,1,[Need with solaris or errno doesnt work]) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
+ AC_SEARCH_LIBS(gethostbyname, nsl) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
13 |
+ AC_SEARCH_LIBS(socket, socket) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
14 |
;; |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
15 |
*arm-linux*) |
55cc0647d4a7
21955941 libsocket tweak needed for libmicrohttpd
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
16 |
AC_DEFINE_UNQUOTED(LINUX,1,[This is a Linux kernel]) |