blob: cbe18c88bc0897b7e85da4cf87bf227c39905a77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- texk/xdvik/configure.ac.orig 2014-04-13 03:58:39 UTC
+++ texk/xdvik/configure.ac
@@ -67,6 +67,16 @@ AS_IF([test "x$enable_a4" = xno],
[AC_MSG_NOTICE([Disabled a4/cm, using letter/in instead])],
[AC_DEFINE([A4], 1, [Define to use A4 as the default paper size.])])
+dnl Kanji support
+AC_DEFINE([PTEX], 1, [Enabled Japanese pTeX support.])
+if pkg-config fontconfig --modversion > /dev/null 2>&1; then
+ AC_MSG_RESULT(adding fontconfig-`pkg-config fontconfig --modversion` library)
+ FONTCONFIGCPPFLAGS="`pkg-config fontconfig --cflags`"
+ LIBS="`pkg-config fontconfig --libs` $LIBS"
+ AC_SUBST(FONTCONFIGCPPFLAGS)
+ AC_DEFINE(HAVE_FONTCONFIG, 1, [Using fontconfig])
+fi
+
AC_CONFIG_HEADERS([c-auto.h:c-auto.in])
AC_FUNC_FORK
@@ -263,6 +273,7 @@ fi
KPSE_KPATHSEA_FLAGS
KPSE_FREETYPE2_FLAGS
+KPSE_ZLIB_FLAGS
XDVI_GS_LIB_PATH
|