Browse Source

[autoconf] define HAVE_CRYPT when crypt() is present

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3022 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.37
Stefan Bühler 6 years ago
parent
commit
d7cd5b087a
  1. 1
      NEWS
  2. 1
      configure.ac

1
NEWS

@ -12,6 +12,7 @@ NEWS
* rewrite network sendfile/mmap/writev/write backends
* fix some unchecked return value warnings
* [kqueue] fix kevent call
* [autoconf] define HAVE_CRYPT when crypt() is present
- 1.4.36 - 2015-07-26
* use keep-alive timeout while waiting for HTTP headers; use always the read timeout while waiting for the HTTP body

1
configure.ac

@ -540,6 +540,7 @@ AC_SEARCH_LIBS([crypt_r],[crypt],[
CRYPT_LIB=$LIBS
],[
AC_SEARCH_LIBS([crypt],[crypt],[
AC_DEFINE([HAVE_CRYPT], [1], [crypt])
AC_CHECK_HEADERS([crypt.h],[
AC_DEFINE([HAVE_CRYPT_H], [1], [crypt.h])
])

Loading…
Cancel
Save