The configure scripts show usage of zlib compression

This commit is contained in:
Michiel Broek 2003-11-07 19:59:17 +00:00
parent 42cfa8fd28
commit 963e9d1da4
3 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,8 @@ v0.39.1 22-Oct-2003
general: general:
Make dist now creates bzip2 archives. Make dist now creates bzip2 archives.
Two html pages are now under control of configure. Two html pages are now under control of configure.
The configure scripts shows the use of zlib compression for
Hydra.
upgrade: upgrade:
If you don't have any personal archivers, then remove If you don't have any personal archivers, then remove

6
configure vendored
View File

@ -4461,7 +4461,9 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
ZLIBSUP=Yes
else
ZLIBSUP=No
fi fi
done done
@ -10098,6 +10100,7 @@ echo "$as_me:$LINENO: result:
Configuration summary : Configuration summary :
Version : ..................... ${VERSION} Version : ..................... ${VERSION}
Hydra zlib compression : ...... ${ZLIBSUP}
" >&5 " >&5
echo "${ECHO_T} echo "${ECHO_T}
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
@ -10105,6 +10108,7 @@ echo "${ECHO_T}
Configuration summary : Configuration summary :
Version : ..................... ${VERSION} Version : ..................... ${VERSION}
Hydra zlib compression : ...... ${ZLIBSUP}
" >&6 " >&6
if test x$ac_cv_c_compiler_gnu = xyes ; then if test x$ac_cv_c_compiler_gnu = xyes ; then

View File

@ -126,7 +126,7 @@ fi
AC_CHECK_LIB(z,compress2,result=yes,result=no) AC_CHECK_LIB(z,compress2,result=yes,result=no)
if test "$result" = "yes"; then if test "$result" = "yes"; then
LIBS="$LIBS -lz" LIBS="$LIBS -lz"
AC_CHECK_HEADERS(zlib.h) AC_CHECK_HEADERS(zlib.h,ZLIBSUP=Yes,ZLIBSUP=No)
fi fi
dnl Checks for header files. dnl Checks for header files.
@ -285,6 +285,7 @@ AC_MSG_RESULT([
Configuration summary : Configuration summary :
Version : ..................... ${VERSION} Version : ..................... ${VERSION}
Hydra zlib compression : ...... ${ZLIBSUP}
]) ])
if test x$ac_cv_c_compiler_gnu = xyes ; then if test x$ac_cv_c_compiler_gnu = xyes ; then