home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / sh-utils-1.12.diffs < prev    next >
Encoding:
Text File  |  1995-01-21  |  112.6 KB  |  4,188 lines

  1. diff -rc --new-file sh-utils-1.12/INSTALL /gnu/src/amiga/sh-utils-1.12/INSTALL
  2. *** sh-utils-1.12/INSTALL    Tue Oct 18 20:30:28 1994
  3. --- /gnu/src/amiga/sh-utils-1.12/INSTALL    Sat Nov 12 21:53:37 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'.
  12.   
  13.      You can specify separate installation prefixes for
  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'.
  21.   
  22.      You can specify separate installation prefixes for
  23. diff -rc --new-file sh-utils-1.12/Makefile.in /gnu/src/amiga/sh-utils-1.12/Makefile.in
  24. *** sh-utils-1.12/Makefile.in    Fri Nov  4 07:01:04 1994
  25. --- /gnu/src/amiga/sh-utils-1.12/Makefile.in    Sat Nov 12 22:23:10 1994
  26. ***************
  27. *** 33,40 ****
  28.   stamp-h.in acconfig.h
  29.   
  30.   # Redundant stuff for making only selected programs.
  31.   PROGS = basename date dirname echo env expr false groups hostname id logname \
  32. ! pathchk printenv printf pwd sleep tee test true tty users who whoami \
  33.   yes @PROGS@
  34.   
  35.   # Subdirectories to run make in for the primary targets.
  36. --- 33,41 ----
  37.   stamp-h.in acconfig.h
  38.   
  39.   # Redundant stuff for making only selected programs.
  40. + # Amiga hacks - remove tty and who, since they need ttyname().
  41.   PROGS = basename date dirname echo env expr false groups hostname id logname \
  42. ! pathchk printenv printf pwd sleep tee test true users whoami \
  43.   yes @PROGS@
  44.   
  45.   # Subdirectories to run make in for the primary targets.
  46. diff -rc --new-file sh-utils-1.12/Product-Info /gnu/src/amiga/sh-utils-1.12/Product-Info
  47. *** sh-utils-1.12/Product-Info    Thu Jan  1 00:00:00 1970
  48. --- /gnu/src/amiga/sh-utils-1.12/Product-Info    Fri Nov 18 12:49:13 1994
  49. ***************
  50. *** 0 ****
  51. --- 1,24 ----
  52. + .name
  53. + sh-utils
  54. + .fullname
  55. + Shell programming utilities
  56. + .type
  57. + Programmer Tool
  58. + .short
  59. + GNU shell programming utilities
  60. + .description
  61. + This is a package of small shell programming utilities.  They are
  62. + mostly compliant with POSIX.2, where applicable.  The programs that
  63. + can be built with this package are: basename date dirname echo env
  64. + expr false groups id logname nice nohup pathchk printenv printf sleep
  65. + stty tee test true tty uname who whoami yes Some programs (uname,
  66. + nice, nohup, and stty) are built and installed only on systems that
  67. + have the features to support them.
  68. + .version
  69. + 1.12
  70. + .author
  71. + Free Software Foundation
  72. + .distribution
  73. + GNU Public License
  74. + .described-by
  75. + Fred Fish (fnf@amigalib.com)
  76. diff -rc --new-file sh-utils-1.12/configure /gnu/src/amiga/sh-utils-1.12/configure
  77. *** sh-utils-1.12/configure    Fri Oct  7 23:52:35 1994
  78. --- /gnu/src/amiga/sh-utils-1.12/configure    Sat Nov 12 22:01:38 1994
  79. ***************
  80. *** 1,56 ****
  81.   #!/bin/sh
  82.   
  83.   # Guess values for system-dependent variables and create Makefiles.
  84. ! # Generated automatically using autoconf version 1.120 
  85. ! # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  86.   #
  87. ! # This configure script is free software; you can redistribute it and/or
  88. ! # modify it under the terms of the GNU General Public License as published
  89. ! # by the Free Software Foundation; either version 2, or (at your option)
  90. ! # any later version.
  91. ! #
  92. ! # This script is distributed in the hope that it will be useful, but
  93. ! # WITHOUT ANY WARRANTY; without even the implied warranty of
  94. ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
  95. ! # Public License for more details.
  96. ! #
  97. ! # You should have received a copy of the GNU General Public License
  98. ! # along with this script; if not, write to the Free Software
  99. ! # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  100. ! #
  101. ! # The redistribution and modification terms for this script do not affect
  102. ! # the terms for software that it configures.
  103.   
  104.   ac_help=
  105. ! # Omit some internal or obsolete options to make the list less imposing.
  106. ! ac_usage="Usage: configure [options] [host]
  107. ! Options: [defaults in brackets after descriptions]
  108. ! Configuration:
  109. !   --cache-file=FILE       cache test results in FILE
  110. !   --help                  print this message
  111. !   --no-create             do not create output files
  112. !   --quiet, --silent       do not print \`checking...' messages
  113. !   --version               print the version of autoconf that created configure
  114. ! Directory and file names:
  115. !   --exec-prefix=PREFIX    install host dependent files in PREFIX [/usr/local]
  116. !   --prefix=PREFIX         install host independent files in PREFIX [/usr/local]
  117. !   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  118. !   --program-prefix=PREFIX prepend PREFIX to installed program names
  119. !   --program-suffix=SUFFIX append SUFFIX to installed program names
  120. !   --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  121. ! Host type:
  122. !   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  123. !   --host=HOST             configure for HOST [guessed]
  124. !   --target=TARGET         configure for TARGET [TARGET=HOST]
  125. ! Features and packages:
  126. !   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  127. !   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  128. !   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  129. !   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  130. !   --x-includes=DIR        X include files are in DIR
  131. !   --x-libraries=DIR       X library files are in DIR
  132. ! --enable and --with options recognized:$ac_help"
  133.   
  134.   # Initialize some variables set by options.
  135.   # The variables have the same names as the options, with
  136. --- 1,16 ----
  137.   #!/bin/sh
  138.   
  139.   # Guess values for system-dependent variables and create Makefiles.
  140. ! # Generated automatically using autoconf version 2.1 
  141. ! # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  142.   #
  143. ! # This configure script is free software; the Free Software Foundation
  144. ! # gives unlimited permission to copy, distribute and modify it.
  145.   
  146. + # Defaults:
  147.   ac_help=
  148. ! ac_default_prefix=/gnu
  149. ! # Any additions from configure.in:
  150.   
  151.   # Initialize some variables set by options.
  152.   # The variables have the same names as the options, with
  153. ***************
  154. *** 67,72 ****
  155. --- 27,33 ----
  156.   program_suffix=NONE
  157.   program_transform_name=s,x,x,
  158.   silent=
  159. + site=
  160.   srcdir=
  161.   target=NONE
  162.   verbose=
  163. ***************
  164. *** 88,94 ****
  165.     fi
  166.   
  167.     case "$ac_option" in
  168. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  169.     *) ac_optarg= ;;
  170.     esac
  171.   
  172. --- 49,55 ----
  173.     fi
  174.   
  175.     case "$ac_option" in
  176. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  177.     *) ac_optarg= ;;
  178.     esac
  179.   
  180. ***************
  181. *** 109,129 ****
  182.       cache_file="$ac_optarg" ;;
  183.   
  184.     -disable-* | --disable-*)
  185. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  186.       # Reject names that are not valid shell variable names.
  187. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  188.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  189.       fi
  190. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  191.       eval "enable_${ac_feature}=no" ;;
  192.   
  193.     -enable-* | --enable-*)
  194. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  195.       # Reject names that are not valid shell variable names.
  196. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  197.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  198.       fi
  199. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  200.       case "$ac_option" in
  201.         *=*) ;;
  202.         *) ac_optarg=yes ;;
  203. --- 70,90 ----
  204.       cache_file="$ac_optarg" ;;
  205.   
  206.     -disable-* | --disable-*)
  207. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  208.       # Reject names that are not valid shell variable names.
  209. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  210.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  211.       fi
  212. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  213.       eval "enable_${ac_feature}=no" ;;
  214.   
  215.     -enable-* | --enable-*)
  216. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  217.       # Reject names that are not valid shell variable names.
  218. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  219.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  220.       fi
  221. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  222.       case "$ac_option" in
  223.         *=*) ;;
  224.         *) ac_optarg=yes ;;
  225. ***************
  226. *** 144,151 ****
  227.       with_gas=yes ;;
  228.   
  229.     -help | --help | --hel | --he)
  230.       cat << EOF
  231. ! $ac_usage
  232.   EOF
  233.       exit 0 ;;
  234.   
  235. --- 105,142 ----
  236.       with_gas=yes ;;
  237.   
  238.     -help | --help | --hel | --he)
  239. +     # Omit some internal or obsolete options to make the list less imposing.
  240. +     # This message is too long to be a string in the A/UX 3.1 sh.
  241.       cat << EOF
  242. ! Usage: configure [options] [host]
  243. ! Options: [defaults in brackets after descriptions]
  244. ! Configuration:
  245. !   --cache-file=FILE       cache test results in FILE
  246. !   --help                  print this message
  247. !   --no-create             do not create output files
  248. !   --quiet, --silent       do not print \`checking...' messages
  249. !   --version               print the version of autoconf that created configure
  250. ! Directory and file names:
  251. !   --prefix=PREFIX         install architecture-independent files in PREFIX
  252. !                           [$ac_default_prefix]
  253. !   --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
  254. !                           [same as prefix]
  255. !   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  256. !   --program-prefix=PREFIX prepend PREFIX to installed program names
  257. !   --program-suffix=SUFFIX append SUFFIX to installed program names
  258. !   --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  259. ! Host type:
  260. !   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  261. !   --host=HOST             configure for HOST [guessed]
  262. !   --target=TARGET         configure for TARGET [TARGET=HOST]
  263. ! Features and packages:
  264. !   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  265. !   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  266. !   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  267. !   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  268. !   --x-includes=DIR        X include files are in DIR
  269. !   --x-libraries=DIR       X library files are in DIR
  270. ! --enable and --with options recognized:$ac_help
  271.   EOF
  272.       exit 0 ;;
  273.   
  274. ***************
  275. *** 206,211 ****
  276. --- 197,207 ----
  277.     | -silent | --silent | --silen | --sile | --sil)
  278.       silent=yes ;;
  279.   
  280. +   -site | --site | --sit)
  281. +     ac_prev=site ;;
  282. +   -site=* | --site=* | --sit=*)
  283. +     site="$ac_optarg" ;;
  284.     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  285.       ac_prev=srcdir ;;
  286.     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  287. ***************
  288. *** 220,235 ****
  289.       verbose=yes ;;
  290.   
  291.     -version | --version | --versio | --versi | --vers)
  292. !     echo "configure generated by autoconf version 1.120"
  293.       exit 0 ;;
  294.   
  295.     -with-* | --with-*)
  296. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  297.       # Reject names that are not valid shell variable names.
  298. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  299.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  300.       fi
  301. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  302.       case "$ac_option" in
  303.         *=*) ;;
  304.         *) ac_optarg=yes ;;
  305. --- 216,231 ----
  306.       verbose=yes ;;
  307.   
  308.     -version | --version | --versio | --versi | --vers)
  309. !     echo "configure generated by autoconf version 2.1"
  310.       exit 0 ;;
  311.   
  312.     -with-* | --with-*)
  313. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  314.       # Reject names that are not valid shell variable names.
  315. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  316.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  317.       fi
  318. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  319.       case "$ac_option" in
  320.         *=*) ;;
  321.         *) ac_optarg=yes ;;
  322. ***************
  323. *** 237,248 ****
  324.       eval "with_${ac_package}='$ac_optarg'" ;;
  325.   
  326.     -without-* | --without-*)
  327. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  328.       # Reject names that are not valid shell variable names.
  329. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  330.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  331.       fi
  332. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  333.       eval "with_${ac_package}=no" ;;
  334.   
  335.     --x)
  336. --- 233,244 ----
  337.       eval "with_${ac_package}='$ac_optarg'" ;;
  338.   
  339.     -without-* | --without-*)
  340. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  341.       # Reject names that are not valid shell variable names.
  342. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  343.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  344.       fi
  345. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  346.       eval "with_${ac_package}=no" ;;
  347.   
  348.     --x)
  349. ***************
  350. *** 267,273 ****
  351.       ;;
  352.   
  353.     *) 
  354. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  355.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  356.       fi
  357.       if test "x$nonopt" != xNONE; then
  358. --- 263,269 ----
  359.       ;;
  360.   
  361.     *) 
  362. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  363.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  364.       fi
  365.       if test "x$nonopt" != xNONE; then
  366. ***************
  367. *** 280,286 ****
  368.   done
  369.   
  370.   if test -n "$ac_prev"; then
  371. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  372.   fi
  373.   
  374.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  375. --- 276,282 ----
  376.   done
  377.   
  378.   if test -n "$ac_prev"; then
  379. !   { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  380.   fi
  381.   
  382.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  383. ***************
  384. *** 330,336 ****
  385.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  386.   rm -rf conftest* confdefs.h
  387.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  388. ! echo > confdefs.h
  389.   
  390.   # A filename unique to this package, relative to the directory that
  391.   # configure is in, which we can look for to find out if srcdir is correct.
  392. --- 326,332 ----
  393.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  394.   rm -rf conftest* confdefs.h
  395.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  396. ! /bin/echo > confdefs.h
  397.   
  398.   # A filename unique to this package, relative to the directory that
  399.   # configure is in, which we can look for to find out if srcdir is correct.
  400. ***************
  401. *** 341,347 ****
  402.     ac_srcdir_defaulted=yes
  403.     # Try the directory containing this script, then its parent.
  404.     ac_prog=$0
  405. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  406.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  407.     srcdir=$ac_confdir
  408.     if test ! -r $srcdir/$ac_unique_file; then
  409. --- 337,343 ----
  410.     ac_srcdir_defaulted=yes
  411.     # Try the directory containing this script, then its parent.
  412.     ac_prog=$0
  413. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  414.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  415.     srcdir=$ac_confdir
  416.     if test ! -r $srcdir/$ac_unique_file; then
  417. ***************
  418. *** 357,374 ****
  419.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  420.     fi
  421.   fi
  422. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  423.   
  424.   # Prefer explicitly selected file to automatically selected ones.
  425.   if test -z "$CONFIG_SITE"; then
  426.     if test "x$prefix" != xNONE; then
  427. !     CONFIG_SITE=$prefix/lib/config.site
  428.     else
  429. !     CONFIG_SITE=/usr/local/lib/config.site
  430. !   fi
  431. !   # System dependent files override system independent ones.
  432. !   if test "x$exec_prefix" != xNONE && test "x$exec_prefix" != "x$prefix"; then
  433. !     CONFIG_SITE="$CONFIG_SITE $exec_prefix/lib/config.site"
  434.     fi
  435.   fi
  436.   for ac_site_file in $CONFIG_SITE; do
  437. --- 353,366 ----
  438.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  439.     fi
  440.   fi
  441. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  442.   
  443.   # Prefer explicitly selected file to automatically selected ones.
  444.   if test -z "$CONFIG_SITE"; then
  445.     if test "x$prefix" != xNONE; then
  446. !     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  447.     else
  448. !     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  449.     fi
  450.   fi
  451.   for ac_site_file in $CONFIG_SITE; do
  452. ***************
  453. *** 389,394 ****
  454. --- 381,387 ----
  455.   ac_ext=c
  456.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  457.   ac_cpp='$CPP $CPPFLAGS'
  458. + ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  459.   ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  460.   
  461.   if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  462. ***************
  463. *** 408,421 ****
  464.   
  465.   
  466.   
  467. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  468.   set dummy ${MAKE-make}; ac_make=$2
  469.   if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  470. !   echo $ac_n "(cached) $ac_c" 1>&4
  471.   else
  472.     cat > conftestmake <<\EOF
  473.   all:
  474. !     @echo 'ac_maketemp="${MAKE}"'
  475.   EOF
  476.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  477.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  478. --- 401,414 ----
  479.   
  480.   
  481.   
  482. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  483.   set dummy ${MAKE-make}; ac_make=$2
  484.   if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  485. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  486.   else
  487.     cat > conftestmake <<\EOF
  488.   all:
  489. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  490.   EOF
  491.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  492.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  493. ***************
  494. *** 426,444 ****
  495.   fi
  496.   rm -f conftestmake
  497.   fi
  498. ! if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  499. !   echo "$ac_t""yes" 1>&4
  500.     SET_MAKE=
  501.   else
  502. !   echo "$ac_t""no" 1>&4
  503.     SET_MAKE="MAKE=${MAKE-make}"
  504.   fi
  505.   
  506.   # Extract the first word of "gcc", so it can be a program name with args.
  507.   set dummy gcc; ac_word=$2
  508. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  509.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  510. !   echo $ac_n "(cached) $ac_c" 1>&4
  511.   else
  512.     if test -n "$CC"; then
  513.     ac_cv_prog_CC="$CC" # Let the user override the test.
  514. --- 419,437 ----
  515.   fi
  516.   rm -f conftestmake
  517.   fi
  518. ! if eval "test \"`/bin/echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  519. !   /bin/echo "$ac_t""yes" 1>&4
  520.     SET_MAKE=
  521.   else
  522. !   /bin/echo "$ac_t""no" 1>&4
  523.     SET_MAKE="MAKE=${MAKE-make}"
  524.   fi
  525.   
  526.   # Extract the first word of "gcc", so it can be a program name with args.
  527.   set dummy gcc; ac_word=$2
  528. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  529.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  530. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  531.   else
  532.     if test -n "$CC"; then
  533.     ac_cv_prog_CC="$CC" # Let the user override the test.
  534. ***************
  535. *** 457,475 ****
  536.   fi
  537.   CC="$ac_cv_prog_CC"
  538.   if test -n "$CC"; then
  539. !   echo "$ac_t""$CC" 1>&4
  540.   else
  541. !   echo "$ac_t""no" 1>&4
  542.   fi
  543.   
  544.   
  545. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  546.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  547. !   echo $ac_n "(cached) $ac_c" 1>&4
  548.   else
  549.     cat > conftest.c <<EOF
  550.   #ifdef __GNUC__
  551. !   yes
  552.   #endif
  553.   EOF
  554.   if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  555. --- 450,468 ----
  556.   fi
  557.   CC="$ac_cv_prog_CC"
  558.   if test -n "$CC"; then
  559. !   /bin/echo "$ac_t""$CC" 1>&4
  560.   else
  561. !   /bin/echo "$ac_t""no" 1>&4
  562.   fi
  563.   
  564.   
  565. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  566.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  567. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  568.   else
  569.     cat > conftest.c <<EOF
  570.   #ifdef __GNUC__
  571. !   yes;
  572.   #endif
  573.   EOF
  574.   if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  575. ***************
  576. *** 478,490 ****
  577.     ac_cv_prog_gcc=no
  578.   fi
  579.   fi
  580. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  581.   if test $ac_cv_prog_gcc = yes; then
  582.     GCC=yes
  583.     if test "${CFLAGS+set}" != set; then
  584. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  585.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  586. !   echo $ac_n "(cached) $ac_c" 1>&4
  587.   else
  588.     echo 'void f(){}' > conftest.c
  589.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  590. --- 471,483 ----
  591.     ac_cv_prog_gcc=no
  592.   fi
  593.   fi
  594. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  595.   if test $ac_cv_prog_gcc = yes; then
  596.     GCC=yes
  597.     if test "${CFLAGS+set}" != set; then
  598. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  599.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  600. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  601.   else
  602.     echo 'void f(){}' > conftest.c
  603.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  604. ***************
  605. *** 495,505 ****
  606.   rm -f conftest*
  607.   
  608.   fi
  609. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  610.       if test $ac_cv_prog_gcc_g = yes; then
  611. !       CFLAGS="-g -O"
  612.       else
  613. !       CFLAGS="-O"
  614.       fi
  615.     fi
  616.   else
  617. --- 488,500 ----
  618.   rm -f conftest*
  619.   
  620.   fi
  621. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  622.       if test $ac_cv_prog_gcc_g = yes; then
  623. !       # Amiga hack - suppress automatically using -g for now
  624. !       # Also default to using -O2
  625. !       CFLAGS="-O2"
  626.       else
  627. !       CFLAGS="-O2"
  628.       fi
  629.     fi
  630.   else
  631. ***************
  632. *** 507,520 ****
  633.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  634.   fi
  635.   
  636. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  637.   # On Suns, sometimes $CPP names a directory.
  638.   if test -n "$CPP" && test -d "$CPP"; then
  639.     CPP=
  640.   fi
  641.   if test -z "$CPP"; then
  642.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  643. !   echo $ac_n "(cached) $ac_c" 1>&4
  644.   else
  645.       # This must be in double quotes, not single quotes, because CPP may get
  646.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  647. --- 502,515 ----
  648.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  649.   fi
  650.   
  651. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  652.   # On Suns, sometimes $CPP names a directory.
  653.   if test -n "$CPP" && test -d "$CPP"; then
  654.     CPP=
  655.   fi
  656.   if test -z "$CPP"; then
  657.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  658. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  659.   else
  660.       # This must be in double quotes, not single quotes, because CPP may get
  661.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  662. ***************
  663. *** 522,530 ****
  664.     # On the NeXT, cc -E runs the code through the compiler's parser,
  665.     # not just through cpp.
  666.     cat > conftest.$ac_ext <<EOF
  667. ! #line 526 "configure"
  668.   #include "confdefs.h"
  669. ! #include <stdio.h>
  670.   Syntax Error
  671.   EOF
  672.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  673. --- 517,525 ----
  674.     # On the NeXT, cc -E runs the code through the compiler's parser,
  675.     # not just through cpp.
  676.     cat > conftest.$ac_ext <<EOF
  677. ! #line 521 "configure"
  678.   #include "confdefs.h"
  679. ! #include <assert.h>
  680.   Syntax Error
  681.   EOF
  682.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  683. ***************
  684. *** 532,544 ****
  685.   if test -z "$ac_err"; then
  686.     :
  687.   else
  688. !   echo "$ac_err" >&5
  689.     rm -rf conftest*
  690.     CPP="${CC-cc} -E -traditional-cpp"
  691.     cat > conftest.$ac_ext <<EOF
  692. ! #line 540 "configure"
  693.   #include "confdefs.h"
  694. ! #include <stdio.h>
  695.   Syntax Error
  696.   EOF
  697.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  698. --- 527,539 ----
  699.   if test -z "$ac_err"; then
  700.     :
  701.   else
  702. !   /bin/echo "$ac_err" >&5
  703.     rm -rf conftest*
  704.     CPP="${CC-cc} -E -traditional-cpp"
  705.     cat > conftest.$ac_ext <<EOF
  706. ! #line 535 "configure"
  707.   #include "confdefs.h"
  708. ! #include <assert.h>
  709.   Syntax Error
  710.   EOF
  711.   eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  712. ***************
  713. *** 546,552 ****
  714.   if test -z "$ac_err"; then
  715.     :
  716.   else
  717. !   echo "$ac_err" >&5
  718.     rm -rf conftest*
  719.     CPP=/lib/cpp
  720.   fi
  721. --- 541,547 ----
  722.   if test -z "$ac_err"; then
  723.     :
  724.   else
  725. !   /bin/echo "$ac_err" >&5
  726.     rm -rf conftest*
  727.     CPP=/lib/cpp
  728.   fi
  729. ***************
  730. *** 557,572 ****
  731.   fi
  732.   fi
  733.   CPP="$ac_cv_prog_CPP"
  734. ! echo "$ac_t""$CPP" 1>&4
  735.   
  736.   if test $ac_cv_prog_gcc = yes; then
  737. !   echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&4
  738.   if eval "test \"`echo '${'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  739. !   echo $ac_n "(cached) $ac_c" 1>&4
  740.   else
  741.       ac_pattern="Autoconf.*'x'"
  742.     cat > conftest.$ac_ext <<EOF
  743. ! #line 570 "configure"
  744.   #include "confdefs.h"
  745.   #include <sgtty.h>
  746.   Autoconf TIOCGETP
  747. --- 552,567 ----
  748.   fi
  749.   fi
  750.   CPP="$ac_cv_prog_CPP"
  751. ! /bin/echo "$ac_t""$CPP" 1>&4
  752.   
  753.   if test $ac_cv_prog_gcc = yes; then
  754. !   /bin/echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&4
  755.   if eval "test \"`echo '${'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  756. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  757.   else
  758.       ac_pattern="Autoconf.*'x'"
  759.     cat > conftest.$ac_ext <<EOF
  760. ! #line 565 "configure"
  761.   #include "confdefs.h"
  762.   #include <sgtty.h>
  763.   Autoconf TIOCGETP
  764. ***************
  765. *** 584,590 ****
  766.   
  767.     if test $ac_cv_prog_gcc_traditional = no; then
  768.       cat > conftest.$ac_ext <<EOF
  769. ! #line 588 "configure"
  770.   #include "confdefs.h"
  771.   #include <termio.h>
  772.   Autoconf TCGETA
  773. --- 579,585 ----
  774.   
  775.     if test $ac_cv_prog_gcc_traditional = no; then
  776.       cat > conftest.$ac_ext <<EOF
  777. ! #line 583 "configure"
  778.   #include "confdefs.h"
  779.   #include <termio.h>
  780.   Autoconf TCGETA
  781. ***************
  782. *** 598,604 ****
  783.   
  784.     fi
  785.   fi
  786. !   echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&4
  787.     if test $ac_cv_prog_gcc_traditional = yes; then
  788.       CC="$CC -traditional"
  789.     fi
  790. --- 593,599 ----
  791.   
  792.     fi
  793.   fi
  794. !   /bin/echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&4
  795.     if test $ac_cv_prog_gcc_traditional = yes; then
  796.       CC="$CC -traditional"
  797.     fi
  798. ***************
  799. *** 633,647 ****
  800.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  801.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  802.   # ./install, which can be erroneously created by make from ./install.sh.
  803. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  804.   if test -z "$INSTALL"; then
  805.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  806. !   echo $ac_n "(cached) $ac_c" 1>&4
  807.   else
  808.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  809.     for ac_dir in $PATH; do
  810.       case "$ac_dir" in
  811. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  812.       *)
  813.         # OSF1 and SCO ODT 3.0 have their own names for install.
  814.         for ac_prog in ginstall installbsd scoinst install; do
  815. --- 628,642 ----
  816.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  817.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  818.   # ./install, which can be erroneously created by make from ./install.sh.
  819. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  820.   if test -z "$INSTALL"; then
  821.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  822. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  823.   else
  824.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  825.     for ac_dir in $PATH; do
  826.       case "$ac_dir" in
  827. !     ''|.|/gnu/etc) ;;
  828.       *)
  829.         # OSF1 and SCO ODT 3.0 have their own names for install.
  830.         for ac_prog in ginstall installbsd scoinst install; do
  831. ***************
  832. *** 666,672 ****
  833.   fi
  834.     INSTALL="$ac_cv_path_install"
  835.   fi
  836. ! echo "$ac_t""$INSTALL" 1>&4
  837.   
  838.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  839.   # It thinks the first close brace ends the variable substitution.
  840. --- 661,667 ----
  841.   fi
  842.     INSTALL="$ac_cv_path_install"
  843.   fi
  844. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  845.   
  846.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  847.   # It thinks the first close brace ends the variable substitution.
  848. ***************
  849. *** 676,684 ****
  850.   
  851.   # Extract the first word of "ranlib", so it can be a program name with args.
  852.   set dummy ranlib; ac_word=$2
  853. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  854.   if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  855. !   echo $ac_n "(cached) $ac_c" 1>&4
  856.   else
  857.     if test -n "$RANLIB"; then
  858.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  859. --- 671,679 ----
  860.   
  861.   # Extract the first word of "ranlib", so it can be a program name with args.
  862.   set dummy ranlib; ac_word=$2
  863. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  864.   if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  865. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  866.   else
  867.     if test -n "$RANLIB"; then
  868.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  869. ***************
  870. *** 697,714 ****
  871.   fi
  872.   RANLIB="$ac_cv_prog_RANLIB"
  873.   if test -n "$RANLIB"; then
  874. !   echo "$ac_t""$RANLIB" 1>&4
  875.   else
  876. !   echo "$ac_t""no" 1>&4
  877.   fi
  878.   
  879.   for ac_prog in 'bison -y' byacc
  880.   do
  881.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  882.   set dummy $ac_prog; ac_word=$2
  883. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  884.   if eval "test \"`echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then
  885. !   echo $ac_n "(cached) $ac_c" 1>&4
  886.   else
  887.     if test -n "$YACC"; then
  888.     ac_cv_prog_YACC="$YACC" # Let the user override the test.
  889. --- 692,709 ----
  890.   fi
  891.   RANLIB="$ac_cv_prog_RANLIB"
  892.   if test -n "$RANLIB"; then
  893. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  894.   else
  895. !   /bin/echo "$ac_t""no" 1>&4
  896.   fi
  897.   
  898.   for ac_prog in 'bison -y' byacc
  899.   do
  900.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  901.   set dummy $ac_prog; ac_word=$2
  902. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  903.   if eval "test \"`echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then
  904. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  905.   else
  906.     if test -n "$YACC"; then
  907.     ac_cv_prog_YACC="$YACC" # Let the user override the test.
  908. ***************
  909. *** 726,743 ****
  910.   fi
  911.   YACC="$ac_cv_prog_YACC"
  912.   if test -n "$YACC"; then
  913. !   echo "$ac_t""$YACC" 1>&4
  914.   else
  915. !   echo "$ac_t""no" 1>&4
  916.   fi
  917.   
  918.   test -n "$YACC" && break
  919.   done
  920.   test -n "$YACC" || YACC="yacc"
  921.   
  922. ! echo $ac_n "checking for AIX""... $ac_c" 1>&4
  923.   cat > conftest.$ac_ext <<EOF
  924. ! #line 741 "configure"
  925.   #include "confdefs.h"
  926.   #ifdef _AIX
  927.     yes
  928. --- 721,738 ----
  929.   fi
  930.   YACC="$ac_cv_prog_YACC"
  931.   if test -n "$YACC"; then
  932. !   /bin/echo "$ac_t""$YACC" 1>&4
  933.   else
  934. !   /bin/echo "$ac_t""no" 1>&4
  935.   fi
  936.   
  937.   test -n "$YACC" && break
  938.   done
  939.   test -n "$YACC" || YACC="yacc"
  940.   
  941. ! /bin/echo $ac_n "checking for AIX""... $ac_c" 1>&4
  942.   cat > conftest.$ac_ext <<EOF
  943. ! #line 736 "configure"
  944.   #include "confdefs.h"
  945.   #ifdef _AIX
  946.     yes
  947. ***************
  948. *** 747,770 ****
  949.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  950.     egrep "yes" >/dev/null 2>&1; then
  951.     rm -rf conftest*
  952. !   echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  953.   #define _ALL_SOURCE 1
  954.   EOF
  955.   
  956.   else
  957.     rm -rf conftest*
  958. !   echo "$ac_t""no" 1>&4
  959.   fi
  960.   rm -f conftest*
  961.   
  962.   
  963. ! ac_safe=`echo "minix/config.h" | tr './' '__'`
  964. ! echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  965.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  966. !   echo $ac_n "(cached) $ac_c" 1>&4
  967.   else
  968.     cat > conftest.$ac_ext <<EOF
  969. ! #line 768 "configure"
  970.   #include "confdefs.h"
  971.   #include <minix/config.h>
  972.   EOF
  973. --- 742,765 ----
  974.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  975.     egrep "yes" >/dev/null 2>&1; then
  976.     rm -rf conftest*
  977. !   /bin/echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  978.   #define _ALL_SOURCE 1
  979.   EOF
  980.   
  981.   else
  982.     rm -rf conftest*
  983. !   /bin/echo "$ac_t""no" 1>&4
  984.   fi
  985.   rm -f conftest*
  986.   
  987.   
  988. ! ac_safe=`/bin/echo "minix/config.h" | tr './\055' '___'`
  989. ! /bin/echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  990.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  991. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  992.   else
  993.     cat > conftest.$ac_ext <<EOF
  994. ! #line 763 "configure"
  995.   #include "confdefs.h"
  996.   #include <minix/config.h>
  997.   EOF
  998. ***************
  999. *** 774,790 ****
  1000.     rm -rf conftest*
  1001.     eval "ac_cv_header_$ac_safe=yes"
  1002.   else
  1003. !   echo "$ac_err" >&5
  1004.     rm -rf conftest*
  1005.     eval "ac_cv_header_$ac_safe=no"
  1006.   fi
  1007.   rm -f conftest*
  1008.   fi
  1009.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1010. !   echo "$ac_t""yes" 1>&4
  1011.     MINIX=yes
  1012.   else
  1013. !   echo "$ac_t""no" 1>&4
  1014.   MINIX=
  1015.   fi
  1016.   
  1017. --- 769,785 ----
  1018.     rm -rf conftest*
  1019.     eval "ac_cv_header_$ac_safe=yes"
  1020.   else
  1021. !   /bin/echo "$ac_err" >&5
  1022.     rm -rf conftest*
  1023.     eval "ac_cv_header_$ac_safe=no"
  1024.   fi
  1025.   rm -f conftest*
  1026.   fi
  1027.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1028. !   /bin/echo "$ac_t""yes" 1>&4
  1029.     MINIX=yes
  1030.   else
  1031. !   /bin/echo "$ac_t""no" 1>&4
  1032.   MINIX=
  1033.   fi
  1034.   
  1035. ***************
  1036. *** 803,813 ****
  1037.   
  1038.   fi
  1039.   
  1040. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  1041. ! if test -d /etc/conf/kconfig.d &&
  1042. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  1043.   then
  1044. !   echo "$ac_t""yes" 1>&4
  1045.     ISC=yes # If later tests want to check for ISC.
  1046.     cat >> confdefs.h <<\EOF
  1047.   #define _POSIX_SOURCE 1
  1048. --- 798,808 ----
  1049.   
  1050.   fi
  1051.   
  1052. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  1053. ! if test -d /gnu/etc/conf/kconfig.d &&
  1054. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  1055.   then
  1056. !   /bin/echo "$ac_t""yes" 1>&4
  1057.     ISC=yes # If later tests want to check for ISC.
  1058.     cat >> confdefs.h <<\EOF
  1059.   #define _POSIX_SOURCE 1
  1060. ***************
  1061. *** 819,838 ****
  1062.       CC="$CC -Xp"
  1063.     fi
  1064.   else
  1065. !   echo "$ac_t""no" 1>&4
  1066.     ISC=
  1067.   fi
  1068.   
  1069.   for ac_func in uname
  1070.   do
  1071. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1072.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1073. !   echo $ac_n "(cached) $ac_c" 1>&4
  1074.   else
  1075.     cat > conftest.$ac_ext <<EOF
  1076. ! #line 834 "configure"
  1077.   #include "confdefs.h"
  1078.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1079.   int main() { return 0; }
  1080.   int t() {
  1081.   
  1082. --- 814,836 ----
  1083.       CC="$CC -Xp"
  1084.     fi
  1085.   else
  1086. !   /bin/echo "$ac_t""no" 1>&4
  1087.     ISC=
  1088.   fi
  1089.   
  1090.   for ac_func in uname
  1091.   do
  1092. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1093.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1094. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1095.   else
  1096.     cat > conftest.$ac_ext <<EOF
  1097. ! #line 829 "configure"
  1098.   #include "confdefs.h"
  1099.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1100. + /* Override any gcc2 internal prototype to avoid an error.  */
  1101. + char $ac_func(); 
  1102.   int main() { return 0; }
  1103.   int t() {
  1104.   
  1105. ***************
  1106. *** 842,849 ****
  1107.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1108.   choke me
  1109.   #else
  1110. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1111. ! char $ac_func(); $ac_func();
  1112.   #endif
  1113.   
  1114.   ; return 0; }
  1115. --- 840,846 ----
  1116.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1117.   choke me
  1118.   #else
  1119. ! $ac_func();
  1120.   #endif
  1121.   
  1122.   ; return 0; }
  1123. ***************
  1124. *** 859,881 ****
  1125.   
  1126.   fi
  1127.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1128. !   echo "$ac_t""yes" 1>&4
  1129. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1130.     cat >> confdefs.h <<EOF
  1131.   #define $ac_tr_func 1
  1132.   EOF
  1133.    PROGS="$PROGS uname" MAN="$MAN uname.1"
  1134.   else
  1135. !   echo "$ac_t""no" 1>&4
  1136.   fi
  1137.   done
  1138.   
  1139. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  1140.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  1141. !   echo $ac_n "(cached) $ac_c" 1>&4
  1142.   else
  1143.     cat > conftest.$ac_ext <<EOF
  1144. ! #line 879 "configure"
  1145.   #include "confdefs.h"
  1146.   
  1147.   int main() { return 0; }
  1148. --- 856,878 ----
  1149.   
  1150.   fi
  1151.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1152. !   /bin/echo "$ac_t""yes" 1>&4
  1153. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1154.     cat >> confdefs.h <<EOF
  1155.   #define $ac_tr_func 1
  1156.   EOF
  1157.    PROGS="$PROGS uname" MAN="$MAN uname.1"
  1158.   else
  1159. !   /bin/echo "$ac_t""no" 1>&4
  1160.   fi
  1161.   done
  1162.   
  1163. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  1164.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  1165. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1166.   else
  1167.     cat > conftest.$ac_ext <<EOF
  1168. ! #line 876 "configure"
  1169.   #include "confdefs.h"
  1170.   
  1171.   int main() { return 0; }
  1172. ***************
  1173. *** 886,891 ****
  1174. --- 883,891 ----
  1175.   /* SunOS 4.1.1 cc rejects this.  */
  1176.   char const *const *ccp;
  1177.   char **p;
  1178. + /* NEC SVR4.0.2 mips cc rejects this.  */
  1179. + struct point {int x, y;};
  1180. + static struct point const zero;
  1181.   /* AIX XL C 1.02.0.0 rejects this.
  1182.      It does not let you subtract one const X* pointer from another in an arm
  1183.      of an if-expression whose if-part is not a constant expression */
  1184. ***************
  1185. *** 922,928 ****
  1186.   
  1187.   ; return 0; }
  1188.   EOF
  1189. ! if eval $ac_link; then
  1190.     rm -rf conftest*
  1191.     ac_cv_c_const=yes
  1192.   else
  1193. --- 922,928 ----
  1194.   
  1195.   ; return 0; }
  1196.   EOF
  1197. ! if eval $ac_compile; then
  1198.     rm -rf conftest*
  1199.     ac_cv_c_const=yes
  1200.   else
  1201. ***************
  1202. *** 932,938 ****
  1203.   rm -f conftest*
  1204.   
  1205.   fi
  1206. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  1207.   if test $ac_cv_c_const = no; then
  1208.     cat >> confdefs.h <<\EOF
  1209.   #define const 
  1210. --- 932,938 ----
  1211.   rm -f conftest*
  1212.   
  1213.   fi
  1214. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  1215.   if test $ac_cv_c_const = no; then
  1216.     cat >> confdefs.h <<\EOF
  1217.   #define const 
  1218. ***************
  1219. *** 941,949 ****
  1220.   fi
  1221.   
  1222.   # If we cannot run a trivial program, we must be cross compiling.
  1223. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  1224.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  1225. !   echo $ac_n "(cached) $ac_c" 1>&4
  1226.   else
  1227.     if test "$cross_compiling" = yes; then
  1228.     ac_cv_cross=yes
  1229. --- 941,949 ----
  1230.   fi
  1231.   
  1232.   # If we cannot run a trivial program, we must be cross compiling.
  1233. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  1234.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  1235. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1236.   else
  1237.     if test "$cross_compiling" = yes; then
  1238.     ac_cv_cross=yes
  1239. ***************
  1240. *** 963,973 ****
  1241.   rm -fr conftest*
  1242.   fi
  1243.   cross_compiling=$ac_cv_c_cross
  1244. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  1245.   
  1246. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1247.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1248. !   echo $ac_n "(cached) $ac_c" 1>&4
  1249.   else
  1250.     cat > conftest.$ac_ext <<EOF
  1251.   #line 974 "configure"
  1252. --- 963,973 ----
  1253.   rm -fr conftest*
  1254.   fi
  1255.   cross_compiling=$ac_cv_c_cross
  1256. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  1257.   
  1258. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1259.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1260. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1261.   else
  1262.     cat > conftest.$ac_ext <<EOF
  1263.   #line 974 "configure"
  1264. ***************
  1265. *** 983,989 ****
  1266.     rm -rf conftest*
  1267.     ac_cv_header_stdc=yes
  1268.   else
  1269. !   echo "$ac_err" >&5
  1270.     rm -rf conftest*
  1271.     ac_cv_header_stdc=no
  1272.   fi
  1273. --- 983,989 ----
  1274.     rm -rf conftest*
  1275.     ac_cv_header_stdc=yes
  1276.   else
  1277. !   /bin/echo "$ac_err" >&5
  1278.     rm -rf conftest*
  1279.     ac_cv_header_stdc=no
  1280.   fi
  1281. ***************
  1282. *** 1052,1058 ****
  1283.   rm -fr conftest*
  1284.   fi
  1285.   fi
  1286. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1287.   if test $ac_cv_header_stdc = yes; then
  1288.     cat >> confdefs.h <<\EOF
  1289.   #define STDC_HEADERS 1
  1290. --- 1052,1058 ----
  1291.   rm -fr conftest*
  1292.   fi
  1293.   fi
  1294. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1295.   if test $ac_cv_header_stdc = yes; then
  1296.     cat >> confdefs.h <<\EOF
  1297.   #define STDC_HEADERS 1
  1298. ***************
  1299. *** 1060,1068 ****
  1300.   
  1301.   fi
  1302.   
  1303. ! echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&4
  1304.   if eval "test \"`echo '${'ac_cv_c_bigendian'+set}'`\" = set"; then
  1305. !   echo $ac_n "(cached) $ac_c" 1>&4
  1306.   else
  1307.     if test "$cross_compiling" = yes; then
  1308.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1309. --- 1060,1068 ----
  1310.   
  1311.   fi
  1312.   
  1313. ! /bin/echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&4
  1314.   if eval "test \"`echo '${'ac_cv_c_bigendian'+set}'`\" = set"; then
  1315. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1316.   else
  1317.     if test "$cross_compiling" = yes; then
  1318.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1319. ***************
  1320. *** 1090,1096 ****
  1321.   fi
  1322.   rm -fr conftest*
  1323.   fi
  1324. ! echo "$ac_t""$ac_cv_c_bigendian" 1>&4
  1325.   if test $ac_cv_c_bigendian = yes; then
  1326.     cat >> confdefs.h <<\EOF
  1327.   #define WORDS_BIGENDIAN 1
  1328. --- 1090,1096 ----
  1329.   fi
  1330.   rm -fr conftest*
  1331.   fi
  1332. ! /bin/echo "$ac_t""$ac_cv_c_bigendian" 1>&4
  1333.   if test $ac_cv_c_bigendian = yes; then
  1334.     cat >> confdefs.h <<\EOF
  1335.   #define WORDS_BIGENDIAN 1
  1336. ***************
  1337. *** 1099,1107 ****
  1338.   fi
  1339.   
  1340.   
  1341. ! echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&4
  1342.   if eval "test \"`echo '${'ac_cv_struct_tm'+set}'`\" = set"; then
  1343. !   echo $ac_n "(cached) $ac_c" 1>&4
  1344.   else
  1345.     cat > conftest.$ac_ext <<EOF
  1346.   #line 1108 "configure"
  1347. --- 1099,1107 ----
  1348.   fi
  1349.   
  1350.   
  1351. ! /bin/echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&4
  1352.   if eval "test \"`echo '${'ac_cv_struct_tm'+set}'`\" = set"; then
  1353. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1354.   else
  1355.     cat > conftest.$ac_ext <<EOF
  1356.   #line 1108 "configure"
  1357. ***************
  1358. *** 1113,1119 ****
  1359.   struct tm *tp; tp->tm_sec;
  1360.   ; return 0; }
  1361.   EOF
  1362. ! if eval $ac_link; then
  1363.     rm -rf conftest*
  1364.     ac_cv_struct_tm=time.h
  1365.   else
  1366. --- 1113,1119 ----
  1367.   struct tm *tp; tp->tm_sec;
  1368.   ; return 0; }
  1369.   EOF
  1370. ! if eval $ac_compile; then
  1371.     rm -rf conftest*
  1372.     ac_cv_struct_tm=time.h
  1373.   else
  1374. ***************
  1375. *** 1123,1129 ****
  1376.   rm -f conftest*
  1377.   
  1378.   fi
  1379. ! echo "$ac_t""$ac_cv_struct_tm" 1>&4
  1380.   if test $ac_cv_struct_tm = sys/time.h; then
  1381.     cat >> confdefs.h <<\EOF
  1382.   #define TM_IN_SYS_TIME 1
  1383. --- 1123,1129 ----
  1384.   rm -f conftest*
  1385.   
  1386.   fi
  1387. ! /bin/echo "$ac_t""$ac_cv_struct_tm" 1>&4
  1388.   if test $ac_cv_struct_tm = sys/time.h; then
  1389.     cat >> confdefs.h <<\EOF
  1390.   #define TM_IN_SYS_TIME 1
  1391. ***************
  1392. *** 1131,1139 ****
  1393.   
  1394.   fi
  1395.   
  1396. ! echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&4
  1397.   if eval "test \"`echo '${'ac_cv_header_time'+set}'`\" = set"; then
  1398. !   echo $ac_n "(cached) $ac_c" 1>&4
  1399.   else
  1400.     cat > conftest.$ac_ext <<EOF
  1401.   #line 1140 "configure"
  1402. --- 1131,1139 ----
  1403.   
  1404.   fi
  1405.   
  1406. ! /bin/echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&4
  1407.   if eval "test \"`echo '${'ac_cv_header_time'+set}'`\" = set"; then
  1408. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1409.   else
  1410.     cat > conftest.$ac_ext <<EOF
  1411.   #line 1140 "configure"
  1412. ***************
  1413. *** 1146,1152 ****
  1414.   struct tm *tp;
  1415.   ; return 0; }
  1416.   EOF
  1417. ! if eval $ac_link; then
  1418.     rm -rf conftest*
  1419.     ac_cv_header_time=yes
  1420.   else
  1421. --- 1146,1152 ----
  1422.   struct tm *tp;
  1423.   ; return 0; }
  1424.   EOF
  1425. ! if eval $ac_compile; then
  1426.     rm -rf conftest*
  1427.     ac_cv_header_time=yes
  1428.   else
  1429. ***************
  1430. *** 1156,1162 ****
  1431.   rm -f conftest*
  1432.   
  1433.   fi
  1434. ! echo "$ac_t""$ac_cv_header_time" 1>&4
  1435.   if test $ac_cv_header_time = yes; then
  1436.     cat >> confdefs.h <<\EOF
  1437.   #define TIME_WITH_SYS_TIME 1
  1438. --- 1156,1162 ----
  1439.   rm -f conftest*
  1440.   
  1441.   fi
  1442. ! /bin/echo "$ac_t""$ac_cv_header_time" 1>&4
  1443.   if test $ac_cv_header_time = yes; then
  1444.     cat >> confdefs.h <<\EOF
  1445.   #define TIME_WITH_SYS_TIME 1
  1446. ***************
  1447. *** 1164,1172 ****
  1448.   
  1449.   fi
  1450.   
  1451. ! echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&4
  1452.   if eval "test \"`echo '${'ac_cv_struct_tm_zone'+set}'`\" = set"; then
  1453. !   echo $ac_n "(cached) $ac_c" 1>&4
  1454.   else
  1455.     cat > conftest.$ac_ext <<EOF
  1456.   #line 1173 "configure"
  1457. --- 1164,1172 ----
  1458.   
  1459.   fi
  1460.   
  1461. ! /bin/echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&4
  1462.   if eval "test \"`echo '${'ac_cv_struct_tm_zone'+set}'`\" = set"; then
  1463. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1464.   else
  1465.     cat > conftest.$ac_ext <<EOF
  1466.   #line 1173 "configure"
  1467. ***************
  1468. *** 1178,1184 ****
  1469.   struct tm tm; tm.tm_zone;
  1470.   ; return 0; }
  1471.   EOF
  1472. ! if eval $ac_link; then
  1473.     rm -rf conftest*
  1474.     ac_cv_struct_tm_zone=yes
  1475.   else
  1476. --- 1178,1184 ----
  1477.   struct tm tm; tm.tm_zone;
  1478.   ; return 0; }
  1479.   EOF
  1480. ! if eval $ac_compile; then
  1481.     rm -rf conftest*
  1482.     ac_cv_struct_tm_zone=yes
  1483.   else
  1484. ***************
  1485. *** 1188,1203 ****
  1486.   rm -f conftest*
  1487.   
  1488.   fi
  1489. ! echo "$ac_t""$ac_cv_struct_tm_zone" 1>&4
  1490.   if test "$ac_cv_struct_tm_zone" = yes; then
  1491.     cat >> confdefs.h <<\EOF
  1492.   #define HAVE_TM_ZONE 1
  1493.   EOF
  1494.   
  1495.   else
  1496. !   echo $ac_n "checking for tzname""... $ac_c" 1>&4
  1497.   if eval "test \"`echo '${'ac_cv_var_tzname'+set}'`\" = set"; then
  1498. !   echo $ac_n "(cached) $ac_c" 1>&4
  1499.   else
  1500.     cat > conftest.$ac_ext <<EOF
  1501.   #line 1204 "configure"
  1502. --- 1188,1203 ----
  1503.   rm -f conftest*
  1504.   
  1505.   fi
  1506. ! /bin/echo "$ac_t""$ac_cv_struct_tm_zone" 1>&4
  1507.   if test "$ac_cv_struct_tm_zone" = yes; then
  1508.     cat >> confdefs.h <<\EOF
  1509.   #define HAVE_TM_ZONE 1
  1510.   EOF
  1511.   
  1512.   else
  1513. !   /bin/echo $ac_n "checking for tzname""... $ac_c" 1>&4
  1514.   if eval "test \"`echo '${'ac_cv_var_tzname'+set}'`\" = set"; then
  1515. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1516.   else
  1517.     cat > conftest.$ac_ext <<EOF
  1518.   #line 1204 "configure"
  1519. ***************
  1520. *** 1221,1227 ****
  1521.   rm -f conftest*
  1522.   
  1523.   fi
  1524. !   echo "$ac_t""$ac_cv_var_tzname" 1>&4
  1525.     if test $ac_cv_var_tzname = yes; then
  1526.       cat >> confdefs.h <<\EOF
  1527.   #define HAVE_TZNAME 1
  1528. --- 1221,1227 ----
  1529.   rm -f conftest*
  1530.   
  1531.   fi
  1532. !   /bin/echo "$ac_t""$ac_cv_var_tzname" 1>&4
  1533.     if test $ac_cv_var_tzname = yes; then
  1534.       cat >> confdefs.h <<\EOF
  1535.   #define HAVE_TZNAME 1
  1536. ***************
  1537. *** 1230,1238 ****
  1538.     fi
  1539.   fi
  1540.   
  1541. ! echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1542.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1543. !   echo $ac_n "(cached) $ac_c" 1>&4
  1544.   else
  1545.     cat > conftest.$ac_ext <<EOF
  1546.   #line 1239 "configure"
  1547. --- 1230,1238 ----
  1548.     fi
  1549.   fi
  1550.   
  1551. ! /bin/echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1552.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1553. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1554.   else
  1555.     cat > conftest.$ac_ext <<EOF
  1556.   #line 1239 "configure"
  1557. ***************
  1558. *** 1274,1280 ****
  1559.   rm -f conftest*
  1560.   
  1561.   fi
  1562. ! echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1563.   if test $ac_cv_header_stat_broken = yes; then
  1564.     cat >> confdefs.h <<\EOF
  1565.   #define STAT_MACROS_BROKEN 1
  1566. --- 1274,1280 ----
  1567.   rm -f conftest*
  1568.   
  1569.   fi
  1570. ! /bin/echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1571.   if test $ac_cv_header_stat_broken = yes; then
  1572.     cat >> confdefs.h <<\EOF
  1573.   #define STAT_MACROS_BROKEN 1
  1574. ***************
  1575. *** 1282,1290 ****
  1576.   
  1577.   fi
  1578.   
  1579. ! echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&4
  1580.   if eval "test \"`echo '${'ac_cv_type_uid_t'+set}'`\" = set"; then
  1581. !   echo $ac_n "(cached) $ac_c" 1>&4
  1582.   else
  1583.     cat > conftest.$ac_ext <<EOF
  1584.   #line 1291 "configure"
  1585. --- 1282,1290 ----
  1586.   
  1587.   fi
  1588.   
  1589. ! /bin/echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&4
  1590.   if eval "test \"`echo '${'ac_cv_type_uid_t'+set}'`\" = set"; then
  1591. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1592.   else
  1593.     cat > conftest.$ac_ext <<EOF
  1594.   #line 1291 "configure"
  1595. ***************
  1596. *** 1302,1308 ****
  1597.   rm -f conftest*
  1598.   
  1599.   fi
  1600. ! echo "$ac_t""$ac_cv_type_uid_t" 1>&4
  1601.   if test $ac_cv_type_uid_t = no; then
  1602.     cat >> confdefs.h <<\EOF
  1603.   #define uid_t int
  1604. --- 1302,1308 ----
  1605.   rm -f conftest*
  1606.   
  1607.   fi
  1608. ! /bin/echo "$ac_t""$ac_cv_type_uid_t" 1>&4
  1609.   if test $ac_cv_type_uid_t = no; then
  1610.     cat >> confdefs.h <<\EOF
  1611.   #define uid_t int
  1612. ***************
  1613. *** 1314,1322 ****
  1614.   
  1615.   fi
  1616.   
  1617. ! echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&4
  1618.   if eval "test \"`echo '${'ac_cv_type_getgroups'+set}'`\" = set"; then
  1619. !   echo $ac_n "(cached) $ac_c" 1>&4
  1620.   else
  1621.     if test "$cross_compiling" = yes; then
  1622.     ac_cv_type_getgroups=cross
  1623. --- 1314,1322 ----
  1624.   
  1625.   fi
  1626.   
  1627. ! /bin/echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&4
  1628.   if eval "test \"`echo '${'ac_cv_type_getgroups'+set}'`\" = set"; then
  1629. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1630.   else
  1631.     if test "$cross_compiling" = yes; then
  1632.     ac_cv_type_getgroups=cross
  1633. ***************
  1634. *** 1373,1387 ****
  1635.   
  1636.   fi
  1637.   fi
  1638. ! echo "$ac_t""$ac_cv_type_getgroups" 1>&4
  1639.   cat >> confdefs.h <<EOF
  1640.   #define GETGROUPS_T $ac_cv_type_getgroups
  1641.   EOF
  1642.   
  1643.   
  1644. ! echo $ac_n "checking for size_t""... $ac_c" 1>&4
  1645.   if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  1646. !   echo $ac_n "(cached) $ac_c" 1>&4
  1647.   else
  1648.     cat > conftest.$ac_ext <<EOF
  1649.   #line 1388 "configure"
  1650. --- 1373,1387 ----
  1651.   
  1652.   fi
  1653.   fi
  1654. ! /bin/echo "$ac_t""$ac_cv_type_getgroups" 1>&4
  1655.   cat >> confdefs.h <<EOF
  1656.   #define GETGROUPS_T $ac_cv_type_getgroups
  1657.   EOF
  1658.   
  1659.   
  1660. ! /bin/echo $ac_n "checking for size_t""... $ac_c" 1>&4
  1661.   if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  1662. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1663.   else
  1664.     cat > conftest.$ac_ext <<EOF
  1665.   #line 1388 "configure"
  1666. ***************
  1667. *** 1402,1408 ****
  1668.   rm -f conftest*
  1669.   
  1670.   fi
  1671. ! echo "$ac_t""$ac_cv_type_size_t" 1>&4
  1672.   if test $ac_cv_type_size_t = no; then
  1673.     cat >> confdefs.h <<\EOF
  1674.   #define size_t unsigned
  1675. --- 1402,1408 ----
  1676.   rm -f conftest*
  1677.   
  1678.   fi
  1679. ! /bin/echo "$ac_t""$ac_cv_type_size_t" 1>&4
  1680.   if test $ac_cv_type_size_t = no; then
  1681.     cat >> confdefs.h <<\EOF
  1682.   #define size_t unsigned
  1683. ***************
  1684. *** 1414,1427 ****
  1685.   for ac_func in bcopy endgrent endpwent ftime getcwd getgroups gettimeofday \
  1686.              isascii memcpy sethostname strerror sysinfo
  1687.   do
  1688. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1689.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1690. !   echo $ac_n "(cached) $ac_c" 1>&4
  1691.   else
  1692.     cat > conftest.$ac_ext <<EOF
  1693.   #line 1423 "configure"
  1694.   #include "confdefs.h"
  1695.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1696.   int main() { return 0; }
  1697.   int t() {
  1698.   
  1699. --- 1414,1430 ----
  1700.   for ac_func in bcopy endgrent endpwent ftime getcwd getgroups gettimeofday \
  1701.              isascii memcpy sethostname strerror sysinfo
  1702.   do
  1703. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1704.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1705. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1706.   else
  1707.     cat > conftest.$ac_ext <<EOF
  1708.   #line 1423 "configure"
  1709.   #include "confdefs.h"
  1710.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1711. + /* Override any gcc2 internal prototype to avoid an error.  */
  1712. + char $ac_func(); 
  1713.   int main() { return 0; }
  1714.   int t() {
  1715.   
  1716. ***************
  1717. *** 1431,1438 ****
  1718.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1719.   choke me
  1720.   #else
  1721. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1722. ! char $ac_func(); $ac_func();
  1723.   #endif
  1724.   
  1725.   ; return 0; }
  1726. --- 1434,1440 ----
  1727.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1728.   choke me
  1729.   #else
  1730. ! $ac_func();
  1731.   #endif
  1732.   
  1733.   ; return 0; }
  1734. ***************
  1735. *** 1448,1461 ****
  1736.   
  1737.   fi
  1738.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1739. !   echo "$ac_t""yes" 1>&4
  1740. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1741.     cat >> confdefs.h <<EOF
  1742.   #define $ac_tr_func 1
  1743.   EOF
  1744.    
  1745.   else
  1746. !   echo "$ac_t""no" 1>&4
  1747.   fi
  1748.   done
  1749.   
  1750. --- 1450,1463 ----
  1751.   
  1752.   fi
  1753.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1754. !   /bin/echo "$ac_t""yes" 1>&4
  1755. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1756.     cat >> confdefs.h <<EOF
  1757.   #define $ac_tr_func 1
  1758.   EOF
  1759.    
  1760.   else
  1761. !   /bin/echo "$ac_t""no" 1>&4
  1762.   fi
  1763.   done
  1764.   
  1765. ***************
  1766. *** 1463,1476 ****
  1767.   # SCO-ODT-3.0 is reported to need -los to link programs using initgroups
  1768.   for ac_func in initgroups
  1769.   do
  1770. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1771.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1772. !   echo $ac_n "(cached) $ac_c" 1>&4
  1773.   else
  1774.     cat > conftest.$ac_ext <<EOF
  1775. ! #line 1472 "configure"
  1776.   #include "confdefs.h"
  1777.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1778.   int main() { return 0; }
  1779.   int t() {
  1780.   
  1781. --- 1465,1481 ----
  1782.   # SCO-ODT-3.0 is reported to need -los to link programs using initgroups
  1783.   for ac_func in initgroups
  1784.   do
  1785. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1786.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1787. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1788.   else
  1789.     cat > conftest.$ac_ext <<EOF
  1790. ! #line 1474 "configure"
  1791.   #include "confdefs.h"
  1792.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1793. + /* Override any gcc2 internal prototype to avoid an error.  */
  1794. + char $ac_func(); 
  1795.   int main() { return 0; }
  1796.   int t() {
  1797.   
  1798. ***************
  1799. *** 1480,1487 ****
  1800.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1801.   choke me
  1802.   #else
  1803. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1804. ! char $ac_func(); $ac_func();
  1805.   #endif
  1806.   
  1807.   ; return 0; }
  1808. --- 1485,1491 ----
  1809.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1810.   choke me
  1811.   #else
  1812. ! $ac_func();
  1813.   #endif
  1814.   
  1815.   ; return 0; }
  1816. ***************
  1817. *** 1497,1522 ****
  1818.   
  1819.   fi
  1820.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1821. !   echo "$ac_t""yes" 1>&4
  1822. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1823.     cat >> confdefs.h <<EOF
  1824.   #define $ac_tr_func 1
  1825.   EOF
  1826.    
  1827.   else
  1828. !   echo "$ac_t""no" 1>&4
  1829.   fi
  1830.   done
  1831.   
  1832.   if test $ac_cv_func_initgroups = no; then
  1833. !   echo $ac_n "checking for -los""... $ac_c" 1>&4
  1834.   if eval "test \"`echo '${'ac_cv_lib_os'+set}'`\" = set"; then
  1835. !   echo $ac_n "(cached) $ac_c" 1>&4
  1836.   else
  1837.     ac_save_LIBS="$LIBS"
  1838.   LIBS="$LIBS -los "
  1839.   cat > conftest.$ac_ext <<EOF
  1840. ! #line 1520 "configure"
  1841.   #include "confdefs.h"
  1842.   
  1843.   int main() { return 0; }
  1844. --- 1501,1526 ----
  1845.   
  1846.   fi
  1847.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1848. !   /bin/echo "$ac_t""yes" 1>&4
  1849. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1850.     cat >> confdefs.h <<EOF
  1851.   #define $ac_tr_func 1
  1852.   EOF
  1853.    
  1854.   else
  1855. !   /bin/echo "$ac_t""no" 1>&4
  1856.   fi
  1857.   done
  1858.   
  1859.   if test $ac_cv_func_initgroups = no; then
  1860. !   /bin/echo $ac_n "checking for -los""... $ac_c" 1>&4
  1861.   if eval "test \"`echo '${'ac_cv_lib_os'+set}'`\" = set"; then
  1862. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1863.   else
  1864.     ac_save_LIBS="$LIBS"
  1865.   LIBS="$LIBS -los "
  1866.   cat > conftest.$ac_ext <<EOF
  1867. ! #line 1524 "configure"
  1868.   #include "confdefs.h"
  1869.   
  1870.   int main() { return 0; }
  1871. ***************
  1872. *** 1536,1543 ****
  1873.   
  1874.   fi
  1875.   if eval "test \"`echo '$ac_cv_lib_'os`\" = yes"; then
  1876. !   echo "$ac_t""yes" 1>&4
  1877. !     ac_tr_lib=HAVE_LIB`echo os | tr '[a-z]' '[A-Z]'`
  1878.     cat >> confdefs.h <<EOF
  1879.   #define $ac_tr_lib 1
  1880.   EOF
  1881. --- 1540,1547 ----
  1882.   
  1883.   fi
  1884.   if eval "test \"`echo '$ac_cv_lib_'os`\" = yes"; then
  1885. !   /bin/echo "$ac_t""yes" 1>&4
  1886. !     ac_tr_lib=HAVE_LIB`/bin/echo os | tr '[a-z]' '[A-Z]'`
  1887.     cat >> confdefs.h <<EOF
  1888.   #define $ac_tr_lib 1
  1889.   EOF
  1890. ***************
  1891. *** 1545,1565 ****
  1892.     LIBS="$LIBS -los"
  1893.   
  1894.   else
  1895. !   echo "$ac_t""no" 1>&4
  1896.   fi
  1897.   
  1898.   fi
  1899.   
  1900.   for ac_func in syslog
  1901.   do
  1902. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1903.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1904. !   echo $ac_n "(cached) $ac_c" 1>&4
  1905.   else
  1906.     cat > conftest.$ac_ext <<EOF
  1907. ! #line 1561 "configure"
  1908.   #include "confdefs.h"
  1909.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1910.   int main() { return 0; }
  1911.   int t() {
  1912.   
  1913. --- 1549,1572 ----
  1914.     LIBS="$LIBS -los"
  1915.   
  1916.   else
  1917. !   /bin/echo "$ac_t""no" 1>&4
  1918.   fi
  1919.   
  1920.   fi
  1921.   
  1922.   for ac_func in syslog
  1923.   do
  1924. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  1925.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1926. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1927.   else
  1928.     cat > conftest.$ac_ext <<EOF
  1929. ! #line 1565 "configure"
  1930.   #include "confdefs.h"
  1931.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  1932. + /* Override any gcc2 internal prototype to avoid an error.  */
  1933. + char $ac_func(); 
  1934.   int main() { return 0; }
  1935.   int t() {
  1936.   
  1937. ***************
  1938. *** 1569,1576 ****
  1939.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1940.   choke me
  1941.   #else
  1942. ! /* Override any gcc2 internal prototype to avoid an error.  */
  1943. ! char $ac_func(); $ac_func();
  1944.   #endif
  1945.   
  1946.   ; return 0; }
  1947. --- 1576,1582 ----
  1948.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1949.   choke me
  1950.   #else
  1951. ! $ac_func();
  1952.   #endif
  1953.   
  1954.   ; return 0; }
  1955. ***************
  1956. *** 1586,1613 ****
  1957.   
  1958.   fi
  1959.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1960. !   echo "$ac_t""yes" 1>&4
  1961. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  1962.     cat >> confdefs.h <<EOF
  1963.   #define $ac_tr_func 1
  1964.   EOF
  1965.    
  1966.   else
  1967. !   echo "$ac_t""no" 1>&4
  1968.   fi
  1969.   done
  1970.   
  1971.   if test $ac_cv_func_syslog = no; then
  1972.     # syslog is not in the default libraries.  See if it's in some other.
  1973.     for lib in bsd socket inet; do
  1974. !     echo $ac_n "checking for -l$lib""... $ac_c" 1>&4
  1975.   if eval "test \"`echo '${'ac_cv_lib_$lib'+set}'`\" = set"; then
  1976. !   echo $ac_n "(cached) $ac_c" 1>&4
  1977.   else
  1978.     ac_save_LIBS="$LIBS"
  1979.   LIBS="$LIBS -l$lib "
  1980.   cat > conftest.$ac_ext <<EOF
  1981. ! #line 1611 "configure"
  1982.   #include "confdefs.h"
  1983.   
  1984.   int main() { return 0; }
  1985. --- 1592,1619 ----
  1986.   
  1987.   fi
  1988.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1989. !   /bin/echo "$ac_t""yes" 1>&4
  1990. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  1991.     cat >> confdefs.h <<EOF
  1992.   #define $ac_tr_func 1
  1993.   EOF
  1994.    
  1995.   else
  1996. !   /bin/echo "$ac_t""no" 1>&4
  1997.   fi
  1998.   done
  1999.   
  2000.   if test $ac_cv_func_syslog = no; then
  2001.     # syslog is not in the default libraries.  See if it's in some other.
  2002.     for lib in bsd socket inet; do
  2003. !     /bin/echo $ac_n "checking for -l$lib""... $ac_c" 1>&4
  2004.   if eval "test \"`echo '${'ac_cv_lib_$lib'+set}'`\" = set"; then
  2005. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2006.   else
  2007.     ac_save_LIBS="$LIBS"
  2008.   LIBS="$LIBS -l$lib "
  2009.   cat > conftest.$ac_ext <<EOF
  2010. ! #line 1617 "configure"
  2011.   #include "confdefs.h"
  2012.   
  2013.   int main() { return 0; }
  2014. ***************
  2015. *** 1627,1640 ****
  2016.   
  2017.   fi
  2018.   if eval "test \"`echo '$ac_cv_lib_'$lib`\" = yes"; then
  2019. !   echo "$ac_t""yes" 1>&4
  2020.     cat >> confdefs.h <<\EOF
  2021.   #define HAVE_SYSLOG 1
  2022.   EOF
  2023.   
  2024.         LIBS="$LIBS -l$lib"; break
  2025.   else
  2026. !   echo "$ac_t""no" 1>&4
  2027.   fi
  2028.   
  2029.     done
  2030. --- 1633,1646 ----
  2031.   
  2032.   fi
  2033.   if eval "test \"`echo '$ac_cv_lib_'$lib`\" = yes"; then
  2034. !   /bin/echo "$ac_t""yes" 1>&4
  2035.     cat >> confdefs.h <<\EOF
  2036.   #define HAVE_SYSLOG 1
  2037.   EOF
  2038.   
  2039.         LIBS="$LIBS -l$lib"; break
  2040.   else
  2041. !   /bin/echo "$ac_t""no" 1>&4
  2042.   fi
  2043.   
  2044.     done
  2045. ***************
  2046. *** 1643,1655 ****
  2047.   for ac_hdr in string.h fcntl.h limits.h syslog.h sys/time.h unistd.h \
  2048.            sys/timeb.h float.h sys/systeminfo.h sys/param.h
  2049.   do
  2050. ! ac_safe=`echo "$ac_hdr" | tr './' '__'`
  2051. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  2052.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2053. !   echo $ac_n "(cached) $ac_c" 1>&4
  2054.   else
  2055.     cat > conftest.$ac_ext <<EOF
  2056. ! #line 1653 "configure"
  2057.   #include "confdefs.h"
  2058.   #include <$ac_hdr>
  2059.   EOF
  2060. --- 1649,1661 ----
  2061.   for ac_hdr in string.h fcntl.h limits.h syslog.h sys/time.h unistd.h \
  2062.            sys/timeb.h float.h sys/systeminfo.h sys/param.h
  2063.   do
  2064. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  2065. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  2066.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  2067. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2068.   else
  2069.     cat > conftest.$ac_ext <<EOF
  2070. ! #line 1659 "configure"
  2071.   #include "confdefs.h"
  2072.   #include <$ac_hdr>
  2073.   EOF
  2074. ***************
  2075. *** 1659,1679 ****
  2076.     rm -rf conftest*
  2077.     eval "ac_cv_header_$ac_safe=yes"
  2078.   else
  2079. !   echo "$ac_err" >&5
  2080.     rm -rf conftest*
  2081.     eval "ac_cv_header_$ac_safe=no"
  2082.   fi
  2083.   rm -f conftest*
  2084.   fi
  2085.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2086. !   echo "$ac_t""yes" 1>&4
  2087. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'`
  2088.     cat >> confdefs.h <<EOF
  2089.   #define $ac_tr_hdr 1
  2090.   EOF
  2091.    
  2092.   else
  2093. !   echo "$ac_t""no" 1>&4
  2094.   fi
  2095.   done
  2096.   
  2097. --- 1665,1685 ----
  2098.     rm -rf conftest*
  2099.     eval "ac_cv_header_$ac_safe=yes"
  2100.   else
  2101. !   /bin/echo "$ac_err" >&5
  2102.     rm -rf conftest*
  2103.     eval "ac_cv_header_$ac_safe=no"
  2104.   fi
  2105.   rm -f conftest*
  2106.   fi
  2107.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  2108. !   /bin/echo "$ac_t""yes" 1>&4
  2109. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  2110.     cat >> confdefs.h <<EOF
  2111.   #define $ac_tr_hdr 1
  2112.   EOF
  2113.    
  2114.   else
  2115. !   /bin/echo "$ac_t""no" 1>&4
  2116.   fi
  2117.   done
  2118.   
  2119. ***************
  2120. *** 1681,1694 ****
  2121.   for ac_func in gethostname getusershell mktime stime \
  2122.            strcspn strstr strtol strtoul strtod
  2123.   do
  2124. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2125.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2126. !   echo $ac_n "(cached) $ac_c" 1>&4
  2127.   else
  2128.     cat > conftest.$ac_ext <<EOF
  2129. ! #line 1690 "configure"
  2130.   #include "confdefs.h"
  2131.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2132.   int main() { return 0; }
  2133.   int t() {
  2134.   
  2135. --- 1687,1703 ----
  2136.   for ac_func in gethostname getusershell mktime stime \
  2137.            strcspn strstr strtol strtoul strtod
  2138.   do
  2139. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2140.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2141. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2142.   else
  2143.     cat > conftest.$ac_ext <<EOF
  2144. ! #line 1696 "configure"
  2145.   #include "confdefs.h"
  2146.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2147. + /* Override any gcc2 internal prototype to avoid an error.  */
  2148. + char $ac_func(); 
  2149.   int main() { return 0; }
  2150.   int t() {
  2151.   
  2152. ***************
  2153. *** 1698,1705 ****
  2154.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2155.   choke me
  2156.   #else
  2157. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2158. ! char $ac_func(); $ac_func();
  2159.   #endif
  2160.   
  2161.   ; return 0; }
  2162. --- 1707,1713 ----
  2163.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2164.   choke me
  2165.   #else
  2166. ! $ac_func();
  2167.   #endif
  2168.   
  2169.   ; return 0; }
  2170. ***************
  2171. *** 1715,1738 ****
  2172.   
  2173.   fi
  2174.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2175. !   echo "$ac_t""yes" 1>&4
  2176.     :
  2177.   else
  2178. !   echo "$ac_t""no" 1>&4
  2179.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  2180.   fi
  2181.   
  2182.   done
  2183.   
  2184. ! echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4
  2185.   if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then
  2186. !   echo $ac_n "(cached) $ac_c" 1>&4
  2187.   else
  2188.     if test "$cross_compiling" = yes; then
  2189.     ac_cv_func_memcmp=no
  2190.   else
  2191.   cat > conftest.$ac_ext <<EOF
  2192. ! #line 1736 "configure"
  2193.   #include "confdefs.h"
  2194.   
  2195.   main()
  2196. --- 1723,1746 ----
  2197.   
  2198.   fi
  2199.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2200. !   /bin/echo "$ac_t""yes" 1>&4
  2201.     :
  2202.   else
  2203. !   /bin/echo "$ac_t""no" 1>&4
  2204.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  2205.   fi
  2206.   
  2207.   done
  2208.   
  2209. ! /bin/echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4
  2210.   if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then
  2211. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2212.   else
  2213.     if test "$cross_compiling" = yes; then
  2214.     ac_cv_func_memcmp=no
  2215.   else
  2216.   cat > conftest.$ac_ext <<EOF
  2217. ! #line 1744 "configure"
  2218.   #include "confdefs.h"
  2219.   
  2220.   main()
  2221. ***************
  2222. *** 1751,1767 ****
  2223.   fi
  2224.   rm -fr conftest*
  2225.   fi
  2226. ! echo "$ac_t""$ac_cv_func_memcmp" 1>&4
  2227.   test $ac_cv_func_memcmp = no && LIBOBJS="$LIBOBJS memcmp.o"
  2228.   
  2229. ! echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2230.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2231. !   echo $ac_n "(cached) $ac_c" 1>&4
  2232.   else
  2233.     cat > conftest.$ac_ext <<EOF
  2234. ! #line 1763 "configure"
  2235.   #include "confdefs.h"
  2236.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2237.   int main() { return 0; }
  2238.   int t() {
  2239.   
  2240. --- 1759,1778 ----
  2241.   fi
  2242.   rm -fr conftest*
  2243.   fi
  2244. ! /bin/echo "$ac_t""$ac_cv_func_memcmp" 1>&4
  2245.   test $ac_cv_func_memcmp = no && LIBOBJS="$LIBOBJS memcmp.o"
  2246.   
  2247. ! /bin/echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2248.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2249. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2250.   else
  2251.     cat > conftest.$ac_ext <<EOF
  2252. ! #line 1771 "configure"
  2253.   #include "confdefs.h"
  2254.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2255. + /* Override any gcc2 internal prototype to avoid an error.  */
  2256. + char vprintf(); 
  2257.   int main() { return 0; }
  2258.   int t() {
  2259.   
  2260. ***************
  2261. *** 1771,1778 ****
  2262.   #if defined (__stub_vprintf) || defined (__stub___vprintf)
  2263.   choke me
  2264.   #else
  2265. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2266. ! char vprintf(); vprintf();
  2267.   #endif
  2268.   
  2269.   ; return 0; }
  2270. --- 1782,1788 ----
  2271.   #if defined (__stub_vprintf) || defined (__stub___vprintf)
  2272.   choke me
  2273.   #else
  2274. ! vprintf();
  2275.   #endif
  2276.   
  2277.   ; return 0; }
  2278. ***************
  2279. *** 1788,1811 ****
  2280.   
  2281.   fi
  2282.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2283. !   echo "$ac_t""yes" 1>&4
  2284.     cat >> confdefs.h <<\EOF
  2285.   #define HAVE_VPRINTF 1
  2286.   EOF
  2287.   
  2288.   else
  2289. !   echo "$ac_t""no" 1>&4
  2290.   fi
  2291.   
  2292.   if test "$ac_cv_func_vprintf" != yes; then
  2293. ! echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2294.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2295. !   echo $ac_n "(cached) $ac_c" 1>&4
  2296.   else
  2297.     cat > conftest.$ac_ext <<EOF
  2298. ! #line 1807 "configure"
  2299.   #include "confdefs.h"
  2300.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2301.   int main() { return 0; }
  2302.   int t() {
  2303.   
  2304. --- 1798,1824 ----
  2305.   
  2306.   fi
  2307.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2308. !   /bin/echo "$ac_t""yes" 1>&4
  2309.     cat >> confdefs.h <<\EOF
  2310.   #define HAVE_VPRINTF 1
  2311.   EOF
  2312.   
  2313.   else
  2314. !   /bin/echo "$ac_t""no" 1>&4
  2315.   fi
  2316.   
  2317.   if test "$ac_cv_func_vprintf" != yes; then
  2318. ! /bin/echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2319.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2320. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2321.   else
  2322.     cat > conftest.$ac_ext <<EOF
  2323. ! #line 1817 "configure"
  2324.   #include "confdefs.h"
  2325.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2326. + /* Override any gcc2 internal prototype to avoid an error.  */
  2327. + char _doprnt(); 
  2328.   int main() { return 0; }
  2329.   int t() {
  2330.   
  2331. ***************
  2332. *** 1815,1822 ****
  2333.   #if defined (__stub__doprnt) || defined (__stub____doprnt)
  2334.   choke me
  2335.   #else
  2336. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2337. ! char _doprnt(); _doprnt();
  2338.   #endif
  2339.   
  2340.   ; return 0; }
  2341. --- 1828,1834 ----
  2342.   #if defined (__stub__doprnt) || defined (__stub____doprnt)
  2343.   choke me
  2344.   #else
  2345. ! _doprnt();
  2346.   #endif
  2347.   
  2348.   ; return 0; }
  2349. ***************
  2350. *** 1832,1856 ****
  2351.   
  2352.   fi
  2353.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2354. !   echo "$ac_t""yes" 1>&4
  2355.     cat >> confdefs.h <<\EOF
  2356.   #define HAVE_DOPRNT 1
  2357.   EOF
  2358.   
  2359.   else
  2360. !   echo "$ac_t""no" 1>&4
  2361.   fi
  2362.   
  2363.   fi
  2364.   
  2365.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  2366.   # for constant arguments.  Useless!
  2367. ! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  2368.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  2369. !   echo $ac_n "(cached) $ac_c" 1>&4
  2370.   else
  2371.     cat > conftest.$ac_ext <<EOF
  2372. ! #line 1854 "configure"
  2373.   #include "confdefs.h"
  2374.   #include <alloca.h>
  2375.   int main() { return 0; }
  2376. --- 1844,1868 ----
  2377.   
  2378.   fi
  2379.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2380. !   /bin/echo "$ac_t""yes" 1>&4
  2381.     cat >> confdefs.h <<\EOF
  2382.   #define HAVE_DOPRNT 1
  2383.   EOF
  2384.   
  2385.   else
  2386. !   /bin/echo "$ac_t""no" 1>&4
  2387.   fi
  2388.   
  2389.   fi
  2390.   
  2391.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  2392.   # for constant arguments.  Useless!
  2393. ! /bin/echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  2394.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  2395. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2396.   else
  2397.     cat > conftest.$ac_ext <<EOF
  2398. ! #line 1866 "configure"
  2399.   #include "confdefs.h"
  2400.   #include <alloca.h>
  2401.   int main() { return 0; }
  2402. ***************
  2403. *** 1868,1874 ****
  2404.   rm -f conftest*
  2405.   
  2406.   fi
  2407. ! echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  2408.   if test $ac_cv_header_alloca_h = yes; then
  2409.     cat >> confdefs.h <<\EOF
  2410.   #define HAVE_ALLOCA_H 1
  2411. --- 1880,1886 ----
  2412.   rm -f conftest*
  2413.   
  2414.   fi
  2415. ! /bin/echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  2416.   if test $ac_cv_header_alloca_h = yes; then
  2417.     cat >> confdefs.h <<\EOF
  2418.   #define HAVE_ALLOCA_H 1
  2419. ***************
  2420. *** 1876,1887 ****
  2421.   
  2422.   fi
  2423.   
  2424. ! echo $ac_n "checking for alloca""... $ac_c" 1>&4
  2425.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  2426. !   echo $ac_n "(cached) $ac_c" 1>&4
  2427.   else
  2428.     cat > conftest.$ac_ext <<EOF
  2429. ! #line 1885 "configure"
  2430.   #include "confdefs.h"
  2431.   
  2432.   #ifdef __GNUC__
  2433. --- 1888,1899 ----
  2434.   
  2435.   fi
  2436.   
  2437. ! /bin/echo $ac_n "checking for alloca""... $ac_c" 1>&4
  2438.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  2439. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2440.   else
  2441.     cat > conftest.$ac_ext <<EOF
  2442. ! #line 1897 "configure"
  2443.   #include "confdefs.h"
  2444.   
  2445.   #ifdef __GNUC__
  2446. ***************
  2447. *** 1915,1921 ****
  2448.   rm -f conftest*
  2449.   
  2450.   fi
  2451. ! echo "$ac_t""$ac_cv_func_alloca" 1>&4
  2452.   if test $ac_cv_func_alloca = yes; then
  2453.     cat >> confdefs.h <<\EOF
  2454.   #define HAVE_ALLOCA 1
  2455. --- 1927,1933 ----
  2456.   rm -f conftest*
  2457.   
  2458.   fi
  2459. ! /bin/echo "$ac_t""$ac_cv_func_alloca" 1>&4
  2460.   if test $ac_cv_func_alloca = yes; then
  2461.     cat >> confdefs.h <<\EOF
  2462.   #define HAVE_ALLOCA 1
  2463. ***************
  2464. *** 1934,1945 ****
  2465.   EOF
  2466.   
  2467.   
  2468. ! echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  2469.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  2470. !   echo $ac_n "(cached) $ac_c" 1>&4
  2471.   else
  2472.     cat > conftest.$ac_ext <<EOF
  2473. ! #line 1943 "configure"
  2474.   #include "confdefs.h"
  2475.   #if defined(CRAY) && ! defined(CRAY2)
  2476.   webecray
  2477. --- 1946,1957 ----
  2478.   EOF
  2479.   
  2480.   
  2481. ! /bin/echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  2482.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  2483. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2484.   else
  2485.     cat > conftest.$ac_ext <<EOF
  2486. ! #line 1955 "configure"
  2487.   #include "confdefs.h"
  2488.   #if defined(CRAY) && ! defined(CRAY2)
  2489.   webecray
  2490. ***************
  2491. *** 1959,1974 ****
  2492.   rm -f conftest*
  2493.   
  2494.   fi
  2495. ! echo "$ac_t""$ac_cv_os_cray" 1>&4
  2496.   if test $ac_cv_os_cray = yes; then
  2497. ! echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  2498.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  2499. !   echo $ac_n "(cached) $ac_c" 1>&4
  2500.   else
  2501.     cat > conftest.$ac_ext <<EOF
  2502. ! #line 1970 "configure"
  2503.   #include "confdefs.h"
  2504.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2505.   int main() { return 0; }
  2506.   int t() {
  2507.   
  2508. --- 1971,1989 ----
  2509.   rm -f conftest*
  2510.   
  2511.   fi
  2512. ! /bin/echo "$ac_t""$ac_cv_os_cray" 1>&4
  2513.   if test $ac_cv_os_cray = yes; then
  2514. ! /bin/echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  2515.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  2516. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2517.   else
  2518.     cat > conftest.$ac_ext <<EOF
  2519. ! #line 1982 "configure"
  2520.   #include "confdefs.h"
  2521.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2522. + /* Override any gcc2 internal prototype to avoid an error.  */
  2523. + char _getb67(); 
  2524.   int main() { return 0; }
  2525.   int t() {
  2526.   
  2527. ***************
  2528. *** 1978,1985 ****
  2529.   #if defined (__stub__getb67) || defined (__stub____getb67)
  2530.   choke me
  2531.   #else
  2532. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2533. ! char _getb67(); _getb67();
  2534.   #endif
  2535.   
  2536.   ; return 0; }
  2537. --- 1993,1999 ----
  2538.   #if defined (__stub__getb67) || defined (__stub____getb67)
  2539.   choke me
  2540.   #else
  2541. ! _getb67();
  2542.   #endif
  2543.   
  2544.   ; return 0; }
  2545. ***************
  2546. *** 1995,2015 ****
  2547.   
  2548.   fi
  2549.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  2550. !   echo "$ac_t""yes" 1>&4
  2551.     cat >> confdefs.h <<\EOF
  2552.   #define CRAY_STACKSEG_END _getb67
  2553.   EOF
  2554.   
  2555.   else
  2556. !   echo "$ac_t""no" 1>&4
  2557. ! echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  2558.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  2559. !   echo $ac_n "(cached) $ac_c" 1>&4
  2560.   else
  2561.     cat > conftest.$ac_ext <<EOF
  2562. ! #line 2011 "configure"
  2563.   #include "confdefs.h"
  2564.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2565.   int main() { return 0; }
  2566.   int t() {
  2567.   
  2568. --- 2009,2032 ----
  2569.   
  2570.   fi
  2571.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  2572. !   /bin/echo "$ac_t""yes" 1>&4
  2573.     cat >> confdefs.h <<\EOF
  2574.   #define CRAY_STACKSEG_END _getb67
  2575.   EOF
  2576.   
  2577.   else
  2578. !   /bin/echo "$ac_t""no" 1>&4
  2579. ! /bin/echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  2580.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  2581. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2582.   else
  2583.     cat > conftest.$ac_ext <<EOF
  2584. ! #line 2025 "configure"
  2585.   #include "confdefs.h"
  2586.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2587. + /* Override any gcc2 internal prototype to avoid an error.  */
  2588. + char GETB67(); 
  2589.   int main() { return 0; }
  2590.   int t() {
  2591.   
  2592. ***************
  2593. *** 2019,2026 ****
  2594.   #if defined (__stub_GETB67) || defined (__stub___GETB67)
  2595.   choke me
  2596.   #else
  2597. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2598. ! char GETB67(); GETB67();
  2599.   #endif
  2600.   
  2601.   ; return 0; }
  2602. --- 2036,2042 ----
  2603.   #if defined (__stub_GETB67) || defined (__stub___GETB67)
  2604.   choke me
  2605.   #else
  2606. ! GETB67();
  2607.   #endif
  2608.   
  2609.   ; return 0; }
  2610. ***************
  2611. *** 2036,2056 ****
  2612.   
  2613.   fi
  2614.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  2615. !   echo "$ac_t""yes" 1>&4
  2616.     cat >> confdefs.h <<\EOF
  2617.   #define CRAY_STACKSEG_END GETB67
  2618.   EOF
  2619.   
  2620.   else
  2621. !   echo "$ac_t""no" 1>&4
  2622. ! echo $ac_n "checking for getb67""... $ac_c" 1>&4
  2623.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  2624. !   echo $ac_n "(cached) $ac_c" 1>&4
  2625.   else
  2626.     cat > conftest.$ac_ext <<EOF
  2627. ! #line 2052 "configure"
  2628.   #include "confdefs.h"
  2629.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2630.   int main() { return 0; }
  2631.   int t() {
  2632.   
  2633. --- 2052,2075 ----
  2634.   
  2635.   fi
  2636.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  2637. !   /bin/echo "$ac_t""yes" 1>&4
  2638.     cat >> confdefs.h <<\EOF
  2639.   #define CRAY_STACKSEG_END GETB67
  2640.   EOF
  2641.   
  2642.   else
  2643. !   /bin/echo "$ac_t""no" 1>&4
  2644. ! /bin/echo $ac_n "checking for getb67""... $ac_c" 1>&4
  2645.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  2646. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2647.   else
  2648.     cat > conftest.$ac_ext <<EOF
  2649. ! #line 2068 "configure"
  2650.   #include "confdefs.h"
  2651.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2652. + /* Override any gcc2 internal prototype to avoid an error.  */
  2653. + char getb67(); 
  2654.   int main() { return 0; }
  2655.   int t() {
  2656.   
  2657. ***************
  2658. *** 2060,2067 ****
  2659.   #if defined (__stub_getb67) || defined (__stub___getb67)
  2660.   choke me
  2661.   #else
  2662. ! /* Override any gcc2 internal prototype to avoid an error.  */
  2663. ! char getb67(); getb67();
  2664.   #endif
  2665.   
  2666.   ; return 0; }
  2667. --- 2079,2085 ----
  2668.   #if defined (__stub_getb67) || defined (__stub___getb67)
  2669.   choke me
  2670.   #else
  2671. ! getb67();
  2672.   #endif
  2673.   
  2674.   ; return 0; }
  2675. ***************
  2676. *** 2077,2089 ****
  2677.   
  2678.   fi
  2679.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2680. !   echo "$ac_t""yes" 1>&4
  2681.     cat >> confdefs.h <<\EOF
  2682.   #define CRAY_STACKSEG_END getb67
  2683.   EOF
  2684.   
  2685.   else
  2686. !   echo "$ac_t""no" 1>&4
  2687.   fi
  2688.   
  2689.   fi
  2690. --- 2095,2107 ----
  2691.   
  2692.   fi
  2693.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2694. !   /bin/echo "$ac_t""yes" 1>&4
  2695.     cat >> confdefs.h <<\EOF
  2696.   #define CRAY_STACKSEG_END getb67
  2697.   EOF
  2698.   
  2699.   else
  2700. !   /bin/echo "$ac_t""no" 1>&4
  2701.   fi
  2702.   
  2703.   fi
  2704. ***************
  2705. *** 2092,2106 ****
  2706.   
  2707.   fi
  2708.   
  2709. ! echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2710.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2711. !   echo $ac_n "(cached) $ac_c" 1>&4
  2712.   else
  2713.     if test "$cross_compiling" = yes; then
  2714.     ac_cv_c_stack_direction=0
  2715.   else
  2716.   cat > conftest.$ac_ext <<EOF
  2717. ! #line 2104 "configure"
  2718.   #include "confdefs.h"
  2719.   find_stack_direction ()
  2720.   {
  2721. --- 2110,2124 ----
  2722.   
  2723.   fi
  2724.   
  2725. ! /bin/echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2726.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2727. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2728.   else
  2729.     if test "$cross_compiling" = yes; then
  2730.     ac_cv_c_stack_direction=0
  2731.   else
  2732.   cat > conftest.$ac_ext <<EOF
  2733. ! #line 2122 "configure"
  2734.   #include "confdefs.h"
  2735.   find_stack_direction ()
  2736.   {
  2737. ***************
  2738. *** 2128,2134 ****
  2739.   fi
  2740.   rm -fr conftest*
  2741.   fi
  2742. ! echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2743.   cat >> confdefs.h <<EOF
  2744.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2745.   EOF
  2746. --- 2146,2152 ----
  2747.   fi
  2748.   rm -fr conftest*
  2749.   fi
  2750. ! /bin/echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2751.   cat >> confdefs.h <<EOF
  2752.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2753.   EOF
  2754. ***************
  2755. *** 2136,2147 ****
  2756.   fi
  2757.   
  2758.   
  2759. ! echo $ac_n "checking for 3-argument setpriority function""... $ac_c" 1>&4
  2760.   if eval "test \"`echo '${'utils_cv_func_setpriority'+set}'`\" = set"; then
  2761. !   echo $ac_n "(cached) $ac_c" 1>&4
  2762.   else
  2763.     cat > conftest.$ac_ext <<EOF
  2764. ! #line 2145 "configure"
  2765.   #include "confdefs.h"
  2766.   #include <sys/time.h>
  2767.   #include <sys/resource.h>
  2768. --- 2154,2165 ----
  2769.   fi
  2770.   
  2771.   
  2772. ! /bin/echo $ac_n "checking for 3-argument setpriority function""... $ac_c" 1>&4
  2773.   if eval "test \"`echo '${'utils_cv_func_setpriority'+set}'`\" = set"; then
  2774. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2775.   else
  2776.     cat > conftest.$ac_ext <<EOF
  2777. ! #line 2163 "configure"
  2778.   #include "confdefs.h"
  2779.   #include <sys/time.h>
  2780.   #include <sys/resource.h>
  2781. ***************
  2782. *** 2161,2177 ****
  2783.   
  2784.   fi
  2785.   
  2786. ! echo "$ac_t""$utils_cv_func_setpriority" 1>&4
  2787.   if test $utils_cv_func_setpriority = yes; then
  2788.     PROGS="$PROGS nice nohup"
  2789.     MAN="$MAN nice.1 nohup.1"
  2790.   else
  2791. !   echo $ac_n "checking for nice function""... $ac_c" 1>&4
  2792.     if eval "test \"`echo '${'utils_cv_func_nice'+set}'`\" = set"; then
  2793. !   echo $ac_n "(cached) $ac_c" 1>&4
  2794.   else
  2795.     cat > conftest.$ac_ext <<EOF
  2796. ! #line 2175 "configure"
  2797.   #include "confdefs.h"
  2798.   
  2799.   int main() { return 0; }
  2800. --- 2179,2195 ----
  2801.   
  2802.   fi
  2803.   
  2804. ! /bin/echo "$ac_t""$utils_cv_func_setpriority" 1>&4
  2805.   if test $utils_cv_func_setpriority = yes; then
  2806.     PROGS="$PROGS nice nohup"
  2807.     MAN="$MAN nice.1 nohup.1"
  2808.   else
  2809. !   /bin/echo $ac_n "checking for nice function""... $ac_c" 1>&4
  2810.     if eval "test \"`echo '${'utils_cv_func_nice'+set}'`\" = set"; then
  2811. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2812.   else
  2813.     cat > conftest.$ac_ext <<EOF
  2814. ! #line 2193 "configure"
  2815.   #include "confdefs.h"
  2816.   
  2817.   int main() { return 0; }
  2818. ***************
  2819. *** 2190,2196 ****
  2820.   
  2821.   fi
  2822.   
  2823. !   echo "$ac_t""$utils_cv_func_nice" 1>&4
  2824.     if test $utils_cv_func_nice = yes; then
  2825.       cat >> confdefs.h <<\EOF
  2826.   #define NICE_PRIORITY 1
  2827. --- 2208,2214 ----
  2828.   
  2829.   fi
  2830.   
  2831. !   /bin/echo "$ac_t""$utils_cv_func_nice" 1>&4
  2832.     if test $utils_cv_func_nice = yes; then
  2833.       cat >> confdefs.h <<\EOF
  2834.   #define NICE_PRIORITY 1
  2835. ***************
  2836. *** 2201,2212 ****
  2837.     fi
  2838.   fi
  2839.   
  2840. ! echo $ac_n "checking ut_host in struct utmp""... $ac_c" 1>&4
  2841.   if eval "test \"`echo '${'su_cv_func_ut_host_in_utmp'+set}'`\" = set"; then
  2842. !   echo $ac_n "(cached) $ac_c" 1>&4
  2843.   else
  2844.     cat > conftest.$ac_ext <<EOF
  2845. ! #line 2210 "configure"
  2846.   #include "confdefs.h"
  2847.   #include <sys/types.h>
  2848.   #include <utmp.h>
  2849. --- 2219,2230 ----
  2850.     fi
  2851.   fi
  2852.   
  2853. ! /bin/echo $ac_n "checking ut_host in struct utmp""... $ac_c" 1>&4
  2854.   if eval "test \"`echo '${'su_cv_func_ut_host_in_utmp'+set}'`\" = set"; then
  2855. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2856.   else
  2857.     cat > conftest.$ac_ext <<EOF
  2858. ! #line 2228 "configure"
  2859.   #include "confdefs.h"
  2860.   #include <sys/types.h>
  2861.   #include <utmp.h>
  2862. ***************
  2863. *** 2226,2232 ****
  2864.   
  2865.   fi
  2866.   
  2867. ! echo "$ac_t""$su_cv_func_ut_host_in_utmp" 1>&4
  2868.   if test $su_cv_func_ut_host_in_utmp = yes; then
  2869.     have_ut_host=1
  2870.     cat >> confdefs.h <<\EOF
  2871. --- 2244,2250 ----
  2872.   
  2873.   fi
  2874.   
  2875. ! /bin/echo "$ac_t""$su_cv_func_ut_host_in_utmp" 1>&4
  2876.   if test $su_cv_func_ut_host_in_utmp = yes; then
  2877.     have_ut_host=1
  2878.     cat >> confdefs.h <<\EOF
  2879. ***************
  2880. *** 2236,2247 ****
  2881.   fi
  2882.   
  2883.   if test -z "$have_ut_host"; then
  2884. !   echo $ac_n "checking ut_host in struct utmpx""... $ac_c" 1>&4
  2885.     if eval "test \"`echo '${'su_cv_func_ut_host_in_utmpx'+set}'`\" = set"; then
  2886. !   echo $ac_n "(cached) $ac_c" 1>&4
  2887.   else
  2888.     cat > conftest.$ac_ext <<EOF
  2889. ! #line 2245 "configure"
  2890.   #include "confdefs.h"
  2891.   #include <sys/types.h>
  2892.   #include <utmpx.h>
  2893. --- 2254,2265 ----
  2894.   fi
  2895.   
  2896.   if test -z "$have_ut_host"; then
  2897. !   /bin/echo $ac_n "checking ut_host in struct utmpx""... $ac_c" 1>&4
  2898.     if eval "test \"`echo '${'su_cv_func_ut_host_in_utmpx'+set}'`\" = set"; then
  2899. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2900.   else
  2901.     cat > conftest.$ac_ext <<EOF
  2902. ! #line 2263 "configure"
  2903.   #include "confdefs.h"
  2904.   #include <sys/types.h>
  2905.   #include <utmpx.h>
  2906. ***************
  2907. *** 2261,2267 ****
  2908.   
  2909.   fi
  2910.   
  2911. !   echo "$ac_t""$su_cv_func_ut_host_in_utmpx" 1>&4
  2912.     if test $su_cv_func_ut_host_in_utmpx = yes; then
  2913.       cat >> confdefs.h <<\EOF
  2914.   #define HAVE_UTMPX_H 1
  2915. --- 2279,2285 ----
  2916.   
  2917.   fi
  2918.   
  2919. !   /bin/echo "$ac_t""$su_cv_func_ut_host_in_utmpx" 1>&4
  2920.     if test $su_cv_func_ut_host_in_utmpx = yes; then
  2921.       cat >> confdefs.h <<\EOF
  2922.   #define HAVE_UTMPX_H 1
  2923. ***************
  2924. *** 2274,2285 ****
  2925.     fi
  2926.   fi
  2927.   
  2928. ! echo $ac_n "checking POSIX termios""... $ac_c" 1>&4
  2929.   if eval "test \"`echo '${'su_cv_sys_posix_termios'+set}'`\" = set"; then
  2930. !   echo $ac_n "(cached) $ac_c" 1>&4
  2931.   else
  2932.     cat > conftest.$ac_ext <<EOF
  2933. ! #line 2283 "configure"
  2934.   #include "confdefs.h"
  2935.   #include <sys/types.h>
  2936.   #include <unistd.h>
  2937. --- 2292,2303 ----
  2938.     fi
  2939.   fi
  2940.   
  2941. ! /bin/echo $ac_n "checking POSIX termios""... $ac_c" 1>&4
  2942.   if eval "test \"`echo '${'su_cv_sys_posix_termios'+set}'`\" = set"; then
  2943. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2944.   else
  2945.     cat > conftest.$ac_ext <<EOF
  2946. ! #line 2301 "configure"
  2947.   #include "confdefs.h"
  2948.   #include <sys/types.h>
  2949.   #include <unistd.h>
  2950. ***************
  2951. *** 2301,2317 ****
  2952.   
  2953.   fi
  2954.   
  2955. ! echo "$ac_t""$su_cv_sys_posix_termios" 1>&4
  2956.   
  2957.   if test $su_cv_sys_posix_termios = yes; then
  2958.     PROGS="$PROGS stty" MAN="$MAN stty.1"
  2959.   
  2960. !   echo $ac_n "checking c_line in struct termios""... $ac_c" 1>&4
  2961.     if eval "test \"`echo '${'su_cv_sys_c_line_in_termios'+set}'`\" = set"; then
  2962. !   echo $ac_n "(cached) $ac_c" 1>&4
  2963.   else
  2964.     cat > conftest.$ac_ext <<EOF
  2965. ! #line 2315 "configure"
  2966.   #include "confdefs.h"
  2967.   #include <sys/types.h>
  2968.   #include <termios.h>
  2969. --- 2319,2335 ----
  2970.   
  2971.   fi
  2972.   
  2973. ! /bin/echo "$ac_t""$su_cv_sys_posix_termios" 1>&4
  2974.   
  2975.   if test $su_cv_sys_posix_termios = yes; then
  2976.     PROGS="$PROGS stty" MAN="$MAN stty.1"
  2977.   
  2978. !   /bin/echo $ac_n "checking c_line in struct termios""... $ac_c" 1>&4
  2979.     if eval "test \"`echo '${'su_cv_sys_c_line_in_termios'+set}'`\" = set"; then
  2980. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2981.   else
  2982.     cat > conftest.$ac_ext <<EOF
  2983. ! #line 2333 "configure"
  2984.   #include "confdefs.h"
  2985.   #include <sys/types.h>
  2986.   #include <termios.h>
  2987. ***************
  2988. *** 2331,2348 ****
  2989.   
  2990.   fi
  2991.   
  2992. !   echo "$ac_t""$su_cv_sys_c_line_in_termios" 1>&4
  2993.     test $su_cv_sys_c_line_in_termios = yes && cat >> confdefs.h <<\EOF
  2994.   #define HAVE_C_LINE 1
  2995.   EOF
  2996.   
  2997.   
  2998. !   echo $ac_n "checking TIOCGWINSZ in termios.h""... $ac_c" 1>&4
  2999.     if eval "test \"`echo '${'su_cv_sys_tiocgwinsz_in_termios_h'+set}'`\" = set"; then
  3000. !   echo $ac_n "(cached) $ac_c" 1>&4
  3001.   else
  3002.     cat > conftest.$ac_ext <<EOF
  3003. ! #line 2346 "configure"
  3004.   #include "confdefs.h"
  3005.   #include <sys/types.h>
  3006.   #include <termios.h>
  3007. --- 2349,2366 ----
  3008.   
  3009.   fi
  3010.   
  3011. !   /bin/echo "$ac_t""$su_cv_sys_c_line_in_termios" 1>&4
  3012.     test $su_cv_sys_c_line_in_termios = yes && cat >> confdefs.h <<\EOF
  3013.   #define HAVE_C_LINE 1
  3014.   EOF
  3015.   
  3016.   
  3017. !   /bin/echo $ac_n "checking TIOCGWINSZ in termios.h""... $ac_c" 1>&4
  3018.     if eval "test \"`echo '${'su_cv_sys_tiocgwinsz_in_termios_h'+set}'`\" = set"; then
  3019. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3020.   else
  3021.     cat > conftest.$ac_ext <<EOF
  3022. ! #line 2364 "configure"
  3023.   #include "confdefs.h"
  3024.   #include <sys/types.h>
  3025.   #include <termios.h>
  3026. ***************
  3027. *** 2362,2379 ****
  3028.   
  3029.   fi
  3030.   
  3031. !   echo "$ac_t""$su_cv_sys_tiocgwinsz_in_termios_h" 1>&4
  3032.   else
  3033.     su_cv_sys_tiocgwinsz_in_termios_h=no
  3034.   fi
  3035.   
  3036.   if test $su_cv_sys_tiocgwinsz_in_termios_h = no; then
  3037. !   echo $ac_n "checking TIOCGWINSZ in sys/ioctl.h""... $ac_c" 1>&4
  3038.     if eval "test \"`echo '${'su_cv_sys_tiocgwinsz_in_sys_ioctl_h'+set}'`\" = set"; then
  3039. !   echo $ac_n "(cached) $ac_c" 1>&4
  3040.   else
  3041.     cat > conftest.$ac_ext <<EOF
  3042. ! #line 2377 "configure"
  3043.   #include "confdefs.h"
  3044.   #include <sys/types.h>
  3045.   #include <sys/ioctl.h>
  3046. --- 2380,2397 ----
  3047.   
  3048.   fi
  3049.   
  3050. !   /bin/echo "$ac_t""$su_cv_sys_tiocgwinsz_in_termios_h" 1>&4
  3051.   else
  3052.     su_cv_sys_tiocgwinsz_in_termios_h=no
  3053.   fi
  3054.   
  3055.   if test $su_cv_sys_tiocgwinsz_in_termios_h = no; then
  3056. !   /bin/echo $ac_n "checking TIOCGWINSZ in sys/ioctl.h""... $ac_c" 1>&4
  3057.     if eval "test \"`echo '${'su_cv_sys_tiocgwinsz_in_sys_ioctl_h'+set}'`\" = set"; then
  3058. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3059.   else
  3060.     cat > conftest.$ac_ext <<EOF
  3061. ! #line 2395 "configure"
  3062.   #include "confdefs.h"
  3063.   #include <sys/types.h>
  3064.   #include <sys/ioctl.h>
  3065. ***************
  3066. *** 2393,2399 ****
  3067.   
  3068.   fi
  3069.   
  3070. !   echo "$ac_t""$su_cv_sys_tiocgwinsz_in_sys_ioctl_h" 1>&4
  3071.   
  3072.     test $su_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes \
  3073.         && cat >> confdefs.h <<\EOF
  3074. --- 2411,2417 ----
  3075.   
  3076.   fi
  3077.   
  3078. !   /bin/echo "$ac_t""$su_cv_sys_tiocgwinsz_in_sys_ioctl_h" 1>&4
  3079.   
  3080.     test $su_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes \
  3081.         && cat >> confdefs.h <<\EOF
  3082. ***************
  3083. *** 2402,2414 ****
  3084.   
  3085.   fi
  3086.   
  3087. ! ac_safe=`echo "sys/ptem.h" | tr './' '__'`
  3088. ! echo $ac_n "checking for sys/ptem.h""... $ac_c" 1>&4
  3089.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3090. !   echo $ac_n "(cached) $ac_c" 1>&4
  3091.   else
  3092.     cat > conftest.$ac_ext <<EOF
  3093. ! #line 2412 "configure"
  3094.   #include "confdefs.h"
  3095.   #include <sys/ptem.h>
  3096.   EOF
  3097. --- 2420,2432 ----
  3098.   
  3099.   fi
  3100.   
  3101. ! ac_safe=`/bin/echo "sys/ptem.h" | tr './\055' '___'`
  3102. ! /bin/echo $ac_n "checking for sys/ptem.h""... $ac_c" 1>&4
  3103.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3104. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3105.   else
  3106.     cat > conftest.$ac_ext <<EOF
  3107. ! #line 2430 "configure"
  3108.   #include "confdefs.h"
  3109.   #include <sys/ptem.h>
  3110.   EOF
  3111. ***************
  3112. *** 2418,2449 ****
  3113.     rm -rf conftest*
  3114.     eval "ac_cv_header_$ac_safe=yes"
  3115.   else
  3116. !   echo "$ac_err" >&5
  3117.     rm -rf conftest*
  3118.     eval "ac_cv_header_$ac_safe=no"
  3119.   fi
  3120.   rm -f conftest*
  3121.   fi
  3122.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  3123. !   echo "$ac_t""yes" 1>&4
  3124.     cat >> confdefs.h <<\EOF
  3125.   #define WINSIZE_IN_PTEM 1
  3126.   EOF
  3127.   
  3128.   else
  3129. !   echo "$ac_t""no" 1>&4
  3130.   fi
  3131.   
  3132.   
  3133.   # The -lsun library is required for YP support on Irix-4.0.5 systems.
  3134. ! echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  3135.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  3136. !   echo $ac_n "(cached) $ac_c" 1>&4
  3137.   else
  3138.     ac_save_LIBS="$LIBS"
  3139.   LIBS="$LIBS -lsun "
  3140.   cat > conftest.$ac_ext <<EOF
  3141. ! #line 2447 "configure"
  3142.   #include "confdefs.h"
  3143.   
  3144.   int main() { return 0; }
  3145. --- 2436,2467 ----
  3146.     rm -rf conftest*
  3147.     eval "ac_cv_header_$ac_safe=yes"
  3148.   else
  3149. !   /bin/echo "$ac_err" >&5
  3150.     rm -rf conftest*
  3151.     eval "ac_cv_header_$ac_safe=no"
  3152.   fi
  3153.   rm -f conftest*
  3154.   fi
  3155.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  3156. !   /bin/echo "$ac_t""yes" 1>&4
  3157.     cat >> confdefs.h <<\EOF
  3158.   #define WINSIZE_IN_PTEM 1
  3159.   EOF
  3160.   
  3161.   else
  3162. !   /bin/echo "$ac_t""no" 1>&4
  3163.   fi
  3164.   
  3165.   
  3166.   # The -lsun library is required for YP support on Irix-4.0.5 systems.
  3167. ! /bin/echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  3168.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  3169. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3170.   else
  3171.     ac_save_LIBS="$LIBS"
  3172.   LIBS="$LIBS -lsun "
  3173.   cat > conftest.$ac_ext <<EOF
  3174. ! #line 2465 "configure"
  3175.   #include "confdefs.h"
  3176.   
  3177.   int main() { return 0; }
  3178. ***************
  3179. *** 2463,2470 ****
  3180.   
  3181.   fi
  3182.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  3183. !   echo "$ac_t""yes" 1>&4
  3184. !     ac_tr_lib=HAVE_LIB`echo sun | tr '[a-z]' '[A-Z]'`
  3185.     cat >> confdefs.h <<EOF
  3186.   #define $ac_tr_lib 1
  3187.   EOF
  3188. --- 2481,2488 ----
  3189.   
  3190.   fi
  3191.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  3192. !   /bin/echo "$ac_t""yes" 1>&4
  3193. !     ac_tr_lib=HAVE_LIB`/bin/echo sun | tr '[a-z]' '[A-Z]'`
  3194.     cat >> confdefs.h <<EOF
  3195.   #define $ac_tr_lib 1
  3196.   EOF
  3197. ***************
  3198. *** 2472,2491 ****
  3199.     LIBS="$LIBS -lsun"
  3200.   
  3201.   else
  3202. !   echo "$ac_t""no" 1>&4
  3203.   fi
  3204.   
  3205.   
  3206.   echo "checking for shadow password routines" 1>&4
  3207.   # Needed on SysV for shadow passwords.
  3208. ! echo $ac_n "checking for -lsec""... $ac_c" 1>&4
  3209.   if eval "test \"`echo '${'ac_cv_lib_sec'+set}'`\" = set"; then
  3210. !   echo $ac_n "(cached) $ac_c" 1>&4
  3211.   else
  3212.     ac_save_LIBS="$LIBS"
  3213.   LIBS="$LIBS -lsec "
  3214.   cat > conftest.$ac_ext <<EOF
  3215. ! #line 2489 "configure"
  3216.   #include "confdefs.h"
  3217.   
  3218.   int main() { return 0; }
  3219. --- 2490,2509 ----
  3220.     LIBS="$LIBS -lsun"
  3221.   
  3222.   else
  3223. !   /bin/echo "$ac_t""no" 1>&4
  3224.   fi
  3225.   
  3226.   
  3227.   echo "checking for shadow password routines" 1>&4
  3228.   # Needed on SysV for shadow passwords.
  3229. ! /bin/echo $ac_n "checking for -lsec""... $ac_c" 1>&4
  3230.   if eval "test \"`echo '${'ac_cv_lib_sec'+set}'`\" = set"; then
  3231. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3232.   else
  3233.     ac_save_LIBS="$LIBS"
  3234.   LIBS="$LIBS -lsec "
  3235.   cat > conftest.$ac_ext <<EOF
  3236. ! #line 2507 "configure"
  3237.   #include "confdefs.h"
  3238.   
  3239.   int main() { return 0; }
  3240. ***************
  3241. *** 2505,2512 ****
  3242.   
  3243.   fi
  3244.   if eval "test \"`echo '$ac_cv_lib_'sec`\" = yes"; then
  3245. !   echo "$ac_t""yes" 1>&4
  3246. !     ac_tr_lib=HAVE_LIB`echo sec | tr '[a-z]' '[A-Z]'`
  3247.     cat >> confdefs.h <<EOF
  3248.   #define $ac_tr_lib 1
  3249.   EOF
  3250. --- 2523,2530 ----
  3251.   
  3252.   fi
  3253.   if eval "test \"`echo '$ac_cv_lib_'sec`\" = yes"; then
  3254. !   /bin/echo "$ac_t""yes" 1>&4
  3255. !     ac_tr_lib=HAVE_LIB`/bin/echo sec | tr '[a-z]' '[A-Z]'`
  3256.     cat >> confdefs.h <<EOF
  3257.   #define $ac_tr_lib 1
  3258.   EOF
  3259. ***************
  3260. *** 2514,2532 ****
  3261.     LIBS="$LIBS -lsec"
  3262.   
  3263.   else
  3264. !   echo "$ac_t""no" 1>&4
  3265.   fi
  3266.   
  3267.   
  3268.   # Needed on Linux for shadow passwords.
  3269. ! echo $ac_n "checking for -lshadow""... $ac_c" 1>&4
  3270.   if eval "test \"`echo '${'ac_cv_lib_shadow'+set}'`\" = set"; then
  3271. !   echo $ac_n "(cached) $ac_c" 1>&4
  3272.   else
  3273.     ac_save_LIBS="$LIBS"
  3274.   LIBS="$LIBS -lshadow "
  3275.   cat > conftest.$ac_ext <<EOF
  3276. ! #line 2530 "configure"
  3277.   #include "confdefs.h"
  3278.   
  3279.   int main() { return 0; }
  3280. --- 2532,2550 ----
  3281.     LIBS="$LIBS -lsec"
  3282.   
  3283.   else
  3284. !   /bin/echo "$ac_t""no" 1>&4
  3285.   fi
  3286.   
  3287.   
  3288.   # Needed on Linux for shadow passwords.
  3289. ! /bin/echo $ac_n "checking for -lshadow""... $ac_c" 1>&4
  3290.   if eval "test \"`echo '${'ac_cv_lib_shadow'+set}'`\" = set"; then
  3291. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3292.   else
  3293.     ac_save_LIBS="$LIBS"
  3294.   LIBS="$LIBS -lshadow "
  3295.   cat > conftest.$ac_ext <<EOF
  3296. ! #line 2548 "configure"
  3297.   #include "confdefs.h"
  3298.   
  3299.   int main() { return 0; }
  3300. ***************
  3301. *** 2546,2553 ****
  3302.   
  3303.   fi
  3304.   if eval "test \"`echo '$ac_cv_lib_'shadow`\" = yes"; then
  3305. !   echo "$ac_t""yes" 1>&4
  3306. !     ac_tr_lib=HAVE_LIB`echo shadow | tr '[a-z]' '[A-Z]'`
  3307.     cat >> confdefs.h <<EOF
  3308.   #define $ac_tr_lib 1
  3309.   EOF
  3310. --- 2564,2571 ----
  3311.   
  3312.   fi
  3313.   if eval "test \"`echo '$ac_cv_lib_'shadow`\" = yes"; then
  3314. !   /bin/echo "$ac_t""yes" 1>&4
  3315. !     ac_tr_lib=HAVE_LIB`/bin/echo shadow | tr '[a-z]' '[A-Z]'`
  3316.     cat >> confdefs.h <<EOF
  3317.   #define $ac_tr_lib 1
  3318.   EOF
  3319. ***************
  3320. *** 2555,2580 ****
  3321.     LIBS="$LIBS -lshadow"
  3322.   
  3323.   else
  3324. !   echo "$ac_t""no" 1>&4
  3325.   fi
  3326.   
  3327.   
  3328.   cat > conftest.$ac_ext <<EOF
  3329. ! #line 2564 "configure"
  3330.   #include "confdefs.h"
  3331.   #include <shadow.h>
  3332.   EOF
  3333.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3334.     egrep "sp_pwdp" >/dev/null 2>&1; then
  3335.     rm -rf conftest*
  3336. !   echo $ac_n "checking for getspnam""... $ac_c" 1>&4
  3337.   if eval "test \"`echo '${'ac_cv_func_getspnam'+set}'`\" = set"; then
  3338. !   echo $ac_n "(cached) $ac_c" 1>&4
  3339.   else
  3340.     cat > conftest.$ac_ext <<EOF
  3341. ! #line 2576 "configure"
  3342.   #include "confdefs.h"
  3343.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3344.   int main() { return 0; }
  3345.   int t() {
  3346.   
  3347. --- 2573,2601 ----
  3348.     LIBS="$LIBS -lshadow"
  3349.   
  3350.   else
  3351. !   /bin/echo "$ac_t""no" 1>&4
  3352.   fi
  3353.   
  3354.   
  3355.   cat > conftest.$ac_ext <<EOF
  3356. ! #line 2582 "configure"
  3357.   #include "confdefs.h"
  3358.   #include <shadow.h>
  3359.   EOF
  3360.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3361.     egrep "sp_pwdp" >/dev/null 2>&1; then
  3362.     rm -rf conftest*
  3363. !   /bin/echo $ac_n "checking for getspnam""... $ac_c" 1>&4
  3364.   if eval "test \"`echo '${'ac_cv_func_getspnam'+set}'`\" = set"; then
  3365. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3366.   else
  3367.     cat > conftest.$ac_ext <<EOF
  3368. ! #line 2594 "configure"
  3369.   #include "confdefs.h"
  3370.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3371. + /* Override any gcc2 internal prototype to avoid an error.  */
  3372. + char getspnam(); 
  3373.   int main() { return 0; }
  3374.   int t() {
  3375.   
  3376. ***************
  3377. *** 2584,2591 ****
  3378.   #if defined (__stub_getspnam) || defined (__stub___getspnam)
  3379.   choke me
  3380.   #else
  3381. ! /* Override any gcc2 internal prototype to avoid an error.  */
  3382. ! char getspnam(); getspnam();
  3383.   #endif
  3384.   
  3385.   ; return 0; }
  3386. --- 2605,2611 ----
  3387.   #if defined (__stub_getspnam) || defined (__stub___getspnam)
  3388.   choke me
  3389.   #else
  3390. ! getspnam();
  3391.   #endif
  3392.   
  3393.   ; return 0; }
  3394. ***************
  3395. *** 2601,2613 ****
  3396.   
  3397.   fi
  3398.   if eval "test \"`echo '$ac_cv_func_'getspnam`\" = yes"; then
  3399. !   echo "$ac_t""yes" 1>&4
  3400.     cat >> confdefs.h <<\EOF
  3401.   #define HAVE_SHADOW_H 1
  3402.   EOF
  3403.   
  3404.   else
  3405. !   echo "$ac_t""no" 1>&4
  3406.   fi
  3407.   
  3408.   fi
  3409. --- 2621,2633 ----
  3410.   
  3411.   fi
  3412.   if eval "test \"`echo '$ac_cv_func_'getspnam`\" = yes"; then
  3413. !   /bin/echo "$ac_t""yes" 1>&4
  3414.     cat >> confdefs.h <<\EOF
  3415.   #define HAVE_SHADOW_H 1
  3416.   EOF
  3417.   
  3418.   else
  3419. !   /bin/echo "$ac_t""no" 1>&4
  3420.   fi
  3421.   
  3422.   fi
  3423. ***************
  3424. *** 2616,2629 ****
  3425.   
  3426.   for ac_func in crypt
  3427.   do
  3428. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  3429.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3430. !   echo $ac_n "(cached) $ac_c" 1>&4
  3431.   else
  3432.     cat > conftest.$ac_ext <<EOF
  3433. ! #line 2625 "configure"
  3434.   #include "confdefs.h"
  3435.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3436.   int main() { return 0; }
  3437.   int t() {
  3438.   
  3439. --- 2636,2652 ----
  3440.   
  3441.   for ac_func in crypt
  3442.   do
  3443. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  3444.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3445. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3446.   else
  3447.     cat > conftest.$ac_ext <<EOF
  3448. ! #line 2645 "configure"
  3449.   #include "confdefs.h"
  3450.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3451. + /* Override any gcc2 internal prototype to avoid an error.  */
  3452. + char $ac_func(); 
  3453.   int main() { return 0; }
  3454.   int t() {
  3455.   
  3456. ***************
  3457. *** 2633,2640 ****
  3458.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  3459.   choke me
  3460.   #else
  3461. ! /* Override any gcc2 internal prototype to avoid an error.  */
  3462. ! char $ac_func(); $ac_func();
  3463.   #endif
  3464.   
  3465.   ; return 0; }
  3466. --- 2656,2662 ----
  3467.   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  3468.   choke me
  3469.   #else
  3470. ! $ac_func();
  3471.   #endif
  3472.   
  3473.   ; return 0; }
  3474. ***************
  3475. *** 2650,2676 ****
  3476.   
  3477.   fi
  3478.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3479. !   echo "$ac_t""yes" 1>&4
  3480. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  3481.     cat >> confdefs.h <<EOF
  3482.   #define $ac_tr_func 1
  3483.   EOF
  3484.    
  3485.   else
  3486. !   echo "$ac_t""no" 1>&4
  3487.   fi
  3488.   done
  3489.   
  3490.   if test $ac_cv_func_crypt = no; then
  3491.     # SCO-ODT-3.0 is reported to need this library for crypt.  
  3492. !   echo $ac_n "checking for -lufc""... $ac_c" 1>&4
  3493.   if eval "test \"`echo '${'ac_cv_lib_ufc'+set}'`\" = set"; then
  3494. !   echo $ac_n "(cached) $ac_c" 1>&4
  3495.   else
  3496.     ac_save_LIBS="$LIBS"
  3497.   LIBS="$LIBS -lufc "
  3498.   cat > conftest.$ac_ext <<EOF
  3499. ! #line 2674 "configure"
  3500.   #include "confdefs.h"
  3501.   
  3502.   int main() { return 0; }
  3503. --- 2672,2698 ----
  3504.   
  3505.   fi
  3506.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3507. !   /bin/echo "$ac_t""yes" 1>&4
  3508. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  3509.     cat >> confdefs.h <<EOF
  3510.   #define $ac_tr_func 1
  3511.   EOF
  3512.    
  3513.   else
  3514. !   /bin/echo "$ac_t""no" 1>&4
  3515.   fi
  3516.   done
  3517.   
  3518.   if test $ac_cv_func_crypt = no; then
  3519.     # SCO-ODT-3.0 is reported to need this library for crypt.  
  3520. !   /bin/echo $ac_n "checking for -lufc""... $ac_c" 1>&4
  3521.   if eval "test \"`echo '${'ac_cv_lib_ufc'+set}'`\" = set"; then
  3522. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3523.   else
  3524.     ac_save_LIBS="$LIBS"
  3525.   LIBS="$LIBS -lufc "
  3526.   cat > conftest.$ac_ext <<EOF
  3527. ! #line 2696 "configure"
  3528.   #include "confdefs.h"
  3529.   
  3530.   int main() { return 0; }
  3531. ***************
  3532. *** 2690,2708 ****
  3533.   
  3534.   fi
  3535.   if eval "test \"`echo '$ac_cv_lib_'ufc`\" = yes"; then
  3536. !   echo "$ac_t""yes" 1>&4
  3537.     LIBS="$LIBS -lufc"
  3538.   else
  3539. !   echo "$ac_t""no" 1>&4
  3540.   # NetBSD needs this library for crypt.  
  3541. !     echo $ac_n "checking for -lcrypt""... $ac_c" 1>&4
  3542.   if eval "test \"`echo '${'ac_cv_lib_crypt'+set}'`\" = set"; then
  3543. !   echo $ac_n "(cached) $ac_c" 1>&4
  3544.   else
  3545.     ac_save_LIBS="$LIBS"
  3546.   LIBS="$LIBS -lcrypt "
  3547.   cat > conftest.$ac_ext <<EOF
  3548. ! #line 2706 "configure"
  3549.   #include "confdefs.h"
  3550.   
  3551.   int main() { return 0; }
  3552. --- 2712,2730 ----
  3553.   
  3554.   fi
  3555.   if eval "test \"`echo '$ac_cv_lib_'ufc`\" = yes"; then
  3556. !   /bin/echo "$ac_t""yes" 1>&4
  3557.     LIBS="$LIBS -lufc"
  3558.   else
  3559. !   /bin/echo "$ac_t""no" 1>&4
  3560.   # NetBSD needs this library for crypt.  
  3561. !     /bin/echo $ac_n "checking for -lcrypt""... $ac_c" 1>&4
  3562.   if eval "test \"`echo '${'ac_cv_lib_crypt'+set}'`\" = set"; then
  3563. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  3564.   else
  3565.     ac_save_LIBS="$LIBS"
  3566.   LIBS="$LIBS -lcrypt "
  3567.   cat > conftest.$ac_ext <<EOF
  3568. ! #line 2728 "configure"
  3569.   #include "confdefs.h"
  3570.   
  3571.   int main() { return 0; }
  3572. ***************
  3573. *** 2722,2729 ****
  3574.   
  3575.   fi
  3576.   if eval "test \"`echo '$ac_cv_lib_'crypt`\" = yes"; then
  3577. !   echo "$ac_t""yes" 1>&4
  3578. !     ac_tr_lib=HAVE_LIB`echo crypt | tr '[a-z]' '[A-Z]'`
  3579.     cat >> confdefs.h <<EOF
  3580.   #define $ac_tr_lib 1
  3581.   EOF
  3582. --- 2744,2751 ----
  3583.   
  3584.   fi
  3585.   if eval "test \"`echo '$ac_cv_lib_'crypt`\" = yes"; then
  3586. !   /bin/echo "$ac_t""yes" 1>&4
  3587. !     ac_tr_lib=HAVE_LIB`/bin/echo crypt | tr '[a-z]' '[A-Z]'`
  3588.     cat >> confdefs.h <<EOF
  3589.   #define $ac_tr_lib 1
  3590.   EOF
  3591. ***************
  3592. *** 2731,2737 ****
  3593.     LIBS="$LIBS -lcrypt"
  3594.   
  3595.   else
  3596. !   echo "$ac_t""no" 1>&4
  3597.   fi
  3598.   
  3599.   fi
  3600. --- 2753,2759 ----
  3601.     LIBS="$LIBS -lcrypt"
  3602.   
  3603.   else
  3604. !   /bin/echo "$ac_t""no" 1>&4
  3605.   fi
  3606.   
  3607.   fi
  3608. ***************
  3609. *** 2767,2773 ****
  3610.   
  3611.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  3612.   
  3613. ! test "x$prefix" = xNONE && prefix=/usr/local
  3614.   # Let make expand exec_prefix.
  3615.   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3616.   
  3617. --- 2789,2795 ----
  3618.   
  3619.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  3620.   
  3621. ! test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3622.   # Let make expand exec_prefix.
  3623.   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3624.   
  3625. ***************
  3626. *** 2786,2792 ****
  3627.   : ${CONFIG_STATUS=./config.status}
  3628.   
  3629.   echo creating $CONFIG_STATUS
  3630. ! rm -f $CONFIG_STATUS
  3631.   cat > $CONFIG_STATUS <<EOF
  3632.   #!/bin/sh
  3633.   # Generated automatically by configure.
  3634. --- 2808,2816 ----
  3635.   : ${CONFIG_STATUS=./config.status}
  3636.   
  3637.   echo creating $CONFIG_STATUS
  3638. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  3639. ! # being executed, so just move it out of the way instead.
  3640. ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  3641.   cat > $CONFIG_STATUS <<EOF
  3642.   #!/bin/sh
  3643.   # Generated automatically by configure.
  3644. ***************
  3645. *** 2807,2813 ****
  3646.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  3647.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  3648.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  3649. !     echo "$CONFIG_STATUS generated by autoconf version 1.120"
  3650.       exit 0 ;;
  3651.     -help | --help | --hel | --he | --h)
  3652.       echo "\$ac_cs_usage"; exit 0 ;;
  3653. --- 2831,2837 ----
  3654.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  3655.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  3656.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  3657. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  3658.       exit 0 ;;
  3659.     -help | --help | --hel | --he | --h)
  3660.       echo "\$ac_cs_usage"; exit 0 ;;
  3661. ***************
  3662. *** 2856,2876 ****
  3663.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  3664.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3665.     case "$ac_file" in
  3666. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  3667. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  3668.     *) ac_file_in="${ac_file}.in" ;;
  3669.     esac
  3670.   
  3671.     # Adjust relative srcdir, etc. for subdirectories.
  3672.   
  3673.     # Remove last slash and all that follows it.  Not all systems have dirname.
  3674. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  3675.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3676.       # The file is in a subdirectory.
  3677.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  3678.       ac_dir_suffix="/$ac_dir"
  3679.       # A "../" for each directory in $ac_dir_suffix.
  3680. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  3681.     else
  3682.       ac_dir_suffix= ac_dots=
  3683.     fi
  3684. --- 2880,2900 ----
  3685.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  3686.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3687.     case "$ac_file" in
  3688. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  3689. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  3690.     *) ac_file_in="${ac_file}.in" ;;
  3691.     esac
  3692.   
  3693.     # Adjust relative srcdir, etc. for subdirectories.
  3694.   
  3695.     # Remove last slash and all that follows it.  Not all systems have dirname.
  3696. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  3697.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3698.       # The file is in a subdirectory.
  3699.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  3700.       ac_dir_suffix="/$ac_dir"
  3701.       # A "../" for each directory in $ac_dir_suffix.
  3702. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  3703.     else
  3704.       ac_dir_suffix= ac_dots=
  3705.     fi
  3706. ***************
  3707. *** 2878,2884 ****
  3708.     case "$ac_given_srcdir" in
  3709.     .)  srcdir=.
  3710.         if test -z "$ac_dots"; then top_srcdir=.
  3711. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  3712.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  3713.     *) # Relative path.
  3714.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  3715. --- 2902,2908 ----
  3716.     case "$ac_given_srcdir" in
  3717.     .)  srcdir=.
  3718.         if test -z "$ac_dots"; then top_srcdir=.
  3719. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  3720.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  3721.     *) # Relative path.
  3722.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  3723. ***************
  3724. *** 2891,2897 ****
  3725.     esac
  3726.     echo creating "$ac_file"
  3727.     rm -f "$ac_file"
  3728. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  3729.     case "$ac_file" in
  3730.     *Makefile*) ac_comsub="1i\\
  3731.   # $configure_input" ;;
  3732. --- 2915,2921 ----
  3733.     esac
  3734.     echo creating "$ac_file"
  3735.     rm -f "$ac_file"
  3736. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  3737.     case "$ac_file" in
  3738.     *Makefile*) ac_comsub="1i\\
  3739.   # $configure_input" ;;
  3740. ***************
  3741. *** 2929,2936 ****
  3742.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  3743.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3744.     case "$ac_file" in
  3745. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  3746. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  3747.     *) ac_file_in="${ac_file}.in" ;;
  3748.     esac
  3749.   
  3750. --- 2953,2960 ----
  3751.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  3752.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3753.     case "$ac_file" in
  3754. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  3755. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  3756.     *) ac_file_in="${ac_file}.in" ;;
  3757.     esac
  3758.   
  3759. ***************
  3760. *** 2994,3000 ****
  3761.     cat conftest.in >> conftest.h
  3762.     rm -f conftest.in
  3763.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  3764. !     echo "$ac_file is unchanged"
  3765.       rm -f conftest.h
  3766.     else
  3767.       rm -f $ac_file
  3768. --- 3018,3024 ----
  3769.     cat conftest.in >> conftest.h
  3770.     rm -f conftest.in
  3771.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  3772. !     /bin/echo "$ac_file is unchanged"
  3773.       rm -f conftest.h
  3774.     else
  3775.       rm -f $ac_file
  3776. diff -rc --new-file sh-utils-1.12/lib/getusershell.c /gnu/src/amiga/sh-utils-1.12/lib/getusershell.c
  3777. *** sh-utils-1.12/lib/getusershell.c    Mon Sep 26 21:55:54 1994
  3778. --- /gnu/src/amiga/sh-utils-1.12/lib/getusershell.c    Sat Nov 12 21:52:29 1994
  3779. ***************
  3780. *** 43,49 ****
  3781.   /* List of shells to use if the shells file is missing. */
  3782.   static char const* const default_shells[] =
  3783.   {
  3784. !   "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL
  3785.   };
  3786.   
  3787.   /* Index of the next shell in `default_shells' to return.
  3788. --- 43,49 ----
  3789.   /* List of shells to use if the shells file is missing. */
  3790.   static char const* const default_shells[] =
  3791.   {
  3792. !   "/bin/sh", "/bin/ksh", "/bin/bash", NULL
  3793.   };
  3794.   
  3795.   /* Index of the next shell in `default_shells' to return.
  3796. diff -rc --new-file sh-utils-1.12/src/Makefile.in /gnu/src/amiga/sh-utils-1.12/src/Makefile.in
  3797. *** sh-utils-1.12/src/Makefile.in    Fri Nov  4 06:53:32 1994
  3798. --- /gnu/src/amiga/sh-utils-1.12/src/Makefile.in    Sat Nov 12 22:56:04 1994
  3799. ***************
  3800. *** 46,57 ****
  3801.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  3802.   false.sh true.sh version.h
  3803.   
  3804.   PROGS = basename date dirname echo env expr false groups hostname id logname \
  3805. ! pathchk printenv printf pwd sleep tee test true tty users who whoami yes @PROGS@
  3806.   
  3807.   LIBPROGS =
  3808.   
  3809. ! all: $(PROGS) su $(LIBPROGS)
  3810.   
  3811.   .SUFFIXES:
  3812.   .SUFFIXES: .c .o
  3813. --- 46,59 ----
  3814.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  3815.   false.sh true.sh version.h
  3816.   
  3817. + # Amiga hacks - remove tty and who, since they need ttyname().
  3818.   PROGS = basename date dirname echo env expr false groups hostname id logname \
  3819. ! pathchk printenv printf pwd sleep tee test true users whoami yes @PROGS@
  3820.   
  3821.   LIBPROGS =
  3822.   
  3823. ! # Amiga hack - remove su since it needs getpass().
  3824. ! all: $(PROGS) $(LIBPROGS)
  3825.   
  3826.   .SUFFIXES:
  3827.   .SUFFIXES: .c .o
  3828. ***************
  3829. *** 74,80 ****
  3830.             $(bindir)/`echo $$f|sed '$(transform)'`; \
  3831.       done
  3832.       $(RM) -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  3833. !     @if test `./id -u` = 0; then \
  3834.       echo you are root, so installing su; \
  3835.       $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
  3836.       chown root $(bindir)/$(binprefix)su; \
  3837. --- 76,82 ----
  3838.             $(bindir)/`echo $$f|sed '$(transform)'`; \
  3839.       done
  3840.       $(RM) -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  3841. !     @if false; then \
  3842.       echo you are root, so installing su; \
  3843.       $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
  3844.       chown root $(bindir)/$(binprefix)su; \
  3845. diff -rc --new-file sh-utils-1.12/src/basename.c /gnu/src/amiga/sh-utils-1.12/src/basename.c
  3846. *** sh-utils-1.12/src/basename.c    Fri Oct 21 04:59:41 1994
  3847. --- /gnu/src/amiga/sh-utils-1.12/src/basename.c    Sat Nov 12 21:52:33 1994
  3848. ***************
  3849. *** 65,71 ****
  3850.     exit (status);
  3851.   }
  3852.   
  3853. - void
  3854.   main (argc, argv)
  3855.        int argc;
  3856.        char **argv;
  3857. --- 65,70 ----
  3858. diff -rc --new-file sh-utils-1.12/src/date.c /gnu/src/amiga/sh-utils-1.12/src/date.c
  3859. *** sh-utils-1.12/src/date.c    Sat Oct  1 18:06:08 1994
  3860. --- /gnu/src/amiga/sh-utils-1.12/src/date.c    Sat Nov 12 21:52:34 1994
  3861. ***************
  3862. *** 139,145 ****
  3863.     return status;
  3864.   }
  3865.   
  3866. - void
  3867.   main (argc, argv)
  3868.        int argc;
  3869.        char **argv;
  3870. --- 139,144 ----
  3871. diff -rc --new-file sh-utils-1.12/src/dirname.c /gnu/src/amiga/sh-utils-1.12/src/dirname.c
  3872. *** sh-utils-1.12/src/dirname.c    Fri Oct 21 04:59:42 1994
  3873. --- /gnu/src/amiga/sh-utils-1.12/src/dirname.c    Sat Nov 12 21:52:34 1994
  3874. ***************
  3875. *** 54,60 ****
  3876.     exit (status);
  3877.   }
  3878.   
  3879. - void
  3880.   main (argc, argv)
  3881.        int argc;
  3882.        char **argv;
  3883. --- 54,59 ----
  3884. diff -rc --new-file sh-utils-1.12/src/echo.c /gnu/src/amiga/sh-utils-1.12/src/echo.c
  3885. *** sh-utils-1.12/src/echo.c    Sat Oct  1 02:41:10 1994
  3886. --- /gnu/src/amiga/sh-utils-1.12/src/echo.c    Sat Nov 12 21:52:35 1994
  3887. ***************
  3888. *** 101,107 ****
  3889.   /* Print the words in LIST to standard output.  If the first word is
  3890.      `-n', then don't print a trailing newline.  We also support the
  3891.      echo syntax from Version 9 unix systems. */
  3892. ! void
  3893.   main (argc, argv)
  3894.        int argc;
  3895.        char **argv;
  3896. --- 101,107 ----
  3897.   /* Print the words in LIST to standard output.  If the first word is
  3898.      `-n', then don't print a trailing newline.  We also support the
  3899.      echo syntax from Version 9 unix systems. */
  3900.   main (argc, argv)
  3901.        int argc;
  3902.        char **argv;
  3903. diff -rc --new-file sh-utils-1.12/src/env.c /gnu/src/amiga/sh-utils-1.12/src/env.c
  3904. *** sh-utils-1.12/src/env.c    Sat Oct  1 02:41:11 1994
  3905. --- /gnu/src/amiga/sh-utils-1.12/src/env.c    Sat Nov 12 21:52:36 1994
  3906. ***************
  3907. *** 111,117 ****
  3908.     {NULL, 0, NULL, 0}
  3909.   };
  3910.   
  3911. - void
  3912.   main (argc, argv, envp)
  3913.        register int argc;
  3914.        register char **argv;
  3915. --- 111,116 ----
  3916. diff -rc --new-file sh-utils-1.12/src/expr.c /gnu/src/amiga/sh-utils-1.12/src/expr.c
  3917. *** sh-utils-1.12/src/expr.c    Fri Oct 21 04:59:43 1994
  3918. --- /gnu/src/amiga/sh-utils-1.12/src/expr.c    Sat Nov 12 21:52:37 1994
  3919. ***************
  3920. *** 150,156 ****
  3921.     exit (status);
  3922.   }
  3923.   
  3924. - void
  3925.   main (argc, argv)
  3926.        int argc;
  3927.        char **argv;
  3928. --- 150,155 ----
  3929. diff -rc --new-file sh-utils-1.12/src/hostname.c /gnu/src/amiga/sh-utils-1.12/src/hostname.c
  3930. *** sh-utils-1.12/src/hostname.c    Sat Oct  1 02:41:13 1994
  3931. --- /gnu/src/amiga/sh-utils-1.12/src/hostname.c    Sat Nov 12 21:52:38 1994
  3932. ***************
  3933. *** 73,79 ****
  3934.     exit (status);
  3935.   }
  3936.   
  3937. - void
  3938.   main (argc, argv)
  3939.        int argc;
  3940.        char **argv;
  3941. --- 73,78 ----
  3942. diff -rc --new-file sh-utils-1.12/src/id.c /gnu/src/amiga/sh-utils-1.12/src/id.c
  3943. *** sh-utils-1.12/src/id.c    Tue Oct 11 01:47:01 1994
  3944. --- /gnu/src/amiga/sh-utils-1.12/src/id.c    Sat Nov 12 21:52:39 1994
  3945. ***************
  3946. *** 102,108 ****
  3947.     {NULL, 0, NULL, 0}
  3948.   };
  3949.   
  3950. - void
  3951.   main (argc, argv)
  3952.        int argc;
  3953.        char **argv;
  3954. --- 102,107 ----
  3955. diff -rc --new-file sh-utils-1.12/src/logname.c /gnu/src/amiga/sh-utils-1.12/src/logname.c
  3956. *** sh-utils-1.12/src/logname.c    Sat Oct  1 02:41:15 1994
  3957. --- /gnu/src/amiga/sh-utils-1.12/src/logname.c    Sat Nov 12 21:52:40 1994
  3958. ***************
  3959. *** 58,64 ****
  3960.     exit (status);
  3961.   }
  3962.   
  3963. - void
  3964.   main (argc, argv)
  3965.        int argc;
  3966.        char **argv;
  3967. --- 58,63 ----
  3968. diff -rc --new-file sh-utils-1.12/src/nice.c /gnu/src/amiga/sh-utils-1.12/src/nice.c
  3969. *** sh-utils-1.12/src/nice.c    Sat Oct  1 02:41:16 1994
  3970. --- /gnu/src/amiga/sh-utils-1.12/src/nice.c    Sat Nov 12 21:52:41 1994
  3971. ***************
  3972. *** 54,60 ****
  3973.     {NULL, 0, NULL, 0}
  3974.   };
  3975.   
  3976. - void
  3977.   main (argc, argv)
  3978.        int argc;
  3979.        char **argv;
  3980. --- 54,59 ----
  3981. diff -rc --new-file sh-utils-1.12/src/pathchk.c /gnu/src/amiga/sh-utils-1.12/src/pathchk.c
  3982. *** sh-utils-1.12/src/pathchk.c    Fri Oct 21 04:59:44 1994
  3983. --- /gnu/src/amiga/sh-utils-1.12/src/pathchk.c    Sat Nov 12 21:52:42 1994
  3984. ***************
  3985. *** 114,120 ****
  3986.     {NULL, 0, NULL, 0}
  3987.   };
  3988.   
  3989. - void
  3990.   main (argc, argv)
  3991.        int argc;
  3992.        char **argv;
  3993. --- 114,119 ----
  3994. diff -rc --new-file sh-utils-1.12/src/printenv.c /gnu/src/amiga/sh-utils-1.12/src/printenv.c
  3995. *** sh-utils-1.12/src/printenv.c    Sat Oct  1 02:41:18 1994
  3996. --- /gnu/src/amiga/sh-utils-1.12/src/printenv.c    Sat Nov 12 21:52:43 1994
  3997. ***************
  3998. *** 76,82 ****
  3999.     exit (status);
  4000.   }
  4001.   
  4002. - void
  4003.   main (argc, argv)
  4004.        int argc;
  4005.        char **argv;
  4006. --- 76,81 ----
  4007. diff -rc --new-file sh-utils-1.12/src/printf.c /gnu/src/amiga/sh-utils-1.12/src/printf.c
  4008. *** sh-utils-1.12/src/printf.c    Sat Oct  1 02:41:19 1994
  4009. --- /gnu/src/amiga/sh-utils-1.12/src/printf.c    Sat Nov 12 21:52:44 1994
  4010. ***************
  4011. *** 125,131 ****
  4012.     exit (status);
  4013.   }
  4014.   
  4015. - void
  4016.   main (argc, argv)
  4017.        int argc;
  4018.        char **argv;
  4019. --- 125,130 ----
  4020. diff -rc --new-file sh-utils-1.12/src/pwd.c /gnu/src/amiga/sh-utils-1.12/src/pwd.c
  4021. *** sh-utils-1.12/src/pwd.c    Sat Oct  1 02:41:20 1994
  4022. --- /gnu/src/amiga/sh-utils-1.12/src/pwd.c    Sat Nov 12 21:52:45 1994
  4023. ***************
  4024. *** 50,56 ****
  4025.     exit (status);
  4026.   }
  4027.   
  4028. - void
  4029.   main (argc, argv)
  4030.        int argc;
  4031.        char **argv;
  4032. --- 50,55 ----
  4033. diff -rc --new-file sh-utils-1.12/src/sleep.c /gnu/src/amiga/sh-utils-1.12/src/sleep.c
  4034. *** sh-utils-1.12/src/sleep.c    Fri Oct 21 04:59:45 1994
  4035. --- /gnu/src/amiga/sh-utils-1.12/src/sleep.c    Sat Nov 12 21:52:46 1994
  4036. ***************
  4037. *** 64,70 ****
  4038.     exit (status);
  4039.   }
  4040.   
  4041. - void
  4042.   main (argc, argv)
  4043.        int argc;
  4044.        char **argv;
  4045. --- 64,69 ----
  4046. diff -rc --new-file sh-utils-1.12/src/stty.c /gnu/src/amiga/sh-utils-1.12/src/stty.c
  4047. *** sh-utils-1.12/src/stty.c    Sat Oct  1 02:41:23 1994
  4048. --- /gnu/src/amiga/sh-utils-1.12/src/stty.c    Sat Nov 12 21:52:47 1994
  4049. ***************
  4050. *** 623,629 ****
  4051.     exit (status);
  4052.   }
  4053.   
  4054. - void
  4055.   main (argc, argv)
  4056.        int argc;
  4057.        char **argv;
  4058. --- 623,628 ----
  4059. diff -rc --new-file sh-utils-1.12/src/su.c /gnu/src/amiga/sh-utils-1.12/src/su.c
  4060. *** sh-utils-1.12/src/su.c    Tue Oct 11 01:47:02 1994
  4061. --- /gnu/src/amiga/sh-utils-1.12/src/su.c    Sat Nov 12 21:52:49 1994
  4062. ***************
  4063. *** 123,132 ****
  4064.   #include "version.h"
  4065.   
  4066.   /* The default PATH for simulated logins to non-superuser accounts.  */
  4067. ! #define DEFAULT_LOGIN_PATH ":/usr/ucb:/bin:/usr/bin"
  4068.   
  4069.   /* The default PATH for simulated logins to superuser accounts.  */
  4070. ! #define DEFAULT_ROOT_LOGIN_PATH "/usr/ucb:/bin:/usr/bin:/etc"
  4071.   
  4072.   /* The shell to run if none is given in the user's passwd entry.  */
  4073.   #define DEFAULT_SHELL "/bin/sh"
  4074. --- 123,132 ----
  4075.   #include "version.h"
  4076.   
  4077.   /* The default PATH for simulated logins to non-superuser accounts.  */
  4078. ! #define DEFAULT_LOGIN_PATH ":/bin"
  4079.   
  4080.   /* The default PATH for simulated logins to superuser accounts.  */
  4081. ! #define DEFAULT_ROOT_LOGIN_PATH "/gnu"
  4082.   
  4083.   /* The shell to run if none is given in the user's passwd entry.  */
  4084.   #define DEFAULT_SHELL "/bin/sh"
  4085. ***************
  4086. *** 188,194 ****
  4087.     {0, 0, 0, 0}
  4088.   };
  4089.   
  4090. - void
  4091.   main (argc, argv)
  4092.        int argc;
  4093.        char **argv;
  4094. --- 188,193 ----
  4095. diff -rc --new-file sh-utils-1.12/src/tee.c /gnu/src/amiga/sh-utils-1.12/src/tee.c
  4096. *** sh-utils-1.12/src/tee.c    Sat Oct  1 02:41:25 1994
  4097. --- /gnu/src/amiga/sh-utils-1.12/src/tee.c    Sat Nov 12 21:52:49 1994
  4098. ***************
  4099. *** 77,83 ****
  4100.     exit (status);
  4101.   }
  4102.   
  4103. - void
  4104.   main (argc, argv)
  4105.        int argc;
  4106.        char **argv;
  4107. --- 77,82 ----
  4108. diff -rc --new-file sh-utils-1.12/src/tty.c /gnu/src/amiga/sh-utils-1.12/src/tty.c
  4109. *** sh-utils-1.12/src/tty.c    Sat Oct  1 02:41:27 1994
  4110. --- /gnu/src/amiga/sh-utils-1.12/src/tty.c    Sat Nov 12 21:52:50 1994
  4111. ***************
  4112. *** 55,61 ****
  4113.     {NULL, 0, NULL, 0}
  4114.   };
  4115.   
  4116. - void
  4117.   main (argc, argv)
  4118.        int argc;
  4119.        char **argv;
  4120. --- 55,60 ----
  4121. diff -rc --new-file sh-utils-1.12/src/uname.c /gnu/src/amiga/sh-utils-1.12/src/uname.c
  4122. *** sh-utils-1.12/src/uname.c    Sat Oct  1 02:41:28 1994
  4123. --- /gnu/src/amiga/sh-utils-1.12/src/uname.c    Sat Nov 12 21:52:51 1994
  4124. ***************
  4125. *** 82,88 ****
  4126.     {NULL, 0, NULL, 0}
  4127.   };
  4128.   
  4129. - void
  4130.   main (argc, argv)
  4131.        int argc;
  4132.        char **argv;
  4133. --- 82,87 ----
  4134. diff -rc --new-file sh-utils-1.12/src/who.c /gnu/src/amiga/sh-utils-1.12/src/who.c
  4135. *** sh-utils-1.12/src/who.c    Sat Oct  1 02:41:29 1994
  4136. --- /gnu/src/amiga/sh-utils-1.12/src/who.c    Sat Nov 12 21:52:53 1994
  4137. ***************
  4138. *** 146,152 ****
  4139.     {NULL, 0, NULL, 0}
  4140.   };
  4141.   
  4142. - void
  4143.   main (argc, argv)
  4144.        int argc;
  4145.        char **argv;
  4146. --- 146,151 ----
  4147. diff -rc --new-file sh-utils-1.12/src/whoami.c /gnu/src/amiga/sh-utils-1.12/src/whoami.c
  4148. *** sh-utils-1.12/src/whoami.c    Sat Oct  1 02:41:30 1994
  4149. --- /gnu/src/amiga/sh-utils-1.12/src/whoami.c    Sat Nov 12 21:52:54 1994
  4150. ***************
  4151. *** 64,70 ****
  4152.     exit (status);
  4153.   }
  4154.   
  4155. - void
  4156.   main (argc, argv)
  4157.        int argc;
  4158.        char *argv[];
  4159. --- 64,69 ----
  4160. diff -rc --new-file sh-utils-1.12/src/yes.c /gnu/src/amiga/sh-utils-1.12/src/yes.c
  4161. *** sh-utils-1.12/src/yes.c    Sat Oct  1 02:41:31 1994
  4162. --- /gnu/src/amiga/sh-utils-1.12/src/yes.c    Sat Nov 12 21:52:55 1994
  4163. ***************
  4164. *** 48,54 ****
  4165.     exit (status);
  4166.   }
  4167.   
  4168. - void
  4169.   main (argc, argv)
  4170.        int argc;
  4171.        char **argv;
  4172. --- 48,53 ----
  4173.