home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / diffutils-2.7.diffs < prev    next >
Encoding:
Text File  |  1995-01-21  |  74.6 KB  |  2,697 lines

  1. diff -rc --new-file diffutils-2.7/INSTALL /gnu/src/amiga/diffutils-2.7/INSTALL
  2. *** diffutils-2.7/INSTALL    Wed Sep 28 13:08:23 1994
  3. --- /gnu/src/amiga/diffutils-2.7/INSTALL    Sat Nov 12 06:14:15 1994
  4. ***************
  5. *** 76,83 ****
  6.   ==================
  7.   
  8.      By default, `make install' will install the package's files in
  9. ! `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  10. ! installation prefix other than `/usr/local' by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  12.   giving a value for the `prefix' variable when you run `make', e.g.,
  13.        make prefix=/usr/gnu
  14. --- 76,83 ----
  15.   ==================
  16.   
  17.      By default, `make install' will install the package's files in
  18. ! `/gnu/bin', `/gnu/man', etc.  You can specify an
  19. ! installation prefix other than `/gnu' by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  21.   giving a value for the `prefix' variable when you run `make', e.g.,
  22.        make prefix=/usr/gnu
  23. diff -rc --new-file diffutils-2.7/Makefile.in /gnu/src/amiga/diffutils-2.7/Makefile.in
  24. *** diffutils-2.7/Makefile.in    Thu Sep 22 16:47:00 1994
  25. --- /gnu/src/amiga/diffutils-2.7/Makefile.in    Sat Nov 12 07:06:44 1994
  26. ***************
  27. *** 48,57 ****
  28.   
  29.   infodir = $(prefix)/info
  30.   
  31. ! DEFAULT_EDITOR_PROGRAM = ed
  32.   DIFF_PROGRAM = $(bindir)/`echo diff | $(edit_program_name)`
  33.   NULL_DEVICE = /dev/null
  34. ! PR_PROGRAM = /bin/pr
  35.   
  36.   #### End of system configuration section. ####
  37.   
  38. --- 48,57 ----
  39.   
  40.   infodir = $(prefix)/info
  41.   
  42. ! DEFAULT_EDITOR_PROGRAM = $(bindir)/emacs
  43.   DIFF_PROGRAM = $(bindir)/`echo diff | $(edit_program_name)`
  44.   NULL_DEVICE = /dev/null
  45. ! PR_PROGRAM = $(bindir)/pr
  46.   
  47.   #### End of system configuration section. ####
  48.   
  49. diff -rc --new-file diffutils-2.7/Product-Info /gnu/src/amiga/diffutils-2.7/Product-Info
  50. *** diffutils-2.7/Product-Info    Thu Jan  1 00:00:00 1970
  51. --- /gnu/src/amiga/diffutils-2.7/Product-Info    Fri Nov 18 12:44:55 1994
  52. ***************
  53. *** 0 ****
  54. --- 1,57 ----
  55. + .name
  56. + diffutils
  57. + .fullname
  58. + GNU diff utilities
  59. + .type
  60. + Programmer Tool
  61. + .short
  62. + GNU diff, diff3, sdiff and cmp utilities
  63. + .description
  64. + This directory contains the GNU diff, diff3, sdiff, and cmp utilities.
  65. + Their features are a superset of the Unix features and they are
  66. + significantly faster.  cmp has been moved here from the GNU textutils.
  67. + Computer users often find occasion to ask how two files differ.
  68. + Perhaps one file is a newer version of the other file.  Or maybe the
  69. + two files started out as identical copies but were changed by
  70. + different people.
  71. + You can use the diff command to show differences between two files, or
  72. + each corresponding file in two directories.  diff outputs differences
  73. + between files line by line in any of several formats, selectable by
  74. + command line options.  This set of differences is often called a diff
  75. + or patch.  For files that are identical, diff normally produces no
  76. + output; for binary (non-text) files, diff normally reports only that
  77. + they are different.
  78. + You can use the cmp command to show the offsets and line numbers where
  79. + two files differ.  Cmp can also show all the characters that differ
  80. + between the two files, side by side.
  81. + You can use the diff3 command to show differences among three files.
  82. + When two people have made independent changes to a common original,
  83. + diff3 can report the differences between the original and the two
  84. + changed versions, and can produce a merged file that contains both
  85. + persons' changes together with warnings about conflicts.
  86. + You can use the sdiff command to merge two files interactively.
  87. + You can use the set of differences produced by diff to distribute
  88. + updates to text files (such as program source code) to other people.
  89. + This method is especially useful when the differences are small
  90. + compared to the complete files.  Given diff output, you can use the
  91. + patch program to update, or patch, a copy of the file.  If you think
  92. + of diff as subtracting one file from another to produce their
  93. + difference, you can think of patch as adding the difference to one
  94. + file to reproduce the other.
  95. + .version
  96. + 2.7
  97. + .author
  98. + Free Software Foundation
  99. + et. al.
  100. + .requirements
  101. + Binaries require ixemul.library.
  102. + .distribution
  103. + GNU Public License
  104. + .described-by
  105. + Fred Fish (fnf@amigalib.com)
  106. diff -rc --new-file diffutils-2.7/configure /gnu/src/amiga/diffutils-2.7/configure
  107. *** diffutils-2.7/configure    Sun Oct  2 05:55:23 1994
  108. --- /gnu/src/amiga/diffutils-2.7/configure    Sat Nov 12 06:40:52 1994
  109. ***************
  110. *** 1,56 ****
  111.   #!/bin/sh
  112.   
  113.   # Guess values for system-dependent variables and create Makefiles.
  114. ! # Generated automatically using autoconf version 1.120 
  115. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  116.   #
  117. ! # This configure script is free software; you can redistribute it and/or
  118. ! # modify it under the terms of the GNU General Public License as published
  119. ! # by the Free Software Foundation; either version 2, or (at your option)
  120. ! # any later version.
  121. ! #
  122. ! # This script is distributed in the hope that it will be useful, but
  123. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  124. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  125. ! # Public License for more details.
  126. ! #
  127. ! # You should have received a copy of the GNU General Public License
  128. ! # along with this script; if not, write to the Free Software
  129. ! # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  130. ! #
  131. ! # The redistribution and modification terms for this script do not affect
  132. ! # the terms for software that it configures.
  133.   
  134.   ac_help=
  135. ! # Omit some internal or obsolete options to make the list less imposing.
  136. ! ac_usage="Usage: configure [options] [host]
  137. ! Options: [defaults in brackets after descriptions]
  138. ! Configuration:
  139. !   --cache-file=FILE       cache test results in FILE
  140. !   --help                  print this message
  141. !   --no-create             do not create output files
  142. !   --quiet, --silent       do not print \`checking...' messages
  143. !   --version               print the version of autoconf that created configure
  144. ! Directory and file names:
  145. !   --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  146. !   --prefix=PREFIX         install host independent files in PREFIX [/usr/local]
  147. !   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  148. !   --program-prefix=PREFIX prepend PREFIX to installed program names
  149. !   --program-suffix=SUFFIX append SUFFIX to installed program names
  150. !   --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  151. ! Host type:
  152. !   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  153. !   --host=HOST             configure for HOST [guessed]
  154. !   --target=TARGET         configure for TARGET [TARGET=HOST]
  155. ! Features and packages:
  156. !   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  157. !   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  158. !   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  159. !   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  160. !   --x-includes=DIR        X include files are in DIR
  161. !   --x-libraries=DIR       X library files are in DIR
  162. ! --enable and --with options recognized:$ac_help"
  163.   
  164.   # Initialize some variables set by options.
  165.   # The variables have the same names as the options, with
  166. --- 1,16 ----
  167.   #!/bin/sh
  168.   
  169.   # Guess values for system-dependent variables and create Makefiles.
  170. ! # Generated automatically using autoconf version 2.1 
  171. ! # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  172.   #
  173. ! # This configure script is free software; the Free Software Foundation
  174. ! # gives unlimited permission to copy, distribute and modify it.
  175.   
  176. + # Defaults:
  177.   ac_help=
  178. ! ac_default_prefix=/gnu
  179. ! # Any additions from configure.in:
  180.   
  181.   # Initialize some variables set by options.
  182.   # The variables have the same names as the options, with
  183. ***************
  184. *** 67,72 ****
  185. --- 27,33 ----
  186.   program_suffix=NONE
  187.   program_transform_name=s,x,x,
  188.   silent=
  189. + site=
  190.   srcdir=
  191.   target=NONE
  192.   verbose=
  193. ***************
  194. *** 88,94 ****
  195.     fi
  196.   
  197.     case "$ac_option" in
  198. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  199.     *) ac_optarg= ;;
  200.     esac
  201.   
  202. --- 49,55 ----
  203.     fi
  204.   
  205.     case "$ac_option" in
  206. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  207.     *) ac_optarg= ;;
  208.     esac
  209.   
  210. ***************
  211. *** 109,129 ****
  212.       cache_file="$ac_optarg" ;;
  213.   
  214.     -disable-* | --disable-*)
  215. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  216.       # Reject names that are not valid shell variable names.
  217. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  218.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  219.       fi
  220. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  221.       eval "enable_${ac_feature}=no" ;;
  222.   
  223.     -enable-* | --enable-*)
  224. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  225.       # Reject names that are not valid shell variable names.
  226. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  227.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  228.       fi
  229. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  230.       case "$ac_option" in
  231.         *=*) ;;
  232.         *) ac_optarg=yes ;;
  233. --- 70,90 ----
  234.       cache_file="$ac_optarg" ;;
  235.   
  236.     -disable-* | --disable-*)
  237. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  238.       # Reject names that are not valid shell variable names.
  239. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  240.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  241.       fi
  242. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  243.       eval "enable_${ac_feature}=no" ;;
  244.   
  245.     -enable-* | --enable-*)
  246. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  247.       # Reject names that are not valid shell variable names.
  248. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  249.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  250.       fi
  251. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  252.       case "$ac_option" in
  253.         *=*) ;;
  254.         *) ac_optarg=yes ;;
  255. ***************
  256. *** 144,151 ****
  257.       with_gas=yes ;;
  258.   
  259.     -help | --help | --hel | --he)
  260.       cat << EOF
  261. ! $ac_usage
  262.   EOF
  263.       exit 0 ;;
  264.   
  265. --- 105,142 ----
  266.       with_gas=yes ;;
  267.   
  268.     -help | --help | --hel | --he)
  269. +     # Omit some internal or obsolete options to make the list less imposing.
  270. +     # This message is too long to be a string in the A/UX 3.1 sh.
  271.       cat << EOF
  272. ! Usage: configure [options] [host]
  273. ! Options: [defaults in brackets after descriptions]
  274. ! Configuration:
  275. !   --cache-file=FILE       cache test results in FILE
  276. !   --help                  print this message
  277. !   --no-create             do not create output files
  278. !   --quiet, --silent       do not print \`checking...' messages
  279. !   --version               print the version of autoconf that created configure
  280. ! Directory and file names:
  281. !   --prefix=PREFIX         install architecture-independent files in PREFIX
  282. !                           [$ac_default_prefix]
  283. !   --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
  284. !                           [same as prefix]
  285. !   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  286. !   --program-prefix=PREFIX prepend PREFIX to installed program names
  287. !   --program-suffix=SUFFIX append SUFFIX to installed program names
  288. !   --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  289. ! Host type:
  290. !   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  291. !   --host=HOST             configure for HOST [guessed]
  292. !   --target=TARGET         configure for TARGET [TARGET=HOST]
  293. ! Features and packages:
  294. !   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  295. !   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  296. !   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  297. !   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  298. !   --x-includes=DIR        X include files are in DIR
  299. !   --x-libraries=DIR       X library files are in DIR
  300. ! --enable and --with options recognized:$ac_help
  301.   EOF
  302.       exit 0 ;;
  303.   
  304. ***************
  305. *** 206,211 ****
  306. --- 197,207 ----
  307.     | -silent | --silent | --silen | --sile | --sil)
  308.       silent=yes ;;
  309.   
  310. +   -site | --site | --sit)
  311. +     ac_prev=site ;;
  312. +   -site=* | --site=* | --sit=*)
  313. +     site="$ac_optarg" ;;
  314.     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  315.       ac_prev=srcdir ;;
  316.     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  317. ***************
  318. *** 220,235 ****
  319.       verbose=yes ;;
  320.   
  321.     -version | --version | --versio | --versi | --vers)
  322. !     echo "configure generated by autoconf version 1.120"
  323.       exit 0 ;;
  324.   
  325.     -with-* | --with-*)
  326. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  327.       # Reject names that are not valid shell variable names.
  328. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  329.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  330.       fi
  331. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  332.       case "$ac_option" in
  333.         *=*) ;;
  334.         *) ac_optarg=yes ;;
  335. --- 216,231 ----
  336.       verbose=yes ;;
  337.   
  338.     -version | --version | --versio | --versi | --vers)
  339. !     echo "configure generated by autoconf version 2.1"
  340.       exit 0 ;;
  341.   
  342.     -with-* | --with-*)
  343. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  344.       # Reject names that are not valid shell variable names.
  345. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  346.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  347.       fi
  348. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  349.       case "$ac_option" in
  350.         *=*) ;;
  351.         *) ac_optarg=yes ;;
  352. ***************
  353. *** 237,248 ****
  354.       eval "with_${ac_package}='$ac_optarg'" ;;
  355.   
  356.     -without-* | --without-*)
  357. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  358.       # Reject names that are not valid shell variable names.
  359. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  360.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  361.       fi
  362. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  363.       eval "with_${ac_package}=no" ;;
  364.   
  365.     --x)
  366. --- 233,244 ----
  367.       eval "with_${ac_package}='$ac_optarg'" ;;
  368.   
  369.     -without-* | --without-*)
  370. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  371.       # Reject names that are not valid shell variable names.
  372. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  373.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  374.       fi
  375. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  376.       eval "with_${ac_package}=no" ;;
  377.   
  378.     --x)
  379. ***************
  380. *** 267,273 ****
  381.       ;;
  382.   
  383.     *) 
  384. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  385.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  386.       fi
  387.       if test "x$nonopt" != xNONE; then
  388. --- 263,269 ----
  389.       ;;
  390.   
  391.     *) 
  392. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  393.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  394.       fi
  395.       if test "x$nonopt" != xNONE; then
  396. ***************
  397. *** 280,286 ****
  398.   done
  399.   
  400.   if test -n "$ac_prev"; then
  401. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  402.   fi
  403.   
  404.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  405. --- 276,282 ----
  406.   done
  407.   
  408.   if test -n "$ac_prev"; then
  409. !   { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  410.   fi
  411.   
  412.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  413. ***************
  414. *** 330,336 ****
  415.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  416.   rm -rf conftest* confdefs.h
  417.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  418. ! echo > confdefs.h
  419.   
  420.   # A filename unique to this package, relative to the directory that
  421.   # configure is in, which we can look for to find out if srcdir is correct.
  422. --- 326,332 ----
  423.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  424.   rm -rf conftest* confdefs.h
  425.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  426. ! /bin/echo > confdefs.h
  427.   
  428.   # A filename unique to this package, relative to the directory that
  429.   # configure is in, which we can look for to find out if srcdir is correct.
  430. ***************
  431. *** 341,347 ****
  432.     ac_srcdir_defaulted=yes
  433.     # Try the directory containing this script, then its parent.
  434.     ac_prog=$0
  435. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  436.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  437.     srcdir=$ac_confdir
  438.     if test ! -r $srcdir/$ac_unique_file; then
  439. --- 337,343 ----
  440.     ac_srcdir_defaulted=yes
  441.     # Try the directory containing this script, then its parent.
  442.     ac_prog=$0
  443. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  444.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  445.     srcdir=$ac_confdir
  446.     if test ! -r $srcdir/$ac_unique_file; then
  447. ***************
  448. *** 357,373 ****
  449.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  450.     fi
  451.   fi
  452.   
  453.   # Prefer explicitly selected file to automatically selected ones.
  454.   if test -z "$CONFIG_SITE"; then
  455.     if test "x$prefix" != xNONE; then
  456. !     CONFIG_SITE=$prefix/lib/config.site
  457.     else
  458. !     CONFIG_SITE=/usr/local/lib/config.site
  459. !   fi
  460. !   # System dependent files override system independent ones.
  461. !   if test "x$exec_prefix" != xNONE && test "x$exec_prefix" != "x$prefix"; then
  462. !     CONFIG_SITE="$CONFIG_SITE $exec_prefix/lib/config.site"
  463.     fi
  464.   fi
  465.   for ac_site_file in $CONFIG_SITE; do
  466. --- 353,366 ----
  467.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  468.     fi
  469.   fi
  470. + srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  471.   
  472.   # Prefer explicitly selected file to automatically selected ones.
  473.   if test -z "$CONFIG_SITE"; then
  474.     if test "x$prefix" != xNONE; then
  475. !     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  476.     else
  477. !     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  478.     fi
  479.   fi
  480.   for ac_site_file in $CONFIG_SITE; do
  481. ***************
  482. *** 388,393 ****
  483. --- 381,387 ----
  484.   ac_ext=c
  485.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  486.   ac_cpp='$CPP $CPPFLAGS'
  487. + ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  488.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  489.   
  490.   if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  491. ***************
  492. *** 409,415 ****
  493.   else
  494.     # Double any \ or $.
  495.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  496. !   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  497.     rm -f conftestsed
  498.   fi
  499.   test "$program_prefix" != NONE &&
  500. --- 403,409 ----
  501.   else
  502.     # Double any \ or $.
  503.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  504. !   program_transform_name="`/bin/echo $program_transform_name|sed -f conftestsed`"
  505.     rm -f conftestsed
  506.   fi
  507.   test "$program_prefix" != NONE &&
  508. ***************
  509. *** 423,431 ****
  510.   
  511.   # Extract the first word of "gcc", so it can be a program name with args.
  512.   set dummy gcc; ac_word=$2
  513. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  514.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  515. !   echo $ac_n "(cached) $ac_c" 1>&4
  516.   else
  517.     if test -n "$CC"; then
  518.     ac_cv_prog_CC="$CC" # Let the user override the test.
  519. --- 417,425 ----
  520.   
  521.   # Extract the first word of "gcc", so it can be a program name with args.
  522.   set dummy gcc; ac_word=$2
  523. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  524.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  525. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  526.   else
  527.     if test -n "$CC"; then
  528.     ac_cv_prog_CC="$CC" # Let the user override the test.
  529. ***************
  530. *** 444,462 ****
  531.   fi
  532.   CC="$ac_cv_prog_CC"
  533.   if test -n "$CC"; then
  534. !   echo "$ac_t""$CC" 1>&4
  535.   else
  536. !   echo "$ac_t""no" 1>&4
  537.   fi
  538.   
  539.   
  540. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  541.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  542. !   echo $ac_n "(cached) $ac_c" 1>&4
  543.   else
  544.     cat > conftest.c <<EOF
  545.   #ifdef __GNUC__
  546. !   yes
  547.   #endif
  548.   EOF
  549.   if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  550. --- 438,456 ----
  551.   fi
  552.   CC="$ac_cv_prog_CC"
  553.   if test -n "$CC"; then
  554. !   /bin/echo "$ac_t""$CC" 1>&4
  555.   else
  556. !   /bin/echo "$ac_t""no" 1>&4
  557.   fi
  558.   
  559.   
  560. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  561.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  562. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  563.   else
  564.     cat > conftest.c <<EOF
  565.   #ifdef __GNUC__
  566. !   yes;
  567.   #endif
  568.   EOF
  569.   if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  570. ***************
  571. *** 465,477 ****
  572.     ac_cv_prog_gcc=no
  573.   fi
  574.   fi
  575. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  576.   if test $ac_cv_prog_gcc = yes; then
  577.     GCC=yes
  578.     if test "${CFLAGS+set}" != set; then
  579. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  580.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  581. !   echo $ac_n "(cached) $ac_c" 1>&4
  582.   else
  583.     echo 'void f(){}' > conftest.c
  584.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  585. --- 459,471 ----
  586.     ac_cv_prog_gcc=no
  587.   fi
  588.   fi
  589. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  590.   if test $ac_cv_prog_gcc = yes; then
  591.     GCC=yes
  592.     if test "${CFLAGS+set}" != set; then
  593. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  594.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  595. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  596.   else
  597.     echo 'void f(){}' > conftest.c
  598.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  599. ***************
  600. *** 482,492 ****
  601.   rm -f conftest*
  602.   
  603.   fi
  604. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  605.       if test $ac_cv_prog_gcc_g = yes; then
  606. !       CFLAGS="-g -O"
  607.       else
  608. !       CFLAGS="-O"
  609.       fi
  610.     fi
  611.   else
  612. --- 476,488 ----
  613.   rm -f conftest*
  614.   
  615.   fi
  616. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  617.       if test $ac_cv_prog_gcc_g = yes; then
  618. !       # Amiga hack - suppress automatically using -g for now
  619. !       # Also default to using -O2
  620. !       CFLAGS="-O2"
  621.       else
  622. !       CFLAGS="-O2"
  623.       fi
  624.     fi
  625.   else
  626. ***************
  627. *** 494,507 ****
  628.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  629.   fi
  630.   
  631. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  632.   # On Suns, sometimes $CPP names a directory.
  633.   if test -n "$CPP" && test -d "$CPP"; then
  634.     CPP=
  635.   fi
  636.   if test -z "$CPP"; then
  637.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  638. !   echo $ac_n "(cached) $ac_c" 1>&4
  639.   else
  640.       # This must be in double quotes, not single quotes, because CPP may get
  641.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  642. --- 490,503 ----
  643.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  644.   fi
  645.   
  646. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  647.   # On Suns, sometimes $CPP names a directory.
  648.   if test -n "$CPP" && test -d "$CPP"; then
  649.     CPP=
  650.   fi
  651.   if test -z "$CPP"; then
  652.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  653. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  654.   else
  655.       # This must be in double quotes, not single quotes, because CPP may get
  656.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  657. ***************
  658. *** 509,517 ****
  659.     # On the NeXT, cc -E runs the code through the compiler's parser,
  660.     # not just through cpp.
  661.     cat > conftest.$ac_ext <<EOF
  662. ! #line 513 "configure"
  663.   #include "confdefs.h"
  664. ! #include <stdio.h>
  665.   Syntax Error
  666.   EOF
  667.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  668. --- 505,513 ----
  669.     # On the NeXT, cc -E runs the code through the compiler's parser,
  670.     # not just through cpp.
  671.     cat > conftest.$ac_ext <<EOF
  672. ! #line 509 "configure"
  673.   #include "confdefs.h"
  674. ! #include <assert.h>
  675.   Syntax Error
  676.   EOF
  677.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  678. ***************
  679. *** 519,531 ****
  680.   if test -z "$ac_err"; then
  681.     :
  682.   else
  683. !   echo "$ac_err" >&5
  684.     rm -rf conftest*
  685.     CPP="${CC-cc} -E -traditional-cpp"
  686.     cat > conftest.$ac_ext <<EOF
  687. ! #line 527 "configure"
  688.   #include "confdefs.h"
  689. ! #include <stdio.h>
  690.   Syntax Error
  691.   EOF
  692.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  693. --- 515,527 ----
  694.   if test -z "$ac_err"; then
  695.     :
  696.   else
  697. !   /bin/echo "$ac_err" >&5
  698.     rm -rf conftest*
  699.     CPP="${CC-cc} -E -traditional-cpp"
  700.     cat > conftest.$ac_ext <<EOF
  701. ! #line 523 "configure"
  702.   #include "confdefs.h"
  703. ! #include <assert.h>
  704.   Syntax Error
  705.   EOF
  706.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  707. ***************
  708. *** 533,539 ****
  709.   if test -z "$ac_err"; then
  710.     :
  711.   else
  712. !   echo "$ac_err" >&5
  713.     rm -rf conftest*
  714.     CPP=/lib/cpp
  715.   fi
  716. --- 529,535 ----
  717.   if test -z "$ac_err"; then
  718.     :
  719.   else
  720. !   /bin/echo "$ac_err" >&5
  721.     rm -rf conftest*
  722.     CPP=/lib/cpp
  723.   fi
  724. ***************
  725. *** 544,550 ****
  726.   fi
  727.   fi
  728.   CPP="$ac_cv_prog_CPP"
  729. ! echo "$ac_t""$CPP" 1>&4
  730.   
  731.   ac_aux_dir=
  732.   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  733. --- 540,546 ----
  734.   fi
  735.   fi
  736.   CPP="$ac_cv_prog_CPP"
  737. ! /bin/echo "$ac_t""$CPP" 1>&4
  738.   
  739.   ac_aux_dir=
  740.   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  741. ***************
  742. *** 575,589 ****
  743.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  744.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  745.   # ./install, which can be erroneously created by make from ./install.sh.
  746. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  747.   if test -z "$INSTALL"; then
  748.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  749. !   echo $ac_n "(cached) $ac_c" 1>&4
  750.   else
  751.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  752.     for ac_dir in $PATH; do
  753.       case "$ac_dir" in
  754. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  755.       *)
  756.         # OSF1 and SCO ODT 3.0 have their own names for install.
  757.         for ac_prog in ginstall installbsd scoinst install; do
  758. --- 571,585 ----
  759.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  760.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  761.   # ./install, which can be erroneously created by make from ./install.sh.
  762. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  763.   if test -z "$INSTALL"; then
  764.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  765. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  766.   else
  767.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  768.     for ac_dir in $PATH; do
  769.       case "$ac_dir" in
  770. !     ''|.|/gnu/etc) ;;
  771.       *)
  772.         # OSF1 and SCO ODT 3.0 have their own names for install.
  773.         for ac_prog in ginstall installbsd scoinst install; do
  774. ***************
  775. *** 608,614 ****
  776.   fi
  777.     INSTALL="$ac_cv_path_install"
  778.   fi
  779. ! echo "$ac_t""$INSTALL" 1>&4
  780.   
  781.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  782.   # It thinks the first close brace ends the variable substitution.
  783. --- 604,610 ----
  784.   fi
  785.     INSTALL="$ac_cv_path_install"
  786.   fi
  787. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  788.   
  789.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  790.   # It thinks the first close brace ends the variable substitution.
  791. ***************
  792. *** 616,626 ****
  793.   
  794.   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  795.   
  796. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  797. ! if test -d /etc/conf/kconfig.d &&
  798. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  799.   then
  800. !   echo "$ac_t""yes" 1>&4
  801.     ISC=yes # If later tests want to check for ISC.
  802.     cat >> confdefs.h <<\EOF
  803.   #define _POSIX_SOURCE 1
  804. --- 612,622 ----
  805.   
  806.   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  807.   
  808. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  809. ! if test -d /gnu/etc/conf/kconfig.d &&
  810. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  811.   then
  812. !   /bin/echo "$ac_t""yes" 1>&4
  813.     ISC=yes # If later tests want to check for ISC.
  814.     cat >> confdefs.h <<\EOF
  815.   #define _POSIX_SOURCE 1
  816. ***************
  817. *** 632,648 ****
  818.       CC="$CC -Xp"
  819.     fi
  820.   else
  821. !   echo "$ac_t""no" 1>&4
  822.     ISC=
  823.   fi
  824.   
  825. ! ac_safe=`echo "minix/config.h" | tr './' '__'`
  826. ! echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  827.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  828. !   echo $ac_n "(cached) $ac_c" 1>&4
  829.   else
  830.     cat > conftest.$ac_ext <<EOF
  831. ! #line 646 "configure"
  832.   #include "confdefs.h"
  833.   #include <minix/config.h>
  834.   EOF
  835. --- 628,644 ----
  836.       CC="$CC -Xp"
  837.     fi
  838.   else
  839. !   /bin/echo "$ac_t""no" 1>&4
  840.     ISC=
  841.   fi
  842.   
  843. ! ac_safe=`/bin/echo "minix/config.h" | tr './\055' '___'`
  844. ! /bin/echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  845.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  846. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  847.   else
  848.     cat > conftest.$ac_ext <<EOF
  849. ! #line 642 "configure"
  850.   #include "confdefs.h"
  851.   #include <minix/config.h>
  852.   EOF
  853. ***************
  854. *** 652,668 ****
  855.     rm -rf conftest*
  856.     eval "ac_cv_header_$ac_safe=yes"
  857.   else
  858. !   echo "$ac_err" >&5
  859.     rm -rf conftest*
  860.     eval "ac_cv_header_$ac_safe=no"
  861.   fi
  862.   rm -f conftest*
  863.   fi
  864.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  865. !   echo "$ac_t""yes" 1>&4
  866.     MINIX=yes
  867.   else
  868. !   echo "$ac_t""no" 1>&4
  869.   MINIX=
  870.   fi
  871.   
  872. --- 648,664 ----
  873.     rm -rf conftest*
  874.     eval "ac_cv_header_$ac_safe=yes"
  875.   else
  876. !   /bin/echo "$ac_err" >&5
  877.     rm -rf conftest*
  878.     eval "ac_cv_header_$ac_safe=no"
  879.   fi
  880.   rm -f conftest*
  881.   fi
  882.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  883. !   /bin/echo "$ac_t""yes" 1>&4
  884.     MINIX=yes
  885.   else
  886. !   /bin/echo "$ac_t""no" 1>&4
  887.   MINIX=
  888.   fi
  889.   
  890. ***************
  891. *** 681,692 ****
  892.   
  893.   fi
  894.   
  895. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  896.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  897. !   echo $ac_n "(cached) $ac_c" 1>&4
  898.   else
  899.     cat > conftest.$ac_ext <<EOF
  900. ! #line 690 "configure"
  901.   #include "confdefs.h"
  902.   
  903.   int main() { return 0; }
  904. --- 677,688 ----
  905.   
  906.   fi
  907.   
  908. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  909.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  910. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  911.   else
  912.     cat > conftest.$ac_ext <<EOF
  913. ! #line 686 "configure"
  914.   #include "confdefs.h"
  915.   
  916.   int main() { return 0; }
  917. ***************
  918. *** 736,742 ****
  919.   
  920.   ; return 0; }
  921.   EOF
  922. ! if eval $ac_link; then
  923.     rm -rf conftest*
  924.     ac_cv_c_const=yes
  925.   else
  926. --- 732,738 ----
  927.   
  928.   ; return 0; }
  929.   EOF
  930. ! if eval $ac_compile; then
  931.     rm -rf conftest*
  932.     ac_cv_c_const=yes
  933.   else
  934. ***************
  935. *** 746,752 ****
  936.   rm -f conftest*
  937.   
  938.   fi
  939. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  940.   if test $ac_cv_c_const = no; then
  941.     cat >> confdefs.h <<\EOF
  942.   #define const 
  943. --- 742,748 ----
  944.   rm -f conftest*
  945.   
  946.   fi
  947. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  948.   if test $ac_cv_c_const = no; then
  949.     cat >> confdefs.h <<\EOF
  950.   #define const 
  951. ***************
  952. *** 755,769 ****
  953.   fi
  954.   
  955.   # If we cannot run a trivial program, we must be cross compiling.
  956. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  957.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  958. !   echo $ac_n "(cached) $ac_c" 1>&4
  959.   else
  960.     if test "$cross_compiling" = yes; then
  961.     ac_cv_cross=yes
  962.   else
  963.   cat > conftest.$ac_ext <<EOF
  964. ! #line 767 "configure"
  965.   #include "confdefs.h"
  966.   main(){return(0);}
  967.   EOF
  968. --- 751,765 ----
  969.   fi
  970.   
  971.   # If we cannot run a trivial program, we must be cross compiling.
  972. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  973.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  974. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  975.   else
  976.     if test "$cross_compiling" = yes; then
  977.     ac_cv_cross=yes
  978.   else
  979.   cat > conftest.$ac_ext <<EOF
  980. ! #line 763 "configure"
  981.   #include "confdefs.h"
  982.   main(){return(0);}
  983.   EOF
  984. ***************
  985. *** 777,790 ****
  986.   rm -fr conftest*
  987.   fi
  988.   cross_compiling=$ac_cv_c_cross
  989. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  990.   
  991. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  992.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  993. !   echo $ac_n "(cached) $ac_c" 1>&4
  994.   else
  995.     cat > conftest.$ac_ext <<EOF
  996. ! #line 788 "configure"
  997.   #include "confdefs.h"
  998.   #include <stdlib.h>
  999.   #include <stdarg.h>
  1000. --- 773,786 ----
  1001.   rm -fr conftest*
  1002.   fi
  1003.   cross_compiling=$ac_cv_c_cross
  1004. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  1005.   
  1006. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1007.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1008. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1009.   else
  1010.     cat > conftest.$ac_ext <<EOF
  1011. ! #line 784 "configure"
  1012.   #include "confdefs.h"
  1013.   #include <stdlib.h>
  1014.   #include <stdarg.h>
  1015. ***************
  1016. *** 797,803 ****
  1017.     rm -rf conftest*
  1018.     ac_cv_header_stdc=yes
  1019.   else
  1020. !   echo "$ac_err" >&5
  1021.     rm -rf conftest*
  1022.     ac_cv_header_stdc=no
  1023.   fi
  1024. --- 793,799 ----
  1025.     rm -rf conftest*
  1026.     ac_cv_header_stdc=yes
  1027.   else
  1028. !   /bin/echo "$ac_err" >&5
  1029.     rm -rf conftest*
  1030.     ac_cv_header_stdc=no
  1031.   fi
  1032. ***************
  1033. *** 806,812 ****
  1034.   if test $ac_cv_header_stdc = yes; then
  1035.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1036.   cat > conftest.$ac_ext <<EOF
  1037. ! #line 810 "configure"
  1038.   #include "confdefs.h"
  1039.   #include <string.h>
  1040.   EOF
  1041. --- 802,808 ----
  1042.   if test $ac_cv_header_stdc = yes; then
  1043.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1044.   cat > conftest.$ac_ext <<EOF
  1045. ! #line 806 "configure"
  1046.   #include "confdefs.h"
  1047.   #include <string.h>
  1048.   EOF
  1049. ***************
  1050. *** 824,830 ****
  1051.   if test $ac_cv_header_stdc = yes; then
  1052.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1053.   cat > conftest.$ac_ext <<EOF
  1054. ! #line 828 "configure"
  1055.   #include "confdefs.h"
  1056.   #include <stdlib.h>
  1057.   EOF
  1058. --- 820,826 ----
  1059.   if test $ac_cv_header_stdc = yes; then
  1060.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1061.   cat > conftest.$ac_ext <<EOF
  1062. ! #line 824 "configure"
  1063.   #include "confdefs.h"
  1064.   #include <stdlib.h>
  1065.   EOF
  1066. ***************
  1067. *** 845,851 ****
  1068.     ac_cv_header_stdc=no
  1069.   else
  1070.   cat > conftest.$ac_ext <<EOF
  1071. ! #line 849 "configure"
  1072.   #include "confdefs.h"
  1073.   #include <ctype.h>
  1074.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1075. --- 841,847 ----
  1076.     ac_cv_header_stdc=no
  1077.   else
  1078.   cat > conftest.$ac_ext <<EOF
  1079. ! #line 845 "configure"
  1080.   #include "confdefs.h"
  1081.   #include <ctype.h>
  1082.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1083. ***************
  1084. *** 866,872 ****
  1085.   rm -fr conftest*
  1086.   fi
  1087.   fi
  1088. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1089.   if test $ac_cv_header_stdc = yes; then
  1090.     cat >> confdefs.h <<\EOF
  1091.   #define STDC_HEADERS 1
  1092. --- 862,868 ----
  1093.   rm -fr conftest*
  1094.   fi
  1095.   fi
  1096. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1097.   if test $ac_cv_header_stdc = yes; then
  1098.     cat >> confdefs.h <<\EOF
  1099.   #define STDC_HEADERS 1
  1100. ***************
  1101. *** 876,888 ****
  1102.   
  1103.   for ac_hdr in unistd.h fcntl.h limits.h stdlib.h string.h sys/file.h time.h
  1104.   do
  1105. ! ac_safe=`echo "$ac_hdr" | tr './' '__'`
  1106. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  1107.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1108. !   echo $ac_n "(cached) $ac_c" 1>&4
  1109.   else
  1110.     cat > conftest.$ac_ext <<EOF
  1111. ! #line 886 "configure"
  1112.   #include "confdefs.h"
  1113.   #include <$ac_hdr>
  1114.   EOF
  1115. --- 872,884 ----
  1116.   
  1117.   for ac_hdr in unistd.h fcntl.h limits.h stdlib.h string.h sys/file.h time.h
  1118.   do
  1119. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  1120. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  1121.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1122. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1123.   else
  1124.     cat > conftest.$ac_ext <<EOF
  1125. ! #line 882 "configure"
  1126.   #include "confdefs.h"
  1127.   #include <$ac_hdr>
  1128.   EOF
  1129. ***************
  1130. *** 892,925 ****
  1131.     rm -rf conftest*
  1132.     eval "ac_cv_header_$ac_safe=yes"
  1133.   else
  1134. !   echo "$ac_err" >&5
  1135.     rm -rf conftest*
  1136.     eval "ac_cv_header_$ac_safe=no"
  1137.   fi
  1138.   rm -f conftest*
  1139.   fi
  1140.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1141. !   echo "$ac_t""yes" 1>&4
  1142. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1143.     cat >> confdefs.h <<EOF
  1144.   #define $ac_tr_hdr 1
  1145.   EOF
  1146.    
  1147.   else
  1148. !   echo "$ac_t""no" 1>&4
  1149.   fi
  1150.   done
  1151.   
  1152.   ac_header_dirent=no
  1153.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1154.   do
  1155. ! ac_safe=`echo "$ac_hdr" | tr './' '__'`
  1156. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1157.   if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1158. !   echo $ac_n "(cached) $ac_c" 1>&4
  1159.   else
  1160.     cat > conftest.$ac_ext <<EOF
  1161. ! #line 923 "configure"
  1162.   #include "confdefs.h"
  1163.   #include <sys/types.h>
  1164.   #include <$ac_hdr>
  1165. --- 888,921 ----
  1166.     rm -rf conftest*
  1167.     eval "ac_cv_header_$ac_safe=yes"
  1168.   else
  1169. !   /bin/echo "$ac_err" >&5
  1170.     rm -rf conftest*
  1171.     eval "ac_cv_header_$ac_safe=no"
  1172.   fi
  1173.   rm -f conftest*
  1174.   fi
  1175.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1176. !   /bin/echo "$ac_t""yes" 1>&4
  1177. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1178.     cat >> confdefs.h <<EOF
  1179.   #define $ac_tr_hdr 1
  1180.   EOF
  1181.    
  1182.   else
  1183. !   /bin/echo "$ac_t""no" 1>&4
  1184.   fi
  1185.   done
  1186.   
  1187.   ac_header_dirent=no
  1188.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1189.   do
  1190. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  1191. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1192.   if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1193. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1194.   else
  1195.     cat > conftest.$ac_ext <<EOF
  1196. ! #line 919 "configure"
  1197.   #include "confdefs.h"
  1198.   #include <sys/types.h>
  1199.   #include <$ac_hdr>
  1200. ***************
  1201. *** 928,934 ****
  1202.   DIR *dirp = 0;
  1203.   ; return 0; }
  1204.   EOF
  1205. ! if eval $ac_link; then
  1206.     rm -rf conftest*
  1207.     eval "ac_cv_header_dirent_$ac_safe=yes"
  1208.   else
  1209. --- 924,930 ----
  1210.   DIR *dirp = 0;
  1211.   ; return 0; }
  1212.   EOF
  1213. ! if eval $ac_compile; then
  1214.     rm -rf conftest*
  1215.     eval "ac_cv_header_dirent_$ac_safe=yes"
  1216.   else
  1217. ***************
  1218. *** 939,965 ****
  1219.   
  1220.   fi
  1221.   if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1222. !   echo "$ac_t""yes" 1>&4
  1223. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  1224.     cat >> confdefs.h <<EOF
  1225.   #define $ac_tr_hdr 1
  1226.   EOF
  1227.    ac_header_dirent=$ac_hdr; break
  1228.   else
  1229. !   echo "$ac_t""no" 1>&4
  1230.   fi
  1231.   done
  1232. ! # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix,
  1233. ! # and -lx contains other useful things as well.  (FIXME what are they?)
  1234.   if test $ac_header_dirent = dirent.h; then
  1235. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1236.   if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1237. !   echo $ac_n "(cached) $ac_c" 1>&4
  1238.   else
  1239.     ac_save_LIBS="$LIBS"
  1240.   LIBS="$LIBS -ldir "
  1241.   cat > conftest.$ac_ext <<EOF
  1242. ! #line 963 "configure"
  1243.   #include "confdefs.h"
  1244.   
  1245.   int main() { return 0; }
  1246. --- 935,960 ----
  1247.   
  1248.   fi
  1249.   if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1250. !   /bin/echo "$ac_t""yes" 1>&4
  1251. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1252.     cat >> confdefs.h <<EOF
  1253.   #define $ac_tr_hdr 1
  1254.   EOF
  1255.    ac_header_dirent=$ac_hdr; break
  1256.   else
  1257. !   /bin/echo "$ac_t""no" 1>&4
  1258.   fi
  1259.   done
  1260. ! # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1261.   if test $ac_header_dirent = dirent.h; then
  1262. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1263.   if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1264. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1265.   else
  1266.     ac_save_LIBS="$LIBS"
  1267.   LIBS="$LIBS -ldir "
  1268.   cat > conftest.$ac_ext <<EOF
  1269. ! #line 958 "configure"
  1270.   #include "confdefs.h"
  1271.   
  1272.   int main() { return 0; }
  1273. ***************
  1274. *** 979,1004 ****
  1275.   
  1276.   fi
  1277.   if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  1278. !   echo "$ac_t""yes" 1>&4
  1279.     LIBS="$LIBS -ldir"
  1280.   else
  1281. !   echo "$ac_t""no" 1>&4
  1282.   fi
  1283.   
  1284. ! fi
  1285. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1286.   if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1287. !   echo $ac_n "(cached) $ac_c" 1>&4
  1288.   else
  1289.     ac_save_LIBS="$LIBS"
  1290.   LIBS="$LIBS -lx "
  1291.   cat > conftest.$ac_ext <<EOF
  1292. ! #line 997 "configure"
  1293.   #include "confdefs.h"
  1294.   
  1295.   int main() { return 0; }
  1296.   int t() {
  1297. ! main()
  1298.   ; return 0; }
  1299.   EOF
  1300.   if eval $ac_link; then
  1301. --- 974,999 ----
  1302.   
  1303.   fi
  1304.   if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  1305. !   /bin/echo "$ac_t""yes" 1>&4
  1306.     LIBS="$LIBS -ldir"
  1307.   else
  1308. !   /bin/echo "$ac_t""no" 1>&4
  1309.   fi
  1310.   
  1311. ! else
  1312. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1313.   if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1314. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1315.   else
  1316.     ac_save_LIBS="$LIBS"
  1317.   LIBS="$LIBS -lx "
  1318.   cat > conftest.$ac_ext <<EOF
  1319. ! #line 992 "configure"
  1320.   #include "confdefs.h"
  1321.   
  1322.   int main() { return 0; }
  1323.   int t() {
  1324. ! opendir()
  1325.   ; return 0; }
  1326.   EOF
  1327.   if eval $ac_link; then
  1328. ***************
  1329. *** 1013,1031 ****
  1330.   
  1331.   fi
  1332.   if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  1333. !   echo "$ac_t""yes" 1>&4
  1334.     LIBS="$LIBS -lx"
  1335.   else
  1336. !   echo "$ac_t""no" 1>&4
  1337.   fi
  1338.   
  1339.   
  1340. ! echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1341.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1342. !   echo $ac_n "(cached) $ac_c" 1>&4
  1343.   else
  1344.     cat > conftest.$ac_ext <<EOF
  1345. ! #line 1029 "configure"
  1346.   #include "confdefs.h"
  1347.   #include <sys/types.h>
  1348.   #include <sys/stat.h>
  1349. --- 1008,1027 ----
  1350.   
  1351.   fi
  1352.   if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  1353. !   /bin/echo "$ac_t""yes" 1>&4
  1354.     LIBS="$LIBS -lx"
  1355.   else
  1356. !   /bin/echo "$ac_t""no" 1>&4
  1357.   fi
  1358.   
  1359. + fi
  1360.   
  1361. ! /bin/echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1362.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1363. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1364.   else
  1365.     cat > conftest.$ac_ext <<EOF
  1366. ! #line 1025 "configure"
  1367.   #include "confdefs.h"
  1368.   #include <sys/types.h>
  1369.   #include <sys/stat.h>
  1370. ***************
  1371. *** 1064,1070 ****
  1372.   rm -f conftest*
  1373.   
  1374.   fi
  1375. ! echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1376.   if test $ac_cv_header_stat_broken = yes; then
  1377.     cat >> confdefs.h <<\EOF
  1378.   #define STAT_MACROS_BROKEN 1
  1379. --- 1060,1066 ----
  1380.   rm -f conftest*
  1381.   
  1382.   fi
  1383. ! /bin/echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1384.   if test $ac_cv_header_stat_broken = yes; then
  1385.     cat >> confdefs.h <<\EOF
  1386.   #define STAT_MACROS_BROKEN 1
  1387. ***************
  1388. *** 1072,1083 ****
  1389.   
  1390.   fi
  1391.   
  1392. ! echo $ac_n "checking for sys/wait.h that is compatible with Posix.1""... $ac_c" 1>&4
  1393.   if eval "test \"`echo '${'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  1394. !   echo $ac_n "(cached) $ac_c" 1>&4
  1395.   else
  1396.     cat > conftest.$ac_ext <<EOF
  1397. ! #line 1081 "configure"
  1398.   #include "confdefs.h"
  1399.   #include <sys/types.h>
  1400.   #include <sys/wait.h>
  1401. --- 1068,1079 ----
  1402.   
  1403.   fi
  1404.   
  1405. ! /bin/echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&4
  1406.   if eval "test \"`echo '${'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  1407. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1408.   else
  1409.     cat > conftest.$ac_ext <<EOF
  1410. ! #line 1077 "configure"
  1411.   #include "confdefs.h"
  1412.   #include <sys/types.h>
  1413.   #include <sys/wait.h>
  1414. ***************
  1415. *** 1091,1101 ****
  1416.   int t() {
  1417.   int s;
  1418.   wait (&s);
  1419. - waitpid (0, &s, 0);
  1420.   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  1421.   ; return 0; }
  1422.   EOF
  1423. ! if eval $ac_link; then
  1424.     rm -rf conftest*
  1425.     ac_cv_header_sys_wait_h=yes
  1426.   else
  1427. --- 1087,1096 ----
  1428.   int t() {
  1429.   int s;
  1430.   wait (&s);
  1431.   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  1432.   ; return 0; }
  1433.   EOF
  1434. ! if eval $ac_compile; then
  1435.     rm -rf conftest*
  1436.     ac_cv_header_sys_wait_h=yes
  1437.   else
  1438. ***************
  1439. *** 1105,1111 ****
  1440.   rm -f conftest*
  1441.   
  1442.   fi
  1443. ! echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&4
  1444.   if test $ac_cv_header_sys_wait_h = yes; then
  1445.     cat >> confdefs.h <<\EOF
  1446.   #define HAVE_SYS_WAIT_H 1
  1447. --- 1100,1106 ----
  1448.   rm -f conftest*
  1449.   
  1450.   fi
  1451. ! /bin/echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&4
  1452.   if test $ac_cv_header_sys_wait_h = yes; then
  1453.     cat >> confdefs.h <<\EOF
  1454.   #define HAVE_SYS_WAIT_H 1
  1455. ***************
  1456. *** 1113,1124 ****
  1457.   
  1458.   fi
  1459.   
  1460. ! echo $ac_n "checking for pid_t""... $ac_c" 1>&4
  1461.   if eval "test \"`echo '${'ac_cv_type_pid_t'+set}'`\" = set"; then
  1462. !   echo $ac_n "(cached) $ac_c" 1>&4
  1463.   else
  1464.     cat > conftest.$ac_ext <<EOF
  1465. ! #line 1122 "configure"
  1466.   #include "confdefs.h"
  1467.   #include <sys/types.h>
  1468.   #if STDC_HEADERS
  1469. --- 1108,1119 ----
  1470.   
  1471.   fi
  1472.   
  1473. ! /bin/echo $ac_n "checking for pid_t""... $ac_c" 1>&4
  1474.   if eval "test \"`echo '${'ac_cv_type_pid_t'+set}'`\" = set"; then
  1475. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1476.   else
  1477.     cat > conftest.$ac_ext <<EOF
  1478. ! #line 1117 "configure"
  1479.   #include "confdefs.h"
  1480.   #include <sys/types.h>
  1481.   #if STDC_HEADERS
  1482. ***************
  1483. *** 1136,1142 ****
  1484.   rm -f conftest*
  1485.   
  1486.   fi
  1487. ! echo "$ac_t""$ac_cv_type_pid_t" 1>&4
  1488.   if test $ac_cv_type_pid_t = no; then
  1489.     cat >> confdefs.h <<\EOF
  1490.   #define pid_t int
  1491. --- 1131,1137 ----
  1492.   rm -f conftest*
  1493.   
  1494.   fi
  1495. ! /bin/echo "$ac_t""$ac_cv_type_pid_t" 1>&4
  1496.   if test $ac_cv_type_pid_t = no; then
  1497.     cat >> confdefs.h <<\EOF
  1498.   #define pid_t int
  1499. ***************
  1500. *** 1144,1155 ****
  1501.   
  1502.   fi
  1503.   
  1504. ! echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
  1505.   if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then
  1506. !   echo $ac_n "(cached) $ac_c" 1>&4
  1507.   else
  1508.     cat > conftest.$ac_ext <<EOF
  1509. ! #line 1153 "configure"
  1510.   #include "confdefs.h"
  1511.   #include <sys/types.h>
  1512.   #include <signal.h>
  1513. --- 1139,1150 ----
  1514.   
  1515.   fi
  1516.   
  1517. ! /bin/echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4
  1518.   if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then
  1519. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1520.   else
  1521.     cat > conftest.$ac_ext <<EOF
  1522. ! #line 1148 "configure"
  1523.   #include "confdefs.h"
  1524.   #include <sys/types.h>
  1525.   #include <signal.h>
  1526. ***************
  1527. *** 1162,1168 ****
  1528.   int i;
  1529.   ; return 0; }
  1530.   EOF
  1531. ! if eval $ac_link; then
  1532.     rm -rf conftest*
  1533.     ac_cv_type_signal=void
  1534.   else
  1535. --- 1157,1163 ----
  1536.   int i;
  1537.   ; return 0; }
  1538.   EOF
  1539. ! if eval $ac_compile; then
  1540.     rm -rf conftest*
  1541.     ac_cv_type_signal=void
  1542.   else
  1543. ***************
  1544. *** 1172,1178 ****
  1545.   rm -f conftest*
  1546.   
  1547.   fi
  1548. ! echo "$ac_t""$ac_cv_type_signal" 1>&4
  1549.   cat >> confdefs.h <<EOF
  1550.   #define RETSIGTYPE $ac_cv_type_signal
  1551.   EOF
  1552. --- 1167,1173 ----
  1553.   rm -f conftest*
  1554.   
  1555.   fi
  1556. ! /bin/echo "$ac_t""$ac_cv_type_signal" 1>&4
  1557.   cat >> confdefs.h <<EOF
  1558.   #define RETSIGTYPE $ac_cv_type_signal
  1559.   EOF
  1560. ***************
  1561. *** 1180,1193 ****
  1562.   
  1563.   for ac_func in dup2 memchr sigaction strchr strerror tmpnam
  1564.   do
  1565. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1566.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1567. !   echo $ac_n "(cached) $ac_c" 1>&4
  1568.   else
  1569.     cat > conftest.$ac_ext <<EOF
  1570. ! #line 1189 "configure"
  1571.   #include "confdefs.h"
  1572.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1573.   int main() { return 0; }
  1574.   int t() {
  1575.   
  1576. --- 1175,1191 ----
  1577.   
  1578.   for ac_func in dup2 memchr sigaction strchr strerror tmpnam
  1579.   do
  1580. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1581.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1582. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1583.   else
  1584.     cat > conftest.$ac_ext <<EOF
  1585. ! #line 1184 "configure"
  1586.   #include "confdefs.h"
  1587.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1588. + /* Override any gcc2 internal prototype to avoid an error.  */
  1589. + char $ac_func(); 
  1590.   int main() { return 0; }
  1591.   int t() {
  1592.   
  1593. ***************
  1594. *** 1197,1204 ****
  1595.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1596.   choke me
  1597.   #else
  1598. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1599. ! char $ac_func(); $ac_func();
  1600.   #endif
  1601.   
  1602.   ; return 0; }
  1603. --- 1195,1201 ----
  1604.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1605.   choke me
  1606.   #else
  1607. ! $ac_func();
  1608.   #endif
  1609.   
  1610.   ; return 0; }
  1611. ***************
  1612. *** 1214,1240 ****
  1613.   
  1614.   fi
  1615.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1616. !   echo "$ac_t""yes" 1>&4
  1617. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1618.     cat >> confdefs.h <<EOF
  1619.   #define $ac_tr_func 1
  1620.   EOF
  1621.    
  1622.   else
  1623. !   echo "$ac_t""no" 1>&4
  1624.   fi
  1625.   done
  1626.   
  1627.   for ac_func in memchr waitpid
  1628.   do
  1629. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1630.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1631. !   echo $ac_n "(cached) $ac_c" 1>&4
  1632.   else
  1633.     cat > conftest.$ac_ext <<EOF
  1634. ! #line 1236 "configure"
  1635.   #include "confdefs.h"
  1636.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1637.   int main() { return 0; }
  1638.   int t() {
  1639.   
  1640. --- 1211,1240 ----
  1641.   
  1642.   fi
  1643.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1644. !   /bin/echo "$ac_t""yes" 1>&4
  1645. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1646.     cat >> confdefs.h <<EOF
  1647.   #define $ac_tr_func 1
  1648.   EOF
  1649.    
  1650.   else
  1651. !   /bin/echo "$ac_t""no" 1>&4
  1652.   fi
  1653.   done
  1654.   
  1655.   for ac_func in memchr waitpid
  1656.   do
  1657. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1658.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1659. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1660.   else
  1661.     cat > conftest.$ac_ext <<EOF
  1662. ! #line 1233 "configure"
  1663.   #include "confdefs.h"
  1664.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1665. + /* Override any gcc2 internal prototype to avoid an error.  */
  1666. + char $ac_func(); 
  1667.   int main() { return 0; }
  1668.   int t() {
  1669.   
  1670. ***************
  1671. *** 1244,1251 ****
  1672.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1673.   choke me
  1674.   #else
  1675. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1676. ! char $ac_func(); $ac_func();
  1677.   #endif
  1678.   
  1679.   ; return 0; }
  1680. --- 1244,1250 ----
  1681.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1682.   choke me
  1683.   #else
  1684. ! $ac_func();
  1685.   #endif
  1686.   
  1687.   ; return 0; }
  1688. ***************
  1689. *** 1261,1270 ****
  1690.   
  1691.   fi
  1692.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1693. !   echo "$ac_t""yes" 1>&4
  1694.     :
  1695.   else
  1696. !   echo "$ac_t""no" 1>&4
  1697.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  1698.   fi
  1699.   
  1700. --- 1260,1269 ----
  1701.   
  1702.   fi
  1703.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1704. !   /bin/echo "$ac_t""yes" 1>&4
  1705.     :
  1706.   else
  1707. !   /bin/echo "$ac_t""no" 1>&4
  1708.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  1709.   fi
  1710.   
  1711. ***************
  1712. *** 1272,1283 ****
  1713.   
  1714.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1715.   # for constant arguments.  Useless!
  1716. ! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  1717.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1718. !   echo $ac_n "(cached) $ac_c" 1>&4
  1719.   else
  1720.     cat > conftest.$ac_ext <<EOF
  1721. ! #line 1281 "configure"
  1722.   #include "confdefs.h"
  1723.   #include <alloca.h>
  1724.   int main() { return 0; }
  1725. --- 1271,1282 ----
  1726.   
  1727.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  1728.   # for constant arguments.  Useless!
  1729. ! /bin/echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  1730.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  1731. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1732.   else
  1733.     cat > conftest.$ac_ext <<EOF
  1734. ! #line 1280 "configure"
  1735.   #include "confdefs.h"
  1736.   #include <alloca.h>
  1737.   int main() { return 0; }
  1738. ***************
  1739. *** 1295,1301 ****
  1740.   rm -f conftest*
  1741.   
  1742.   fi
  1743. ! echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  1744.   if test $ac_cv_header_alloca_h = yes; then
  1745.     cat >> confdefs.h <<\EOF
  1746.   #define HAVE_ALLOCA_H 1
  1747. --- 1294,1300 ----
  1748.   rm -f conftest*
  1749.   
  1750.   fi
  1751. ! /bin/echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  1752.   if test $ac_cv_header_alloca_h = yes; then
  1753.     cat >> confdefs.h <<\EOF
  1754.   #define HAVE_ALLOCA_H 1
  1755. ***************
  1756. *** 1303,1314 ****
  1757.   
  1758.   fi
  1759.   
  1760. ! echo $ac_n "checking for alloca""... $ac_c" 1>&4
  1761.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  1762. !   echo $ac_n "(cached) $ac_c" 1>&4
  1763.   else
  1764.     cat > conftest.$ac_ext <<EOF
  1765. ! #line 1312 "configure"
  1766.   #include "confdefs.h"
  1767.   
  1768.   #ifdef __GNUC__
  1769. --- 1302,1313 ----
  1770.   
  1771.   fi
  1772.   
  1773. ! /bin/echo $ac_n "checking for alloca""... $ac_c" 1>&4
  1774.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  1775. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1776.   else
  1777.     cat > conftest.$ac_ext <<EOF
  1778. ! #line 1311 "configure"
  1779.   #include "confdefs.h"
  1780.   
  1781.   #ifdef __GNUC__
  1782. ***************
  1783. *** 1342,1348 ****
  1784.   rm -f conftest*
  1785.   
  1786.   fi
  1787. ! echo "$ac_t""$ac_cv_func_alloca" 1>&4
  1788.   if test $ac_cv_func_alloca = yes; then
  1789.     cat >> confdefs.h <<\EOF
  1790.   #define HAVE_ALLOCA 1
  1791. --- 1341,1347 ----
  1792.   rm -f conftest*
  1793.   
  1794.   fi
  1795. ! /bin/echo "$ac_t""$ac_cv_func_alloca" 1>&4
  1796.   if test $ac_cv_func_alloca = yes; then
  1797.     cat >> confdefs.h <<\EOF
  1798.   #define HAVE_ALLOCA 1
  1799. ***************
  1800. *** 1361,1372 ****
  1801.   EOF
  1802.   
  1803.   
  1804. ! echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  1805.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  1806. !   echo $ac_n "(cached) $ac_c" 1>&4
  1807.   else
  1808.     cat > conftest.$ac_ext <<EOF
  1809. ! #line 1370 "configure"
  1810.   #include "confdefs.h"
  1811.   #if defined(CRAY) && ! defined(CRAY2)
  1812.   webecray
  1813. --- 1360,1371 ----
  1814.   EOF
  1815.   
  1816.   
  1817. ! /bin/echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  1818.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  1819. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1820.   else
  1821.     cat > conftest.$ac_ext <<EOF
  1822. ! #line 1369 "configure"
  1823.   #include "confdefs.h"
  1824.   #if defined(CRAY) && ! defined(CRAY2)
  1825.   webecray
  1826. ***************
  1827. *** 1386,1401 ****
  1828.   rm -f conftest*
  1829.   
  1830.   fi
  1831. ! echo "$ac_t""$ac_cv_os_cray" 1>&4
  1832.   if test $ac_cv_os_cray = yes; then
  1833. ! echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  1834.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  1835. !   echo $ac_n "(cached) $ac_c" 1>&4
  1836.   else
  1837.     cat > conftest.$ac_ext <<EOF
  1838. ! #line 1397 "configure"
  1839.   #include "confdefs.h"
  1840.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1841.   int main() { return 0; }
  1842.   int t() {
  1843.   
  1844. --- 1385,1403 ----
  1845.   rm -f conftest*
  1846.   
  1847.   fi
  1848. ! /bin/echo "$ac_t""$ac_cv_os_cray" 1>&4
  1849.   if test $ac_cv_os_cray = yes; then
  1850. ! /bin/echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  1851.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  1852. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1853.   else
  1854.     cat > conftest.$ac_ext <<EOF
  1855. ! #line 1396 "configure"
  1856.   #include "confdefs.h"
  1857.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1858. + /* Override any gcc2 internal prototype to avoid an error.  */
  1859. + char _getb67(); 
  1860.   int main() { return 0; }
  1861.   int t() {
  1862.   
  1863. ***************
  1864. *** 1405,1412 ****
  1865.   #if defined (__stub__getb67) || defined (__stub____getb67)
  1866.   choke me
  1867.   #else
  1868. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1869. ! char _getb67(); _getb67();
  1870.   #endif
  1871.   
  1872.   ; return 0; }
  1873. --- 1407,1413 ----
  1874.   #if defined (__stub__getb67) || defined (__stub____getb67)
  1875.   choke me
  1876.   #else
  1877. ! _getb67();
  1878.   #endif
  1879.   
  1880.   ; return 0; }
  1881. ***************
  1882. *** 1422,1442 ****
  1883.   
  1884.   fi
  1885.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  1886. !   echo "$ac_t""yes" 1>&4
  1887.     cat >> confdefs.h <<\EOF
  1888.   #define CRAY_STACKSEG_END _getb67
  1889.   EOF
  1890.   
  1891.   else
  1892. !   echo "$ac_t""no" 1>&4
  1893. ! echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  1894.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  1895. !   echo $ac_n "(cached) $ac_c" 1>&4
  1896.   else
  1897.     cat > conftest.$ac_ext <<EOF
  1898. ! #line 1438 "configure"
  1899.   #include "confdefs.h"
  1900.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1901.   int main() { return 0; }
  1902.   int t() {
  1903.   
  1904. --- 1423,1446 ----
  1905.   
  1906.   fi
  1907.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  1908. !   /bin/echo "$ac_t""yes" 1>&4
  1909.     cat >> confdefs.h <<\EOF
  1910.   #define CRAY_STACKSEG_END _getb67
  1911.   EOF
  1912.   
  1913.   else
  1914. !   /bin/echo "$ac_t""no" 1>&4
  1915. ! /bin/echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  1916.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  1917. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1918.   else
  1919.     cat > conftest.$ac_ext <<EOF
  1920. ! #line 1439 "configure"
  1921.   #include "confdefs.h"
  1922.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1923. + /* Override any gcc2 internal prototype to avoid an error.  */
  1924. + char GETB67(); 
  1925.   int main() { return 0; }
  1926.   int t() {
  1927.   
  1928. ***************
  1929. *** 1446,1453 ****
  1930.   #if defined (__stub_GETB67) || defined (__stub___GETB67)
  1931.   choke me
  1932.   #else
  1933. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1934. ! char GETB67(); GETB67();
  1935.   #endif
  1936.   
  1937.   ; return 0; }
  1938. --- 1450,1456 ----
  1939.   #if defined (__stub_GETB67) || defined (__stub___GETB67)
  1940.   choke me
  1941.   #else
  1942. ! GETB67();
  1943.   #endif
  1944.   
  1945.   ; return 0; }
  1946. ***************
  1947. *** 1463,1483 ****
  1948.   
  1949.   fi
  1950.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  1951. !   echo "$ac_t""yes" 1>&4
  1952.     cat >> confdefs.h <<\EOF
  1953.   #define CRAY_STACKSEG_END GETB67
  1954.   EOF
  1955.   
  1956.   else
  1957. !   echo "$ac_t""no" 1>&4
  1958. ! echo $ac_n "checking for getb67""... $ac_c" 1>&4
  1959.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  1960. !   echo $ac_n "(cached) $ac_c" 1>&4
  1961.   else
  1962.     cat > conftest.$ac_ext <<EOF
  1963. ! #line 1479 "configure"
  1964.   #include "confdefs.h"
  1965.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1966.   int main() { return 0; }
  1967.   int t() {
  1968.   
  1969. --- 1466,1489 ----
  1970.   
  1971.   fi
  1972.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  1973. !   /bin/echo "$ac_t""yes" 1>&4
  1974.     cat >> confdefs.h <<\EOF
  1975.   #define CRAY_STACKSEG_END GETB67
  1976.   EOF
  1977.   
  1978.   else
  1979. !   /bin/echo "$ac_t""no" 1>&4
  1980. ! /bin/echo $ac_n "checking for getb67""... $ac_c" 1>&4
  1981.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  1982. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1983.   else
  1984.     cat > conftest.$ac_ext <<EOF
  1985. ! #line 1482 "configure"
  1986.   #include "confdefs.h"
  1987.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1988. + /* Override any gcc2 internal prototype to avoid an error.  */
  1989. + char getb67(); 
  1990.   int main() { return 0; }
  1991.   int t() {
  1992.   
  1993. ***************
  1994. *** 1487,1494 ****
  1995.   #if defined (__stub_getb67) || defined (__stub___getb67)
  1996.   choke me
  1997.   #else
  1998. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1999. ! char getb67(); getb67();
  2000.   #endif
  2001.   
  2002.   ; return 0; }
  2003. --- 1493,1499 ----
  2004.   #if defined (__stub_getb67) || defined (__stub___getb67)
  2005.   choke me
  2006.   #else
  2007. ! getb67();
  2008.   #endif
  2009.   
  2010.   ; return 0; }
  2011. ***************
  2012. *** 1504,1516 ****
  2013.   
  2014.   fi
  2015.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2016. !   echo "$ac_t""yes" 1>&4
  2017.     cat >> confdefs.h <<\EOF
  2018.   #define CRAY_STACKSEG_END getb67
  2019.   EOF
  2020.   
  2021.   else
  2022. !   echo "$ac_t""no" 1>&4
  2023.   fi
  2024.   
  2025.   fi
  2026. --- 1509,1521 ----
  2027.   
  2028.   fi
  2029.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2030. !   /bin/echo "$ac_t""yes" 1>&4
  2031.     cat >> confdefs.h <<\EOF
  2032.   #define CRAY_STACKSEG_END getb67
  2033.   EOF
  2034.   
  2035.   else
  2036. !   /bin/echo "$ac_t""no" 1>&4
  2037.   fi
  2038.   
  2039.   fi
  2040. ***************
  2041. *** 1519,1533 ****
  2042.   
  2043.   fi
  2044.   
  2045. ! echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2046.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2047. !   echo $ac_n "(cached) $ac_c" 1>&4
  2048.   else
  2049.     if test "$cross_compiling" = yes; then
  2050.     ac_cv_c_stack_direction=0
  2051.   else
  2052.   cat > conftest.$ac_ext <<EOF
  2053. ! #line 1531 "configure"
  2054.   #include "confdefs.h"
  2055.   find_stack_direction ()
  2056.   {
  2057. --- 1524,1538 ----
  2058.   
  2059.   fi
  2060.   
  2061. ! /bin/echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2062.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2063. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2064.   else
  2065.     if test "$cross_compiling" = yes; then
  2066.     ac_cv_c_stack_direction=0
  2067.   else
  2068.   cat > conftest.$ac_ext <<EOF
  2069. ! #line 1536 "configure"
  2070.   #include "confdefs.h"
  2071.   find_stack_direction ()
  2072.   {
  2073. ***************
  2074. *** 1555,1576 ****
  2075.   fi
  2076.   rm -fr conftest*
  2077.   fi
  2078. ! echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2079.   cat >> confdefs.h <<EOF
  2080.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2081.   EOF
  2082.   
  2083.   fi
  2084.   
  2085. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  2086.   if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  2087. !   echo $ac_n "(cached) $ac_c" 1>&4
  2088.   else
  2089.     if test "$cross_compiling" = yes; then
  2090.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2091.   else
  2092.   cat > conftest.$ac_ext <<EOF
  2093. ! #line 1574 "configure"
  2094.   #include "confdefs.h"
  2095.   #include <sys/types.h>
  2096.   #include <$ac_header_dirent>
  2097. --- 1560,1581 ----
  2098.   fi
  2099.   rm -fr conftest*
  2100.   fi
  2101. ! /bin/echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2102.   cat >> confdefs.h <<EOF
  2103.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2104.   EOF
  2105.   
  2106.   fi
  2107.   
  2108. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  2109.   if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  2110. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2111.   else
  2112.     if test "$cross_compiling" = yes; then
  2113.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2114.   else
  2115.   cat > conftest.$ac_ext <<EOF
  2116. ! #line 1579 "configure"
  2117.   #include "confdefs.h"
  2118.   #include <sys/types.h>
  2119.   #include <$ac_header_dirent>
  2120. ***************
  2121. *** 1585,1591 ****
  2122.   fi
  2123.   rm -fr conftest*
  2124.   fi
  2125. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2126.   if test $ac_cv_func_closedir_void = yes; then
  2127.     cat >> confdefs.h <<\EOF
  2128.   #define CLOSEDIR_VOID 1
  2129. --- 1590,1596 ----
  2130.   fi
  2131.   rm -fr conftest*
  2132.   fi
  2133. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2134.   if test $ac_cv_func_closedir_void = yes; then
  2135.     cat >> confdefs.h <<\EOF
  2136.   #define CLOSEDIR_VOID 1
  2137. ***************
  2138. *** 1593,1605 ****
  2139.   
  2140.   fi
  2141.   
  2142. ! ac_safe=`echo "vfork.h" | tr './' '__'`
  2143. ! echo $ac_n "checking for vfork.h""... $ac_c" 1>&4
  2144.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2145. !   echo $ac_n "(cached) $ac_c" 1>&4
  2146.   else
  2147.     cat > conftest.$ac_ext <<EOF
  2148. ! #line 1603 "configure"
  2149.   #include "confdefs.h"
  2150.   #include <vfork.h>
  2151.   EOF
  2152. --- 1598,1610 ----
  2153.   
  2154.   fi
  2155.   
  2156. ! ac_safe=`/bin/echo "vfork.h" | tr './\055' '___'`
  2157. ! /bin/echo $ac_n "checking for vfork.h""... $ac_c" 1>&4
  2158.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2159. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2160.   else
  2161.     cat > conftest.$ac_ext <<EOF
  2162. ! #line 1608 "configure"
  2163.   #include "confdefs.h"
  2164.   #include <vfork.h>
  2165.   EOF
  2166. ***************
  2167. *** 1609,1640 ****
  2168.     rm -rf conftest*
  2169.     eval "ac_cv_header_$ac_safe=yes"
  2170.   else
  2171. !   echo "$ac_err" >&5
  2172.     rm -rf conftest*
  2173.     eval "ac_cv_header_$ac_safe=no"
  2174.   fi
  2175.   rm -f conftest*
  2176.   fi
  2177.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2178. !   echo "$ac_t""yes" 1>&4
  2179.     cat >> confdefs.h <<\EOF
  2180.   #define HAVE_VFORK_H 1
  2181.   EOF
  2182.   
  2183.   else
  2184. !   echo "$ac_t""no" 1>&4
  2185.   fi
  2186.   
  2187. ! echo $ac_n "checking for working vfork""... $ac_c" 1>&4
  2188.   if eval "test \"`echo '${'ac_cv_func_vfork'+set}'`\" = set"; then
  2189. !   echo $ac_n "(cached) $ac_c" 1>&4
  2190.   else
  2191.     
  2192.   if test "$cross_compiling" = yes; then
  2193.     ac_cv_func_vfork=no
  2194.   else
  2195.   cat > conftest.$ac_ext <<EOF
  2196. ! #line 1638 "configure"
  2197.   #include "confdefs.h"
  2198.   /* Thanks to Paul Eggert for this test.  */
  2199.   #include <stdio.h>
  2200. --- 1614,1645 ----
  2201.     rm -rf conftest*
  2202.     eval "ac_cv_header_$ac_safe=yes"
  2203.   else
  2204. !   /bin/echo "$ac_err" >&5
  2205.     rm -rf conftest*
  2206.     eval "ac_cv_header_$ac_safe=no"
  2207.   fi
  2208.   rm -f conftest*
  2209.   fi
  2210.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2211. !   /bin/echo "$ac_t""yes" 1>&4
  2212.     cat >> confdefs.h <<\EOF
  2213.   #define HAVE_VFORK_H 1
  2214.   EOF
  2215.   
  2216.   else
  2217. !   /bin/echo "$ac_t""no" 1>&4
  2218.   fi
  2219.   
  2220. ! /bin/echo $ac_n "checking for working vfork""... $ac_c" 1>&4
  2221.   if eval "test \"`echo '${'ac_cv_func_vfork'+set}'`\" = set"; then
  2222. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2223.   else
  2224.     
  2225.   if test "$cross_compiling" = yes; then
  2226.     ac_cv_func_vfork=no
  2227.   else
  2228.   cat > conftest.$ac_ext <<EOF
  2229. ! #line 1643 "configure"
  2230.   #include "confdefs.h"
  2231.   /* Thanks to Paul Eggert for this test.  */
  2232.   #include <stdio.h>
  2233. ***************
  2234. *** 1680,1685 ****
  2235. --- 1685,1695 ----
  2236.   
  2237.     sparc_address_test ();
  2238.   
  2239. + #ifdef __amigados__
  2240. +   /* Force this test to succeed for AmigaDOS, which has a fairly good
  2241. +      vfork() emulation, but doesn't support fork() at all.  -fnf */
  2242. +   exit (0);
  2243. + #endif
  2244.     signal (SIGINT, catch);
  2245.   
  2246.     child = vfork ();
  2247. ***************
  2248. *** 1751,1757 ****
  2249.   fi
  2250.   rm -fr conftest*
  2251.   fi
  2252. ! echo "$ac_t""$ac_cv_func_vfork" 1>&4
  2253.   if test $ac_cv_func_vfork = no; then
  2254.     cat >> confdefs.h <<\EOF
  2255.   #define vfork fork
  2256. --- 1761,1767 ----
  2257.   fi
  2258.   rm -fr conftest*
  2259.   fi
  2260. ! /bin/echo "$ac_t""$ac_cv_func_vfork" 1>&4
  2261.   if test $ac_cv_func_vfork = no; then
  2262.     cat >> confdefs.h <<\EOF
  2263.   #define vfork fork
  2264. ***************
  2265. *** 1759,1772 ****
  2266.   
  2267.   fi
  2268.   
  2269. ! echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2270.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2271. !   echo $ac_n "(cached) $ac_c" 1>&4
  2272.   else
  2273.     cat > conftest.$ac_ext <<EOF
  2274. ! #line 1768 "configure"
  2275.   #include "confdefs.h"
  2276.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2277.   int main() { return 0; }
  2278.   int t() {
  2279.   
  2280. --- 1769,1785 ----
  2281.   
  2282.   fi
  2283.   
  2284. ! /bin/echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2285.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2286. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2287.   else
  2288.     cat > conftest.$ac_ext <<EOF
  2289. ! #line 1778 "configure"
  2290.   #include "confdefs.h"
  2291.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2292. + /* Override any gcc2 internal prototype to avoid an error.  */
  2293. + char vprintf(); 
  2294.   int main() { return 0; }
  2295.   int t() {
  2296.   
  2297. ***************
  2298. *** 1776,1783 ****
  2299.   #if defined (__stub_vprintf) || defined (__stub___vprintf)
  2300.   choke me
  2301.   #else
  2302. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2303. ! char vprintf(); vprintf();
  2304.   #endif
  2305.   
  2306.   ; return 0; }
  2307. --- 1789,1795 ----
  2308.   #if defined (__stub_vprintf) || defined (__stub___vprintf)
  2309.   choke me
  2310.   #else
  2311. ! vprintf();
  2312.   #endif
  2313.   
  2314.   ; return 0; }
  2315. ***************
  2316. *** 1793,1816 ****
  2317.   
  2318.   fi
  2319.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2320. !   echo "$ac_t""yes" 1>&4
  2321.     cat >> confdefs.h <<\EOF
  2322.   #define HAVE_VPRINTF 1
  2323.   EOF
  2324.   
  2325.   else
  2326. !   echo "$ac_t""no" 1>&4
  2327.   fi
  2328.   
  2329.   if test "$ac_cv_func_vprintf" != yes; then
  2330. ! echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2331.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2332. !   echo $ac_n "(cached) $ac_c" 1>&4
  2333.   else
  2334.     cat > conftest.$ac_ext <<EOF
  2335. ! #line 1812 "configure"
  2336.   #include "confdefs.h"
  2337.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2338.   int main() { return 0; }
  2339.   int t() {
  2340.   
  2341. --- 1805,1831 ----
  2342.   
  2343.   fi
  2344.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2345. !   /bin/echo "$ac_t""yes" 1>&4
  2346.     cat >> confdefs.h <<\EOF
  2347.   #define HAVE_VPRINTF 1
  2348.   EOF
  2349.   
  2350.   else
  2351. !   /bin/echo "$ac_t""no" 1>&4
  2352.   fi
  2353.   
  2354.   if test "$ac_cv_func_vprintf" != yes; then
  2355. ! /bin/echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2356.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2357. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2358.   else
  2359.     cat > conftest.$ac_ext <<EOF
  2360. ! #line 1824 "configure"
  2361.   #include "confdefs.h"
  2362.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2363. + /* Override any gcc2 internal prototype to avoid an error.  */
  2364. + char _doprnt(); 
  2365.   int main() { return 0; }
  2366.   int t() {
  2367.   
  2368. ***************
  2369. *** 1820,1827 ****
  2370.   #if defined (__stub__doprnt) || defined (__stub____doprnt)
  2371.   choke me
  2372.   #else
  2373. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2374. ! char _doprnt(); _doprnt();
  2375.   #endif
  2376.   
  2377.   ; return 0; }
  2378. --- 1835,1841 ----
  2379.   #if defined (__stub__doprnt) || defined (__stub____doprnt)
  2380.   choke me
  2381.   #else
  2382. ! _doprnt();
  2383.   #endif
  2384.   
  2385.   ; return 0; }
  2386. ***************
  2387. *** 1837,1859 ****
  2388.   
  2389.   fi
  2390.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2391. !   echo "$ac_t""yes" 1>&4
  2392.     cat >> confdefs.h <<\EOF
  2393.   #define HAVE_DOPRNT 1
  2394.   EOF
  2395.   
  2396.   else
  2397. !   echo "$ac_t""no" 1>&4
  2398.   fi
  2399.   
  2400.   fi
  2401.   
  2402. ! echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&4
  2403.   if eval "test \"`echo '${'ac_cv_struct_st_blksize'+set}'`\" = set"; then
  2404. !   echo $ac_n "(cached) $ac_c" 1>&4
  2405.   else
  2406.     cat > conftest.$ac_ext <<EOF
  2407. ! #line 1857 "configure"
  2408.   #include "confdefs.h"
  2409.   #include <sys/types.h>
  2410.   #include <sys/stat.h>
  2411. --- 1851,1873 ----
  2412.   
  2413.   fi
  2414.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2415. !   /bin/echo "$ac_t""yes" 1>&4
  2416.     cat >> confdefs.h <<\EOF
  2417.   #define HAVE_DOPRNT 1
  2418.   EOF
  2419.   
  2420.   else
  2421. !   /bin/echo "$ac_t""no" 1>&4
  2422.   fi
  2423.   
  2424.   fi
  2425.   
  2426. ! /bin/echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&4
  2427.   if eval "test \"`echo '${'ac_cv_struct_st_blksize'+set}'`\" = set"; then
  2428. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2429.   else
  2430.     cat > conftest.$ac_ext <<EOF
  2431. ! #line 1871 "configure"
  2432.   #include "confdefs.h"
  2433.   #include <sys/types.h>
  2434.   #include <sys/stat.h>
  2435. ***************
  2436. *** 1862,1868 ****
  2437.   struct stat s; s.st_blksize;
  2438.   ; return 0; }
  2439.   EOF
  2440. ! if eval $ac_link; then
  2441.     rm -rf conftest*
  2442.     ac_cv_struct_st_blksize=yes
  2443.   else
  2444. --- 1876,1882 ----
  2445.   struct stat s; s.st_blksize;
  2446.   ; return 0; }
  2447.   EOF
  2448. ! if eval $ac_compile; then
  2449.     rm -rf conftest*
  2450.     ac_cv_struct_st_blksize=yes
  2451.   else
  2452. ***************
  2453. *** 1872,1878 ****
  2454.   rm -f conftest*
  2455.   
  2456.   fi
  2457. ! echo "$ac_t""$ac_cv_struct_st_blksize" 1>&4
  2458.   if test $ac_cv_struct_st_blksize = yes; then
  2459.     cat >> confdefs.h <<\EOF
  2460.   #define HAVE_ST_BLKSIZE 1
  2461. --- 1886,1892 ----
  2462.   rm -f conftest*
  2463.   
  2464.   fi
  2465. ! /bin/echo "$ac_t""$ac_cv_struct_st_blksize" 1>&4
  2466.   if test $ac_cv_struct_st_blksize = yes; then
  2467.     cat >> confdefs.h <<\EOF
  2468.   #define HAVE_ST_BLKSIZE 1
  2469. ***************
  2470. *** 1909,1915 ****
  2471.   
  2472.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2473.   
  2474. ! test "x$prefix" = xNONE && prefix=/usr/local
  2475.   # Let make expand exec_prefix.
  2476.   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2477.   
  2478. --- 1923,1929 ----
  2479.   
  2480.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2481.   
  2482. ! test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2483.   # Let make expand exec_prefix.
  2484.   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2485.   
  2486. ***************
  2487. *** 1928,1934 ****
  2488.   : ${CONFIG_STATUS=./config.status}
  2489.   
  2490.   echo creating $CONFIG_STATUS
  2491. ! rm -f $CONFIG_STATUS
  2492.   cat > $CONFIG_STATUS <<EOF
  2493.   #!/bin/sh
  2494.   # Generated automatically by configure.
  2495. --- 1942,1950 ----
  2496.   : ${CONFIG_STATUS=./config.status}
  2497.   
  2498.   echo creating $CONFIG_STATUS
  2499. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  2500. ! # being executed, so just move it out of the way instead.
  2501. ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  2502.   cat > $CONFIG_STATUS <<EOF
  2503.   #!/bin/sh
  2504.   # Generated automatically by configure.
  2505. ***************
  2506. *** 1949,1955 ****
  2507.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2508.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2509.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2510. !     echo "$CONFIG_STATUS generated by autoconf version 1.120"
  2511.       exit 0 ;;
  2512.     -help | --help | --hel | --he | --h)
  2513.       echo "\$ac_cs_usage"; exit 0 ;;
  2514. --- 1965,1971 ----
  2515.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2516.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2517.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2518. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  2519.       exit 0 ;;
  2520.     -help | --help | --hel | --he | --h)
  2521.       echo "\$ac_cs_usage"; exit 0 ;;
  2522. ***************
  2523. *** 1993,2013 ****
  2524.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2525.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2526.     case "$ac_file" in
  2527. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2528. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2529.     *) ac_file_in="${ac_file}.in" ;;
  2530.     esac
  2531.   
  2532.     # Adjust relative srcdir, etc. for subdirectories.
  2533.   
  2534.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2535. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2536.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2537.       # The file is in a subdirectory.
  2538.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2539.       ac_dir_suffix="/$ac_dir"
  2540.       # A "../" for each directory in $ac_dir_suffix.
  2541. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2542.     else
  2543.       ac_dir_suffix= ac_dots=
  2544.     fi
  2545. --- 2009,2029 ----
  2546.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2547.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2548.     case "$ac_file" in
  2549. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  2550. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  2551.     *) ac_file_in="${ac_file}.in" ;;
  2552.     esac
  2553.   
  2554.     # Adjust relative srcdir, etc. for subdirectories.
  2555.   
  2556.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2557. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2558.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2559.       # The file is in a subdirectory.
  2560.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2561.       ac_dir_suffix="/$ac_dir"
  2562.       # A "../" for each directory in $ac_dir_suffix.
  2563. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2564.     else
  2565.       ac_dir_suffix= ac_dots=
  2566.     fi
  2567. ***************
  2568. *** 2015,2021 ****
  2569.     case "$ac_given_srcdir" in
  2570.     .)  srcdir=.
  2571.         if test -z "$ac_dots"; then top_srcdir=.
  2572. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2573.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2574.     *) # Relative path.
  2575.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2576. --- 2031,2037 ----
  2577.     case "$ac_given_srcdir" in
  2578.     .)  srcdir=.
  2579.         if test -z "$ac_dots"; then top_srcdir=.
  2580. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  2581.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2582.     *) # Relative path.
  2583.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2584. ***************
  2585. *** 2028,2034 ****
  2586.     esac
  2587.     echo creating "$ac_file"
  2588.     rm -f "$ac_file"
  2589. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2590.     case "$ac_file" in
  2591.     *Makefile*) ac_comsub="1i\\
  2592.   # $configure_input" ;;
  2593. --- 2044,2050 ----
  2594.     esac
  2595.     echo creating "$ac_file"
  2596.     rm -f "$ac_file"
  2597. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  2598.     case "$ac_file" in
  2599.     *Makefile*) ac_comsub="1i\\
  2600.   # $configure_input" ;;
  2601. ***************
  2602. *** 2066,2073 ****
  2603.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2604.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2605.     case "$ac_file" in
  2606. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2607. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2608.     *) ac_file_in="${ac_file}.in" ;;
  2609.     esac
  2610.   
  2611. --- 2082,2089 ----
  2612.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2613.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2614.     case "$ac_file" in
  2615. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  2616. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  2617.     *) ac_file_in="${ac_file}.in" ;;
  2618.     esac
  2619.   
  2620. ***************
  2621. *** 2131,2137 ****
  2622.     cat conftest.in >> conftest.h
  2623.     rm -f conftest.in
  2624.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  2625. !     echo "$ac_file is unchanged"
  2626.       rm -f conftest.h
  2627.     else
  2628.       rm -f $ac_file
  2629. --- 2147,2153 ----
  2630.     cat conftest.in >> conftest.h
  2631.     rm -f conftest.in
  2632.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  2633. !     /bin/echo "$ac_file is unchanged"
  2634.       rm -f conftest.h
  2635.     else
  2636.       rm -f $ac_file
  2637. diff -rc --new-file diffutils-2.7/fnmatch.h /gnu/src/amiga/diffutils-2.7/fnmatch.h
  2638. *** diffutils-2.7/fnmatch.h    Tue Sep 27 16:16:50 1994
  2639. --- /gnu/src/amiga/diffutils-2.7/fnmatch.h    Sat Nov 12 06:14:25 1994
  2640. ***************
  2641. *** 44,50 ****
  2642. --- 44,52 ----
  2643.   #undef    FNM_PERIOD
  2644.   
  2645.   /* Bits set in the FLAGS argument to `fnmatch'.  */
  2646. + #ifndef FNM_PATHNAME
  2647.   #define    FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
  2648. + #endif
  2649.   #define    FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */
  2650.   #define    FNM_PERIOD    (1 << 2) /* Leading `.' is matched only explicitly.  */
  2651.   
  2652. diff -rc --new-file diffutils-2.7/sdiff.c /gnu/src/amiga/diffutils-2.7/sdiff.c
  2653. *** diffutils-2.7/sdiff.c    Sat Oct  1 05:14:15 1994
  2654. --- /gnu/src/amiga/diffutils-2.7/sdiff.c    Sat Nov 12 06:16:58 1994
  2655. ***************
  2656. *** 29,40 ****
  2657.   
  2658.   /* Default name of the diff program */
  2659.   #ifndef DIFF_PROGRAM
  2660. ! #define DIFF_PROGRAM "/usr/bin/diff"
  2661.   #endif
  2662.   
  2663.   /* Users' editor of nonchoice */
  2664.   #ifndef DEFAULT_EDITOR_PROGRAM
  2665. ! #define DEFAULT_EDITOR_PROGRAM "ed"
  2666.   #endif
  2667.   
  2668.   extern char version_string[];
  2669. --- 29,40 ----
  2670.   
  2671.   /* Default name of the diff program */
  2672.   #ifndef DIFF_PROGRAM
  2673. ! #define DIFF_PROGRAM "/gnu/bin/diff"
  2674.   #endif
  2675.   
  2676.   /* Users' editor of nonchoice */
  2677.   #ifndef DEFAULT_EDITOR_PROGRAM
  2678. ! #define DEFAULT_EDITOR_PROGRAM "emacs"
  2679.   #endif
  2680.   
  2681.   extern char version_string[];
  2682.