]> git.lyx.org Git - features.git/commitdiff
Fix include path for zconf.h
authorGeorg Baum <baum@lyx.org>
Thu, 5 May 2016 17:41:16 +0000 (19:41 +0200)
committerRichard Heck <rgheck@lyx.org>
Sun, 29 May 2016 21:55:43 +0000 (17:55 -0400)
I forgot that in the previous commit, and compilation seemed to work because
I had another zconf.h lying around.

config/lyxinclude.m4

index 965c7ef92001b8d716d62366d5192cdde74d0112..df17da884370f81cda43f058e36b3cb9c688e7d1 100644 (file)
@@ -465,7 +465,7 @@ AC_DEFUN([LYX_USE_INCLUDED_ZLIB],[
   AM_CONDITIONAL(USE_INCLUDED_ZLIB, test x$lyx_cv_with_included_zlib = xyes)
   AC_MSG_RESULT([$lyx_cv_with_included_zlib])
   if test x$lyx_cv_with_included_zlib = xyes ; then
-    ZLIB_INCLUDES='-I$(top_srcdir)/3rdparty/zlib/1.2.8'
+    ZLIB_INCLUDES='-I$(top_srcdir)/3rdparty/zlib/1.2.8 -I$(top_builddir)/3rdparty/zlib'
     ZLIB_LIBS='$(top_builddir)/3rdparty/zlib/liblyxzlib.a'
     mkdir -p 3rdparty/zlib
 dnl include standard config.h for HAVE_UNISTD_H