]> git.lyx.org Git - features.git/commitdiff
cleanup zlib checking
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Jun 2006 14:07:36 +0000 (14:07 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Jun 2006 14:07:36 +0000 (14:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14100 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac

index e6edf8963042b0d0a027e5d662e20bd9fcb99c9e..8def30f010c2ca8ba52ff854808e679aac7ec9df 100644 (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