summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/ac/synctex.ac
blob: 97d5c0945be59dda165be51a1a466b3f34b41222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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])