Changeset 2123
- Timestamp:
- 03/10/2008 07:15:27 PM (6 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
configure.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r2121 r2123 50 50 * fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440) 51 51 * workaround #1587: require userdir.path to be set to enable mod_userdir (empty string allowed) 52 * make configure checks for --with-pcre, --with-zlib and --with-bzip2 failing if the headers aren't found 52 53 53 54 - 1.4.18 - 2007-09-09 -
branches/lighttpd-1.4.x/configure.in
r1998 r2123 267 267 ]) 268 268 LIBS="$OLDLIBS" 269 else 270 AC_MSG_ERROR([pcre-config not found, install the pcre-devel package and build with --without-pcre]) 269 271 fi 270 272 fi … … 272 274 AC_SUBST(PCRE_LIB) 273 275 274 AC_CHECK_LIB(z, deflate, [ 275 AC_CHECK_HEADERS([zlib.h],[ 276 Z_LIB=-lz 277 AC_DEFINE([HAVE_LIBZ], [1], [libz]) 278 AC_DEFINE([HAVE_ZLIB_H], [1]) 276 AC_MSG_CHECKING(for zlib support) 277 AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib],[Enable zlib support for mod_compress]), 278 [WITH_ZLIB=$withval],[WITH_ZLIB=yes]) 279 AC_MSG_RESULT([$WITH_ZLIB]) 280 281 if test "$WITH_ZLIB" != "no"; then 282 AC_CHECK_LIB(z, deflate, [ 283 AC_CHECK_HEADERS([zlib.h],[ 284 Z_LIB=-lz 285 AC_DEFINE([HAVE_LIBZ], [1], [libz]) 286 AC_DEFINE([HAVE_ZLIB_H], [1]) 287 ]) 279 288 ]) 280 ]) 289 if test x$Z_LIB = x; then 290 AC_MSG_ERROR([zlib-headers and/or libs where not found, install them or build with --without-zlib]) 291 fi 292 fi 281 293 AC_SUBST(Z_LIB) 282 294 … … 294 306 ]) 295 307 ]) 308 if test x$BZ_LIB = x; then 309 AC_MSG_ERROR([bzip2-headers and/or libs where not found, install them or build with --without-bzip2]) 310 fi 296 311 fi 297 312 AC_SUBST(BZ_LIB) … … 325 340 AC_CHECK_FUNCS([FAMNoExists]) 326 341 LIBS=$OLD_LIBS 342 343 if test x$FAM_LIBS = x; then 344 AC_MSG_ERROR([fam/gamin-headers and/or libs where not found, install them or build with --without-fam]) 345 fi 327 346 fi 328 347

