diff -Naur xdvik-22.40p/CHANGES xdvik-22.40q/CHANGES --- xdvik-22.40p/CHANGES Thu Oct 31 00:15:21 2002 +++ xdvik-22.40q/CHANGES Sun Nov 10 15:52:25 2002 @@ -12,6 +12,10 @@ Only major changes are listed (mostly those visible to the user); for a more detailed list of changes, see the CVS logs. + * 22.40q: + + Fixed broken configure check for memicmp(). + + Fixed routine declaration with display postscript. + * 22.40p: + Fixed --version and --help options (#626569) + Fixed a bug with TT fonts in X giving an error with the file diff -Naur xdvik-22.40p/CVS/Entries xdvik-22.40q/CVS/Entries --- xdvik-22.40p/CVS/Entries Thu Oct 31 00:23:40 2002 +++ xdvik-22.40q/CVS/Entries Sun Nov 10 16:32:16 2002 @@ -1,6 +1,6 @@ /.indent.pro/1.1.1.1/Wed Apr 18 14:23:08 2001//Txdvik_22_40_STABLE /BUGS/1.1.1.1/Wed Apr 18 14:23:07 2001//Txdvik_22_40_STABLE -/CHANGES/1.1.6.16/Thu Oct 31 00:15:21 2002//Txdvik_22_40_STABLE +/CHANGES/1.1.6.18/Sun Nov 10 15:52:25 2002//Txdvik_22_40_STABLE /INSTALL/1.4.6.3/Tue Aug 20 22:33:23 2002//Txdvik_22_40_STABLE /Makefile.in/1.5.6.1/Sat Sep 14 00:24:46 2002//Txdvik_22_40_STABLE /README/1.3.8.5/Mon Sep 23 19:48:38 2002//Txdvik_22_40_STABLE diff -Naur xdvik-22.40p/libs/type1/CVS/Entries xdvik-22.40q/libs/type1/CVS/Entries --- xdvik-22.40p/libs/type1/CVS/Entries Thu Oct 31 00:23:14 2002 +++ xdvik-22.40q/libs/type1/CVS/Entries Sun Nov 10 16:31:56 2002 @@ -7,7 +7,7 @@ /arith.c/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE /arith.h/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE /blues.h/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE -/bstring.c/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE +/bstring.c/1.1.2.2/Sun Nov 10 16:19:11 2002//Txdvik_22_40_STABLE /c-auto.in/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE /cluts.h/1.1.2.1/Sat Sep 14 00:24:47 2002//Txdvik_22_40_STABLE /configure/1.1.2.3/Wed Oct 16 22:26:21 2002//Txdvik_22_40_STABLE diff -Naur xdvik-22.40p/libs/type1/bstring.c xdvik-22.40q/libs/type1/bstring.c --- xdvik-22.40p/libs/type1/bstring.c Sat Sep 14 00:24:47 2002 +++ xdvik-22.40q/libs/type1/bstring.c Sun Nov 10 16:19:11 2002 @@ -2,8 +2,11 @@ * A simple memset() in case your ANSI C does not provide it */ +/* SU: disabled it since it doesn't follow the ANSI prototype. */ +#if 0 memset(void *s, int c, int length) { char *p = s; while (length--) *(p++) = c; } +#endif diff -Naur xdvik-22.40p/texk/xdvik/CVS/Entries xdvik-22.40q/texk/xdvik/CVS/Entries --- xdvik-22.40p/texk/xdvik/CVS/Entries Thu Oct 31 00:23:40 2002 +++ xdvik-22.40q/texk/xdvik/CVS/Entries Sun Nov 10 16:32:16 2002 @@ -9,17 +9,17 @@ /README.t1fonts/1.2.4.6/Sat Oct 12 14:51:16 2002//Txdvik_22_40_STABLE /VMS-C.OPT/1.1.1.1/Wed Apr 18 14:24:39 2001//Txdvik_22_40_STABLE /XDVI.RNH/1.1.1.1/Wed Apr 18 14:24:39 2001//Txdvik_22_40_STABLE -/acconfig.h/1.1.4.1/Wed Apr 10 01:14:48 2002//Txdvik_22_40_STABLE -/aclocal.m4/1.2.6.3/Fri Oct 18 23:32:27 2002//Txdvik_22_40_STABLE +/acconfig.h/1.1.4.2/Fri Nov 1 21:23:08 2002//Txdvik_22_40_STABLE +/aclocal.m4/1.2.6.4/Fri Nov 1 12:48:39 2002//Txdvik_22_40_STABLE /alloc-debug.h/1.1.1.1/Wed Apr 18 14:24:39 2001//Txdvik_22_40_STABLE /alloca.c/1.1.1.1.6.2/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE /app-defaults-xdvik/1.1.1.1.6.2/Fri Aug 30 23:49:40 2002//Txdvik_22_40_STABLE -/c-auto.in/1.6.4.6/Fri Oct 18 23:32:27 2002//Txdvik_22_40_STABLE +/c-auto.in/1.6.4.7/Fri Nov 1 21:23:09 2002//Txdvik_22_40_STABLE /c-openmx.h/1.2/Mon May 21 14:19:25 2001//Txdvik_22_40_STABLE -/configure/1.6.4.14/Fri Oct 18 23:32:27 2002//Txdvik_22_40_STABLE -/configure.in/1.7.4.9/Mon Oct 14 23:05:48 2002//Txdvik_22_40_STABLE +/configure/1.6.4.15/Fri Nov 1 12:48:39 2002//Txdvik_22_40_STABLE +/configure.in/1.7.4.10/Fri Nov 1 12:48:40 2002//Txdvik_22_40_STABLE /depend.mk/1.6.4.5/Wed Oct 16 22:26:23 2002//Txdvik_22_40_STABLE -/dvi-draw.c/1.33.4.50/Thu Oct 31 00:10:49 2002//Txdvik_22_40_STABLE +/dvi-draw.c/1.33.4.51/Thu Oct 31 23:46:44 2002//Txdvik_22_40_STABLE /dvi-init.c/1.22.4.17/Mon Oct 21 23:25:17 2002//Txdvik_22_40_STABLE /dvi.h/1.1.1.1/Wed Apr 18 14:24:42 2001//Txdvik_22_40_STABLE /dvips.c/1.3.6.3/Thu Oct 10 18:38:21 2002//Txdvik_22_40_STABLE @@ -27,7 +27,7 @@ /font-open.c/1.3.6.8/Sat Oct 12 16:52:20 2002//Txdvik_22_40_STABLE /gf.c/1.1.1.1.6.1/Thu Sep 19 23:10:04 2002//Txdvik_22_40_STABLE /gs/1.1.1.1/Wed Apr 18 14:24:43 2001//Txdvik_22_40_STABLE -/help-window.c/1.10.4.7/Wed Oct 23 01:18:49 2002//Txdvik_22_40_STABLE +/help-window.c/1.10.4.8/Fri Nov 1 22:45:50 2002//Txdvik_22_40_STABLE /hypertex.c/1.16.4.24/Tue Oct 29 20:09:41 2002//Txdvik_22_40_STABLE /message-window.c/1.15.4.6/Mon Oct 14 23:42:31 2002//Txdvik_22_40_STABLE /message-window.h/1.3.4.2/Tue Aug 6 23:40:26 2002//Txdvik_22_40_STABLE @@ -36,18 +36,18 @@ /my-vsnprintf.c/1.1.1.1.6.3/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE /my-vsnprintf.h/1.1.1.1.6.3/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE /pk.c/1.1.1.1.6.2/Thu Sep 19 23:10:04 2002//Txdvik_22_40_STABLE -/psdps.c/1.1.1.1.6.7/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE +/psdps.c/1.1.1.1.6.8/Sun Nov 10 14:12:27 2002//Txdvik_22_40_STABLE /psgs.c/1.2.4.21/Mon Oct 14 22:48:24 2002//Txdvik_22_40_STABLE /psheader.txt/1.1.1.1/Wed Apr 18 14:24:45 2001//Txdvik_22_40_STABLE /psnews.c/1.1.1.1.6.7/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE /sfDir.c/1.2.6.1/Thu Sep 19 23:10:04 2002//Txdvik_22_40_STABLE -/sfDraw.c/1.2.6.5/Tue Oct 29 20:09:41 2002//Txdvik_22_40_STABLE +/sfDraw.c/1.2.6.6/Sun Nov 10 16:29:59 2002//Txdvik_22_40_STABLE /sfPath.c/1.2.6.3/Fri Oct 18 23:15:20 2002//Txdvik_22_40_STABLE /sfSelFile.c/1.2.6.4/Fri Oct 18 23:15:20 2002//Txdvik_22_40_STABLE /sfinternal.h/1.1.1.1.6.1/Sun Oct 6 15:26:47 2002//Txdvik_22_40_STABLE /special.c/1.5.4.15/Tue Oct 29 20:09:41 2002//Txdvik_22_40_STABLE /squeeze.c/1.2/Mon May 21 14:19:25 2001//Txdvik_22_40_STABLE -/stamp-auto.in/1.2.6.1/Wed Oct 16 22:26:23 2002//Txdvik_22_40_STABLE +/stamp-auto.in/1.2.6.2/Fri Nov 1 21:23:10 2002//Txdvik_22_40_STABLE /startxdvi/1.1.6.2/Tue Aug 6 23:47:53 2002//Txdvik_22_40_STABLE /statusline.c/1.3.6.8/Tue Oct 15 21:15:02 2002//Txdvik_22_40_STABLE /statusline.h/1.1.1.1/Wed Apr 18 14:24:46 2001//Txdvik_22_40_STABLE @@ -56,18 +56,18 @@ /t1mapper/1.1.1.1.6.1/Wed Aug 14 22:50:17 2002//Txdvik_22_40_STABLE /t1mapper.1/1.1.2.3/Mon Mar 4 17:35:11 2002//Txdvik_22_40_STABLE /tfmload.c/1.5.4.1/Sat Sep 14 23:18:44 2002//Txdvik_22_40_STABLE -/util.c/1.12.4.18/Wed Oct 30 09:38:19 2002//Txdvik_22_40_STABLE -/version.h/1.7.4.30/Thu Oct 31 00:10:50 2002//Txdvik_22_40_STABLE +/util.c/1.12.4.20/Mon Nov 4 10:51:01 2002//Txdvik_22_40_STABLE +/version.h/1.7.4.33/Sun Nov 10 14:12:28 2002//Txdvik_22_40_STABLE /vf.c/1.1.1.1.6.2/Thu Oct 10 18:38:22 2002//Txdvik_22_40_STABLE /withenable.ac/1.4.4.3/Sat Aug 24 16:10:05 2002//Txdvik_22_40_STABLE /wwwfetch.c/1.9.4.11/Sat Oct 12 23:59:36 2002//Txdvik_22_40_STABLE /xdvi-config.h/1.3.6.2/Fri Oct 18 23:15:21 2002//Txdvik_22_40_STABLE /xdvi-search.el/1.2.4.4/Thu Sep 12 22:04:29 2002//Txdvik_22_40_STABLE /xdvi-sh/1.1.1.1.6.2/Mon Mar 4 20:03:41 2002//Txdvik_22_40_STABLE -/xdvi.c/1.19.4.35/Thu Oct 31 00:10:50 2002//Txdvik_22_40_STABLE -/xdvi.h/1.16.4.35/Wed Oct 30 02:29:34 2002//Txdvik_22_40_STABLE +/xdvi.c/1.19.4.36/Fri Nov 1 22:45:50 2002//Txdvik_22_40_STABLE +/xdvi.h/1.16.4.36/Fri Nov 1 15:01:46 2002//Txdvik_22_40_STABLE /xdvi.icon/1.1.1.1/Wed Apr 18 14:24:48 2001//Txdvik_22_40_STABLE -/xdvi.man/1.5.4.27/Wed Oct 23 21:43:37 2002//Txdvik_22_40_STABLE +/xdvi.man/1.5.4.28/Fri Nov 1 22:45:50 2002//Txdvik_22_40_STABLE /xdvizilla/1.1.2.1/Sat Oct 12 13:28:50 2002//Txdvik_22_40_STABLE /xdvizilla.1/1.1.2.1/Sat Oct 12 13:28:50 2002//Txdvik_22_40_STABLE /xserver-info.c/1.1.2.2/Thu Oct 31 00:10:50 2002//Txdvik_22_40_STABLE diff -Naur xdvik-22.40p/texk/xdvik/acconfig.h xdvik-22.40q/texk/xdvik/acconfig.h --- xdvik-22.40p/texk/xdvik/acconfig.h Wed Apr 10 01:14:48 2002 +++ xdvik-22.40q/texk/xdvik/acconfig.h Fri Nov 1 21:23:08 2002 @@ -112,16 +112,26 @@ /* Define to compile in t1lib */ #undef T1LIB +/* Define if your C compiler can do string concatenation */ #undef HAVE_CC_CONCAT +/* Define if you have vsnprintf() */ #undef HAVE_VSNPRINTF +/* Define if the memicmp() function is in */ +#undef HAVE_MEMICMP + +/* Define if your system has the realpath() function */ #undef HAVE_REALPATH +/* Define if you have the fchdir function. */ #undef HAVE_FCHDIR +/* Define if you have the getcwd function. */ #undef HAVE_GETCWD +/* Define if you have the lstat function. */ #undef HAVE_LSTAT +/* Define if you want to compile without toolkit. */ #undef NOTOOL diff -Naur xdvik-22.40p/texk/xdvik/aclocal.m4 xdvik-22.40q/texk/xdvik/aclocal.m4 --- xdvik-22.40p/texk/xdvik/aclocal.m4 Fri Oct 18 23:32:27 2002 +++ xdvik-22.40q/texk/xdvik/aclocal.m4 Fri Nov 1 12:48:39 2002 @@ -96,8 +96,8 @@ fi]) dnl ### Check for memicmp(), which some installations have in string.h -AC_DEFUN(AC_FUNC_VSNPRINTF, -[AC_CACHE_CHECK([for vsnprintf], xdvi_cv_vsnprintf, +AC_DEFUN(AC_FUNC_MEMICMP, +[AC_CACHE_CHECK([for memicmp], xdvi_cv_memicmp, [AC_TRY_LINK( [#include ], [(void)memicmp((char *)NULL, (char *)NULL, 0);], diff -Naur xdvik-22.40p/texk/xdvik/c-auto.in xdvik-22.40q/texk/xdvik/c-auto.in --- xdvik-22.40p/texk/xdvik/c-auto.in Fri Oct 18 23:32:27 2002 +++ xdvik-22.40q/texk/xdvik/c-auto.in Fri Nov 1 21:23:09 2002 @@ -100,19 +100,14 @@ /* Define to compile in t1lib */ #undef T1LIB -/* Define if your C compiler can do string concatenation */ #undef HAVE_CC_CONCAT -/* Define if you have vsnprintf() */ #undef HAVE_VSNPRINTF -/* Define if the memicmp() function is in */ #undef HAVE_MEMICMP -/* Define if your system has the realpath() function */ #undef HAVE_REALPATH -/* Define if you want to compile without toolkit support */ #undef NOTOOL /* Define if you have the fchdir function. */ diff -Naur xdvik-22.40p/texk/xdvik/configure xdvik-22.40q/texk/xdvik/configure --- xdvik-22.40p/texk/xdvik/configure Fri Oct 18 23:32:27 2002 +++ xdvik-22.40q/texk/xdvik/configure Fri Nov 1 12:48:39 2002 @@ -1,12 +1,5 @@ #! /bin/sh - - - - - - - # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. @@ -597,7 +590,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:601: checking for $ac_word" >&5 +echo "configure:594: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -628,7 +621,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:632: checking for $ac_word" >&5 +echo "configure:625: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -680,7 +673,7 @@ # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:684: checking for $ac_word" >&5 +echo "configure:677: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -713,7 +706,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:717: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:710: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -724,12 +717,12 @@ cat > conftest.$ac_ext << EOF -#line 728 "configure" +#line 721 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -755,12 +748,12 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:764: checking whether we are using GNU C" >&5 +echo "configure:757: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -769,7 +762,7 @@ yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -788,7 +781,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:792: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:785: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -856,7 +849,7 @@ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:860: checking for a BSD compatible install" >&5 +echo "configure:853: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -911,7 +904,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:915: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:908: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -938,7 +931,7 @@ fi echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:942: checking whether ln -s works" >&5 +echo "configure:935: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -961,12 +954,12 @@ fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:965: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:958: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -975,7 +968,7 @@ struct tm *tp; ; return 0; } EOF -if { (eval echo configure:979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -998,7 +991,7 @@ echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:1002: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:995: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -1017,7 +1010,7 @@ echo $ac_n "checking for loader (symbol LD)""... $ac_c" 1>&6 -echo "configure:1021: checking for loader (symbol LD)" >&5 +echo "configure:1014: checking for loader (symbol LD)" >&5 if eval "test \"`echo '$''{'cf_cv_subst_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1031,7 +1024,7 @@ echo $ac_n "checking for archiver (symbol AR)""... $ac_c" 1>&6 -echo "configure:1035: checking for archiver (symbol AR)" >&5 +echo "configure:1028: checking for archiver (symbol AR)" >&5 if eval "test \"`echo '$''{'cf_cv_subst_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1045,7 +1038,7 @@ echo $ac_n "checking for archiver options (symbol ARFLAGS)""... $ac_c" 1>&6 -echo "configure:1049: checking for archiver options (symbol ARFLAGS)" >&5 +echo "configure:1042: checking for archiver options (symbol ARFLAGS)" >&5 if eval "test \"`echo '$''{'cf_cv_subst_ARFLAGS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1121,7 +1114,7 @@ fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1125: checking host system type" >&5 +echo "configure:1118: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -1153,7 +1146,7 @@ echo $ac_n "checking where the main texmf tree is located""... $ac_c" 1>&6 -echo "configure:1157: checking where the main texmf tree is located" >&5 +echo "configure:1150: checking where the main texmf tree is located" >&5 texmfmain= if test "x$datadir" != 'x${prefix}/share'; then # First case, datadir is defined... @@ -1209,7 +1202,7 @@ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1213: checking how to run the C preprocessor" >&5 +echo "configure:1206: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1224,13 +1217,13 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1241,13 +1234,13 @@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1258,13 +1251,13 @@ rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1289,12 +1282,12 @@ echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1293: checking for ANSI C header files" >&5 +echo "configure:1286: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1302,7 +1295,7 @@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1319,7 +1312,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1337,7 +1330,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1358,7 +1351,7 @@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1369,7 +1362,7 @@ exit (0); } EOF -if { (eval echo configure:1373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -1393,12 +1386,12 @@ fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:1397: checking for pid_t" >&5 +echo "configure:1390: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1427,17 +1420,17 @@ ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 -echo "configure:1431: checking for vfork.h" >&5 +echo "configure:1424: checking for vfork.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1462,18 +1455,18 @@ fi echo $ac_n "checking for working vfork""... $ac_c" 1>&6 -echo "configure:1466: checking for working vfork" >&5 +echo "configure:1459: checking for working vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then echo $ac_n "checking for vfork""... $ac_c" 1>&6 -echo "configure:1472: checking for vfork" >&5 +echo "configure:1465: checking for vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vfork=yes" else @@ -1518,7 +1511,7 @@ ac_cv_func_vfork_works=$ac_cv_func_vfork else cat > conftest.$ac_ext < @@ -1613,7 +1606,7 @@ } } EOF -if { (eval echo configure:1617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_vfork_works=yes else @@ -1636,12 +1629,12 @@ fi echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:1640: checking for vprintf" >&5 +echo "configure:1633: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@ -1688,12 +1681,12 @@ if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:1692: checking for _doprnt" >&5 +echo "configure:1685: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@ -1742,12 +1735,12 @@ # begin additions SU, 2000/03/07 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6 -echo "configure:1746: checking for vsnprintf" >&5 +echo "configure:1739: checking for vsnprintf" >&5 if eval "test \"`echo '$''{'xdvi_cv_vsnprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -1755,7 +1748,7 @@ (void)vsnprintf((char *)NULL, 0, (char *)NULL, NULL); ; return 0; } EOF -if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* xdvi_cv_vsnprintf=yes else @@ -1774,13 +1767,46 @@ EOF fi +echo $ac_n "checking for memicmp""... $ac_c" 1>&6 +echo "configure:1772: checking for memicmp" >&5 +if eval "test \"`echo '$''{'xdvi_cv_memicmp'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < + +int main() { +(void)memicmp((char *)NULL, (char *)NULL, 0); +; return 0; } +EOF +if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + xdvi_cv_memicmp=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + xdvi_cv_memicmp=no +fi +rm -f conftest* +fi + +echo "$ac_t""$xdvi_cv_memicmp" 1>&6 +if test $xdvi_cv_memicmp = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MEMICMP 1 +EOF + +fi echo $ac_n "checking for realpath""... $ac_c" 1>&6 -echo "configure:1779: checking for realpath" >&5 +echo "configure:1805: checking for realpath" >&5 if eval "test \"`echo '$''{'xdvi_cv_realpath'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -1788,7 +1814,7 @@ (void)realpath((const char *)NULL, NULL); ; return 0; } EOF -if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* xdvi_cv_realpath=yes else @@ -1810,19 +1836,19 @@ # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:1814: checking for working alloca.h" >&5 +echo "configure:1840: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -1843,12 +1869,12 @@ fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:1847: checking for alloca" >&5 +echo "configure:1873: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -1908,12 +1934,12 @@ echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:1912: checking whether alloca needs Cray hooks" >&5 +echo "configure:1938: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 -echo "configure:1942: checking for $ac_func" >&5 +echo "configure:1968: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1993,7 +2019,7 @@ fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:1997: checking stack direction for C alloca" >&5 +echo "configure:2023: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2001,7 +2027,7 @@ ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -2043,7 +2069,7 @@ # end additions SU echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 -echo "configure:2047: checking for 8-bit clean memcmp" >&5 +echo "configure:2073: checking for 8-bit clean memcmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2051,7 +2077,7 @@ ac_cv_func_memcmp_clean=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_memcmp_clean=yes else @@ -2079,12 +2105,12 @@ test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:2083: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:2109: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2100,7 +2126,7 @@ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:2104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -2121,12 +2147,12 @@ fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2125: checking return type of signal handlers" >&5 +echo "configure:2151: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2143,7 +2169,7 @@ int i; ; return 0; } EOF -if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -2162,14 +2188,14 @@ echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:2166: checking whether byte ordering is bigendian" >&5 +echo "configure:2192: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -2180,11 +2206,11 @@ #endif ; return 0; } EOF -if { (eval echo configure:2184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -2195,7 +2221,7 @@ #endif ; return 0; } EOF -if { (eval echo configure:2199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -2215,7 +2241,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -2258,7 +2284,7 @@ # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:2262: checking for X" >&5 +echo "configure:2288: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -2320,12 +2346,12 @@ # First, try using that file with no special directory specified. cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2394,14 +2420,14 @@ ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -2509,17 +2535,17 @@ case "`(uname -sr) 2>/dev/null`" in "SunOS 5"*) echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 -echo "configure:2513: checking whether -R must be followed by a space" >&5 +echo "configure:2539: checking whether -R must be followed by a space" >&5 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_nospace=yes else @@ -2535,14 +2561,14 @@ else LIBS="$ac_xsave_LIBS -R $x_libraries" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_R_space=yes else @@ -2580,7 +2606,7 @@ # libraries were built with DECnet support. And karl@cs.umb.edu says # the Alpha needs dnet_stub (dnet does not exist). echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 -echo "configure:2584: checking for dnet_ntoa in -ldnet" >&5 +echo "configure:2610: checking for dnet_ntoa in -ldnet" >&5 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2588,7 +2614,7 @@ ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2621,7 +2647,7 @@ if test $ac_cv_lib_dnet_dnet_ntoa = no; then echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 -echo "configure:2625: checking for dnet_ntoa in -ldnet_stub" >&5 +echo "configure:2651: checking for dnet_ntoa in -ldnet_stub" >&5 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2629,7 +2655,7 @@ ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2669,12 +2695,12 @@ # The nsl library prevents programs from opening the X display # on Irix 5.2, according to dickey@clark.net. echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 -echo "configure:2673: checking for gethostbyname" >&5 +echo "configure:2699: checking for gethostbyname" >&5 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_gethostbyname=yes" else @@ -2718,7 +2744,7 @@ if test $ac_cv_func_gethostbyname = no; then echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:2722: checking for gethostbyname in -lnsl" >&5 +echo "configure:2748: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2726,7 +2752,7 @@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2767,12 +2793,12 @@ # -lsocket must be given before -lnsl if both are needed. # We assume that if connect needs -lnsl, so does gethostbyname. echo $ac_n "checking for connect""... $ac_c" 1>&6 -echo "configure:2771: checking for connect" >&5 +echo "configure:2797: checking for connect" >&5 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_connect=yes" else @@ -2816,7 +2842,7 @@ if test $ac_cv_func_connect = no; then echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 -echo "configure:2820: checking for connect in -lsocket" >&5 +echo "configure:2846: checking for connect in -lsocket" >&5 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2824,7 +2850,7 @@ ac_save_LIBS="$LIBS" LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2859,12 +2885,12 @@ # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. echo $ac_n "checking for remove""... $ac_c" 1>&6 -echo "configure:2863: checking for remove" >&5 +echo "configure:2889: checking for remove" >&5 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_remove=yes" else @@ -2908,7 +2934,7 @@ if test $ac_cv_func_remove = no; then echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 -echo "configure:2912: checking for remove in -lposix" >&5 +echo "configure:2938: checking for remove in -lposix" >&5 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2916,7 +2942,7 @@ ac_save_LIBS="$LIBS" LIBS="-lposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2951,12 +2977,12 @@ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. echo $ac_n "checking for shmat""... $ac_c" 1>&6 -echo "configure:2955: checking for shmat" >&5 +echo "configure:2981: checking for shmat" >&5 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_shmat=yes" else @@ -3000,7 +3026,7 @@ if test $ac_cv_func_shmat = no; then echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 -echo "configure:3004: checking for shmat in -lipc" >&5 +echo "configure:3030: checking for shmat in -lipc" >&5 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3008,7 +3034,7 @@ ac_save_LIBS="$LIBS" LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3052,7 +3078,7 @@ # libraries we check for below, so use a different variable. # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 -echo "configure:3056: checking for IceConnectionNumber in -lICE" >&5 +echo "configure:3082: checking for IceConnectionNumber in -lICE" >&5 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3060,7 +3086,7 @@ ac_save_LIBS="$LIBS" LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3096,12 +3122,12 @@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3100: checking for size_t" >&5 +echo "configure:3126: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3131,12 +3157,12 @@ # XDVI checks by Paul Vojta echo $ac_n "checking whether C compiler supports string concatenation""... $ac_c" 1>&6 -echo "configure:3135: checking whether C compiler supports string concatenation" >&5 +echo "configure:3161: checking whether C compiler supports string concatenation" >&5 if eval "test \"`echo '$''{'xdvi_cc_concat'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3145,7 +3171,7 @@ ; return 0; } EOF -if { (eval echo configure:3149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* xdvi_cc_concat=yes else @@ -3165,7 +3191,7 @@ fi echo $ac_n "checking for integer type to use in bitmaps""... $ac_c" 1>&6 -echo "configure:3169: checking for integer type to use in bitmaps" >&5 +echo "configure:3195: checking for integer type to use in bitmaps" >&5 if eval "test \"`echo '$''{'xdvi_cv_bitmap_type'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3173,7 +3199,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() @@ -3191,7 +3217,7 @@ exit(0); } EOF -if { (eval echo configure:3195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then xdvi_cv_bitmap_type="`cat conftestval`" else @@ -3216,12 +3242,12 @@ echo "$ac_t""unsigned $BMTYPE, size = $BMBYTES" 1>&6 echo $ac_n "checking for stropts.h and isastream()""... $ac_c" 1>&6 -echo "configure:3220: checking for stropts.h and isastream()" >&5 +echo "configure:3246: checking for stropts.h and isastream()" >&5 if eval "test \"`echo '$''{'xdvi_cv_sys_streams'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3233,7 +3259,7 @@ #endif ; return 0; } EOF -if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* xdvi_cv_sys_streams=yes else @@ -3253,7 +3279,7 @@ fi echo $ac_n "checking for SunOS 4""... $ac_c" 1>&6 -echo "configure:3257: checking for SunOS 4" >&5 +echo "configure:3283: checking for SunOS 4" >&5 if eval "test \"`echo '$''{'xdvi_cv_sys_sunos_4'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3272,12 +3298,12 @@ fi echo $ac_n "checking for poll.h and poll()""... $ac_c" 1>&6 -echo "configure:3276: checking for poll.h and poll()" >&5 +echo "configure:3302: checking for poll.h and poll()" >&5 if eval "test \"`echo '$''{'xdvi_cv_func_poll'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -3285,7 +3311,7 @@ poll((struct pollfd *) 0, 0, 0); ; return 0; } EOF -if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* xdvi_cv_func_poll=yes else @@ -3308,17 +3334,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3312: checking for $ac_hdr" >&5 +echo "configure:3338: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3358,7 +3384,7 @@ echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 -echo "configure:3362: checking what warning flags to pass to the C compiler" >&5 +echo "configure:3388: checking what warning flags to pass to the C compiler" >&5 warnCFLAGS= if test "x$GCC" != xyes; then enable_compile_warnings=no @@ -3393,7 +3419,7 @@ echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 -echo "configure:3397: checking what language compliance flags to pass to the C compiler" >&5 +echo "configure:3423: checking what language compliance flags to pass to the C compiler" >&5 complCFLAGS= if test "x$enable_iso_c" != "xno"; then if test "x$GCC" = "xyes"; then @@ -3424,12 +3450,12 @@ for ac_func in mkstemp memcpy strerror waitpid sigaction strchr setenv ulltostr fchdir getcwd lstat do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3428: checking for $ac_func" >&5 +echo "configure:3454: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3482,17 +3508,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3486: checking for $ac_hdr" >&5 +echo "configure:3512: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3665,7 +3691,7 @@ # Extract the first word of "pwd", so it can be a program name with args. set dummy pwd; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3669: checking for $ac_word" >&5 +echo "configure:3695: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_BINPWD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3814,7 +3840,7 @@ # Extract the first word of "$libwww_config", so it can be a program name with args. set dummy $libwww_config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3818: checking for $ac_word" >&5 +echo "configure:3844: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LIBWWW_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3890,17 +3916,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3894: checking for $ac_hdr" >&5 +echo "configure:3920: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3945,7 +3971,7 @@ LDLIBWWW=-lwww libwww_libdir_found=yes echo $ac_n "checking for HTParse in -lwww""... $ac_c" 1>&6 -echo "configure:3949: checking for HTParse in -lwww" >&5 +echo "configure:3975: checking for HTParse in -lwww" >&5 ac_lib_var=`echo www'_'HTParse | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3953,7 +3979,7 @@ ac_save_LIBS="$LIBS" LIBS="-lwww $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4066,7 +4092,7 @@ if test "$with_system_t1lib" = yes; then echo $ac_n "checking for T1_AddFont in -lt1""... $ac_c" 1>&6 -echo "configure:4070: checking for T1_AddFont in -lt1" >&5 +echo "configure:4096: checking for T1_AddFont in -lt1" >&5 ac_lib_var=`echo t1'_'T1_AddFont | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4074,7 +4100,7 @@ ac_save_LIBS="$LIBS" LIBS="-lt1 -lz -lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4112,13 +4138,13 @@ LDFLAGS="$LDFLAGS $EXTRA_LIBT1_LIBDIR -lt1 -lm" if test "$with_system_t1lib" = yes; then echo $ac_n "checking whether installed T1 lib is >= v 1.3.1 ""... $ac_c" 1>&6 -echo "configure:4116: checking whether installed T1 lib is >= v 1.3.1 " >&5 +echo "configure:4142: checking whether installed T1 lib is >= v 1.3.1 " >&5 if test "$cross_compiling" = yes; then ac_compile_t1lib=1 ] else cat > conftest.$ac_ext < @@ -4149,7 +4175,7 @@ } EOF -if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_compile_t1lib=0 else @@ -4202,7 +4228,7 @@ XLFLAG= fi echo $ac_n "checking for XextCreateExtension in -lXext""... $ac_c" 1>&6 -echo "configure:4206: checking for XextCreateExtension in -lXext" >&5 +echo "configure:4232: checking for XextCreateExtension in -lXext" >&5 ac_lib_var=`echo Xext'_'XextCreateExtension | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4210,7 +4236,7 @@ ac_save_LIBS="$LIBS" LIBS="-lXext -lX11 $X_EXTRA_LIBS $XLFLAG $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4277,7 +4303,7 @@ echo "$ac_t""adding DPS includes and libraries for Solaris" 1>&6 X_CFLAGS="$X_CFLAGS -I/usr/openwin/include/X11" echo $ac_n "checking for isinf in -lsunmath""... $ac_c" 1>&6 -echo "configure:4281: checking for isinf in -lsunmath" >&5 +echo "configure:4307: checking for isinf in -lsunmath" >&5 ac_lib_var=`echo sunmath'_'isinf | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4285,7 +4311,7 @@ ac_save_LIBS="$LIBS" LIBS="-lsunmath $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4323,12 +4349,12 @@ for ac_func in isinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4327: checking for $ac_func" >&5 +echo "configure:4353: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4379,17 +4405,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4383: checking for $ac_hdr" >&5 +echo "configure:4409: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4427,7 +4453,7 @@ # needed for web2c later than 7.3.4: echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:4431: checking for main in -lm" >&5 +echo "configure:4457: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4435,14 +4461,14 @@ ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else diff -Naur xdvik-22.40p/texk/xdvik/configure.in xdvik-22.40q/texk/xdvik/configure.in --- xdvik-22.40p/texk/xdvik/configure.in Mon Oct 14 23:05:48 2002 +++ xdvik-22.40q/texk/xdvik/configure.in Fri Nov 1 12:48:40 2002 @@ -16,6 +16,7 @@ AC_FUNC_VPRINTF # begin additions SU, 2000/03/07 AC_FUNC_VSNPRINTF +AC_FUNC_MEMICMP AC_FUNC_REALPATH AC_FUNC_ALLOCA # end additions SU diff -Naur xdvik-22.40p/texk/xdvik/dvi-draw.c xdvik-22.40q/texk/xdvik/dvi-draw.c --- xdvik-22.40p/texk/xdvik/dvi-draw.c Thu Oct 31 00:10:49 2002 +++ xdvik-22.40q/texk/xdvik/dvi-draw.c Thu Oct 31 23:46:44 2002 @@ -4028,7 +4028,6 @@ "xdvi: Warning: %s: entry for font \"%s\" on line %d overrides previous entry.\n", mapfile, texname, lineno); - free(fontmaps[curr_idx].texname); free(fontmaps[curr_idx].filename); free(fontmaps[curr_idx].pathname); } @@ -4047,12 +4046,12 @@ TRACE_T1((stderr, "Enlarged the fontmap from %d to %d entries", curr_idx, g_maxmap)); } + fontmaps[curr_idx].texname = xstrdup(texname); } if (alias == NULL) alias = texname; - fontmaps[curr_idx].texname = xstrdup(texname); if (idx == -1) { /* save into hash */ diff -Naur xdvik-22.40p/texk/xdvik/help-window.c xdvik-22.40q/texk/xdvik/help-window.c --- xdvik-22.40p/texk/xdvik/help-window.c Wed Oct 23 01:18:49 2002 +++ xdvik-22.40q/texk/xdvik/help-window.c Fri Nov 1 22:45:50 2002 @@ -422,13 +422,14 @@ static _Xconst char *default_help_mousebuttons[] = { "\n", - "Mouse buttons\n", + "Mouse bindings\n", "\n", "\n", "The mouse buttons can be customized just like the keys;\n", "however the bindings cannot be intermixed (since\n", "a mouse event always requires the pointer location\n", "to be present, which a key event doesn't).\n", + "The default bindings are as follows:\n" "\n", "Buttons 1-3\n", " Pops up a magnifier window at different sizes.\n", @@ -443,7 +444,7 @@ "\n", "Ctrl-Button1\n", " Invoke a reverse search for the text on the cursor\n", - " location (see the section INVERSE SEARCH for more\n", + " location (see the section SOURCE SPECIALS for more\n", " information on this).\n", "\n", NULL diff -Naur xdvik-22.40p/texk/xdvik/psdps.c xdvik-22.40q/texk/xdvik/psdps.c --- xdvik-22.40p/texk/xdvik/psdps.c Tue Oct 15 21:15:02 2002 +++ xdvik-22.40q/texk/xdvik/psdps.c Sun Nov 10 14:12:27 2002 @@ -344,7 +344,7 @@ /*---------------------------------------------------------------------------* - toggleDPS(int flag) + toggleDPS(void) Arguments: flag for toggling PostScript Returns: (void) @@ -356,7 +356,7 @@ +----------------------------------------------------------------------------*/ static void -toggleDPS(int flag) +toggleDPS(void) { if (debug & DBG_PS) Puts("Toggling DPS on or off"); diff -Naur xdvik-22.40p/texk/xdvik/sfDraw.c xdvik-22.40q/texk/xdvik/sfDraw.c --- xdvik-22.40p/texk/xdvik/sfDraw.c Tue Oct 29 20:09:41 2002 +++ xdvik-22.40q/texk/xdvik/sfDraw.c Sun Nov 10 16:29:59 2002 @@ -40,6 +40,8 @@ #include #include +extern int get_avg_font_width(XFontStruct *font); + #define SF_DEFAULT_FONT "9x15" #ifdef ABS diff -Naur xdvik-22.40p/texk/xdvik/stamp-auto.in xdvik-22.40q/texk/xdvik/stamp-auto.in --- xdvik-22.40p/texk/xdvik/stamp-auto.in Wed Oct 16 22:26:23 2002 +++ xdvik-22.40q/texk/xdvik/stamp-auto.in Fri Nov 1 21:23:10 2002 @@ -1 +1 @@ -Wed Oct 16 23:17:22 BST 2002 +Fri Nov 1 21:10:01 GMT 2002 diff -Naur xdvik-22.40p/texk/xdvik/util.c xdvik-22.40q/texk/xdvik/util.c --- xdvik-22.40p/texk/xdvik/util.c Wed Oct 30 09:38:19 2002 +++ xdvik-22.40q/texk/xdvik/util.c Mon Nov 4 10:51:01 2002 @@ -35,6 +35,8 @@ #ifndef HAVE_MEMICMP #include +#else +#include /* this might define memicmp() */ #endif #include @@ -180,7 +182,7 @@ #ifdef HTEX htex_cleanup(); #endif - exit(2); + exit(status); } diff -Naur xdvik-22.40p/texk/xdvik/version.h xdvik-22.40q/texk/xdvik/version.h --- xdvik-22.40p/texk/xdvik/version.h Thu Oct 31 00:10:50 2002 +++ xdvik-22.40q/texk/xdvik/version.h Sun Nov 10 14:12:28 2002 @@ -1,4 +1,4 @@ -#define XDVERSION "22.40p" +#define XDVERSION "22.40q" #ifdef Omega #define TVERSION XDVERSION" for Omega" #else diff -Naur xdvik-22.40p/texk/xdvik/xdvi.c xdvik-22.40q/texk/xdvik/xdvi.c --- xdvik-22.40p/texk/xdvik/xdvi.c Thu Oct 31 00:10:50 2002 +++ xdvik-22.40q/texk/xdvik/xdvi.c Fri Nov 1 22:45:50 2002 @@ -872,7 +872,7 @@ {"helpPagemotion", "HelpPagemotion", XtRString, sizeof(char *), offset(_help_pagemotion), XtRString, NULL}, {"helpMousebuttonsMenulabel", "HelpMousebuttonsMenulabel", XtRString, sizeof(char *), - offset(_help_mousebuttons_menulabel), XtRString, "Mouse buttons"}, + offset(_help_mousebuttons_menulabel), XtRString, "Mouse bindings"}, {"helpMousebuttons", "HelpMousebuttons", XtRString, sizeof(char *), offset(_help_mousebuttons), XtRString, NULL}, {"helpSourcespecialsMenulabel", "HelpSourcespecialsMenulabel", XtRString, sizeof(char *), diff -Naur xdvik-22.40p/texk/xdvik/xdvi.h xdvik-22.40q/texk/xdvik/xdvi.h --- xdvik-22.40p/texk/xdvik/xdvi.h Wed Oct 30 02:29:34 2002 +++ xdvik-22.40q/texk/xdvik/xdvi.h Fri Nov 1 15:01:46 2002 @@ -1191,7 +1191,10 @@ extern void expandline ARGS((size_t)); extern void alloc_bitmap ARGS((struct bitmap *)); +#ifndef HAVE_MEMICMP extern int memicmp ARGS((_Xconst char *, _Xconst char *, size_t)); +#endif + extern FILE *xfopen ARGS((_Xconst char *, OPEN_MODE_ARGS)); #ifdef HTEX extern FILE *xfopen_local ARGS((_Xconst char *, OPEN_MODE_ARGS)); diff -Naur xdvik-22.40p/texk/xdvik/xdvi.man xdvik-22.40q/texk/xdvik/xdvi.man --- xdvik-22.40p/texk/xdvik/xdvi.man Wed Oct 23 21:43:37 2002 +++ xdvik-22.40q/texk/xdvik/xdvi.man Fri Nov 1 22:45:50 2002 @@ -1559,7 +1559,7 @@ opens a new instance of xdvi with the link target. In both cases, the location of the target is indicated by a small arrow drawn in -.highlight +.B highlight color in the left corner of the window. .PP