diff options
author | jcid <devnull@localhost> | 2008-05-13 01:11:52 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-13 01:11:52 +0200 |
commit | d44ef978ff96788e6ab9c30f0621e9e1f3418265 (patch) | |
tree | ab7ab564f2ff33baea2d62a9a0996f5b175e0a40 | |
parent | c6ee10ee8581770e349255237f87e58c7291b0ec (diff) |
- Made zlib a configure requirement.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 30 |
2 files changed, 17 insertions, 18 deletions
@@ -98,7 +98,8 @@ dillo-fltk2 - Fix: shape=default is the background in a client-side image map. - Enabled client and server-side image maps. - Switched Window::destroy to Window::delete, fixing side effects. - Patches: place + - Made zlib a configure requirement. + Patches: place (AKA corvid) +- Fixed a problem with locally-installed dpis. - Added code for optional image loading (nice interface) very advanced! - Added an experimental gzip decoder! @@ -108,7 +109,7 @@ dillo-fltk2 - Added support for "charset" in the META element. - Added a_Capi_get_flags(). It requests a cache entry's status as flags. - Switched URL_DATA type from char* to a dStr. - - Implemented the file input control for forms (work in progress). + - Implemented the file input control for forms. Patch: place, Jorge Arellano Cid +- Fixed a cookies-related dillo freeze bug happening at: http://www.fltk.org/newsgroups.php?gfltk.general+v:24912 diff --git a/configure.in b/configure.in index 6613928e..0c6a031f 100644 --- a/configure.in +++ b/configure.in @@ -184,31 +184,29 @@ if test "x$jpeg_ok" = "xyes"; then AC_DEFINE([ENABLE_JPEG], [], [Enable JPEG images]) fi -dnl ------------------------------ -dnl Test for zlib (libpng uses it) -dnl ------------------------------ +dnl ------------- +dnl Test for zlib +dnl ------------- dnl -if test "x$enable_png" = "xyes"; then - AC_CHECK_HEADER(zlib.h, libz_ok=yes, libz_ok=no) +AC_CHECK_HEADER(zlib.h, libz_ok=yes, libz_ok=no) - if test "x$libz_ok" = "xyes"; then - old_libs="$LIBS" - AC_CHECK_LIB(z, zlibVersion, libz_ok=yes, libz_ok=no) - LIBS="$old_libs" - fi +if test "x$libz_ok" = "xyes"; then + old_libs="$LIBS" + AC_CHECK_LIB(z, zlibVersion, libz_ok=yes, libz_ok=no) + LIBS="$old_libs" +fi - if test "x$libz_ok" = xyes; then - LIBZ_LIBS="-lz" - else - AC_MSG_WARN([*** No libz found. Disabling PNG images ***]) - fi +if test "x$libz_ok" = xyes; then + LIBZ_LIBS="-lz" +else + AC_ERROR(zlib must be installed!) fi dnl --------------- dnl Test for libpng dnl --------------- dnl -if test "x$enable_png" = "xyes" && test "x$libz_ok" = "xyes"; then +if test "x$enable_png" = "xyes"; then AC_MSG_CHECKING([for libpng-config]) dnl Check if the user hasn't set the variable $PNG_CONFIG |