Browse Source

cmake: Fix crypt lib check

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2576 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.24
Stefan Bühler 13 years ago
parent
commit
fcfd4d048a
  1. 1
      NEWS
  2. 4
      src/CMakeLists.txt

1
NEWS

@ -14,6 +14,7 @@ NEWS
* Fix FD_SETSIZE comparision warnings
* Add "lua-5.1" to searched pkg-config names for lua
* Fix unused function webdav_lockdiscovery in mod_webdav
* cmake: Fix crypt lib check
- 1.4.23 - 2009-06-19
* Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)

4
src/CMakeLists.txt

@ -86,10 +86,10 @@ CHECK_INCLUDE_FILES(fastcgi.h HAVE_FASTCGI_H)
CHECK_INCLUDE_FILES(fastcgi/fastcgi.h HAVE_FASTCGI_FASTCGI_H)
CHECK_INCLUDE_FILES(crypt.h HAVE_CRYPT_H)
IF(HAVE_CRYPT_H)
IF(NOT HAVE_CRYPT)
## check if we need libcrypt for crypt()
CHECK_LIBRARY_EXISTS(crypt crypt "" HAVE_LIBCRYPT)
ENDIF(HAVE_CRYPT_H)
ENDIF(NOT HAVE_CRYPT)
CHECK_INCLUDE_FILES(sys/inotify.h HAVE_SYS_INOTIFY_H)
IF(HAVE_SYS_INOTIFY_H)

Loading…
Cancel
Save