>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> There is no error at configure time if compression support is not
>> there. This is not good...

Bo> That is a separate autoconf issue that we can fix later. There
Bo> should be such a thing floating around, at least in the zlib
Bo> community. Let me google (as always)...

Try to replace the whole use-compression block of configure.ac with
something like (untested):

# check for compression support
AC_CHECK_HEADERS(zlib.h, 
  [AC_CHECK_LIB(z, gzopen,[LIBS="$LIBS -lz"], LYX_LIB_ERROR(libz, zlib)])], 
  [LYX_LIB_ERROR(zlib.h, zlib)]))

JMarc

Reply via email to