Browse Source

Add check to link against socket/nsl if needed (fixes #1960)

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@43 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 13 years ago
parent
commit
36734bc41f
  1. 1
      NEWS
  2. 6
      configure.ac

1
NEWS

@ -7,6 +7,7 @@ NEWS
* Add homepage to README
* Add IPv6 support
* Fix problems with usernames starting with a digit and not existing uids; add warning if only user privs are dropped. (fixes #1959)
* Add check to link against socket/nsl if needed (fixes #1960)
- 1.6.1 - 2009-03-29

6
configure.ac

@ -31,6 +31,10 @@ AC_HEADER_TIME
AC_CHECK_TYPES(socklen_t,,,[#include <sys/types.h>
#include <sys/socket.h>])
## solaris needs -lsocket -lnsl
AC_SEARCH_LIBS([socket],[socket])
AC_SEARCH_LIBS([inet_addr],[nsl socket])
# Checks for library functions.
AC_FUNC_CHOWN
AC_FUNC_FORK
@ -40,7 +44,7 @@ AC_FUNC_STAT
AC_CHECK_FUNCS([dup2 memset putenv select socket strerror strtol issetugid inet_pton])
dnl Check for IPv6 support
# Check for IPv6 support
AC_ARG_ENABLE(ipv6,
AC_HELP_STRING([--disable-ipv6],[disable IPv6 support]),

Loading…
Cancel
Save