cleanup zlib checking

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14100 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-06-14 14:07:36 +00:00
parent 34424bb42d
commit 794247eddd

View File

@ -276,8 +276,8 @@ AC_FUNC_MKDIR
# check for compression support
AC_CHECK_HEADERS(zlib.h,
[AC_CHECK_LIB(z, gzopen, [LIBS="$LIBS -lz"], LYX_ERROR([zlib not found!]))],
[LYX_ERROR([zlib.h not found!])])
[AC_CHECK_LIB(z, gzopen, [LIBS="$LIBS -lz"], LYX_LIB_ERROR(libz,zlib))],
[LYX_LIB_ERROR(zlib.h,zlib)])
dnl This is a slight hack: the tests generated by autoconf 2.52 do not
dnl work correctly because of some conflict with stdlib.h with g++ 2.96