summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r--Build/source/texk/xdvik/CHANGES7
-rw-r--r--Build/source/texk/xdvik/acconfig.h386
-rw-r--r--Build/source/texk/xdvik/acinclude.m458
-rw-r--r--Build/source/texk/xdvik/c-auto.in558
-rwxr-xr-xBuild/source/texk/xdvik/configure88
-rw-r--r--Build/source/texk/xdvik/configure.in14
-rw-r--r--Build/source/texk/xdvik/stamp-aclocal1
-rw-r--r--Build/source/texk/xdvik/stamp-auto.in2
-rw-r--r--Build/source/texk/xdvik/withenable.ac24
9 files changed, 333 insertions, 805 deletions
diff --git a/Build/source/texk/xdvik/CHANGES b/Build/source/texk/xdvik/CHANGES
index f2339651005..44c3a01bbdd 100644
--- a/Build/source/texk/xdvik/CHANGES
+++ b/Build/source/texk/xdvik/CHANGES
@@ -9,6 +9,13 @@ Versions containing major changes are marked as `beta'; these
may contain undetected bugs. Such versions shouldn't be used
by distributors.
+ * 2008-02-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+ * acinclude.m4: added quotes to DEFUN's first args, added
+ AC_DEFINES's third arg to provide autoheader templates ...
+ * configure.in, withenable.ac: added AC_DEFINES's third arg to provide
+ autoheader templates ...
+ * acconfig.h: ... removed.
+
* 2008-01-31 Peter Breitenlohner <peb@mppmu.mpg.de>
Convert from autoconf-2.13 to autoconf-2.59+:
* configure.in (AC_PREREQ): Require autoconf-2.59.
diff --git a/Build/source/texk/xdvik/acconfig.h b/Build/source/texk/xdvik/acconfig.h
deleted file mode 100644
index 5f4f8c98b93..00000000000
--- a/Build/source/texk/xdvik/acconfig.h
+++ /dev/null
@@ -1,386 +0,0 @@
-/* regenerate c-auto.in from acconfig.h with:
- /usr/bin/autoheader -m ../etc/autoconf
- then run:
- /usr/bin/autoconf -m ../etc/autoconf
-*/
-/* c-auto.in. Generated automatically from configure.in by autoheader. */
-
-/* Define if using alloca.c. */
-#undef C_ALLOCA
-
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
-
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
-
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if you have the ANSI # stringizing operator in cpp. */
-#undef HAVE_STRINGIZE
-
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have <vfork.h>. */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-#undef pid_t
-
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
-
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-#undef size_t
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
-
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
-
-/* Define if your processor stores words with the most significant
- byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-/* Define if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
-
-/* Define if using alloca.c. */
-#undef C_ALLOCA
-
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
-
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
-
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if you have the ANSI # stringizing operator in cpp. */
-#undef HAVE_STRINGIZE
-
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have <vfork.h>. */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-#undef pid_t
-
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
-
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-#undef size_t
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
-
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
-
-/* Define if your processor stores words with the most significant
- byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-/* Define if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
-
-/* c-auto.in. Generated from configure.in by autoheader. */
-/* Define to determine the integer type to be used in bitmaps. The type used
- will be "unsigned BMTYPE". */
-#define BMTYPE int
-
-/* Define to the length (in bytes) of the above type. */
-#define BMBYTES 4
-
-/* Define if your system has STREAMS (and if X uses it). */
-#undef HAVE_STREAMS
-
-/* Define if you are using SunOS 4.x. */
-#undef SUNOS4
-
-/* Define if you are using Linux 2.1.xxx -- 2.2.8,
- or if you find it necessary. */
-#undef FLAKY_SIGPOLL
-
-/* Define if your system has <poll.h> and poll(). */
-#undef HAVE_POLL
-
-/* Define to use the Xaw toolkit. */
-#undef XAW
-
-/* Define to use the Motif toolkit. */
-#undef MOTIF
-
-/* Define to enable greyscale anti-aliasing for shrunken bitmaps. */
-#undef GREY
-
-/* Define to enable support for color specials. */
-#undef COLOR
-
-/* Define to enable gf format files (in addition to pk format). */
-#undef USE_GF
-
-/* Define to use A4 as the default paper size. */
-#undef A4
-
-/* Define to use hypertex */
-#undef HTEX
-
-/* Define to use ImageMagick */
-#undef MAGICK
-
-/* ??? */
-#undef LDT1LIB
-
-/* Define to compile in t1lib */
-#undef T1LIB
-
-/* Define to compile in t1lib */
-#undef T1LIB
-
-/* Define if your C compiler can do string concatenation */
-#undef HAVE_CC_CONCAT
-
-/* Define if the memicmp() function is in <string.h> */
-#undef HAVE_MEMICMP
-
-/* Define to point to the default command to use for printing (optional). */
-#undef DEFAULT_DVIPS_PATH
-
-/* Define to point to the default command to use for printing (optional). */
-#undef DEFAULT_PS2PDF_PATH
-
-/* Define if you have an old version of the Xaw library */
-#undef HAVE_OLD_XAW
-
-/* Define if you want to use the Xpm library */
-#undef USE_XPM
-
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
- */
-#undef CRAY_STACKSEG_END
-
-/* Define to 1 if using `alloca.c'. */
-#undef C_ALLOCA
-
-/* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- */
-#undef HAVE_ALLOCA_H
-
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#undef HAVE_DOPRNT
-
-/* Define to 1 if cpp supports the ANSI # stringizing operator. */
-#undef HAVE_STRINGIZE
-
-/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define to 1 if you have the <vfork.h> header file. */
-#undef HAVE_VFORK_H
-
-/* Define to 1 if you have the `vprintf' function. */
-#undef HAVE_VPRINTF
-
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-#undef STACK_DIRECTION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
-
-/* Define to 1 if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
-
-/* Define to `int' if <sys/types.h> does not define. */
-#undef pid_t
-
-/* Define to `unsigned' if <sys/types.h> does not define. */
-#undef size_t
-
-/* Define as `fork' if `vfork' does not work. */
-#undef vfork
-
-/* Define to `unsigned long' if <sys/types.h> does not define. */
-#undef uint32_t
-
-/* Define if you have the fchdir function. */
-#undef HAVE_FCHDIR
-
-/* Define if you have the ftruncate function. */
-#undef HAVE_FTRUNCATE
-
-/* Define if you have the getcwd function. */
-#undef HAVE_GETCWD
-
-/* Define if you have the getpwnam function. */
-#undef HAVE_GETPWNAM
-
-/* Define if you have the getpwuid function. */
-#undef HAVE_GETPWUID
-
-/* Define if you have the getuid function. */
-#undef HAVE_GETUID
-
-/* Define if you have the isinf function. */
-#undef HAVE_ISINF
-
-/* Define if you have the lstat function. */
-#undef HAVE_LSTAT
-
-/* Define if you have the memcpy function. */
-#undef HAVE_MEMCPY
-
-/* Define if you have the mkstemp function. */
-#undef HAVE_MKSTEMP
-
-/* Define if you have the realpath function. */
-#undef HAVE_REALPATH
-
-/* Define if you have the setenv function. */
-#undef HAVE_SETENV
-
-/* Define if you have the sigaction function. */
-#undef HAVE_SIGACTION
-
-/* Define if you have the snprintf function. */
-#undef HAVE_SNPRINTF
-
-/* Define if you have the strchr function. */
-#undef HAVE_STRCHR
-
-/* Define if you have the strerror function. */
-#undef HAVE_STRERROR
-
-/* Define if you have the ulltostr function. */
-#undef HAVE_ULLTOSTR
-
-/* Define if you have the vsnprintf function. */
-#undef HAVE_VSNPRINTF
-
-/* Define if the vsnprintf function works. */
-#undef HAVE_GOOD_VSNPRINTF
-
-/* Define if your system allows setsid() within vfork(). */
-#undef HAVE_GOOD_SETSID_VFORK
-
-/* Define if your system allows multiple definitions of functions. */
-#undef LD_ALLOWS_MULTIPLE_DEFINITIONS
-
-/* Define if you have the waitpid function. */
-#undef HAVE_WAITPID
-
-/* Define if you have the <X11/Xmu/Editres.h> header file. */
-#undef HAVE_X11_XMU_EDITRES_H
-
-/* Define if you have the <X11/Xosdefs.h> header file. */
-#undef HAVE_X11_XOSDEFS_H
-
-/* Define if you have the <X11/xpm.h> header file. */
-#undef HAVE_X11_XPM_H
-
-/* Define if you have the <Xm/XpmP.h> header file. */
-#undef HAVE_XM_XPMP_H
-
-/* Define if you have the <xpm.h> header file (not in X11, e.g. Solaris 5.8). */
-#undef HAVE_XPM_H
-
-/* Define if you have the <iconv.h> header file. */
-#undef HAVE_ICONV_H
-
-/* Define if you have the iconv function. */
-#undef HAVE_ICONV
-
-/* Define the type of the iconv input string (char ** or const char **) */
-#undef ICONV_CHAR_PPTR_TYPE
-
-/* Define if you have the <ieeefp.h> header file. */
-#undef HAVE_IEEEFP_H
-
-/* Define if you have the <netdb.h> header file. */
-#undef HAVE_NETDB_H
-
-/* Define if you have the <regex.h> header file. */
-#undef HAVE_REGEX_H
-
-/* Define if you have the <select.h> header file. */
-#undef HAVE_SELECT_H
-
-/* Define if you have the <sys/bsdtypes.h> header file. */
-#undef HAVE_SYS_BSDTYPES_H
-
-/* Define if you have the <sys/fcntl.h> header file. */
-#undef HAVE_SYS_FCNTL_H
-
-/* Define if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
-
-/* Define if you have the <sys/select.h> header file. */
-#undef HAVE_SYS_SELECT_H
-
-/* Define if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Define if the CODESET argument to nl_langinfo works. */
-#undef HAVE_WORKING_NL_LANGINFO_CODESET
-
-/* Define to use Xaw panner. */
-#undef USE_XAW_PANNER
-
-/* Define to use libXp. */
-#undef HAVE_LIB_XP
-
diff --git a/Build/source/texk/xdvik/acinclude.m4 b/Build/source/texk/xdvik/acinclude.m4
index 023354bc00e..be8459aa1fd 100644
--- a/Build/source/texk/xdvik/acinclude.m4
+++ b/Build/source/texk/xdvik/acinclude.m4
@@ -86,10 +86,11 @@ CXXFLAGS="$xdvi_iconv_save_cxxflags"
LDFLAGS="$xdvi_iconv_save_ldflags"
#
if test $xdvi_iconv_char_pptr_type = "const_char_pptr"; then
- AC_DEFINE(ICONV_CHAR_PPTR_TYPE, const char **)
+ AC_DEFINE([ICONV_CHAR_PPTR_TYPE], [const char **],
+ [Define the type of the iconv input string (char ** or const char **)])
AC_MSG_RESULT([const char **])
else
- AC_DEFINE(ICONV_CHAR_PPTR_TYPE, char **)
+ AC_DEFINE([ICONV_CHAR_PPTR_TYPE], [char **])
AC_MSG_RESULT([char **])
fi
AC_LANG_RESTORE]
@@ -145,7 +146,8 @@ xdvi_cv_setsid_in_vfork=no,
# safe value for cross-compiling
xdvi_cv_setsid_in_vfork=no)])
if test $xdvi_cv_setsid_in_vfork = yes; then
- AC_DEFINE(HAVE_GOOD_SETSID_VFORK)
+ AC_DEFINE([HAVE_GOOD_SETSID_VFORK], 1,
+ [Define if your system allows setsid() within vfork().])
fi]
fi)
@@ -171,7 +173,8 @@ x_linker_options=""
if test $xdvi_linker_multiple_defns = yes; then
x_linker_options="-Xlinker --allow-multiple-definition"
LDFLAGS="$xdvi_save_LDFLAGS"
- AC_DEFINE(LD_ALLOWS_MULTIPLE_DEFINITIONS)
+ AC_DEFINE([LD_ALLOWS_MULTIPLE_DEFINITIONS], 1,
+ [Define if your system allows multiple definitions of functions.])
else
LDFLAGS="$xdvi_save_LDFLAGS"
@@ -207,7 +210,7 @@ else
if test $xdvi_linker_multiple_defns = yes; then
AC_MSG_RESULT(yes)
- AC_DEFINE(LD_ALLOWS_MULTIPLE_DEFINITIONS)
+ AC_DEFINE([LD_ALLOWS_MULTIPLE_DEFINITIONS])
else
AC_MSG_RESULT(no)
AC_MSG_WARN([Linker does not allow multiple definitions.
@@ -251,8 +254,10 @@ main()
xdvi_cv_bitmap_type="`cat conftestval`",
AC_MSG_ERROR(could not determine integer type for bitmap))])
eval "$xdvi_cv_bitmap_type"
-AC_DEFINE_UNQUOTED(BMTYPE, $BMTYPE)
-AC_DEFINE_UNQUOTED(BMBYTES, $BMBYTES)
+AC_DEFINE_UNQUOTED([BMTYPE], [$BMTYPE],
+ [Define to determine the integer type to be used in bitmaps.
+ The type used will be "unsigned BMTYPE".])
+AC_DEFINE_UNQUOTED([BMBYTES], [$BMBYTES], [Define to the length (in bytes) of type BMTYPE.])
AC_MSG_RESULT([unsigned $BMTYPE, size = $BMBYTES])])
@@ -265,7 +270,7 @@ AC_DEFUN([XDVI_CC_CONCAT],
], [puts("Testing" " string" " concatenation");
], xdvi_cc_concat=yes, xdvi_cc_concat=no)])
if test $xdvi_cc_concat = yes; then
- AC_DEFINE(HAVE_CC_CONCAT)
+ AC_DEFINE([HAVE_CC_CONCAT], 1, [Define if your C compiler can do string concatenation])
fi])
@@ -281,7 +286,7 @@ choke me
isastream(0);
#endif], xdvi_cv_sys_streams=yes, xdvi_cv_sys_streams=no)])
if test $xdvi_cv_sys_streams = yes; then
- AC_DEFINE(HAVE_STREAMS)
+ AC_DEFINE([HAVE_STREAMS], 1, [Define if your system has STREAMS (and if X uses it).])
fi])
@@ -294,7 +299,7 @@ AC_DEFUN([XDVI_FUNC_POLL],
], [poll((struct pollfd *) 0, 0, 0);],
xdvi_cv_func_poll=yes, xdvi_cv_func_poll=no)])
if test $xdvi_cv_func_poll = yes; then
- AC_DEFINE(HAVE_POLL)
+ AC_DEFINE([HAVE_POLL], 1, [Define if your system has <poll.h> and poll().])
else
AC_CHECK_HEADERS(sys/select.h select.h)
fi])
@@ -310,7 +315,7 @@ AC_DEFUN([XDVI_SYS_SUNOS_4],
*) xdvi_cv_sys_sunos_4=no ;;
esac])
if test $xdvi_cv_sys_sunos_4 = yes; then
- AC_DEFINE(SUNOS4)
+ AC_DEFINE([SUNOS4], 1, [Define if you are using SunOS 4.x.])
fi])
dnl ### Check for certain broken versions of Linux
@@ -323,15 +328,16 @@ AC_DEFUN([XDVI_SYS_OLD_LINUX],
*) xdvi_cv_sys_old_linux=no ;;
esac])
if test $xdvi_cv_sys_old_linux = yes; then
- AC_DEFINE(FLAKY_SIGPOLL)
+ AC_DEFINE([FLAKY_SIGPOLL], 1,
+ [Define if you are using Linux 2.1.xxx -- 2.2.8, or if you find it necessary.])
fi])
dnl ### Process a string argument
-dnl XDVI_ARG_STRING(PACKAGE, HELP-STRING, VARIABLE, DEFAULT_VALUE)
+dnl XDVI_ARG_STRING(PACKAGE, HELP-STRING, VARIABLE, DEFAULT_VALUE, DESCRIPTION)
AC_DEFUN([XDVI_ARG_STRING],
-[AC_ARG_WITH($1, [$2], [AC_DEFINE_UNQUOTED($3, "$withval")
-], [AC_DEFINE($3, [$4])
+[AC_ARG_WITH([$1], [$2], [AC_DEFINE_UNQUOTED($3, ["$withval"], [$5])
+], [AC_DEFINE([$3], [$4])
])])
@@ -371,7 +377,7 @@ xdvi_cv_func_good_vsnprintf=no,
# safe value for cross-compiling
xdvi_cv_func_good_vsnprintf=no)])
if test $xdvi_cv_func_good_vsnprintf = yes; then
- AC_DEFINE(HAVE_GOOD_VSNPRINTF)
+ AC_DEFINE([HAVE_GOOD_VSNPRINTF], 1, [Define if the vsnprintf function works.])
fi])
dnl ### Check for memicmp(), which some installations have in string.h
@@ -382,7 +388,7 @@ AC_DEFUN([AC_FUNC_MEMICMP],
], [(void)memicmp((char *)NULL, (char *)NULL, 0);],
xdvi_cv_memicmp=yes, xdvi_cv_memicmp=no)])
if test $xdvi_cv_memicmp = yes; then
- AC_DEFINE(HAVE_MEMICMP)
+ AC_DEFINE([HAVE_MEMICMP], 1, [Define if the memicmp() function is in <string.h>])
fi])
dnl dnl ### Check for realpath() added by SU 2002/04/10
@@ -492,11 +498,12 @@ dnl moved them out. Peter Breitenlohner <peb@mppmu.mpg.de>
dnl
if test "x$xpm_includes" != x; then
if test "x$xpm_includes" = xdefault; then
- AC_DEFINE(HAVE_X11_XPM_H, 1)
+ AC_DEFINE([HAVE_X11_XPM_H], 1, [Define if you have the <X11/xpm.h> header file.])
elif test -f "$xpm_includes/X11/xpm.h"; then
- AC_DEFINE(HAVE_X11_XPM_H, 1)
+ AC_DEFINE([HAVE_X11_XPM_H], 1)
elif test -f "$xpm_includes/xpm.h"; then
- AC_DEFINE(HAVE_XPM_H, 1)
+ AC_DEFINE([HAVE_XPM_H], 1,
+ [Define if you have the <xpm.h> header file (not in X11, e.g. Solaris 5.8).])
fi
fi
@@ -588,7 +595,7 @@ x_xpm_libs="-lXpm"
# Now check the results of headers and libraries and set USE_XPM to 0
# if one of them hadn't been found.
#
-AC_DEFINE(USE_XPM, 1)
+AC_DEFINE([USE_XPM], 1, [Define if you want to use the Xpm library])
xpm_libraries_result="$xpm_libraries"
xpm_includes_result="$xpm_includes"
if test "x$xpm_libraries_result" = "xdefault" ; then
@@ -762,9 +769,9 @@ fi
motif_libdir_result="$motif_libdir"
motif_include_result="$motif_include"
test "$motif_libdir_result" = "" &&
- motif_libdir_result="in default path" && AC_DEFINE(MOTIF, 1)
+ motif_libdir_result="in default path" && AC_DEFINE([MOTIF], 1, [Define to use the Motif toolkit.])
test "$motif_include_result" = "" &&
- motif_include_result="in default path" && AC_DEFINE(MOTIF, 1)
+ motif_include_result="in default path" && AC_DEFINE([MOTIF], 1)
if test "$motif_libdir_result" = "no"; then
if test "$default_toolkit" = "none"; then
motif_libdir_result="(none)"
@@ -813,7 +820,7 @@ xdvi_use_xaw_panner=yes, xdvi_use_xaw_panner=no
CPPFLAGS=$save_CPPFLAGS
if test $xdvi_use_xaw_panner = yes; then
AC_MSG_RESULT(yes)
- AC_DEFINE(USE_XAW_PANNER)
+ AC_DEFINE([USE_XAW_PANNER], 1, [Define to use Xaw panner.])
else
AC_MSG_RESULT(no)
fi
@@ -1028,7 +1035,8 @@ if test "${with_xdvi_x_toolkit}" = xaw; then
CPPFLAGS=$save_CPPFLAGS
if test $xdvi_old_xaw = yes; then
AC_MSG_RESULT(old)
- AC_DEFINE(HAVE_OLD_XAW)
+ AC_DEFINE([HAVE_OLD_XAW], 1,
+ [Define if you have an old version of the Xaw library])
else
AC_MSG_RESULT(current)
fi
diff --git a/Build/source/texk/xdvik/c-auto.in b/Build/source/texk/xdvik/c-auto.in
index dc4e0669407..cf4595ea96a 100644
--- a/Build/source/texk/xdvik/c-auto.in
+++ b/Build/source/texk/xdvik/c-auto.in
@@ -1,460 +1,322 @@
-/* c-auto.in. Generated automatically from configure.in by autoheader. */
-
-/* Define if using alloca.c. */
-#undef C_ALLOCA
-
-/* Define to empty if the keyword does not work. */
-#undef const
-
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
-
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
-
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if you have the ANSI # stringizing operator in cpp. */
-#undef HAVE_STRINGIZE
-
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have <vfork.h>. */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
+/* c-auto.in. Generated from configure.in by autoheader. */
-/* Define to `int' if <sys/types.h> doesn't define. */
-#undef pid_t
+/* Define to use A4 as the default paper size. */
+#undef A4
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
+/* Define to the length (in bytes) of type BMTYPE. */
+#undef BMBYTES
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-#undef size_t
+/* Define to determine the integer type to be used in bitmaps. The type used
+ will be "unsigned BMTYPE". */
+#undef BMTYPE
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
+/* Define to enable support for color specials. */
+#undef COLOR
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+ systems. This function is required for `alloca.c' support on those systems.
+ */
+#undef CRAY_STACKSEG_END
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
+/* Define to 1 if using `alloca.c'. */
+#undef C_ALLOCA
-/* Define if your processor stores words with the most significant
- byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define to point to the default command to use for printing (optional). */
+#undef DEFAULT_DVIPS_PATH
-/* Define if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
+/* Define to point to the default command to use for printing (optional). */
+#undef DEFAULT_PS2PDF_PATH
-/* Define if using alloca.c. */
-#undef C_ALLOCA
+/* Define if you are using Linux 2.1.xxx -- 2.2.8, or if you find it
+ necessary. */
+#undef FLAKY_SIGPOLL
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
+/* Define to enable greyscale anti-aliasing for shrunken bitmaps. */
+#undef GREY
-/* Define if you have alloca, as a function or macro. */
+/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
#undef HAVE_ALLOCA_H
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
-
-/* Define if you have the ANSI # stringizing operator in cpp. */
-#undef HAVE_STRINGIZE
-
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
-
-/* Define if you have <vfork.h>. */
-#undef HAVE_VFORK_H
-
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-#undef pid_t
-
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
-
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-#undef size_t
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
-
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
+/* Define if your C compiler can do string concatenation */
+#undef HAVE_CC_CONCAT
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+#undef HAVE_DOPRNT
-/* Define if your processor stores words with the most significant
- byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define to 1 if you have the `fchdir' function. */
+#undef HAVE_FCHDIR
-/* Define if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
+/* Define to 1 if you have the `fork' function. */
+#undef HAVE_FORK
-/* Define if using alloca.c. */
-#undef C_ALLOCA
+/* Define to 1 if you have the `ftruncate' function. */
+#undef HAVE_FTRUNCATE
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
-#undef CRAY_STACKSEG_END
+/* Define to 1 if you have the `getcwd' function. */
+#undef HAVE_GETCWD
-/* Define if you have alloca, as a function or macro. */
-#undef HAVE_ALLOCA
+/* Define to 1 if you have the `getpwnam' function. */
+#undef HAVE_GETPWNAM
-/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
-#undef HAVE_ALLOCA_H
+/* Define to 1 if you have the `getpwuid' function. */
+#undef HAVE_GETPWUID
-/* Define if you don't have vprintf but do have _doprnt. */
-#undef HAVE_DOPRNT
+/* Define to 1 if you have the `getuid' function. */
+#undef HAVE_GETUID
-/* Define if you have the ANSI # stringizing operator in cpp. */
-#undef HAVE_STRINGIZE
+/* Define if your system allows setsid() within vfork(). */
+#undef HAVE_GOOD_SETSID_VFORK
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
+/* Define if the vsnprintf function works. */
+#undef HAVE_GOOD_VSNPRINTF
-/* Define if you have <vfork.h>. */
-#undef HAVE_VFORK_H
+/* Define to 1 if you have the `iconv' function. */
+#undef HAVE_ICONV
-/* Define if you have the vprintf function. */
-#undef HAVE_VPRINTF
+/* Define to 1 if you have the <iconv.h> header file. */
+#undef HAVE_ICONV_H
-/* Define to `int' if <sys/types.h> doesn't define. */
-#undef pid_t
+/* Define to 1 if you have the <ieeefp.h> header file. */
+#undef HAVE_IEEEFP_H
-/* Define as the return type of signal handlers (int or void). */
-#undef RETSIGTYPE
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-#undef size_t
+/* Define to 1 if you have the `isinf' function. */
+#undef HAVE_ISINF
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
+/* Define to 1 if you have the <langinfo.h> header file. */
+#undef HAVE_LANGINFO_H
-/* Define if you have the ANSI C header files. */
-#undef STDC_HEADERS
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
-/* Define vfork as fork if vfork does not work. */
-#undef vfork
+/* Define to 1 if you have the `lstat' function. */
+#undef HAVE_LSTAT
-/* Define if your processor stores words with the most significant
- byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define to 1 if you have the `memcpy' function. */
+#undef HAVE_MEMCPY
-/* Define if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
+/* Define if the memicmp() function is in <string.h> */
+#undef HAVE_MEMICMP
-/* c-auto.in. Generated from configure.in by autoheader. */
-/* Define to determine the integer type to be used in bitmaps. The type used
- will be "unsigned BMTYPE". */
-#define BMTYPE int
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
-/* Define to the length (in bytes) of the above type. */
-#define BMBYTES 4
+/* Define to 1 if you have the `mkstemp' function. */
+#undef HAVE_MKSTEMP
-/* Define if your system has STREAMS (and if X uses it). */
-#undef HAVE_STREAMS
+/* Define to 1 if you have the <netdb.h> header file. */
+#undef HAVE_NETDB_H
-/* Define if you are using SunOS 4.x. */
-#undef SUNOS4
+/* Define to 1 if you have the `nl_langinfo' function. */
+#undef HAVE_NL_LANGINFO
-/* Define if you are using Linux 2.1.xxx -- 2.2.8,
- or if you find it necessary. */
-#undef FLAKY_SIGPOLL
+/* Define if you have an old version of the Xaw library */
+#undef HAVE_OLD_XAW
-/* Define if your system has <poll.h> and poll(). */
+/* Define if your system has <poll.h> and poll(). */
#undef HAVE_POLL
-/* Define to use the Xaw toolkit. */
-#undef XAW
-
-/* Define to use the Motif toolkit. */
-#undef MOTIF
+/* Define to 1 if you have the `realpath' function. */
+#undef HAVE_REALPATH
-/* Define to enable greyscale anti-aliasing for shrunken bitmaps. */
-#undef GREY
+/* Define to 1 if you have the <regex.h> header file. */
+#undef HAVE_REGEX_H
-/* Define to enable support for color specials. */
-#undef COLOR
+/* Define to 1 if you have the <select.h> header file. */
+#undef HAVE_SELECT_H
-/* Define to enable gf format files (in addition to pk format). */
-#undef USE_GF
+/* Define to 1 if you have the `setenv' function. */
+#undef HAVE_SETENV
-/* Define to use A4 as the default paper size. */
-#undef A4
+/* Define to 1 if you have the `sigaction' function. */
+#undef HAVE_SIGACTION
-/* Define to use ImageMagick */
-#undef MAGICK
+/* Define to 1 if you have the `snprintf' function. */
+#undef HAVE_SNPRINTF
-/* ??? */
-#undef LDT1LIB
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
-/* Define to compile in t1lib */
-#undef T1LIB
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
-/* Define to compile in t1lib */
-#undef T1LIB
+/* Define to 1 if you have the `strchr' function. */
+#undef HAVE_STRCHR
-/* Define if your C compiler can do string concatenation */
-#undef HAVE_CC_CONCAT
+/* Define if your system has STREAMS (and if X uses it). */
+#undef HAVE_STREAMS
-/* Define if the memicmp() function is in <string.h> */
-#undef HAVE_MEMICMP
+/* Define to 1 if you have the `strerror' function. */
+#undef HAVE_STRERROR
-/* Define to point to the default command to use for printing (optional). */
-#undef DEFAULT_DVIPS_PATH
+/* Define to 1 if cpp supports the ANSI # stringizing operator. */
+#undef HAVE_STRINGIZE
-/* Define to point to the default command to use for printing (optional). */
-#undef DEFAULT_PS2PDF_PATH
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
-/* Define if you have an old version of the Xaw library */
-#undef HAVE_OLD_XAW
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
-/* Define if you want to use the Xpm library */
-#undef USE_XPM
+/* Define to 1 if you have the <sys/bsdtypes.h> header file. */
+#undef HAVE_SYS_BSDTYPES_H
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
- */
-#undef CRAY_STACKSEG_END
+/* Define to 1 if you have the <sys/fcntl.h> header file. */
+#undef HAVE_SYS_FCNTL_H
-/* Define to 1 if using `alloca.c'. */
-#undef C_ALLOCA
+/* Define to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
-/* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
+/* Define to 1 if you have the <sys/select.h> header file. */
+#undef HAVE_SYS_SELECT_H
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- */
-#undef HAVE_ALLOCA_H
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#undef HAVE_DOPRNT
-
-/* Define to 1 if cpp supports the ANSI # stringizing operator. */
-#undef HAVE_STRINGIZE
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H
+/* Define to 1 if you have the `ulltostr' function. */
+#undef HAVE_ULLTOSTR
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the `vfork' function. */
+#undef HAVE_VFORK
+
/* Define to 1 if you have the <vfork.h> header file. */
#undef HAVE_VFORK_H
/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF
-/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-#undef STACK_DIRECTION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define to 1 if you have the `vsnprintf' function. */
+#undef HAVE_VSNPRINTF
-/* Define to 1 if the X Window System is missing or not being used. */
-#undef X_DISPLAY_MISSING
+/* Define to 1 if you have the `waitpid' function. */
+#undef HAVE_WAITPID
-/* Define to `int' if <sys/types.h> does not define. */
-#undef pid_t
+/* Define to 1 if `fork' works. */
+#undef HAVE_WORKING_FORK
-/* Define to `unsigned' if <sys/types.h> does not define. */
-#undef size_t
+/* Define if the CODESET argument to nl_langinfo works. */
+#undef HAVE_WORKING_NL_LANGINFO_CODESET
-/* Define as `fork' if `vfork' does not work. */
-#undef vfork
+/* Define to 1 if `vfork' works. */
+#undef HAVE_WORKING_VFORK
-/* Define to `unsigned long' if <sys/types.h> does not define. */
-#undef uint32_t
+/* Define to 1 if you have the <X11/Intrinsic.h> header file. */
+#undef HAVE_X11_INTRINSIC_H
-/* Define if the vsnprintf function works. */
-#undef HAVE_GOOD_VSNPRINTF
+/* Define to 1 if you have the <X11/Xmu/Editres.h> header file. */
+#undef HAVE_X11_XMU_EDITRES_H
-/* Define if your system allows setsid() within vfork(). */
-#undef HAVE_GOOD_SETSID_VFORK
+/* Define to 1 if you have the <X11/Xmu/Xmu.h> header file. */
+#undef HAVE_X11_XMU_XMU_H
-/* Define if your system allows multiple definitions of functions. */
-#undef LD_ALLOWS_MULTIPLE_DEFINITIONS
+/* Define to 1 if you have the <X11/Xosdefs.h> header file. */
+#undef HAVE_X11_XOSDEFS_H
-/* Define if you have the <X11/xpm.h> header file. */
+/* Define if you have the <X11/xpm.h> header file. */
#undef HAVE_X11_XPM_H
-/* Define if you have the <xpm.h> header file (not in X11, e.g. Solaris 5.8). */
-#undef HAVE_XPM_H
-
-/* Define if you have the <iconv.h> header file. */
-#undef HAVE_ICONV_H
+/* Define to 1 if you have the <Xm/XpmP.h> header file. */
+#undef HAVE_XM_XPMP_H
-/* Define if you have the iconv function. */
-#undef HAVE_ICONV
+/* Define if you have the <xpm.h> header file (not in X11, e.g. Solaris 5.8).
+ */
+#undef HAVE_XPM_H
/* Define the type of the iconv input string (char ** or const char **) */
#undef ICONV_CHAR_PPTR_TYPE
-/* Define if the CODESET argument to nl_langinfo works. */
-#undef HAVE_WORKING_NL_LANGINFO_CODESET
-
-/* Define to use Xaw panner. */
-#undef USE_XAW_PANNER
-
-/* Define if you have the fchdir function. */
-#undef HAVE_FCHDIR
-
-/* Define if you have the ftruncate function. */
-#undef HAVE_FTRUNCATE
-
-/* Define if you have the getcwd function. */
-#undef HAVE_GETCWD
-
-/* Define if you have the getpwnam function. */
-#undef HAVE_GETPWNAM
-
-/* Define if you have the getpwuid function. */
-#undef HAVE_GETPWUID
-
-/* Define if you have the getuid function. */
-#undef HAVE_GETUID
-
-/* Define if you have the iconv function. */
-#undef HAVE_ICONV
-
-/* Define if you have the isinf function. */
-#undef HAVE_ISINF
-
-/* Define if you have the lstat function. */
-#undef HAVE_LSTAT
-
-/* Define if you have the memcpy function. */
-#undef HAVE_MEMCPY
-
-/* Define if you have the mkstemp function. */
-#undef HAVE_MKSTEMP
-
-/* Define if you have the nl_langinfo function. */
-#undef HAVE_NL_LANGINFO
-
-/* Define if you have the realpath function. */
-#undef HAVE_REALPATH
-
-/* Define if you have the setenv function. */
-#undef HAVE_SETENV
-
-/* Define if you have the sigaction function. */
-#undef HAVE_SIGACTION
+/* Define to compile in t1lib (libtool) */
+#undef LDT1LIB
-/* Define if you have the snprintf function. */
-#undef HAVE_SNPRINTF
+/* Define if your system allows multiple definitions of functions. */
+#undef LD_ALLOWS_MULTIPLE_DEFINITIONS
-/* Define if you have the strchr function. */
-#undef HAVE_STRCHR
+/* Define to use ImageMagick */
+#undef MAGICK
-/* Define if you have the strerror function. */
-#undef HAVE_STRERROR
+/* Define to use the Motif toolkit. */
+#undef MOTIF
-/* Define if you have the ulltostr function. */
-#undef HAVE_ULLTOSTR
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
-/* Define if you have the vsnprintf function. */
-#undef HAVE_VSNPRINTF
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
-/* Define if you have the waitpid function. */
-#undef HAVE_WAITPID
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
-/* Define if you have the <X11/Xmu/Editres.h> header file. */
-#undef HAVE_X11_XMU_EDITRES_H
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
-/* Define if you have the <X11/Xmu/Xmu.h> header file. */
-#undef HAVE_X11_XMU_XMU_H
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
-/* Define if you have the <X11/Xosdefs.h> header file. */
-#undef HAVE_X11_XOSDEFS_H
+/* Define as the return type of signal handlers (`int' or `void'). */
+#undef RETSIGTYPE
-/* Define if you have the <X11/xpm.h> header file. */
-#undef HAVE_X11_XPM_H
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at runtime.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
+#undef STACK_DIRECTION
-/* Define if you have the <Xm/XpmP.h> header file. */
-#undef HAVE_XM_XPMP_H
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
-/* Define if you have the <iconv.h> header file. */
-#undef HAVE_ICONV_H
+/* Define if you are using SunOS 4.x. */
+#undef SUNOS4
-/* Define if you have the <ieeefp.h> header file. */
-#undef HAVE_IEEEFP_H
+/* Define to compile in t1lib */
+#undef T1LIB
-/* Define if you have the <langinfo.h> header file. */
-#undef HAVE_LANGINFO_H
+/* Define to enable gf format files (in addition to pk format). */
+#undef USE_GF
-/* Define if you have the <netdb.h> header file. */
-#undef HAVE_NETDB_H
+/* Define to use Xaw panner. */
+#undef USE_XAW_PANNER
-/* Define if you have the <regex.h> header file. */
-#undef HAVE_REGEX_H
+/* Define if you want to use the Xpm library */
+#undef USE_XPM
-/* Define if you have the <select.h> header file. */
-#undef HAVE_SELECT_H
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+#undef WORDS_BIGENDIAN
-/* Define if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
+/* Define to use the Xaw toolkit. */
+#undef XAW
-/* Define if you have the <sys/bsdtypes.h> header file. */
-#undef HAVE_SYS_BSDTYPES_H
+/* Define to 1 if the X Window System is missing or not being used. */
+#undef X_DISPLAY_MISSING
-/* Define if you have the <sys/fcntl.h> header file. */
-#undef HAVE_SYS_FCNTL_H
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
-/* Define if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
+/* Define to `int' if <sys/types.h> does not define. */
+#undef pid_t
-/* Define if you have the <sys/select.h> header file. */
-#undef HAVE_SYS_SELECT_H
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
-/* Define if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
+/* Define to `unsigned long' if <sys/types.h> does not define. */
+#undef uint32_t
-/* Define if you have the m library (-lm). */
-#undef HAVE_LIBM
+/* Define as `fork' if `vfork' does not work. */
+#undef vfork
diff --git a/Build/source/texk/xdvik/configure b/Build/source/texk/xdvik/configure
index 52c5231a09c..3e89b7f8cd1 100755
--- a/Build/source/texk/xdvik/configure
+++ b/Build/source/texk/xdvik/configure
@@ -4613,7 +4613,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_func_good_vsnprintf" >&5
echo "${ECHO_T}$xdvi_cv_func_good_vsnprintf" >&6; }
if test $xdvi_cv_func_good_vsnprintf = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_GOOD_VSNPRINTF 1
_ACEOF
@@ -4671,7 +4672,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_memicmp" >&5
echo "${ECHO_T}$xdvi_cv_memicmp" >&6; }
if test $xdvi_cv_memicmp = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_MEMICMP 1
_ACEOF
@@ -6987,7 +6989,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_setsid_in_vfork" >&5
echo "${ECHO_T}$xdvi_cv_setsid_in_vfork" >&6; }
if test $xdvi_cv_setsid_in_vfork = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_GOOD_SETSID_VFORK 1
_ACEOF
@@ -7045,7 +7048,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cc_concat" >&5
echo "${ECHO_T}$xdvi_cc_concat" >&6; }
if test $xdvi_cc_concat = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CC_CONCAT 1
_ACEOF
@@ -7122,10 +7126,12 @@ fi
fi
eval "$xdvi_cv_bitmap_type"
+
cat >>confdefs.h <<_ACEOF
#define BMTYPE $BMTYPE
_ACEOF
+
cat >>confdefs.h <<_ACEOF
#define BMBYTES $BMBYTES
_ACEOF
@@ -7189,7 +7195,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_sys_streams" >&5
echo "${ECHO_T}$xdvi_cv_sys_streams" >&6; }
if test $xdvi_cv_sys_streams = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STREAMS 1
_ACEOF
@@ -7208,7 +7215,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_sys_sunos_4" >&5
echo "${ECHO_T}$xdvi_cv_sys_sunos_4" >&6; }
if test $xdvi_cv_sys_sunos_4 = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SUNOS4 1
_ACEOF
@@ -7227,7 +7235,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_sys_old_linux" >&5
echo "${ECHO_T}$xdvi_cv_sys_old_linux" >&6; }
if test $xdvi_cv_sys_old_linux = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define FLAKY_SIGPOLL 1
_ACEOF
@@ -7285,7 +7294,8 @@ fi
{ echo "$as_me:$LINENO: result: $xdvi_cv_func_poll" >&5
echo "${ECHO_T}$xdvi_cv_func_poll" >&6; }
if test $xdvi_cv_func_poll = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_POLL 1
_ACEOF
@@ -7541,7 +7551,8 @@ echo "${ECHO_T}$xdvi_linker_multiple_defns" >&6; }
if test $xdvi_linker_multiple_defns = yes; then
x_linker_options="-Xlinker --allow-multiple-definition"
LDFLAGS="$xdvi_save_LDFLAGS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LD_ALLOWS_MULTIPLE_DEFINITIONS 1
_ACEOF
@@ -8515,7 +8526,8 @@ fi
# Check whether --enable-grey was given.
if test "${enable_grey+set}" = set; then
enableval=$enable_grey; if test "$enableval" = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define GREY 1
_ACEOF
@@ -8533,7 +8545,8 @@ fi
# Check whether --enable-color was given.
if test "${enable_color+set}" = set; then
enableval=$enable_color; if test "$enableval" = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define COLOR 1
_ACEOF
@@ -8555,11 +8568,13 @@ if test "${enable_t1lib+set}" = set; then
enableval=$enable_t1lib; if test "$enableval" = yes; then
T1LIB=1
LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LDT1LIB 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define T1LIB 1
_ACEOF
@@ -8585,7 +8600,8 @@ fi
# Check whether --enable-gf was given.
if test "${enable_gf+set}" = set; then
enableval=$enable_gf; if test "$enableval" != no; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_GF 1
_ACEOF
@@ -8598,7 +8614,8 @@ fi
# Check whether --enable-a4 was given.
if test "${enable_a4+set}" = set; then
enableval=$enable_a4; if test "$enableval" = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define A4 1
_ACEOF
@@ -8642,7 +8659,8 @@ if test "${enable_magick+set}" = set; then
X_EXTRA_LIBS="$X_EXTRA_LIBS $MAGIC_LIBDIR $MAGICK_LD"
X_CFLAGS="$X_CFLAGS $MAGIC_INCLUDE $MAGICK_CPP"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define MAGICK 1
_ACEOF
@@ -9155,7 +9173,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test $xdvi_old_xaw = yes; then
{ echo "$as_me:$LINENO: result: old" >&5
echo "${ECHO_T}old" >&6; }
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_OLD_XAW 1
_ACEOF
@@ -9201,9 +9220,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_WORKING_NL_LANGINFO_CODESET 1
_ACEOF
+
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
else
@@ -9504,7 +9525,8 @@ fi
if test "x$xpm_includes" != x; then
if test "x$xpm_includes" = xdefault; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_X11_XPM_H 1
_ACEOF
@@ -9514,7 +9536,8 @@ _ACEOF
_ACEOF
elif test -f "$xpm_includes/xpm.h"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_XPM_H 1
_ACEOF
@@ -9653,6 +9676,7 @@ x_xpm_libs="-lXpm"
# Now check the results of headers and libraries and set USE_XPM to 0
# if one of them hadn't been found.
#
+
cat >>confdefs.h <<\_ACEOF
#define USE_XPM 1
_ACEOF
@@ -9937,7 +9961,8 @@ fi
motif_libdir_result="$motif_libdir"
motif_include_result="$motif_include"
test "$motif_libdir_result" = "" &&
- motif_libdir_result="in default path" && cat >>confdefs.h <<\_ACEOF
+ motif_libdir_result="in default path" &&
+cat >>confdefs.h <<\_ACEOF
#define MOTIF 1
_ACEOF
@@ -10043,7 +10068,8 @@ CPPFLAGS=$save_CPPFLAGS
if test $xdvi_use_xaw_panner = yes; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_XAW_PANNER 1
_ACEOF
@@ -10054,7 +10080,8 @@ fi
elif test "x$with_xdvi_x_toolkit" = xxaw; then
prog_extension="xaw"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define XAW 1
_ACEOF
@@ -10289,7 +10316,8 @@ fi
motif_libdir_result="$motif_libdir"
motif_include_result="$motif_include"
test "$motif_libdir_result" = "" &&
- motif_libdir_result="in default path" && cat >>confdefs.h <<\_ACEOF
+ motif_libdir_result="in default path" &&
+cat >>confdefs.h <<\_ACEOF
#define MOTIF 1
_ACEOF
@@ -10395,7 +10423,8 @@ CPPFLAGS=$save_CPPFLAGS
if test $xdvi_use_xaw_panner = yes; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_XAW_PANNER 1
_ACEOF
@@ -11078,7 +11107,8 @@ CXXFLAGS="$xdvi_iconv_save_cxxflags"
LDFLAGS="$xdvi_iconv_save_ldflags"
#
if test $xdvi_iconv_char_pptr_type = "const_char_pptr"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ICONV_CHAR_PPTR_TYPE const char **
_ACEOF
@@ -11434,7 +11464,8 @@ fi
# Check whether --with-default-dvips-path was given.
if test "${with_default_dvips_path+set}" = set; then
- withval=$with_default_dvips_path; cat >>confdefs.h <<_ACEOF
+ withval=$with_default_dvips_path;
+cat >>confdefs.h <<_ACEOF
#define DEFAULT_DVIPS_PATH "$withval"
_ACEOF
@@ -11451,7 +11482,8 @@ fi
# Check whether --with-default-ps2pdf-path was given.
if test "${with_default_ps2pdf_path+set}" = set; then
- withval=$with_default_ps2pdf_path; cat >>confdefs.h <<_ACEOF
+ withval=$with_default_ps2pdf_path;
+cat >>confdefs.h <<_ACEOF
#define DEFAULT_PS2PDF_PATH "$withval"
_ACEOF
diff --git a/Build/source/texk/xdvik/configure.in b/Build/source/texk/xdvik/configure.in
index 604e455329e..d17c977cb9f 100644
--- a/Build/source/texk/xdvik/configure.in
+++ b/Build/source/texk/xdvik/configure.in
@@ -101,8 +101,10 @@ XDVI_OLD_XAW
dnl nl_langinfo checks
AC_MSG_CHECKING(if nl_langinfo(CODESET) is working)
AC_TRY_LINK([#include <langinfo.h>], [char* cs = nl_langinfo(CODESET);],
- AC_DEFINE(HAVE_WORKING_NL_LANGINFO_CODESET) AC_MSG_RESULT(yes),
- AC_MSG_RESULT(no)
+ [AC_DEFINE([HAVE_WORKING_NL_LANGINFO_CODESET], 1,
+ [Define if the CODESET argument to nl_langinfo works.])
+ AC_MSG_RESULT(yes)],
+ [AC_MSG_RESULT(no)]
)
dnl First, check for libXp and libXext:
@@ -161,7 +163,7 @@ dnl XDVI_FIND_MOTIF also defines $prog_extension, AC_DEFINE(toolkit) and $x_tool
XDVI_FIND_MOTIF(none, "$motif_include", "$motif_libdir")
elif test "x$with_xdvi_x_toolkit" = xxaw; then
prog_extension="xaw"
- AC_DEFINE(XAW)
+ AC_DEFINE([XAW], 1, [Define to use the Xaw toolkit.])
x_tool_libs="-lXaw"
else
dnl Motif with xaw as fallback
@@ -254,12 +256,14 @@ fi
XDVI_ARG_STRING(default-dvips-path,
[ --with-default-dvips-path=CMD
Use CMD as default DVI to PS converter],
-DEFAULT_DVIPS_PATH, "dvips")
+[DEFAULT_DVIPS_PATH], ["dvips"],
+[Define to point to the default command to use for printing (optional).])
XDVI_ARG_STRING(default-ps2pdf-path,
[ --with-default-ps2pdf-path=CMD
Use CMD as default PS to PDF converter],
-DEFAULT_PS2PDF_PATH, "ps2pdf")
+[DEFAULT_PS2PDF_PATH], ["ps2pdf"],
+[Define to point to the default command to use for printing (optional).])
dnl ImageMagick support
PS_DEF="$PS_DEF $MAGICK_DEF"
diff --git a/Build/source/texk/xdvik/stamp-aclocal b/Build/source/texk/xdvik/stamp-aclocal
new file mode 100644
index 00000000000..8fd44ea5d80
--- /dev/null
+++ b/Build/source/texk/xdvik/stamp-aclocal
@@ -0,0 +1 @@
+Fri Feb 29 13:37:42 CET 2008
diff --git a/Build/source/texk/xdvik/stamp-auto.in b/Build/source/texk/xdvik/stamp-auto.in
index 684d91df8ae..7a930a28eed 100644
--- a/Build/source/texk/xdvik/stamp-auto.in
+++ b/Build/source/texk/xdvik/stamp-auto.in
@@ -1 +1 @@
-Mo Aug 22 08:29:17 CEST 2005
+Fri Feb 29 13:37:44 CET 2008
diff --git a/Build/source/texk/xdvik/withenable.ac b/Build/source/texk/xdvik/withenable.ac
index a6bb7495cc5..8a1f6c32f42 100644
--- a/Build/source/texk/xdvik/withenable.ac
+++ b/Build/source/texk/xdvik/withenable.ac
@@ -16,20 +16,20 @@ AC_ARG_ENABLE([grey],
[ --disable-grey Disable greyscale anti-aliasing for shrunken bitmaps]
,
[if test "$enableval" = yes; then
- AC_DEFINE(GREY)
+ AC_DEFINE([GREY], 1, [Define to enable greyscale anti-aliasing for shrunken bitmaps.])
else
echo DISABLED grey
fi],
-[AC_DEFINE(GREY)])
+[AC_DEFINE([GREY], 1)])
AC_ARG_ENABLE([color],
[ --disable-color Disable support for color specials],
[if test "$enableval" = yes; then
- AC_DEFINE(COLOR)
+ AC_DEFINE([COLOR], 1, [Define to enable support for color specials.])
else
echo DISABLED color
fi],
-[AC_DEFINE(COLOR)])
+[AC_DEFINE([COLOR], 1)])
dnl OBSOLETE AC_ARG_ENABLE([buttons],
dnl OBSOLETE [ --disable-buttons Disable buttons on the side of the window],
@@ -54,8 +54,8 @@ AC_ARG_ENABLE([t1lib],
[if test "$enableval" = yes; then
T1LIB=1
LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
- AC_DEFINE(LDT1LIB)
- AC_DEFINE(T1LIB)
+ AC_DEFINE([LDT1LIB], 1, [Define to compile in t1lib (libtool)])
+ AC_DEFINE([T1LIB], 1, [Define to compile in t1lib])
else
T1LIB=
LDT1LIB=
@@ -63,13 +63,13 @@ else
fi],
[T1LIB=1
LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
-AC_DEFINE(LDT1LIB)
-AC_DEFINE(T1LIB)])
+AC_DEFINE([LDT1LIB], 1)
+AC_DEFINE([T1LIB], 1)])
AC_ARG_ENABLE([gf],
[ --enable-gf Enable gf format pixel files (in addition to pk)],
[if test "$enableval" != no; then
- AC_DEFINE(USE_GF)
+ AC_DEFINE([USE_GF], 1, [Define to enable gf format files (in addition to pk format).])
OPT_SRCS="$OPT_SRCS gf.c"
OPT_OBJS="$OPT_OBJS gf.o"
fi])
@@ -77,11 +77,11 @@ fi])
AC_ARG_ENABLE([a4],
[ --disable-a4 Set default paper size to letter and default unit to inch],
[if test "$enableval" = yes; then
- AC_DEFINE(A4)
+ AC_DEFINE([A4], 1, [Define to use A4 as the default paper size.])
else
echo Disabled a4/cm, using letter/in instead
fi],
-[AC_DEFINE(A4)])
+[AC_DEFINE([A4], 1)])
AC_ARG_ENABLE([magick],
[ --enable-magick Use ImageMagick to load/render image files.
@@ -113,7 +113,7 @@ AC_ARG_ENABLE([magick],
X_EXTRA_LIBS="$X_EXTRA_LIBS $MAGIC_LIBDIR $MAGICK_LD"
X_CFLAGS="$X_CFLAGS $MAGIC_INCLUDE $MAGICK_CPP"
- AC_DEFINE(MAGICK)
+ AC_DEFINE([MAGICK], 1, [Define to use ImageMagick])
#echo MAGICK_DEF=\"$MAGICK_DEF\"
else
echo "ImageMagick version too old - ImageMagick support disabled"