summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/xdvi-config.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/xdvik/xdvi-config.h
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/xdvi-config.h')
-rw-r--r--Build/source/texk/xdvik/xdvi-config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/xdvi-config.h b/Build/source/texk/xdvik/xdvi-config.h
new file mode 100644
index 00000000000..0fb60e3c035
--- /dev/null
+++ b/Build/source/texk/xdvik/xdvi-config.h
@@ -0,0 +1,37 @@
+/* xdvi-config.h: master configuration file, included first by all
+ compilable source files (not headers). */
+
+#ifndef CONFIG_H_
+#define CONFIG_H_
+
+/* Some xdvi options we want by default. */
+#define USE_PK
+#define USE_GF
+#define MAKEPK
+
+/* all others are defined in this file */
+#include "c-auto.h"
+
+#ifndef HAVE_VPRINTF
+#ifdef HAVE_DOPRNT
+#define vfprintf(stream, message, args) _doprnt(message, args, stream)
+/* If we have neither, should fall back to fprintf with fixed args. */
+#endif
+#endif
+
+/* XPM is used for the toolbar buttons and in xicon.c */
+#if USE_XPM
+# if defined(HAVE_X11_XPM_H) || defined(HAVE_XM_XPMP_H) || defined(HAVE_XPM_H)
+# define HAVE_XPM 1
+# else
+# define HAVE_XPM 0
+# endif
+#endif
+
+/* enable X server info output */
+#define XSERVER_INFO 1
+
+/* change this to 1 when #470325 is fixed */
+#define FIXED_FLUSHING_PAGING 0
+
+#endif /* not CONFIG_H_ */