diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-09 10:53:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-03-09 10:53:09 +0000 |
commit | 741468a4fbc1314e083ec3961934fedbc6a2d90f (patch) | |
tree | 272a135ce5cd21fcd4f42f2baa04a45f47658773 /Build/source/texk/web2c/synctexdir/ac | |
parent | b0cc890be0ceec49e914a5b50cea4428b37044ee (diff) |
texk/web2c: Reorganize rules for libsynctex
git-svn-id: svn://tug.org/texlive/trunk@36470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/ac')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ac/synctex.ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ac/synctex.ac b/Build/source/texk/web2c/synctexdir/ac/synctex.ac index 5ecc2fa085b..c6067463730 100644 --- a/Build/source/texk/web2c/synctexdir/ac/synctex.ac +++ b/Build/source/texk/web2c/synctexdir/ac/synctex.ac @@ -1,20 +1,20 @@ ## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ dnl -dnl Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org> +dnl Copyright (C) 2014, 2015 Peter Breitenlohner <tex-live@tug.org> dnl You may freely use, modify and/or distribute this file. dnl dnl Additional code for synctex dnl -dnl Building libsynctex as shared library requires a system zlib -AM_CONDITIONAL([SYSTEM_ZLIB], [test "x$with_system_zlib" = xyes]) - -AM_CONDITIONAL([SYNCTEX], [test "x$enable_synctex" != xno]) - m4_define([synctex_version], m4_chomp(m4_include([synctexdir/synctex_parser_version.txt]))[.0]) AC_SUBST([SYNCTEXVERSION], [synctex_version]) KPSE_LT_VERSION([synctex]) -AS_IF([test "x$enable_synctex" != xno], - [AC_SUBST([WANTEDLIBS], [libsynctex.la])]) + +AM_CONDITIONAL([SYNCTEX], [test "x$enable_synctex" != xno]) + +dnl Building libsynctex as shared library requires a system zlib +AS_IF([test "x$with_system_zlib" = xyes], + [AC_SUBST([LTLIBSYNCTEX], [libsynctex.la])], + [AC_SUBST([LIBSYNCTEX], [libsynctex.a])]) AC_CONFIG_FILES([synctexdir/synctex.pc]) |