diff options
author | Stefan Bühler <stbuehler@web.de> | 2015-08-22 21:39:24 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2015-08-22 21:39:24 +0000 |
commit | d7cd5b087a8f2388611cdf3dfeb3dcb94505f63c (patch) | |
tree | 04c4dbbe768fb5d9a27b089908287abbc4e2f8e2 | |
parent | 9290e923d9d724e67536dd0afe265277dc316fd9 (diff) | |
download | lighttpd-git-d7cd5b087a8f2388611cdf3dfeb3dcb94505f63c.tar.gz |
[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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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 diff --git a/configure.ac b/configure.ac index 57ac5ab0..5f8d10fa 100644 --- a/configure.ac +++ b/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]) ]) |