home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / unixtex-6.1b-diffs.lha / GNU / diffs / unixtex-6.1b.diffs
Encoding:
Text File  |  1995-04-14  |  351.6 KB  |  11,680 lines

  1. diff -rc --new-file unixtex-6.1b-base/Makefile.in unixtex-6.1b/Makefile.in
  2. *** unixtex-6.1b-base/Makefile.in    Sun Jan  8 17:20:14 1995
  3. --- unixtex-6.1b/Makefile.in    Tue Apr  4 08:48:00 1995
  4. ***************
  5. *** 1,7 ****
  6.   # Top-level Makefile for kpathsea-using programs.
  7.   
  8.   # Package subdirectories, the library, and all subdirectories.
  9. ! programs = dviljk dvipsk gsftopkk web2c xdvik
  10.   kpathsea_dir = kpathsea
  11.   all_dirs = $(programs) $(kpathsea_dir)
  12.   
  13. --- 1,7 ----
  14.   # Top-level Makefile for kpathsea-using programs.
  15.   
  16.   # Package subdirectories, the library, and all subdirectories.
  17. ! programs = dviljk dvipsk gsftopkk web2c #xdvik
  18.   kpathsea_dir = kpathsea
  19.   all_dirs = $(programs) $(kpathsea_dir)
  20.   
  21. ***************
  22. *** 29,37 ****
  23. --- 29,47 ----
  24.       for d in $(programs); do if test -d $$d; then \
  25.         (cd $$d; $(MAKE) $(makeargs) $@); else true; fi; done
  26.   
  27. + # After doing an install, update the texmf directory with the
  28. + # latest distribution files, then create the ls-R database.  Note
  29. + # that on the Amiga we have to create a temporary file first, in
  30. + # a location other than where we are doing the ls -R, otherwise
  31. + # the ls-R file will contain an error message that ls cannot
  32. + # open it.
  33.   install install-data install-exec:
  34.       for d in kpathsea $(programs); do if test -d $$d; then \
  35.         (cd $$d; $(MAKE) $(installargs) $@); else true; fi; done
  36. +     cp -r $(srcdir)/texmf $(datadir)
  37. +     ls -R $(datadir)/texmf >/tmp/ls-R
  38. +     cp /tmp/ls-R $(datadir)/texmf/ls-R
  39. +     rm -f /tmp/ls-R
  40.   
  41.   # Other standard targets for everything.
  42.   uninstall uninstall-exec uninstall-data \
  43. diff -rc --new-file unixtex-6.1b-base/configure unixtex-6.1b/configure
  44. *** unixtex-6.1b-base/configure    Fri Jan  6 14:41:38 1995
  45. --- unixtex-6.1b/configure    Sun Apr  2 23:09:02 1995
  46. ***************
  47. *** 9,15 ****
  48.   
  49.   # Defaults:
  50.   ac_help=
  51. ! ac_default_prefix=/usr/local
  52.   # Any additions from configure.in:
  53.   
  54.   # Initialize some variables set by options.
  55. --- 9,15 ----
  56.   
  57.   # Defaults:
  58.   ac_help=
  59. ! ac_default_prefix=/gnu
  60.   # Any additions from configure.in:
  61.   
  62.   # Initialize some variables set by options.
  63. ***************
  64. *** 49,55 ****
  65.     fi
  66.   
  67.     case "$ac_option" in
  68. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  69.     *) ac_optarg= ;;
  70.     esac
  71.   
  72. --- 49,55 ----
  73.     fi
  74.   
  75.     case "$ac_option" in
  76. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  77.     *) ac_optarg= ;;
  78.     esac
  79.   
  80. ***************
  81. *** 70,90 ****
  82.       cache_file="$ac_optarg" ;;
  83.   
  84.     -disable-* | --disable-*)
  85. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  86.       # Reject names that are not valid shell variable names.
  87. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  88. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  89.       fi
  90. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  91.       eval "enable_${ac_feature}=no" ;;
  92.   
  93.     -enable-* | --enable-*)
  94. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  95.       # Reject names that are not valid shell variable names.
  96. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  97. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  98.       fi
  99. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  100.       case "$ac_option" in
  101.         *=*) ;;
  102.         *) ac_optarg=yes ;;
  103. --- 70,90 ----
  104.       cache_file="$ac_optarg" ;;
  105.   
  106.     -disable-* | --disable-*)
  107. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  108.       # Reject names that are not valid shell variable names.
  109. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  110. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  111.       fi
  112. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  113.       eval "enable_${ac_feature}=no" ;;
  114.   
  115.     -enable-* | --enable-*)
  116. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  117.       # Reject names that are not valid shell variable names.
  118. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  119. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  120.       fi
  121. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  122.       case "$ac_option" in
  123.         *=*) ;;
  124.         *) ac_optarg=yes ;;
  125. ***************
  126. *** 216,231 ****
  127.       verbose=yes ;;
  128.   
  129.     -version | --version | --versio | --versi | --vers)
  130. !     echo "configure generated by autoconf version 2.1"
  131.       exit 0 ;;
  132.   
  133.     -with-* | --with-*)
  134. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  135.       # Reject names that are not valid shell variable names.
  136. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  137. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  138.       fi
  139. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  140.       case "$ac_option" in
  141.         *=*) ;;
  142.         *) ac_optarg=yes ;;
  143. --- 216,231 ----
  144.       verbose=yes ;;
  145.   
  146.     -version | --version | --versio | --versi | --vers)
  147. !     /bin/echo "configure generated by autoconf version 2.1"
  148.       exit 0 ;;
  149.   
  150.     -with-* | --with-*)
  151. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  152.       # Reject names that are not valid shell variable names.
  153. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  154. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  155.       fi
  156. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  157.       case "$ac_option" in
  158.         *=*) ;;
  159.         *) ac_optarg=yes ;;
  160. ***************
  161. *** 233,244 ****
  162.       eval "with_${ac_package}='$ac_optarg'" ;;
  163.   
  164.     -without-* | --without-*)
  165. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  166.       # Reject names that are not valid shell variable names.
  167. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  168. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  169.       fi
  170. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  171.       eval "with_${ac_package}=no" ;;
  172.   
  173.     --x)
  174. --- 233,244 ----
  175.       eval "with_${ac_package}='$ac_optarg'" ;;
  176.   
  177.     -without-* | --without-*)
  178. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  179.       # Reject names that are not valid shell variable names.
  180. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  181. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  182.       fi
  183. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  184.       eval "with_${ac_package}=no" ;;
  185.   
  186.     --x)
  187. ***************
  188. *** 259,273 ****
  189.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  190.       x_libraries="$ac_optarg" ;;
  191.   
  192. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  193.       ;;
  194.   
  195.     *) 
  196. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  197. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  198.       fi
  199.       if test "x$nonopt" != xNONE; then
  200. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  201.       fi
  202.       nonopt="$ac_option"
  203.       ;;
  204. --- 259,273 ----
  205.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  206.       x_libraries="$ac_optarg" ;;
  207.   
  208. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  209.       ;;
  210.   
  211.     *) 
  212. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  213. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  214.       fi
  215.       if test "x$nonopt" != xNONE; then
  216. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  217.       fi
  218.       nonopt="$ac_option"
  219.       ;;
  220. ***************
  221. *** 276,282 ****
  222.   done
  223.   
  224.   if test -n "$ac_prev"; then
  225. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  226.   fi
  227.   
  228.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  229. --- 276,282 ----
  230.   done
  231.   
  232.   if test -n "$ac_prev"; then
  233. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  234.   fi
  235.   
  236.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  237. ***************
  238. *** 295,301 ****
  239.   fi
  240.   exec 5>./config.log
  241.   
  242. ! echo "\
  243.   This file contains any messages produced by compilers while
  244.   running configure, to aid debugging if configure makes a mistake.
  245.   " 1>&5
  246. --- 295,301 ----
  247.   fi
  248.   exec 5>./config.log
  249.   
  250. ! /bin/echo "\
  251.   This file contains any messages produced by compilers while
  252.   running configure, to aid debugging if configure makes a mistake.
  253.   " 1>&5
  254. ***************
  255. *** 326,332 ****
  256.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  257.   rm -rf conftest* confdefs.h
  258.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  259. ! echo > confdefs.h
  260.   
  261.   # A filename unique to this package, relative to the directory that
  262.   # configure is in, which we can look for to find out if srcdir is correct.
  263. --- 326,332 ----
  264.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  265.   rm -rf conftest* confdefs.h
  266.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  267. ! /bin/echo > confdefs.h
  268.   
  269.   # A filename unique to this package, relative to the directory that
  270.   # configure is in, which we can look for to find out if srcdir is correct.
  271. ***************
  272. *** 337,343 ****
  273.     ac_srcdir_defaulted=yes
  274.     # Try the directory containing this script, then its parent.
  275.     ac_prog=$0
  276. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  277.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  278.     srcdir=$ac_confdir
  279.     if test ! -r $srcdir/$ac_unique_file; then
  280. --- 337,343 ----
  281.     ac_srcdir_defaulted=yes
  282.     # Try the directory containing this script, then its parent.
  283.     ac_prog=$0
  284. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  285.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  286.     srcdir=$ac_confdir
  287.     if test ! -r $srcdir/$ac_unique_file; then
  288. ***************
  289. *** 348,359 ****
  290.   fi
  291.   if test ! -r $srcdir/$ac_unique_file; then
  292.     if test "$ac_srcdir_defaulted" = yes; then
  293. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  294.     else
  295. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  296.     fi
  297.   fi
  298. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  299.   
  300.   # Prefer explicitly selected file to automatically selected ones.
  301.   if test -z "$CONFIG_SITE"; then
  302. --- 348,359 ----
  303.   fi
  304.   if test ! -r $srcdir/$ac_unique_file; then
  305.     if test "$ac_srcdir_defaulted" = yes; then
  306. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  307.     else
  308. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  309.     fi
  310.   fi
  311. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  312.   
  313.   # Prefer explicitly selected file to automatically selected ones.
  314.   if test -z "$CONFIG_SITE"; then
  315. ***************
  316. *** 365,380 ****
  317.   fi
  318.   for ac_site_file in $CONFIG_SITE; do
  319.     if test -r "$ac_site_file"; then
  320. !     echo "loading site script $ac_site_file"
  321.       . "$ac_site_file"
  322.     fi
  323.   done
  324.   
  325.   if test -r "$cache_file"; then
  326. !   echo "loading cache $cache_file"
  327.     . $cache_file
  328.   else
  329. !   echo "creating cache $cache_file"
  330.     > $cache_file
  331.   fi
  332.   
  333. --- 365,380 ----
  334.   fi
  335.   for ac_site_file in $CONFIG_SITE; do
  336.     if test -r "$ac_site_file"; then
  337. !     /bin/echo "loading site script $ac_site_file"
  338.       . "$ac_site_file"
  339.     fi
  340.   done
  341.   
  342.   if test -r "$cache_file"; then
  343. !   /bin/echo "loading cache $cache_file"
  344.     . $cache_file
  345.   else
  346. !   /bin/echo "creating cache $cache_file"
  347.     > $cache_file
  348.   fi
  349.   
  350. ***************
  351. *** 384,392 ****
  352.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  353.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  354.   
  355. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  356.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  357. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  358.       ac_n= ac_c='
  359.   ' ac_t='    '
  360.     else
  361. --- 384,392 ----
  362.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  363.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  364.   
  365. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  366.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  367. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  368.       ac_n= ac_c='
  369.   ' ac_t='    '
  370.     else
  371. ***************
  372. *** 398,411 ****
  373.   
  374.   
  375.   
  376. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  377.   set dummy ${MAKE-make}; ac_make=$2
  378. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  379. !   echo $ac_n "(cached) $ac_c" 1>&4
  380.   else
  381.     cat > conftestmake <<\EOF
  382.   all:
  383. !     @echo 'ac_maketemp="${MAKE}"'
  384.   EOF
  385.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  386.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  387. --- 398,411 ----
  388.   
  389.   
  390.   
  391. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  392.   set dummy ${MAKE-make}; ac_make=$2
  393. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  394. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  395.   else
  396.     cat > conftestmake <<\EOF
  397.   all:
  398. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  399.   EOF
  400.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  401.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  402. ***************
  403. *** 416,435 ****
  404.   fi
  405.   rm -f conftestmake
  406.   fi
  407. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  408. !   echo "$ac_t""yes" 1>&4
  409.     SET_MAKE=
  410.   else
  411. !   echo "$ac_t""no" 1>&4
  412.     SET_MAKE="MAKE=${MAKE-make}"
  413.   fi
  414.   
  415.   
  416.   # Extract the first word of "gcc", so it can be a program name with args.
  417.   set dummy gcc; ac_word=$2
  418. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  419. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  420. !   echo $ac_n "(cached) $ac_c" 1>&4
  421.   else
  422.     if test -n "$CC"; then
  423.     ac_cv_prog_CC="$CC" # Let the user override the test.
  424. --- 416,435 ----
  425.   fi
  426.   rm -f conftestmake
  427.   fi
  428. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  429. !   /bin/echo "$ac_t""yes" 1>&4
  430.     SET_MAKE=
  431.   else
  432. !   /bin/echo "$ac_t""no" 1>&4
  433.     SET_MAKE="MAKE=${MAKE-make}"
  434.   fi
  435.   
  436.   
  437.   # Extract the first word of "gcc", so it can be a program name with args.
  438.   set dummy gcc; ac_word=$2
  439. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  440. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  441. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  442.   else
  443.     if test -n "$CC"; then
  444.     ac_cv_prog_CC="$CC" # Let the user override the test.
  445. ***************
  446. *** 448,462 ****
  447.   fi
  448.   CC="$ac_cv_prog_CC"
  449.   if test -n "$CC"; then
  450. !   echo "$ac_t""$CC" 1>&4
  451.   else
  452. !   echo "$ac_t""no" 1>&4
  453.   fi
  454.   
  455.   
  456. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  457. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  458. !   echo $ac_n "(cached) $ac_c" 1>&4
  459.   else
  460.     cat > conftest.c <<EOF
  461.   #ifdef __GNUC__
  462. --- 448,462 ----
  463.   fi
  464.   CC="$ac_cv_prog_CC"
  465.   if test -n "$CC"; then
  466. !   /bin/echo "$ac_t""$CC" 1>&4
  467.   else
  468. !   /bin/echo "$ac_t""no" 1>&4
  469.   fi
  470.   
  471.   
  472. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  473. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  474. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  475.   else
  476.     cat > conftest.c <<EOF
  477.   #ifdef __GNUC__
  478. ***************
  479. *** 469,492 ****
  480.     ac_cv_prog_gcc=no
  481.   fi
  482.   fi
  483. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  484.   if test $ac_cv_prog_gcc = yes; then
  485.     GCC=yes
  486.     if test "${CFLAGS+set}" != set; then
  487. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  488. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  489. !   echo $ac_n "(cached) $ac_c" 1>&4
  490.   else
  491. !   echo 'void f(){}' > conftest.c
  492.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  493. !   ac_cv_prog_gcc_g=yes
  494.   else
  495.     ac_cv_prog_gcc_g=no
  496.   fi
  497.   rm -f conftest*
  498.   
  499.   fi
  500. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  501.       if test $ac_cv_prog_gcc_g = yes; then
  502.         CFLAGS="-g -O"
  503.       else
  504. --- 469,494 ----
  505.     ac_cv_prog_gcc=no
  506.   fi
  507.   fi
  508. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  509.   if test $ac_cv_prog_gcc = yes; then
  510.     GCC=yes
  511.     if test "${CFLAGS+set}" != set; then
  512. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  513. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  514. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  515.   else
  516. !   /bin/echo 'void f(){}' > conftest.c
  517.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  518. ! #  override this for now
  519. ! #  ac_cv_prog_gcc_g=yes
  520. !   ac_cv_prog_gcc_g=no
  521.   else
  522.     ac_cv_prog_gcc_g=no
  523.   fi
  524.   rm -f conftest*
  525.   
  526.   fi
  527. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  528.       if test $ac_cv_prog_gcc_g = yes; then
  529.         CFLAGS="-g -O"
  530.       else
  531. ***************
  532. *** 502,510 ****
  533.   if test "x$prefix" = xNONE; then
  534.   # Extract the first word of "tex", so it can be a program name with args.
  535.   set dummy tex; ac_word=$2
  536. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  537. ! if eval "test \"`echo '${'ac_cv_path_TEX'+set}'`\" = set"; then
  538. !   echo $ac_n "(cached) $ac_c" 1>&4
  539.   else
  540.     case "$TEX" in
  541.     /*)
  542. --- 504,512 ----
  543.   if test "x$prefix" = xNONE; then
  544.   # Extract the first word of "tex", so it can be a program name with args.
  545.   set dummy tex; ac_word=$2
  546. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  547. ! if eval "test \"`/bin/echo '${'ac_cv_path_TEX'+set}'`\" = set"; then
  548. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  549.   else
  550.     case "$TEX" in
  551.     /*)
  552. ***************
  553. *** 525,537 ****
  554.   fi
  555.   TEX="$ac_cv_path_TEX"
  556.   if test -n "$TEX"; then
  557. !   echo "$ac_t""$TEX" 1>&4
  558.   else
  559. !   echo "$ac_t""no" 1>&4
  560.   fi
  561.   
  562.     if test -n "$ac_cv_path_TEX"; then
  563. !     prefix=`echo $ac_cv_path_TEX|sed 's%/[^/][^/]*/[^/][^/]*$%%'`
  564.     fi
  565.   fi
  566.   
  567. --- 527,539 ----
  568.   fi
  569.   TEX="$ac_cv_path_TEX"
  570.   if test -n "$TEX"; then
  571. !   /bin/echo "$ac_t""$TEX" 1>&4
  572.   else
  573. !   /bin/echo "$ac_t""no" 1>&4
  574.   fi
  575.   
  576.     if test -n "$ac_cv_path_TEX"; then
  577. !     prefix=`/bin/echo $ac_cv_path_TEX|sed 's%/[^/][^/]*/[^/][^/]*$%%'`
  578.     fi
  579.   fi
  580.   
  581. ***************
  582. *** 549,555 ****
  583.     fi
  584.   done
  585.   if test -z "$ac_aux_dir"; then
  586. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  587.   fi
  588.   ac_config_guess=$ac_aux_dir/config.guess
  589.   ac_config_sub=$ac_aux_dir/config.sub
  590. --- 551,557 ----
  591.     fi
  592.   done
  593.   if test -z "$ac_aux_dir"; then
  594. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  595.   fi
  596.   ac_config_guess=$ac_aux_dir/config.guess
  597.   ac_config_sub=$ac_aux_dir/config.sub
  598. ***************
  599. *** 565,579 ****
  600.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  601.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  602.   # ./install, which can be erroneously created by make from ./install.sh.
  603. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  604.   if test -z "$INSTALL"; then
  605. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  606. !   echo $ac_n "(cached) $ac_c" 1>&4
  607.   else
  608.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  609.     for ac_dir in $PATH; do
  610.       case "$ac_dir" in
  611. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  612.       *)
  613.         # OSF1 and SCO ODT 3.0 have their own names for install.
  614.         for ac_prog in ginstall installbsd scoinst install; do
  615. --- 567,582 ----
  616.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  617.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  618.   # ./install, which can be erroneously created by make from ./install.sh.
  619. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  620. ! INSTALL="/bin/install -c"
  621.   if test -z "$INSTALL"; then
  622. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  623. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  624.   else
  625.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  626.     for ac_dir in $PATH; do
  627.       case "$ac_dir" in
  628. !     ''|.|/bin) ;;
  629.       *)
  630.         # OSF1 and SCO ODT 3.0 have their own names for install.
  631.         for ac_prog in ginstall installbsd scoinst install; do
  632. ***************
  633. *** 598,604 ****
  634.   fi
  635.     INSTALL="$ac_cv_path_install"
  636.   fi
  637. ! echo "$ac_t""$INSTALL" 1>&4
  638.   
  639.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  640.   # It thinks the first close brace ends the variable substitution.
  641. --- 601,607 ----
  642.   fi
  643.     INSTALL="$ac_cv_path_install"
  644.   fi
  645. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  646.   
  647.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  648.   # It thinks the first close brace ends the variable substitution.
  649. ***************
  650. *** 612,618 ****
  651.   
  652.   trap '' 1 2 15
  653.   if test -w $cache_file; then
  654. ! echo "updating cache $cache_file"
  655.   cat > $cache_file <<\EOF
  656.   # This file is a shell script that caches the results of configure
  657.   # tests run on this system so they can be shared between configure
  658. --- 615,621 ----
  659.   
  660.   trap '' 1 2 15
  661.   if test -w $cache_file; then
  662. ! /bin/echo "updating cache $cache_file"
  663.   cat > $cache_file <<\EOF
  664.   # This file is a shell script that caches the results of configure
  665.   # tests run on this system so they can be shared between configure
  666. ***************
  667. *** 630,640 ****
  668.   #
  669.   EOF
  670.   # Ultrix sh set writes to stderr and can't be redirected directly.
  671.   (set) 2>&1 |
  672. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  673. !   >> $cache_file
  674.   else
  675. ! echo "not updating unwritable cache $cache_file"
  676.   fi
  677.   
  678.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  679. --- 633,646 ----
  680.   #
  681.   EOF
  682.   # Ultrix sh set writes to stderr and can't be redirected directly.
  683. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  684. + # sed commands.
  685.   (set) 2>&1 |
  686. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  687. !   sed "s@\\\$@\${@" |
  688. !   sed "s@\$@}@" >> $cache_file
  689.   else
  690. ! /bin/echo "not updating unwritable cache $cache_file"
  691.   fi
  692.   
  693.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  694. ***************
  695. *** 669,675 ****
  696.   # Without the "./", some shells look in PATH for config.status.
  697.   : ${CONFIG_STATUS=./config.status}
  698.   
  699. ! echo creating $CONFIG_STATUS
  700.   rm -f $CONFIG_STATUS
  701.   cat > $CONFIG_STATUS <<EOF
  702.   #!/bin/sh
  703. --- 675,681 ----
  704.   # Without the "./", some shells look in PATH for config.status.
  705.   : ${CONFIG_STATUS=./config.status}
  706.   
  707. ! /bin/echo creating $CONFIG_STATUS
  708.   rm -f $CONFIG_STATUS
  709.   cat > $CONFIG_STATUS <<EOF
  710.   #!/bin/sh
  711. ***************
  712. *** 688,701 ****
  713.   do
  714.     case "\$ac_option" in
  715.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  716. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  717.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  718.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  719. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  720.       exit 0 ;;
  721.     -help | --help | --hel | --he | --h)
  722. !     echo "\$ac_cs_usage"; exit 0 ;;
  723. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  724.     esac
  725.   done
  726.   
  727. --- 694,707 ----
  728.   do
  729.     case "\$ac_option" in
  730.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  731. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  732.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  733.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  734. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  735.       exit 0 ;;
  736.     -help | --help | --hel | --he | --h)
  737. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  738. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  739.     esac
  740.   done
  741.   
  742. ***************
  743. *** 735,755 ****
  744.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  745.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  746.     case "$ac_file" in
  747. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  748. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  749.     *) ac_file_in="${ac_file}.in" ;;
  750.     esac
  751.   
  752.     # Adjust relative srcdir, etc. for subdirectories.
  753.   
  754.     # Remove last slash and all that follows it.  Not all systems have dirname.
  755. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  756.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  757.       # The file is in a subdirectory.
  758.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  759.       ac_dir_suffix="/$ac_dir"
  760.       # A "../" for each directory in $ac_dir_suffix.
  761. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  762.     else
  763.       ac_dir_suffix= ac_dots=
  764.     fi
  765. --- 741,761 ----
  766.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  767.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  768.     case "$ac_file" in
  769. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  770. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  771.     *) ac_file_in="${ac_file}.in" ;;
  772.     esac
  773.   
  774.     # Adjust relative srcdir, etc. for subdirectories.
  775.   
  776.     # Remove last slash and all that follows it.  Not all systems have dirname.
  777. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  778.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  779.       # The file is in a subdirectory.
  780.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  781.       ac_dir_suffix="/$ac_dir"
  782.       # A "../" for each directory in $ac_dir_suffix.
  783. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  784.     else
  785.       ac_dir_suffix= ac_dots=
  786.     fi
  787. ***************
  788. *** 757,763 ****
  789.     case "$ac_given_srcdir" in
  790.     .)  srcdir=.
  791.         if test -z "$ac_dots"; then top_srcdir=.
  792. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  793.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  794.     *) # Relative path.
  795.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  796. --- 763,769 ----
  797.     case "$ac_given_srcdir" in
  798.     .)  srcdir=.
  799.         if test -z "$ac_dots"; then top_srcdir=.
  800. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  801.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  802.     *) # Relative path.
  803.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  804. ***************
  805. *** 768,776 ****
  806.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  807.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  808.     esac
  809. !   echo creating "$ac_file"
  810.     rm -f "$ac_file"
  811. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  812.     case "$ac_file" in
  813.     *Makefile*) ac_comsub="1i\\
  814.   # $configure_input" ;;
  815. --- 774,782 ----
  816.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  817.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  818.     esac
  819. !   /bin/echo creating "$ac_file"
  820.     rm -f "$ac_file"
  821. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  822.     case "$ac_file" in
  823.     *Makefile*) ac_comsub="1i\\
  824.   # $configure_input" ;;
  825. ***************
  826. *** 783,796 ****
  827.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  828.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  829.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  830. !   # Use @e initially instead of -e because GNU echo has a -e option.
  831.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  832.     file_substs=`sed -n \
  833.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  834.                  $ac_given_srcdir/${ac_file}.in`
  835.     if test -n "$file_substs"; then
  836.       # Change @e back to -e and X@^ to \@^.
  837. !     file_subst_cmd="sed `echo $file_substs \
  838.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  839.     else
  840.       # If no substitutions and hence no sed commands, don't choke.
  841. --- 789,802 ----
  842.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  843.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  844.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  845. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  846.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  847.     file_substs=`sed -n \
  848.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  849.                  $ac_given_srcdir/${ac_file}.in`
  850.     if test -n "$file_substs"; then
  851.       # Change @e back to -e and X@^ to \@^.
  852. !     file_subst_cmd="sed `/bin/echo $file_substs \
  853.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  854.     else
  855.       # If no substitutions and hence no sed commands, don't choke.
  856. ***************
  857. *** 851,864 ****
  858.         continue
  859.       fi
  860.   
  861. !     echo configuring in $ac_config_dir
  862.   
  863.       case "$srcdir" in
  864.       .) ;;
  865.       *)
  866.         if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
  867.         else
  868. !         { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
  869.         fi
  870.         ;;
  871.       esac
  872. --- 857,870 ----
  873.         continue
  874.       fi
  875.   
  876. !     /bin/echo configuring in $ac_config_dir
  877.   
  878.       case "$srcdir" in
  879.       .) ;;
  880.       *)
  881.         if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
  882.         else
  883. !         { /bin/echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
  884.         fi
  885.         ;;
  886.       esac
  887. ***************
  888. *** 881,887 ****
  889.       elif test -f $ac_sub_srcdir/configure.in; then
  890.         ac_sub_configure=$ac_configure
  891.       else
  892. !       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
  893.         ac_sub_configure=
  894.       fi
  895.   
  896. --- 887,893 ----
  897.       elif test -f $ac_sub_srcdir/configure.in; then
  898.         ac_sub_configure=$ac_configure
  899.       else
  900. !       /bin/echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
  901.         ac_sub_configure=
  902.       fi
  903.   
  904. ***************
  905. *** 890,896 ****
  906.   
  907.         # Make the cache file name correct relative to the subdirectory.
  908.         # A "../" for each directory in /$ac_config_dir.
  909. !       ac_dots=`echo /$ac_config_dir|sed 's%/[^/]*%../%g'`
  910.         case "$cache_file" in
  911.         /*) ac_sub_cache_file=$cache_file ;;
  912.         *) # Relative path.
  913. --- 896,902 ----
  914.   
  915.         # Make the cache file name correct relative to the subdirectory.
  916.         # A "../" for each directory in /$ac_config_dir.
  917. !       ac_dots=`/bin/echo /$ac_config_dir|sed 's%/[^/]*%../%g'`
  918.         case "$cache_file" in
  919.         /*) ac_sub_cache_file=$cache_file ;;
  920.         *) # Relative path.
  921. ***************
  922. *** 902,913 ****
  923.           *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  924.           esac
  925.   
  926. !       echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
  927.         # The eval makes quoting arguments work.
  928.         if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
  929.         then :
  930.         else
  931. !         { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
  932.         fi
  933.       fi
  934.   
  935. --- 908,919 ----
  936.           *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  937.           esac
  938.   
  939. !       /bin/echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
  940.         # The eval makes quoting arguments work.
  941.         if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
  942.         then :
  943.         else
  944. !         { /bin/echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
  945.         fi
  946.       fi
  947.   
  948. diff -rc --new-file unixtex-6.1b-base/dviljk/Makefile.in unixtex-6.1b/dviljk/Makefile.in
  949. *** unixtex-6.1b-base/dviljk/Makefile.in    Sun Jan  8 17:21:58 1995
  950. --- unixtex-6.1b/dviljk/Makefile.in    Sun Apr  2 21:14:26 1995
  951. ***************
  952. *** 38,56 ****
  953.       $(CC) $(LDFLAGS) -o $@ $(objects4l) $(LOADLIBES)
  954.   
  955.   dvilj.o:
  956. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ -c dvi2xx.c
  957.       mv dvi2xx.o $@
  958.   
  959.   dvilj2p.o:
  960. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ2P -c dvi2xx.c
  961.       mv dvi2xx.o $@
  962.   
  963.   dvilj4.o:
  964. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ4 -c dvi2xx.c
  965.       mv dvi2xx.o $@
  966.   
  967.   dvilj4l.o:
  968. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ4 -DLJ4L -c dvi2xx.c
  969.       mv dvi2xx.o $@
  970.   
  971.   ac_include ../make/tkpathsea.make
  972. --- 38,56 ----
  973.       $(CC) $(LDFLAGS) -o $@ $(objects4l) $(LOADLIBES)
  974.   
  975.   dvilj.o:
  976. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ -c $(srcdir)/dvi2xx.c
  977.       mv dvi2xx.o $@
  978.   
  979.   dvilj2p.o:
  980. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ2P -c $(srcdir)/dvi2xx.c
  981.       mv dvi2xx.o $@
  982.   
  983.   dvilj4.o:
  984. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ4 -c $(srcdir)/dvi2xx.c
  985.       mv dvi2xx.o $@
  986.   
  987.   dvilj4l.o:
  988. !     $(CC) $(CPPFLAGS) $(CFLAGS) -DLJ4 -DLJ4L -c $(srcdir)/dvi2xx.c
  989.       mv dvi2xx.o $@
  990.   
  991.   ac_include ../make/tkpathsea.make
  992. ***************
  993. *** 74,81 ****
  994.   install-data:
  995.       $(SHELL) $(top_srcdir)/../mkdirchain $(mandir) $(texinputdir) $(fontdir)
  996.       $(INSTALL_DATA) $(srcdir)/dvilj.man $(mandir)/dvilj.$(manext)
  997. !     ($(install_macros) && (cd tex; $(CP_R) . $(texinputdir))) || true
  998. !     ($(install_fonts) && (cd fonts; $(CP_R) . $(fontdir))) || true    
  999.   
  1000.   uninstall-data:
  1001.       rm -f $(mandir)/dvilj.$(manext)
  1002. --- 74,81 ----
  1003.   install-data:
  1004.       $(SHELL) $(top_srcdir)/../mkdirchain $(mandir) $(texinputdir) $(fontdir)
  1005.       $(INSTALL_DATA) $(srcdir)/dvilj.man $(mandir)/dvilj.$(manext)
  1006. !     ($(install_macros) && (cd $(srcdir)/tex; $(CP_R) . $(texinputdir))) || true
  1007. !     ($(install_fonts) && (cd $(srcdir)/fonts; $(CP_R) . $(fontdir))) || true    
  1008.   
  1009.   uninstall-data:
  1010.       rm -f $(mandir)/dvilj.$(manext)
  1011. ***************
  1012. *** 87,93 ****
  1013.   
  1014.   pre-dist-$(distname):
  1015.   post-dist-$(distname):
  1016. !     cd $(distdir); ln -s $(lj)/fonts $(lj)/tex $(lj)/contrib .
  1017.   
  1018.   ac_include ../make/dist.make
  1019.   ac_include ../make/config.make
  1020. --- 87,93 ----
  1021.   
  1022.   pre-dist-$(distname):
  1023.   post-dist-$(distname):
  1024. !     cd $(distdir); $(LN_S) $(lj)/fonts $(lj)/tex $(lj)/contrib .
  1025.   
  1026.   ac_include ../make/dist.make
  1027.   ac_include ../make/config.make
  1028. diff -rc --new-file unixtex-6.1b-base/dviljk/config.h unixtex-6.1b/dviljk/config.h
  1029. *** unixtex-6.1b-base/dviljk/config.h    Wed Jan  4 17:44:24 1995
  1030. --- unixtex-6.1b/dviljk/config.h    Mon Apr  3 22:56:50 1995
  1031. ***************
  1032. *** 71,77 ****
  1033.   #endif
  1034.   #endif
  1035.   
  1036. ! #ifdef _AMIGA
  1037.   #ifndef MAKETEXPK
  1038.   /* name of the program which is called to generate missing pk files
  1039.    */
  1040. --- 71,77 ----
  1041.   #endif
  1042.   #endif
  1043.   
  1044. ! #if defined(_AMIGA) || defined (__amigados__)
  1045.   #ifndef MAKETEXPK
  1046.   /* name of the program which is called to generate missing pk files
  1047.    */
  1048. ***************
  1049. *** 236,242 ****
  1050.   #define labs(x) abs(x)
  1051.   #endif
  1052.   
  1053. ! #ifdef _AMIGA
  1054.   #define OS "Amiga"
  1055.   #define READ_BINARY     "r"
  1056.   #define WRITE_BINARY    "w"
  1057. --- 236,242 ----
  1058.   #define labs(x) abs(x)
  1059.   #endif
  1060.   
  1061. ! #if defined (_AMIGA) || defined (__amigados__)
  1062.   #define OS "Amiga"
  1063.   #define READ_BINARY     "r"
  1064.   #define WRITE_BINARY    "w"
  1065. diff -rc --new-file unixtex-6.1b-base/dviljk/configure unixtex-6.1b/dviljk/configure
  1066. *** unixtex-6.1b-base/dviljk/configure    Fri Jan  6 14:40:44 1995
  1067. --- unixtex-6.1b/dviljk/configure    Sun Apr  2 23:10:48 1995
  1068. ***************
  1069. *** 9,15 ****
  1070.   
  1071.   # Defaults:
  1072.   ac_help=
  1073. ! ac_default_prefix=/usr/local
  1074.   # Any additions from configure.in:
  1075.   
  1076.   # Initialize some variables set by options.
  1077. --- 9,15 ----
  1078.   
  1079.   # Defaults:
  1080.   ac_help=
  1081. ! ac_default_prefix=/gnu
  1082.   # Any additions from configure.in:
  1083.   
  1084.   # Initialize some variables set by options.
  1085. ***************
  1086. *** 49,55 ****
  1087.     fi
  1088.   
  1089.     case "$ac_option" in
  1090. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1091.     *) ac_optarg= ;;
  1092.     esac
  1093.   
  1094. --- 49,55 ----
  1095.     fi
  1096.   
  1097.     case "$ac_option" in
  1098. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  1099.     *) ac_optarg= ;;
  1100.     esac
  1101.   
  1102. ***************
  1103. *** 70,90 ****
  1104.       cache_file="$ac_optarg" ;;
  1105.   
  1106.     -disable-* | --disable-*)
  1107. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  1108.       # Reject names that are not valid shell variable names.
  1109. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1110. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1111.       fi
  1112. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1113.       eval "enable_${ac_feature}=no" ;;
  1114.   
  1115.     -enable-* | --enable-*)
  1116. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1117.       # Reject names that are not valid shell variable names.
  1118. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1119. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1120.       fi
  1121. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  1122.       case "$ac_option" in
  1123.         *=*) ;;
  1124.         *) ac_optarg=yes ;;
  1125. --- 70,90 ----
  1126.       cache_file="$ac_optarg" ;;
  1127.   
  1128.     -disable-* | --disable-*)
  1129. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  1130.       # Reject names that are not valid shell variable names.
  1131. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1132. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1133.       fi
  1134. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  1135.       eval "enable_${ac_feature}=no" ;;
  1136.   
  1137.     -enable-* | --enable-*)
  1138. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  1139.       # Reject names that are not valid shell variable names.
  1140. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1141. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  1142.       fi
  1143. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  1144.       case "$ac_option" in
  1145.         *=*) ;;
  1146.         *) ac_optarg=yes ;;
  1147. ***************
  1148. *** 216,231 ****
  1149.       verbose=yes ;;
  1150.   
  1151.     -version | --version | --versio | --versi | --vers)
  1152. !     echo "configure generated by autoconf version 2.1"
  1153.       exit 0 ;;
  1154.   
  1155.     -with-* | --with-*)
  1156. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1157.       # Reject names that are not valid shell variable names.
  1158. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1159. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1160.       fi
  1161. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  1162.       case "$ac_option" in
  1163.         *=*) ;;
  1164.         *) ac_optarg=yes ;;
  1165. --- 216,231 ----
  1166.       verbose=yes ;;
  1167.   
  1168.     -version | --version | --versio | --versi | --vers)
  1169. !     /bin/echo "configure generated by autoconf version 2.1"
  1170.       exit 0 ;;
  1171.   
  1172.     -with-* | --with-*)
  1173. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  1174.       # Reject names that are not valid shell variable names.
  1175. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  1176. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1177.       fi
  1178. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  1179.       case "$ac_option" in
  1180.         *=*) ;;
  1181.         *) ac_optarg=yes ;;
  1182. ***************
  1183. *** 233,244 ****
  1184.       eval "with_${ac_package}='$ac_optarg'" ;;
  1185.   
  1186.     -without-* | --without-*)
  1187. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  1188.       # Reject names that are not valid shell variable names.
  1189. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1190. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1191.       fi
  1192. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  1193.       eval "with_${ac_package}=no" ;;
  1194.   
  1195.     --x)
  1196. --- 233,244 ----
  1197.       eval "with_${ac_package}='$ac_optarg'" ;;
  1198.   
  1199.     -without-* | --without-*)
  1200. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  1201.       # Reject names that are not valid shell variable names.
  1202. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  1203. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  1204.       fi
  1205. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  1206.       eval "with_${ac_package}=no" ;;
  1207.   
  1208.     --x)
  1209. ***************
  1210. *** 259,273 ****
  1211.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1212.       x_libraries="$ac_optarg" ;;
  1213.   
  1214. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  1215.       ;;
  1216.   
  1217.     *) 
  1218. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1219. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  1220.       fi
  1221.       if test "x$nonopt" != xNONE; then
  1222. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  1223.       fi
  1224.       nonopt="$ac_option"
  1225.       ;;
  1226. --- 259,273 ----
  1227.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1228.       x_libraries="$ac_optarg" ;;
  1229.   
  1230. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  1231.       ;;
  1232.   
  1233.     *) 
  1234. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  1235. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  1236.       fi
  1237.       if test "x$nonopt" != xNONE; then
  1238. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  1239.       fi
  1240.       nonopt="$ac_option"
  1241.       ;;
  1242. ***************
  1243. *** 276,282 ****
  1244.   done
  1245.   
  1246.   if test -n "$ac_prev"; then
  1247. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  1248.   fi
  1249.   
  1250.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  1251. --- 276,282 ----
  1252.   done
  1253.   
  1254.   if test -n "$ac_prev"; then
  1255. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  1256.   fi
  1257.   
  1258.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  1259. ***************
  1260. *** 295,301 ****
  1261.   fi
  1262.   exec 5>./config.log
  1263.   
  1264. ! echo "\
  1265.   This file contains any messages produced by compilers while
  1266.   running configure, to aid debugging if configure makes a mistake.
  1267.   " 1>&5
  1268. --- 295,301 ----
  1269.   fi
  1270.   exec 5>./config.log
  1271.   
  1272. ! /bin/echo "\
  1273.   This file contains any messages produced by compilers while
  1274.   running configure, to aid debugging if configure makes a mistake.
  1275.   " 1>&5
  1276. ***************
  1277. *** 326,332 ****
  1278.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1279.   rm -rf conftest* confdefs.h
  1280.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1281. ! echo > confdefs.h
  1282.   
  1283.   # A filename unique to this package, relative to the directory that
  1284.   # configure is in, which we can look for to find out if srcdir is correct.
  1285. --- 326,332 ----
  1286.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1287.   rm -rf conftest* confdefs.h
  1288.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1289. ! /bin/echo > confdefs.h
  1290.   
  1291.   # A filename unique to this package, relative to the directory that
  1292.   # configure is in, which we can look for to find out if srcdir is correct.
  1293. ***************
  1294. *** 337,343 ****
  1295.     ac_srcdir_defaulted=yes
  1296.     # Try the directory containing this script, then its parent.
  1297.     ac_prog=$0
  1298. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  1299.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  1300.     srcdir=$ac_confdir
  1301.     if test ! -r $srcdir/$ac_unique_file; then
  1302. --- 337,343 ----
  1303.     ac_srcdir_defaulted=yes
  1304.     # Try the directory containing this script, then its parent.
  1305.     ac_prog=$0
  1306. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  1307.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  1308.     srcdir=$ac_confdir
  1309.     if test ! -r $srcdir/$ac_unique_file; then
  1310. ***************
  1311. *** 348,359 ****
  1312.   fi
  1313.   if test ! -r $srcdir/$ac_unique_file; then
  1314.     if test "$ac_srcdir_defaulted" = yes; then
  1315. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  1316.     else
  1317. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  1318.     fi
  1319.   fi
  1320. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  1321.   
  1322.   # Prefer explicitly selected file to automatically selected ones.
  1323.   if test -z "$CONFIG_SITE"; then
  1324. --- 348,359 ----
  1325.   fi
  1326.   if test ! -r $srcdir/$ac_unique_file; then
  1327.     if test "$ac_srcdir_defaulted" = yes; then
  1328. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  1329.     else
  1330. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  1331.     fi
  1332.   fi
  1333. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  1334.   
  1335.   # Prefer explicitly selected file to automatically selected ones.
  1336.   if test -z "$CONFIG_SITE"; then
  1337. ***************
  1338. *** 365,380 ****
  1339.   fi
  1340.   for ac_site_file in $CONFIG_SITE; do
  1341.     if test -r "$ac_site_file"; then
  1342. !     echo "loading site script $ac_site_file"
  1343.       . "$ac_site_file"
  1344.     fi
  1345.   done
  1346.   
  1347.   if test -r "$cache_file"; then
  1348. !   echo "loading cache $cache_file"
  1349.     . $cache_file
  1350.   else
  1351. !   echo "creating cache $cache_file"
  1352.     > $cache_file
  1353.   fi
  1354.   
  1355. --- 365,380 ----
  1356.   fi
  1357.   for ac_site_file in $CONFIG_SITE; do
  1358.     if test -r "$ac_site_file"; then
  1359. !     /bin/echo "loading site script $ac_site_file"
  1360.       . "$ac_site_file"
  1361.     fi
  1362.   done
  1363.   
  1364.   if test -r "$cache_file"; then
  1365. !   /bin/echo "loading cache $cache_file"
  1366.     . $cache_file
  1367.   else
  1368. !   /bin/echo "creating cache $cache_file"
  1369.     > $cache_file
  1370.   fi
  1371.   
  1372. ***************
  1373. *** 384,392 ****
  1374.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  1375.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  1376.   
  1377. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  1378.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  1379. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  1380.       ac_n= ac_c='
  1381.   ' ac_t='    '
  1382.     else
  1383. --- 384,392 ----
  1384.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  1385.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  1386.   
  1387. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  1388.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  1389. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  1390.       ac_n= ac_c='
  1391.   ' ac_t='    '
  1392.     else
  1393. ***************
  1394. *** 401,414 ****
  1395.   
  1396.   
  1397.   
  1398. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  1399.   set dummy ${MAKE-make}; ac_make=$2
  1400. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  1401. !   echo $ac_n "(cached) $ac_c" 1>&4
  1402.   else
  1403.     cat > conftestmake <<\EOF
  1404.   all:
  1405. !     @echo 'ac_maketemp="${MAKE}"'
  1406.   EOF
  1407.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1408.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  1409. --- 401,414 ----
  1410.   
  1411.   
  1412.   
  1413. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  1414.   set dummy ${MAKE-make}; ac_make=$2
  1415. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  1416. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1417.   else
  1418.     cat > conftestmake <<\EOF
  1419.   all:
  1420. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  1421.   EOF
  1422.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1423.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  1424. ***************
  1425. *** 419,438 ****
  1426.   fi
  1427.   rm -f conftestmake
  1428.   fi
  1429. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1430. !   echo "$ac_t""yes" 1>&4
  1431.     SET_MAKE=
  1432.   else
  1433. !   echo "$ac_t""no" 1>&4
  1434.     SET_MAKE="MAKE=${MAKE-make}"
  1435.   fi
  1436.   
  1437.   
  1438.   # Extract the first word of "gcc", so it can be a program name with args.
  1439.   set dummy gcc; ac_word=$2
  1440. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  1441. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  1442. !   echo $ac_n "(cached) $ac_c" 1>&4
  1443.   else
  1444.     if test -n "$CC"; then
  1445.     ac_cv_prog_CC="$CC" # Let the user override the test.
  1446. --- 419,438 ----
  1447.   fi
  1448.   rm -f conftestmake
  1449.   fi
  1450. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1451. !   /bin/echo "$ac_t""yes" 1>&4
  1452.     SET_MAKE=
  1453.   else
  1454. !   /bin/echo "$ac_t""no" 1>&4
  1455.     SET_MAKE="MAKE=${MAKE-make}"
  1456.   fi
  1457.   
  1458.   
  1459.   # Extract the first word of "gcc", so it can be a program name with args.
  1460.   set dummy gcc; ac_word=$2
  1461. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  1462. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  1463. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1464.   else
  1465.     if test -n "$CC"; then
  1466.     ac_cv_prog_CC="$CC" # Let the user override the test.
  1467. ***************
  1468. *** 451,465 ****
  1469.   fi
  1470.   CC="$ac_cv_prog_CC"
  1471.   if test -n "$CC"; then
  1472. !   echo "$ac_t""$CC" 1>&4
  1473.   else
  1474. !   echo "$ac_t""no" 1>&4
  1475.   fi
  1476.   
  1477.   
  1478. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  1479. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  1480. !   echo $ac_n "(cached) $ac_c" 1>&4
  1481.   else
  1482.     cat > conftest.c <<EOF
  1483.   #ifdef __GNUC__
  1484. --- 451,465 ----
  1485.   fi
  1486.   CC="$ac_cv_prog_CC"
  1487.   if test -n "$CC"; then
  1488. !   /bin/echo "$ac_t""$CC" 1>&4
  1489.   else
  1490. !   /bin/echo "$ac_t""no" 1>&4
  1491.   fi
  1492.   
  1493.   
  1494. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  1495. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  1496. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1497.   else
  1498.     cat > conftest.c <<EOF
  1499.   #ifdef __GNUC__
  1500. ***************
  1501. *** 472,486 ****
  1502.     ac_cv_prog_gcc=no
  1503.   fi
  1504.   fi
  1505. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  1506.   if test $ac_cv_prog_gcc = yes; then
  1507.     GCC=yes
  1508.     if test "${CFLAGS+set}" != set; then
  1509. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  1510. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  1511. !   echo $ac_n "(cached) $ac_c" 1>&4
  1512.   else
  1513. !   echo 'void f(){}' > conftest.c
  1514.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1515.     ac_cv_prog_gcc_g=yes
  1516.   else
  1517. --- 472,486 ----
  1518.     ac_cv_prog_gcc=no
  1519.   fi
  1520.   fi
  1521. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  1522.   if test $ac_cv_prog_gcc = yes; then
  1523.     GCC=yes
  1524.     if test "${CFLAGS+set}" != set; then
  1525. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  1526. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  1527. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1528.   else
  1529. !   /bin/echo 'void f(){}' > conftest.c
  1530.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1531.     ac_cv_prog_gcc_g=yes
  1532.   else
  1533. ***************
  1534. *** 489,495 ****
  1535.   rm -f conftest*
  1536.   
  1537.   fi
  1538. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  1539.       if test $ac_cv_prog_gcc_g = yes; then
  1540.         CFLAGS="-g -O"
  1541.       else
  1542. --- 489,495 ----
  1543.   rm -f conftest*
  1544.   
  1545.   fi
  1546. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  1547.       if test $ac_cv_prog_gcc_g = yes; then
  1548.         CFLAGS="-g -O"
  1549.       else
  1550. ***************
  1551. *** 514,520 ****
  1552.     fi
  1553.   done
  1554.   if test -z "$ac_aux_dir"; then
  1555. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1556.   fi
  1557.   ac_config_guess=$ac_aux_dir/config.guess
  1558.   ac_config_sub=$ac_aux_dir/config.sub
  1559. --- 514,520 ----
  1560.     fi
  1561.   done
  1562.   if test -z "$ac_aux_dir"; then
  1563. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1564.   fi
  1565.   ac_config_guess=$ac_aux_dir/config.guess
  1566.   ac_config_sub=$ac_aux_dir/config.sub
  1567. ***************
  1568. *** 530,544 ****
  1569.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1570.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1571.   # ./install, which can be erroneously created by make from ./install.sh.
  1572. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  1573.   if test -z "$INSTALL"; then
  1574. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  1575. !   echo $ac_n "(cached) $ac_c" 1>&4
  1576.   else
  1577.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1578.     for ac_dir in $PATH; do
  1579.       case "$ac_dir" in
  1580. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  1581.       *)
  1582.         # OSF1 and SCO ODT 3.0 have their own names for install.
  1583.         for ac_prog in ginstall installbsd scoinst install; do
  1584. --- 530,545 ----
  1585.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1586.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1587.   # ./install, which can be erroneously created by make from ./install.sh.
  1588. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  1589. ! INSTALL="/bin/install -c"
  1590.   if test -z "$INSTALL"; then
  1591. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  1592. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1593.   else
  1594.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1595.     for ac_dir in $PATH; do
  1596.       case "$ac_dir" in
  1597. !     ''|.|/bin) ;;
  1598.       *)
  1599.         # OSF1 and SCO ODT 3.0 have their own names for install.
  1600.         for ac_prog in ginstall installbsd scoinst install; do
  1601. ***************
  1602. *** 563,569 ****
  1603.   fi
  1604.     INSTALL="$ac_cv_path_install"
  1605.   fi
  1606. ! echo "$ac_t""$INSTALL" 1>&4
  1607.   
  1608.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1609.   # It thinks the first close brace ends the variable substitution.
  1610. --- 564,570 ----
  1611.   fi
  1612.     INSTALL="$ac_cv_path_install"
  1613.   fi
  1614. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  1615.   
  1616.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1617.   # It thinks the first close brace ends the variable substitution.
  1618. ***************
  1619. *** 573,581 ****
  1620.   
  1621.   # Extract the first word of "ranlib", so it can be a program name with args.
  1622.   set dummy ranlib; ac_word=$2
  1623. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  1624. ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1625. !   echo $ac_n "(cached) $ac_c" 1>&4
  1626.   else
  1627.     if test -n "$RANLIB"; then
  1628.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1629. --- 574,582 ----
  1630.   
  1631.   # Extract the first word of "ranlib", so it can be a program name with args.
  1632.   set dummy ranlib; ac_word=$2
  1633. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  1634. ! if eval "test \"`/bin/echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1635. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1636.   else
  1637.     if test -n "$RANLIB"; then
  1638.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1639. ***************
  1640. *** 594,610 ****
  1641.   fi
  1642.   RANLIB="$ac_cv_prog_RANLIB"
  1643.   if test -n "$RANLIB"; then
  1644. !   echo "$ac_t""$RANLIB" 1>&4
  1645.   else
  1646. !   echo "$ac_t""no" 1>&4
  1647.   fi
  1648.   
  1649.   
  1650. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  1651.   if test -d /etc/conf/kconfig.d &&
  1652. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  1653.   then
  1654. !   echo "$ac_t""yes" 1>&4
  1655.     ISC=yes # If later tests want to check for ISC.
  1656.     cat >> confdefs.h <<\EOF
  1657.   #define _POSIX_SOURCE 1
  1658. --- 595,611 ----
  1659.   fi
  1660.   RANLIB="$ac_cv_prog_RANLIB"
  1661.   if test -n "$RANLIB"; then
  1662. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  1663.   else
  1664. !   /bin/echo "$ac_t""no" 1>&4
  1665.   fi
  1666.   
  1667.   
  1668. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  1669.   if test -d /etc/conf/kconfig.d &&
  1670. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  1671.   then
  1672. !   /bin/echo "$ac_t""yes" 1>&4
  1673.     ISC=yes # If later tests want to check for ISC.
  1674.     cat >> confdefs.h <<\EOF
  1675.   #define _POSIX_SOURCE 1
  1676. ***************
  1677. *** 616,622 ****
  1678.       CC="$CC -Xp"
  1679.     fi
  1680.   else
  1681. !   echo "$ac_t""no" 1>&4
  1682.     ISC=
  1683.   fi
  1684.   
  1685. --- 617,623 ----
  1686.       CC="$CC -Xp"
  1687.     fi
  1688.   else
  1689. !   /bin/echo "$ac_t""no" 1>&4
  1690.     ISC=
  1691.   fi
  1692.   
  1693. ***************
  1694. *** 624,633 ****
  1695.   ac_header_dirent=no
  1696.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1697.   do
  1698. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  1699. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1700. ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1701. !   echo $ac_n "(cached) $ac_c" 1>&4
  1702.   else
  1703.     cat > conftest.$ac_ext <<EOF
  1704.   #line 634 "configure"
  1705. --- 625,634 ----
  1706.   ac_header_dirent=no
  1707.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1708.   do
  1709. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  1710. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1711. ! if eval "test \"`/bin/echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1712. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1713.   else
  1714.     cat > conftest.$ac_ext <<EOF
  1715.   #line 634 "configure"
  1716. ***************
  1717. *** 649,670 ****
  1718.   rm -f conftest*
  1719.   
  1720.   fi
  1721. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1722. !   echo "$ac_t""yes" 1>&4
  1723. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1724.     cat >> confdefs.h <<EOF
  1725.   #define $ac_tr_hdr 1
  1726.   EOF
  1727.    ac_header_dirent=$ac_hdr; break
  1728.   else
  1729. !   echo "$ac_t""no" 1>&4
  1730.   fi
  1731.   done
  1732.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1733.   if test $ac_header_dirent = dirent.h; then
  1734. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1735. ! if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1736. !   echo $ac_n "(cached) $ac_c" 1>&4
  1737.   else
  1738.     ac_save_LIBS="$LIBS"
  1739.   LIBS="$LIBS -ldir "
  1740. --- 650,671 ----
  1741.   rm -f conftest*
  1742.   
  1743.   fi
  1744. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1745. !   /bin/echo "$ac_t""yes" 1>&4
  1746. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1747.     cat >> confdefs.h <<EOF
  1748.   #define $ac_tr_hdr 1
  1749.   EOF
  1750.    ac_header_dirent=$ac_hdr; break
  1751.   else
  1752. !   /bin/echo "$ac_t""no" 1>&4
  1753.   fi
  1754.   done
  1755.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1756.   if test $ac_header_dirent = dirent.h; then
  1757. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1758. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1759. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1760.   else
  1761.     ac_save_LIBS="$LIBS"
  1762.   LIBS="$LIBS -ldir "
  1763. ***************
  1764. *** 688,704 ****
  1765.   LIBS="$ac_save_LIBS"
  1766.   
  1767.   fi
  1768. ! if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  1769. !   echo "$ac_t""yes" 1>&4
  1770.     LIBS="$LIBS -ldir"
  1771.   else
  1772. !   echo "$ac_t""no" 1>&4
  1773.   fi
  1774.   
  1775.   else
  1776. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1777. ! if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1778. !   echo $ac_n "(cached) $ac_c" 1>&4
  1779.   else
  1780.     ac_save_LIBS="$LIBS"
  1781.   LIBS="$LIBS -lx "
  1782. --- 689,705 ----
  1783.   LIBS="$ac_save_LIBS"
  1784.   
  1785.   fi
  1786. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dir`\" = yes"; then
  1787. !   /bin/echo "$ac_t""yes" 1>&4
  1788.     LIBS="$LIBS -ldir"
  1789.   else
  1790. !   /bin/echo "$ac_t""no" 1>&4
  1791.   fi
  1792.   
  1793.   else
  1794. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1795. ! if eval "test \"`/bin/echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1796. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1797.   else
  1798.     ac_save_LIBS="$LIBS"
  1799.   LIBS="$LIBS -lx "
  1800. ***************
  1801. *** 722,744 ****
  1802.   LIBS="$ac_save_LIBS"
  1803.   
  1804.   fi
  1805. ! if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  1806. !   echo "$ac_t""yes" 1>&4
  1807.     LIBS="$LIBS -lx"
  1808.   else
  1809. !   echo "$ac_t""no" 1>&4
  1810.   fi
  1811.   
  1812.   fi
  1813.   
  1814. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  1815.   # On Suns, sometimes $CPP names a directory.
  1816.   if test -n "$CPP" && test -d "$CPP"; then
  1817.     CPP=
  1818.   fi
  1819.   if test -z "$CPP"; then
  1820. ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  1821. !   echo $ac_n "(cached) $ac_c" 1>&4
  1822.   else
  1823.       # This must be in double quotes, not single quotes, because CPP may get
  1824.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  1825. --- 723,745 ----
  1826.   LIBS="$ac_save_LIBS"
  1827.   
  1828.   fi
  1829. ! if eval "test \"`/bin/echo '$ac_cv_lib_'x`\" = yes"; then
  1830. !   /bin/echo "$ac_t""yes" 1>&4
  1831.     LIBS="$LIBS -lx"
  1832.   else
  1833. !   /bin/echo "$ac_t""no" 1>&4
  1834.   fi
  1835.   
  1836.   fi
  1837.   
  1838. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  1839.   # On Suns, sometimes $CPP names a directory.
  1840.   if test -n "$CPP" && test -d "$CPP"; then
  1841.     CPP=
  1842.   fi
  1843.   if test -z "$CPP"; then
  1844. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  1845. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1846.   else
  1847.       # This must be in double quotes, not single quotes, because CPP may get
  1848.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  1849. ***************
  1850. *** 756,762 ****
  1851.   if test -z "$ac_err"; then
  1852.     :
  1853.   else
  1854. !   echo "$ac_err" >&5
  1855.     rm -rf conftest*
  1856.     CPP="${CC-cc} -E -traditional-cpp"
  1857.     cat > conftest.$ac_ext <<EOF
  1858. --- 757,763 ----
  1859.   if test -z "$ac_err"; then
  1860.     :
  1861.   else
  1862. !   /bin/echo "$ac_err" >&5
  1863.     rm -rf conftest*
  1864.     CPP="${CC-cc} -E -traditional-cpp"
  1865.     cat > conftest.$ac_ext <<EOF
  1866. ***************
  1867. *** 770,776 ****
  1868.   if test -z "$ac_err"; then
  1869.     :
  1870.   else
  1871. !   echo "$ac_err" >&5
  1872.     rm -rf conftest*
  1873.     CPP=/lib/cpp
  1874.   fi
  1875. --- 771,777 ----
  1876.   if test -z "$ac_err"; then
  1877.     :
  1878.   else
  1879. !   /bin/echo "$ac_err" >&5
  1880.     rm -rf conftest*
  1881.     CPP=/lib/cpp
  1882.   fi
  1883. ***************
  1884. *** 781,792 ****
  1885.   fi
  1886.   fi
  1887.   CPP="$ac_cv_prog_CPP"
  1888. ! echo "$ac_t""$CPP" 1>&4
  1889.   
  1890.   # If we cannot run a trivial program, we must be cross compiling.
  1891. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  1892. ! if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  1893. !   echo $ac_n "(cached) $ac_c" 1>&4
  1894.   else
  1895.     if test "$cross_compiling" = yes; then
  1896.     ac_cv_cross=yes
  1897. --- 782,793 ----
  1898.   fi
  1899.   fi
  1900.   CPP="$ac_cv_prog_CPP"
  1901. ! /bin/echo "$ac_t""$CPP" 1>&4
  1902.   
  1903.   # If we cannot run a trivial program, we must be cross compiling.
  1904. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  1905. ! if eval "test \"`/bin/echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  1906. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1907.   else
  1908.     if test "$cross_compiling" = yes; then
  1909.     ac_cv_cross=yes
  1910. ***************
  1911. *** 806,816 ****
  1912.   rm -fr conftest*
  1913.   fi
  1914.   cross_compiling=$ac_cv_c_cross
  1915. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  1916.   
  1917. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1918. ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1919. !   echo $ac_n "(cached) $ac_c" 1>&4
  1920.   else
  1921.     cat > conftest.$ac_ext <<EOF
  1922.   #line 817 "configure"
  1923. --- 807,817 ----
  1924.   rm -fr conftest*
  1925.   fi
  1926.   cross_compiling=$ac_cv_c_cross
  1927. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  1928.   
  1929. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1930. ! if eval "test \"`/bin/echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1931. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1932.   else
  1933.     cat > conftest.$ac_ext <<EOF
  1934.   #line 817 "configure"
  1935. ***************
  1936. *** 826,832 ****
  1937.     rm -rf conftest*
  1938.     ac_cv_header_stdc=yes
  1939.   else
  1940. !   echo "$ac_err" >&5
  1941.     rm -rf conftest*
  1942.     ac_cv_header_stdc=no
  1943.   fi
  1944. --- 827,833 ----
  1945.     rm -rf conftest*
  1946.     ac_cv_header_stdc=yes
  1947.   else
  1948. !   /bin/echo "$ac_err" >&5
  1949.     rm -rf conftest*
  1950.     ac_cv_header_stdc=no
  1951.   fi
  1952. ***************
  1953. *** 895,901 ****
  1954.   rm -fr conftest*
  1955.   fi
  1956.   fi
  1957. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1958.   if test $ac_cv_header_stdc = yes; then
  1959.     cat >> confdefs.h <<\EOF
  1960.   #define STDC_HEADERS 1
  1961. --- 896,902 ----
  1962.   rm -fr conftest*
  1963.   fi
  1964.   fi
  1965. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1966.   if test $ac_cv_header_stdc = yes; then
  1967.     cat >> confdefs.h <<\EOF
  1968.   #define STDC_HEADERS 1
  1969. ***************
  1970. *** 903,914 ****
  1971.   
  1972.   fi
  1973.   
  1974. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  1975. ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  1976. !   echo $ac_n "(cached) $ac_c" 1>&4
  1977.   else
  1978.     if test "$cross_compiling" = yes; then
  1979. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1980.   else
  1981.   cat > conftest.$ac_ext <<EOF
  1982.   #line 915 "configure"
  1983. --- 904,915 ----
  1984.   
  1985.   fi
  1986.   
  1987. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  1988. ! if eval "test \"`/bin/echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  1989. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1990.   else
  1991.     if test "$cross_compiling" = yes; then
  1992. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1993.   else
  1994.   cat > conftest.$ac_ext <<EOF
  1995.   #line 915 "configure"
  1996. ***************
  1997. *** 926,932 ****
  1998.   fi
  1999.   rm -fr conftest*
  2000.   fi
  2001. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2002.   if test $ac_cv_func_closedir_void = yes; then
  2003.     cat >> confdefs.h <<\EOF
  2004.   #define CLOSEDIR_VOID 1
  2005. --- 927,933 ----
  2006.   fi
  2007.   rm -fr conftest*
  2008.   fi
  2009. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2010.   if test $ac_cv_func_closedir_void = yes; then
  2011.     cat >> confdefs.h <<\EOF
  2012.   #define CLOSEDIR_VOID 1
  2013. ***************
  2014. *** 937,946 ****
  2015.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  2016.                    string.h unistd.h
  2017.   do
  2018. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  2019. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  2020. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2021. !   echo $ac_n "(cached) $ac_c" 1>&4
  2022.   else
  2023.     cat > conftest.$ac_ext <<EOF
  2024.   #line 947 "configure"
  2025. --- 938,947 ----
  2026.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  2027.                    string.h unistd.h
  2028.   do
  2029. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  2030. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  2031. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2032. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2033.   else
  2034.     cat > conftest.$ac_ext <<EOF
  2035.   #line 947 "configure"
  2036. ***************
  2037. *** 953,982 ****
  2038.     rm -rf conftest*
  2039.     eval "ac_cv_header_$ac_safe=yes"
  2040.   else
  2041. !   echo "$ac_err" >&5
  2042.     rm -rf conftest*
  2043.     eval "ac_cv_header_$ac_safe=no"
  2044.   fi
  2045.   rm -f conftest*
  2046.   fi
  2047. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2048. !   echo "$ac_t""yes" 1>&4
  2049. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  2050.     cat >> confdefs.h <<EOF
  2051.   #define $ac_tr_hdr 1
  2052.   EOF
  2053.    
  2054.   else
  2055. !   echo "$ac_t""no" 1>&4
  2056.   fi
  2057.   done
  2058.   
  2059.   
  2060.   for ac_func in basename bcopy memmove putenv
  2061.   do
  2062. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2063. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2064. !   echo $ac_n "(cached) $ac_c" 1>&4
  2065.   else
  2066.     cat > conftest.$ac_ext <<EOF
  2067.   #line 983 "configure"
  2068. --- 954,983 ----
  2069.     rm -rf conftest*
  2070.     eval "ac_cv_header_$ac_safe=yes"
  2071.   else
  2072. !   /bin/echo "$ac_err" >&5
  2073.     rm -rf conftest*
  2074.     eval "ac_cv_header_$ac_safe=no"
  2075.   fi
  2076.   rm -f conftest*
  2077.   fi
  2078. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2079. !   /bin/echo "$ac_t""yes" 1>&4
  2080. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  2081.     cat >> confdefs.h <<EOF
  2082.   #define $ac_tr_hdr 1
  2083.   EOF
  2084.    
  2085.   else
  2086. !   /bin/echo "$ac_t""no" 1>&4
  2087.   fi
  2088.   done
  2089.   
  2090.   
  2091.   for ac_func in basename bcopy memmove putenv
  2092.   do
  2093. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2094. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2095. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2096.   else
  2097.     cat > conftest.$ac_ext <<EOF
  2098.   #line 983 "configure"
  2099. ***************
  2100. *** 1009,1030 ****
  2101.   rm -f conftest*
  2102.   
  2103.   fi
  2104. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2105. !   echo "$ac_t""yes" 1>&4
  2106. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  2107.     cat >> confdefs.h <<EOF
  2108.   #define $ac_tr_func 1
  2109.   EOF
  2110.    
  2111.   else
  2112. !   echo "$ac_t""no" 1>&4
  2113.   fi
  2114.   done
  2115.   
  2116.   
  2117. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  2118. ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  2119. !   echo $ac_n "(cached) $ac_c" 1>&4
  2120.   else
  2121.     cat > conftest.$ac_ext <<EOF
  2122.   #line 1031 "configure"
  2123. --- 1010,1031 ----
  2124.   rm -f conftest*
  2125.   
  2126.   fi
  2127. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2128. !   /bin/echo "$ac_t""yes" 1>&4
  2129. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  2130.     cat >> confdefs.h <<EOF
  2131.   #define $ac_tr_func 1
  2132.   EOF
  2133.    
  2134.   else
  2135. !   /bin/echo "$ac_t""no" 1>&4
  2136.   fi
  2137.   done
  2138.   
  2139.   
  2140. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  2141. ! if eval "test \"`/bin/echo '${'ac_cv_c_const'+set}'`\" = set"; then
  2142. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2143.   else
  2144.     cat > conftest.$ac_ext <<EOF
  2145.   #line 1031 "configure"
  2146. ***************
  2147. *** 1087,1093 ****
  2148.   rm -f conftest*
  2149.   
  2150.   fi
  2151. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  2152.   if test $ac_cv_c_const = no; then
  2153.     cat >> confdefs.h <<\EOF
  2154.   #define const 
  2155. --- 1088,1094 ----
  2156.   rm -f conftest*
  2157.   
  2158.   fi
  2159. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  2160.   if test $ac_cv_c_const = no; then
  2161.     cat >> confdefs.h <<\EOF
  2162.   #define const 
  2163. ***************
  2164. *** 1098,1106 ****
  2165.   
  2166.   
  2167.   # This is a GNU libc invention.
  2168. ! echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  2169. ! if eval "test \"`echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  2170. !   echo $ac_n "(cached) $ac_c" 1>&4
  2171.   else
  2172.     cat > conftest.$ac_ext <<EOF
  2173.   #line 1107 "configure"
  2174. --- 1099,1107 ----
  2175.   
  2176.   
  2177.   # This is a GNU libc invention.
  2178. ! /bin/echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  2179. ! if eval "test \"`/bin/echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  2180. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2181.   else
  2182.     cat > conftest.$ac_ext <<EOF
  2183.   #line 1107 "configure"
  2184. ***************
  2185. *** 1121,1127 ****
  2186.   rm -f conftest*
  2187.   
  2188.   fi
  2189. ! echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  2190.   if test $kb_cv_var_program_inv_name = yes; then
  2191.     cat >> confdefs.h <<\EOF
  2192.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  2193. --- 1122,1128 ----
  2194.   rm -f conftest*
  2195.   
  2196.   fi
  2197. ! /bin/echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  2198.   if test $kb_cv_var_program_inv_name = yes; then
  2199.     cat >> confdefs.h <<\EOF
  2200.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  2201. ***************
  2202. *** 1134,1142 ****
  2203.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  2204.   # We don't actually need to run this if we don't have putenv, but it
  2205.   # doesn't hurt.
  2206. ! echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  2207. ! if eval "test \"`echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  2208. !   echo $ac_n "(cached) $ac_c" 1>&4
  2209.   else
  2210.     if test "$cross_compiling" = yes; then
  2211.     kb_cv_func_putenv_malloc=no
  2212. --- 1135,1143 ----
  2213.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  2214.   # We don't actually need to run this if we don't have putenv, but it
  2215.   # doesn't hurt.
  2216. ! /bin/echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  2217. ! if eval "test \"`/bin/echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  2218. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2219.   else
  2220.     if test "$cross_compiling" = yes; then
  2221.     kb_cv_func_putenv_malloc=no
  2222. ***************
  2223. *** 1204,1210 ****
  2224.   fi
  2225.   rm -fr conftest*
  2226.   fi
  2227. ! echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  2228.   if test $kb_cv_func_putenv_malloc = yes; then
  2229.     cat >> confdefs.h <<\EOF
  2230.   #define SMART_PUTENV 1
  2231. --- 1205,1211 ----
  2232.   fi
  2233.   rm -fr conftest*
  2234.   fi
  2235. ! /bin/echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  2236.   if test $kb_cv_func_putenv_malloc = yes; then
  2237.     cat >> confdefs.h <<\EOF
  2238.   #define SMART_PUTENV 1
  2239. ***************
  2240. *** 1213,1221 ****
  2241.   fi
  2242.   
  2243.   
  2244. ! echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&4
  2245. ! if eval "test \"`echo '${'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  2246. !   echo $ac_n "(cached) $ac_c" 1>&4
  2247.   else
  2248.     if test "$GCC" = yes; then
  2249.     # GCC predefines this symbol on systems where it applies.
  2250. --- 1214,1222 ----
  2251.   fi
  2252.   
  2253.   
  2254. ! /bin/echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&4
  2255. ! if eval "test \"`/bin/echo '${'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  2256. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2257.   else
  2258.     if test "$GCC" = yes; then
  2259.     # GCC predefines this symbol on systems where it applies.
  2260. ***************
  2261. *** 1239,1245 ****
  2262.   
  2263.   else
  2264.   if test "$cross_compiling" = yes; then
  2265. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2266.   else
  2267.   cat > conftest.$ac_ext <<EOF
  2268.   #line 1246 "configure"
  2269. --- 1240,1246 ----
  2270.   
  2271.   else
  2272.   if test "$cross_compiling" = yes; then
  2273. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2274.   else
  2275.   cat > conftest.$ac_ext <<EOF
  2276.   #line 1246 "configure"
  2277. ***************
  2278. *** 1262,1268 ****
  2279.   rm -fr conftest*
  2280.   fi
  2281.   fi
  2282. ! echo "$ac_t""$ac_cv_c_char_unsigned" 1>&4
  2283.   if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  2284.     cat >> confdefs.h <<\EOF
  2285.   #define __CHAR_UNSIGNED__ 1
  2286. --- 1263,1269 ----
  2287.   rm -fr conftest*
  2288.   fi
  2289.   fi
  2290. ! /bin/echo "$ac_t""$ac_cv_c_char_unsigned" 1>&4
  2291.   if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  2292.     cat >> confdefs.h <<\EOF
  2293.   #define __CHAR_UNSIGNED__ 1
  2294. ***************
  2295. *** 1270,1281 ****
  2296.   
  2297.   fi
  2298.   
  2299. ! echo $ac_n "checking size of long""... $ac_c" 1>&4
  2300. ! if eval "test \"`echo '${'ac_cv_sizeof_long'+set}'`\" = set"; then
  2301. !   echo $ac_n "(cached) $ac_c" 1>&4
  2302.   else
  2303.     if test "$cross_compiling" = yes; then
  2304. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2305.   else
  2306.   cat > conftest.$ac_ext <<EOF
  2307.   #line 1282 "configure"
  2308. --- 1271,1282 ----
  2309.   
  2310.   fi
  2311.   
  2312. ! /bin/echo $ac_n "checking size of long""... $ac_c" 1>&4
  2313. ! if eval "test \"`/bin/echo '${'ac_cv_sizeof_long'+set}'`\" = set"; then
  2314. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2315.   else
  2316.     if test "$cross_compiling" = yes; then
  2317. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2318.   else
  2319.   cat > conftest.$ac_ext <<EOF
  2320.   #line 1282 "configure"
  2321. ***************
  2322. *** 1296,1302 ****
  2323.   fi
  2324.   rm -fr conftest*
  2325.   fi
  2326. ! echo "$ac_t""$ac_cv_sizeof_long" 1>&4
  2327.   cat >> confdefs.h <<EOF
  2328.   #define SIZEOF_LONG $ac_cv_sizeof_long
  2329.   EOF
  2330. --- 1297,1303 ----
  2331.   fi
  2332.   rm -fr conftest*
  2333.   fi
  2334. ! /bin/echo "$ac_t""$ac_cv_sizeof_long" 1>&4
  2335.   cat >> confdefs.h <<EOF
  2336.   #define SIZEOF_LONG $ac_cv_sizeof_long
  2337.   EOF
  2338. ***************
  2339. *** 1305,1311 ****
  2340.   
  2341.   trap '' 1 2 15
  2342.   if test -w $cache_file; then
  2343. ! echo "updating cache $cache_file"
  2344.   cat > $cache_file <<\EOF
  2345.   # This file is a shell script that caches the results of configure
  2346.   # tests run on this system so they can be shared between configure
  2347. --- 1306,1312 ----
  2348.   
  2349.   trap '' 1 2 15
  2350.   if test -w $cache_file; then
  2351. ! /bin/echo "updating cache $cache_file"
  2352.   cat > $cache_file <<\EOF
  2353.   # This file is a shell script that caches the results of configure
  2354.   # tests run on this system so they can be shared between configure
  2355. ***************
  2356. *** 1323,1333 ****
  2357.   #
  2358.   EOF
  2359.   # Ultrix sh set writes to stderr and can't be redirected directly.
  2360.   (set) 2>&1 |
  2361. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  2362. !   >> $cache_file
  2363.   else
  2364. ! echo "not updating unwritable cache $cache_file"
  2365.   fi
  2366.   
  2367.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2368. --- 1324,1337 ----
  2369.   #
  2370.   EOF
  2371.   # Ultrix sh set writes to stderr and can't be redirected directly.
  2372. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  2373. + # sed commands.
  2374.   (set) 2>&1 |
  2375. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  2376. !   sed "s@\\\$@\${@" |
  2377. !   sed "s@\$@}@" >> $cache_file
  2378.   else
  2379. ! /bin/echo "not updating unwritable cache $cache_file"
  2380.   fi
  2381.   
  2382.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2383. ***************
  2384. *** 1350,1356 ****
  2385.   # Without the "./", some shells look in PATH for config.status.
  2386.   : ${CONFIG_STATUS=./config.status}
  2387.   
  2388. ! echo creating $CONFIG_STATUS
  2389.   rm -f $CONFIG_STATUS
  2390.   cat > $CONFIG_STATUS <<EOF
  2391.   #!/bin/sh
  2392. --- 1354,1360 ----
  2393.   # Without the "./", some shells look in PATH for config.status.
  2394.   : ${CONFIG_STATUS=./config.status}
  2395.   
  2396. ! /bin/echo creating $CONFIG_STATUS
  2397.   rm -f $CONFIG_STATUS
  2398.   cat > $CONFIG_STATUS <<EOF
  2399.   #!/bin/sh
  2400. ***************
  2401. *** 1369,1382 ****
  2402.   do
  2403.     case "\$ac_option" in
  2404.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2405. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2406.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2407.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2408. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  2409.       exit 0 ;;
  2410.     -help | --help | --hel | --he | --h)
  2411. !     echo "\$ac_cs_usage"; exit 0 ;;
  2412. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  2413.     esac
  2414.   done
  2415.   
  2416. --- 1373,1386 ----
  2417.   do
  2418.     case "\$ac_option" in
  2419.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2420. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2421.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2422.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2423. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  2424.       exit 0 ;;
  2425.     -help | --help | --hel | --he | --h)
  2426. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  2427. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  2428.     esac
  2429.   done
  2430.   
  2431. ***************
  2432. *** 1416,1436 ****
  2433.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2434.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2435.     case "$ac_file" in
  2436. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2437. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2438.     *) ac_file_in="${ac_file}.in" ;;
  2439.     esac
  2440.   
  2441.     # Adjust relative srcdir, etc. for subdirectories.
  2442.   
  2443.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2444. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2445.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2446.       # The file is in a subdirectory.
  2447.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2448.       ac_dir_suffix="/$ac_dir"
  2449.       # A "../" for each directory in $ac_dir_suffix.
  2450. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2451.     else
  2452.       ac_dir_suffix= ac_dots=
  2453.     fi
  2454. --- 1420,1440 ----
  2455.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2456.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2457.     case "$ac_file" in
  2458. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  2459. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  2460.     *) ac_file_in="${ac_file}.in" ;;
  2461.     esac
  2462.   
  2463.     # Adjust relative srcdir, etc. for subdirectories.
  2464.   
  2465.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2466. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2467.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2468.       # The file is in a subdirectory.
  2469.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2470.       ac_dir_suffix="/$ac_dir"
  2471.       # A "../" for each directory in $ac_dir_suffix.
  2472. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2473.     else
  2474.       ac_dir_suffix= ac_dots=
  2475.     fi
  2476. ***************
  2477. *** 1438,1444 ****
  2478.     case "$ac_given_srcdir" in
  2479.     .)  srcdir=.
  2480.         if test -z "$ac_dots"; then top_srcdir=.
  2481. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2482.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2483.     *) # Relative path.
  2484.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2485. --- 1442,1448 ----
  2486.     case "$ac_given_srcdir" in
  2487.     .)  srcdir=.
  2488.         if test -z "$ac_dots"; then top_srcdir=.
  2489. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  2490.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2491.     *) # Relative path.
  2492.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2493. ***************
  2494. *** 1449,1457 ****
  2495.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2496.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2497.     esac
  2498. !   echo creating "$ac_file"
  2499.     rm -f "$ac_file"
  2500. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2501.     case "$ac_file" in
  2502.     *Makefile*) ac_comsub="1i\\
  2503.   # $configure_input" ;;
  2504. --- 1453,1461 ----
  2505.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2506.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2507.     esac
  2508. !   /bin/echo creating "$ac_file"
  2509.     rm -f "$ac_file"
  2510. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  2511.     case "$ac_file" in
  2512.     *Makefile*) ac_comsub="1i\\
  2513.   # $configure_input" ;;
  2514. ***************
  2515. *** 1464,1477 ****
  2516.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  2517.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  2518.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  2519. !   # Use @e initially instead of -e because GNU echo has a -e option.
  2520.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  2521.     file_substs=`sed -n \
  2522.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  2523.                  $ac_given_srcdir/${ac_file}.in`
  2524.     if test -n "$file_substs"; then
  2525.       # Change @e back to -e and X@^ to \@^.
  2526. !     file_subst_cmd="sed `echo $file_substs \
  2527.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  2528.     else
  2529.       # If no substitutions and hence no sed commands, don't choke.
  2530. --- 1468,1481 ----
  2531.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  2532.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  2533.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  2534. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  2535.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  2536.     file_substs=`sed -n \
  2537.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  2538.                  $ac_given_srcdir/${ac_file}.in`
  2539.     if test -n "$file_substs"; then
  2540.       # Change @e back to -e and X@^ to \@^.
  2541. !     file_subst_cmd="sed `/bin/echo $file_substs \
  2542.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  2543.     else
  2544.       # If no substitutions and hence no sed commands, don't choke.
  2545. ***************
  2546. *** 1514,1525 ****
  2547.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2548.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2549.     case "$ac_file" in
  2550. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2551. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2552.     *) ac_file_in="${ac_file}.in" ;;
  2553.     esac
  2554.   
  2555. !   echo creating $ac_file
  2556.   
  2557.     rm -f conftest.frag conftest.in conftest.out
  2558.     cp $ac_given_srcdir/$ac_file_in conftest.in
  2559. --- 1518,1529 ----
  2560.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2561.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2562.     case "$ac_file" in
  2563. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  2564. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  2565.     *) ac_file_in="${ac_file}.in" ;;
  2566.     esac
  2567.   
  2568. !   /bin/echo creating $ac_file
  2569.   
  2570.     rm -f conftest.frag conftest.in conftest.out
  2571.     cp $ac_given_srcdir/$ac_file_in conftest.in
  2572. ***************
  2573. *** 1560,1568 ****
  2574.     # grep -c gives empty output for an empty file on some AIX systems.
  2575.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2576.     # Write a limited-size here document to conftest.frag.
  2577. !   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  2578.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  2579. !   echo 'CEOF
  2580.     sed -f conftest.frag conftest.in > conftest.out
  2581.     rm -f conftest.in
  2582.     mv conftest.out conftest.in
  2583. --- 1564,1572 ----
  2584.     # grep -c gives empty output for an empty file on some AIX systems.
  2585.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2586.     # Write a limited-size here document to conftest.frag.
  2587. !   /bin/echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  2588.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  2589. !   /bin/echo 'CEOF
  2590.     sed -f conftest.frag conftest.in > conftest.out
  2591.     rm -f conftest.in
  2592.     mv conftest.out conftest.in
  2593. ***************
  2594. *** 1575,1585 ****
  2595.   
  2596.   cat >> $CONFIG_STATUS <<\EOF
  2597.     rm -f conftest.frag conftest.h
  2598. !   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  2599.     cat conftest.in >> conftest.h
  2600.     rm -f conftest.in
  2601.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  2602. !     echo "$ac_file is unchanged"
  2603.       rm -f conftest.h
  2604.     else
  2605.       rm -f $ac_file
  2606. --- 1579,1589 ----
  2607.   
  2608.   cat >> $CONFIG_STATUS <<\EOF
  2609.     rm -f conftest.frag conftest.h
  2610. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  2611.     cat conftest.in >> conftest.h
  2612.     rm -f conftest.in
  2613.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  2614. !     /bin/echo "$ac_file is unchanged"
  2615.       rm -f conftest.h
  2616.     else
  2617.       rm -f $ac_file
  2618. diff -rc --new-file unixtex-6.1b-base/dviljk/dvi2xx.c unixtex-6.1b/dviljk/dvi2xx.c
  2619. *** unixtex-6.1b-base/dviljk/dvi2xx.c    Sun Jan  8 17:22:12 1995
  2620. --- unixtex-6.1b/dviljk/dvi2xx.c    Tue Apr  4 08:05:50 1995
  2621. ***************
  2622. *** 304,310 ****
  2623. --- 304,312 ----
  2624.   
  2625.   #ifndef _AMIGA
  2626.   #ifndef unix
  2627. + #if !defined (__amiga__) && !defined (__gnuc__)
  2628.   long    access();
  2629. + #endif
  2630.   FILE   *BOPENCMD();
  2631.   void    exit();
  2632.   int     fclose();
  2633. ***************
  2634. *** 609,615 ****
  2635.   /**********************************************************************/
  2636.   /*******************************  main  *******************************/
  2637.   /**********************************************************************/
  2638. ! void
  2639.   main(argc, argv)
  2640.   int     argc;
  2641.   char    *argv[];
  2642. --- 611,617 ----
  2643.   /**********************************************************************/
  2644.   /*******************************  main  *******************************/
  2645.   /**********************************************************************/
  2646. ! int
  2647.   main(argc, argv)
  2648.   int     argc;
  2649.   char    *argv[];
  2650. diff -rc --new-file unixtex-6.1b-base/dvipsk/Makefile.in unixtex-6.1b/dvipsk/Makefile.in
  2651. *** unixtex-6.1b-base/dvipsk/Makefile.in    Sun Jan  8 17:20:14 1995
  2652. --- unixtex-6.1b/dvipsk/Makefile.in    Sun Apr  2 21:14:26 1995
  2653. ***************
  2654. *** 53,59 ****
  2655.   $(prologues): squeeze
  2656.   
  2657.   texc.lpro: texc.script tex.lpro
  2658. !     $(SHELL) $(srcdir)/texc.script tex.lpro $@
  2659.   
  2660.   ac_include ../make/tkpathsea.make
  2661.   
  2662. --- 53,59 ----
  2663.   $(prologues): squeeze
  2664.   
  2665.   texc.lpro: texc.script tex.lpro
  2666. !     $(SHELL) $(srcdir)/texc.script $(srcdir)/tex.lpro $@
  2667.   
  2668.   ac_include ../make/tkpathsea.make
  2669.   
  2670. ***************
  2671. *** 100,107 ****
  2672.       $(INSTALL_DATA) $(srcdir)/dvips.1 $(mandir)/dvips.$(manext)
  2673.       $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(mandir)/afm2tfm.$(manext)
  2674.   # TeX macros and fonts.
  2675. !     ($(install_macros) && (cd tex; $(CP_R) . $(texinputdir))) || true
  2676. !     ($(install_fonts) && (cd fonts; $(CP_R) . $(fontdir))) || true
  2677.   
  2678.   uninstall-data:
  2679.       rm -f $(infodir)/dvips.info*
  2680. --- 100,107 ----
  2681.       $(INSTALL_DATA) $(srcdir)/dvips.1 $(mandir)/dvips.$(manext)
  2682.       $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(mandir)/afm2tfm.$(manext)
  2683.   # TeX macros and fonts.
  2684. !     ($(install_macros) && (cd $(srcdir)/tex; $(CP_R) . $(texinputdir))) || true
  2685. !     ($(install_fonts) && (cd $(srcdir)/fonts; $(CP_R) . $(fontdir))) || true
  2686.   
  2687.   uninstall-data:
  2688.       rm -f $(infodir)/dvips.info*
  2689. ***************
  2690. *** 121,128 ****
  2691.   
  2692.   pre-dist-$(distname): INSTALL $(program).info $(program).dvi
  2693.   post-dist-$(distname):
  2694. !     cd $(distdir); ln -s $(ps)/fonts $(ps)/tex $(ps)/contrib .
  2695. !     cd $(distdir); ln -s $(fontname)/dvips reencode
  2696.       ln $(program).aux $(program).cps $(distdir)
  2697.       rm -f $(distdir)/texc.lpro
  2698.       cp -p $(fontname)/doc/fontname/adobe.txt $(distdir)/adobe
  2699. --- 121,128 ----
  2700.   
  2701.   pre-dist-$(distname): INSTALL $(program).info $(program).dvi
  2702.   post-dist-$(distname):
  2703. !     cd $(distdir); $(LN_S) $(ps)/fonts $(ps)/tex $(ps)/contrib .
  2704. !     cd $(distdir); $(LN_S) $(fontname)/dvips reencode
  2705.       ln $(program).aux $(program).cps $(distdir)
  2706.       rm -f $(distdir)/texc.lpro
  2707.       cp -p $(fontname)/doc/fontname/adobe.txt $(distdir)/adobe
  2708. diff -rc --new-file unixtex-6.1b-base/dvipsk/configure unixtex-6.1b/dvipsk/configure
  2709. *** unixtex-6.1b-base/dvipsk/configure    Fri Jan  6 14:44:44 1995
  2710. --- unixtex-6.1b/dvipsk/configure    Sun Apr  2 23:10:28 1995
  2711. ***************
  2712. *** 9,15 ****
  2713.   
  2714.   # Defaults:
  2715.   ac_help=
  2716. ! ac_default_prefix=/usr/local
  2717.   # Any additions from configure.in:
  2718.   
  2719.   # Initialize some variables set by options.
  2720. --- 9,15 ----
  2721.   
  2722.   # Defaults:
  2723.   ac_help=
  2724. ! ac_default_prefix=/gnu
  2725.   # Any additions from configure.in:
  2726.   
  2727.   # Initialize some variables set by options.
  2728. ***************
  2729. *** 49,55 ****
  2730.     fi
  2731.   
  2732.     case "$ac_option" in
  2733. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  2734.     *) ac_optarg= ;;
  2735.     esac
  2736.   
  2737. --- 49,55 ----
  2738.     fi
  2739.   
  2740.     case "$ac_option" in
  2741. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  2742.     *) ac_optarg= ;;
  2743.     esac
  2744.   
  2745. ***************
  2746. *** 70,90 ****
  2747.       cache_file="$ac_optarg" ;;
  2748.   
  2749.     -disable-* | --disable-*)
  2750. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  2751.       # Reject names that are not valid shell variable names.
  2752. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  2753. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  2754.       fi
  2755. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  2756.       eval "enable_${ac_feature}=no" ;;
  2757.   
  2758.     -enable-* | --enable-*)
  2759. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  2760.       # Reject names that are not valid shell variable names.
  2761. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  2762. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  2763.       fi
  2764. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  2765.       case "$ac_option" in
  2766.         *=*) ;;
  2767.         *) ac_optarg=yes ;;
  2768. --- 70,90 ----
  2769.       cache_file="$ac_optarg" ;;
  2770.   
  2771.     -disable-* | --disable-*)
  2772. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  2773.       # Reject names that are not valid shell variable names.
  2774. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  2775. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  2776.       fi
  2777. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  2778.       eval "enable_${ac_feature}=no" ;;
  2779.   
  2780.     -enable-* | --enable-*)
  2781. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  2782.       # Reject names that are not valid shell variable names.
  2783. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  2784. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  2785.       fi
  2786. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  2787.       case "$ac_option" in
  2788.         *=*) ;;
  2789.         *) ac_optarg=yes ;;
  2790. ***************
  2791. *** 216,231 ****
  2792.       verbose=yes ;;
  2793.   
  2794.     -version | --version | --versio | --versi | --vers)
  2795. !     echo "configure generated by autoconf version 2.1"
  2796.       exit 0 ;;
  2797.   
  2798.     -with-* | --with-*)
  2799. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  2800.       # Reject names that are not valid shell variable names.
  2801. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  2802. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  2803.       fi
  2804. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  2805.       case "$ac_option" in
  2806.         *=*) ;;
  2807.         *) ac_optarg=yes ;;
  2808. --- 216,231 ----
  2809.       verbose=yes ;;
  2810.   
  2811.     -version | --version | --versio | --versi | --vers)
  2812. !     /bin/echo "configure generated by autoconf version 2.1"
  2813.       exit 0 ;;
  2814.   
  2815.     -with-* | --with-*)
  2816. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  2817.       # Reject names that are not valid shell variable names.
  2818. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  2819. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  2820.       fi
  2821. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  2822.       case "$ac_option" in
  2823.         *=*) ;;
  2824.         *) ac_optarg=yes ;;
  2825. ***************
  2826. *** 233,244 ****
  2827.       eval "with_${ac_package}='$ac_optarg'" ;;
  2828.   
  2829.     -without-* | --without-*)
  2830. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  2831.       # Reject names that are not valid shell variable names.
  2832. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  2833. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  2834.       fi
  2835. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  2836.       eval "with_${ac_package}=no" ;;
  2837.   
  2838.     --x)
  2839. --- 233,244 ----
  2840.       eval "with_${ac_package}='$ac_optarg'" ;;
  2841.   
  2842.     -without-* | --without-*)
  2843. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  2844.       # Reject names that are not valid shell variable names.
  2845. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  2846. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  2847.       fi
  2848. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  2849.       eval "with_${ac_package}=no" ;;
  2850.   
  2851.     --x)
  2852. ***************
  2853. *** 259,273 ****
  2854.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2855.       x_libraries="$ac_optarg" ;;
  2856.   
  2857. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  2858.       ;;
  2859.   
  2860.     *) 
  2861. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  2862. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  2863.       fi
  2864.       if test "x$nonopt" != xNONE; then
  2865. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  2866.       fi
  2867.       nonopt="$ac_option"
  2868.       ;;
  2869. --- 259,273 ----
  2870.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2871.       x_libraries="$ac_optarg" ;;
  2872.   
  2873. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  2874.       ;;
  2875.   
  2876.     *) 
  2877. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  2878. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  2879.       fi
  2880.       if test "x$nonopt" != xNONE; then
  2881. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  2882.       fi
  2883.       nonopt="$ac_option"
  2884.       ;;
  2885. ***************
  2886. *** 276,282 ****
  2887.   done
  2888.   
  2889.   if test -n "$ac_prev"; then
  2890. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  2891.   fi
  2892.   
  2893.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2894. --- 276,282 ----
  2895.   done
  2896.   
  2897.   if test -n "$ac_prev"; then
  2898. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  2899.   fi
  2900.   
  2901.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2902. ***************
  2903. *** 295,301 ****
  2904.   fi
  2905.   exec 5>./config.log
  2906.   
  2907. ! echo "\
  2908.   This file contains any messages produced by compilers while
  2909.   running configure, to aid debugging if configure makes a mistake.
  2910.   " 1>&5
  2911. --- 295,301 ----
  2912.   fi
  2913.   exec 5>./config.log
  2914.   
  2915. ! /bin/echo "\
  2916.   This file contains any messages produced by compilers while
  2917.   running configure, to aid debugging if configure makes a mistake.
  2918.   " 1>&5
  2919. ***************
  2920. *** 326,332 ****
  2921.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2922.   rm -rf conftest* confdefs.h
  2923.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  2924. ! echo > confdefs.h
  2925.   
  2926.   # A filename unique to this package, relative to the directory that
  2927.   # configure is in, which we can look for to find out if srcdir is correct.
  2928. --- 326,332 ----
  2929.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2930.   rm -rf conftest* confdefs.h
  2931.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  2932. ! /bin/echo > confdefs.h
  2933.   
  2934.   # A filename unique to this package, relative to the directory that
  2935.   # configure is in, which we can look for to find out if srcdir is correct.
  2936. ***************
  2937. *** 337,343 ****
  2938.     ac_srcdir_defaulted=yes
  2939.     # Try the directory containing this script, then its parent.
  2940.     ac_prog=$0
  2941. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  2942.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  2943.     srcdir=$ac_confdir
  2944.     if test ! -r $srcdir/$ac_unique_file; then
  2945. --- 337,343 ----
  2946.     ac_srcdir_defaulted=yes
  2947.     # Try the directory containing this script, then its parent.
  2948.     ac_prog=$0
  2949. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  2950.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  2951.     srcdir=$ac_confdir
  2952.     if test ! -r $srcdir/$ac_unique_file; then
  2953. ***************
  2954. *** 348,359 ****
  2955.   fi
  2956.   if test ! -r $srcdir/$ac_unique_file; then
  2957.     if test "$ac_srcdir_defaulted" = yes; then
  2958. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  2959.     else
  2960. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  2961.     fi
  2962.   fi
  2963. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  2964.   
  2965.   # Prefer explicitly selected file to automatically selected ones.
  2966.   if test -z "$CONFIG_SITE"; then
  2967. --- 348,359 ----
  2968.   fi
  2969.   if test ! -r $srcdir/$ac_unique_file; then
  2970.     if test "$ac_srcdir_defaulted" = yes; then
  2971. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  2972.     else
  2973. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  2974.     fi
  2975.   fi
  2976. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  2977.   
  2978.   # Prefer explicitly selected file to automatically selected ones.
  2979.   if test -z "$CONFIG_SITE"; then
  2980. ***************
  2981. *** 365,380 ****
  2982.   fi
  2983.   for ac_site_file in $CONFIG_SITE; do
  2984.     if test -r "$ac_site_file"; then
  2985. !     echo "loading site script $ac_site_file"
  2986.       . "$ac_site_file"
  2987.     fi
  2988.   done
  2989.   
  2990.   if test -r "$cache_file"; then
  2991. !   echo "loading cache $cache_file"
  2992.     . $cache_file
  2993.   else
  2994. !   echo "creating cache $cache_file"
  2995.     > $cache_file
  2996.   fi
  2997.   
  2998. --- 365,380 ----
  2999.   fi
  3000.   for ac_site_file in $CONFIG_SITE; do
  3001.     if test -r "$ac_site_file"; then
  3002. !     /bin/echo "loading site script $ac_site_file"
  3003.       . "$ac_site_file"
  3004.     fi
  3005.   done
  3006.   
  3007.   if test -r "$cache_file"; then
  3008. !   /bin/echo "loading cache $cache_file"
  3009.     . $cache_file
  3010.   else
  3011. !   /bin/echo "creating cache $cache_file"
  3012.     > $cache_file
  3013.   fi
  3014.   
  3015. ***************
  3016. *** 384,392 ****
  3017.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  3018.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  3019.   
  3020. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  3021.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  3022. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  3023.       ac_n= ac_c='
  3024.   ' ac_t='    '
  3025.     else
  3026. --- 384,392 ----
  3027.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  3028.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  3029.   
  3030. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  3031.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  3032. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  3033.       ac_n= ac_c='
  3034.   ' ac_t='    '
  3035.     else
  3036. ***************
  3037. *** 401,414 ****
  3038.   
  3039.   
  3040.   
  3041. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  3042.   set dummy ${MAKE-make}; ac_make=$2
  3043. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  3044. !   echo $ac_n "(cached) $ac_c" 1>&4
  3045.   else
  3046.     cat > conftestmake <<\EOF
  3047.   all:
  3048. !     @echo 'ac_maketemp="${MAKE}"'
  3049.   EOF
  3050.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  3051.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  3052. --- 401,414 ----
  3053.   
  3054.   
  3055.   
  3056. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  3057.   set dummy ${MAKE-make}; ac_make=$2
  3058. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  3059. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3060.   else
  3061.     cat > conftestmake <<\EOF
  3062.   all:
  3063. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  3064.   EOF
  3065.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  3066.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  3067. ***************
  3068. *** 419,438 ****
  3069.   fi
  3070.   rm -f conftestmake
  3071.   fi
  3072. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  3073. !   echo "$ac_t""yes" 1>&4
  3074.     SET_MAKE=
  3075.   else
  3076. !   echo "$ac_t""no" 1>&4
  3077.     SET_MAKE="MAKE=${MAKE-make}"
  3078.   fi
  3079.   
  3080.   
  3081.   # Extract the first word of "gcc", so it can be a program name with args.
  3082.   set dummy gcc; ac_word=$2
  3083. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  3084. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  3085. !   echo $ac_n "(cached) $ac_c" 1>&4
  3086.   else
  3087.     if test -n "$CC"; then
  3088.     ac_cv_prog_CC="$CC" # Let the user override the test.
  3089. --- 419,438 ----
  3090.   fi
  3091.   rm -f conftestmake
  3092.   fi
  3093. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  3094. !   /bin/echo "$ac_t""yes" 1>&4
  3095.     SET_MAKE=
  3096.   else
  3097. !   /bin/echo "$ac_t""no" 1>&4
  3098.     SET_MAKE="MAKE=${MAKE-make}"
  3099.   fi
  3100.   
  3101.   
  3102.   # Extract the first word of "gcc", so it can be a program name with args.
  3103.   set dummy gcc; ac_word=$2
  3104. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  3105. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  3106. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3107.   else
  3108.     if test -n "$CC"; then
  3109.     ac_cv_prog_CC="$CC" # Let the user override the test.
  3110. ***************
  3111. *** 451,465 ****
  3112.   fi
  3113.   CC="$ac_cv_prog_CC"
  3114.   if test -n "$CC"; then
  3115. !   echo "$ac_t""$CC" 1>&4
  3116.   else
  3117. !   echo "$ac_t""no" 1>&4
  3118.   fi
  3119.   
  3120.   
  3121. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  3122. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  3123. !   echo $ac_n "(cached) $ac_c" 1>&4
  3124.   else
  3125.     cat > conftest.c <<EOF
  3126.   #ifdef __GNUC__
  3127. --- 451,465 ----
  3128.   fi
  3129.   CC="$ac_cv_prog_CC"
  3130.   if test -n "$CC"; then
  3131. !   /bin/echo "$ac_t""$CC" 1>&4
  3132.   else
  3133. !   /bin/echo "$ac_t""no" 1>&4
  3134.   fi
  3135.   
  3136.   
  3137. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  3138. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  3139. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3140.   else
  3141.     cat > conftest.c <<EOF
  3142.   #ifdef __GNUC__
  3143. ***************
  3144. *** 472,486 ****
  3145.     ac_cv_prog_gcc=no
  3146.   fi
  3147.   fi
  3148. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  3149.   if test $ac_cv_prog_gcc = yes; then
  3150.     GCC=yes
  3151.     if test "${CFLAGS+set}" != set; then
  3152. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  3153. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  3154. !   echo $ac_n "(cached) $ac_c" 1>&4
  3155.   else
  3156. !   echo 'void f(){}' > conftest.c
  3157.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  3158.     ac_cv_prog_gcc_g=yes
  3159.   else
  3160. --- 472,486 ----
  3161.     ac_cv_prog_gcc=no
  3162.   fi
  3163.   fi
  3164. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  3165.   if test $ac_cv_prog_gcc = yes; then
  3166.     GCC=yes
  3167.     if test "${CFLAGS+set}" != set; then
  3168. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  3169. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  3170. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3171.   else
  3172. !   /bin/echo 'void f(){}' > conftest.c
  3173.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  3174.     ac_cv_prog_gcc_g=yes
  3175.   else
  3176. ***************
  3177. *** 489,495 ****
  3178.   rm -f conftest*
  3179.   
  3180.   fi
  3181. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  3182.       if test $ac_cv_prog_gcc_g = yes; then
  3183.         CFLAGS="-g -O"
  3184.       else
  3185. --- 489,495 ----
  3186.   rm -f conftest*
  3187.   
  3188.   fi
  3189. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  3190.       if test $ac_cv_prog_gcc_g = yes; then
  3191.         CFLAGS="-g -O"
  3192.       else
  3193. ***************
  3194. *** 514,520 ****
  3195.     fi
  3196.   done
  3197.   if test -z "$ac_aux_dir"; then
  3198. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  3199.   fi
  3200.   ac_config_guess=$ac_aux_dir/config.guess
  3201.   ac_config_sub=$ac_aux_dir/config.sub
  3202. --- 514,520 ----
  3203.     fi
  3204.   done
  3205.   if test -z "$ac_aux_dir"; then
  3206. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  3207.   fi
  3208.   ac_config_guess=$ac_aux_dir/config.guess
  3209.   ac_config_sub=$ac_aux_dir/config.sub
  3210. ***************
  3211. *** 530,544 ****
  3212.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3213.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3214.   # ./install, which can be erroneously created by make from ./install.sh.
  3215. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  3216.   if test -z "$INSTALL"; then
  3217. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  3218. !   echo $ac_n "(cached) $ac_c" 1>&4
  3219.   else
  3220.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  3221.     for ac_dir in $PATH; do
  3222.       case "$ac_dir" in
  3223. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  3224.       *)
  3225.         # OSF1 and SCO ODT 3.0 have their own names for install.
  3226.         for ac_prog in ginstall installbsd scoinst install; do
  3227. --- 530,545 ----
  3228.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3229.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3230.   # ./install, which can be erroneously created by make from ./install.sh.
  3231. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  3232. ! INSTALL="/bin/install -c"
  3233.   if test -z "$INSTALL"; then
  3234. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  3235. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3236.   else
  3237.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  3238.     for ac_dir in $PATH; do
  3239.       case "$ac_dir" in
  3240. !     ''|.|/bin) ;;
  3241.       *)
  3242.         # OSF1 and SCO ODT 3.0 have their own names for install.
  3243.         for ac_prog in ginstall installbsd scoinst install; do
  3244. ***************
  3245. *** 563,569 ****
  3246.   fi
  3247.     INSTALL="$ac_cv_path_install"
  3248.   fi
  3249. ! echo "$ac_t""$INSTALL" 1>&4
  3250.   
  3251.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3252.   # It thinks the first close brace ends the variable substitution.
  3253. --- 564,570 ----
  3254.   fi
  3255.     INSTALL="$ac_cv_path_install"
  3256.   fi
  3257. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  3258.   
  3259.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3260.   # It thinks the first close brace ends the variable substitution.
  3261. ***************
  3262. *** 573,581 ****
  3263.   
  3264.   # Extract the first word of "ranlib", so it can be a program name with args.
  3265.   set dummy ranlib; ac_word=$2
  3266. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  3267. ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  3268. !   echo $ac_n "(cached) $ac_c" 1>&4
  3269.   else
  3270.     if test -n "$RANLIB"; then
  3271.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3272. --- 574,582 ----
  3273.   
  3274.   # Extract the first word of "ranlib", so it can be a program name with args.
  3275.   set dummy ranlib; ac_word=$2
  3276. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  3277. ! if eval "test \"`/bin/echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  3278. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3279.   else
  3280.     if test -n "$RANLIB"; then
  3281.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3282. ***************
  3283. *** 594,610 ****
  3284.   fi
  3285.   RANLIB="$ac_cv_prog_RANLIB"
  3286.   if test -n "$RANLIB"; then
  3287. !   echo "$ac_t""$RANLIB" 1>&4
  3288.   else
  3289. !   echo "$ac_t""no" 1>&4
  3290.   fi
  3291.   
  3292.   
  3293. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  3294.   if test -d /etc/conf/kconfig.d &&
  3295. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  3296.   then
  3297. !   echo "$ac_t""yes" 1>&4
  3298.     ISC=yes # If later tests want to check for ISC.
  3299.     cat >> confdefs.h <<\EOF
  3300.   #define _POSIX_SOURCE 1
  3301. --- 595,611 ----
  3302.   fi
  3303.   RANLIB="$ac_cv_prog_RANLIB"
  3304.   if test -n "$RANLIB"; then
  3305. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  3306.   else
  3307. !   /bin/echo "$ac_t""no" 1>&4
  3308.   fi
  3309.   
  3310.   
  3311. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  3312.   if test -d /etc/conf/kconfig.d &&
  3313. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  3314.   then
  3315. !   /bin/echo "$ac_t""yes" 1>&4
  3316.     ISC=yes # If later tests want to check for ISC.
  3317.     cat >> confdefs.h <<\EOF
  3318.   #define _POSIX_SOURCE 1
  3319. ***************
  3320. *** 616,622 ****
  3321.       CC="$CC -Xp"
  3322.     fi
  3323.   else
  3324. !   echo "$ac_t""no" 1>&4
  3325.     ISC=
  3326.   fi
  3327.   
  3328. --- 617,623 ----
  3329.       CC="$CC -Xp"
  3330.     fi
  3331.   else
  3332. !   /bin/echo "$ac_t""no" 1>&4
  3333.     ISC=
  3334.   fi
  3335.   
  3336. ***************
  3337. *** 624,633 ****
  3338.   ac_header_dirent=no
  3339.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  3340.   do
  3341. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  3342. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  3343. ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  3344. !   echo $ac_n "(cached) $ac_c" 1>&4
  3345.   else
  3346.     cat > conftest.$ac_ext <<EOF
  3347.   #line 634 "configure"
  3348. --- 625,634 ----
  3349.   ac_header_dirent=no
  3350.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  3351.   do
  3352. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  3353. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  3354. ! if eval "test \"`/bin/echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  3355. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3356.   else
  3357.     cat > conftest.$ac_ext <<EOF
  3358.   #line 634 "configure"
  3359. ***************
  3360. *** 649,670 ****
  3361.   rm -f conftest*
  3362.   
  3363.   fi
  3364. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  3365. !   echo "$ac_t""yes" 1>&4
  3366. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  3367.     cat >> confdefs.h <<EOF
  3368.   #define $ac_tr_hdr 1
  3369.   EOF
  3370.    ac_header_dirent=$ac_hdr; break
  3371.   else
  3372. !   echo "$ac_t""no" 1>&4
  3373.   fi
  3374.   done
  3375.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  3376.   if test $ac_header_dirent = dirent.h; then
  3377. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  3378. ! if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  3379. !   echo $ac_n "(cached) $ac_c" 1>&4
  3380.   else
  3381.     ac_save_LIBS="$LIBS"
  3382.   LIBS="$LIBS -ldir "
  3383. --- 650,671 ----
  3384.   rm -f conftest*
  3385.   
  3386.   fi
  3387. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  3388. !   /bin/echo "$ac_t""yes" 1>&4
  3389. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  3390.     cat >> confdefs.h <<EOF
  3391.   #define $ac_tr_hdr 1
  3392.   EOF
  3393.    ac_header_dirent=$ac_hdr; break
  3394.   else
  3395. !   /bin/echo "$ac_t""no" 1>&4
  3396.   fi
  3397.   done
  3398.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  3399.   if test $ac_header_dirent = dirent.h; then
  3400. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  3401. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  3402. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3403.   else
  3404.     ac_save_LIBS="$LIBS"
  3405.   LIBS="$LIBS -ldir "
  3406. ***************
  3407. *** 688,704 ****
  3408.   LIBS="$ac_save_LIBS"
  3409.   
  3410.   fi
  3411. ! if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  3412. !   echo "$ac_t""yes" 1>&4
  3413.     LIBS="$LIBS -ldir"
  3414.   else
  3415. !   echo "$ac_t""no" 1>&4
  3416.   fi
  3417.   
  3418.   else
  3419. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  3420. ! if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  3421. !   echo $ac_n "(cached) $ac_c" 1>&4
  3422.   else
  3423.     ac_save_LIBS="$LIBS"
  3424.   LIBS="$LIBS -lx "
  3425. --- 689,705 ----
  3426.   LIBS="$ac_save_LIBS"
  3427.   
  3428.   fi
  3429. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dir`\" = yes"; then
  3430. !   /bin/echo "$ac_t""yes" 1>&4
  3431.     LIBS="$LIBS -ldir"
  3432.   else
  3433. !   /bin/echo "$ac_t""no" 1>&4
  3434.   fi
  3435.   
  3436.   else
  3437. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  3438. ! if eval "test \"`/bin/echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  3439. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3440.   else
  3441.     ac_save_LIBS="$LIBS"
  3442.   LIBS="$LIBS -lx "
  3443. ***************
  3444. *** 722,744 ****
  3445.   LIBS="$ac_save_LIBS"
  3446.   
  3447.   fi
  3448. ! if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  3449. !   echo "$ac_t""yes" 1>&4
  3450.     LIBS="$LIBS -lx"
  3451.   else
  3452. !   echo "$ac_t""no" 1>&4
  3453.   fi
  3454.   
  3455.   fi
  3456.   
  3457. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  3458.   # On Suns, sometimes $CPP names a directory.
  3459.   if test -n "$CPP" && test -d "$CPP"; then
  3460.     CPP=
  3461.   fi
  3462.   if test -z "$CPP"; then
  3463. ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  3464. !   echo $ac_n "(cached) $ac_c" 1>&4
  3465.   else
  3466.       # This must be in double quotes, not single quotes, because CPP may get
  3467.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  3468. --- 723,745 ----
  3469.   LIBS="$ac_save_LIBS"
  3470.   
  3471.   fi
  3472. ! if eval "test \"`/bin/echo '$ac_cv_lib_'x`\" = yes"; then
  3473. !   /bin/echo "$ac_t""yes" 1>&4
  3474.     LIBS="$LIBS -lx"
  3475.   else
  3476. !   /bin/echo "$ac_t""no" 1>&4
  3477.   fi
  3478.   
  3479.   fi
  3480.   
  3481. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  3482.   # On Suns, sometimes $CPP names a directory.
  3483.   if test -n "$CPP" && test -d "$CPP"; then
  3484.     CPP=
  3485.   fi
  3486.   if test -z "$CPP"; then
  3487. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  3488. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3489.   else
  3490.       # This must be in double quotes, not single quotes, because CPP may get
  3491.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  3492. ***************
  3493. *** 756,762 ****
  3494.   if test -z "$ac_err"; then
  3495.     :
  3496.   else
  3497. !   echo "$ac_err" >&5
  3498.     rm -rf conftest*
  3499.     CPP="${CC-cc} -E -traditional-cpp"
  3500.     cat > conftest.$ac_ext <<EOF
  3501. --- 757,763 ----
  3502.   if test -z "$ac_err"; then
  3503.     :
  3504.   else
  3505. !   /bin/echo "$ac_err" >&5
  3506.     rm -rf conftest*
  3507.     CPP="${CC-cc} -E -traditional-cpp"
  3508.     cat > conftest.$ac_ext <<EOF
  3509. ***************
  3510. *** 770,776 ****
  3511.   if test -z "$ac_err"; then
  3512.     :
  3513.   else
  3514. !   echo "$ac_err" >&5
  3515.     rm -rf conftest*
  3516.     CPP=/lib/cpp
  3517.   fi
  3518. --- 771,777 ----
  3519.   if test -z "$ac_err"; then
  3520.     :
  3521.   else
  3522. !   /bin/echo "$ac_err" >&5
  3523.     rm -rf conftest*
  3524.     CPP=/lib/cpp
  3525.   fi
  3526. ***************
  3527. *** 781,792 ****
  3528.   fi
  3529.   fi
  3530.   CPP="$ac_cv_prog_CPP"
  3531. ! echo "$ac_t""$CPP" 1>&4
  3532.   
  3533.   # If we cannot run a trivial program, we must be cross compiling.
  3534. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  3535. ! if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  3536. !   echo $ac_n "(cached) $ac_c" 1>&4
  3537.   else
  3538.     if test "$cross_compiling" = yes; then
  3539.     ac_cv_cross=yes
  3540. --- 782,793 ----
  3541.   fi
  3542.   fi
  3543.   CPP="$ac_cv_prog_CPP"
  3544. ! /bin/echo "$ac_t""$CPP" 1>&4
  3545.   
  3546.   # If we cannot run a trivial program, we must be cross compiling.
  3547. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  3548. ! if eval "test \"`/bin/echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  3549. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3550.   else
  3551.     if test "$cross_compiling" = yes; then
  3552.     ac_cv_cross=yes
  3553. ***************
  3554. *** 806,816 ****
  3555.   rm -fr conftest*
  3556.   fi
  3557.   cross_compiling=$ac_cv_c_cross
  3558. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  3559.   
  3560. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  3561. ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  3562. !   echo $ac_n "(cached) $ac_c" 1>&4
  3563.   else
  3564.     cat > conftest.$ac_ext <<EOF
  3565.   #line 817 "configure"
  3566. --- 807,817 ----
  3567.   rm -fr conftest*
  3568.   fi
  3569.   cross_compiling=$ac_cv_c_cross
  3570. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  3571.   
  3572. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  3573. ! if eval "test \"`/bin/echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  3574. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3575.   else
  3576.     cat > conftest.$ac_ext <<EOF
  3577.   #line 817 "configure"
  3578. ***************
  3579. *** 826,832 ****
  3580.     rm -rf conftest*
  3581.     ac_cv_header_stdc=yes
  3582.   else
  3583. !   echo "$ac_err" >&5
  3584.     rm -rf conftest*
  3585.     ac_cv_header_stdc=no
  3586.   fi
  3587. --- 827,833 ----
  3588.     rm -rf conftest*
  3589.     ac_cv_header_stdc=yes
  3590.   else
  3591. !   /bin/echo "$ac_err" >&5
  3592.     rm -rf conftest*
  3593.     ac_cv_header_stdc=no
  3594.   fi
  3595. ***************
  3596. *** 895,901 ****
  3597.   rm -fr conftest*
  3598.   fi
  3599.   fi
  3600. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  3601.   if test $ac_cv_header_stdc = yes; then
  3602.     cat >> confdefs.h <<\EOF
  3603.   #define STDC_HEADERS 1
  3604. --- 896,902 ----
  3605.   rm -fr conftest*
  3606.   fi
  3607.   fi
  3608. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  3609.   if test $ac_cv_header_stdc = yes; then
  3610.     cat >> confdefs.h <<\EOF
  3611.   #define STDC_HEADERS 1
  3612. ***************
  3613. *** 903,914 ****
  3614.   
  3615.   fi
  3616.   
  3617. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  3618. ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  3619. !   echo $ac_n "(cached) $ac_c" 1>&4
  3620.   else
  3621.     if test "$cross_compiling" = yes; then
  3622. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  3623.   else
  3624.   cat > conftest.$ac_ext <<EOF
  3625.   #line 915 "configure"
  3626. --- 904,915 ----
  3627.   
  3628.   fi
  3629.   
  3630. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  3631. ! if eval "test \"`/bin/echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  3632. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3633.   else
  3634.     if test "$cross_compiling" = yes; then
  3635. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  3636.   else
  3637.   cat > conftest.$ac_ext <<EOF
  3638.   #line 915 "configure"
  3639. ***************
  3640. *** 926,932 ****
  3641.   fi
  3642.   rm -fr conftest*
  3643.   fi
  3644. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  3645.   if test $ac_cv_func_closedir_void = yes; then
  3646.     cat >> confdefs.h <<\EOF
  3647.   #define CLOSEDIR_VOID 1
  3648. --- 927,933 ----
  3649.   fi
  3650.   rm -fr conftest*
  3651.   fi
  3652. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  3653.   if test $ac_cv_func_closedir_void = yes; then
  3654.     cat >> confdefs.h <<\EOF
  3655.   #define CLOSEDIR_VOID 1
  3656. ***************
  3657. *** 937,946 ****
  3658.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  3659.                    string.h unistd.h
  3660.   do
  3661. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  3662. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  3663. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3664. !   echo $ac_n "(cached) $ac_c" 1>&4
  3665.   else
  3666.     cat > conftest.$ac_ext <<EOF
  3667.   #line 947 "configure"
  3668. --- 938,947 ----
  3669.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  3670.                    string.h unistd.h
  3671.   do
  3672. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  3673. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  3674. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3675. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3676.   else
  3677.     cat > conftest.$ac_ext <<EOF
  3678.   #line 947 "configure"
  3679. ***************
  3680. *** 953,982 ****
  3681.     rm -rf conftest*
  3682.     eval "ac_cv_header_$ac_safe=yes"
  3683.   else
  3684. !   echo "$ac_err" >&5
  3685.     rm -rf conftest*
  3686.     eval "ac_cv_header_$ac_safe=no"
  3687.   fi
  3688.   rm -f conftest*
  3689.   fi
  3690. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  3691. !   echo "$ac_t""yes" 1>&4
  3692. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  3693.     cat >> confdefs.h <<EOF
  3694.   #define $ac_tr_hdr 1
  3695.   EOF
  3696.    
  3697.   else
  3698. !   echo "$ac_t""no" 1>&4
  3699.   fi
  3700.   done
  3701.   
  3702.   
  3703.   for ac_func in basename bcopy memmove putenv
  3704.   do
  3705. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  3706. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3707. !   echo $ac_n "(cached) $ac_c" 1>&4
  3708.   else
  3709.     cat > conftest.$ac_ext <<EOF
  3710.   #line 983 "configure"
  3711. --- 954,983 ----
  3712.     rm -rf conftest*
  3713.     eval "ac_cv_header_$ac_safe=yes"
  3714.   else
  3715. !   /bin/echo "$ac_err" >&5
  3716.     rm -rf conftest*
  3717.     eval "ac_cv_header_$ac_safe=no"
  3718.   fi
  3719.   rm -f conftest*
  3720.   fi
  3721. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  3722. !   /bin/echo "$ac_t""yes" 1>&4
  3723. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  3724.     cat >> confdefs.h <<EOF
  3725.   #define $ac_tr_hdr 1
  3726.   EOF
  3727.    
  3728.   else
  3729. !   /bin/echo "$ac_t""no" 1>&4
  3730.   fi
  3731.   done
  3732.   
  3733.   
  3734.   for ac_func in basename bcopy memmove putenv
  3735.   do
  3736. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  3737. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3738. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3739.   else
  3740.     cat > conftest.$ac_ext <<EOF
  3741.   #line 983 "configure"
  3742. ***************
  3743. *** 1009,1030 ****
  3744.   rm -f conftest*
  3745.   
  3746.   fi
  3747. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3748. !   echo "$ac_t""yes" 1>&4
  3749. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  3750.     cat >> confdefs.h <<EOF
  3751.   #define $ac_tr_func 1
  3752.   EOF
  3753.    
  3754.   else
  3755. !   echo "$ac_t""no" 1>&4
  3756.   fi
  3757.   done
  3758.   
  3759.   
  3760. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  3761. ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  3762. !   echo $ac_n "(cached) $ac_c" 1>&4
  3763.   else
  3764.     cat > conftest.$ac_ext <<EOF
  3765.   #line 1031 "configure"
  3766. --- 1010,1031 ----
  3767.   rm -f conftest*
  3768.   
  3769.   fi
  3770. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3771. !   /bin/echo "$ac_t""yes" 1>&4
  3772. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  3773.     cat >> confdefs.h <<EOF
  3774.   #define $ac_tr_func 1
  3775.   EOF
  3776.    
  3777.   else
  3778. !   /bin/echo "$ac_t""no" 1>&4
  3779.   fi
  3780.   done
  3781.   
  3782.   
  3783. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  3784. ! if eval "test \"`/bin/echo '${'ac_cv_c_const'+set}'`\" = set"; then
  3785. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3786.   else
  3787.     cat > conftest.$ac_ext <<EOF
  3788.   #line 1031 "configure"
  3789. ***************
  3790. *** 1087,1093 ****
  3791.   rm -f conftest*
  3792.   
  3793.   fi
  3794. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  3795.   if test $ac_cv_c_const = no; then
  3796.     cat >> confdefs.h <<\EOF
  3797.   #define const 
  3798. --- 1088,1094 ----
  3799.   rm -f conftest*
  3800.   
  3801.   fi
  3802. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  3803.   if test $ac_cv_c_const = no; then
  3804.     cat >> confdefs.h <<\EOF
  3805.   #define const 
  3806. ***************
  3807. *** 1098,1106 ****
  3808.   
  3809.   
  3810.   # This is a GNU libc invention.
  3811. ! echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  3812. ! if eval "test \"`echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  3813. !   echo $ac_n "(cached) $ac_c" 1>&4
  3814.   else
  3815.     cat > conftest.$ac_ext <<EOF
  3816.   #line 1107 "configure"
  3817. --- 1099,1107 ----
  3818.   
  3819.   
  3820.   # This is a GNU libc invention.
  3821. ! /bin/echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  3822. ! if eval "test \"`/bin/echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  3823. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3824.   else
  3825.     cat > conftest.$ac_ext <<EOF
  3826.   #line 1107 "configure"
  3827. ***************
  3828. *** 1121,1127 ****
  3829.   rm -f conftest*
  3830.   
  3831.   fi
  3832. ! echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  3833.   if test $kb_cv_var_program_inv_name = yes; then
  3834.     cat >> confdefs.h <<\EOF
  3835.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  3836. --- 1122,1128 ----
  3837.   rm -f conftest*
  3838.   
  3839.   fi
  3840. ! /bin/echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  3841.   if test $kb_cv_var_program_inv_name = yes; then
  3842.     cat >> confdefs.h <<\EOF
  3843.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  3844. ***************
  3845. *** 1134,1142 ****
  3846.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  3847.   # We don't actually need to run this if we don't have putenv, but it
  3848.   # doesn't hurt.
  3849. ! echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  3850. ! if eval "test \"`echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  3851. !   echo $ac_n "(cached) $ac_c" 1>&4
  3852.   else
  3853.     if test "$cross_compiling" = yes; then
  3854.     kb_cv_func_putenv_malloc=no
  3855. --- 1135,1143 ----
  3856.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  3857.   # We don't actually need to run this if we don't have putenv, but it
  3858.   # doesn't hurt.
  3859. ! /bin/echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  3860. ! if eval "test \"`/bin/echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  3861. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3862.   else
  3863.     if test "$cross_compiling" = yes; then
  3864.     kb_cv_func_putenv_malloc=no
  3865. ***************
  3866. *** 1204,1210 ****
  3867.   fi
  3868.   rm -fr conftest*
  3869.   fi
  3870. ! echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  3871.   if test $kb_cv_func_putenv_malloc = yes; then
  3872.     cat >> confdefs.h <<\EOF
  3873.   #define SMART_PUTENV 1
  3874. --- 1205,1211 ----
  3875.   fi
  3876.   rm -fr conftest*
  3877.   fi
  3878. ! /bin/echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  3879.   if test $kb_cv_func_putenv_malloc = yes; then
  3880.     cat >> confdefs.h <<\EOF
  3881.   #define SMART_PUTENV 1
  3882. ***************
  3883. *** 1213,1224 ****
  3884.   fi
  3885.   
  3886.   
  3887. ! echo $ac_n "checking size of int""... $ac_c" 1>&4
  3888. ! if eval "test \"`echo '${'ac_cv_sizeof_int'+set}'`\" = set"; then
  3889. !   echo $ac_n "(cached) $ac_c" 1>&4
  3890.   else
  3891.     if test "$cross_compiling" = yes; then
  3892. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  3893.   else
  3894.   cat > conftest.$ac_ext <<EOF
  3895.   #line 1225 "configure"
  3896. --- 1214,1225 ----
  3897.   fi
  3898.   
  3899.   
  3900. ! /bin/echo $ac_n "checking size of int""... $ac_c" 1>&4
  3901. ! if eval "test \"`/bin/echo '${'ac_cv_sizeof_int'+set}'`\" = set"; then
  3902. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3903.   else
  3904.     if test "$cross_compiling" = yes; then
  3905. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  3906.   else
  3907.   cat > conftest.$ac_ext <<EOF
  3908.   #line 1225 "configure"
  3909. ***************
  3910. *** 1239,1245 ****
  3911.   fi
  3912.   rm -fr conftest*
  3913.   fi
  3914. ! echo "$ac_t""$ac_cv_sizeof_int" 1>&4
  3915.   cat >> confdefs.h <<EOF
  3916.   #define SIZEOF_INT $ac_cv_sizeof_int
  3917.   EOF
  3918. --- 1240,1246 ----
  3919.   fi
  3920.   rm -fr conftest*
  3921.   fi
  3922. ! /bin/echo "$ac_t""$ac_cv_sizeof_int" 1>&4
  3923.   cat >> confdefs.h <<EOF
  3924.   #define SIZEOF_INT $ac_cv_sizeof_int
  3925.   EOF
  3926. ***************
  3927. *** 1248,1254 ****
  3928.   
  3929.   trap '' 1 2 15
  3930.   if test -w $cache_file; then
  3931. ! echo "updating cache $cache_file"
  3932.   cat > $cache_file <<\EOF
  3933.   # This file is a shell script that caches the results of configure
  3934.   # tests run on this system so they can be shared between configure
  3935. --- 1249,1255 ----
  3936.   
  3937.   trap '' 1 2 15
  3938.   if test -w $cache_file; then
  3939. ! /bin/echo "updating cache $cache_file"
  3940.   cat > $cache_file <<\EOF
  3941.   # This file is a shell script that caches the results of configure
  3942.   # tests run on this system so they can be shared between configure
  3943. ***************
  3944. *** 1266,1276 ****
  3945.   #
  3946.   EOF
  3947.   # Ultrix sh set writes to stderr and can't be redirected directly.
  3948.   (set) 2>&1 |
  3949. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  3950. !   >> $cache_file
  3951.   else
  3952. ! echo "not updating unwritable cache $cache_file"
  3953.   fi
  3954.   
  3955.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  3956. --- 1267,1280 ----
  3957.   #
  3958.   EOF
  3959.   # Ultrix sh set writes to stderr and can't be redirected directly.
  3960. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  3961. + # sed commands.
  3962.   (set) 2>&1 |
  3963. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  3964. !   sed "s@\\\$@\${@" |
  3965. !   sed "s@\$@}@" >> $cache_file
  3966.   else
  3967. ! /bin/echo "not updating unwritable cache $cache_file"
  3968.   fi
  3969.   
  3970.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  3971. ***************
  3972. *** 1293,1299 ****
  3973.   # Without the "./", some shells look in PATH for config.status.
  3974.   : ${CONFIG_STATUS=./config.status}
  3975.   
  3976. ! echo creating $CONFIG_STATUS
  3977.   rm -f $CONFIG_STATUS
  3978.   cat > $CONFIG_STATUS <<EOF
  3979.   #!/bin/sh
  3980. --- 1297,1303 ----
  3981.   # Without the "./", some shells look in PATH for config.status.
  3982.   : ${CONFIG_STATUS=./config.status}
  3983.   
  3984. ! /bin/echo creating $CONFIG_STATUS
  3985.   rm -f $CONFIG_STATUS
  3986.   cat > $CONFIG_STATUS <<EOF
  3987.   #!/bin/sh
  3988. ***************
  3989. *** 1312,1325 ****
  3990.   do
  3991.     case "\$ac_option" in
  3992.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3993. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  3994.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  3995.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  3996. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  3997.       exit 0 ;;
  3998.     -help | --help | --hel | --he | --h)
  3999. !     echo "\$ac_cs_usage"; exit 0 ;;
  4000. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  4001.     esac
  4002.   done
  4003.   
  4004. --- 1316,1329 ----
  4005.   do
  4006.     case "\$ac_option" in
  4007.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4008. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  4009.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  4010.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  4011. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  4012.       exit 0 ;;
  4013.     -help | --help | --hel | --he | --h)
  4014. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  4015. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  4016.     esac
  4017.   done
  4018.   
  4019. ***************
  4020. *** 1359,1379 ****
  4021.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  4022.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  4023.     case "$ac_file" in
  4024. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  4025. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  4026.     *) ac_file_in="${ac_file}.in" ;;
  4027.     esac
  4028.   
  4029.     # Adjust relative srcdir, etc. for subdirectories.
  4030.   
  4031.     # Remove last slash and all that follows it.  Not all systems have dirname.
  4032. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  4033.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  4034.       # The file is in a subdirectory.
  4035.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  4036.       ac_dir_suffix="/$ac_dir"
  4037.       # A "../" for each directory in $ac_dir_suffix.
  4038. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  4039.     else
  4040.       ac_dir_suffix= ac_dots=
  4041.     fi
  4042. --- 1363,1383 ----
  4043.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  4044.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  4045.     case "$ac_file" in
  4046. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  4047. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  4048.     *) ac_file_in="${ac_file}.in" ;;
  4049.     esac
  4050.   
  4051.     # Adjust relative srcdir, etc. for subdirectories.
  4052.   
  4053.     # Remove last slash and all that follows it.  Not all systems have dirname.
  4054. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  4055.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  4056.       # The file is in a subdirectory.
  4057.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  4058.       ac_dir_suffix="/$ac_dir"
  4059.       # A "../" for each directory in $ac_dir_suffix.
  4060. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  4061.     else
  4062.       ac_dir_suffix= ac_dots=
  4063.     fi
  4064. ***************
  4065. *** 1381,1387 ****
  4066.     case "$ac_given_srcdir" in
  4067.     .)  srcdir=.
  4068.         if test -z "$ac_dots"; then top_srcdir=.
  4069. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  4070.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  4071.     *) # Relative path.
  4072.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  4073. --- 1385,1391 ----
  4074.     case "$ac_given_srcdir" in
  4075.     .)  srcdir=.
  4076.         if test -z "$ac_dots"; then top_srcdir=.
  4077. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  4078.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  4079.     *) # Relative path.
  4080.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  4081. ***************
  4082. *** 1392,1400 ****
  4083.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  4084.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  4085.     esac
  4086. !   echo creating "$ac_file"
  4087.     rm -f "$ac_file"
  4088. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  4089.     case "$ac_file" in
  4090.     *Makefile*) ac_comsub="1i\\
  4091.   # $configure_input" ;;
  4092. --- 1396,1404 ----
  4093.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  4094.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  4095.     esac
  4096. !   /bin/echo creating "$ac_file"
  4097.     rm -f "$ac_file"
  4098. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  4099.     case "$ac_file" in
  4100.     *Makefile*) ac_comsub="1i\\
  4101.   # $configure_input" ;;
  4102. ***************
  4103. *** 1407,1420 ****
  4104.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  4105.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  4106.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  4107. !   # Use @e initially instead of -e because GNU echo has a -e option.
  4108.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  4109.     file_substs=`sed -n \
  4110.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  4111.                  $ac_given_srcdir/${ac_file}.in`
  4112.     if test -n "$file_substs"; then
  4113.       # Change @e back to -e and X@^ to \@^.
  4114. !     file_subst_cmd="sed `echo $file_substs \
  4115.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  4116.     else
  4117.       # If no substitutions and hence no sed commands, don't choke.
  4118. --- 1411,1424 ----
  4119.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  4120.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  4121.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  4122. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  4123.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  4124.     file_substs=`sed -n \
  4125.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  4126.                  $ac_given_srcdir/${ac_file}.in`
  4127.     if test -n "$file_substs"; then
  4128.       # Change @e back to -e and X@^ to \@^.
  4129. !     file_subst_cmd="sed `/bin/echo $file_substs \
  4130.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  4131.     else
  4132.       # If no substitutions and hence no sed commands, don't choke.
  4133. ***************
  4134. *** 1457,1468 ****
  4135.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  4136.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  4137.     case "$ac_file" in
  4138. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  4139. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  4140.     *) ac_file_in="${ac_file}.in" ;;
  4141.     esac
  4142.   
  4143. !   echo creating $ac_file
  4144.   
  4145.     rm -f conftest.frag conftest.in conftest.out
  4146.     cp $ac_given_srcdir/$ac_file_in conftest.in
  4147. --- 1461,1472 ----
  4148.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  4149.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  4150.     case "$ac_file" in
  4151. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  4152. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  4153.     *) ac_file_in="${ac_file}.in" ;;
  4154.     esac
  4155.   
  4156. !   /bin/echo creating $ac_file
  4157.   
  4158.     rm -f conftest.frag conftest.in conftest.out
  4159.     cp $ac_given_srcdir/$ac_file_in conftest.in
  4160. ***************
  4161. *** 1503,1511 ****
  4162.     # grep -c gives empty output for an empty file on some AIX systems.
  4163.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  4164.     # Write a limited-size here document to conftest.frag.
  4165. !   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  4166.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  4167. !   echo 'CEOF
  4168.     sed -f conftest.frag conftest.in > conftest.out
  4169.     rm -f conftest.in
  4170.     mv conftest.out conftest.in
  4171. --- 1507,1515 ----
  4172.     # grep -c gives empty output for an empty file on some AIX systems.
  4173.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  4174.     # Write a limited-size here document to conftest.frag.
  4175. !   /bin/echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  4176.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  4177. !   /bin/echo 'CEOF
  4178.     sed -f conftest.frag conftest.in > conftest.out
  4179.     rm -f conftest.in
  4180.     mv conftest.out conftest.in
  4181. ***************
  4182. *** 1518,1528 ****
  4183.   
  4184.   cat >> $CONFIG_STATUS <<\EOF
  4185.     rm -f conftest.frag conftest.h
  4186. !   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  4187.     cat conftest.in >> conftest.h
  4188.     rm -f conftest.in
  4189.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  4190. !     echo "$ac_file is unchanged"
  4191.       rm -f conftest.h
  4192.     else
  4193.       rm -f $ac_file
  4194. --- 1522,1532 ----
  4195.   
  4196.   cat >> $CONFIG_STATUS <<\EOF
  4197.     rm -f conftest.frag conftest.h
  4198. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  4199.     cat conftest.in >> conftest.h
  4200.     rm -f conftest.in
  4201.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  4202. !     /bin/echo "$ac_file is unchanged"
  4203.       rm -f conftest.h
  4204.     else
  4205.       rm -f $ac_file
  4206. diff -rc --new-file unixtex-6.1b-base/kpathsea/MakeTeXPK.in unixtex-6.1b/kpathsea/MakeTeXPK.in
  4207. *** unixtex-6.1b-base/kpathsea/MakeTeXPK.in    Sun Jan  1 19:18:32 1995
  4208. --- unixtex-6.1b/kpathsea/MakeTeXPK.in    Mon Apr  3 19:00:42 1995
  4209. ***************
  4210. *** 124,130 ****
  4211.   PKNAME=$NAME.$DPI'pk'
  4212.   
  4213.   # Clean up on normal or abnormal exit. DESTDIR changes, hence the eval.
  4214. ! trap "cd /; eval rm -rf $TEMPDIR \$DESTDIR/pktmp.$$" 0 1 2 15
  4215.   
  4216.   # Allow fonts to be read and written (especially in case we make
  4217.   # directories) by everyone.  
  4218. --- 124,133 ----
  4219.   PKNAME=$NAME.$DPI'pk'
  4220.   
  4221.   # Clean up on normal or abnormal exit. DESTDIR changes, hence the eval.
  4222. ! # AmigaDOS hack:  Add a sleep to work around a race condition that allows
  4223. ! # for a dying process to hold a lock on TEMPDIR long enough to prevent
  4224. ! # it from being immediately deleted.
  4225. ! trap "cd /; sleep 5; eval rm -rf $TEMPDIR \$DESTDIR/pktmp.$$" 0 1 2 15
  4226.   
  4227.   # Allow fonts to be read and written (especially in case we make
  4228.   # directories) by everyone.  
  4229. ***************
  4230. *** 265,272 ****
  4231.     || { echo "$0: Could not mkdir $DESTDIR." >&2; exit 1; }
  4232.   
  4233.   # Install the PK file carefully, since others may be working simultaneously.
  4234. ! mv $PKNAME $DESTDIR/pktmp.$$ \
  4235. !   || { echo "$0: Could not mv $PKNAME $DESTDIR/pktmp.$$." >&2; exit 1; }
  4236.   
  4237.   cd $DESTDIR || exit 1
  4238.   mv pktmp.$$ $PKNAME
  4239. --- 268,278 ----
  4240.     || { echo "$0: Could not mkdir $DESTDIR." >&2; exit 1; }
  4241.   
  4242.   # Install the PK file carefully, since others may be working simultaneously.
  4243. ! # Note that we use cp+rm rather than mv since mv may not work across filesystems.
  4244. ! cp $PKNAME $DESTDIR/pktmp.$$ \
  4245. !   || { echo "$0: Could not cp $PKNAME $DESTDIR/pktmp.$$." >&2; exit 1; }
  4246. ! rm $PKNAME \
  4247. !   || { echo "$0: Could not rm $PKNAKE." >&2; exit 1; }
  4248.   
  4249.   cd $DESTDIR || exit 1
  4250.   mv pktmp.$$ $PKNAME
  4251. diff -rc --new-file unixtex-6.1b-base/kpathsea/Makefile.in unixtex-6.1b/kpathsea/Makefile.in
  4252. *** unixtex-6.1b-base/kpathsea/Makefile.in    Sun Jan  8 17:20:14 1995
  4253. --- unixtex-6.1b/kpathsea/Makefile.in    Sun Apr  2 21:00:48 1995
  4254. ***************
  4255. *** 153,163 ****
  4256.   distdir: INSTALL TAGS $(library).info $(library).dvi
  4257.       rm -rf $(distdir)
  4258.       mkdir -p $(distdir)
  4259. !     ln $(ln_files) $(distdir)
  4260.       cp -p $(HOME)/gnu/gnuorg/*.texi $(distdir)
  4261.       touch *.info*
  4262. !     ln *.info* *.texi $(library).aux $(library).cps $(distdir)
  4263. !     ln CONFIGURE HIER common.ac $(distdir)
  4264.       cd $(distdir); rm -f paths.h
  4265.       cd $(distdir); add-version $(version) version.c
  4266.   
  4267. --- 153,163 ----
  4268.   distdir: INSTALL TAGS $(library).info $(library).dvi
  4269.       rm -rf $(distdir)
  4270.       mkdir -p $(distdir)
  4271. !     $(LN) $(ln_files) $(distdir)
  4272.       cp -p $(HOME)/gnu/gnuorg/*.texi $(distdir)
  4273.       touch *.info*
  4274. !     $(LN) *.info* *.texi $(library).aux $(library).cps $(distdir)
  4275. !     $(LN) CONFIGURE HIER common.ac $(distdir)
  4276.       cd $(distdir); rm -f paths.h
  4277.       cd $(distdir); add-version $(version) version.c
  4278.   
  4279. ***************
  4280. *** 407,413 ****
  4281.     $(kpathsea_srcdir)/c-proto.h \
  4282.     $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  4283.     $(kpathsea_srcdir)/progname.h
  4284. ! putenv.o: putenv.c $(kpathsea_srcdir)/c-auto.h
  4285.   readable.o: readable.c $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  4286.     $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  4287.     $(kpathsea_srcdir)/c-memstr.h \
  4288. --- 407,413 ----
  4289.     $(kpathsea_srcdir)/c-proto.h \
  4290.     $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/debug.h \
  4291.     $(kpathsea_srcdir)/progname.h
  4292. ! putenv.o: putenv.c ./c-auto.h
  4293.   readable.o: readable.c $(kpathsea_srcdir)/config.h ./c-auto.h $(kpathsea_srcdir)/c-std.h \
  4294.     $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
  4295.     $(kpathsea_srcdir)/c-memstr.h \
  4296. diff -rc --new-file unixtex-6.1b-base/kpathsea/config.h unixtex-6.1b/kpathsea/config.h
  4297. *** unixtex-6.1b-base/kpathsea/config.h    Sat Dec 18 20:05:16 1993
  4298. --- unixtex-6.1b/kpathsea/config.h    Sun Apr  2 21:14:26 1995
  4299. ***************
  4300. *** 43,49 ****
  4301.   /* If you want to find subdirectories in a directory with non-Unix
  4302.      semantics (specifically, if a directory with no subdirectories does
  4303.      not have exactly two links), define this.  */
  4304. ! #if !defined (DOS) && !defined (VMS) && !defined (VMCMS)
  4305.   #define UNIX_ST_NLINK
  4306.   #endif /* not DOS and not VMS and not VMCMS */
  4307.   
  4308. --- 43,49 ----
  4309.   /* If you want to find subdirectories in a directory with non-Unix
  4310.      semantics (specifically, if a directory with no subdirectories does
  4311.      not have exactly two links), define this.  */
  4312. ! #if !defined (DOS) && !defined (VMS) && !defined (VMCMS) && !defined (__amigados__)
  4313.   #define UNIX_ST_NLINK
  4314.   #endif /* not DOS and not VMS and not VMCMS */
  4315.   
  4316. diff -rc --new-file unixtex-6.1b-base/kpathsea/configure unixtex-6.1b/kpathsea/configure
  4317. *** unixtex-6.1b-base/kpathsea/configure    Sun Apr  2 19:49:12 1995
  4318. --- unixtex-6.1b/kpathsea/configure    Sun Apr  2 23:11:02 1995
  4319. ***************
  4320. *** 9,15 ****
  4321.   
  4322.   # Defaults:
  4323.   ac_help=
  4324. ! ac_default_prefix=/usr/local
  4325.   # Any additions from configure.in:
  4326.   
  4327.   # Initialize some variables set by options.
  4328. --- 9,15 ----
  4329.   
  4330.   # Defaults:
  4331.   ac_help=
  4332. ! ac_default_prefix=/gnu
  4333.   # Any additions from configure.in:
  4334.   
  4335.   # Initialize some variables set by options.
  4336. ***************
  4337. *** 49,55 ****
  4338.     fi
  4339.   
  4340.     case "$ac_option" in
  4341. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  4342.     *) ac_optarg= ;;
  4343.     esac
  4344.   
  4345. --- 49,55 ----
  4346.     fi
  4347.   
  4348.     case "$ac_option" in
  4349. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  4350.     *) ac_optarg= ;;
  4351.     esac
  4352.   
  4353. ***************
  4354. *** 70,90 ****
  4355.       cache_file="$ac_optarg" ;;
  4356.   
  4357.     -disable-* | --disable-*)
  4358. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  4359.       # Reject names that are not valid shell variable names.
  4360. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  4361. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  4362.       fi
  4363. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  4364.       eval "enable_${ac_feature}=no" ;;
  4365.   
  4366.     -enable-* | --enable-*)
  4367. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  4368.       # Reject names that are not valid shell variable names.
  4369. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  4370. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  4371.       fi
  4372. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  4373.       case "$ac_option" in
  4374.         *=*) ;;
  4375.         *) ac_optarg=yes ;;
  4376. --- 70,90 ----
  4377.       cache_file="$ac_optarg" ;;
  4378.   
  4379.     -disable-* | --disable-*)
  4380. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  4381.       # Reject names that are not valid shell variable names.
  4382. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  4383. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  4384.       fi
  4385. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  4386.       eval "enable_${ac_feature}=no" ;;
  4387.   
  4388.     -enable-* | --enable-*)
  4389. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  4390.       # Reject names that are not valid shell variable names.
  4391. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  4392. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  4393.       fi
  4394. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  4395.       case "$ac_option" in
  4396.         *=*) ;;
  4397.         *) ac_optarg=yes ;;
  4398. ***************
  4399. *** 216,231 ****
  4400.       verbose=yes ;;
  4401.   
  4402.     -version | --version | --versio | --versi | --vers)
  4403. !     echo "configure generated by autoconf version 2.1"
  4404.       exit 0 ;;
  4405.   
  4406.     -with-* | --with-*)
  4407. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  4408.       # Reject names that are not valid shell variable names.
  4409. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  4410. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  4411.       fi
  4412. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  4413.       case "$ac_option" in
  4414.         *=*) ;;
  4415.         *) ac_optarg=yes ;;
  4416. --- 216,231 ----
  4417.       verbose=yes ;;
  4418.   
  4419.     -version | --version | --versio | --versi | --vers)
  4420. !     /bin/echo "configure generated by autoconf version 2.1"
  4421.       exit 0 ;;
  4422.   
  4423.     -with-* | --with-*)
  4424. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  4425.       # Reject names that are not valid shell variable names.
  4426. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  4427. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  4428.       fi
  4429. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  4430.       case "$ac_option" in
  4431.         *=*) ;;
  4432.         *) ac_optarg=yes ;;
  4433. ***************
  4434. *** 233,244 ****
  4435.       eval "with_${ac_package}='$ac_optarg'" ;;
  4436.   
  4437.     -without-* | --without-*)
  4438. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  4439.       # Reject names that are not valid shell variable names.
  4440. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  4441. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  4442.       fi
  4443. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  4444.       eval "with_${ac_package}=no" ;;
  4445.   
  4446.     --x)
  4447. --- 233,244 ----
  4448.       eval "with_${ac_package}='$ac_optarg'" ;;
  4449.   
  4450.     -without-* | --without-*)
  4451. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  4452.       # Reject names that are not valid shell variable names.
  4453. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  4454. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  4455.       fi
  4456. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  4457.       eval "with_${ac_package}=no" ;;
  4458.   
  4459.     --x)
  4460. ***************
  4461. *** 259,273 ****
  4462.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  4463.       x_libraries="$ac_optarg" ;;
  4464.   
  4465. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  4466.       ;;
  4467.   
  4468.     *) 
  4469. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  4470. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  4471.       fi
  4472.       if test "x$nonopt" != xNONE; then
  4473. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  4474.       fi
  4475.       nonopt="$ac_option"
  4476.       ;;
  4477. --- 259,273 ----
  4478.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  4479.       x_libraries="$ac_optarg" ;;
  4480.   
  4481. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  4482.       ;;
  4483.   
  4484.     *) 
  4485. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  4486. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  4487.       fi
  4488.       if test "x$nonopt" != xNONE; then
  4489. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  4490.       fi
  4491.       nonopt="$ac_option"
  4492.       ;;
  4493. ***************
  4494. *** 276,282 ****
  4495.   done
  4496.   
  4497.   if test -n "$ac_prev"; then
  4498. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  4499.   fi
  4500.   
  4501.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  4502. --- 276,282 ----
  4503.   done
  4504.   
  4505.   if test -n "$ac_prev"; then
  4506. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  4507.   fi
  4508.   
  4509.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  4510. ***************
  4511. *** 295,301 ****
  4512.   fi
  4513.   exec 5>./config.log
  4514.   
  4515. ! echo "\
  4516.   This file contains any messages produced by compilers while
  4517.   running configure, to aid debugging if configure makes a mistake.
  4518.   " 1>&5
  4519. --- 295,301 ----
  4520.   fi
  4521.   exec 5>./config.log
  4522.   
  4523. ! /bin/echo "\
  4524.   This file contains any messages produced by compilers while
  4525.   running configure, to aid debugging if configure makes a mistake.
  4526.   " 1>&5
  4527. ***************
  4528. *** 326,332 ****
  4529.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  4530.   rm -rf conftest* confdefs.h
  4531.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  4532. ! echo > confdefs.h
  4533.   
  4534.   # A filename unique to this package, relative to the directory that
  4535.   # configure is in, which we can look for to find out if srcdir is correct.
  4536. --- 326,332 ----
  4537.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  4538.   rm -rf conftest* confdefs.h
  4539.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  4540. ! /bin/echo > confdefs.h
  4541.   
  4542.   # A filename unique to this package, relative to the directory that
  4543.   # configure is in, which we can look for to find out if srcdir is correct.
  4544. ***************
  4545. *** 337,343 ****
  4546.     ac_srcdir_defaulted=yes
  4547.     # Try the directory containing this script, then its parent.
  4548.     ac_prog=$0
  4549. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  4550.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  4551.     srcdir=$ac_confdir
  4552.     if test ! -r $srcdir/$ac_unique_file; then
  4553. --- 337,343 ----
  4554.     ac_srcdir_defaulted=yes
  4555.     # Try the directory containing this script, then its parent.
  4556.     ac_prog=$0
  4557. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  4558.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  4559.     srcdir=$ac_confdir
  4560.     if test ! -r $srcdir/$ac_unique_file; then
  4561. ***************
  4562. *** 348,359 ****
  4563.   fi
  4564.   if test ! -r $srcdir/$ac_unique_file; then
  4565.     if test "$ac_srcdir_defaulted" = yes; then
  4566. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  4567.     else
  4568. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  4569.     fi
  4570.   fi
  4571. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  4572.   
  4573.   # Prefer explicitly selected file to automatically selected ones.
  4574.   if test -z "$CONFIG_SITE"; then
  4575. --- 348,359 ----
  4576.   fi
  4577.   if test ! -r $srcdir/$ac_unique_file; then
  4578.     if test "$ac_srcdir_defaulted" = yes; then
  4579. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  4580.     else
  4581. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  4582.     fi
  4583.   fi
  4584. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  4585.   
  4586.   # Prefer explicitly selected file to automatically selected ones.
  4587.   if test -z "$CONFIG_SITE"; then
  4588. ***************
  4589. *** 365,380 ****
  4590.   fi
  4591.   for ac_site_file in $CONFIG_SITE; do
  4592.     if test -r "$ac_site_file"; then
  4593. !     echo "loading site script $ac_site_file"
  4594.       . "$ac_site_file"
  4595.     fi
  4596.   done
  4597.   
  4598.   if test -r "$cache_file"; then
  4599. !   echo "loading cache $cache_file"
  4600.     . $cache_file
  4601.   else
  4602. !   echo "creating cache $cache_file"
  4603.     > $cache_file
  4604.   fi
  4605.   
  4606. --- 365,380 ----
  4607.   fi
  4608.   for ac_site_file in $CONFIG_SITE; do
  4609.     if test -r "$ac_site_file"; then
  4610. !     /bin/echo "loading site script $ac_site_file"
  4611.       . "$ac_site_file"
  4612.     fi
  4613.   done
  4614.   
  4615.   if test -r "$cache_file"; then
  4616. !   /bin/echo "loading cache $cache_file"
  4617.     . $cache_file
  4618.   else
  4619. !   /bin/echo "creating cache $cache_file"
  4620.     > $cache_file
  4621.   fi
  4622.   
  4623. ***************
  4624. *** 384,392 ****
  4625.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  4626.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  4627.   
  4628. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  4629.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  4630. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  4631.       ac_n= ac_c='
  4632.   ' ac_t='    '
  4633.     else
  4634. --- 384,392 ----
  4635.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  4636.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  4637.   
  4638. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  4639.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  4640. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  4641.       ac_n= ac_c='
  4642.   ' ac_t='    '
  4643.     else
  4644. ***************
  4645. *** 401,414 ****
  4646.   
  4647.   
  4648.   
  4649. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  4650.   set dummy ${MAKE-make}; ac_make=$2
  4651. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  4652. !   echo $ac_n "(cached) $ac_c" 1>&4
  4653.   else
  4654.     cat > conftestmake <<\EOF
  4655.   all:
  4656. !     @echo 'ac_maketemp="${MAKE}"'
  4657.   EOF
  4658.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  4659.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  4660. --- 401,414 ----
  4661.   
  4662.   
  4663.   
  4664. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  4665.   set dummy ${MAKE-make}; ac_make=$2
  4666. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  4667. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4668.   else
  4669.     cat > conftestmake <<\EOF
  4670.   all:
  4671. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  4672.   EOF
  4673.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  4674.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  4675. ***************
  4676. *** 419,438 ****
  4677.   fi
  4678.   rm -f conftestmake
  4679.   fi
  4680. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  4681. !   echo "$ac_t""yes" 1>&4
  4682.     SET_MAKE=
  4683.   else
  4684. !   echo "$ac_t""no" 1>&4
  4685.     SET_MAKE="MAKE=${MAKE-make}"
  4686.   fi
  4687.   
  4688.   
  4689.   # Extract the first word of "gcc", so it can be a program name with args.
  4690.   set dummy gcc; ac_word=$2
  4691. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  4692. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  4693. !   echo $ac_n "(cached) $ac_c" 1>&4
  4694.   else
  4695.     if test -n "$CC"; then
  4696.     ac_cv_prog_CC="$CC" # Let the user override the test.
  4697. --- 419,438 ----
  4698.   fi
  4699.   rm -f conftestmake
  4700.   fi
  4701. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  4702. !   /bin/echo "$ac_t""yes" 1>&4
  4703.     SET_MAKE=
  4704.   else
  4705. !   /bin/echo "$ac_t""no" 1>&4
  4706.     SET_MAKE="MAKE=${MAKE-make}"
  4707.   fi
  4708.   
  4709.   
  4710.   # Extract the first word of "gcc", so it can be a program name with args.
  4711.   set dummy gcc; ac_word=$2
  4712. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  4713. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  4714. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4715.   else
  4716.     if test -n "$CC"; then
  4717.     ac_cv_prog_CC="$CC" # Let the user override the test.
  4718. ***************
  4719. *** 451,465 ****
  4720.   fi
  4721.   CC="$ac_cv_prog_CC"
  4722.   if test -n "$CC"; then
  4723. !   echo "$ac_t""$CC" 1>&4
  4724.   else
  4725. !   echo "$ac_t""no" 1>&4
  4726.   fi
  4727.   
  4728.   
  4729. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  4730. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  4731. !   echo $ac_n "(cached) $ac_c" 1>&4
  4732.   else
  4733.     cat > conftest.c <<EOF
  4734.   #ifdef __GNUC__
  4735. --- 451,465 ----
  4736.   fi
  4737.   CC="$ac_cv_prog_CC"
  4738.   if test -n "$CC"; then
  4739. !   /bin/echo "$ac_t""$CC" 1>&4
  4740.   else
  4741. !   /bin/echo "$ac_t""no" 1>&4
  4742.   fi
  4743.   
  4744.   
  4745. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  4746. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  4747. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4748.   else
  4749.     cat > conftest.c <<EOF
  4750.   #ifdef __GNUC__
  4751. ***************
  4752. *** 472,486 ****
  4753.     ac_cv_prog_gcc=no
  4754.   fi
  4755.   fi
  4756. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  4757.   if test $ac_cv_prog_gcc = yes; then
  4758.     GCC=yes
  4759.     if test "${CFLAGS+set}" != set; then
  4760. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  4761. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  4762. !   echo $ac_n "(cached) $ac_c" 1>&4
  4763.   else
  4764. !   echo 'void f(){}' > conftest.c
  4765.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  4766.     ac_cv_prog_gcc_g=yes
  4767.   else
  4768. --- 472,486 ----
  4769.     ac_cv_prog_gcc=no
  4770.   fi
  4771.   fi
  4772. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  4773.   if test $ac_cv_prog_gcc = yes; then
  4774.     GCC=yes
  4775.     if test "${CFLAGS+set}" != set; then
  4776. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  4777. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  4778. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4779.   else
  4780. !   /bin/echo 'void f(){}' > conftest.c
  4781.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  4782.     ac_cv_prog_gcc_g=yes
  4783.   else
  4784. ***************
  4785. *** 489,495 ****
  4786.   rm -f conftest*
  4787.   
  4788.   fi
  4789. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  4790.       if test $ac_cv_prog_gcc_g = yes; then
  4791.         CFLAGS="-g -O"
  4792.       else
  4793. --- 489,495 ----
  4794.   rm -f conftest*
  4795.   
  4796.   fi
  4797. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  4798.       if test $ac_cv_prog_gcc_g = yes; then
  4799.         CFLAGS="-g -O"
  4800.       else
  4801. ***************
  4802. *** 514,520 ****
  4803.     fi
  4804.   done
  4805.   if test -z "$ac_aux_dir"; then
  4806. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  4807.   fi
  4808.   ac_config_guess=$ac_aux_dir/config.guess
  4809.   ac_config_sub=$ac_aux_dir/config.sub
  4810. --- 514,520 ----
  4811.     fi
  4812.   done
  4813.   if test -z "$ac_aux_dir"; then
  4814. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  4815.   fi
  4816.   ac_config_guess=$ac_aux_dir/config.guess
  4817.   ac_config_sub=$ac_aux_dir/config.sub
  4818. ***************
  4819. *** 530,544 ****
  4820.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4821.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4822.   # ./install, which can be erroneously created by make from ./install.sh.
  4823. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  4824.   if test -z "$INSTALL"; then
  4825. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  4826. !   echo $ac_n "(cached) $ac_c" 1>&4
  4827.   else
  4828.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4829.     for ac_dir in $PATH; do
  4830.       case "$ac_dir" in
  4831. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  4832.       *)
  4833.         # OSF1 and SCO ODT 3.0 have their own names for install.
  4834.         for ac_prog in ginstall installbsd scoinst install; do
  4835. --- 530,545 ----
  4836.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4837.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4838.   # ./install, which can be erroneously created by make from ./install.sh.
  4839. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  4840. ! INSTALL="/bin/install -c"
  4841.   if test -z "$INSTALL"; then
  4842. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  4843. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4844.   else
  4845.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4846.     for ac_dir in $PATH; do
  4847.       case "$ac_dir" in
  4848. !     ''|.|/bin) ;;
  4849.       *)
  4850.         # OSF1 and SCO ODT 3.0 have their own names for install.
  4851.         for ac_prog in ginstall installbsd scoinst install; do
  4852. ***************
  4853. *** 563,569 ****
  4854.   fi
  4855.     INSTALL="$ac_cv_path_install"
  4856.   fi
  4857. ! echo "$ac_t""$INSTALL" 1>&4
  4858.   
  4859.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4860.   # It thinks the first close brace ends the variable substitution.
  4861. --- 564,570 ----
  4862.   fi
  4863.     INSTALL="$ac_cv_path_install"
  4864.   fi
  4865. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  4866.   
  4867.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4868.   # It thinks the first close brace ends the variable substitution.
  4869. ***************
  4870. *** 573,581 ****
  4871.   
  4872.   # Extract the first word of "ranlib", so it can be a program name with args.
  4873.   set dummy ranlib; ac_word=$2
  4874. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  4875. ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  4876. !   echo $ac_n "(cached) $ac_c" 1>&4
  4877.   else
  4878.     if test -n "$RANLIB"; then
  4879.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4880. --- 574,582 ----
  4881.   
  4882.   # Extract the first word of "ranlib", so it can be a program name with args.
  4883.   set dummy ranlib; ac_word=$2
  4884. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  4885. ! if eval "test \"`/bin/echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  4886. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4887.   else
  4888.     if test -n "$RANLIB"; then
  4889.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4890. ***************
  4891. *** 594,610 ****
  4892.   fi
  4893.   RANLIB="$ac_cv_prog_RANLIB"
  4894.   if test -n "$RANLIB"; then
  4895. !   echo "$ac_t""$RANLIB" 1>&4
  4896.   else
  4897. !   echo "$ac_t""no" 1>&4
  4898.   fi
  4899.   
  4900.   
  4901. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  4902.   if test -d /etc/conf/kconfig.d &&
  4903. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  4904.   then
  4905. !   echo "$ac_t""yes" 1>&4
  4906.     ISC=yes # If later tests want to check for ISC.
  4907.     cat >> confdefs.h <<\EOF
  4908.   #define _POSIX_SOURCE 1
  4909. --- 595,611 ----
  4910.   fi
  4911.   RANLIB="$ac_cv_prog_RANLIB"
  4912.   if test -n "$RANLIB"; then
  4913. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  4914.   else
  4915. !   /bin/echo "$ac_t""no" 1>&4
  4916.   fi
  4917.   
  4918.   
  4919. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  4920.   if test -d /etc/conf/kconfig.d &&
  4921. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  4922.   then
  4923. !   /bin/echo "$ac_t""yes" 1>&4
  4924.     ISC=yes # If later tests want to check for ISC.
  4925.     cat >> confdefs.h <<\EOF
  4926.   #define _POSIX_SOURCE 1
  4927. ***************
  4928. *** 616,622 ****
  4929.       CC="$CC -Xp"
  4930.     fi
  4931.   else
  4932. !   echo "$ac_t""no" 1>&4
  4933.     ISC=
  4934.   fi
  4935.   
  4936. --- 617,623 ----
  4937.       CC="$CC -Xp"
  4938.     fi
  4939.   else
  4940. !   /bin/echo "$ac_t""no" 1>&4
  4941.     ISC=
  4942.   fi
  4943.   
  4944. ***************
  4945. *** 624,633 ****
  4946.   ac_header_dirent=no
  4947.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  4948.   do
  4949. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  4950. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  4951. ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  4952. !   echo $ac_n "(cached) $ac_c" 1>&4
  4953.   else
  4954.     cat > conftest.$ac_ext <<EOF
  4955.   #line 634 "configure"
  4956. --- 625,634 ----
  4957.   ac_header_dirent=no
  4958.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  4959.   do
  4960. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  4961. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  4962. ! if eval "test \"`/bin/echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  4963. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  4964.   else
  4965.     cat > conftest.$ac_ext <<EOF
  4966.   #line 634 "configure"
  4967. ***************
  4968. *** 649,670 ****
  4969.   rm -f conftest*
  4970.   
  4971.   fi
  4972. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  4973. !   echo "$ac_t""yes" 1>&4
  4974. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  4975.     cat >> confdefs.h <<EOF
  4976.   #define $ac_tr_hdr 1
  4977.   EOF
  4978.    ac_header_dirent=$ac_hdr; break
  4979.   else
  4980. !   echo "$ac_t""no" 1>&4
  4981.   fi
  4982.   done
  4983.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  4984.   if test $ac_header_dirent = dirent.h; then
  4985. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  4986. ! if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  4987. !   echo $ac_n "(cached) $ac_c" 1>&4
  4988.   else
  4989.     ac_save_LIBS="$LIBS"
  4990.   LIBS="$LIBS -ldir "
  4991. --- 650,671 ----
  4992.   rm -f conftest*
  4993.   
  4994.   fi
  4995. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  4996. !   /bin/echo "$ac_t""yes" 1>&4
  4997. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  4998.     cat >> confdefs.h <<EOF
  4999.   #define $ac_tr_hdr 1
  5000.   EOF
  5001.    ac_header_dirent=$ac_hdr; break
  5002.   else
  5003. !   /bin/echo "$ac_t""no" 1>&4
  5004.   fi
  5005.   done
  5006.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  5007.   if test $ac_header_dirent = dirent.h; then
  5008. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  5009. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  5010. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5011.   else
  5012.     ac_save_LIBS="$LIBS"
  5013.   LIBS="$LIBS -ldir "
  5014. ***************
  5015. *** 688,704 ****
  5016.   LIBS="$ac_save_LIBS"
  5017.   
  5018.   fi
  5019. ! if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  5020. !   echo "$ac_t""yes" 1>&4
  5021.     LIBS="$LIBS -ldir"
  5022.   else
  5023. !   echo "$ac_t""no" 1>&4
  5024.   fi
  5025.   
  5026.   else
  5027. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  5028. ! if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  5029. !   echo $ac_n "(cached) $ac_c" 1>&4
  5030.   else
  5031.     ac_save_LIBS="$LIBS"
  5032.   LIBS="$LIBS -lx "
  5033. --- 689,705 ----
  5034.   LIBS="$ac_save_LIBS"
  5035.   
  5036.   fi
  5037. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dir`\" = yes"; then
  5038. !   /bin/echo "$ac_t""yes" 1>&4
  5039.     LIBS="$LIBS -ldir"
  5040.   else
  5041. !   /bin/echo "$ac_t""no" 1>&4
  5042.   fi
  5043.   
  5044.   else
  5045. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  5046. ! if eval "test \"`/bin/echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  5047. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5048.   else
  5049.     ac_save_LIBS="$LIBS"
  5050.   LIBS="$LIBS -lx "
  5051. ***************
  5052. *** 722,744 ****
  5053.   LIBS="$ac_save_LIBS"
  5054.   
  5055.   fi
  5056. ! if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  5057. !   echo "$ac_t""yes" 1>&4
  5058.     LIBS="$LIBS -lx"
  5059.   else
  5060. !   echo "$ac_t""no" 1>&4
  5061.   fi
  5062.   
  5063.   fi
  5064.   
  5065. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  5066.   # On Suns, sometimes $CPP names a directory.
  5067.   if test -n "$CPP" && test -d "$CPP"; then
  5068.     CPP=
  5069.   fi
  5070.   if test -z "$CPP"; then
  5071. ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  5072. !   echo $ac_n "(cached) $ac_c" 1>&4
  5073.   else
  5074.       # This must be in double quotes, not single quotes, because CPP may get
  5075.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  5076. --- 723,745 ----
  5077.   LIBS="$ac_save_LIBS"
  5078.   
  5079.   fi
  5080. ! if eval "test \"`/bin/echo '$ac_cv_lib_'x`\" = yes"; then
  5081. !   /bin/echo "$ac_t""yes" 1>&4
  5082.     LIBS="$LIBS -lx"
  5083.   else
  5084. !   /bin/echo "$ac_t""no" 1>&4
  5085.   fi
  5086.   
  5087.   fi
  5088.   
  5089. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  5090.   # On Suns, sometimes $CPP names a directory.
  5091.   if test -n "$CPP" && test -d "$CPP"; then
  5092.     CPP=
  5093.   fi
  5094.   if test -z "$CPP"; then
  5095. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  5096. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5097.   else
  5098.       # This must be in double quotes, not single quotes, because CPP may get
  5099.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  5100. ***************
  5101. *** 756,762 ****
  5102.   if test -z "$ac_err"; then
  5103.     :
  5104.   else
  5105. !   echo "$ac_err" >&5
  5106.     rm -rf conftest*
  5107.     CPP="${CC-cc} -E -traditional-cpp"
  5108.     cat > conftest.$ac_ext <<EOF
  5109. --- 757,763 ----
  5110.   if test -z "$ac_err"; then
  5111.     :
  5112.   else
  5113. !   /bin/echo "$ac_err" >&5
  5114.     rm -rf conftest*
  5115.     CPP="${CC-cc} -E -traditional-cpp"
  5116.     cat > conftest.$ac_ext <<EOF
  5117. ***************
  5118. *** 770,776 ****
  5119.   if test -z "$ac_err"; then
  5120.     :
  5121.   else
  5122. !   echo "$ac_err" >&5
  5123.     rm -rf conftest*
  5124.     CPP=/lib/cpp
  5125.   fi
  5126. --- 771,777 ----
  5127.   if test -z "$ac_err"; then
  5128.     :
  5129.   else
  5130. !   /bin/echo "$ac_err" >&5
  5131.     rm -rf conftest*
  5132.     CPP=/lib/cpp
  5133.   fi
  5134. ***************
  5135. *** 781,792 ****
  5136.   fi
  5137.   fi
  5138.   CPP="$ac_cv_prog_CPP"
  5139. ! echo "$ac_t""$CPP" 1>&4
  5140.   
  5141.   # If we cannot run a trivial program, we must be cross compiling.
  5142. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  5143. ! if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  5144. !   echo $ac_n "(cached) $ac_c" 1>&4
  5145.   else
  5146.     if test "$cross_compiling" = yes; then
  5147.     ac_cv_cross=yes
  5148. --- 782,793 ----
  5149.   fi
  5150.   fi
  5151.   CPP="$ac_cv_prog_CPP"
  5152. ! /bin/echo "$ac_t""$CPP" 1>&4
  5153.   
  5154.   # If we cannot run a trivial program, we must be cross compiling.
  5155. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  5156. ! if eval "test \"`/bin/echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  5157. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5158.   else
  5159.     if test "$cross_compiling" = yes; then
  5160.     ac_cv_cross=yes
  5161. ***************
  5162. *** 806,816 ****
  5163.   rm -fr conftest*
  5164.   fi
  5165.   cross_compiling=$ac_cv_c_cross
  5166. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  5167.   
  5168. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  5169. ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  5170. !   echo $ac_n "(cached) $ac_c" 1>&4
  5171.   else
  5172.     cat > conftest.$ac_ext <<EOF
  5173.   #line 817 "configure"
  5174. --- 807,817 ----
  5175.   rm -fr conftest*
  5176.   fi
  5177.   cross_compiling=$ac_cv_c_cross
  5178. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  5179.   
  5180. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  5181. ! if eval "test \"`/bin/echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  5182. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5183.   else
  5184.     cat > conftest.$ac_ext <<EOF
  5185.   #line 817 "configure"
  5186. ***************
  5187. *** 826,832 ****
  5188.     rm -rf conftest*
  5189.     ac_cv_header_stdc=yes
  5190.   else
  5191. !   echo "$ac_err" >&5
  5192.     rm -rf conftest*
  5193.     ac_cv_header_stdc=no
  5194.   fi
  5195. --- 827,833 ----
  5196.     rm -rf conftest*
  5197.     ac_cv_header_stdc=yes
  5198.   else
  5199. !   /bin/echo "$ac_err" >&5
  5200.     rm -rf conftest*
  5201.     ac_cv_header_stdc=no
  5202.   fi
  5203. ***************
  5204. *** 895,901 ****
  5205.   rm -fr conftest*
  5206.   fi
  5207.   fi
  5208. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  5209.   if test $ac_cv_header_stdc = yes; then
  5210.     cat >> confdefs.h <<\EOF
  5211.   #define STDC_HEADERS 1
  5212. --- 896,902 ----
  5213.   rm -fr conftest*
  5214.   fi
  5215.   fi
  5216. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  5217.   if test $ac_cv_header_stdc = yes; then
  5218.     cat >> confdefs.h <<\EOF
  5219.   #define STDC_HEADERS 1
  5220. ***************
  5221. *** 903,914 ****
  5222.   
  5223.   fi
  5224.   
  5225. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  5226. ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  5227. !   echo $ac_n "(cached) $ac_c" 1>&4
  5228.   else
  5229.     if test "$cross_compiling" = yes; then
  5230. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  5231.   else
  5232.   cat > conftest.$ac_ext <<EOF
  5233.   #line 915 "configure"
  5234. --- 904,915 ----
  5235.   
  5236.   fi
  5237.   
  5238. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  5239. ! if eval "test \"`/bin/echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  5240. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5241.   else
  5242.     if test "$cross_compiling" = yes; then
  5243. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  5244.   else
  5245.   cat > conftest.$ac_ext <<EOF
  5246.   #line 915 "configure"
  5247. ***************
  5248. *** 926,932 ****
  5249.   fi
  5250.   rm -fr conftest*
  5251.   fi
  5252. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  5253.   if test $ac_cv_func_closedir_void = yes; then
  5254.     cat >> confdefs.h <<\EOF
  5255.   #define CLOSEDIR_VOID 1
  5256. --- 927,933 ----
  5257.   fi
  5258.   rm -fr conftest*
  5259.   fi
  5260. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  5261.   if test $ac_cv_func_closedir_void = yes; then
  5262.     cat >> confdefs.h <<\EOF
  5263.   #define CLOSEDIR_VOID 1
  5264. ***************
  5265. *** 937,946 ****
  5266.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  5267.                    string.h unistd.h
  5268.   do
  5269. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  5270. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  5271. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  5272. !   echo $ac_n "(cached) $ac_c" 1>&4
  5273.   else
  5274.     cat > conftest.$ac_ext <<EOF
  5275.   #line 947 "configure"
  5276. --- 938,947 ----
  5277.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  5278.                    string.h unistd.h
  5279.   do
  5280. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  5281. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  5282. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  5283. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5284.   else
  5285.     cat > conftest.$ac_ext <<EOF
  5286.   #line 947 "configure"
  5287. ***************
  5288. *** 953,982 ****
  5289.     rm -rf conftest*
  5290.     eval "ac_cv_header_$ac_safe=yes"
  5291.   else
  5292. !   echo "$ac_err" >&5
  5293.     rm -rf conftest*
  5294.     eval "ac_cv_header_$ac_safe=no"
  5295.   fi
  5296.   rm -f conftest*
  5297.   fi
  5298. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  5299. !   echo "$ac_t""yes" 1>&4
  5300. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  5301.     cat >> confdefs.h <<EOF
  5302.   #define $ac_tr_hdr 1
  5303.   EOF
  5304.    
  5305.   else
  5306. !   echo "$ac_t""no" 1>&4
  5307.   fi
  5308.   done
  5309.   
  5310.   
  5311.   for ac_func in basename bcopy memmove putenv
  5312.   do
  5313. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  5314. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  5315. !   echo $ac_n "(cached) $ac_c" 1>&4
  5316.   else
  5317.     cat > conftest.$ac_ext <<EOF
  5318.   #line 983 "configure"
  5319. --- 954,983 ----
  5320.     rm -rf conftest*
  5321.     eval "ac_cv_header_$ac_safe=yes"
  5322.   else
  5323. !   /bin/echo "$ac_err" >&5
  5324.     rm -rf conftest*
  5325.     eval "ac_cv_header_$ac_safe=no"
  5326.   fi
  5327.   rm -f conftest*
  5328.   fi
  5329. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  5330. !   /bin/echo "$ac_t""yes" 1>&4
  5331. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  5332.     cat >> confdefs.h <<EOF
  5333.   #define $ac_tr_hdr 1
  5334.   EOF
  5335.    
  5336.   else
  5337. !   /bin/echo "$ac_t""no" 1>&4
  5338.   fi
  5339.   done
  5340.   
  5341.   
  5342.   for ac_func in basename bcopy memmove putenv
  5343.   do
  5344. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  5345. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  5346. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5347.   else
  5348.     cat > conftest.$ac_ext <<EOF
  5349.   #line 983 "configure"
  5350. ***************
  5351. *** 1009,1030 ****
  5352.   rm -f conftest*
  5353.   
  5354.   fi
  5355. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  5356. !   echo "$ac_t""yes" 1>&4
  5357. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  5358.     cat >> confdefs.h <<EOF
  5359.   #define $ac_tr_func 1
  5360.   EOF
  5361.    
  5362.   else
  5363. !   echo "$ac_t""no" 1>&4
  5364.   fi
  5365.   done
  5366.   
  5367.   
  5368. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  5369. ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  5370. !   echo $ac_n "(cached) $ac_c" 1>&4
  5371.   else
  5372.     cat > conftest.$ac_ext <<EOF
  5373.   #line 1031 "configure"
  5374. --- 1010,1031 ----
  5375.   rm -f conftest*
  5376.   
  5377.   fi
  5378. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  5379. !   /bin/echo "$ac_t""yes" 1>&4
  5380. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  5381.     cat >> confdefs.h <<EOF
  5382.   #define $ac_tr_func 1
  5383.   EOF
  5384.    
  5385.   else
  5386. !   /bin/echo "$ac_t""no" 1>&4
  5387.   fi
  5388.   done
  5389.   
  5390.   
  5391. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  5392. ! if eval "test \"`/bin/echo '${'ac_cv_c_const'+set}'`\" = set"; then
  5393. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5394.   else
  5395.     cat > conftest.$ac_ext <<EOF
  5396.   #line 1031 "configure"
  5397. ***************
  5398. *** 1087,1093 ****
  5399.   rm -f conftest*
  5400.   
  5401.   fi
  5402. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  5403.   if test $ac_cv_c_const = no; then
  5404.     cat >> confdefs.h <<\EOF
  5405.   #define const 
  5406. --- 1088,1094 ----
  5407.   rm -f conftest*
  5408.   
  5409.   fi
  5410. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  5411.   if test $ac_cv_c_const = no; then
  5412.     cat >> confdefs.h <<\EOF
  5413.   #define const 
  5414. ***************
  5415. *** 1098,1106 ****
  5416.   
  5417.   
  5418.   # This is a GNU libc invention.
  5419. ! echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  5420. ! if eval "test \"`echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  5421. !   echo $ac_n "(cached) $ac_c" 1>&4
  5422.   else
  5423.     cat > conftest.$ac_ext <<EOF
  5424.   #line 1107 "configure"
  5425. --- 1099,1107 ----
  5426.   
  5427.   
  5428.   # This is a GNU libc invention.
  5429. ! /bin/echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  5430. ! if eval "test \"`/bin/echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  5431. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5432.   else
  5433.     cat > conftest.$ac_ext <<EOF
  5434.   #line 1107 "configure"
  5435. ***************
  5436. *** 1121,1127 ****
  5437.   rm -f conftest*
  5438.   
  5439.   fi
  5440. ! echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  5441.   if test $kb_cv_var_program_inv_name = yes; then
  5442.     cat >> confdefs.h <<\EOF
  5443.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  5444. --- 1122,1128 ----
  5445.   rm -f conftest*
  5446.   
  5447.   fi
  5448. ! /bin/echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  5449.   if test $kb_cv_var_program_inv_name = yes; then
  5450.     cat >> confdefs.h <<\EOF
  5451.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  5452. ***************
  5453. *** 1134,1142 ****
  5454.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  5455.   # We don't actually need to run this if we don't have putenv, but it
  5456.   # doesn't hurt.
  5457. ! echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  5458. ! if eval "test \"`echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  5459. !   echo $ac_n "(cached) $ac_c" 1>&4
  5460.   else
  5461.     if test "$cross_compiling" = yes; then
  5462.     kb_cv_func_putenv_malloc=no
  5463. --- 1135,1143 ----
  5464.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  5465.   # We don't actually need to run this if we don't have putenv, but it
  5466.   # doesn't hurt.
  5467. ! /bin/echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  5468. ! if eval "test \"`/bin/echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  5469. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  5470.   else
  5471.     if test "$cross_compiling" = yes; then
  5472.     kb_cv_func_putenv_malloc=no
  5473. ***************
  5474. *** 1204,1210 ****
  5475.   fi
  5476.   rm -fr conftest*
  5477.   fi
  5478. ! echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  5479.   if test $kb_cv_func_putenv_malloc = yes; then
  5480.     cat >> confdefs.h <<\EOF
  5481.   #define SMART_PUTENV 1
  5482. --- 1205,1211 ----
  5483.   fi
  5484.   rm -fr conftest*
  5485.   fi
  5486. ! /bin/echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  5487.   if test $kb_cv_func_putenv_malloc = yes; then
  5488.     cat >> confdefs.h <<\EOF
  5489.   #define SMART_PUTENV 1
  5490. ***************
  5491. *** 1215,1221 ****
  5492.   
  5493.   trap '' 1 2 15
  5494.   if test -w $cache_file; then
  5495. ! echo "updating cache $cache_file"
  5496.   cat > $cache_file <<\EOF
  5497.   # This file is a shell script that caches the results of configure
  5498.   # tests run on this system so they can be shared between configure
  5499. --- 1216,1222 ----
  5500.   
  5501.   trap '' 1 2 15
  5502.   if test -w $cache_file; then
  5503. ! /bin/echo "updating cache $cache_file"
  5504.   cat > $cache_file <<\EOF
  5505.   # This file is a shell script that caches the results of configure
  5506.   # tests run on this system so they can be shared between configure
  5507. ***************
  5508. *** 1233,1243 ****
  5509.   #
  5510.   EOF
  5511.   # Ultrix sh set writes to stderr and can't be redirected directly.
  5512.   (set) 2>&1 |
  5513. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  5514. !   >> $cache_file
  5515.   else
  5516. ! echo "not updating unwritable cache $cache_file"
  5517.   fi
  5518.   
  5519.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  5520. --- 1234,1247 ----
  5521.   #
  5522.   EOF
  5523.   # Ultrix sh set writes to stderr and can't be redirected directly.
  5524. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  5525. + # sed commands.
  5526.   (set) 2>&1 |
  5527. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  5528. !   sed "s@\\\$@\${@" |
  5529. !   sed "s@\$@}@" >> $cache_file
  5530.   else
  5531. ! /bin/echo "not updating unwritable cache $cache_file"
  5532.   fi
  5533.   
  5534.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  5535. ***************
  5536. *** 1260,1266 ****
  5537.   # Without the "./", some shells look in PATH for config.status.
  5538.   : ${CONFIG_STATUS=./config.status}
  5539.   
  5540. ! echo creating $CONFIG_STATUS
  5541.   rm -f $CONFIG_STATUS
  5542.   cat > $CONFIG_STATUS <<EOF
  5543.   #!/bin/sh
  5544. --- 1264,1270 ----
  5545.   # Without the "./", some shells look in PATH for config.status.
  5546.   : ${CONFIG_STATUS=./config.status}
  5547.   
  5548. ! /bin/echo creating $CONFIG_STATUS
  5549.   rm -f $CONFIG_STATUS
  5550.   cat > $CONFIG_STATUS <<EOF
  5551.   #!/bin/sh
  5552. ***************
  5553. *** 1279,1292 ****
  5554.   do
  5555.     case "\$ac_option" in
  5556.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5557. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  5558.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  5559.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  5560. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  5561.       exit 0 ;;
  5562.     -help | --help | --hel | --he | --h)
  5563. !     echo "\$ac_cs_usage"; exit 0 ;;
  5564. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  5565.     esac
  5566.   done
  5567.   
  5568. --- 1283,1296 ----
  5569.   do
  5570.     case "\$ac_option" in
  5571.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5572. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  5573.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  5574.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  5575. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  5576.       exit 0 ;;
  5577.     -help | --help | --hel | --he | --h)
  5578. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  5579. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  5580.     esac
  5581.   done
  5582.   
  5583. ***************
  5584. *** 1326,1346 ****
  5585.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  5586.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  5587.     case "$ac_file" in
  5588. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  5589. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  5590.     *) ac_file_in="${ac_file}.in" ;;
  5591.     esac
  5592.   
  5593.     # Adjust relative srcdir, etc. for subdirectories.
  5594.   
  5595.     # Remove last slash and all that follows it.  Not all systems have dirname.
  5596. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  5597.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  5598.       # The file is in a subdirectory.
  5599.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  5600.       ac_dir_suffix="/$ac_dir"
  5601.       # A "../" for each directory in $ac_dir_suffix.
  5602. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  5603.     else
  5604.       ac_dir_suffix= ac_dots=
  5605.     fi
  5606. --- 1330,1350 ----
  5607.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  5608.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  5609.     case "$ac_file" in
  5610. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  5611. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  5612.     *) ac_file_in="${ac_file}.in" ;;
  5613.     esac
  5614.   
  5615.     # Adjust relative srcdir, etc. for subdirectories.
  5616.   
  5617.     # Remove last slash and all that follows it.  Not all systems have dirname.
  5618. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  5619.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  5620.       # The file is in a subdirectory.
  5621.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  5622.       ac_dir_suffix="/$ac_dir"
  5623.       # A "../" for each directory in $ac_dir_suffix.
  5624. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  5625.     else
  5626.       ac_dir_suffix= ac_dots=
  5627.     fi
  5628. ***************
  5629. *** 1348,1354 ****
  5630.     case "$ac_given_srcdir" in
  5631.     .)  srcdir=.
  5632.         if test -z "$ac_dots"; then top_srcdir=.
  5633. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  5634.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  5635.     *) # Relative path.
  5636.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  5637. --- 1352,1358 ----
  5638.     case "$ac_given_srcdir" in
  5639.     .)  srcdir=.
  5640.         if test -z "$ac_dots"; then top_srcdir=.
  5641. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  5642.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  5643.     *) # Relative path.
  5644.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  5645. ***************
  5646. *** 1359,1367 ****
  5647.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  5648.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  5649.     esac
  5650. !   echo creating "$ac_file"
  5651.     rm -f "$ac_file"
  5652. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  5653.     case "$ac_file" in
  5654.     *Makefile*) ac_comsub="1i\\
  5655.   # $configure_input" ;;
  5656. --- 1363,1371 ----
  5657.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  5658.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  5659.     esac
  5660. !   /bin/echo creating "$ac_file"
  5661.     rm -f "$ac_file"
  5662. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  5663.     case "$ac_file" in
  5664.     *Makefile*) ac_comsub="1i\\
  5665.   # $configure_input" ;;
  5666. ***************
  5667. *** 1374,1387 ****
  5668.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  5669.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  5670.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  5671. !   # Use @e initially instead of -e because GNU echo has a -e option.
  5672.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  5673.     file_substs=`sed -n \
  5674.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  5675.                  $ac_given_srcdir/${ac_file}.in`
  5676.     if test -n "$file_substs"; then
  5677.       # Change @e back to -e and X@^ to \@^.
  5678. !     file_subst_cmd="sed `echo $file_substs \
  5679.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  5680.     else
  5681.       # If no substitutions and hence no sed commands, don't choke.
  5682. --- 1378,1391 ----
  5683.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  5684.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  5685.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  5686. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  5687.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  5688.     file_substs=`sed -n \
  5689.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  5690.                  $ac_given_srcdir/${ac_file}.in`
  5691.     if test -n "$file_substs"; then
  5692.       # Change @e back to -e and X@^ to \@^.
  5693. !     file_subst_cmd="sed `/bin/echo $file_substs \
  5694.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  5695.     else
  5696.       # If no substitutions and hence no sed commands, don't choke.
  5697. ***************
  5698. *** 1424,1435 ****
  5699.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  5700.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  5701.     case "$ac_file" in
  5702. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  5703. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  5704.     *) ac_file_in="${ac_file}.in" ;;
  5705.     esac
  5706.   
  5707. !   echo creating $ac_file
  5708.   
  5709.     rm -f conftest.frag conftest.in conftest.out
  5710.     cp $ac_given_srcdir/$ac_file_in conftest.in
  5711. --- 1428,1439 ----
  5712.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  5713.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  5714.     case "$ac_file" in
  5715. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  5716. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  5717.     *) ac_file_in="${ac_file}.in" ;;
  5718.     esac
  5719.   
  5720. !   /bin/echo creating $ac_file
  5721.   
  5722.     rm -f conftest.frag conftest.in conftest.out
  5723.     cp $ac_given_srcdir/$ac_file_in conftest.in
  5724. ***************
  5725. *** 1470,1478 ****
  5726.     # grep -c gives empty output for an empty file on some AIX systems.
  5727.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  5728.     # Write a limited-size here document to conftest.frag.
  5729. !   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  5730.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  5731. !   echo 'CEOF
  5732.     sed -f conftest.frag conftest.in > conftest.out
  5733.     rm -f conftest.in
  5734.     mv conftest.out conftest.in
  5735. --- 1474,1482 ----
  5736.     # grep -c gives empty output for an empty file on some AIX systems.
  5737.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  5738.     # Write a limited-size here document to conftest.frag.
  5739. !   /bin/echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  5740.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  5741. !   /bin/echo 'CEOF
  5742.     sed -f conftest.frag conftest.in > conftest.out
  5743.     rm -f conftest.in
  5744.     mv conftest.out conftest.in
  5745. ***************
  5746. *** 1485,1495 ****
  5747.   
  5748.   cat >> $CONFIG_STATUS <<\EOF
  5749.     rm -f conftest.frag conftest.h
  5750. !   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  5751.     cat conftest.in >> conftest.h
  5752.     rm -f conftest.in
  5753.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  5754. !     echo "$ac_file is unchanged"
  5755.       rm -f conftest.h
  5756.     else
  5757.       rm -f $ac_file
  5758. --- 1489,1499 ----
  5759.   
  5760.   cat >> $CONFIG_STATUS <<\EOF
  5761.     rm -f conftest.frag conftest.h
  5762. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  5763.     cat conftest.in >> conftest.h
  5764.     rm -f conftest.in
  5765.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  5766. !     /bin/echo "$ac_file is unchanged"
  5767.       rm -f conftest.h
  5768.     else
  5769.       rm -f $ac_file
  5770. diff -rc --new-file unixtex-6.1b-base/make/common.make unixtex-6.1b/make/common.make
  5771. *** unixtex-6.1b-base/make/common.make    Sun Jan  8 17:20:16 1995
  5772. --- unixtex-6.1b/make/common.make    Sun Apr  2 21:38:24 1995
  5773. ***************
  5774. *** 6,11 ****
  5775. --- 6,16 ----
  5776.   VPATH = @srcdir@
  5777.   
  5778.   CC = @CC@
  5779. + #LN_S = @LN_S@
  5780. + LN_S = cp -p
  5781. + #LN = @LN_S@
  5782. + LN = cp -p
  5783.   # CFLAGS is used for both compilation and linking.
  5784.   CFLAGS = @CFLAGS@ $(XCFLAGS)
  5785.   
  5786. diff -rc --new-file unixtex-6.1b-base/make/paths.make unixtex-6.1b/make/paths.make
  5787. *** unixtex-6.1b-base/make/paths.make    Sun Jan  8 17:20:20 1995
  5788. --- unixtex-6.1b/make/paths.make    Sun Apr  2 21:47:42 1995
  5789. ***************
  5790. *** 10,16 ****
  5791.   # Instead, give the -prefix/-exec-prefix options to configure.
  5792.   # (See kpathsea/INSTALL for more details.) This is arguably
  5793.   # a bug, but it's not likely to change soon.
  5794. ! prefix = @prefix@
  5795.   exec_prefix = @exec_prefix@
  5796.   
  5797.   # Architecture-dependent executables.
  5798. --- 10,17 ----
  5799.   # Instead, give the -prefix/-exec-prefix options to configure.
  5800.   # (See kpathsea/INSTALL for more details.) This is arguably
  5801.   # a bug, but it's not likely to change soon.
  5802. ! #prefix = @prefix@
  5803. ! prefix = /gnu
  5804.   exec_prefix = @exec_prefix@
  5805.   
  5806.   # Architecture-dependent executables.
  5807. diff -rc --new-file unixtex-6.1b-base/web2c/Makefile.in unixtex-6.1b/web2c/Makefile.in
  5808. *** unixtex-6.1b-base/web2c/Makefile.in    Sun Apr  2 06:05:54 1995
  5809. --- unixtex-6.1b/web2c/Makefile.in    Mon Apr  3 23:26:34 1995
  5810. ***************
  5811. *** 74,81 ****
  5812.   # install-bases' will try to install.  See `README' for a brief
  5813.   # description of each of these formats.
  5814.   bases = mf.base cmmf.base
  5815. ! fmts = tex.fmt
  5816. ! # latex.fmt slitex.fmt etex.fmt amslatex.fmt amstex.fmt texinfo.fmt
  5817.   # inrstex.fmt picplus.fmt
  5818.   
  5819.   # The name of the file that defines your local devices, for use with
  5820. --- 74,81 ----
  5821.   # install-bases' will try to install.  See `README' for a brief
  5822.   # description of each of these formats.
  5823.   bases = mf.base cmmf.base
  5824. ! fmts = tex.fmt latex.fmt
  5825. ! # slitex.fmt etex.fmt amslatex.fmt amstex.fmt texinfo.fmt
  5826.   # inrstex.fmt picplus.fmt
  5827.   
  5828.   # The name of the file that defines your local devices, for use with
  5829. ***************
  5830. *** 90,96 ****
  5831.   DEFS = $(XDEFS)
  5832.   
  5833.   # CFLAGS is used for both compilation and linking.
  5834. ! CFLAGS = -g $(XCFLAGS)
  5835.   
  5836.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  5837.   CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) -I$(kpathsea_parent) \
  5838. --- 90,96 ----
  5839.   DEFS = $(XDEFS)
  5840.   
  5841.   # CFLAGS is used for both compilation and linking.
  5842. ! CFLAGS = $(XCFLAGS)
  5843.   
  5844.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  5845.   CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) -I$(kpathsea_parent) \
  5846. ***************
  5847. *** 374,395 ****
  5848.                             -o -name \*.start     \
  5849.                             -o -name \*.yacc      \
  5850.                          \) -print`; do           \
  5851. !           ln $$f $(distdir)/`dirname $$f`;    \
  5852.           done
  5853. !     ln lib/*.c lib/*.h $(distdir)/lib
  5854.       rm -f lib/c-auto.h
  5855. !     ln mf/MFwindow/*.c $(distdir)/mf/MFwindow
  5856.       rm -f mf/MFwindow/x11.c mf/MFwindow/sun.c
  5857. !     ln mf/MFtrap/trap.* mf/MFtrap/trapin.log mf/MFtrap/trapman.tex \
  5858.         $(distdir)/mf/MFtrap
  5859. !     ln fontutil/gftodmem.h $(distdir)/fontutil
  5860. !     ln tex/TeXtrip/trip.* tex/TeXtrip/tripin.log \
  5861.              tex/TeXtrip/tripman.tex tex/TeXtrip/tripos.tex \
  5862.         $(distdir)/tex/TeXtrip
  5863.       for d in tex mf bibtex; do rm -f $(distdir)/$$d/c$$d.ch; done
  5864. !     ln web/tangleboot.* $(distdir)/web
  5865.       rm -f $(distdir)/web/tangleboot.o
  5866. !     ln web2c/*.c web2c/*.h $(distdir)/web2c
  5867.       (cd $(distdir)/web2c; mv y.tab.c y.tab.c-dist; \
  5868.         mv y.tab.h y.tab.h-dist; \
  5869.         mv lex.yy.c lex.yy.c-dist)
  5870. --- 374,395 ----
  5871.                             -o -name \*.start     \
  5872.                             -o -name \*.yacc      \
  5873.                          \) -print`; do           \
  5874. !           $(LN) $$f $(distdir)/`dirname $$f`;    \
  5875.           done
  5876. !     $(LN) lib/*.c lib/*.h $(distdir)/lib
  5877.       rm -f lib/c-auto.h
  5878. !     $(LN) mf/MFwindow/*.c $(distdir)/mf/MFwindow
  5879.       rm -f mf/MFwindow/x11.c mf/MFwindow/sun.c
  5880. !     $(LN) mf/MFtrap/trap.* mf/MFtrap/trapin.log mf/MFtrap/trapman.tex \
  5881.         $(distdir)/mf/MFtrap
  5882. !     $(LN) fontutil/gftodmem.h $(distdir)/fontutil
  5883. !     $(LN) tex/TeXtrip/trip.* tex/TeXtrip/tripin.log \
  5884.              tex/TeXtrip/tripman.tex tex/TeXtrip/tripos.tex \
  5885.         $(distdir)/tex/TeXtrip
  5886.       for d in tex mf bibtex; do rm -f $(distdir)/$$d/c$$d.ch; done
  5887. !     $(LN) web/tangleboot.* $(distdir)/web
  5888.       rm -f $(distdir)/web/tangleboot.o
  5889. !     $(LN) web2c/*.c web2c/*.h $(distdir)/web2c
  5890.       (cd $(distdir)/web2c; mv y.tab.c y.tab.c-dist; \
  5891.         mv y.tab.h y.tab.h-dist; \
  5892.         mv lex.yy.c lex.yy.c-dist)
  5893. ***************
  5894. *** 409,416 ****
  5895.       cd ..; cp -p $(top_files) $(distname)/$(top_distdir)
  5896.       cd ..; echo >>$(distname)/$(top_distdir)/ChangeLog
  5897.       cd ..; cat kutil/ChangeLog >>$(distname)/$(top_distdir)/ChangeLog
  5898. !     -ln $(ln_files) $(distdir)
  5899. !     ln $(program_files) $(distdir)
  5900.       cd $(kpathsea_dir); $(MAKE) distdir=$(kpathsea_distdir) \
  5901.         ln_files='$(ln_files)' distdir
  5902.       ungnumake $(distdir)/Makefile.in $(kpathsea_distdir)/Makefile.in \
  5903. --- 409,416 ----
  5904.       cd ..; cp -p $(top_files) $(distname)/$(top_distdir)
  5905.       cd ..; echo >>$(distname)/$(top_distdir)/ChangeLog
  5906.       cd ..; cat kutil/ChangeLog >>$(distname)/$(top_distdir)/ChangeLog
  5907. !     -$(LN) $(ln_files) $(distdir)
  5908. !     $(LN) $(program_files) $(distdir)
  5909.       cd $(kpathsea_dir); $(MAKE) distdir=$(kpathsea_distdir) \
  5910.         ln_files='$(ln_files)' distdir
  5911.       ungnumake $(distdir)/Makefile.in $(kpathsea_distdir)/Makefile.in \
  5912. ***************
  5913. *** 453,459 ****
  5914.       cd $(top_distdir)/$(distname); \
  5915.             mkdir `cd ../..; find -name \*.web -exec dirname '{}' \; | uniq`
  5916.       for d in `find . -name $(distdir) -prune -o -name \*.web -print` ; do\
  5917. !           ln $$d $(distdir)/`dirname $$d`;                \
  5918.           done
  5919.       GZIP=-9 tar czf web-$(version). $(top_distdir)
  5920.       rm -rf $(top_distdir)
  5921. --- 453,459 ----
  5922.       cd $(top_distdir)/$(distname); \
  5923.             mkdir `cd ../..; find -name \*.web -exec dirname '{}' \; | uniq`
  5924.       for d in `find . -name $(distdir) -prune -o -name \*.web -print` ; do\
  5925. !           $(LN) $$d $(distdir)/`dirname $$d`;                \
  5926.           done
  5927.       GZIP=-9 tar czf web-$(version). $(top_distdir)
  5928.       rm -rf $(top_distdir)
  5929. diff -rc --new-file unixtex-6.1b-base/web2c/bibtex/Makefile.in unixtex-6.1b/web2c/bibtex/Makefile.in
  5930. *** unixtex-6.1b-base/web2c/bibtex/Makefile.in    Thu Feb  3 12:48:30 1994
  5931. --- unixtex-6.1b/web2c/bibtex/Makefile.in    Sun Apr  2 21:43:26 1995
  5932. ***************
  5933. *** 16,29 ****
  5934.   commono = ../lib/lib.a $(kpathsea)
  5935.   
  5936.   # Routines used in TeX, Metafont, and BibTeX.
  5937. ! fileioc = ../lib/openinout.c
  5938.   fileioo = openinout.o
  5939.   
  5940.   program = bibtex
  5941.   
  5942.   CC = @CC@
  5943. ! CFLAGS = -g
  5944. ! CPPFLAGS = -DBibTeX -I$(srcdir)/../lib -I../..
  5945.   
  5946.   CCLD = $(CC)
  5947.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  5948. --- 16,29 ----
  5949.   commono = ../lib/lib.a $(kpathsea)
  5950.   
  5951.   # Routines used in TeX, Metafont, and BibTeX.
  5952. ! fileioc = $(srcdir)/../lib/openinout.c
  5953.   fileioo = openinout.o
  5954.   
  5955.   program = bibtex
  5956.   
  5957.   CC = @CC@
  5958. ! CFLAGS =
  5959. ! CPPFLAGS = -DBibTeX -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  5960.   
  5961.   CCLD = $(CC)
  5962.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  5963. ***************
  5964. *** 39,49 ****
  5965.   .SUFFIXES:
  5966.   .SUFFIXES: .o .c .p .ch
  5967.   .p.c:
  5968. !     $(SHELL) $(srcdir)/../bibtex/convert $*.p $*.c
  5969.   .ch.p:
  5970. !     ../web/tangle $*.web c$*.ch
  5971.   .c.o:
  5972. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  5973.   
  5974.   
  5975.   default: all
  5976. --- 39,52 ----
  5977.   .SUFFIXES:
  5978.   .SUFFIXES: .o .c .p .ch
  5979.   .p.c:
  5980. !     $(SHELL) $(srcdir)/../bibtex/convert $< $*.tmp $(srcdir)
  5981. !     sed "s:^void main_body() {:void main_body() { standardoutput = stdout; standardinput = stdin;:" <$*.tmp >$*.c
  5982.   .ch.p:
  5983. !     ../web/tangle $(srcdir)/$*.web c$*.ch
  5984. !     cp $(srcdir)/$*.p $*.p
  5985. !     rm -f $(srcdir)/$*.p
  5986.   .c.o:
  5987. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  5988.   
  5989.   
  5990.   default: all
  5991. diff -rc --new-file unixtex-6.1b-base/web2c/bibtex/convert unixtex-6.1b/web2c/bibtex/convert
  5992. *** unixtex-6.1b-base/web2c/bibtex/convert    Sun Nov  7 20:12:52 1993
  5993. --- unixtex-6.1b/web2c/bibtex/convert    Sun Apr  2 20:23:28 1995
  5994. ***************
  5995. *** 1,9 ****
  5996.   #!/bin/sh
  5997.   # Convert Bibtex to C.
  5998.   sed=sed
  5999.   
  6000. ! cat ../lib/common.defines $1 \
  6001.       | ../web2c/web2c -hcpascal.h \
  6002.           | $sed -e '1a\
  6003.   \#include \<setjmp.h\> \
  6004. --- 1,9 ----
  6005.   #!/bin/sh
  6006.   # Convert Bibtex to C.
  6007. ! srcdir=$3
  6008.   sed=sed
  6009.   
  6010. ! cat $srcdir/../lib/common.defines $1 \
  6011.       | ../web2c/web2c -hcpascal.h \
  6012.           | $sed -e '1a\
  6013.   \#include \<setjmp.h\> \
  6014. diff -rc --new-file unixtex-6.1b-base/web2c/configure unixtex-6.1b/web2c/configure
  6015. *** unixtex-6.1b-base/web2c/configure    Sun Apr  2 06:05:56 1995
  6016. --- unixtex-6.1b/web2c/configure    Mon Apr  3 17:27:04 1995
  6017. ***************
  6018. *** 9,15 ****
  6019.   
  6020.   # Defaults:
  6021.   ac_help=
  6022. ! ac_default_prefix=/usr/local
  6023.   # Any additions from configure.in:
  6024.   ac_help="$ac_help
  6025.     --with-x                use the X Window System"
  6026. --- 9,15 ----
  6027.   
  6028.   # Defaults:
  6029.   ac_help=
  6030. ! ac_default_prefix=/gnu
  6031.   # Any additions from configure.in:
  6032.   ac_help="$ac_help
  6033.     --with-x                use the X Window System"
  6034. ***************
  6035. *** 51,57 ****
  6036.     fi
  6037.   
  6038.     case "$ac_option" in
  6039. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  6040.     *) ac_optarg= ;;
  6041.     esac
  6042.   
  6043. --- 51,57 ----
  6044.     fi
  6045.   
  6046.     case "$ac_option" in
  6047. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  6048.     *) ac_optarg= ;;
  6049.     esac
  6050.   
  6051. ***************
  6052. *** 72,92 ****
  6053.       cache_file="$ac_optarg" ;;
  6054.   
  6055.     -disable-* | --disable-*)
  6056. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  6057.       # Reject names that are not valid shell variable names.
  6058. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  6059. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  6060.       fi
  6061. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  6062.       eval "enable_${ac_feature}=no" ;;
  6063.   
  6064.     -enable-* | --enable-*)
  6065. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  6066.       # Reject names that are not valid shell variable names.
  6067. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  6068. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  6069.       fi
  6070. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  6071.       case "$ac_option" in
  6072.         *=*) ;;
  6073.         *) ac_optarg=yes ;;
  6074. --- 72,92 ----
  6075.       cache_file="$ac_optarg" ;;
  6076.   
  6077.     -disable-* | --disable-*)
  6078. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  6079.       # Reject names that are not valid shell variable names.
  6080. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  6081. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  6082.       fi
  6083. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  6084.       eval "enable_${ac_feature}=no" ;;
  6085.   
  6086.     -enable-* | --enable-*)
  6087. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  6088.       # Reject names that are not valid shell variable names.
  6089. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  6090. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  6091.       fi
  6092. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  6093.       case "$ac_option" in
  6094.         *=*) ;;
  6095.         *) ac_optarg=yes ;;
  6096. ***************
  6097. *** 218,233 ****
  6098.       verbose=yes ;;
  6099.   
  6100.     -version | --version | --versio | --versi | --vers)
  6101. !     echo "configure generated by autoconf version 2.1"
  6102.       exit 0 ;;
  6103.   
  6104.     -with-* | --with-*)
  6105. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  6106.       # Reject names that are not valid shell variable names.
  6107. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  6108. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  6109.       fi
  6110. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  6111.       case "$ac_option" in
  6112.         *=*) ;;
  6113.         *) ac_optarg=yes ;;
  6114. --- 218,233 ----
  6115.       verbose=yes ;;
  6116.   
  6117.     -version | --version | --versio | --versi | --vers)
  6118. !     /bin/echo "configure generated by autoconf version 2.1"
  6119.       exit 0 ;;
  6120.   
  6121.     -with-* | --with-*)
  6122. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  6123.       # Reject names that are not valid shell variable names.
  6124. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  6125. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  6126.       fi
  6127. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  6128.       case "$ac_option" in
  6129.         *=*) ;;
  6130.         *) ac_optarg=yes ;;
  6131. ***************
  6132. *** 235,246 ****
  6133.       eval "with_${ac_package}='$ac_optarg'" ;;
  6134.   
  6135.     -without-* | --without-*)
  6136. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  6137.       # Reject names that are not valid shell variable names.
  6138. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  6139. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  6140.       fi
  6141. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  6142.       eval "with_${ac_package}=no" ;;
  6143.   
  6144.     --x)
  6145. --- 235,246 ----
  6146.       eval "with_${ac_package}='$ac_optarg'" ;;
  6147.   
  6148.     -without-* | --without-*)
  6149. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  6150.       # Reject names that are not valid shell variable names.
  6151. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  6152. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  6153.       fi
  6154. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  6155.       eval "with_${ac_package}=no" ;;
  6156.   
  6157.     --x)
  6158. ***************
  6159. *** 261,275 ****
  6160.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  6161.       x_libraries="$ac_optarg" ;;
  6162.   
  6163. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  6164.       ;;
  6165.   
  6166.     *) 
  6167. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  6168. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  6169.       fi
  6170.       if test "x$nonopt" != xNONE; then
  6171. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  6172.       fi
  6173.       nonopt="$ac_option"
  6174.       ;;
  6175. --- 261,275 ----
  6176.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  6177.       x_libraries="$ac_optarg" ;;
  6178.   
  6179. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  6180.       ;;
  6181.   
  6182.     *) 
  6183. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  6184. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  6185.       fi
  6186.       if test "x$nonopt" != xNONE; then
  6187. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  6188.       fi
  6189.       nonopt="$ac_option"
  6190.       ;;
  6191. ***************
  6192. *** 278,284 ****
  6193.   done
  6194.   
  6195.   if test -n "$ac_prev"; then
  6196. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  6197.   fi
  6198.   
  6199.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  6200. --- 278,284 ----
  6201.   done
  6202.   
  6203.   if test -n "$ac_prev"; then
  6204. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  6205.   fi
  6206.   
  6207.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  6208. ***************
  6209. *** 297,303 ****
  6210.   fi
  6211.   exec 5>./config.log
  6212.   
  6213. ! echo "\
  6214.   This file contains any messages produced by compilers while
  6215.   running configure, to aid debugging if configure makes a mistake.
  6216.   " 1>&5
  6217. --- 297,303 ----
  6218.   fi
  6219.   exec 5>./config.log
  6220.   
  6221. ! /bin/echo "\
  6222.   This file contains any messages produced by compilers while
  6223.   running configure, to aid debugging if configure makes a mistake.
  6224.   " 1>&5
  6225. ***************
  6226. *** 328,334 ****
  6227.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  6228.   rm -rf conftest* confdefs.h
  6229.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  6230. ! echo > confdefs.h
  6231.   
  6232.   # A filename unique to this package, relative to the directory that
  6233.   # configure is in, which we can look for to find out if srcdir is correct.
  6234. --- 328,334 ----
  6235.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  6236.   rm -rf conftest* confdefs.h
  6237.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  6238. ! /bin/echo > confdefs.h
  6239.   
  6240.   # A filename unique to this package, relative to the directory that
  6241.   # configure is in, which we can look for to find out if srcdir is correct.
  6242. ***************
  6243. *** 339,345 ****
  6244.     ac_srcdir_defaulted=yes
  6245.     # Try the directory containing this script, then its parent.
  6246.     ac_prog=$0
  6247. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  6248.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  6249.     srcdir=$ac_confdir
  6250.     if test ! -r $srcdir/$ac_unique_file; then
  6251. --- 339,345 ----
  6252.     ac_srcdir_defaulted=yes
  6253.     # Try the directory containing this script, then its parent.
  6254.     ac_prog=$0
  6255. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  6256.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  6257.     srcdir=$ac_confdir
  6258.     if test ! -r $srcdir/$ac_unique_file; then
  6259. ***************
  6260. *** 350,361 ****
  6261.   fi
  6262.   if test ! -r $srcdir/$ac_unique_file; then
  6263.     if test "$ac_srcdir_defaulted" = yes; then
  6264. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  6265.     else
  6266. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  6267.     fi
  6268.   fi
  6269. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  6270.   
  6271.   # Prefer explicitly selected file to automatically selected ones.
  6272.   if test -z "$CONFIG_SITE"; then
  6273. --- 350,361 ----
  6274.   fi
  6275.   if test ! -r $srcdir/$ac_unique_file; then
  6276.     if test "$ac_srcdir_defaulted" = yes; then
  6277. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  6278.     else
  6279. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  6280.     fi
  6281.   fi
  6282. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  6283.   
  6284.   # Prefer explicitly selected file to automatically selected ones.
  6285.   if test -z "$CONFIG_SITE"; then
  6286. ***************
  6287. *** 367,382 ****
  6288.   fi
  6289.   for ac_site_file in $CONFIG_SITE; do
  6290.     if test -r "$ac_site_file"; then
  6291. !     echo "loading site script $ac_site_file"
  6292.       . "$ac_site_file"
  6293.     fi
  6294.   done
  6295.   
  6296.   if test -r "$cache_file"; then
  6297. !   echo "loading cache $cache_file"
  6298.     . $cache_file
  6299.   else
  6300. !   echo "creating cache $cache_file"
  6301.     > $cache_file
  6302.   fi
  6303.   
  6304. --- 367,382 ----
  6305.   fi
  6306.   for ac_site_file in $CONFIG_SITE; do
  6307.     if test -r "$ac_site_file"; then
  6308. !     /bin/echo "loading site script $ac_site_file"
  6309.       . "$ac_site_file"
  6310.     fi
  6311.   done
  6312.   
  6313.   if test -r "$cache_file"; then
  6314. !   /bin/echo "loading cache $cache_file"
  6315.     . $cache_file
  6316.   else
  6317. !   /bin/echo "creating cache $cache_file"
  6318.     > $cache_file
  6319.   fi
  6320.   
  6321. ***************
  6322. *** 386,394 ****
  6323.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  6324.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  6325.   
  6326. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  6327.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  6328. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  6329.       ac_n= ac_c='
  6330.   ' ac_t='    '
  6331.     else
  6332. --- 386,394 ----
  6333.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  6334.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  6335.   
  6336. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  6337.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  6338. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  6339.       ac_n= ac_c='
  6340.   ' ac_t='    '
  6341.     else
  6342. ***************
  6343. *** 406,419 ****
  6344.   
  6345.   
  6346.   
  6347. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  6348.   set dummy ${MAKE-make}; ac_make=$2
  6349. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  6350. !   echo $ac_n "(cached) $ac_c" 1>&4
  6351.   else
  6352.     cat > conftestmake <<\EOF
  6353.   all:
  6354. !     @echo 'ac_maketemp="${MAKE}"'
  6355.   EOF
  6356.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  6357.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  6358. --- 406,419 ----
  6359.   
  6360.   
  6361.   
  6362. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  6363.   set dummy ${MAKE-make}; ac_make=$2
  6364. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  6365. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6366.   else
  6367.     cat > conftestmake <<\EOF
  6368.   all:
  6369. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  6370.   EOF
  6371.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  6372.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  6373. ***************
  6374. *** 424,443 ****
  6375.   fi
  6376.   rm -f conftestmake
  6377.   fi
  6378. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  6379. !   echo "$ac_t""yes" 1>&4
  6380.     SET_MAKE=
  6381.   else
  6382. !   echo "$ac_t""no" 1>&4
  6383.     SET_MAKE="MAKE=${MAKE-make}"
  6384.   fi
  6385.   
  6386.   
  6387.   # Extract the first word of "gcc", so it can be a program name with args.
  6388.   set dummy gcc; ac_word=$2
  6389. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  6390. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  6391. !   echo $ac_n "(cached) $ac_c" 1>&4
  6392.   else
  6393.     if test -n "$CC"; then
  6394.     ac_cv_prog_CC="$CC" # Let the user override the test.
  6395. --- 424,443 ----
  6396.   fi
  6397.   rm -f conftestmake
  6398.   fi
  6399. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  6400. !   /bin/echo "$ac_t""yes" 1>&4
  6401.     SET_MAKE=
  6402.   else
  6403. !   /bin/echo "$ac_t""no" 1>&4
  6404.     SET_MAKE="MAKE=${MAKE-make}"
  6405.   fi
  6406.   
  6407.   
  6408.   # Extract the first word of "gcc", so it can be a program name with args.
  6409.   set dummy gcc; ac_word=$2
  6410. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  6411. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  6412. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6413.   else
  6414.     if test -n "$CC"; then
  6415.     ac_cv_prog_CC="$CC" # Let the user override the test.
  6416. ***************
  6417. *** 456,470 ****
  6418.   fi
  6419.   CC="$ac_cv_prog_CC"
  6420.   if test -n "$CC"; then
  6421. !   echo "$ac_t""$CC" 1>&4
  6422.   else
  6423. !   echo "$ac_t""no" 1>&4
  6424.   fi
  6425.   
  6426.   
  6427. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  6428. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  6429. !   echo $ac_n "(cached) $ac_c" 1>&4
  6430.   else
  6431.     cat > conftest.c <<EOF
  6432.   #ifdef __GNUC__
  6433. --- 456,470 ----
  6434.   fi
  6435.   CC="$ac_cv_prog_CC"
  6436.   if test -n "$CC"; then
  6437. !   /bin/echo "$ac_t""$CC" 1>&4
  6438.   else
  6439. !   /bin/echo "$ac_t""no" 1>&4
  6440.   fi
  6441.   
  6442.   
  6443. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  6444. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  6445. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6446.   else
  6447.     cat > conftest.c <<EOF
  6448.   #ifdef __GNUC__
  6449. ***************
  6450. *** 477,491 ****
  6451.     ac_cv_prog_gcc=no
  6452.   fi
  6453.   fi
  6454. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  6455.   if test $ac_cv_prog_gcc = yes; then
  6456.     GCC=yes
  6457.     if test "${CFLAGS+set}" != set; then
  6458. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  6459. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  6460. !   echo $ac_n "(cached) $ac_c" 1>&4
  6461.   else
  6462. !   echo 'void f(){}' > conftest.c
  6463.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  6464.     ac_cv_prog_gcc_g=yes
  6465.   else
  6466. --- 477,491 ----
  6467.     ac_cv_prog_gcc=no
  6468.   fi
  6469.   fi
  6470. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  6471.   if test $ac_cv_prog_gcc = yes; then
  6472.     GCC=yes
  6473.     if test "${CFLAGS+set}" != set; then
  6474. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  6475. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  6476. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6477.   else
  6478. !   /bin/echo 'void f(){}' > conftest.c
  6479.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  6480.     ac_cv_prog_gcc_g=yes
  6481.   else
  6482. ***************
  6483. *** 494,500 ****
  6484.   rm -f conftest*
  6485.   
  6486.   fi
  6487. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  6488.       if test $ac_cv_prog_gcc_g = yes; then
  6489.         CFLAGS="-g -O"
  6490.       else
  6491. --- 494,500 ----
  6492.   rm -f conftest*
  6493.   
  6494.   fi
  6495. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  6496.       if test $ac_cv_prog_gcc_g = yes; then
  6497.         CFLAGS="-g -O"
  6498.       else
  6499. ***************
  6500. *** 519,525 ****
  6501.     fi
  6502.   done
  6503.   if test -z "$ac_aux_dir"; then
  6504. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  6505.   fi
  6506.   ac_config_guess=$ac_aux_dir/config.guess
  6507.   ac_config_sub=$ac_aux_dir/config.sub
  6508. --- 519,525 ----
  6509.     fi
  6510.   done
  6511.   if test -z "$ac_aux_dir"; then
  6512. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  6513.   fi
  6514.   ac_config_guess=$ac_aux_dir/config.guess
  6515.   ac_config_sub=$ac_aux_dir/config.sub
  6516. ***************
  6517. *** 535,549 ****
  6518.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  6519.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  6520.   # ./install, which can be erroneously created by make from ./install.sh.
  6521. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  6522.   if test -z "$INSTALL"; then
  6523. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  6524. !   echo $ac_n "(cached) $ac_c" 1>&4
  6525.   else
  6526.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  6527.     for ac_dir in $PATH; do
  6528.       case "$ac_dir" in
  6529. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  6530.       *)
  6531.         # OSF1 and SCO ODT 3.0 have their own names for install.
  6532.         for ac_prog in ginstall installbsd scoinst install; do
  6533. --- 535,550 ----
  6534.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  6535.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  6536.   # ./install, which can be erroneously created by make from ./install.sh.
  6537. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  6538. ! INSTALL="/bin/install -c"
  6539.   if test -z "$INSTALL"; then
  6540. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  6541. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6542.   else
  6543.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  6544.     for ac_dir in $PATH; do
  6545.       case "$ac_dir" in
  6546. !     ''|.|/bin) ;;
  6547.       *)
  6548.         # OSF1 and SCO ODT 3.0 have their own names for install.
  6549.         for ac_prog in ginstall installbsd scoinst install; do
  6550. ***************
  6551. *** 568,574 ****
  6552.   fi
  6553.     INSTALL="$ac_cv_path_install"
  6554.   fi
  6555. ! echo "$ac_t""$INSTALL" 1>&4
  6556.   
  6557.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  6558.   # It thinks the first close brace ends the variable substitution.
  6559. --- 569,575 ----
  6560.   fi
  6561.     INSTALL="$ac_cv_path_install"
  6562.   fi
  6563. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  6564.   
  6565.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  6566.   # It thinks the first close brace ends the variable substitution.
  6567. ***************
  6568. *** 578,586 ****
  6569.   
  6570.   # Extract the first word of "ranlib", so it can be a program name with args.
  6571.   set dummy ranlib; ac_word=$2
  6572. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  6573. ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  6574. !   echo $ac_n "(cached) $ac_c" 1>&4
  6575.   else
  6576.     if test -n "$RANLIB"; then
  6577.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6578. --- 579,587 ----
  6579.   
  6580.   # Extract the first word of "ranlib", so it can be a program name with args.
  6581.   set dummy ranlib; ac_word=$2
  6582. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  6583. ! if eval "test \"`/bin/echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  6584. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6585.   else
  6586.     if test -n "$RANLIB"; then
  6587.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6588. ***************
  6589. *** 599,615 ****
  6590.   fi
  6591.   RANLIB="$ac_cv_prog_RANLIB"
  6592.   if test -n "$RANLIB"; then
  6593. !   echo "$ac_t""$RANLIB" 1>&4
  6594.   else
  6595. !   echo "$ac_t""no" 1>&4
  6596.   fi
  6597.   
  6598.   
  6599. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  6600.   if test -d /etc/conf/kconfig.d &&
  6601. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  6602.   then
  6603. !   echo "$ac_t""yes" 1>&4
  6604.     ISC=yes # If later tests want to check for ISC.
  6605.     cat >> confdefs.h <<\EOF
  6606.   #define _POSIX_SOURCE 1
  6607. --- 600,616 ----
  6608.   fi
  6609.   RANLIB="$ac_cv_prog_RANLIB"
  6610.   if test -n "$RANLIB"; then
  6611. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  6612.   else
  6613. !   /bin/echo "$ac_t""no" 1>&4
  6614.   fi
  6615.   
  6616.   
  6617. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  6618.   if test -d /etc/conf/kconfig.d &&
  6619. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  6620.   then
  6621. !   /bin/echo "$ac_t""yes" 1>&4
  6622.     ISC=yes # If later tests want to check for ISC.
  6623.     cat >> confdefs.h <<\EOF
  6624.   #define _POSIX_SOURCE 1
  6625. ***************
  6626. *** 621,627 ****
  6627.       CC="$CC -Xp"
  6628.     fi
  6629.   else
  6630. !   echo "$ac_t""no" 1>&4
  6631.     ISC=
  6632.   fi
  6633.   
  6634. --- 622,628 ----
  6635.       CC="$CC -Xp"
  6636.     fi
  6637.   else
  6638. !   /bin/echo "$ac_t""no" 1>&4
  6639.     ISC=
  6640.   fi
  6641.   
  6642. ***************
  6643. *** 629,638 ****
  6644.   ac_header_dirent=no
  6645.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  6646.   do
  6647. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  6648. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  6649. ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  6650. !   echo $ac_n "(cached) $ac_c" 1>&4
  6651.   else
  6652.     cat > conftest.$ac_ext <<EOF
  6653.   #line 639 "configure"
  6654. --- 630,639 ----
  6655.   ac_header_dirent=no
  6656.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  6657.   do
  6658. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  6659. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  6660. ! if eval "test \"`/bin/echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  6661. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6662.   else
  6663.     cat > conftest.$ac_ext <<EOF
  6664.   #line 639 "configure"
  6665. ***************
  6666. *** 654,675 ****
  6667.   rm -f conftest*
  6668.   
  6669.   fi
  6670. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  6671. !   echo "$ac_t""yes" 1>&4
  6672. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  6673.     cat >> confdefs.h <<EOF
  6674.   #define $ac_tr_hdr 1
  6675.   EOF
  6676.    ac_header_dirent=$ac_hdr; break
  6677.   else
  6678. !   echo "$ac_t""no" 1>&4
  6679.   fi
  6680.   done
  6681.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  6682.   if test $ac_header_dirent = dirent.h; then
  6683. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  6684. ! if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  6685. !   echo $ac_n "(cached) $ac_c" 1>&4
  6686.   else
  6687.     ac_save_LIBS="$LIBS"
  6688.   LIBS="$LIBS -ldir "
  6689. --- 655,676 ----
  6690.   rm -f conftest*
  6691.   
  6692.   fi
  6693. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  6694. !   /bin/echo "$ac_t""yes" 1>&4
  6695. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  6696.     cat >> confdefs.h <<EOF
  6697.   #define $ac_tr_hdr 1
  6698.   EOF
  6699.    ac_header_dirent=$ac_hdr; break
  6700.   else
  6701. !   /bin/echo "$ac_t""no" 1>&4
  6702.   fi
  6703.   done
  6704.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  6705.   if test $ac_header_dirent = dirent.h; then
  6706. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  6707. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  6708. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6709.   else
  6710.     ac_save_LIBS="$LIBS"
  6711.   LIBS="$LIBS -ldir "
  6712. ***************
  6713. *** 693,709 ****
  6714.   LIBS="$ac_save_LIBS"
  6715.   
  6716.   fi
  6717. ! if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  6718. !   echo "$ac_t""yes" 1>&4
  6719.     LIBS="$LIBS -ldir"
  6720.   else
  6721. !   echo "$ac_t""no" 1>&4
  6722.   fi
  6723.   
  6724.   else
  6725. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  6726. ! if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  6727. !   echo $ac_n "(cached) $ac_c" 1>&4
  6728.   else
  6729.     ac_save_LIBS="$LIBS"
  6730.   LIBS="$LIBS -lx "
  6731. --- 694,710 ----
  6732.   LIBS="$ac_save_LIBS"
  6733.   
  6734.   fi
  6735. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dir`\" = yes"; then
  6736. !   /bin/echo "$ac_t""yes" 1>&4
  6737.     LIBS="$LIBS -ldir"
  6738.   else
  6739. !   /bin/echo "$ac_t""no" 1>&4
  6740.   fi
  6741.   
  6742.   else
  6743. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  6744. ! if eval "test \"`/bin/echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  6745. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6746.   else
  6747.     ac_save_LIBS="$LIBS"
  6748.   LIBS="$LIBS -lx "
  6749. ***************
  6750. *** 727,749 ****
  6751.   LIBS="$ac_save_LIBS"
  6752.   
  6753.   fi
  6754. ! if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  6755. !   echo "$ac_t""yes" 1>&4
  6756.     LIBS="$LIBS -lx"
  6757.   else
  6758. !   echo "$ac_t""no" 1>&4
  6759.   fi
  6760.   
  6761.   fi
  6762.   
  6763. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  6764.   # On Suns, sometimes $CPP names a directory.
  6765.   if test -n "$CPP" && test -d "$CPP"; then
  6766.     CPP=
  6767.   fi
  6768.   if test -z "$CPP"; then
  6769. ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  6770. !   echo $ac_n "(cached) $ac_c" 1>&4
  6771.   else
  6772.       # This must be in double quotes, not single quotes, because CPP may get
  6773.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  6774. --- 728,750 ----
  6775.   LIBS="$ac_save_LIBS"
  6776.   
  6777.   fi
  6778. ! if eval "test \"`/bin/echo '$ac_cv_lib_'x`\" = yes"; then
  6779. !   /bin/echo "$ac_t""yes" 1>&4
  6780.     LIBS="$LIBS -lx"
  6781.   else
  6782. !   /bin/echo "$ac_t""no" 1>&4
  6783.   fi
  6784.   
  6785.   fi
  6786.   
  6787. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  6788.   # On Suns, sometimes $CPP names a directory.
  6789.   if test -n "$CPP" && test -d "$CPP"; then
  6790.     CPP=
  6791.   fi
  6792.   if test -z "$CPP"; then
  6793. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  6794. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6795.   else
  6796.       # This must be in double quotes, not single quotes, because CPP may get
  6797.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  6798. ***************
  6799. *** 761,767 ****
  6800.   if test -z "$ac_err"; then
  6801.     :
  6802.   else
  6803. !   echo "$ac_err" >&5
  6804.     rm -rf conftest*
  6805.     CPP="${CC-cc} -E -traditional-cpp"
  6806.     cat > conftest.$ac_ext <<EOF
  6807. --- 762,768 ----
  6808.   if test -z "$ac_err"; then
  6809.     :
  6810.   else
  6811. !   /bin/echo "$ac_err" >&5
  6812.     rm -rf conftest*
  6813.     CPP="${CC-cc} -E -traditional-cpp"
  6814.     cat > conftest.$ac_ext <<EOF
  6815. ***************
  6816. *** 775,781 ****
  6817.   if test -z "$ac_err"; then
  6818.     :
  6819.   else
  6820. !   echo "$ac_err" >&5
  6821.     rm -rf conftest*
  6822.     CPP=/lib/cpp
  6823.   fi
  6824. --- 776,782 ----
  6825.   if test -z "$ac_err"; then
  6826.     :
  6827.   else
  6828. !   /bin/echo "$ac_err" >&5
  6829.     rm -rf conftest*
  6830.     CPP=/lib/cpp
  6831.   fi
  6832. ***************
  6833. *** 786,797 ****
  6834.   fi
  6835.   fi
  6836.   CPP="$ac_cv_prog_CPP"
  6837. ! echo "$ac_t""$CPP" 1>&4
  6838.   
  6839.   # If we cannot run a trivial program, we must be cross compiling.
  6840. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  6841. ! if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  6842. !   echo $ac_n "(cached) $ac_c" 1>&4
  6843.   else
  6844.     if test "$cross_compiling" = yes; then
  6845.     ac_cv_cross=yes
  6846. --- 787,798 ----
  6847.   fi
  6848.   fi
  6849.   CPP="$ac_cv_prog_CPP"
  6850. ! /bin/echo "$ac_t""$CPP" 1>&4
  6851.   
  6852.   # If we cannot run a trivial program, we must be cross compiling.
  6853. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  6854. ! if eval "test \"`/bin/echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  6855. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6856.   else
  6857.     if test "$cross_compiling" = yes; then
  6858.     ac_cv_cross=yes
  6859. ***************
  6860. *** 811,821 ****
  6861.   rm -fr conftest*
  6862.   fi
  6863.   cross_compiling=$ac_cv_c_cross
  6864. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  6865.   
  6866. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  6867. ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  6868. !   echo $ac_n "(cached) $ac_c" 1>&4
  6869.   else
  6870.     cat > conftest.$ac_ext <<EOF
  6871.   #line 822 "configure"
  6872. --- 812,822 ----
  6873.   rm -fr conftest*
  6874.   fi
  6875.   cross_compiling=$ac_cv_c_cross
  6876. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  6877.   
  6878. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  6879. ! if eval "test \"`/bin/echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  6880. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6881.   else
  6882.     cat > conftest.$ac_ext <<EOF
  6883.   #line 822 "configure"
  6884. ***************
  6885. *** 831,837 ****
  6886.     rm -rf conftest*
  6887.     ac_cv_header_stdc=yes
  6888.   else
  6889. !   echo "$ac_err" >&5
  6890.     rm -rf conftest*
  6891.     ac_cv_header_stdc=no
  6892.   fi
  6893. --- 832,838 ----
  6894.     rm -rf conftest*
  6895.     ac_cv_header_stdc=yes
  6896.   else
  6897. !   /bin/echo "$ac_err" >&5
  6898.     rm -rf conftest*
  6899.     ac_cv_header_stdc=no
  6900.   fi
  6901. ***************
  6902. *** 900,906 ****
  6903.   rm -fr conftest*
  6904.   fi
  6905.   fi
  6906. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  6907.   if test $ac_cv_header_stdc = yes; then
  6908.     cat >> confdefs.h <<\EOF
  6909.   #define STDC_HEADERS 1
  6910. --- 901,907 ----
  6911.   rm -fr conftest*
  6912.   fi
  6913.   fi
  6914. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  6915.   if test $ac_cv_header_stdc = yes; then
  6916.     cat >> confdefs.h <<\EOF
  6917.   #define STDC_HEADERS 1
  6918. ***************
  6919. *** 908,919 ****
  6920.   
  6921.   fi
  6922.   
  6923. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  6924. ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  6925. !   echo $ac_n "(cached) $ac_c" 1>&4
  6926.   else
  6927.     if test "$cross_compiling" = yes; then
  6928. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  6929.   else
  6930.   cat > conftest.$ac_ext <<EOF
  6931.   #line 920 "configure"
  6932. --- 909,920 ----
  6933.   
  6934.   fi
  6935.   
  6936. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  6937. ! if eval "test \"`/bin/echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  6938. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6939.   else
  6940.     if test "$cross_compiling" = yes; then
  6941. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  6942.   else
  6943.   cat > conftest.$ac_ext <<EOF
  6944.   #line 920 "configure"
  6945. ***************
  6946. *** 931,937 ****
  6947.   fi
  6948.   rm -fr conftest*
  6949.   fi
  6950. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  6951.   if test $ac_cv_func_closedir_void = yes; then
  6952.     cat >> confdefs.h <<\EOF
  6953.   #define CLOSEDIR_VOID 1
  6954. --- 932,938 ----
  6955.   fi
  6956.   rm -fr conftest*
  6957.   fi
  6958. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  6959.   if test $ac_cv_func_closedir_void = yes; then
  6960.     cat >> confdefs.h <<\EOF
  6961.   #define CLOSEDIR_VOID 1
  6962. ***************
  6963. *** 942,951 ****
  6964.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  6965.                    string.h unistd.h
  6966.   do
  6967. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  6968. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  6969. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  6970. !   echo $ac_n "(cached) $ac_c" 1>&4
  6971.   else
  6972.     cat > conftest.$ac_ext <<EOF
  6973.   #line 952 "configure"
  6974. --- 943,952 ----
  6975.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  6976.                    string.h unistd.h
  6977.   do
  6978. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  6979. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  6980. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  6981. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  6982.   else
  6983.     cat > conftest.$ac_ext <<EOF
  6984.   #line 952 "configure"
  6985. ***************
  6986. *** 958,987 ****
  6987.     rm -rf conftest*
  6988.     eval "ac_cv_header_$ac_safe=yes"
  6989.   else
  6990. !   echo "$ac_err" >&5
  6991.     rm -rf conftest*
  6992.     eval "ac_cv_header_$ac_safe=no"
  6993.   fi
  6994.   rm -f conftest*
  6995.   fi
  6996. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  6997. !   echo "$ac_t""yes" 1>&4
  6998. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  6999.     cat >> confdefs.h <<EOF
  7000.   #define $ac_tr_hdr 1
  7001.   EOF
  7002.    
  7003.   else
  7004. !   echo "$ac_t""no" 1>&4
  7005.   fi
  7006.   done
  7007.   
  7008.   
  7009.   for ac_func in basename bcopy memmove putenv
  7010.   do
  7011. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  7012. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  7013. !   echo $ac_n "(cached) $ac_c" 1>&4
  7014.   else
  7015.     cat > conftest.$ac_ext <<EOF
  7016.   #line 988 "configure"
  7017. --- 959,988 ----
  7018.     rm -rf conftest*
  7019.     eval "ac_cv_header_$ac_safe=yes"
  7020.   else
  7021. !   /bin/echo "$ac_err" >&5
  7022.     rm -rf conftest*
  7023.     eval "ac_cv_header_$ac_safe=no"
  7024.   fi
  7025.   rm -f conftest*
  7026.   fi
  7027. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  7028. !   /bin/echo "$ac_t""yes" 1>&4
  7029. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  7030.     cat >> confdefs.h <<EOF
  7031.   #define $ac_tr_hdr 1
  7032.   EOF
  7033.    
  7034.   else
  7035. !   /bin/echo "$ac_t""no" 1>&4
  7036.   fi
  7037.   done
  7038.   
  7039.   
  7040.   for ac_func in basename bcopy memmove putenv
  7041.   do
  7042. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  7043. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  7044. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7045.   else
  7046.     cat > conftest.$ac_ext <<EOF
  7047.   #line 988 "configure"
  7048. ***************
  7049. *** 1014,1035 ****
  7050.   rm -f conftest*
  7051.   
  7052.   fi
  7053. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  7054. !   echo "$ac_t""yes" 1>&4
  7055. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  7056.     cat >> confdefs.h <<EOF
  7057.   #define $ac_tr_func 1
  7058.   EOF
  7059.    
  7060.   else
  7061. !   echo "$ac_t""no" 1>&4
  7062.   fi
  7063.   done
  7064.   
  7065.   
  7066. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  7067. ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  7068. !   echo $ac_n "(cached) $ac_c" 1>&4
  7069.   else
  7070.     cat > conftest.$ac_ext <<EOF
  7071.   #line 1036 "configure"
  7072. --- 1015,1036 ----
  7073.   rm -f conftest*
  7074.   
  7075.   fi
  7076. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  7077. !   /bin/echo "$ac_t""yes" 1>&4
  7078. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  7079.     cat >> confdefs.h <<EOF
  7080.   #define $ac_tr_func 1
  7081.   EOF
  7082.    
  7083.   else
  7084. !   /bin/echo "$ac_t""no" 1>&4
  7085.   fi
  7086.   done
  7087.   
  7088.   
  7089. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  7090. ! if eval "test \"`/bin/echo '${'ac_cv_c_const'+set}'`\" = set"; then
  7091. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7092.   else
  7093.     cat > conftest.$ac_ext <<EOF
  7094.   #line 1036 "configure"
  7095. ***************
  7096. *** 1092,1098 ****
  7097.   rm -f conftest*
  7098.   
  7099.   fi
  7100. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  7101.   if test $ac_cv_c_const = no; then
  7102.     cat >> confdefs.h <<\EOF
  7103.   #define const 
  7104. --- 1093,1099 ----
  7105.   rm -f conftest*
  7106.   
  7107.   fi
  7108. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  7109.   if test $ac_cv_c_const = no; then
  7110.     cat >> confdefs.h <<\EOF
  7111.   #define const 
  7112. ***************
  7113. *** 1103,1111 ****
  7114.   
  7115.   
  7116.   # This is a GNU libc invention.
  7117. ! echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  7118. ! if eval "test \"`echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  7119. !   echo $ac_n "(cached) $ac_c" 1>&4
  7120.   else
  7121.     cat > conftest.$ac_ext <<EOF
  7122.   #line 1112 "configure"
  7123. --- 1104,1112 ----
  7124.   
  7125.   
  7126.   # This is a GNU libc invention.
  7127. ! /bin/echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  7128. ! if eval "test \"`/bin/echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  7129. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7130.   else
  7131.     cat > conftest.$ac_ext <<EOF
  7132.   #line 1112 "configure"
  7133. ***************
  7134. *** 1126,1132 ****
  7135.   rm -f conftest*
  7136.   
  7137.   fi
  7138. ! echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  7139.   if test $kb_cv_var_program_inv_name = yes; then
  7140.     cat >> confdefs.h <<\EOF
  7141.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  7142. --- 1127,1133 ----
  7143.   rm -f conftest*
  7144.   
  7145.   fi
  7146. ! /bin/echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  7147.   if test $kb_cv_var_program_inv_name = yes; then
  7148.     cat >> confdefs.h <<\EOF
  7149.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  7150. ***************
  7151. *** 1139,1147 ****
  7152.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  7153.   # We don't actually need to run this if we don't have putenv, but it
  7154.   # doesn't hurt.
  7155. ! echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  7156. ! if eval "test \"`echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  7157. !   echo $ac_n "(cached) $ac_c" 1>&4
  7158.   else
  7159.     if test "$cross_compiling" = yes; then
  7160.     kb_cv_func_putenv_malloc=no
  7161. --- 1140,1148 ----
  7162.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  7163.   # We don't actually need to run this if we don't have putenv, but it
  7164.   # doesn't hurt.
  7165. ! /bin/echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  7166. ! if eval "test \"`/bin/echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  7167. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7168.   else
  7169.     if test "$cross_compiling" = yes; then
  7170.     kb_cv_func_putenv_malloc=no
  7171. ***************
  7172. *** 1209,1215 ****
  7173.   fi
  7174.   rm -fr conftest*
  7175.   fi
  7176. ! echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  7177.   if test $kb_cv_func_putenv_malloc = yes; then
  7178.     cat >> confdefs.h <<\EOF
  7179.   #define SMART_PUTENV 1
  7180. --- 1210,1216 ----
  7181.   fi
  7182.   rm -fr conftest*
  7183.   fi
  7184. ! /bin/echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  7185.   if test $kb_cv_func_putenv_malloc = yes; then
  7186.     cat >> confdefs.h <<\EOF
  7187.   #define SMART_PUTENV 1
  7188. ***************
  7189. *** 1222,1230 ****
  7190.   do
  7191.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7192.   set dummy $ac_prog; ac_word=$2
  7193. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  7194. ! if eval "test \"`echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then
  7195. !   echo $ac_n "(cached) $ac_c" 1>&4
  7196.   else
  7197.     if test -n "$YACC"; then
  7198.     ac_cv_prog_YACC="$YACC" # Let the user override the test.
  7199. --- 1223,1231 ----
  7200.   do
  7201.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7202.   set dummy $ac_prog; ac_word=$2
  7203. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  7204. ! if eval "test \"`/bin/echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then
  7205. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7206.   else
  7207.     if test -n "$YACC"; then
  7208.     ac_cv_prog_YACC="$YACC" # Let the user override the test.
  7209. ***************
  7210. *** 1242,1250 ****
  7211.   fi
  7212.   YACC="$ac_cv_prog_YACC"
  7213.   if test -n "$YACC"; then
  7214. !   echo "$ac_t""$YACC" 1>&4
  7215.   else
  7216. !   echo "$ac_t""no" 1>&4
  7217.   fi
  7218.   
  7219.   test -n "$YACC" && break
  7220. --- 1243,1251 ----
  7221.   fi
  7222.   YACC="$ac_cv_prog_YACC"
  7223.   if test -n "$YACC"; then
  7224. !   /bin/echo "$ac_t""$YACC" 1>&4
  7225.   else
  7226. !   /bin/echo "$ac_t""no" 1>&4
  7227.   fi
  7228.   
  7229.   test -n "$YACC" && break
  7230. ***************
  7231. *** 1253,1261 ****
  7232.   
  7233.   # Extract the first word of "flex", so it can be a program name with args.
  7234.   set dummy flex; ac_word=$2
  7235. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  7236. ! if eval "test \"`echo '${'ac_cv_prog_LEX'+set}'`\" = set"; then
  7237. !   echo $ac_n "(cached) $ac_c" 1>&4
  7238.   else
  7239.     if test -n "$LEX"; then
  7240.     ac_cv_prog_LEX="$LEX" # Let the user override the test.
  7241. --- 1254,1262 ----
  7242.   
  7243.   # Extract the first word of "flex", so it can be a program name with args.
  7244.   set dummy flex; ac_word=$2
  7245. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  7246. ! if eval "test \"`/bin/echo '${'ac_cv_prog_LEX'+set}'`\" = set"; then
  7247. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7248.   else
  7249.     if test -n "$LEX"; then
  7250.     ac_cv_prog_LEX="$LEX" # Let the user override the test.
  7251. ***************
  7252. *** 1274,1282 ****
  7253.   fi
  7254.   LEX="$ac_cv_prog_LEX"
  7255.   if test -n "$LEX"; then
  7256. !   echo "$ac_t""$LEX" 1>&4
  7257.   else
  7258. !   echo "$ac_t""no" 1>&4
  7259.   fi
  7260.   
  7261.   if test -z "$LEXLIB"
  7262. --- 1275,1283 ----
  7263.   fi
  7264.   LEX="$ac_cv_prog_LEX"
  7265.   if test -n "$LEX"; then
  7266. !   /bin/echo "$ac_t""$LEX" 1>&4
  7267.   else
  7268. !   /bin/echo "$ac_t""no" 1>&4
  7269.   fi
  7270.   
  7271.   if test -z "$LEXLIB"
  7272. ***************
  7273. *** 1285,1293 ****
  7274.     flex*) ac_lib=fl ;;
  7275.     *) ac_lib=l ;;
  7276.     esac
  7277. !   echo $ac_n "checking for -l$ac_lib""... $ac_c" 1>&4
  7278. ! if eval "test \"`echo '${'ac_cv_lib_$ac_lib'+set}'`\" = set"; then
  7279. !   echo $ac_n "(cached) $ac_c" 1>&4
  7280.   else
  7281.     ac_save_LIBS="$LIBS"
  7282.   LIBS="$LIBS -l$ac_lib "
  7283. --- 1286,1294 ----
  7284.     flex*) ac_lib=fl ;;
  7285.     *) ac_lib=l ;;
  7286.     esac
  7287. !   /bin/echo $ac_n "checking for -l$ac_lib""... $ac_c" 1>&4
  7288. ! if eval "test \"`/bin/echo '${'ac_cv_lib_$ac_lib'+set}'`\" = set"; then
  7289. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7290.   else
  7291.     ac_save_LIBS="$LIBS"
  7292.   LIBS="$LIBS -l$ac_lib "
  7293. ***************
  7294. *** 1311,1349 ****
  7295.   LIBS="$ac_save_LIBS"
  7296.   
  7297.   fi
  7298. ! if eval "test \"`echo '$ac_cv_lib_'$ac_lib`\" = yes"; then
  7299. !   echo "$ac_t""yes" 1>&4
  7300.     LEXLIB="-l$ac_lib"
  7301.   else
  7302. !   echo "$ac_t""no" 1>&4
  7303.   fi
  7304.   
  7305.   fi
  7306.   
  7307. ! echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
  7308. ! if eval "test \"`echo '${'ac_cv_prog_LN_S'+set}'`\" = set"; then
  7309. !   echo $ac_n "(cached) $ac_c" 1>&4
  7310.   else
  7311.     rm -f conftestdata
  7312.   if ln -s X conftestdata 2>/dev/null
  7313.   then
  7314.     rm -f conftestdata
  7315. !   ac_cv_prog_LN_S="ln -s"
  7316.   else
  7317. !   ac_cv_prog_LN_S=ln
  7318.   fi
  7319.   fi
  7320.   LN_S="$ac_cv_prog_LN_S"
  7321. ! if test "$ac_cv_prog_LN_S" = "ln -s"; then
  7322. !   echo "$ac_t""yes" 1>&4
  7323.   else
  7324. !   echo "$ac_t""no" 1>&4
  7325.   fi
  7326.   
  7327.   
  7328. ! echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
  7329. ! if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then
  7330. !   echo $ac_n "(cached) $ac_c" 1>&4
  7331.   else
  7332.     cat > conftest.$ac_ext <<EOF
  7333.   #line 1350 "configure"
  7334. --- 1312,1350 ----
  7335.   LIBS="$ac_save_LIBS"
  7336.   
  7337.   fi
  7338. ! if eval "test \"`/bin/echo '$ac_cv_lib_'$ac_lib`\" = yes"; then
  7339. !   /bin/echo "$ac_t""yes" 1>&4
  7340.     LEXLIB="-l$ac_lib"
  7341.   else
  7342. !   /bin/echo "$ac_t""no" 1>&4
  7343.   fi
  7344.   
  7345.   fi
  7346.   
  7347. ! /bin/echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
  7348. ! if eval "test \"`/bin/echo '${'ac_cv_prog_LN_S'+set}'`\" = set"; then
  7349. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7350.   else
  7351.     rm -f conftestdata
  7352.   if ln -s X conftestdata 2>/dev/null
  7353.   then
  7354.     rm -f conftestdata
  7355. !   ac_cv_prog_LN_S="cp -p"
  7356.   else
  7357. !   ac_cv_prog_LN_S="cp -p"
  7358.   fi
  7359.   fi
  7360.   LN_S="$ac_cv_prog_LN_S"
  7361. ! if test "$ac_cv_prog_LN_S" = "cp -p"; then
  7362. !   /bin/echo "$ac_t""yes" 1>&4
  7363.   else
  7364. !   /bin/echo "$ac_t""no" 1>&4
  7365.   fi
  7366.   
  7367.   
  7368. ! /bin/echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
  7369. ! if eval "test \"`/bin/echo '${'ac_cv_type_signal'+set}'`\" = set"; then
  7370. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7371.   else
  7372.     cat > conftest.$ac_ext <<EOF
  7373.   #line 1350 "configure"
  7374. ***************
  7375. *** 1369,1384 ****
  7376.   rm -f conftest*
  7377.   
  7378.   fi
  7379. ! echo "$ac_t""$ac_cv_type_signal" 1>&4
  7380.   cat >> confdefs.h <<EOF
  7381.   #define RETSIGTYPE $ac_cv_type_signal
  7382.   EOF
  7383.   
  7384.   
  7385.   
  7386. ! echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&4
  7387. ! if eval "test \"`echo '${'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  7388. !   echo $ac_n "(cached) $ac_c" 1>&4
  7389.   else
  7390.     if test "$GCC" = yes; then
  7391.     # GCC predefines this symbol on systems where it applies.
  7392. --- 1370,1385 ----
  7393.   rm -f conftest*
  7394.   
  7395.   fi
  7396. ! /bin/echo "$ac_t""$ac_cv_type_signal" 1>&4
  7397.   cat >> confdefs.h <<EOF
  7398.   #define RETSIGTYPE $ac_cv_type_signal
  7399.   EOF
  7400.   
  7401.   
  7402.   
  7403. ! /bin/echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&4
  7404. ! if eval "test \"`/bin/echo '${'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  7405. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7406.   else
  7407.     if test "$GCC" = yes; then
  7408.     # GCC predefines this symbol on systems where it applies.
  7409. ***************
  7410. *** 1402,1408 ****
  7411.   
  7412.   else
  7413.   if test "$cross_compiling" = yes; then
  7414. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7415.   else
  7416.   cat > conftest.$ac_ext <<EOF
  7417.   #line 1409 "configure"
  7418. --- 1403,1409 ----
  7419.   
  7420.   else
  7421.   if test "$cross_compiling" = yes; then
  7422. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7423.   else
  7424.   cat > conftest.$ac_ext <<EOF
  7425.   #line 1409 "configure"
  7426. ***************
  7427. *** 1425,1431 ****
  7428.   rm -fr conftest*
  7429.   fi
  7430.   fi
  7431. ! echo "$ac_t""$ac_cv_c_char_unsigned" 1>&4
  7432.   if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  7433.     cat >> confdefs.h <<\EOF
  7434.   #define __CHAR_UNSIGNED__ 1
  7435. --- 1426,1432 ----
  7436.   rm -fr conftest*
  7437.   fi
  7438.   fi
  7439. ! /bin/echo "$ac_t""$ac_cv_c_char_unsigned" 1>&4
  7440.   if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  7441.     cat >> confdefs.h <<\EOF
  7442.   #define __CHAR_UNSIGNED__ 1
  7443. ***************
  7444. *** 1433,1441 ****
  7445.   
  7446.   fi
  7447.   
  7448. ! echo $ac_n "checking whether long int is 64 bits""... $ac_c" 1>&4
  7449.   if test "$cross_compiling" = yes; then
  7450. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7451.   else
  7452.   cat > conftest.$ac_ext <<EOF
  7453.   #line 1442 "configure"
  7454. --- 1434,1442 ----
  7455.   
  7456.   fi
  7457.   
  7458. ! /bin/echo $ac_n "checking whether long int is 64 bits""... $ac_c" 1>&4
  7459.   if test "$cross_compiling" = yes; then
  7460. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7461.   else
  7462.   cat > conftest.$ac_ext <<EOF
  7463.   #line 1442 "configure"
  7464. ***************
  7465. *** 1444,1466 ****
  7466.   EOF
  7467.   eval $ac_link
  7468.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  7469. !   echo "$ac_t""yes" 1>&4
  7470.    cat >> confdefs.h <<\EOF
  7471.   #define LONG_64_BITS 1
  7472.   EOF
  7473.   
  7474.   else
  7475. !   echo "$ac_t""no" 1>&4
  7476.   fi
  7477.   fi
  7478.   rm -fr conftest*
  7479.   
  7480. ! echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&4
  7481. ! if eval "test \"`echo '${'ac_cv_c_bigendian'+set}'`\" = set"; then
  7482. !   echo $ac_n "(cached) $ac_c" 1>&4
  7483.   else
  7484.     if test "$cross_compiling" = yes; then
  7485. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7486.   else
  7487.   cat > conftest.$ac_ext <<EOF
  7488.   #line 1467 "configure"
  7489. --- 1445,1467 ----
  7490.   EOF
  7491.   eval $ac_link
  7492.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  7493. !   /bin/echo "$ac_t""yes" 1>&4
  7494.    cat >> confdefs.h <<\EOF
  7495.   #define LONG_64_BITS 1
  7496.   EOF
  7497.   
  7498.   else
  7499. !   /bin/echo "$ac_t""no" 1>&4
  7500.   fi
  7501.   fi
  7502.   rm -fr conftest*
  7503.   
  7504. ! /bin/echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&4
  7505. ! if eval "test \"`/bin/echo '${'ac_cv_c_bigendian'+set}'`\" = set"; then
  7506. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7507.   else
  7508.     if test "$cross_compiling" = yes; then
  7509. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  7510.   else
  7511.   cat > conftest.$ac_ext <<EOF
  7512.   #line 1467 "configure"
  7513. ***************
  7514. *** 1485,1491 ****
  7515.   fi
  7516.   rm -fr conftest*
  7517.   fi
  7518. ! echo "$ac_t""$ac_cv_c_bigendian" 1>&4
  7519.   if test $ac_cv_c_bigendian = yes; then
  7520.     cat >> confdefs.h <<\EOF
  7521.   #define WORDS_BIGENDIAN 1
  7522. --- 1486,1492 ----
  7523.   fi
  7524.   rm -fr conftest*
  7525.   fi
  7526. ! /bin/echo "$ac_t""$ac_cv_c_bigendian" 1>&4
  7527.   if test $ac_cv_c_bigendian = yes; then
  7528.     cat >> confdefs.h <<\EOF
  7529.   #define WORDS_BIGENDIAN 1
  7530. ***************
  7531. *** 1494,1524 ****
  7532.   fi
  7533.   
  7534.   
  7535. ! if eval "test \"`echo '${'ac_cv_prog_lex_output_root'+set}'`\" = set"; then
  7536. !   echo $ac_n "(cached) $ac_c" 1>&4
  7537.   else
  7538.     # The minimal lex program is just a single line: %%.  But some broken lexes
  7539.   # (Solaris, I think it was) want two %% lines, so accommodate them.
  7540. ! echo '%%
  7541.   %%' | $LEX
  7542.   if test -f lex.yy.c; then
  7543.     ac_cv_prog_lex_output_root=lex.yy
  7544.   elif test -f lexyy.c; then
  7545.     ac_cv_prog_lex_output_root=lexyy
  7546.   else
  7547. !   { echo "configure: error: cannot find output from $LEX, giving up" 1>&2; exit 1; }
  7548.   fi
  7549.   fi
  7550.   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_output_root
  7551. ! echo $ac_n "checking for yytext declaration""... $ac_c" 1>&4
  7552. ! if eval "test \"`echo '${'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
  7553. !   echo $ac_n "(cached) $ac_c" 1>&4
  7554.   else
  7555.     # POSIX says lex can declare yytext either as a pointer or an array; the
  7556.   # default is implementation-dependent. Figure out which it is, since
  7557.   # not all implementations provide the %pointer and %array declarations.
  7558.   ac_cv_prog_lex_yytext_pointer=no
  7559. ! echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
  7560.   ac_save_LIBS="$LIBS"
  7561.   LIBS="$LIBS $LEXLIB"
  7562.   cat > conftest.$ac_ext <<EOF
  7563. --- 1495,1525 ----
  7564.   fi
  7565.   
  7566.   
  7567. ! if eval "test \"`/bin/echo '${'ac_cv_prog_lex_output_root'+set}'`\" = set"; then
  7568. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7569.   else
  7570.     # The minimal lex program is just a single line: %%.  But some broken lexes
  7571.   # (Solaris, I think it was) want two %% lines, so accommodate them.
  7572. ! /bin/echo '%%
  7573.   %%' | $LEX
  7574.   if test -f lex.yy.c; then
  7575.     ac_cv_prog_lex_output_root=lex.yy
  7576.   elif test -f lexyy.c; then
  7577.     ac_cv_prog_lex_output_root=lexyy
  7578.   else
  7579. !   { /bin/echo "configure: error: cannot find output from $LEX, giving up" 1>&2; exit 1; }
  7580.   fi
  7581.   fi
  7582.   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_output_root
  7583. ! /bin/echo $ac_n "checking for yytext declaration""... $ac_c" 1>&4
  7584. ! if eval "test \"`/bin/echo '${'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
  7585. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7586.   else
  7587.     # POSIX says lex can declare yytext either as a pointer or an array; the
  7588.   # default is implementation-dependent. Figure out which it is, since
  7589.   # not all implementations provide the %pointer and %array declarations.
  7590.   ac_cv_prog_lex_yytext_pointer=no
  7591. ! /bin/echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
  7592.   ac_save_LIBS="$LIBS"
  7593.   LIBS="$LIBS $LEXLIB"
  7594.   cat > conftest.$ac_ext <<EOF
  7595. ***************
  7596. *** 1539,1545 ****
  7597.   LIBS="$ac_save_LIBS"
  7598.   rm -f "${LEX_OUTPUT_ROOT}.c"
  7599.   fi
  7600. ! echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&4
  7601.   if test $ac_cv_prog_lex_yytext_pointer = yes; then
  7602.     cat >> confdefs.h <<\EOF
  7603.   #define YYTEXT_POINTER 1
  7604. --- 1540,1546 ----
  7605.   LIBS="$ac_save_LIBS"
  7606.   rm -f "${LEX_OUTPUT_ROOT}.c"
  7607.   fi
  7608. ! /bin/echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&4
  7609.   if test $ac_cv_prog_lex_yytext_pointer = yes; then
  7610.     cat >> confdefs.h <<\EOF
  7611.   #define YYTEXT_POINTER 1
  7612. ***************
  7613. *** 1550,1556 ****
  7614.   
  7615.   
  7616.   
  7617. ! echo $ac_n "checking for sunwindow libraries""... $ac_c" 1>&4
  7618.   cat > conftest.$ac_ext <<EOF
  7619.   #line 1556 "configure"
  7620.   #include "confdefs.h"
  7621. --- 1551,1557 ----
  7622.   
  7623.   
  7624.   
  7625. ! /bin/echo $ac_n "checking for sunwindow libraries""... $ac_c" 1>&4
  7626.   cat > conftest.$ac_ext <<EOF
  7627.   #line 1556 "configure"
  7628.   #include "confdefs.h"
  7629. ***************
  7630. *** 1570,1578 ****
  7631.   fi
  7632.   rm -f conftest*
  7633.   
  7634. ! echo "$ac_t""$SUNWIN" 1>&4
  7635.   
  7636. ! echo $ac_n "checking for xview libraries""... $ac_c" 1>&4
  7637.   cat > conftest.$ac_ext <<EOF
  7638.   #line 1578 "configure"
  7639.   #include "confdefs.h"
  7640. --- 1571,1579 ----
  7641.   fi
  7642.   rm -f conftest*
  7643.   
  7644. ! /bin/echo "$ac_t""$SUNWIN" 1>&4
  7645.   
  7646. ! /bin/echo $ac_n "checking for xview libraries""... $ac_c" 1>&4
  7647.   cat > conftest.$ac_ext <<EOF
  7648.   #line 1578 "configure"
  7649.   #include "confdefs.h"
  7650. ***************
  7651. *** 1592,1600 ****
  7652.   fi
  7653.   rm -f conftest*
  7654.   
  7655. ! echo "$ac_t""$XVIEWWIN" 1>&4
  7656.   
  7657. ! echo $ac_n "checking for X11 libraries""... $ac_c" 1>&4
  7658.   cat > conftest.$ac_ext <<EOF
  7659.   #line 1600 "configure"
  7660.   #include "confdefs.h"
  7661. --- 1593,1601 ----
  7662.   fi
  7663.   rm -f conftest*
  7664.   
  7665. ! /bin/echo "$ac_t""$XVIEWWIN" 1>&4
  7666.   
  7667. ! /bin/echo $ac_n "checking for X11 libraries""... $ac_c" 1>&4
  7668.   cat > conftest.$ac_ext <<EOF
  7669.   #line 1600 "configure"
  7670.   #include "confdefs.h"
  7671. ***************
  7672. *** 1607,1622 ****
  7673.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7674.     egrep "yes" >/dev/null 2>&1; then
  7675.     rm -rf conftest*
  7676. !   X11WIN=yes
  7677.   else
  7678.     rm -rf conftest*
  7679.     X11WIN=no
  7680.   fi
  7681.   rm -f conftest*
  7682.   
  7683. ! echo "$ac_t""$X11WIN" 1>&4
  7684.   
  7685. ! echo $ac_n "checking for X10 libraries""... $ac_c" 1>&4
  7686.   cat > conftest.$ac_ext <<EOF
  7687.   #line 1622 "configure"
  7688.   #include "confdefs.h"
  7689. --- 1608,1625 ----
  7690.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7691.     egrep "yes" >/dev/null 2>&1; then
  7692.     rm -rf conftest*
  7693. ! #  Force off.  Gets set on AmigaDOS for some reason...
  7694. ! #  X11WIN=yes
  7695. !   X11WIN=no
  7696.   else
  7697.     rm -rf conftest*
  7698.     X11WIN=no
  7699.   fi
  7700.   rm -f conftest*
  7701.   
  7702. ! /bin/echo "$ac_t""$X11WIN" 1>&4
  7703.   
  7704. ! /bin/echo $ac_n "checking for X10 libraries""... $ac_c" 1>&4
  7705.   cat > conftest.$ac_ext <<EOF
  7706.   #line 1622 "configure"
  7707.   #include "confdefs.h"
  7708. ***************
  7709. *** 1636,1642 ****
  7710.   fi
  7711.   rm -f conftest*
  7712.   
  7713. ! echo "$ac_t""$X10WIN" 1>&4
  7714.   
  7715.   if test $XVIEWWIN = yes; then
  7716.     wlibs="-lxview -lolgx -lX11 $wlibs"
  7717. --- 1639,1645 ----
  7718.   fi
  7719.   rm -f conftest*
  7720.   
  7721. ! /bin/echo "$ac_t""$X10WIN" 1>&4
  7722.   
  7723.   if test $XVIEWWIN = yes; then
  7724.     wlibs="-lxview -lolgx -lX11 $wlibs"
  7725. ***************
  7726. *** 1647,1653 ****
  7727.   # paths, otherwise set no_x=yes.
  7728.   # Uses ac_ vars as temps to allow command line to override cache and checks.
  7729.   # --without-x overrides everything else, but does not touch the cache.
  7730. ! echo $ac_n "checking for X""... $ac_c" 1>&4
  7731.   
  7732.   # Check whether --with-x or --without-x was given.
  7733.   withval="$with_x"
  7734. --- 1650,1656 ----
  7735.   # paths, otherwise set no_x=yes.
  7736.   # Uses ac_ vars as temps to allow command line to override cache and checks.
  7737.   # --without-x overrides everything else, but does not touch the cache.
  7738. ! /bin/echo $ac_n "checking for X""... $ac_c" 1>&4
  7739.   
  7740.   # Check whether --with-x or --without-x was given.
  7741.   withval="$with_x"
  7742. ***************
  7743. *** 1661,1668 ****
  7744.     if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  7745.       no_x=
  7746.     else
  7747. ! if eval "test \"`echo '${'ac_cv_path_x'+set}'`\" = set"; then
  7748. !   echo $ac_n "(cached) $ac_c" 1>&4
  7749.   else
  7750.     # One or both of the vars are not set, and there is no cached value.
  7751.   no_x=yes
  7752. --- 1664,1671 ----
  7753.     if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  7754.       no_x=
  7755.     else
  7756. ! if eval "test \"`/bin/echo '${'ac_cv_path_x'+set}'`\" = set"; then
  7757. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  7758.   else
  7759.     # One or both of the vars are not set, and there is no cached value.
  7760.   no_x=yes
  7761. ***************
  7762. *** 1672,1678 ****
  7763.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  7764.     cat > Imakefile <<'EOF'
  7765.   acfindx:
  7766. !     @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  7767.   EOF
  7768.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  7769.       no_x=
  7770. --- 1675,1681 ----
  7771.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  7772.     cat > Imakefile <<'EOF'
  7773.   acfindx:
  7774. !     @/bin/echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  7775.   EOF
  7776.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  7777.       no_x=
  7778. ***************
  7779. *** 1684,1694 ****
  7780.         ac_im_usrlibdir=$ac_im_libdir
  7781.       fi
  7782.       case "$ac_im_incroot" in
  7783. !     /usr/include) ;;
  7784.       *) ac_x_includes="$ac_im_incroot" ;;
  7785.       esac
  7786.       case "$ac_im_usrlibdir" in
  7787. !     /usr/lib | /lib) ;;
  7788.       *) ac_x_libraries="$ac_im_usrlibdir" ;;
  7789.       esac
  7790.     fi
  7791. --- 1687,1697 ----
  7792.         ac_im_usrlibdir=$ac_im_libdir
  7793.       fi
  7794.       case "$ac_im_incroot" in
  7795. !     /gnu/include) ;;
  7796.       *) ac_x_includes="$ac_im_incroot" ;;
  7797.       esac
  7798.       case "$ac_im_usrlibdir" in
  7799. !     /gnu/lib | /lib) ;;
  7800.       *) ac_x_libraries="$ac_im_usrlibdir" ;;
  7801.       esac
  7802.     fi
  7803. ***************
  7804. *** 1711,1753 ****
  7805.     rm -rf conftest*
  7806.     no_x= ac_x_includes=
  7807.   else
  7808. !   echo "$ac_err" >&5
  7809.     rm -rf conftest*
  7810.       for ac_dir in               \
  7811. !     /usr/X11R6/include        \
  7812. !     /usr/X11R5/include        \
  7813. !     /usr/X11R4/include        \
  7814.                                 \
  7815. !     /usr/include/X11R6        \
  7816. !     /usr/include/X11R5        \
  7817. !     /usr/include/X11R4        \
  7818.                                 \
  7819. !     /usr/local/X11R6/include  \
  7820. !     /usr/local/X11R5/include  \
  7821. !     /usr/local/X11R4/include  \
  7822.                                 \
  7823. !     /usr/local/include/X11R6  \
  7824. !     /usr/local/include/X11R5  \
  7825. !     /usr/local/include/X11R4  \
  7826.                                 \
  7827. !     /usr/X11/include          \
  7828. !     /usr/include/X11          \
  7829. !     /usr/local/X11/include    \
  7830. !     /usr/local/include/X11    \
  7831.                                 \
  7832. !     /usr/X386/include         \
  7833. !     /usr/x386/include         \
  7834. !     /usr/XFree86/include/X11  \
  7835.                                 \
  7836. !     /usr/include              \
  7837. !     /usr/local/include        \
  7838. !     /usr/unsupported/include  \
  7839. !     /usr/athena/include       \
  7840. !     /usr/local/x11r5/include  \
  7841. !     /usr/lpp/Xamples/include  \
  7842.                                 \
  7843. !     /usr/openwin/include      \
  7844. !     /usr/openwin/share/include \
  7845.       ; \
  7846.     do
  7847.       if test -r "$ac_dir/$x_direct_test_include"; then
  7848. --- 1714,1756 ----
  7849.     rm -rf conftest*
  7850.     no_x= ac_x_includes=
  7851.   else
  7852. !   /bin/echo "$ac_err" >&5
  7853.     rm -rf conftest*
  7854.       for ac_dir in               \
  7855. !     /gnu/X11R6/include        \
  7856. !     /gnu/X11R5/include        \
  7857. !     /gnu/X11R4/include        \
  7858.                                 \
  7859. !     /gnu/include/X11R6        \
  7860. !     /gnu/include/X11R5        \
  7861. !     /gnu/include/X11R4        \
  7862.                                 \
  7863. !     /gnu/local/X11R6/include  \
  7864. !     /gnu/local/X11R5/include  \
  7865. !     /gnu/local/X11R4/include  \
  7866.                                 \
  7867. !     /gnu/local/include/X11R6  \
  7868. !     /gnu/local/include/X11R5  \
  7869. !     /gnu/local/include/X11R4  \
  7870.                                 \
  7871. !     /gnu/X11/include          \
  7872. !     /gnu/include/X11          \
  7873. !     /gnu/local/X11/include    \
  7874. !     /gnu/local/include/X11    \
  7875.                                 \
  7876. !     /gnu/X386/include         \
  7877. !     /gnu/x386/include         \
  7878. !     /gnu/XFree86/include/X11  \
  7879.                                 \
  7880. !     /gnu/include              \
  7881. !     /gnu/local/include        \
  7882. !     /gnu/unsupported/include  \
  7883. !     /gnu/athena/include       \
  7884. !     /gnu/local/x11r5/include  \
  7885. !     /gnu/lpp/Xamples/include  \
  7886.                                 \
  7887. !     /gnu/openwin/include      \
  7888. !     /gnu/openwin/share/include \
  7889.       ; \
  7890.     do
  7891.       if test -r "$ac_dir/$x_direct_test_include"; then
  7892. ***************
  7893. *** 1779,1819 ****
  7894.     rm -rf conftest*
  7895.     LIBS="$ac_save_LIBS"
  7896.   # First see if replacing the include by lib works.
  7897. ! for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
  7898. !     /usr/X11R6/lib        \
  7899. !     /usr/X11R5/lib        \
  7900. !     /usr/X11R4/lib        \
  7901.                             \
  7902. !     /usr/lib/X11R6        \
  7903. !     /usr/lib/X11R5        \
  7904. !     /usr/lib/X11R4        \
  7905.                             \
  7906. !     /usr/local/X11R6/lib  \
  7907. !     /usr/local/X11R5/lib  \
  7908. !     /usr/local/X11R4/lib  \
  7909.                             \
  7910. !     /usr/local/lib/X11R6  \
  7911. !     /usr/local/lib/X11R5  \
  7912. !     /usr/local/lib/X11R4  \
  7913.                             \
  7914. !     /usr/X11/lib          \
  7915. !     /usr/lib/X11          \
  7916. !     /usr/local/X11/lib    \
  7917. !     /usr/local/lib/X11    \
  7918.                             \
  7919. !     /usr/X386/lib         \
  7920. !     /usr/x386/lib         \
  7921. !     /usr/XFree86/lib/X11  \
  7922.                             \
  7923. !     /usr/lib              \
  7924. !     /usr/local/lib        \
  7925. !     /usr/unsupported/lib  \
  7926. !     /usr/athena/lib       \
  7927. !     /usr/local/x11r5/lib  \
  7928. !     /usr/lpp/Xamples/lib  \
  7929.                             \
  7930. !     /usr/openwin/lib      \
  7931. !     /usr/openwin/share/lib \
  7932.       ; \
  7933.   do
  7934.     for ac_extension in a so sl; do
  7935. --- 1782,1822 ----
  7936.     rm -rf conftest*
  7937.     LIBS="$ac_save_LIBS"
  7938.   # First see if replacing the include by lib works.
  7939. ! for ac_dir in `/bin/echo "$ac_x_includes" | sed s/include/lib/` \
  7940. !     /gnu/X11R6/lib        \
  7941. !     /gnu/X11R5/lib        \
  7942. !     /gnu/X11R4/lib        \
  7943.                             \
  7944. !     /gnu/lib/X11R6        \
  7945. !     /gnu/lib/X11R5        \
  7946. !     /gnu/lib/X11R4        \
  7947.                             \
  7948. !     /gnu/local/X11R6/lib  \
  7949. !     /gnu/local/X11R5/lib  \
  7950. !     /gnu/local/X11R4/lib  \
  7951.                             \
  7952. !     /gnu/local/lib/X11R6  \
  7953. !     /gnu/local/lib/X11R5  \
  7954. !     /gnu/local/lib/X11R4  \
  7955.                             \
  7956. !     /gnu/X11/lib          \
  7957. !     /gnu/lib/X11          \
  7958. !     /gnu/local/X11/lib    \
  7959. !     /gnu/local/lib/X11    \
  7960.                             \
  7961. !     /gnu/X386/lib         \
  7962. !     /gnu/x386/lib         \
  7963. !     /gnu/XFree86/lib/X11  \
  7964.                             \
  7965. !     /gnu/lib              \
  7966. !     /gnu/local/lib        \
  7967. !     /gnu/unsupported/lib  \
  7968. !     /gnu/athena/lib       \
  7969. !     /gnu/local/x11r5/lib  \
  7970. !     /gnu/lpp/Xamples/lib  \
  7971.                             \
  7972. !     /gnu/openwin/lib      \
  7973. !     /gnu/openwin/share/lib \
  7974.       ; \
  7975.   do
  7976.     for ac_extension in a so sl; do
  7977. ***************
  7978. *** 1838,1849 ****
  7979.   fi # $with_x != no
  7980.   
  7981.   if test "$no_x" = yes; then
  7982. !   echo "$ac_t""no" 1>&4
  7983.   else
  7984.     test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  7985.     test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  7986.     ac_cv_path_x="no_x= ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  7987. !   echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&4
  7988.   fi
  7989.   
  7990.     if test "$no_x" = yes; then 
  7991. --- 1841,1852 ----
  7992.   fi # $with_x != no
  7993.   
  7994.   if test "$no_x" = yes; then
  7995. !   /bin/echo "$ac_t""no" 1>&4
  7996.   else
  7997.     test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  7998.     test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  7999.     ac_cv_path_x="no_x= ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  8000. !   /bin/echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&4
  8001.   fi
  8002.   
  8003.     if test "$no_x" = yes; then 
  8004. ***************
  8005. *** 1875,1883 ****
  8006.     # These have to be linked with before -lX11, unlike the other
  8007.     # libraries we check for below, so use a different variable.
  8008.     #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
  8009. !   echo $ac_n "checking for -lICE""... $ac_c" 1>&4
  8010. ! if eval "test \"`echo '${'ac_cv_lib_ICE'+set}'`\" = set"; then
  8011. !   echo $ac_n "(cached) $ac_c" 1>&4
  8012.   else
  8013.     ac_save_LIBS="$LIBS"
  8014.   LIBS="$LIBS -lICE "
  8015. --- 1878,1886 ----
  8016.     # These have to be linked with before -lX11, unlike the other
  8017.     # libraries we check for below, so use a different variable.
  8018.     #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
  8019. !   /bin/echo $ac_n "checking for -lICE""... $ac_c" 1>&4
  8020. ! if eval "test \"`/bin/echo '${'ac_cv_lib_ICE'+set}'`\" = set"; then
  8021. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  8022.   else
  8023.     ac_save_LIBS="$LIBS"
  8024.   LIBS="$LIBS -lICE "
  8025. ***************
  8026. *** 1901,1911 ****
  8027.   LIBS="$ac_save_LIBS"
  8028.   
  8029.   fi
  8030. ! if eval "test \"`echo '$ac_cv_lib_'ICE`\" = yes"; then
  8031. !   echo "$ac_t""yes" 1>&4
  8032.     X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  8033.   else
  8034. !   echo "$ac_t""no" 1>&4
  8035.   fi
  8036.   
  8037.     LDFLAGS="$ac_save_LDFLAGS"
  8038. --- 1904,1914 ----
  8039.   LIBS="$ac_save_LIBS"
  8040.   
  8041.   fi
  8042. ! if eval "test \"`/bin/echo '$ac_cv_lib_'ICE`\" = yes"; then
  8043. !   /bin/echo "$ac_t""yes" 1>&4
  8044.     X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  8045.   else
  8046. !   /bin/echo "$ac_t""no" 1>&4
  8047.   fi
  8048.   
  8049.     LDFLAGS="$ac_save_LDFLAGS"
  8050. ***************
  8051. *** 1918,1926 ****
  8052.       # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
  8053.       # libraries were built with DECnet support.  And karl@cs.umb.edu says
  8054.       # the Alpha needs dnet_stub (dnet does not exist).
  8055. !     echo $ac_n "checking for -ldnet""... $ac_c" 1>&4
  8056. ! if eval "test \"`echo '${'ac_cv_lib_dnet'+set}'`\" = set"; then
  8057. !   echo $ac_n "(cached) $ac_c" 1>&4
  8058.   else
  8059.     ac_save_LIBS="$LIBS"
  8060.   LIBS="$LIBS -ldnet "
  8061. --- 1921,1929 ----
  8062.       # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
  8063.       # libraries were built with DECnet support.  And karl@cs.umb.edu says
  8064.       # the Alpha needs dnet_stub (dnet does not exist).
  8065. !     /bin/echo $ac_n "checking for -ldnet""... $ac_c" 1>&4
  8066. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dnet'+set}'`\" = set"; then
  8067. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  8068.   else
  8069.     ac_save_LIBS="$LIBS"
  8070.   LIBS="$LIBS -ldnet "
  8071. ***************
  8072. *** 1944,1960 ****
  8073.   LIBS="$ac_save_LIBS"
  8074.   
  8075.   fi
  8076. ! if eval "test \"`echo '$ac_cv_lib_'dnet`\" = yes"; then
  8077. !   echo "$ac_t""yes" 1>&4
  8078.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  8079.   else
  8080. !   echo "$ac_t""no" 1>&4
  8081.   fi
  8082.   
  8083.       if test $ac_cv_lib_dnet = no; then
  8084. !       echo $ac_n "checking for -ldnet_stub""... $ac_c" 1>&4
  8085. ! if eval "test \"`echo '${'ac_cv_lib_dnet_stub'+set}'`\" = set"; then
  8086. !   echo $ac_n "(cached) $ac_c" 1>&4
  8087.   else
  8088.     ac_save_LIBS="$LIBS"
  8089.   LIBS="$LIBS -ldnet_stub "
  8090. --- 1947,1963 ----
  8091.   LIBS="$ac_save_LIBS"
  8092.   
  8093.   fi
  8094. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dnet`\" = yes"; then
  8095. !   /bin/echo "$ac_t""yes" 1>&4
  8096.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  8097.   else
  8098. !   /bin/echo "$ac_t""no" 1>&4
  8099.   fi
  8100.   
  8101.       if test $ac_cv_lib_dnet = no; then
  8102. !       /bin/echo $ac_n "checking for -ldnet_stub""... $ac_c" 1>&4
  8103. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dnet_stub'+set}'`\" = set"; then
  8104. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  8105.   else
  8106.     ac_save_LIBS="$LIBS"
  8107.   LIBS="$LIBS -ldnet_stub "
  8108. ***************
  8109. *** 1978,1988 ****
  8110.   LIBS="$ac_save_LIBS"
  8111.   
  8112.   fi
  8113. ! if eval "test \"`echo '$ac_cv_lib_'dnet_stub`\" = yes"; then
  8114. !   echo "$ac_t""yes" 1>&4
  8115.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  8116.   else
  8117. !   echo "$ac_t""no" 1>&4
  8118.   fi
  8119.   
  8120.       fi
  8121. --- 1981,1991 ----
  8122.   LIBS="$ac_save_LIBS"
  8123.   
  8124.   fi
  8125. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dnet_stub`\" = yes"; then
  8126. !   /bin/echo "$ac_t""yes" 1>&4
  8127.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  8128.   else
  8129. !   /bin/echo "$ac_t""no" 1>&4
  8130.   fi
  8131.   
  8132.       fi
  8133. ***************
  8134. *** 1991,1999 ****
  8135.       # to get the SysV transport functions.
  8136.       # Not sure which flavor of 386 UNIX this is, but it seems harmless to
  8137.       # check for it.
  8138. !     echo $ac_n "checking for -lnsl""... $ac_c" 1>&4
  8139. ! if eval "test \"`echo '${'ac_cv_lib_nsl'+set}'`\" = set"; then
  8140. !   echo $ac_n "(cached) $ac_c" 1>&4
  8141.   else
  8142.     ac_save_LIBS="$LIBS"
  8143.   LIBS="$LIBS -lnsl "
  8144. --- 1994,2002 ----
  8145.       # to get the SysV transport functions.
  8146.       # Not sure which flavor of 386 UNIX this is, but it seems harmless to
  8147.       # check for it.
  8148. !     /bin/echo $ac_n "checking for -lnsl""... $ac_c" 1>&4
  8149. ! if eval "test \"`/bin/echo '${'ac_cv_lib_nsl'+set}'`\" = set"; then
  8150. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  8151.   else
  8152.     ac_save_LIBS="$LIBS"
  8153.   LIBS="$LIBS -lnsl "
  8154. ***************
  8155. *** 2017,2027 ****
  8156.   LIBS="$ac_save_LIBS"
  8157.   
  8158.   fi
  8159. ! if eval "test \"`echo '$ac_cv_lib_'nsl`\" = yes"; then
  8160. !   echo "$ac_t""yes" 1>&4
  8161.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  8162.   else
  8163. !   echo "$ac_t""no" 1>&4
  8164.   fi
  8165.   
  8166.   
  8167. --- 2020,2030 ----
  8168.   LIBS="$ac_save_LIBS"
  8169.   
  8170.   fi
  8171. ! if eval "test \"`/bin/echo '$ac_cv_lib_'nsl`\" = yes"; then
  8172. !   /bin/echo "$ac_t""yes" 1>&4
  8173.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  8174.   else
  8175. !   /bin/echo "$ac_t""no" 1>&4
  8176.   fi
  8177.   
  8178.   
  8179. ***************
  8180. *** 2029,2037 ****
  8181.       # socket/setsockopt and other routines are undefined under SCO ODT 2.0.
  8182.       # But -lsocket is broken on IRIX, according to simon@lia.di.epfl.ch.
  8183.       if test "`(uname) 2>/dev/null`" != IRIX; then
  8184. !       echo $ac_n "checking for -lsocket""... $ac_c" 1>&4
  8185. ! if eval "test \"`echo '${'ac_cv_lib_socket'+set}'`\" = set"; then
  8186. !   echo $ac_n "(cached) $ac_c" 1>&4
  8187.   else
  8188.     ac_save_LIBS="$LIBS"
  8189.   LIBS="$LIBS -lsocket "
  8190. --- 2032,2040 ----
  8191.       # socket/setsockopt and other routines are undefined under SCO ODT 2.0.
  8192.       # But -lsocket is broken on IRIX, according to simon@lia.di.epfl.ch.
  8193.       if test "`(uname) 2>/dev/null`" != IRIX; then
  8194. !       /bin/echo $ac_n "checking for -lsocket""... $ac_c" 1>&4
  8195. ! if eval "test \"`/bin/echo '${'ac_cv_lib_socket'+set}'`\" = set"; then
  8196. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  8197.   else
  8198.     ac_save_LIBS="$LIBS"
  8199.   LIBS="$LIBS -lsocket "
  8200. ***************
  8201. *** 2055,2065 ****
  8202.   LIBS="$ac_save_LIBS"
  8203.   
  8204.   fi
  8205. ! if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
  8206. !   echo "$ac_t""yes" 1>&4
  8207.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket"
  8208.   else
  8209. !   echo "$ac_t""no" 1>&4
  8210.   fi
  8211.   
  8212.       fi
  8213. --- 2058,2068 ----
  8214.   LIBS="$ac_save_LIBS"
  8215.   
  8216.   fi
  8217. ! if eval "test \"`/bin/echo '$ac_cv_lib_'socket`\" = yes"; then
  8218. !   /bin/echo "$ac_t""yes" 1>&4
  8219.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket"
  8220.   else
  8221. !   /bin/echo "$ac_t""no" 1>&4
  8222.   fi
  8223.   
  8224.       fi
  8225. ***************
  8226. *** 2078,2084 ****
  8227.   fi
  8228.   
  8229.   
  8230. ! echo $ac_n "checking for small TeX""... $ac_c" 1>&4
  8231.   cat > conftest.$ac_ext <<EOF
  8232.   #line 2084 "configure"
  8233.   #include "confdefs.h"
  8234. --- 2081,2087 ----
  8235.   fi
  8236.   
  8237.   
  8238. ! /bin/echo $ac_n "checking for small TeX""... $ac_c" 1>&4
  8239.   cat > conftest.$ac_ext <<EOF
  8240.   #line 2084 "configure"
  8241.   #include "confdefs.h"
  8242. ***************
  8243. *** 2098,2104 ****
  8244.   fi
  8245.   rm -f conftest*
  8246.   
  8247. ! echo "$ac_t""$SMALLTeX" 1>&4
  8248.   if test $SMALLTeX = yes; then
  8249.     (cd $srcdir/tex && rm -f ctex.ch && sed -f small.sed <tex.ch >ctex.ch)
  8250.     cat >> confdefs.h <<\EOF
  8251. --- 2101,2107 ----
  8252.   fi
  8253.   rm -f conftest*
  8254.   
  8255. ! /bin/echo "$ac_t""$SMALLTeX" 1>&4
  8256.   if test $SMALLTeX = yes; then
  8257.     (cd $srcdir/tex && rm -f ctex.ch && sed -f small.sed <tex.ch >ctex.ch)
  8258.     cat >> confdefs.h <<\EOF
  8259. ***************
  8260. *** 2107,2113 ****
  8261.   
  8262.   fi
  8263.   
  8264. ! echo $ac_n "checking for small MF""... $ac_c" 1>&4
  8265.   cat > conftest.$ac_ext <<EOF
  8266.   #line 2113 "configure"
  8267.   #include "confdefs.h"
  8268. --- 2110,2116 ----
  8269.   
  8270.   fi
  8271.   
  8272. ! /bin/echo $ac_n "checking for small MF""... $ac_c" 1>&4
  8273.   cat > conftest.$ac_ext <<EOF
  8274.   #line 2113 "configure"
  8275.   #include "confdefs.h"
  8276. ***************
  8277. *** 2127,2138 ****
  8278.   fi
  8279.   rm -f conftest*
  8280.   
  8281. ! echo "$ac_t""$SMALLMF" 1>&4
  8282.   if test $SMALLMF = yes; then
  8283.     (cd $srcdir/mf && rm -f cmf.ch && sed -f small.sed <mf.ch >cmf.ch)
  8284.   fi
  8285.   
  8286. ! echo $ac_n "checking for small BibTeX""... $ac_c" 1>&4
  8287.   cat > conftest.$ac_ext <<EOF
  8288.   #line 2138 "configure"
  8289.   #include "confdefs.h"
  8290. --- 2130,2141 ----
  8291.   fi
  8292.   rm -f conftest*
  8293.   
  8294. ! /bin/echo "$ac_t""$SMALLMF" 1>&4
  8295.   if test $SMALLMF = yes; then
  8296.     (cd $srcdir/mf && rm -f cmf.ch && sed -f small.sed <mf.ch >cmf.ch)
  8297.   fi
  8298.   
  8299. ! /bin/echo $ac_n "checking for small BibTeX""... $ac_c" 1>&4
  8300.   cat > conftest.$ac_ext <<EOF
  8301.   #line 2138 "configure"
  8302.   #include "confdefs.h"
  8303. ***************
  8304. *** 2152,2158 ****
  8305.   fi
  8306.   rm -f conftest*
  8307.   
  8308. ! echo "$ac_t""$SMALLBibTeX" 1>&4
  8309.   if test $SMALLBibTeX = yes; then
  8310.     (cd $srcdir/bibtex \
  8311.      && rm -f cbibtex.ch && sed -f small.sed <bibtex.ch >cbibtex.ch)
  8312. --- 2155,2161 ----
  8313.   fi
  8314.   rm -f conftest*
  8315.   
  8316. ! /bin/echo "$ac_t""$SMALLBibTeX" 1>&4
  8317.   if test $SMALLBibTeX = yes; then
  8318.     (cd $srcdir/bibtex \
  8319.      && rm -f cbibtex.ch && sed -f small.sed <bibtex.ch >cbibtex.ch)
  8320. ***************
  8321. *** 2160,2166 ****
  8322.   
  8323.   trap '' 1 2 15
  8324.   if test -w $cache_file; then
  8325. ! echo "updating cache $cache_file"
  8326.   cat > $cache_file <<\EOF
  8327.   # This file is a shell script that caches the results of configure
  8328.   # tests run on this system so they can be shared between configure
  8329. --- 2163,2169 ----
  8330.   
  8331.   trap '' 1 2 15
  8332.   if test -w $cache_file; then
  8333. ! /bin/echo "updating cache $cache_file"
  8334.   cat > $cache_file <<\EOF
  8335.   # This file is a shell script that caches the results of configure
  8336.   # tests run on this system so they can be shared between configure
  8337. ***************
  8338. *** 2178,2188 ****
  8339.   #
  8340.   EOF
  8341.   # Ultrix sh set writes to stderr and can't be redirected directly.
  8342.   (set) 2>&1 |
  8343. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  8344. !   >> $cache_file
  8345.   else
  8346. ! echo "not updating unwritable cache $cache_file"
  8347.   fi
  8348.   
  8349.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  8350. --- 2181,2194 ----
  8351.   #
  8352.   EOF
  8353.   # Ultrix sh set writes to stderr and can't be redirected directly.
  8354. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  8355. + # sed commands.
  8356.   (set) 2>&1 |
  8357. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  8358. !   sed "s@\\\$@\${@" |
  8359. !   sed "s@\$@}@" >> $cache_file
  8360.   else
  8361. ! /bin/echo "not updating unwritable cache $cache_file"
  8362.   fi
  8363.   
  8364.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  8365. ***************
  8366. *** 2205,2211 ****
  8367.   # Without the "./", some shells look in PATH for config.status.
  8368.   : ${CONFIG_STATUS=./config.status}
  8369.   
  8370. ! echo creating $CONFIG_STATUS
  8371.   rm -f $CONFIG_STATUS
  8372.   cat > $CONFIG_STATUS <<EOF
  8373.   #!/bin/sh
  8374. --- 2211,2217 ----
  8375.   # Without the "./", some shells look in PATH for config.status.
  8376.   : ${CONFIG_STATUS=./config.status}
  8377.   
  8378. ! /bin/echo creating $CONFIG_STATUS
  8379.   rm -f $CONFIG_STATUS
  8380.   cat > $CONFIG_STATUS <<EOF
  8381.   #!/bin/sh
  8382. ***************
  8383. *** 2224,2237 ****
  8384.   do
  8385.     case "\$ac_option" in
  8386.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  8387. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  8388.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  8389.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  8390. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  8391.       exit 0 ;;
  8392.     -help | --help | --hel | --he | --h)
  8393. !     echo "\$ac_cs_usage"; exit 0 ;;
  8394. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  8395.     esac
  8396.   done
  8397.   
  8398. --- 2230,2243 ----
  8399.   do
  8400.     case "\$ac_option" in
  8401.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  8402. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  8403.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  8404.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  8405. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  8406.       exit 0 ;;
  8407.     -help | --help | --hel | --he | --h)
  8408. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  8409. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  8410.     esac
  8411.   done
  8412.   
  8413. ***************
  8414. *** 2285,2305 ****
  8415.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  8416.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  8417.     case "$ac_file" in
  8418. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  8419. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  8420.     *) ac_file_in="${ac_file}.in" ;;
  8421.     esac
  8422.   
  8423.     # Adjust relative srcdir, etc. for subdirectories.
  8424.   
  8425.     # Remove last slash and all that follows it.  Not all systems have dirname.
  8426. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  8427.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  8428.       # The file is in a subdirectory.
  8429.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  8430.       ac_dir_suffix="/$ac_dir"
  8431.       # A "../" for each directory in $ac_dir_suffix.
  8432. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  8433.     else
  8434.       ac_dir_suffix= ac_dots=
  8435.     fi
  8436. --- 2291,2311 ----
  8437.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  8438.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  8439.     case "$ac_file" in
  8440. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  8441. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  8442.     *) ac_file_in="${ac_file}.in" ;;
  8443.     esac
  8444.   
  8445.     # Adjust relative srcdir, etc. for subdirectories.
  8446.   
  8447.     # Remove last slash and all that follows it.  Not all systems have dirname.
  8448. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  8449.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  8450.       # The file is in a subdirectory.
  8451.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  8452.       ac_dir_suffix="/$ac_dir"
  8453.       # A "../" for each directory in $ac_dir_suffix.
  8454. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  8455.     else
  8456.       ac_dir_suffix= ac_dots=
  8457.     fi
  8458. ***************
  8459. *** 2307,2313 ****
  8460.     case "$ac_given_srcdir" in
  8461.     .)  srcdir=.
  8462.         if test -z "$ac_dots"; then top_srcdir=.
  8463. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  8464.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  8465.     *) # Relative path.
  8466.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  8467. --- 2313,2319 ----
  8468.     case "$ac_given_srcdir" in
  8469.     .)  srcdir=.
  8470.         if test -z "$ac_dots"; then top_srcdir=.
  8471. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  8472.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  8473.     *) # Relative path.
  8474.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  8475. ***************
  8476. *** 2318,2326 ****
  8477.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  8478.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  8479.     esac
  8480. !   echo creating "$ac_file"
  8481.     rm -f "$ac_file"
  8482. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  8483.     case "$ac_file" in
  8484.     *Makefile*) ac_comsub="1i\\
  8485.   # $configure_input" ;;
  8486. --- 2324,2332 ----
  8487.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  8488.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  8489.     esac
  8490. !   /bin/echo creating "$ac_file"
  8491.     rm -f "$ac_file"
  8492. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  8493.     case "$ac_file" in
  8494.     *Makefile*) ac_comsub="1i\\
  8495.   # $configure_input" ;;
  8496. ***************
  8497. *** 2333,2346 ****
  8498.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  8499.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  8500.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  8501. !   # Use @e initially instead of -e because GNU echo has a -e option.
  8502.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  8503.     file_substs=`sed -n \
  8504.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  8505.                  $ac_given_srcdir/${ac_file}.in`
  8506.     if test -n "$file_substs"; then
  8507.       # Change @e back to -e and X@^ to \@^.
  8508. !     file_subst_cmd="sed `echo $file_substs \
  8509.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  8510.     else
  8511.       # If no substitutions and hence no sed commands, don't choke.
  8512. --- 2339,2352 ----
  8513.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  8514.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  8515.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  8516. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  8517.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  8518.     file_substs=`sed -n \
  8519.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  8520.                  $ac_given_srcdir/${ac_file}.in`
  8521.     if test -n "$file_substs"; then
  8522.       # Change @e back to -e and X@^ to \@^.
  8523. !     file_subst_cmd="sed `/bin/echo $file_substs \
  8524.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  8525.     else
  8526.       # If no substitutions and hence no sed commands, don't choke.
  8527. ***************
  8528. *** 2383,2394 ****
  8529.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  8530.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  8531.     case "$ac_file" in
  8532. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  8533. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  8534.     *) ac_file_in="${ac_file}.in" ;;
  8535.     esac
  8536.   
  8537. !   echo creating $ac_file
  8538.   
  8539.     rm -f conftest.frag conftest.in conftest.out
  8540.     cp $ac_given_srcdir/$ac_file_in conftest.in
  8541. --- 2389,2400 ----
  8542.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  8543.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  8544.     case "$ac_file" in
  8545. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  8546. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  8547.     *) ac_file_in="${ac_file}.in" ;;
  8548.     esac
  8549.   
  8550. !   /bin/echo creating $ac_file
  8551.   
  8552.     rm -f conftest.frag conftest.in conftest.out
  8553.     cp $ac_given_srcdir/$ac_file_in conftest.in
  8554. ***************
  8555. *** 2429,2437 ****
  8556.     # grep -c gives empty output for an empty file on some AIX systems.
  8557.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  8558.     # Write a limited-size here document to conftest.frag.
  8559. !   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  8560.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  8561. !   echo 'CEOF
  8562.     sed -f conftest.frag conftest.in > conftest.out
  8563.     rm -f conftest.in
  8564.     mv conftest.out conftest.in
  8565. --- 2435,2443 ----
  8566.     # grep -c gives empty output for an empty file on some AIX systems.
  8567.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  8568.     # Write a limited-size here document to conftest.frag.
  8569. !   /bin/echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  8570.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  8571. !   /bin/echo 'CEOF
  8572.     sed -f conftest.frag conftest.in > conftest.out
  8573.     rm -f conftest.in
  8574.     mv conftest.out conftest.in
  8575. ***************
  8576. *** 2444,2454 ****
  8577.   
  8578.   cat >> $CONFIG_STATUS <<\EOF
  8579.     rm -f conftest.frag conftest.h
  8580. !   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  8581.     cat conftest.in >> conftest.h
  8582.     rm -f conftest.in
  8583.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  8584. !     echo "$ac_file is unchanged"
  8585.       rm -f conftest.h
  8586.     else
  8587.       rm -f $ac_file
  8588. --- 2450,2460 ----
  8589.   
  8590.   cat >> $CONFIG_STATUS <<\EOF
  8591.     rm -f conftest.frag conftest.h
  8592. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  8593.     cat conftest.in >> conftest.h
  8594.     rm -f conftest.in
  8595.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  8596. !     /bin/echo "$ac_file is unchanged"
  8597.       rm -f conftest.h
  8598.     else
  8599.       rm -f $ac_file
  8600. diff -rc --new-file unixtex-6.1b-base/web2c/dviutil/Makefile.in unixtex-6.1b/web2c/dviutil/Makefile.in
  8601. *** unixtex-6.1b-base/web2c/dviutil/Makefile.in    Thu Feb  3 12:48:32 1994
  8602. --- unixtex-6.1b/web2c/dviutil/Makefile.in    Sun Apr  2 21:43:44 1995
  8603. ***************
  8604. *** 18,25 ****
  8605.   program = dvicopy dvitype
  8606.   
  8607.   CC = @CC@
  8608. ! CFLAGS = -g
  8609. ! CPPFLAGS = -I$(srcdir)/../lib -I../..
  8610.   
  8611.   CCLD = $(CC)
  8612.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  8613. --- 18,25 ----
  8614.   program = dvicopy dvitype
  8615.   
  8616.   CC = @CC@
  8617. ! CFLAGS =
  8618. ! CPPFLAGS = -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  8619.   
  8620.   CCLD = $(CC)
  8621.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  8622. ***************
  8623. *** 33,43 ****
  8624.   .SUFFIXES:
  8625.   .SUFFIXES: .o .c .p .ch
  8626.   .p.c:
  8627. !     $(SHELL) $(srcdir)/../lib/convert $*.p $*.c
  8628.   .ch.p:
  8629. !     ../web/tangle $*.web $*.ch
  8630.   .c.o:
  8631. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  8632.   
  8633.   
  8634.   default: all
  8635. --- 33,45 ----
  8636.   .SUFFIXES:
  8637.   .SUFFIXES: .o .c .p .ch
  8638.   .p.c:
  8639. !     $(SHELL) $(srcdir)/../lib/convert $< $*.c $(srcdir)
  8640.   .ch.p:
  8641. !     ../web/tangle $(srcdir)/$*.web $<
  8642. !     cp $(srcdir)/$*.p $*.p
  8643. !     rm -f $(srcdir)/$*.p
  8644.   .c.o:
  8645. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  8646.   
  8647.   
  8648.   default: all
  8649. diff -rc --new-file unixtex-6.1b-base/web2c/fontutil/Makefile.in unixtex-6.1b/web2c/fontutil/Makefile.in
  8650. *** unixtex-6.1b-base/web2c/fontutil/Makefile.in    Thu Feb  3 12:48:32 1994
  8651. --- unixtex-6.1b/web2c/fontutil/Makefile.in    Sun Apr  2 21:43:56 1995
  8652. ***************
  8653. *** 18,25 ****
  8654.   program = gftodvi gftopk mft pktogf pktype vftovp vptovf gftype pltotf tftopl
  8655.   
  8656.   CC = @CC@
  8657. ! CFLAGS = -g
  8658. ! CPPFLAGS = -I$(srcdir)/../lib -I../..
  8659.   
  8660.   CCLD = $(CC)
  8661.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  8662. --- 18,25 ----
  8663.   program = gftodvi gftopk mft pktogf pktype vftovp vptovf gftype pltotf tftopl
  8664.   
  8665.   CC = @CC@
  8666. ! CFLAGS =
  8667. ! CPPFLAGS = -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../.. -I. -I$(srcdir)
  8668.   
  8669.   CCLD = $(CC)
  8670.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  8671. ***************
  8672. *** 33,43 ****
  8673.   .SUFFIXES:
  8674.   .SUFFIXES: .o .c .p .ch
  8675.   .p.c:
  8676. !     $(SHELL) $(srcdir)/../lib/convert $*.p $*.c
  8677.   .ch.p:
  8678. !     ../web/tangle $*.web $*.ch
  8679.   .c.o:
  8680. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  8681.   
  8682.   
  8683.   default: all
  8684. --- 33,45 ----
  8685.   .SUFFIXES:
  8686.   .SUFFIXES: .o .c .p .ch
  8687.   .p.c:
  8688. !     $(SHELL) $(srcdir)/../lib/convert $< $*.c $(srcdir)
  8689.   .ch.p:
  8690. !     ../web/tangle $(srcdir)/$*.web $<
  8691. !     cp $(srcdir)/$*.p $*.p
  8692. !     rm -f $(srcdir)/$*.p
  8693.   .c.o:
  8694. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  8695.   
  8696.   
  8697.   default: all
  8698. diff -rc --new-file unixtex-6.1b-base/web2c/lib/Makefile.in unixtex-6.1b/web2c/lib/Makefile.in
  8699. *** unixtex-6.1b-base/web2c/lib/Makefile.in    Thu Feb  3 12:48:34 1994
  8700. --- unixtex-6.1b/web2c/lib/Makefile.in    Sun Apr  2 19:44:56 1995
  8701. ***************
  8702. *** 7,14 ****
  8703.   # Unlike all other directories, we need @DEFS@ here because we need
  8704.   # -DHAVE_CONFIG_H to compile getopt.
  8705.   CC = @CC@
  8706. ! CFLAGS = -g
  8707. ! CPPFLAGS = @DEFS@ -I../lib -I../..
  8708.   
  8709.   AR = ar
  8710.   ARFLAGS = cq
  8711. --- 7,14 ----
  8712.   # Unlike all other directories, we need @DEFS@ here because we need
  8713.   # -DHAVE_CONFIG_H to compile getopt.
  8714.   CC = @CC@
  8715. ! CFLAGS =
  8716. ! CPPFLAGS = @DEFS@ -I../lib -I../.. -I$(srcdir)/../..
  8717.   
  8718.   AR = ar
  8719.   ARFLAGS = cq
  8720. ***************
  8721. *** 40,46 ****
  8722.   # Do not use CPPFLAGS for this, because including "config.h" might
  8723.   # result in a conflicting decl of xmalloc. How annoying.
  8724.   alloca.o: alloca.c 
  8725. !     $(CC) $(CFLAGS) -c alloca.c
  8726.   
  8727.   Makefile: Makefile.in ../config.status
  8728.       cd ..; $(SHELL) config.status
  8729. --- 40,46 ----
  8730.   # Do not use CPPFLAGS for this, because including "config.h" might
  8731.   # result in a conflicting decl of xmalloc. How annoying.
  8732.   alloca.o: alloca.c 
  8733. !     $(CC) $(CFLAGS) -c $(srcdir)/alloca.c
  8734.   
  8735.   Makefile: Makefile.in ../config.status
  8736.       cd ..; $(SHELL) config.status
  8737. diff -rc --new-file unixtex-6.1b-base/web2c/lib/c-auto.h.in unixtex-6.1b/web2c/lib/c-auto.h.in
  8738. *** unixtex-6.1b-base/web2c/lib/c-auto.h.in    Sun Apr  2 06:05:56 1995
  8739. --- unixtex-6.1b/web2c/lib/c-auto.h.in    Mon Apr  3 22:05:28 1995
  8740. ***************
  8741. *** 59,66 ****
  8742.   #ifndef X10WIN
  8743.   #undef X10WIN        /* X Version 10 */
  8744.   #endif
  8745. ! #ifndef NO_X11WIN
  8746. ! #define X11WIN        /* X Version 11 */
  8747.   #endif
  8748.   
  8749.   /* Define these to true invoke MakeTeX{TeX,MF,TFM} scripts by default
  8750. --- 59,66 ----
  8751.   #ifndef X10WIN
  8752.   #undef X10WIN        /* X Version 10 */
  8753.   #endif
  8754. ! #ifndef X11WIN
  8755. ! #undef X11WIN        /* X Version 11 */
  8756.   #endif
  8757.   
  8758.   /* Define these to true invoke MakeTeX{TeX,MF,TFM} scripts by default
  8759. diff -rc --new-file unixtex-6.1b-base/web2c/lib/convert unixtex-6.1b/web2c/lib/convert
  8760. *** unixtex-6.1b-base/web2c/lib/convert    Sun May  9 17:32:34 1993
  8761. --- unixtex-6.1b/web2c/lib/convert    Sun Apr  2 18:43:42 1995
  8762. ***************
  8763. *** 3,15 ****
  8764.   # 
  8765.   # $1 is the Pascal file to be converted.
  8766.   # $2 is the C file to be created.
  8767. ! # $3, if present, is extended with .h, and #included in the C file, and
  8768.   # extended with .defines, and prepended along with the common
  8769.   # definitions.
  8770.   
  8771.   pascalfile=$1
  8772.   basefile=`basename $1 .p`
  8773.   cfile=$2
  8774.   
  8775.   # We use cpascal.h instead of config.h because getopt.c and perhaps
  8776.   # other straight C routines don't need or want the Pascal definitions of
  8777. --- 3,17 ----
  8778.   # 
  8779.   # $1 is the Pascal file to be converted.
  8780.   # $2 is the C file to be created.
  8781. ! # $3 is the source directory, which might not be '.'
  8782. ! # $4, if present, is extended with .h, and #included in the C file, and
  8783.   # extended with .defines, and prepended along with the common
  8784.   # definitions.
  8785.   
  8786.   pascalfile=$1
  8787.   basefile=`basename $1 .p`
  8788.   cfile=$2
  8789. + srcdir=$3
  8790.   
  8791.   # We use cpascal.h instead of config.h because getopt.c and perhaps
  8792.   # other straight C routines don't need or want the Pascal definitions of
  8793. ***************
  8794. *** 17,28 ****
  8795.   hfile=cpascal.h
  8796.   defnfile=
  8797.   
  8798. ! if test $# -eq 3; then
  8799. !   hfile=$3.h
  8800. !   defnfile=$3.defines
  8801.   fi
  8802.   
  8803. ! cat ../lib/common.defines $defnfile $pascalfile \
  8804.       | ../web2c/web2c -h$hfile -c$basefile \
  8805.       | ../web2c/fixwrites $basefile > $cfile
  8806.   
  8807. --- 19,30 ----
  8808.   hfile=cpascal.h
  8809.   defnfile=
  8810.   
  8811. ! if test $# -eq 4; then
  8812. !   hfile=$4.h
  8813. !   defnfile=$4.defines
  8814.   fi
  8815.   
  8816. ! cat $srcdir/../lib/common.defines $defnfile $pascalfile \
  8817.       | ../web2c/web2c -h$hfile -c$basefile \
  8818.       | ../web2c/fixwrites $basefile > $cfile
  8819.   
  8820. diff -rc --new-file unixtex-6.1b-base/web2c/lib/openinout.c unixtex-6.1b/web2c/lib/openinout.c
  8821. *** unixtex-6.1b-base/web2c/lib/openinout.c    Sun Apr  2 06:05:58 1995
  8822. --- unixtex-6.1b/web2c/lib/openinout.c    Sun Apr  2 21:14:26 1995
  8823. ***************
  8824. *** 8,15 ****
  8825.   
  8826.   #ifdef BibTeX
  8827.   /* See comments in bibtex.ch for why we need these.  */
  8828. ! FILE *standardinput = stdin;
  8829. ! FILE *standardoutput = stdout;
  8830.   
  8831.   /* Because we don't generate a .h file with all the global definitions
  8832.      for BibTeX, as we do with TeX and Metafont, we must declare these
  8833. --- 8,15 ----
  8834.   
  8835.   #ifdef BibTeX
  8836.   /* See comments in bibtex.ch for why we need these.  */
  8837. ! FILE *standardinput /* = stdin */;
  8838. ! FILE *standardoutput /* = stdout */;
  8839.   
  8840.   /* Because we don't generate a .h file with all the global definitions
  8841.      for BibTeX, as we do with TeX and Metafont, we must declare these
  8842. diff -rc --new-file unixtex-6.1b-base/web2c/lib/texmf.c unixtex-6.1b/web2c/lib/texmf.c
  8843. *** unixtex-6.1b-base/web2c/lib/texmf.c    Sun Apr  2 06:05:58 1995
  8844. --- unixtex-6.1b/web2c/lib/texmf.c    Mon Apr  3 22:44:30 1995
  8845. ***************
  8846. *** 62,68 ****
  8847.   /* The entry point: set up for reading the command line, which will
  8848.      happen in `topenin', then call the main body.  */
  8849.   
  8850. ! void
  8851.   main (ac, av)
  8852.       int ac;
  8853.       char *av[];
  8854. --- 62,68 ----
  8855.   /* The entry point: set up for reading the command line, which will
  8856.      happen in `topenin', then call the main body.  */
  8857.   
  8858. ! int
  8859.   main (ac, av)
  8860.       int ac;
  8861.       char *av[];
  8862. diff -rc --new-file unixtex-6.1b-base/web2c/man/Makefile.in unixtex-6.1b/web2c/man/Makefile.in
  8863. *** unixtex-6.1b-base/web2c/man/Makefile.in    Thu Feb  3 12:48:34 1994
  8864. --- unixtex-6.1b/web2c/man/Makefile.in    Sun Apr  2 21:14:26 1995
  8865. ***************
  8866. *** 127,139 ****
  8867.   # The edited file always has extension .1; we change it when we install.
  8868.   .SUFFIXES: .man .1 .txt .ps .dvi
  8869.   .man.1:
  8870. !     sed -f sedscript $*.man >$@
  8871.   .1.dvi:
  8872. !     $(DITROFF) -Tdvi -man $*.1 >$@
  8873.   .1.ps:
  8874. !     $(DITROFF) -Tps -man $*.1 >$@
  8875.   .1.txt:
  8876. !     $(DITROFF) -Tascii -man $*.1 | col -b | expand >$@
  8877.   
  8878.   all: $(manfiles)
  8879.   .PHONY: dw
  8880. --- 127,139 ----
  8881.   # The edited file always has extension .1; we change it when we install.
  8882.   .SUFFIXES: .man .1 .txt .ps .dvi
  8883.   .man.1:
  8884. !     sed -f sedscript $(srcdir)/$*.man >$@
  8885.   .1.dvi:
  8886. !     $(DITROFF) -Tdvi -man $(srcdir)/$*.1 >$@
  8887.   .1.ps:
  8888. !     $(DITROFF) -Tps -man $(srcdir)/$*.1 >$@
  8889.   .1.txt:
  8890. !     $(DITROFF) -Tascii -man $(srcdir)/$*.1 | col -b | expand >$@
  8891.   
  8892.   all: $(manfiles)
  8893.   .PHONY: dw
  8894. diff -rc --new-file unixtex-6.1b-base/web2c/mf/MFwindow/Makefile.in unixtex-6.1b/web2c/mf/MFwindow/Makefile.in
  8895. *** unixtex-6.1b-base/web2c/mf/MFwindow/Makefile.in    Thu Feb  3 12:48:38 1994
  8896. --- unixtex-6.1b/web2c/mf/MFwindow/Makefile.in    Sun Apr  2 20:25:06 1995
  8897. ***************
  8898. *** 14,20 ****
  8899.   CC = @CC@
  8900.   CFLAGS = -g
  8901.   # We need `-I.' for mfd.h (when compiling the files from ../lib).
  8902. ! CPPFLAGS = -I$(srcdir)/../../lib -I../../.. -I. $(x_include_flags)
  8903.   
  8904.   LN = @LN_S@
  8905.   RANLIB = @RANLIB@
  8906. --- 14,20 ----
  8907.   CC = @CC@
  8908.   CFLAGS = -g
  8909.   # We need `-I.' for mfd.h (when compiling the files from ../lib).
  8910. ! CPPFLAGS = -I../../lib -I$(srcdir)/../../lib -I../../.. -I$(srcdir)/../../.. -I. -I$(srcdir) $(x_include_flags)
  8911.   
  8912.   LN = @LN_S@
  8913.   RANLIB = @RANLIB@
  8914. ***************
  8915. *** 29,35 ****
  8916.   .SUFFIXES:
  8917.   .SUFFIXES: .o .c
  8918.   .c.o:
  8919. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  8920.   
  8921.   
  8922.   default: all
  8923. --- 29,35 ----
  8924.   .SUFFIXES:
  8925.   .SUFFIXES: .o .c
  8926.   .c.o:
  8927. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  8928.   
  8929.   
  8930.   default: all
  8931. diff -rc --new-file unixtex-6.1b-base/web2c/mf/Makefile.in unixtex-6.1b/web2c/mf/Makefile.in
  8932. *** unixtex-6.1b-base/web2c/mf/Makefile.in    Sun Apr  2 06:05:58 1995
  8933. --- unixtex-6.1b/web2c/mf/Makefile.in    Mon Apr  3 19:59:32 1995
  8934. ***************
  8935. *** 35,42 ****
  8936.   program = inimf virmf
  8937.   
  8938.   CC = @CC@
  8939. ! CFLAGS = -g
  8940. ! CPPFLAGS = -DMF -I$(srcdir)/../lib -I../..
  8941.   
  8942.   CCLD = $(CC)
  8943.   RANLIB = @RANLIB@
  8944. --- 35,42 ----
  8945.   program = inimf virmf
  8946.   
  8947.   CC = @CC@
  8948. ! CFLAGS =
  8949. ! CPPFLAGS = -DMF -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  8950.   
  8951.   CCLD = $(CC)
  8952.   RANLIB = @RANLIB@
  8953. ***************
  8954. *** 66,72 ****
  8955.   localmodes = modes.mf
  8956.   
  8957.   # And how to make them.
  8958. ! inimf = MFPOOL=. ./inimf
  8959.   
  8960.   
  8961.   # What to pass to submakes.
  8962. --- 66,74 ----
  8963.   localmodes = modes.mf
  8964.   
  8965.   # And how to make them.
  8966. ! #inimf = MFPOOL=$(srcdir) ./inimf
  8967. ! # For AmigaDOS, do this:
  8968. ! inimf = echo "$(srcdir)" >env:MFPOOL; ./inimf
  8969.   
  8970.   
  8971.   # What to pass to submakes.
  8972. ***************
  8973. *** 77,83 ****
  8974.   .SUFFIXES:
  8975.   .SUFFIXES: .o .c
  8976.   .c.o:
  8977. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  8978.   
  8979.   
  8980.   default: all
  8981. --- 79,85 ----
  8982.   .SUFFIXES:
  8983.   .SUFFIXES: .o .c
  8984.   .c.o:
  8985. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  8986.   
  8987.   
  8988.   default: all
  8989. ***************
  8990. *** 145,151 ****
  8991.             rm -f mfd.h*; else mv mfd.h.bak mfd.h; fi
  8992.   
  8993.   mf.p mf.pool: mf.web cmf.ch
  8994. !     ../web/tangle mf.web cmf.ch
  8995.   
  8996.   cmf.ch: $(mfsrcdir)/mf.ch
  8997.       rm -f cmf.ch
  8998. --- 147,156 ----
  8999.             rm -f mfd.h*; else mv mfd.h.bak mfd.h; fi
  9000.   
  9001.   mf.p mf.pool: mf.web cmf.ch
  9002. !     ../web/tangle $(srcdir)/mf.web cmf.ch
  9003. !     cp $(srcdir)/mf.p mf.p
  9004. !     cp $(srcdir)/mf.pool mf.pool
  9005. !     rm -f $(srcdir)/mf.p $(srcdir)/mf.pool
  9006.   
  9007.   cmf.ch: $(mfsrcdir)/mf.ch
  9008.       rm -f cmf.ch
  9009. ***************
  9010. *** 154,160 ****
  9011.   # The convert script produces the following files:
  9012.   mf0.c mf1.c mf2.c mf3.c mf4.c mf5.c mf6.c mf7.c mf8.c mf9.c \
  9013.   imf.c coerce.h mfd.h: mf.p coerce.add $(commondefines)
  9014. !     $(SHELL) $(mfsrcdir)/convert
  9015.       touch mfd.h
  9016.   
  9017.   # The (hand-coded) file $(extrac) and the (generated) file itex.c have
  9018. --- 159,165 ----
  9019.   # The convert script produces the following files:
  9020.   mf0.c mf1.c mf2.c mf3.c mf4.c mf5.c mf6.c mf7.c mf8.c mf9.c \
  9021.   imf.c coerce.h mfd.h: mf.p coerce.add $(commondefines)
  9022. !     $(SHELL) $(mfsrcdir)/convert $(srcdir)
  9023.       touch mfd.h
  9024.   
  9025.   # The (hand-coded) file $(extrac) and the (generated) file itex.c have
  9026. diff -rc --new-file unixtex-6.1b-base/web2c/mf/convert unixtex-6.1b/web2c/mf/convert
  9027. *** unixtex-6.1b-base/web2c/mf/convert    Sat Dec 11 18:23:44 1993
  9028. --- unixtex-6.1b/web2c/mf/convert    Sun Apr  2 19:58:08 1995
  9029. ***************
  9030. *** 1,6 ****
  9031.   #!/bin/sh
  9032.   # Convert Metafont to C.
  9033.   sed=sed
  9034.   
  9035.   $sed -e '
  9036. --- 1,6 ----
  9037.   #!/bin/sh
  9038.   # Convert Metafont to C.
  9039. ! srcdir=$1
  9040.   sed=sed
  9041.   
  9042.   $sed -e '
  9043. ***************
  9044. *** 13,19 ****
  9045.       }
  9046.       s/\.hh/.hhfield/g
  9047.       s/\.lh/.lhfield/g
  9048. ! ' ../lib/common.defines ../lib/texmf.defines mf.p \
  9049.       | ../web2c/web2c -htexmf.h -m \
  9050.       | $sed -e '
  9051.           s/else write/else\
  9052. --- 13,19 ----
  9053.       }
  9054.       s/\.hh/.hhfield/g
  9055.       s/\.lh/.lhfield/g
  9056. ! ' $srcdir/../lib/common.defines $srcdir/../lib/texmf.defines mf.p \
  9057.       | ../web2c/web2c -htexmf.h -m \
  9058.       | $sed -e '
  9059.           s/else write/else\
  9060. ***************
  9061. *** 26,30 ****
  9062.       | ../web2c/fixwrites \
  9063.       | ../web2c/splitup mf
  9064.   
  9065. ! cat coerce.h coerce.add >xcoerce.h
  9066.   mv xcoerce.h coerce.h
  9067. --- 26,30 ----
  9068.       | ../web2c/fixwrites \
  9069.       | ../web2c/splitup mf
  9070.   
  9071. ! cat coerce.h $srcdir/coerce.add >xcoerce.h
  9072.   mv xcoerce.h coerce.h
  9073. diff -rc --new-file unixtex-6.1b-base/web2c/tex/Makefile.in unixtex-6.1b/web2c/tex/Makefile.in
  9074. *** unixtex-6.1b-base/web2c/tex/Makefile.in    Thu Feb  3 12:48:36 1994
  9075. --- unixtex-6.1b/web2c/tex/Makefile.in    Mon Apr  3 22:52:24 1995
  9076. ***************
  9077. *** 36,43 ****
  9078.   
  9079.   # The -DTeX here is used for patgen, too, but that doesn't hurt anything.
  9080.   CC = @CC@
  9081. ! CFLAGS = -g
  9082. ! CPPFLAGS = -DTeX -I$(srcdir)/../lib -I../..
  9083.   
  9084.   CCLD = $(CC)
  9085.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  9086. --- 36,43 ----
  9087.   
  9088.   # The -DTeX here is used for patgen, too, but that doesn't hurt anything.
  9089.   CC = @CC@
  9090. ! CFLAGS =
  9091. ! CPPFLAGS = -DTeX -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  9092.   
  9093.   CCLD = $(CC)
  9094.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  9095. ***************
  9096. *** 61,67 ****
  9097.     picplus.fmt slitex.fmt tex.fmt texinfo.fmt 
  9098.   
  9099.   # And how to make them.
  9100. ! initex = TEXPOOL=. ./initex
  9101.   
  9102.   
  9103.   # What to pass to submakes.
  9104. --- 61,69 ----
  9105.     picplus.fmt slitex.fmt tex.fmt texinfo.fmt 
  9106.   
  9107.   # And how to make them.
  9108. ! #initex = TEXPOOL=$(srcdir) ./initex
  9109. ! # For AmigaDOS, do this:
  9110. ! initex = echo "$(srcdir)" >env:TEXPOOL; ./initex
  9111.   
  9112.   
  9113.   # What to pass to submakes.
  9114. ***************
  9115. *** 73,83 ****
  9116.   .SUFFIXES:
  9117.   .SUFFIXES: .o .c .p .ch
  9118.   .p.c:
  9119. !     $(SHELL) $(srcdir)/../lib/convert $*.p $*.c
  9120.   .ch.p:
  9121. !     ../web/tangle $*.web $*.ch
  9122.   .c.o:
  9123. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  9124.   
  9125.   
  9126.   default: all
  9127. --- 75,87 ----
  9128.   .SUFFIXES:
  9129.   .SUFFIXES: .o .c .p .ch
  9130.   .p.c:
  9131. !     $(SHELL) $(srcdir)/../lib/convert $< $*.c $(srcdir)
  9132.   .ch.p:
  9133. !     ../web/tangle $(srcdir)/$*.web $<
  9134. !     cp $(srcdir)/$*.p $*.p
  9135. !     rm -f $(srcdir)/$*.p
  9136.   .c.o:
  9137. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  9138.   
  9139.   
  9140.   default: all
  9141. ***************
  9142. *** 183,190 ****
  9143.       if grep 'memmax 2999' texd.h.bak >/dev/null 2>&1; then \
  9144.             rm -f texd.h*; else mv texd.h.bak texd.h; fi
  9145.   
  9146. ! tex.p: tex.web ctex.ch
  9147. !     ../web/tangle tex.web ctex.ch
  9148.   
  9149.   # If you're building mltex, reportedly have to add:
  9150.   #        sed -e 's/xiiix/(/;s/xtttx/)/' tex.p >tex.pp
  9151. --- 187,197 ----
  9152.       if grep 'memmax 2999' texd.h.bak >/dev/null 2>&1; then \
  9153.             rm -f texd.h*; else mv texd.h.bak texd.h; fi
  9154.   
  9155. ! tex.p tex.pool: tex.web ctex.ch
  9156. !     ../web/tangle $(srcdir)/tex.web ctex.ch
  9157. !     cp $(srcdir)/tex.p tex.p
  9158. !     cp $(srcdir)/tex.pool tex.pool
  9159. !     rm -f $(srcdir)/tex.p $(srcdir)/tex.pool
  9160.   
  9161.   # If you're building mltex, reportedly have to add:
  9162.   #        sed -e 's/xiiix/(/;s/xtttx/)/' tex.p >tex.pp
  9163. ***************
  9164. *** 198,204 ****
  9165.   # timestamp is later than the rest.
  9166.   tex0.c tex1.c tex2.c tex3.c tex4.c tex5.c tex6.c tex7.c tex8.c tex9.c \
  9167.   itex.c coerce.h texd.h: tex.p coerce.add $(commondefines)
  9168. !     $(SHELL) $(texsrcdir)/convert
  9169.       touch texd.h
  9170.   
  9171.   # The (hand-coded) file $(extrac) and the (generated) file itex.c have
  9172. --- 205,211 ----
  9173.   # timestamp is later than the rest.
  9174.   tex0.c tex1.c tex2.c tex3.c tex4.c tex5.c tex6.c tex7.c tex8.c tex9.c \
  9175.   itex.c coerce.h texd.h: tex.p coerce.add $(commondefines)
  9176. !     $(SHELL) $(texsrcdir)/convert $(srcdir)
  9177.       touch texd.h
  9178.   
  9179.   # The (hand-coded) file $(extrac) and the (generated) file itex.c have
  9180. diff -rc --new-file unixtex-6.1b-base/web2c/tex/convert unixtex-6.1b/web2c/tex/convert
  9181. *** unixtex-6.1b-base/web2c/tex/convert    Sun Nov  7 20:12:54 1993
  9182. --- unixtex-6.1b/web2c/tex/convert    Sun Apr  2 19:50:20 1995
  9183. ***************
  9184. *** 1,11 ****
  9185.   #!/bin/sh
  9186.   # Convert TeX to C.
  9187. ! cat ../lib/common.defines ../lib/texmf.defines tex.p \
  9188.       | ../web2c/web2c -t -htexmf.h \
  9189.       | ../web2c/fixwrites -t \
  9190.       | ../web2c/regfix \
  9191.       | ../web2c/splitup
  9192.   
  9193. ! cat coerce.h coerce.add > xcoerce.h
  9194.   mv xcoerce.h coerce.h
  9195. --- 1,11 ----
  9196.   #!/bin/sh
  9197.   # Convert TeX to C.
  9198. ! srcdir=$1
  9199. ! cat $srcdir/../lib/common.defines $srcdir/../lib/texmf.defines tex.p \
  9200.       | ../web2c/web2c -t -htexmf.h \
  9201.       | ../web2c/fixwrites -t \
  9202.       | ../web2c/regfix \
  9203.       | ../web2c/splitup
  9204.   
  9205. ! cat coerce.h $srcdir/coerce.add > xcoerce.h
  9206.   mv xcoerce.h coerce.h
  9207. diff -rc --new-file unixtex-6.1b-base/web2c/web/Makefile.in unixtex-6.1b/web2c/web/Makefile.in
  9208. *** unixtex-6.1b-base/web2c/web/Makefile.in    Thu Feb  3 12:48:36 1994
  9209. --- unixtex-6.1b/web2c/web/Makefile.in    Sun Apr  2 23:05:00 1995
  9210. ***************
  9211. *** 19,26 ****
  9212.   program = tangle weave pooltype
  9213.   
  9214.   CC = @CC@
  9215. ! CFLAGS = -g
  9216. ! CPPFLAGS = -I$(srcdir)/../lib -I../..
  9217.   
  9218.   CCLD = $(CC)
  9219.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  9220. --- 19,26 ----
  9221.   program = tangle weave pooltype
  9222.   
  9223.   CC = @CC@
  9224. ! CFLAGS =
  9225. ! CPPFLAGS = -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  9226.   
  9227.   CCLD = $(CC)
  9228.   LDFLAGS = $(CFLAGS) $(XLDFLAGS)
  9229. ***************
  9230. *** 34,44 ****
  9231.   .SUFFIXES:
  9232.   .SUFFIXES: .o .c .p .ch
  9233.   .p.c:
  9234. !     $(SHELL) $(srcdir)/../lib/convert $*.p $*.c
  9235.   .ch.p:
  9236. !     ./tangle $*.web $*.ch
  9237.   .c.o:
  9238. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  9239.   
  9240.   
  9241.   default: $(all)
  9242. --- 34,46 ----
  9243.   .SUFFIXES:
  9244.   .SUFFIXES: .o .c .p .ch
  9245.   .p.c:
  9246. !     $(SHELL) $(srcdir)/../lib/convert $< $*.c $(srcdir)
  9247.   .ch.p:
  9248. !     ./tangle $(srcdir)/$*.web $<
  9249. !     cp $(srcdir)/$*.p $*.p
  9250. !     rm -f $(srcdir)/$*.p
  9251.   .c.o:
  9252. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  9253.   
  9254.   
  9255.   default: $(all)
  9256. ***************
  9257. *** 53,65 ****
  9258.   
  9259.   tangleboot.c tangleboot.h: tangleboot.p
  9260.       cd ../web2c; $(MAKE) all
  9261. !     $(SHELL) $(srcdir)/../lib/convert tangleboot.p temp.c
  9262.       sed s/tangle.h/tangleboot.h/ < temp.c > tangleboot.c
  9263.       rm -f temp.c
  9264.   
  9265.   # To make tangleboot.p, we must assume a working tangle.
  9266.   tangleboot.p: tangle.web tangle.ch
  9267. !     tangle tangle.web tangle.ch
  9268.       mv tangle.p tangleboot.p
  9269.   
  9270.   
  9271. --- 55,67 ----
  9272.   
  9273.   tangleboot.c tangleboot.h: tangleboot.p
  9274.       cd ../web2c; $(MAKE) all
  9275. !     $(SHELL) $(srcdir)/../lib/convert tangleboot.p temp.c $(srcdir)
  9276.       sed s/tangle.h/tangleboot.h/ < temp.c > tangleboot.c
  9277.       rm -f temp.c
  9278.   
  9279.   # To make tangleboot.p, we must assume a working tangle.
  9280.   tangleboot.p: tangle.web tangle.ch
  9281. !     tangle $(srcdir)/tangle.web $(srcdir)/tangle.ch
  9282.       mv tangle.p tangleboot.p
  9283.   
  9284.   
  9285. ***************
  9286. *** 73,79 ****
  9287.   # which we can use to make the other programs.  (We don't bother to make
  9288.   # tangle again using itself.)
  9289.   tangle.p: tangleboot tangle.web tangle.ch
  9290. !     ./tangleboot tangle.web tangle.ch
  9291.   
  9292.   tangle.web:
  9293.       @echo "You seem to be missing tangle.web, perhaps because you"
  9294. --- 75,83 ----
  9295.   # which we can use to make the other programs.  (We don't bother to make
  9296.   # tangle again using itself.)
  9297.   tangle.p: tangleboot tangle.web tangle.ch
  9298. !     ./tangleboot $(srcdir)/tangle.web $(srcdir)/tangle.ch
  9299. !     cp $(srcdir)/tangle.p tangle.p
  9300. !     rm -f $(srcdir)/tangle.p
  9301.   
  9302.   tangle.web:
  9303.       @echo "You seem to be missing tangle.web, perhaps because you"
  9304. diff -rc --new-file unixtex-6.1b-base/web2c/web2c/Makefile.in unixtex-6.1b/web2c/web2c/Makefile.in
  9305. *** unixtex-6.1b-base/web2c/web2c/Makefile.in    Thu Feb  3 12:48:36 1994
  9306. --- unixtex-6.1b/web2c/web2c/Makefile.in    Sun Apr  2 19:44:34 1995
  9307. ***************
  9308. *** 14,21 ****
  9309.   commono = ../lib/lib.a $(kpathsea)
  9310.   
  9311.   CC = @CC@
  9312. ! CFLAGS = -g
  9313. ! CPPFLAGS = -I$(srcdir)/../lib -I../..
  9314.   
  9315.   LEX = @LEX@
  9316.   LEXLIB = @LEXLIB@
  9317. --- 14,21 ----
  9318.   commono = ../lib/lib.a $(kpathsea)
  9319.   
  9320.   CC = @CC@
  9321. ! CFLAGS =
  9322. ! CPPFLAGS = -I. -I../lib -I$(srcdir)/../lib -I../.. -I$(srcdir)/../..
  9323.   
  9324.   LEX = @LEX@
  9325.   LEXLIB = @LEXLIB@
  9326. ***************
  9327. *** 32,38 ****
  9328.   .SUFFIXES:
  9329.   .SUFFIXES: .o .c
  9330.   .c.o:
  9331. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $*.c
  9332.   
  9333.   
  9334.   all: $(program)
  9335. --- 32,38 ----
  9336.   .SUFFIXES:
  9337.   .SUFFIXES: .o .c
  9338.   .c.o:
  9339. !     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  9340.   
  9341.   
  9342.   all: $(program)
  9343. ***************
  9344. *** 45,56 ****
  9345.   
  9346.   $(LEX_OUTPUT_ROOT).o: $(LEX_OUTPUT_ROOT).c y.tab.h
  9347.   $(LEX_OUTPUT_ROOT).c: web2c.lex
  9348. !     $(LEX) web2c.lex
  9349.   
  9350.   y.tab.o: y.tab.c
  9351.   y.tab.c y.tab.h: web2c.yacc
  9352.       @echo Expect one shift/reduce conflict.
  9353. !     $(YACC) -d -v web2c.yacc
  9354.   
  9355.   fixwrites: fixwrites.o
  9356.       $(CCLD) -o fixwrites $(LDFLAGS) fixwrites.o $(libs)
  9357. --- 45,56 ----
  9358.   
  9359.   $(LEX_OUTPUT_ROOT).o: $(LEX_OUTPUT_ROOT).c y.tab.h
  9360.   $(LEX_OUTPUT_ROOT).c: web2c.lex
  9361. !     $(LEX) $(srcdir)/web2c.lex
  9362.   
  9363.   y.tab.o: y.tab.c
  9364.   y.tab.c y.tab.h: web2c.yacc
  9365.       @echo Expect one shift/reduce conflict.
  9366. !     $(YACC) -d -v $(srcdir)/web2c.yacc
  9367.   
  9368.   fixwrites: fixwrites.o
  9369.       $(CCLD) -o fixwrites $(LDFLAGS) fixwrites.o $(libs)
  9370. diff -rc --new-file unixtex-6.1b-base/web2c/web2c/splitup.c unixtex-6.1b/web2c/web2c/splitup.c
  9371. *** unixtex-6.1b-base/web2c/web2c/splitup.c    Tue May 25 18:41:18 1993
  9372. --- unixtex-6.1b/web2c/web2c/splitup.c    Sun Apr  2 21:14:26 1995
  9373. ***************
  9374. *** 24,30 ****
  9375.   char buffer[1024], filename[PATH_MAX];
  9376.   
  9377.   FILE *out, *ini, *temp;
  9378. ! FILE *in = stdin;
  9379.   
  9380.   
  9381.   int
  9382. --- 24,30 ----
  9383.   char buffer[1024], filename[PATH_MAX];
  9384.   
  9385.   FILE *out, *ini, *temp;
  9386. ! FILE *in /* = stdin */;
  9387.   
  9388.   
  9389.   int
  9390. ***************
  9391. *** 32,37 ****
  9392. --- 32,38 ----
  9393.     int argc;
  9394.     char *argv[];
  9395.   {
  9396. +     in = stdin;        /* stdin might not be a compile time constant */
  9397.       if (argc > 1)
  9398.       output_name = argv[1];
  9399.   
  9400. diff -rc --new-file unixtex-6.1b-base/web2c/web2c/web2c.h unixtex-6.1b/web2c/web2c/web2c.h
  9401. *** unixtex-6.1b-base/web2c/web2c/web2c.h    Fri May 14 18:20:48 1993
  9402. --- unixtex-6.1b/web2c/web2c/web2c.h    Sun Apr  2 16:26:02 1995
  9403. ***************
  9404. *** 56,59 ****
  9405. --- 56,61 ----
  9406.   extern void find_next_temp(), normal(), new_line(), indent_line(), my_output();
  9407.   extern void semicolon(), remove_locals(), mark(), initialize();
  9408.   extern int add_to_table(), search_table(), yyerror(), yylex(), yyparse();
  9409. + #ifndef alloca
  9410.   extern void *alloca();
  9411. + #endif
  9412. diff -rc --new-file unixtex-6.1b-base/xdvik/configure unixtex-6.1b/xdvik/configure
  9413. *** unixtex-6.1b-base/xdvik/configure    Fri Jan  6 14:53:00 1995
  9414. --- unixtex-6.1b/xdvik/configure    Mon Apr  3 21:44:08 1995
  9415. ***************
  9416. *** 9,15 ****
  9417.   
  9418.   # Defaults:
  9419.   ac_help=
  9420. ! ac_default_prefix=/usr/local
  9421.   # Any additions from configure.in:
  9422.   ac_help="$ac_help
  9423.     --with-x                use the X Window System"
  9424. --- 9,15 ----
  9425.   
  9426.   # Defaults:
  9427.   ac_help=
  9428. ! ac_default_prefix=/gnu
  9429.   # Any additions from configure.in:
  9430.   ac_help="$ac_help
  9431.     --with-x                use the X Window System"
  9432. ***************
  9433. *** 54,60 ****
  9434.     fi
  9435.   
  9436.     case "$ac_option" in
  9437. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  9438.     *) ac_optarg= ;;
  9439.     esac
  9440.   
  9441. --- 54,60 ----
  9442.     fi
  9443.   
  9444.     case "$ac_option" in
  9445. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  9446.     *) ac_optarg= ;;
  9447.     esac
  9448.   
  9449. ***************
  9450. *** 75,95 ****
  9451.       cache_file="$ac_optarg" ;;
  9452.   
  9453.     -disable-* | --disable-*)
  9454. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  9455.       # Reject names that are not valid shell variable names.
  9456. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  9457. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  9458.       fi
  9459. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  9460.       eval "enable_${ac_feature}=no" ;;
  9461.   
  9462.     -enable-* | --enable-*)
  9463. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  9464.       # Reject names that are not valid shell variable names.
  9465. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  9466. !       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  9467.       fi
  9468. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  9469.       case "$ac_option" in
  9470.         *=*) ;;
  9471.         *) ac_optarg=yes ;;
  9472. --- 75,95 ----
  9473.       cache_file="$ac_optarg" ;;
  9474.   
  9475.     -disable-* | --disable-*)
  9476. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  9477.       # Reject names that are not valid shell variable names.
  9478. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  9479. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  9480.       fi
  9481. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  9482.       eval "enable_${ac_feature}=no" ;;
  9483.   
  9484.     -enable-* | --enable-*)
  9485. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  9486.       # Reject names that are not valid shell variable names.
  9487. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  9488. !       { /bin/echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  9489.       fi
  9490. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  9491.       case "$ac_option" in
  9492.         *=*) ;;
  9493.         *) ac_optarg=yes ;;
  9494. ***************
  9495. *** 221,236 ****
  9496.       verbose=yes ;;
  9497.   
  9498.     -version | --version | --versio | --versi | --vers)
  9499. !     echo "configure generated by autoconf version 2.1"
  9500.       exit 0 ;;
  9501.   
  9502.     -with-* | --with-*)
  9503. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  9504.       # Reject names that are not valid shell variable names.
  9505. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  9506. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  9507.       fi
  9508. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  9509.       case "$ac_option" in
  9510.         *=*) ;;
  9511.         *) ac_optarg=yes ;;
  9512. --- 221,236 ----
  9513.       verbose=yes ;;
  9514.   
  9515.     -version | --version | --versio | --versi | --vers)
  9516. !     /bin/echo "configure generated by autoconf version 2.1"
  9517.       exit 0 ;;
  9518.   
  9519.     -with-* | --with-*)
  9520. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  9521.       # Reject names that are not valid shell variable names.
  9522. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  9523. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  9524.       fi
  9525. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  9526.       case "$ac_option" in
  9527.         *=*) ;;
  9528.         *) ac_optarg=yes ;;
  9529. ***************
  9530. *** 238,249 ****
  9531.       eval "with_${ac_package}='$ac_optarg'" ;;
  9532.   
  9533.     -without-* | --without-*)
  9534. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  9535.       # Reject names that are not valid shell variable names.
  9536. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  9537. !       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  9538.       fi
  9539. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  9540.       eval "with_${ac_package}=no" ;;
  9541.   
  9542.     --x)
  9543. --- 238,249 ----
  9544.       eval "with_${ac_package}='$ac_optarg'" ;;
  9545.   
  9546.     -without-* | --without-*)
  9547. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  9548.       # Reject names that are not valid shell variable names.
  9549. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  9550. !       { /bin/echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  9551.       fi
  9552. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  9553.       eval "with_${ac_package}=no" ;;
  9554.   
  9555.     --x)
  9556. ***************
  9557. *** 264,278 ****
  9558.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  9559.       x_libraries="$ac_optarg" ;;
  9560.   
  9561. !   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  9562.       ;;
  9563.   
  9564.     *) 
  9565. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  9566. !       echo "configure: warning: $ac_option: invalid host type" 1>&2
  9567.       fi
  9568.       if test "x$nonopt" != xNONE; then
  9569. !       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  9570.       fi
  9571.       nonopt="$ac_option"
  9572.       ;;
  9573. --- 264,278 ----
  9574.     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  9575.       x_libraries="$ac_optarg" ;;
  9576.   
  9577. !   -*) { /bin/echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  9578.       ;;
  9579.   
  9580.     *) 
  9581. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  9582. !       /bin/echo "configure: warning: $ac_option: invalid host type" 1>&2
  9583.       fi
  9584.       if test "x$nonopt" != xNONE; then
  9585. !       { /bin/echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  9586.       fi
  9587.       nonopt="$ac_option"
  9588.       ;;
  9589. ***************
  9590. *** 281,287 ****
  9591.   done
  9592.   
  9593.   if test -n "$ac_prev"; then
  9594. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  9595.   fi
  9596.   
  9597.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  9598. --- 281,287 ----
  9599.   done
  9600.   
  9601.   if test -n "$ac_prev"; then
  9602. !   { /bin/echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  9603.   fi
  9604.   
  9605.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  9606. ***************
  9607. *** 300,306 ****
  9608.   fi
  9609.   exec 5>./config.log
  9610.   
  9611. ! echo "\
  9612.   This file contains any messages produced by compilers while
  9613.   running configure, to aid debugging if configure makes a mistake.
  9614.   " 1>&5
  9615. --- 300,306 ----
  9616.   fi
  9617.   exec 5>./config.log
  9618.   
  9619. ! /bin/echo "\
  9620.   This file contains any messages produced by compilers while
  9621.   running configure, to aid debugging if configure makes a mistake.
  9622.   " 1>&5
  9623. ***************
  9624. *** 331,337 ****
  9625.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  9626.   rm -rf conftest* confdefs.h
  9627.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  9628. ! echo > confdefs.h
  9629.   
  9630.   # A filename unique to this package, relative to the directory that
  9631.   # configure is in, which we can look for to find out if srcdir is correct.
  9632. --- 331,337 ----
  9633.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  9634.   rm -rf conftest* confdefs.h
  9635.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  9636. ! /bin/echo > confdefs.h
  9637.   
  9638.   # A filename unique to this package, relative to the directory that
  9639.   # configure is in, which we can look for to find out if srcdir is correct.
  9640. ***************
  9641. *** 342,348 ****
  9642.     ac_srcdir_defaulted=yes
  9643.     # Try the directory containing this script, then its parent.
  9644.     ac_prog=$0
  9645. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  9646.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  9647.     srcdir=$ac_confdir
  9648.     if test ! -r $srcdir/$ac_unique_file; then
  9649. --- 342,348 ----
  9650.     ac_srcdir_defaulted=yes
  9651.     # Try the directory containing this script, then its parent.
  9652.     ac_prog=$0
  9653. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  9654.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  9655.     srcdir=$ac_confdir
  9656.     if test ! -r $srcdir/$ac_unique_file; then
  9657. ***************
  9658. *** 353,364 ****
  9659.   fi
  9660.   if test ! -r $srcdir/$ac_unique_file; then
  9661.     if test "$ac_srcdir_defaulted" = yes; then
  9662. !     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  9663.     else
  9664. !     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  9665.     fi
  9666.   fi
  9667. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  9668.   
  9669.   # Prefer explicitly selected file to automatically selected ones.
  9670.   if test -z "$CONFIG_SITE"; then
  9671. --- 353,364 ----
  9672.   fi
  9673.   if test ! -r $srcdir/$ac_unique_file; then
  9674.     if test "$ac_srcdir_defaulted" = yes; then
  9675. !     { /bin/echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  9676.     else
  9677. !     { /bin/echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  9678.     fi
  9679.   fi
  9680. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  9681.   
  9682.   # Prefer explicitly selected file to automatically selected ones.
  9683.   if test -z "$CONFIG_SITE"; then
  9684. ***************
  9685. *** 370,385 ****
  9686.   fi
  9687.   for ac_site_file in $CONFIG_SITE; do
  9688.     if test -r "$ac_site_file"; then
  9689. !     echo "loading site script $ac_site_file"
  9690.       . "$ac_site_file"
  9691.     fi
  9692.   done
  9693.   
  9694.   if test -r "$cache_file"; then
  9695. !   echo "loading cache $cache_file"
  9696.     . $cache_file
  9697.   else
  9698. !   echo "creating cache $cache_file"
  9699.     > $cache_file
  9700.   fi
  9701.   
  9702. --- 370,385 ----
  9703.   fi
  9704.   for ac_site_file in $CONFIG_SITE; do
  9705.     if test -r "$ac_site_file"; then
  9706. !     /bin/echo "loading site script $ac_site_file"
  9707.       . "$ac_site_file"
  9708.     fi
  9709.   done
  9710.   
  9711.   if test -r "$cache_file"; then
  9712. !   /bin/echo "loading cache $cache_file"
  9713.     . $cache_file
  9714.   else
  9715. !   /bin/echo "creating cache $cache_file"
  9716.     > $cache_file
  9717.   fi
  9718.   
  9719. ***************
  9720. *** 389,397 ****
  9721.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  9722.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  9723.   
  9724. ! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  9725.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  9726. !   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  9727.       ac_n= ac_c='
  9728.   ' ac_t='    '
  9729.     else
  9730. --- 389,397 ----
  9731.   ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  9732.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  9733.   
  9734. ! if (/bin/echo "testing\c"; /bin/echo 1,2,3) | grep c >/dev/null; then
  9735.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  9736. !   if (/bin/echo -n testing; /bin/echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  9737.       ac_n= ac_c='
  9738.   ' ac_t='    '
  9739.     else
  9740. ***************
  9741. *** 406,419 ****
  9742.   
  9743.   
  9744.   
  9745. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  9746.   set dummy ${MAKE-make}; ac_make=$2
  9747. ! if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  9748. !   echo $ac_n "(cached) $ac_c" 1>&4
  9749.   else
  9750.     cat > conftestmake <<\EOF
  9751.   all:
  9752. !     @echo 'ac_maketemp="${MAKE}"'
  9753.   EOF
  9754.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  9755.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  9756. --- 406,419 ----
  9757.   
  9758.   
  9759.   
  9760. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  9761.   set dummy ${MAKE-make}; ac_make=$2
  9762. ! if eval "test \"`/bin/echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  9763. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9764.   else
  9765.     cat > conftestmake <<\EOF
  9766.   all:
  9767. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  9768.   EOF
  9769.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  9770.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  9771. ***************
  9772. *** 424,443 ****
  9773.   fi
  9774.   rm -f conftestmake
  9775.   fi
  9776. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  9777. !   echo "$ac_t""yes" 1>&4
  9778.     SET_MAKE=
  9779.   else
  9780. !   echo "$ac_t""no" 1>&4
  9781.     SET_MAKE="MAKE=${MAKE-make}"
  9782.   fi
  9783.   
  9784.   
  9785.   # Extract the first word of "gcc", so it can be a program name with args.
  9786.   set dummy gcc; ac_word=$2
  9787. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  9788. ! if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  9789. !   echo $ac_n "(cached) $ac_c" 1>&4
  9790.   else
  9791.     if test -n "$CC"; then
  9792.     ac_cv_prog_CC="$CC" # Let the user override the test.
  9793. --- 424,443 ----
  9794.   fi
  9795.   rm -f conftestmake
  9796.   fi
  9797. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  9798. !   /bin/echo "$ac_t""yes" 1>&4
  9799.     SET_MAKE=
  9800.   else
  9801. !   /bin/echo "$ac_t""no" 1>&4
  9802.     SET_MAKE="MAKE=${MAKE-make}"
  9803.   fi
  9804.   
  9805.   
  9806.   # Extract the first word of "gcc", so it can be a program name with args.
  9807.   set dummy gcc; ac_word=$2
  9808. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  9809. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  9810. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9811.   else
  9812.     if test -n "$CC"; then
  9813.     ac_cv_prog_CC="$CC" # Let the user override the test.
  9814. ***************
  9815. *** 456,470 ****
  9816.   fi
  9817.   CC="$ac_cv_prog_CC"
  9818.   if test -n "$CC"; then
  9819. !   echo "$ac_t""$CC" 1>&4
  9820.   else
  9821. !   echo "$ac_t""no" 1>&4
  9822.   fi
  9823.   
  9824.   
  9825. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  9826. ! if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  9827. !   echo $ac_n "(cached) $ac_c" 1>&4
  9828.   else
  9829.     cat > conftest.c <<EOF
  9830.   #ifdef __GNUC__
  9831. --- 456,470 ----
  9832.   fi
  9833.   CC="$ac_cv_prog_CC"
  9834.   if test -n "$CC"; then
  9835. !   /bin/echo "$ac_t""$CC" 1>&4
  9836.   else
  9837. !   /bin/echo "$ac_t""no" 1>&4
  9838.   fi
  9839.   
  9840.   
  9841. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  9842. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  9843. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9844.   else
  9845.     cat > conftest.c <<EOF
  9846.   #ifdef __GNUC__
  9847. ***************
  9848. *** 477,491 ****
  9849.     ac_cv_prog_gcc=no
  9850.   fi
  9851.   fi
  9852. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  9853.   if test $ac_cv_prog_gcc = yes; then
  9854.     GCC=yes
  9855.     if test "${CFLAGS+set}" != set; then
  9856. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  9857. ! if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  9858. !   echo $ac_n "(cached) $ac_c" 1>&4
  9859.   else
  9860. !   echo 'void f(){}' > conftest.c
  9861.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  9862.     ac_cv_prog_gcc_g=yes
  9863.   else
  9864. --- 477,491 ----
  9865.     ac_cv_prog_gcc=no
  9866.   fi
  9867.   fi
  9868. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  9869.   if test $ac_cv_prog_gcc = yes; then
  9870.     GCC=yes
  9871.     if test "${CFLAGS+set}" != set; then
  9872. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  9873. ! if eval "test \"`/bin/echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  9874. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9875.   else
  9876. !   /bin/echo 'void f(){}' > conftest.c
  9877.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  9878.     ac_cv_prog_gcc_g=yes
  9879.   else
  9880. ***************
  9881. *** 494,500 ****
  9882.   rm -f conftest*
  9883.   
  9884.   fi
  9885. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  9886.       if test $ac_cv_prog_gcc_g = yes; then
  9887.         CFLAGS="-g -O"
  9888.       else
  9889. --- 494,500 ----
  9890.   rm -f conftest*
  9891.   
  9892.   fi
  9893. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  9894.       if test $ac_cv_prog_gcc_g = yes; then
  9895.         CFLAGS="-g -O"
  9896.       else
  9897. ***************
  9898. *** 519,525 ****
  9899.     fi
  9900.   done
  9901.   if test -z "$ac_aux_dir"; then
  9902. !   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  9903.   fi
  9904.   ac_config_guess=$ac_aux_dir/config.guess
  9905.   ac_config_sub=$ac_aux_dir/config.sub
  9906. --- 519,525 ----
  9907.     fi
  9908.   done
  9909.   if test -z "$ac_aux_dir"; then
  9910. !   { /bin/echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  9911.   fi
  9912.   ac_config_guess=$ac_aux_dir/config.guess
  9913.   ac_config_sub=$ac_aux_dir/config.sub
  9914. ***************
  9915. *** 535,549 ****
  9916.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  9917.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  9918.   # ./install, which can be erroneously created by make from ./install.sh.
  9919. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  9920.   if test -z "$INSTALL"; then
  9921. ! if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  9922. !   echo $ac_n "(cached) $ac_c" 1>&4
  9923.   else
  9924.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  9925.     for ac_dir in $PATH; do
  9926.       case "$ac_dir" in
  9927. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  9928.       *)
  9929.         # OSF1 and SCO ODT 3.0 have their own names for install.
  9930.         for ac_prog in ginstall installbsd scoinst install; do
  9931. --- 535,550 ----
  9932.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  9933.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  9934.   # ./install, which can be erroneously created by make from ./install.sh.
  9935. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  9936. ! INSTALL="/bin/install -c"
  9937.   if test -z "$INSTALL"; then
  9938. ! if eval "test \"`/bin/echo '${'ac_cv_path_install'+set}'`\" = set"; then
  9939. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9940.   else
  9941.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  9942.     for ac_dir in $PATH; do
  9943.       case "$ac_dir" in
  9944. !     ''|.|/bin) ;;
  9945.       *)
  9946.         # OSF1 and SCO ODT 3.0 have their own names for install.
  9947.         for ac_prog in ginstall installbsd scoinst install; do
  9948. ***************
  9949. *** 568,574 ****
  9950.   fi
  9951.     INSTALL="$ac_cv_path_install"
  9952.   fi
  9953. ! echo "$ac_t""$INSTALL" 1>&4
  9954.   
  9955.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  9956.   # It thinks the first close brace ends the variable substitution.
  9957. --- 569,575 ----
  9958.   fi
  9959.     INSTALL="$ac_cv_path_install"
  9960.   fi
  9961. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  9962.   
  9963.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  9964.   # It thinks the first close brace ends the variable substitution.
  9965. ***************
  9966. *** 578,586 ****
  9967.   
  9968.   # Extract the first word of "ranlib", so it can be a program name with args.
  9969.   set dummy ranlib; ac_word=$2
  9970. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  9971. ! if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  9972. !   echo $ac_n "(cached) $ac_c" 1>&4
  9973.   else
  9974.     if test -n "$RANLIB"; then
  9975.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  9976. --- 579,587 ----
  9977.   
  9978.   # Extract the first word of "ranlib", so it can be a program name with args.
  9979.   set dummy ranlib; ac_word=$2
  9980. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  9981. ! if eval "test \"`/bin/echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  9982. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  9983.   else
  9984.     if test -n "$RANLIB"; then
  9985.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  9986. ***************
  9987. *** 599,615 ****
  9988.   fi
  9989.   RANLIB="$ac_cv_prog_RANLIB"
  9990.   if test -n "$RANLIB"; then
  9991. !   echo "$ac_t""$RANLIB" 1>&4
  9992.   else
  9993. !   echo "$ac_t""no" 1>&4
  9994.   fi
  9995.   
  9996.   
  9997. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  9998.   if test -d /etc/conf/kconfig.d &&
  9999. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  10000.   then
  10001. !   echo "$ac_t""yes" 1>&4
  10002.     ISC=yes # If later tests want to check for ISC.
  10003.     cat >> confdefs.h <<\EOF
  10004.   #define _POSIX_SOURCE 1
  10005. --- 600,616 ----
  10006.   fi
  10007.   RANLIB="$ac_cv_prog_RANLIB"
  10008.   if test -n "$RANLIB"; then
  10009. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  10010.   else
  10011. !   /bin/echo "$ac_t""no" 1>&4
  10012.   fi
  10013.   
  10014.   
  10015. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  10016.   if test -d /etc/conf/kconfig.d &&
  10017. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  10018.   then
  10019. !   /bin/echo "$ac_t""yes" 1>&4
  10020.     ISC=yes # If later tests want to check for ISC.
  10021.     cat >> confdefs.h <<\EOF
  10022.   #define _POSIX_SOURCE 1
  10023. ***************
  10024. *** 621,627 ****
  10025.       CC="$CC -Xp"
  10026.     fi
  10027.   else
  10028. !   echo "$ac_t""no" 1>&4
  10029.     ISC=
  10030.   fi
  10031.   
  10032. --- 622,628 ----
  10033.       CC="$CC -Xp"
  10034.     fi
  10035.   else
  10036. !   /bin/echo "$ac_t""no" 1>&4
  10037.     ISC=
  10038.   fi
  10039.   
  10040. ***************
  10041. *** 629,638 ****
  10042.   ac_header_dirent=no
  10043.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  10044.   do
  10045. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  10046. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  10047. ! if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  10048. !   echo $ac_n "(cached) $ac_c" 1>&4
  10049.   else
  10050.     cat > conftest.$ac_ext <<EOF
  10051.   #line 639 "configure"
  10052. --- 630,639 ----
  10053.   ac_header_dirent=no
  10054.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  10055.   do
  10056. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  10057. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  10058. ! if eval "test \"`/bin/echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  10059. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10060.   else
  10061.     cat > conftest.$ac_ext <<EOF
  10062.   #line 639 "configure"
  10063. ***************
  10064. *** 654,675 ****
  10065.   rm -f conftest*
  10066.   
  10067.   fi
  10068. ! if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  10069. !   echo "$ac_t""yes" 1>&4
  10070. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  10071.     cat >> confdefs.h <<EOF
  10072.   #define $ac_tr_hdr 1
  10073.   EOF
  10074.    ac_header_dirent=$ac_hdr; break
  10075.   else
  10076. !   echo "$ac_t""no" 1>&4
  10077.   fi
  10078.   done
  10079.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  10080.   if test $ac_header_dirent = dirent.h; then
  10081. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  10082. ! if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  10083. !   echo $ac_n "(cached) $ac_c" 1>&4
  10084.   else
  10085.     ac_save_LIBS="$LIBS"
  10086.   LIBS="$LIBS -ldir "
  10087. --- 655,676 ----
  10088.   rm -f conftest*
  10089.   
  10090.   fi
  10091. ! if eval "test \"`/bin/echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  10092. !   /bin/echo "$ac_t""yes" 1>&4
  10093. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  10094.     cat >> confdefs.h <<EOF
  10095.   #define $ac_tr_hdr 1
  10096.   EOF
  10097.    ac_header_dirent=$ac_hdr; break
  10098.   else
  10099. !   /bin/echo "$ac_t""no" 1>&4
  10100.   fi
  10101.   done
  10102.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  10103.   if test $ac_header_dirent = dirent.h; then
  10104. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  10105. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  10106. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10107.   else
  10108.     ac_save_LIBS="$LIBS"
  10109.   LIBS="$LIBS -ldir "
  10110. ***************
  10111. *** 693,709 ****
  10112.   LIBS="$ac_save_LIBS"
  10113.   
  10114.   fi
  10115. ! if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  10116. !   echo "$ac_t""yes" 1>&4
  10117.     LIBS="$LIBS -ldir"
  10118.   else
  10119. !   echo "$ac_t""no" 1>&4
  10120.   fi
  10121.   
  10122.   else
  10123. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  10124. ! if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  10125. !   echo $ac_n "(cached) $ac_c" 1>&4
  10126.   else
  10127.     ac_save_LIBS="$LIBS"
  10128.   LIBS="$LIBS -lx "
  10129. --- 694,710 ----
  10130.   LIBS="$ac_save_LIBS"
  10131.   
  10132.   fi
  10133. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dir`\" = yes"; then
  10134. !   /bin/echo "$ac_t""yes" 1>&4
  10135.     LIBS="$LIBS -ldir"
  10136.   else
  10137. !   /bin/echo "$ac_t""no" 1>&4
  10138.   fi
  10139.   
  10140.   else
  10141. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  10142. ! if eval "test \"`/bin/echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  10143. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10144.   else
  10145.     ac_save_LIBS="$LIBS"
  10146.   LIBS="$LIBS -lx "
  10147. ***************
  10148. *** 727,749 ****
  10149.   LIBS="$ac_save_LIBS"
  10150.   
  10151.   fi
  10152. ! if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  10153. !   echo "$ac_t""yes" 1>&4
  10154.     LIBS="$LIBS -lx"
  10155.   else
  10156. !   echo "$ac_t""no" 1>&4
  10157.   fi
  10158.   
  10159.   fi
  10160.   
  10161. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  10162.   # On Suns, sometimes $CPP names a directory.
  10163.   if test -n "$CPP" && test -d "$CPP"; then
  10164.     CPP=
  10165.   fi
  10166.   if test -z "$CPP"; then
  10167. ! if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  10168. !   echo $ac_n "(cached) $ac_c" 1>&4
  10169.   else
  10170.       # This must be in double quotes, not single quotes, because CPP may get
  10171.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  10172. --- 728,750 ----
  10173.   LIBS="$ac_save_LIBS"
  10174.   
  10175.   fi
  10176. ! if eval "test \"`/bin/echo '$ac_cv_lib_'x`\" = yes"; then
  10177. !   /bin/echo "$ac_t""yes" 1>&4
  10178.     LIBS="$LIBS -lx"
  10179.   else
  10180. !   /bin/echo "$ac_t""no" 1>&4
  10181.   fi
  10182.   
  10183.   fi
  10184.   
  10185. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  10186.   # On Suns, sometimes $CPP names a directory.
  10187.   if test -n "$CPP" && test -d "$CPP"; then
  10188.     CPP=
  10189.   fi
  10190.   if test -z "$CPP"; then
  10191. ! if eval "test \"`/bin/echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  10192. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10193.   else
  10194.       # This must be in double quotes, not single quotes, because CPP may get
  10195.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  10196. ***************
  10197. *** 761,767 ****
  10198.   if test -z "$ac_err"; then
  10199.     :
  10200.   else
  10201. !   echo "$ac_err" >&5
  10202.     rm -rf conftest*
  10203.     CPP="${CC-cc} -E -traditional-cpp"
  10204.     cat > conftest.$ac_ext <<EOF
  10205. --- 762,768 ----
  10206.   if test -z "$ac_err"; then
  10207.     :
  10208.   else
  10209. !   /bin/echo "$ac_err" >&5
  10210.     rm -rf conftest*
  10211.     CPP="${CC-cc} -E -traditional-cpp"
  10212.     cat > conftest.$ac_ext <<EOF
  10213. ***************
  10214. *** 775,781 ****
  10215.   if test -z "$ac_err"; then
  10216.     :
  10217.   else
  10218. !   echo "$ac_err" >&5
  10219.     rm -rf conftest*
  10220.     CPP=/lib/cpp
  10221.   fi
  10222. --- 776,782 ----
  10223.   if test -z "$ac_err"; then
  10224.     :
  10225.   else
  10226. !   /bin/echo "$ac_err" >&5
  10227.     rm -rf conftest*
  10228.     CPP=/lib/cpp
  10229.   fi
  10230. ***************
  10231. *** 786,797 ****
  10232.   fi
  10233.   fi
  10234.   CPP="$ac_cv_prog_CPP"
  10235. ! echo "$ac_t""$CPP" 1>&4
  10236.   
  10237.   # If we cannot run a trivial program, we must be cross compiling.
  10238. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  10239. ! if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  10240. !   echo $ac_n "(cached) $ac_c" 1>&4
  10241.   else
  10242.     if test "$cross_compiling" = yes; then
  10243.     ac_cv_cross=yes
  10244. --- 787,798 ----
  10245.   fi
  10246.   fi
  10247.   CPP="$ac_cv_prog_CPP"
  10248. ! /bin/echo "$ac_t""$CPP" 1>&4
  10249.   
  10250.   # If we cannot run a trivial program, we must be cross compiling.
  10251. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  10252. ! if eval "test \"`/bin/echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  10253. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10254.   else
  10255.     if test "$cross_compiling" = yes; then
  10256.     ac_cv_cross=yes
  10257. ***************
  10258. *** 811,821 ****
  10259.   rm -fr conftest*
  10260.   fi
  10261.   cross_compiling=$ac_cv_c_cross
  10262. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  10263.   
  10264. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  10265. ! if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  10266. !   echo $ac_n "(cached) $ac_c" 1>&4
  10267.   else
  10268.     cat > conftest.$ac_ext <<EOF
  10269.   #line 822 "configure"
  10270. --- 812,822 ----
  10271.   rm -fr conftest*
  10272.   fi
  10273.   cross_compiling=$ac_cv_c_cross
  10274. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  10275.   
  10276. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  10277. ! if eval "test \"`/bin/echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  10278. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10279.   else
  10280.     cat > conftest.$ac_ext <<EOF
  10281.   #line 822 "configure"
  10282. ***************
  10283. *** 831,837 ****
  10284.     rm -rf conftest*
  10285.     ac_cv_header_stdc=yes
  10286.   else
  10287. !   echo "$ac_err" >&5
  10288.     rm -rf conftest*
  10289.     ac_cv_header_stdc=no
  10290.   fi
  10291. --- 832,838 ----
  10292.     rm -rf conftest*
  10293.     ac_cv_header_stdc=yes
  10294.   else
  10295. !   /bin/echo "$ac_err" >&5
  10296.     rm -rf conftest*
  10297.     ac_cv_header_stdc=no
  10298.   fi
  10299. ***************
  10300. *** 900,906 ****
  10301.   rm -fr conftest*
  10302.   fi
  10303.   fi
  10304. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  10305.   if test $ac_cv_header_stdc = yes; then
  10306.     cat >> confdefs.h <<\EOF
  10307.   #define STDC_HEADERS 1
  10308. --- 901,907 ----
  10309.   rm -fr conftest*
  10310.   fi
  10311.   fi
  10312. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  10313.   if test $ac_cv_header_stdc = yes; then
  10314.     cat >> confdefs.h <<\EOF
  10315.   #define STDC_HEADERS 1
  10316. ***************
  10317. *** 908,919 ****
  10318.   
  10319.   fi
  10320.   
  10321. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  10322. ! if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  10323. !   echo $ac_n "(cached) $ac_c" 1>&4
  10324.   else
  10325.     if test "$cross_compiling" = yes; then
  10326. !     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  10327.   else
  10328.   cat > conftest.$ac_ext <<EOF
  10329.   #line 920 "configure"
  10330. --- 909,920 ----
  10331.   
  10332.   fi
  10333.   
  10334. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  10335. ! if eval "test \"`/bin/echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  10336. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10337.   else
  10338.     if test "$cross_compiling" = yes; then
  10339. !     { /bin/echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  10340.   else
  10341.   cat > conftest.$ac_ext <<EOF
  10342.   #line 920 "configure"
  10343. ***************
  10344. *** 931,937 ****
  10345.   fi
  10346.   rm -fr conftest*
  10347.   fi
  10348. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  10349.   if test $ac_cv_func_closedir_void = yes; then
  10350.     cat >> confdefs.h <<\EOF
  10351.   #define CLOSEDIR_VOID 1
  10352. --- 932,938 ----
  10353.   fi
  10354.   rm -fr conftest*
  10355.   fi
  10356. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  10357.   if test $ac_cv_func_closedir_void = yes; then
  10358.     cat >> confdefs.h <<\EOF
  10359.   #define CLOSEDIR_VOID 1
  10360. ***************
  10361. *** 942,951 ****
  10362.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  10363.                    string.h unistd.h
  10364.   do
  10365. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  10366. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  10367. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  10368. !   echo $ac_n "(cached) $ac_c" 1>&4
  10369.   else
  10370.     cat > conftest.$ac_ext <<EOF
  10371.   #line 952 "configure"
  10372. --- 943,952 ----
  10373.   for ac_hdr in assert.h float.h limits.h memory.h pwd.h stdlib.h \
  10374.                    string.h unistd.h
  10375.   do
  10376. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  10377. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  10378. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  10379. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10380.   else
  10381.     cat > conftest.$ac_ext <<EOF
  10382.   #line 952 "configure"
  10383. ***************
  10384. *** 958,987 ****
  10385.     rm -rf conftest*
  10386.     eval "ac_cv_header_$ac_safe=yes"
  10387.   else
  10388. !   echo "$ac_err" >&5
  10389.     rm -rf conftest*
  10390.     eval "ac_cv_header_$ac_safe=no"
  10391.   fi
  10392.   rm -f conftest*
  10393.   fi
  10394. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  10395. !   echo "$ac_t""yes" 1>&4
  10396. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  10397.     cat >> confdefs.h <<EOF
  10398.   #define $ac_tr_hdr 1
  10399.   EOF
  10400.    
  10401.   else
  10402. !   echo "$ac_t""no" 1>&4
  10403.   fi
  10404.   done
  10405.   
  10406.   
  10407.   for ac_func in basename bcopy memmove putenv
  10408.   do
  10409. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  10410. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  10411. !   echo $ac_n "(cached) $ac_c" 1>&4
  10412.   else
  10413.     cat > conftest.$ac_ext <<EOF
  10414.   #line 988 "configure"
  10415. --- 959,988 ----
  10416.     rm -rf conftest*
  10417.     eval "ac_cv_header_$ac_safe=yes"
  10418.   else
  10419. !   /bin/echo "$ac_err" >&5
  10420.     rm -rf conftest*
  10421.     eval "ac_cv_header_$ac_safe=no"
  10422.   fi
  10423.   rm -f conftest*
  10424.   fi
  10425. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  10426. !   /bin/echo "$ac_t""yes" 1>&4
  10427. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  10428.     cat >> confdefs.h <<EOF
  10429.   #define $ac_tr_hdr 1
  10430.   EOF
  10431.    
  10432.   else
  10433. !   /bin/echo "$ac_t""no" 1>&4
  10434.   fi
  10435.   done
  10436.   
  10437.   
  10438.   for ac_func in basename bcopy memmove putenv
  10439.   do
  10440. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  10441. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  10442. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10443.   else
  10444.     cat > conftest.$ac_ext <<EOF
  10445.   #line 988 "configure"
  10446. ***************
  10447. *** 1014,1035 ****
  10448.   rm -f conftest*
  10449.   
  10450.   fi
  10451. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  10452. !   echo "$ac_t""yes" 1>&4
  10453. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  10454.     cat >> confdefs.h <<EOF
  10455.   #define $ac_tr_func 1
  10456.   EOF
  10457.    
  10458.   else
  10459. !   echo "$ac_t""no" 1>&4
  10460.   fi
  10461.   done
  10462.   
  10463.   
  10464. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  10465. ! if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  10466. !   echo $ac_n "(cached) $ac_c" 1>&4
  10467.   else
  10468.     cat > conftest.$ac_ext <<EOF
  10469.   #line 1036 "configure"
  10470. --- 1015,1036 ----
  10471.   rm -f conftest*
  10472.   
  10473.   fi
  10474. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  10475. !   /bin/echo "$ac_t""yes" 1>&4
  10476. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  10477.     cat >> confdefs.h <<EOF
  10478.   #define $ac_tr_func 1
  10479.   EOF
  10480.    
  10481.   else
  10482. !   /bin/echo "$ac_t""no" 1>&4
  10483.   fi
  10484.   done
  10485.   
  10486.   
  10487. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  10488. ! if eval "test \"`/bin/echo '${'ac_cv_c_const'+set}'`\" = set"; then
  10489. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10490.   else
  10491.     cat > conftest.$ac_ext <<EOF
  10492.   #line 1036 "configure"
  10493. ***************
  10494. *** 1092,1098 ****
  10495.   rm -f conftest*
  10496.   
  10497.   fi
  10498. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  10499.   if test $ac_cv_c_const = no; then
  10500.     cat >> confdefs.h <<\EOF
  10501.   #define const 
  10502. --- 1093,1099 ----
  10503.   rm -f conftest*
  10504.   
  10505.   fi
  10506. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  10507.   if test $ac_cv_c_const = no; then
  10508.     cat >> confdefs.h <<\EOF
  10509.   #define const 
  10510. ***************
  10511. *** 1103,1111 ****
  10512.   
  10513.   
  10514.   # This is a GNU libc invention.
  10515. ! echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  10516. ! if eval "test \"`echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  10517. !   echo $ac_n "(cached) $ac_c" 1>&4
  10518.   else
  10519.     cat > conftest.$ac_ext <<EOF
  10520.   #line 1112 "configure"
  10521. --- 1104,1112 ----
  10522.   
  10523.   
  10524.   # This is a GNU libc invention.
  10525. ! /bin/echo $ac_n "checking whether program_invocation_name is predefined""... $ac_c" 1>&4
  10526. ! if eval "test \"`/bin/echo '${'kb_cv_var_program_inv_name'+set}'`\" = set"; then
  10527. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10528.   else
  10529.     cat > conftest.$ac_ext <<EOF
  10530.   #line 1112 "configure"
  10531. ***************
  10532. *** 1126,1132 ****
  10533.   rm -f conftest*
  10534.   
  10535.   fi
  10536. ! echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  10537.   if test $kb_cv_var_program_inv_name = yes; then
  10538.     cat >> confdefs.h <<\EOF
  10539.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  10540. --- 1127,1133 ----
  10541.   rm -f conftest*
  10542.   
  10543.   fi
  10544. ! /bin/echo "$ac_t""$kb_cv_var_program_inv_name" 1>&4
  10545.   if test $kb_cv_var_program_inv_name = yes; then
  10546.     cat >> confdefs.h <<\EOF
  10547.   #define HAVE_PROGRAM_INVOCATION_NAME 1
  10548. ***************
  10549. *** 1139,1147 ****
  10550.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  10551.   # We don't actually need to run this if we don't have putenv, but it
  10552.   # doesn't hurt.
  10553. ! echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  10554. ! if eval "test \"`echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  10555. !   echo $ac_n "(cached) $ac_c" 1>&4
  10556.   else
  10557.     if test "$cross_compiling" = yes; then
  10558.     kb_cv_func_putenv_malloc=no
  10559. --- 1140,1148 ----
  10560.   # This test program is due to Mike Hibler <mike@cs.utah.edu>.
  10561.   # We don't actually need to run this if we don't have putenv, but it
  10562.   # doesn't hurt.
  10563. ! /bin/echo $ac_n "checking whether putenv uses malloc""... $ac_c" 1>&4
  10564. ! if eval "test \"`/bin/echo '${'kb_cv_func_putenv_malloc'+set}'`\" = set"; then
  10565. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10566.   else
  10567.     if test "$cross_compiling" = yes; then
  10568.     kb_cv_func_putenv_malloc=no
  10569. ***************
  10570. *** 1209,1215 ****
  10571.   fi
  10572.   rm -fr conftest*
  10573.   fi
  10574. ! echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  10575.   if test $kb_cv_func_putenv_malloc = yes; then
  10576.     cat >> confdefs.h <<\EOF
  10577.   #define SMART_PUTENV 1
  10578. --- 1210,1216 ----
  10579.   fi
  10580.   rm -fr conftest*
  10581.   fi
  10582. ! /bin/echo "$ac_t""$kb_cv_func_putenv_malloc" 1>&4
  10583.   if test $kb_cv_func_putenv_malloc = yes; then
  10584.     cat >> confdefs.h <<\EOF
  10585.   #define SMART_PUTENV 1
  10586. ***************
  10587. *** 1222,1228 ****
  10588.   # paths, otherwise set no_x=yes.
  10589.   # Uses ac_ vars as temps to allow command line to override cache and checks.
  10590.   # --without-x overrides everything else, but does not touch the cache.
  10591. ! echo $ac_n "checking for X""... $ac_c" 1>&4
  10592.   
  10593.   # Check whether --with-x or --without-x was given.
  10594.   withval="$with_x"
  10595. --- 1223,1229 ----
  10596.   # paths, otherwise set no_x=yes.
  10597.   # Uses ac_ vars as temps to allow command line to override cache and checks.
  10598.   # --without-x overrides everything else, but does not touch the cache.
  10599. ! /bin/echo $ac_n "checking for X""... $ac_c" 1>&4
  10600.   
  10601.   # Check whether --with-x or --without-x was given.
  10602.   withval="$with_x"
  10603. ***************
  10604. *** 1236,1243 ****
  10605.     if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  10606.       no_x=
  10607.     else
  10608. ! if eval "test \"`echo '${'ac_cv_path_x'+set}'`\" = set"; then
  10609. !   echo $ac_n "(cached) $ac_c" 1>&4
  10610.   else
  10611.     # One or both of the vars are not set, and there is no cached value.
  10612.   no_x=yes
  10613. --- 1237,1244 ----
  10614.     if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  10615.       no_x=
  10616.     else
  10617. ! if eval "test \"`/bin/echo '${'ac_cv_path_x'+set}'`\" = set"; then
  10618. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10619.   else
  10620.     # One or both of the vars are not set, and there is no cached value.
  10621.   no_x=yes
  10622. ***************
  10623. *** 1247,1253 ****
  10624.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  10625.     cat > Imakefile <<'EOF'
  10626.   acfindx:
  10627. !     @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  10628.   EOF
  10629.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  10630.       no_x=
  10631. --- 1248,1254 ----
  10632.     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  10633.     cat > Imakefile <<'EOF'
  10634.   acfindx:
  10635. !     @/bin/echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  10636.   EOF
  10637.     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  10638.       no_x=
  10639. ***************
  10640. *** 1259,1273 ****
  10641.         ac_im_usrlibdir=$ac_im_libdir
  10642.       fi
  10643.       case "$ac_im_incroot" in
  10644. !     /usr/include) ;;
  10645.       *) ac_x_includes="$ac_im_incroot" ;;
  10646.       esac
  10647.       case "$ac_im_usrlibdir" in
  10648. !     /usr/lib | /lib) ;;
  10649.       *) ac_x_libraries="$ac_im_usrlibdir" ;;
  10650.       esac
  10651.     fi
  10652.     cd ..
  10653.     rm -fr conftestdir
  10654.   fi
  10655.   
  10656. --- 1260,1276 ----
  10657.         ac_im_usrlibdir=$ac_im_libdir
  10658.       fi
  10659.       case "$ac_im_incroot" in
  10660. !     /gnu/include) ;;
  10661.       *) ac_x_includes="$ac_im_incroot" ;;
  10662.       esac
  10663.       case "$ac_im_usrlibdir" in
  10664. !     /gnu/lib | /lib) ;;
  10665.       *) ac_x_libraries="$ac_im_usrlibdir" ;;
  10666.       esac
  10667.     fi
  10668.     cd ..
  10669. + # AmigaDOS hack, avoid race condition, wait for lock to clear
  10670. +   sleep 5
  10671.     rm -fr conftestdir
  10672.   fi
  10673.   
  10674. ***************
  10675. *** 1286,1328 ****
  10676.     rm -rf conftest*
  10677.     no_x= ac_x_includes=
  10678.   else
  10679. !   echo "$ac_err" >&5
  10680.     rm -rf conftest*
  10681.       for ac_dir in               \
  10682. !     /usr/X11R6/include        \
  10683. !     /usr/X11R5/include        \
  10684. !     /usr/X11R4/include        \
  10685.                                 \
  10686. !     /usr/include/X11R6        \
  10687. !     /usr/include/X11R5        \
  10688. !     /usr/include/X11R4        \
  10689.                                 \
  10690. !     /usr/local/X11R6/include  \
  10691. !     /usr/local/X11R5/include  \
  10692. !     /usr/local/X11R4/include  \
  10693.                                 \
  10694. !     /usr/local/include/X11R6  \
  10695. !     /usr/local/include/X11R5  \
  10696. !     /usr/local/include/X11R4  \
  10697.                                 \
  10698. !     /usr/X11/include          \
  10699. !     /usr/include/X11          \
  10700. !     /usr/local/X11/include    \
  10701. !     /usr/local/include/X11    \
  10702.                                 \
  10703. !     /usr/X386/include         \
  10704. !     /usr/x386/include         \
  10705. !     /usr/XFree86/include/X11  \
  10706.                                 \
  10707. !     /usr/include              \
  10708. !     /usr/local/include        \
  10709. !     /usr/unsupported/include  \
  10710. !     /usr/athena/include       \
  10711. !     /usr/local/x11r5/include  \
  10712. !     /usr/lpp/Xamples/include  \
  10713.                                 \
  10714. !     /usr/openwin/include      \
  10715. !     /usr/openwin/share/include \
  10716.       ; \
  10717.     do
  10718.       if test -r "$ac_dir/$x_direct_test_include"; then
  10719. --- 1289,1331 ----
  10720.     rm -rf conftest*
  10721.     no_x= ac_x_includes=
  10722.   else
  10723. !   /bin/echo "$ac_err" >&5
  10724.     rm -rf conftest*
  10725.       for ac_dir in               \
  10726. !     /gnu/X11R6/include        \
  10727. !     /gnu/X11R5/include        \
  10728. !     /gnu/X11R4/include        \
  10729.                                 \
  10730. !     /gnu/include/X11R6        \
  10731. !     /gnu/include/X11R5        \
  10732. !     /gnu/include/X11R4        \
  10733.                                 \
  10734. !     /gnu/local/X11R6/include  \
  10735. !     /gnu/local/X11R5/include  \
  10736. !     /gnu/local/X11R4/include  \
  10737.                                 \
  10738. !     /gnu/local/include/X11R6  \
  10739. !     /gnu/local/include/X11R5  \
  10740. !     /gnu/local/include/X11R4  \
  10741.                                 \
  10742. !     /gnu/X11/include          \
  10743. !     /gnu/include/X11          \
  10744. !     /gnu/local/X11/include    \
  10745. !     /gnu/local/include/X11    \
  10746.                                 \
  10747. !     /gnu/X386/include         \
  10748. !     /gnu/x386/include         \
  10749. !     /gnu/XFree86/include/X11  \
  10750.                                 \
  10751. !     /gnu/include              \
  10752. !     /gnu/local/include        \
  10753. !     /gnu/unsupported/include  \
  10754. !     /gnu/athena/include       \
  10755. !     /gnu/local/x11r5/include  \
  10756. !     /gnu/lpp/Xamples/include  \
  10757.                                 \
  10758. !     /gnu/openwin/include      \
  10759. !     /gnu/openwin/share/include \
  10760.       ; \
  10761.     do
  10762.       if test -r "$ac_dir/$x_direct_test_include"; then
  10763. ***************
  10764. *** 1354,1394 ****
  10765.     rm -rf conftest*
  10766.     LIBS="$ac_save_LIBS"
  10767.   # First see if replacing the include by lib works.
  10768. ! for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
  10769. !     /usr/X11R6/lib        \
  10770. !     /usr/X11R5/lib        \
  10771. !     /usr/X11R4/lib        \
  10772.                             \
  10773. !     /usr/lib/X11R6        \
  10774. !     /usr/lib/X11R5        \
  10775. !     /usr/lib/X11R4        \
  10776.                             \
  10777. !     /usr/local/X11R6/lib  \
  10778. !     /usr/local/X11R5/lib  \
  10779. !     /usr/local/X11R4/lib  \
  10780.                             \
  10781. !     /usr/local/lib/X11R6  \
  10782. !     /usr/local/lib/X11R5  \
  10783. !     /usr/local/lib/X11R4  \
  10784.                             \
  10785. !     /usr/X11/lib          \
  10786. !     /usr/lib/X11          \
  10787. !     /usr/local/X11/lib    \
  10788. !     /usr/local/lib/X11    \
  10789.                             \
  10790. !     /usr/X386/lib         \
  10791. !     /usr/x386/lib         \
  10792. !     /usr/XFree86/lib/X11  \
  10793.                             \
  10794. !     /usr/lib              \
  10795. !     /usr/local/lib        \
  10796. !     /usr/unsupported/lib  \
  10797. !     /usr/athena/lib       \
  10798. !     /usr/local/x11r5/lib  \
  10799. !     /usr/lpp/Xamples/lib  \
  10800.                             \
  10801. !     /usr/openwin/lib      \
  10802. !     /usr/openwin/share/lib \
  10803.       ; \
  10804.   do
  10805.     for ac_extension in a so sl; do
  10806. --- 1357,1397 ----
  10807.     rm -rf conftest*
  10808.     LIBS="$ac_save_LIBS"
  10809.   # First see if replacing the include by lib works.
  10810. ! for ac_dir in `/bin/echo "$ac_x_includes" | sed s/include/lib/` \
  10811. !     /gnu/X11R6/lib        \
  10812. !     /gnu/X11R5/lib        \
  10813. !     /gnu/X11R4/lib        \
  10814.                             \
  10815. !     /gnu/lib/X11R6        \
  10816. !     /gnu/lib/X11R5        \
  10817. !     /gnu/lib/X11R4        \
  10818.                             \
  10819. !     /gnu/local/X11R6/lib  \
  10820. !     /gnu/local/X11R5/lib  \
  10821. !     /gnu/local/X11R4/lib  \
  10822.                             \
  10823. !     /gnu/local/lib/X11R6  \
  10824. !     /gnu/local/lib/X11R5  \
  10825. !     /gnu/local/lib/X11R4  \
  10826.                             \
  10827. !     /gnu/X11/lib          \
  10828. !     /gnu/lib/X11          \
  10829. !     /gnu/local/X11/lib    \
  10830. !     /gnu/local/lib/X11    \
  10831.                             \
  10832. !     /gnu/X386/lib         \
  10833. !     /gnu/x386/lib         \
  10834. !     /gnu/XFree86/lib/X11  \
  10835.                             \
  10836. !     /gnu/lib              \
  10837. !     /gnu/local/lib        \
  10838. !     /gnu/unsupported/lib  \
  10839. !     /gnu/athena/lib       \
  10840. !     /gnu/local/x11r5/lib  \
  10841. !     /gnu/lpp/Xamples/lib  \
  10842.                             \
  10843. !     /gnu/openwin/lib      \
  10844. !     /gnu/openwin/share/lib \
  10845.       ; \
  10846.   do
  10847.     for ac_extension in a so sl; do
  10848. ***************
  10849. *** 1413,1424 ****
  10850.   fi # $with_x != no
  10851.   
  10852.   if test "$no_x" = yes; then
  10853. !   echo "$ac_t""no" 1>&4
  10854.   else
  10855.     test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10856.     test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10857.     ac_cv_path_x="no_x= ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  10858. !   echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&4
  10859.   fi
  10860.   
  10861.   if test "$no_x" = yes; then 
  10862. --- 1416,1427 ----
  10863.   fi # $with_x != no
  10864.   
  10865.   if test "$no_x" = yes; then
  10866. !   /bin/echo "$ac_t""no" 1>&4
  10867.   else
  10868.     test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10869.     test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10870.     ac_cv_path_x="no_x= ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  10871. !   /bin/echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&4
  10872.   fi
  10873.   
  10874.   if test "$no_x" = yes; then 
  10875. ***************
  10876. *** 1450,1458 ****
  10877.     # These have to be linked with before -lX11, unlike the other
  10878.     # libraries we check for below, so use a different variable.
  10879.     #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
  10880. !   echo $ac_n "checking for -lICE""... $ac_c" 1>&4
  10881. ! if eval "test \"`echo '${'ac_cv_lib_ICE'+set}'`\" = set"; then
  10882. !   echo $ac_n "(cached) $ac_c" 1>&4
  10883.   else
  10884.     ac_save_LIBS="$LIBS"
  10885.   LIBS="$LIBS -lICE "
  10886. --- 1453,1461 ----
  10887.     # These have to be linked with before -lX11, unlike the other
  10888.     # libraries we check for below, so use a different variable.
  10889.     #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
  10890. !   /bin/echo $ac_n "checking for -lICE""... $ac_c" 1>&4
  10891. ! if eval "test \"`/bin/echo '${'ac_cv_lib_ICE'+set}'`\" = set"; then
  10892. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10893.   else
  10894.     ac_save_LIBS="$LIBS"
  10895.   LIBS="$LIBS -lICE "
  10896. ***************
  10897. *** 1476,1486 ****
  10898.   LIBS="$ac_save_LIBS"
  10899.   
  10900.   fi
  10901. ! if eval "test \"`echo '$ac_cv_lib_'ICE`\" = yes"; then
  10902. !   echo "$ac_t""yes" 1>&4
  10903.     X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10904.   else
  10905. !   echo "$ac_t""no" 1>&4
  10906.   fi
  10907.   
  10908.     LDFLAGS="$ac_save_LDFLAGS"
  10909. --- 1479,1489 ----
  10910.   LIBS="$ac_save_LIBS"
  10911.   
  10912.   fi
  10913. ! if eval "test \"`/bin/echo '$ac_cv_lib_'ICE`\" = yes"; then
  10914. !   /bin/echo "$ac_t""yes" 1>&4
  10915.     X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10916.   else
  10917. !   /bin/echo "$ac_t""no" 1>&4
  10918.   fi
  10919.   
  10920.     LDFLAGS="$ac_save_LDFLAGS"
  10921. ***************
  10922. *** 1493,1501 ****
  10923.       # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
  10924.       # libraries were built with DECnet support.  And karl@cs.umb.edu says
  10925.       # the Alpha needs dnet_stub (dnet does not exist).
  10926. !     echo $ac_n "checking for -ldnet""... $ac_c" 1>&4
  10927. ! if eval "test \"`echo '${'ac_cv_lib_dnet'+set}'`\" = set"; then
  10928. !   echo $ac_n "(cached) $ac_c" 1>&4
  10929.   else
  10930.     ac_save_LIBS="$LIBS"
  10931.   LIBS="$LIBS -ldnet "
  10932. --- 1496,1504 ----
  10933.       # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
  10934.       # libraries were built with DECnet support.  And karl@cs.umb.edu says
  10935.       # the Alpha needs dnet_stub (dnet does not exist).
  10936. !     /bin/echo $ac_n "checking for -ldnet""... $ac_c" 1>&4
  10937. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dnet'+set}'`\" = set"; then
  10938. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10939.   else
  10940.     ac_save_LIBS="$LIBS"
  10941.   LIBS="$LIBS -ldnet "
  10942. ***************
  10943. *** 1519,1535 ****
  10944.   LIBS="$ac_save_LIBS"
  10945.   
  10946.   fi
  10947. ! if eval "test \"`echo '$ac_cv_lib_'dnet`\" = yes"; then
  10948. !   echo "$ac_t""yes" 1>&4
  10949.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10950.   else
  10951. !   echo "$ac_t""no" 1>&4
  10952.   fi
  10953.   
  10954.       if test $ac_cv_lib_dnet = no; then
  10955. !       echo $ac_n "checking for -ldnet_stub""... $ac_c" 1>&4
  10956. ! if eval "test \"`echo '${'ac_cv_lib_dnet_stub'+set}'`\" = set"; then
  10957. !   echo $ac_n "(cached) $ac_c" 1>&4
  10958.   else
  10959.     ac_save_LIBS="$LIBS"
  10960.   LIBS="$LIBS -ldnet_stub "
  10961. --- 1522,1538 ----
  10962.   LIBS="$ac_save_LIBS"
  10963.   
  10964.   fi
  10965. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dnet`\" = yes"; then
  10966. !   /bin/echo "$ac_t""yes" 1>&4
  10967.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10968.   else
  10969. !   /bin/echo "$ac_t""no" 1>&4
  10970.   fi
  10971.   
  10972.       if test $ac_cv_lib_dnet = no; then
  10973. !       /bin/echo $ac_n "checking for -ldnet_stub""... $ac_c" 1>&4
  10974. ! if eval "test \"`/bin/echo '${'ac_cv_lib_dnet_stub'+set}'`\" = set"; then
  10975. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  10976.   else
  10977.     ac_save_LIBS="$LIBS"
  10978.   LIBS="$LIBS -ldnet_stub "
  10979. ***************
  10980. *** 1553,1563 ****
  10981.   LIBS="$ac_save_LIBS"
  10982.   
  10983.   fi
  10984. ! if eval "test \"`echo '$ac_cv_lib_'dnet_stub`\" = yes"; then
  10985. !   echo "$ac_t""yes" 1>&4
  10986.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10987.   else
  10988. !   echo "$ac_t""no" 1>&4
  10989.   fi
  10990.   
  10991.       fi
  10992. --- 1556,1566 ----
  10993.   LIBS="$ac_save_LIBS"
  10994.   
  10995.   fi
  10996. ! if eval "test \"`/bin/echo '$ac_cv_lib_'dnet_stub`\" = yes"; then
  10997. !   /bin/echo "$ac_t""yes" 1>&4
  10998.     X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10999.   else
  11000. !   /bin/echo "$ac_t""no" 1>&4
  11001.   fi
  11002.   
  11003.       fi
  11004. ***************
  11005. *** 1566,1574 ****
  11006.       # to get the SysV transport functions.
  11007.       # Not sure which flavor of 386 UNIX this is, but it seems harmless to
  11008.       # check for it.
  11009. !     echo $ac_n "checking for -lnsl""... $ac_c" 1>&4
  11010. ! if eval "test \"`echo '${'ac_cv_lib_nsl'+set}'`\" = set"; then
  11011. !   echo $ac_n "(cached) $ac_c" 1>&4
  11012.   else
  11013.     ac_save_LIBS="$LIBS"
  11014.   LIBS="$LIBS -lnsl "
  11015. --- 1569,1577 ----
  11016.       # to get the SysV transport functions.
  11017.       # Not sure which flavor of 386 UNIX this is, but it seems harmless to
  11018.       # check for it.
  11019. !     /bin/echo $ac_n "checking for -lnsl""... $ac_c" 1>&4
  11020. ! if eval "test \"`/bin/echo '${'ac_cv_lib_nsl'+set}'`\" = set"; then
  11021. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11022.   else
  11023.     ac_save_LIBS="$LIBS"
  11024.   LIBS="$LIBS -lnsl "
  11025. ***************
  11026. *** 1592,1602 ****
  11027.   LIBS="$ac_save_LIBS"
  11028.   
  11029.   fi
  11030. ! if eval "test \"`echo '$ac_cv_lib_'nsl`\" = yes"; then
  11031. !   echo "$ac_t""yes" 1>&4
  11032.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  11033.   else
  11034. !   echo "$ac_t""no" 1>&4
  11035.   fi
  11036.   
  11037.   
  11038. --- 1595,1605 ----
  11039.   LIBS="$ac_save_LIBS"
  11040.   
  11041.   fi
  11042. ! if eval "test \"`/bin/echo '$ac_cv_lib_'nsl`\" = yes"; then
  11043. !   /bin/echo "$ac_t""yes" 1>&4
  11044.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  11045.   else
  11046. !   /bin/echo "$ac_t""no" 1>&4
  11047.   fi
  11048.   
  11049.   
  11050. ***************
  11051. *** 1604,1612 ****
  11052.       # socket/setsockopt and other routines are undefined under SCO ODT 2.0.
  11053.       # But -lsocket is broken on IRIX, according to simon@lia.di.epfl.ch.
  11054.       if test "`(uname) 2>/dev/null`" != IRIX; then
  11055. !       echo $ac_n "checking for -lsocket""... $ac_c" 1>&4
  11056. ! if eval "test \"`echo '${'ac_cv_lib_socket'+set}'`\" = set"; then
  11057. !   echo $ac_n "(cached) $ac_c" 1>&4
  11058.   else
  11059.     ac_save_LIBS="$LIBS"
  11060.   LIBS="$LIBS -lsocket "
  11061. --- 1607,1615 ----
  11062.       # socket/setsockopt and other routines are undefined under SCO ODT 2.0.
  11063.       # But -lsocket is broken on IRIX, according to simon@lia.di.epfl.ch.
  11064.       if test "`(uname) 2>/dev/null`" != IRIX; then
  11065. !       /bin/echo $ac_n "checking for -lsocket""... $ac_c" 1>&4
  11066. ! if eval "test \"`/bin/echo '${'ac_cv_lib_socket'+set}'`\" = set"; then
  11067. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11068.   else
  11069.     ac_save_LIBS="$LIBS"
  11070.   LIBS="$LIBS -lsocket "
  11071. ***************
  11072. *** 1630,1640 ****
  11073.   LIBS="$ac_save_LIBS"
  11074.   
  11075.   fi
  11076. ! if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
  11077. !   echo "$ac_t""yes" 1>&4
  11078.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket"
  11079.   else
  11080. !   echo "$ac_t""no" 1>&4
  11081.   fi
  11082.   
  11083.       fi
  11084. --- 1633,1643 ----
  11085.   LIBS="$ac_save_LIBS"
  11086.   
  11087.   fi
  11088. ! if eval "test \"`/bin/echo '$ac_cv_lib_'socket`\" = yes"; then
  11089. !   /bin/echo "$ac_t""yes" 1>&4
  11090.     X_EXTRA_LIBS="$X_EXTRA_LIBS -lsocket"
  11091.   else
  11092. !   /bin/echo "$ac_t""no" 1>&4
  11093.   fi
  11094.   
  11095.       fi
  11096. ***************
  11097. *** 1642,1650 ****
  11098.   fi
  11099.   
  11100.   
  11101. ! echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  11102. ! if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  11103. !   echo $ac_n "(cached) $ac_c" 1>&4
  11104.   else
  11105.     cat > conftest.$ac_ext <<EOF
  11106.   #line 1651 "configure"
  11107. --- 1645,1653 ----
  11108.   fi
  11109.   
  11110.   
  11111. ! /bin/echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  11112. ! if eval "test \"`/bin/echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  11113. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11114.   else
  11115.     cat > conftest.$ac_ext <<EOF
  11116.   #line 1651 "configure"
  11117. ***************
  11118. *** 1677,1696 ****
  11119.   rm -f conftest*
  11120.   
  11121.   fi
  11122. ! if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  11123. !   echo "$ac_t""yes" 1>&4
  11124.     cat >> confdefs.h <<\EOF
  11125.   #define HAVE_VPRINTF 1
  11126.   EOF
  11127.   
  11128.   else
  11129. !   echo "$ac_t""no" 1>&4
  11130.   fi
  11131.   
  11132.   if test "$ac_cv_func_vprintf" != yes; then
  11133. ! echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  11134. ! if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  11135. !   echo $ac_n "(cached) $ac_c" 1>&4
  11136.   else
  11137.     cat > conftest.$ac_ext <<EOF
  11138.   #line 1697 "configure"
  11139. --- 1680,1699 ----
  11140.   rm -f conftest*
  11141.   
  11142.   fi
  11143. ! if eval "test \"`/bin/echo '$ac_cv_func_'vprintf`\" = yes"; then
  11144. !   /bin/echo "$ac_t""yes" 1>&4
  11145.     cat >> confdefs.h <<\EOF
  11146.   #define HAVE_VPRINTF 1
  11147.   EOF
  11148.   
  11149.   else
  11150. !   /bin/echo "$ac_t""no" 1>&4
  11151.   fi
  11152.   
  11153.   if test "$ac_cv_func_vprintf" != yes; then
  11154. ! /bin/echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  11155. ! if eval "test \"`/bin/echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  11156. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11157.   else
  11158.     cat > conftest.$ac_ext <<EOF
  11159.   #line 1697 "configure"
  11160. ***************
  11161. *** 1723,1736 ****
  11162.   rm -f conftest*
  11163.   
  11164.   fi
  11165. ! if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  11166. !   echo "$ac_t""yes" 1>&4
  11167.     cat >> confdefs.h <<\EOF
  11168.   #define HAVE_DOPRNT 1
  11169.   EOF
  11170.   
  11171.   else
  11172. !   echo "$ac_t""no" 1>&4
  11173.   fi
  11174.   
  11175.   fi
  11176. --- 1726,1739 ----
  11177.   rm -f conftest*
  11178.   
  11179.   fi
  11180. ! if eval "test \"`/bin/echo '$ac_cv_func_'_doprnt`\" = yes"; then
  11181. !   /bin/echo "$ac_t""yes" 1>&4
  11182.     cat >> confdefs.h <<\EOF
  11183.   #define HAVE_DOPRNT 1
  11184.   EOF
  11185.   
  11186.   else
  11187. !   /bin/echo "$ac_t""no" 1>&4
  11188.   fi
  11189.   
  11190.   fi
  11191. ***************
  11192. *** 1742,1750 ****
  11193.   # <sys/bsdtypes.h> is for ISC 4.0, to define fd_set in psgs.c.
  11194.   for ac_func in getwd isinf
  11195.   do
  11196. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  11197. ! if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  11198. !   echo $ac_n "(cached) $ac_c" 1>&4
  11199.   else
  11200.     cat > conftest.$ac_ext <<EOF
  11201.   #line 1751 "configure"
  11202. --- 1745,1753 ----
  11203.   # <sys/bsdtypes.h> is for ISC 4.0, to define fd_set in psgs.c.
  11204.   for ac_func in getwd isinf
  11205.   do
  11206. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  11207. ! if eval "test \"`/bin/echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  11208. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11209.   else
  11210.     cat > conftest.$ac_ext <<EOF
  11211.   #line 1751 "configure"
  11212. ***************
  11213. *** 1777,1800 ****
  11214.   rm -f conftest*
  11215.   
  11216.   fi
  11217. ! if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  11218. !   echo "$ac_t""yes" 1>&4
  11219. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  11220.     cat >> confdefs.h <<EOF
  11221.   #define $ac_tr_func 1
  11222.   EOF
  11223.    
  11224.   else
  11225. !   echo "$ac_t""no" 1>&4
  11226.   fi
  11227.   done
  11228.   
  11229.   for ac_hdr in ieeefp.h sys/bsdtypes.h
  11230.   do
  11231. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  11232. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  11233. ! if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  11234. !   echo $ac_n "(cached) $ac_c" 1>&4
  11235.   else
  11236.     cat > conftest.$ac_ext <<EOF
  11237.   #line 1801 "configure"
  11238. --- 1780,1803 ----
  11239.   rm -f conftest*
  11240.   
  11241.   fi
  11242. ! if eval "test \"`/bin/echo '$ac_cv_func_'$ac_func`\" = yes"; then
  11243. !   /bin/echo "$ac_t""yes" 1>&4
  11244. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  11245.     cat >> confdefs.h <<EOF
  11246.   #define $ac_tr_func 1
  11247.   EOF
  11248.    
  11249.   else
  11250. !   /bin/echo "$ac_t""no" 1>&4
  11251.   fi
  11252.   done
  11253.   
  11254.   for ac_hdr in ieeefp.h sys/bsdtypes.h
  11255.   do
  11256. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  11257. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  11258. ! if eval "test \"`/bin/echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  11259. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11260.   else
  11261.     cat > conftest.$ac_ext <<EOF
  11262.   #line 1801 "configure"
  11263. ***************
  11264. *** 1807,1835 ****
  11265.     rm -rf conftest*
  11266.     eval "ac_cv_header_$ac_safe=yes"
  11267.   else
  11268. !   echo "$ac_err" >&5
  11269.     rm -rf conftest*
  11270.     eval "ac_cv_header_$ac_safe=no"
  11271.   fi
  11272.   rm -f conftest*
  11273.   fi
  11274. ! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  11275. !   echo "$ac_t""yes" 1>&4
  11276. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  11277.     cat >> confdefs.h <<EOF
  11278.   #define $ac_tr_hdr 1
  11279.   EOF
  11280.    
  11281.   else
  11282. !   echo "$ac_t""no" 1>&4
  11283.   fi
  11284.   done
  11285.   
  11286.   
  11287.   # Do we have the SIGIO signal (and F_SETOWN and FASYNC)?
  11288. ! echo $ac_n "checking for SIGIO""... $ac_c" 1>&4
  11289. ! if eval "test \"`echo '${'kb_cv_sys_sigio'+set}'`\" = set"; then
  11290. !   echo $ac_n "(cached) $ac_c" 1>&4
  11291.   else
  11292.     cat > conftest.$ac_ext <<EOF
  11293.   #line 1836 "configure"
  11294. --- 1810,1838 ----
  11295.     rm -rf conftest*
  11296.     eval "ac_cv_header_$ac_safe=yes"
  11297.   else
  11298. !   /bin/echo "$ac_err" >&5
  11299.     rm -rf conftest*
  11300.     eval "ac_cv_header_$ac_safe=no"
  11301.   fi
  11302.   rm -f conftest*
  11303.   fi
  11304. ! if eval "test \"`/bin/echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  11305. !   /bin/echo "$ac_t""yes" 1>&4
  11306. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  11307.     cat >> confdefs.h <<EOF
  11308.   #define $ac_tr_hdr 1
  11309.   EOF
  11310.    
  11311.   else
  11312. !   /bin/echo "$ac_t""no" 1>&4
  11313.   fi
  11314.   done
  11315.   
  11316.   
  11317.   # Do we have the SIGIO signal (and F_SETOWN and FASYNC)?
  11318. ! /bin/echo $ac_n "checking for SIGIO""... $ac_c" 1>&4
  11319. ! if eval "test \"`/bin/echo '${'kb_cv_sys_sigio'+set}'`\" = set"; then
  11320. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  11321.   else
  11322.     cat > conftest.$ac_ext <<EOF
  11323.   #line 1836 "configure"
  11324. ***************
  11325. *** 1851,1857 ****
  11326.   rm -f conftest*
  11327.   
  11328.   fi
  11329. ! echo "$ac_t""$kb_cv_sys_sigio" 1>&4
  11330.   if test $kb_cv_sys_sigio = yes; then
  11331.     cat >> confdefs.h <<\EOF
  11332.   #define HAVE_SIGIO 1
  11333. --- 1854,1860 ----
  11334.   rm -f conftest*
  11335.   
  11336.   fi
  11337. ! /bin/echo "$ac_t""$kb_cv_sys_sigio" 1>&4
  11338.   if test $kb_cv_sys_sigio = yes; then
  11339.     cat >> confdefs.h <<\EOF
  11340.   #define HAVE_SIGIO 1
  11341. ***************
  11342. *** 1870,1876 ****
  11343.         no) PS_DEF=no;;
  11344.        dps) PS_DEF="$PS_DEF -DPS_DPS";;
  11345.       news) PS_DEF="$PS_DEF -DPS_NEWS";;
  11346. !        *) echo "configure: warning: Unknown --with-ps argument \`$withval'; using gs." 1>&2;;
  11347.    esac
  11348.   fi
  11349.   
  11350. --- 1873,1879 ----
  11351.         no) PS_DEF=no;;
  11352.        dps) PS_DEF="$PS_DEF -DPS_DPS";;
  11353.       news) PS_DEF="$PS_DEF -DPS_NEWS";;
  11354. !        *) /bin/echo "configure: warning: Unknown --with-ps argument \`$withval'; using gs." 1>&2;;
  11355.    esac
  11356.   fi
  11357.   
  11358. ***************
  11359. *** 1878,1903 ****
  11360.   test "$PS_DEF" = no && PS_DEF=
  11361.   # If we're on Solaris and we want DPS, then add the extra compilation stuff
  11362.   # to get it.
  11363. ! if echo "$PS_DEF" | grep PS_DPS >/dev/null; then
  11364.      if test "`(uname) 2>/dev/null`" = SunOS \
  11365.         && uname -r | grep '^5' >/dev/null; then
  11366. !     echo "$ac_t""adding DPS includes and libraries for Solaris" 1>&4
  11367. !     X_CFLAGS="$X_CFLAGS -I/usr/openwin/include/X11"
  11368.       # -lsunmath is for isinf.
  11369. !     X_LIBS="$X_LIBS -R/usr/openwin/lib /usr/openwin/lib/libdps.so -lsunmath"
  11370.     else
  11371.       # SunOS 4.x is simpler.
  11372. !     echo "$ac_t""adding DPS includes and libraries for SunOS 4.x" 1>&4
  11373.       X_LIBS="$X_LIBS -ldps"
  11374.     fi
  11375. ! elif echo "$PS_DEF" | grep PS_NEWS >/dev/null; then
  11376. !     echo "$ac_t""adding NeWS libraries" 1>&4
  11377.       X_LIBS="$X_LIBS -lxview -lcps -lolgx -lxvps"
  11378.   fi
  11379.   
  11380.   trap '' 1 2 15
  11381.   if test -w $cache_file; then
  11382. ! echo "updating cache $cache_file"
  11383.   cat > $cache_file <<\EOF
  11384.   # This file is a shell script that caches the results of configure
  11385.   # tests run on this system so they can be shared between configure
  11386. --- 1881,1906 ----
  11387.   test "$PS_DEF" = no && PS_DEF=
  11388.   # If we're on Solaris and we want DPS, then add the extra compilation stuff
  11389.   # to get it.
  11390. ! if /bin/echo "$PS_DEF" | grep PS_DPS >/dev/null; then
  11391.      if test "`(uname) 2>/dev/null`" = SunOS \
  11392.         && uname -r | grep '^5' >/dev/null; then
  11393. !     /bin/echo "$ac_t""adding DPS includes and libraries for Solaris" 1>&4
  11394. !     X_CFLAGS="$X_CFLAGS -I/gnu/openwin/include/X11"
  11395.       # -lsunmath is for isinf.
  11396. !     X_LIBS="$X_LIBS -R/gnu/openwin/lib /gnu/openwin/lib/libdps.so -lsunmath"
  11397.     else
  11398.       # SunOS 4.x is simpler.
  11399. !     /bin/echo "$ac_t""adding DPS includes and libraries for SunOS 4.x" 1>&4
  11400.       X_LIBS="$X_LIBS -ldps"
  11401.     fi
  11402. ! elif /bin/echo "$PS_DEF" | grep PS_NEWS >/dev/null; then
  11403. !     /bin/echo "$ac_t""adding NeWS libraries" 1>&4
  11404.       X_LIBS="$X_LIBS -lxview -lcps -lolgx -lxvps"
  11405.   fi
  11406.   
  11407.   trap '' 1 2 15
  11408.   if test -w $cache_file; then
  11409. ! /bin/echo "updating cache $cache_file"
  11410.   cat > $cache_file <<\EOF
  11411.   # This file is a shell script that caches the results of configure
  11412.   # tests run on this system so they can be shared between configure
  11413. ***************
  11414. *** 1915,1925 ****
  11415.   #
  11416.   EOF
  11417.   # Ultrix sh set writes to stderr and can't be redirected directly.
  11418.   (set) 2>&1 |
  11419. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  11420. !   >> $cache_file
  11421.   else
  11422. ! echo "not updating unwritable cache $cache_file"
  11423.   fi
  11424.   
  11425.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  11426. --- 1918,1931 ----
  11427.   #
  11428.   EOF
  11429.   # Ultrix sh set writes to stderr and can't be redirected directly.
  11430. + # On AmigaDOS, the {} chars get eaten, so add them back with separate
  11431. + # sed commands.
  11432.   (set) 2>&1 |
  11433. !   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" |
  11434. !   sed "s@\\\$@\${@" |
  11435. !   sed "s@\$@}@" >> $cache_file
  11436.   else
  11437. ! /bin/echo "not updating unwritable cache $cache_file"
  11438.   fi
  11439.   
  11440.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  11441. ***************
  11442. *** 1942,1948 ****
  11443.   # Without the "./", some shells look in PATH for config.status.
  11444.   : ${CONFIG_STATUS=./config.status}
  11445.   
  11446. ! echo creating $CONFIG_STATUS
  11447.   rm -f $CONFIG_STATUS
  11448.   cat > $CONFIG_STATUS <<EOF
  11449.   #!/bin/sh
  11450. --- 1948,1954 ----
  11451.   # Without the "./", some shells look in PATH for config.status.
  11452.   : ${CONFIG_STATUS=./config.status}
  11453.   
  11454. ! /bin/echo creating $CONFIG_STATUS
  11455.   rm -f $CONFIG_STATUS
  11456.   cat > $CONFIG_STATUS <<EOF
  11457.   #!/bin/sh
  11458. ***************
  11459. *** 1961,1974 ****
  11460.   do
  11461.     case "\$ac_option" in
  11462.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11463. !     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  11464.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  11465.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  11466. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  11467.       exit 0 ;;
  11468.     -help | --help | --hel | --he | --h)
  11469. !     echo "\$ac_cs_usage"; exit 0 ;;
  11470. !   *) echo "\$ac_cs_usage"; exit 1 ;;
  11471.     esac
  11472.   done
  11473.   
  11474. --- 1967,1980 ----
  11475.   do
  11476.     case "\$ac_option" in
  11477.     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11478. !     /bin/echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  11479.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  11480.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  11481. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  11482.       exit 0 ;;
  11483.     -help | --help | --hel | --he | --h)
  11484. !     /bin/echo "\$ac_cs_usage"; exit 0 ;;
  11485. !   *) /bin/echo "\$ac_cs_usage"; exit 1 ;;
  11486.     esac
  11487.   done
  11488.   
  11489. ***************
  11490. *** 2013,2033 ****
  11491.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  11492.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  11493.     case "$ac_file" in
  11494. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  11495. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  11496.     *) ac_file_in="${ac_file}.in" ;;
  11497.     esac
  11498.   
  11499.     # Adjust relative srcdir, etc. for subdirectories.
  11500.   
  11501.     # Remove last slash and all that follows it.  Not all systems have dirname.
  11502. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  11503.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  11504.       # The file is in a subdirectory.
  11505.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  11506.       ac_dir_suffix="/$ac_dir"
  11507.       # A "../" for each directory in $ac_dir_suffix.
  11508. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  11509.     else
  11510.       ac_dir_suffix= ac_dots=
  11511.     fi
  11512. --- 2019,2039 ----
  11513.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  11514.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  11515.     case "$ac_file" in
  11516. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  11517. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  11518.     *) ac_file_in="${ac_file}.in" ;;
  11519.     esac
  11520.   
  11521.     # Adjust relative srcdir, etc. for subdirectories.
  11522.   
  11523.     # Remove last slash and all that follows it.  Not all systems have dirname.
  11524. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  11525.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  11526.       # The file is in a subdirectory.
  11527.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  11528.       ac_dir_suffix="/$ac_dir"
  11529.       # A "../" for each directory in $ac_dir_suffix.
  11530. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  11531.     else
  11532.       ac_dir_suffix= ac_dots=
  11533.     fi
  11534. ***************
  11535. *** 2035,2041 ****
  11536.     case "$ac_given_srcdir" in
  11537.     .)  srcdir=.
  11538.         if test -z "$ac_dots"; then top_srcdir=.
  11539. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  11540.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  11541.     *) # Relative path.
  11542.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  11543. --- 2041,2047 ----
  11544.     case "$ac_given_srcdir" in
  11545.     .)  srcdir=.
  11546.         if test -z "$ac_dots"; then top_srcdir=.
  11547. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  11548.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  11549.     *) # Relative path.
  11550.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  11551. ***************
  11552. *** 2046,2054 ****
  11553.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  11554.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  11555.     esac
  11556. !   echo creating "$ac_file"
  11557.     rm -f "$ac_file"
  11558. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  11559.     case "$ac_file" in
  11560.     *Makefile*) ac_comsub="1i\\
  11561.   # $configure_input" ;;
  11562. --- 2052,2060 ----
  11563.     [/$]*) INSTALL="$ac_given_INSTALL" ;;
  11564.     *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  11565.     esac
  11566. !   /bin/echo creating "$ac_file"
  11567.     rm -f "$ac_file"
  11568. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  11569.     case "$ac_file" in
  11570.     *Makefile*) ac_comsub="1i\\
  11571.   # $configure_input" ;;
  11572. ***************
  11573. *** 2061,2074 ****
  11574.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  11575.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  11576.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  11577. !   # Use @e initially instead of -e because GNU echo has a -e option.
  11578.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  11579.     file_substs=`sed -n \
  11580.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  11581.                  $ac_given_srcdir/${ac_file}.in`
  11582.     if test -n "$file_substs"; then
  11583.       # Change @e back to -e and X@^ to \@^.
  11584. !     file_subst_cmd="sed `echo $file_substs \
  11585.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  11586.     else
  11587.       # If no substitutions and hence no sed commands, don't choke.
  11588. --- 2067,2080 ----
  11589.     # getline or system. (Anyway, configure scripts aren't supposed to use awk.)
  11590.     # Use \@...@<cmd> form of sed address because the filename may contain /.
  11591.     # Can't use only one -e and commands {dr foo} because foo has to be last.
  11592. !   # Use @e initially instead of -e because GNU /bin/echo has a -e option.
  11593.     # USe `X' to mean a bunch of backslashes; this is for FreeBSD.
  11594.     file_substs=`sed -n \
  11595.   "/^ac_include/s%ac_include[     ]*\(.*\)%@e 'X@^&@r \1' -e 'X@^&@d'%p" \
  11596.                  $ac_given_srcdir/${ac_file}.in`
  11597.     if test -n "$file_substs"; then
  11598.       # Change @e back to -e and X@^ to \@^.
  11599. !     file_subst_cmd="sed `/bin/echo $file_substs \
  11600.                            | sed -e 's/@e/-e/g' -e 's/X@^/\\\\\@^/g'`"
  11601.     else
  11602.       # If no substitutions and hence no sed commands, don't choke.
  11603. ***************
  11604. *** 2111,2122 ****
  11605.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  11606.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  11607.     case "$ac_file" in
  11608. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  11609. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  11610.     *) ac_file_in="${ac_file}.in" ;;
  11611.     esac
  11612.   
  11613. !   echo creating $ac_file
  11614.   
  11615.     rm -f conftest.frag conftest.in conftest.out
  11616.     cp $ac_given_srcdir/$ac_file_in conftest.in
  11617. --- 2117,2128 ----
  11618.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  11619.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  11620.     case "$ac_file" in
  11621. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  11622. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  11623.     *) ac_file_in="${ac_file}.in" ;;
  11624.     esac
  11625.   
  11626. !   /bin/echo creating $ac_file
  11627.   
  11628.     rm -f conftest.frag conftest.in conftest.out
  11629.     cp $ac_given_srcdir/$ac_file_in conftest.in
  11630. ***************
  11631. *** 2157,2165 ****
  11632.     # grep -c gives empty output for an empty file on some AIX systems.
  11633.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  11634.     # Write a limited-size here document to conftest.frag.
  11635. !   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  11636.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  11637. !   echo 'CEOF
  11638.     sed -f conftest.frag conftest.in > conftest.out
  11639.     rm -f conftest.in
  11640.     mv conftest.out conftest.in
  11641. --- 2163,2171 ----
  11642.     # grep -c gives empty output for an empty file on some AIX systems.
  11643.     if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  11644.     # Write a limited-size here document to conftest.frag.
  11645. !   /bin/echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  11646.     sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  11647. !   /bin/echo 'CEOF
  11648.     sed -f conftest.frag conftest.in > conftest.out
  11649.     rm -f conftest.in
  11650.     mv conftest.out conftest.in
  11651. ***************
  11652. *** 2172,2182 ****
  11653.   
  11654.   cat >> $CONFIG_STATUS <<\EOF
  11655.     rm -f conftest.frag conftest.h
  11656. !   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  11657.     cat conftest.in >> conftest.h
  11658.     rm -f conftest.in
  11659.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  11660. !     echo "$ac_file is unchanged"
  11661.       rm -f conftest.h
  11662.     else
  11663.       rm -f $ac_file
  11664. --- 2178,2188 ----
  11665.   
  11666.   cat >> $CONFIG_STATUS <<\EOF
  11667.     rm -f conftest.frag conftest.h
  11668. !   /bin/echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  11669.     cat conftest.in >> conftest.h
  11670.     rm -f conftest.in
  11671.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  11672. !     /bin/echo "$ac_file is unchanged"
  11673.       rm -f conftest.h
  11674.     else
  11675.       rm -f $ac_file
  11676.