diff options
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/ac/synctex.ac')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/ac/synctex.ac | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/synctexdir/ac/synctex.ac b/Build/source/texk/web2c/synctexdir/ac/synctex.ac new file mode 100644 index 00000000000..97d5c0945be --- /dev/null +++ b/Build/source/texk/web2c/synctexdir/ac/synctex.ac @@ -0,0 +1,21 @@ +## texk/web2c/synctexdir/ac/synctex.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/ +dnl Copyright 2018 Karl Berry <tex-live@tug.org> +dnl Copyright 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 +m4_define([synctex_version], + m4_chomp(m4_include([synctexdir/synctex_parser_api_level.txt]))) +AC_SUBST([SYNCTEXVERSION], [synctex_version]) +KPSE_LT_VERSION([synctex]) + +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]) + |