mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
34424bb42d
commit
794247eddd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user