diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-25 10:27:56 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-25 10:27:56 +0000 |
commit | 14fdf58582eb34614c899048041260830bf11319 (patch) | |
tree | 24c257e172a5759d4653886820e0debc19a79e75 /Build/source/libs/teckit | |
parent | 1d49a87a191295313dd1fdbce07dfb18ddd65bfc (diff) |
new build system: update
git-svn-id: svn://tug.org/texlive/trunk@12515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/teckit')
-rwxr-xr-x | Build/source/libs/teckit/configure | 10 | ||||
-rw-r--r-- | Build/source/libs/teckit/configure.ac | 9 |
2 files changed, 8 insertions, 11 deletions
diff --git a/Build/source/libs/teckit/configure b/Build/source/libs/teckit/configure index 55d93fee647..b963ee153fc 100755 --- a/Build/source/libs/teckit/configure +++ b/Build/source/libs/teckit/configure @@ -5305,12 +5305,13 @@ fi # don't run any tests for '--disable-build', there may be no zlib. if test "x$enable_build" != xno; then -save_CPPFLAGS=$CPPFLAGS -save_LIBS=$LIBS +kpse_save_CPPFLAGS=$CPPFLAGS +kpse_save_LIBS=$LIBS CPPFLAGS="$CPPFLAGS $ZLIB_INCLUDES" LIBS="$ZLIB_LIBS $LIBS" + { $as_echo "$as_me:$LINENO: checking for compress" >&5 $as_echo_n "checking for compress... " >&6; } if test "${ac_cv_func_compress+set}" = set; then @@ -5565,8 +5566,9 @@ cat >>confdefs.h <<\_ACEOF _ACEOF -CPPFLAGS=$save_CPPFLAGS -LIBS=$save_LIBS +CPPFLAGS=$kpse_save_CPPFLAGS +LIBS=$kpse_save_LIBS + fi diff --git a/Build/source/libs/teckit/configure.ac b/Build/source/libs/teckit/configure.ac index 044349b019a..fa377cd3d89 100644 --- a/Build/source/libs/teckit/configure.ac +++ b/Build/source/libs/teckit/configure.ac @@ -37,18 +37,13 @@ AM_CONDITIONAL([build], [test "x$enable_build" != xno]) # don't run any tests for '--disable-build', there may be no zlib. if test "x$enable_build" != xno; then -save_CPPFLAGS=$CPPFLAGS -save_LIBS=$LIBS - -CPPFLAGS="$CPPFLAGS $ZLIB_INCLUDES" -LIBS="$ZLIB_LIBS $LIBS" +KPSE_ADD_FLAGS([zlib]) AC_CHECK_FUNC([compress], , [AC_ERROR([zlib not found])]) AC_CHECK_HEADERS([zlib.h], , [AC_ERROR([zlib not found])]) AC_DEFINE([HAVE_LIBZ], 1, [Define if you have zlib.]) -CPPFLAGS=$save_CPPFLAGS -LIBS=$save_LIBS +KPSE_RESTORE_FLAGS fi |