mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
tweaks to zlib support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14099 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8fa0d2ccb3
commit
54f6bcd13f
@ -1,3 +1,7 @@
|
||||
2006-06-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* configure.ac: improve test for zlib.
|
||||
|
||||
2006-05-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* configure.ac: improve check for shlwapi.
|
||||
|
@ -257,8 +257,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
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-06-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* gzstream.h: do not test for HAVE_ZLIB_H, since we require it
|
||||
anyway.
|
||||
|
||||
2006-05-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* os_unix.C (canAutoOpenFile, autoOpenFile): add support for Mac
|
||||
|
@ -32,9 +32,7 @@
|
||||
// standard C++ with new header file names and std:: namespace
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#ifdef HAVE_ZLIB_H
|
||||
# include <zlib.h>
|
||||
#endif
|
||||
#include <zlib.h>
|
||||
|
||||
// For LyX
|
||||
#define GZSTREAM_NAMESPACE gz
|
||||
|
Loading…
Reference in New Issue
Block a user