home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / findutils-4.1.diffs < prev    next >
Encoding:
Text File  |  1995-01-21  |  97.0 KB  |  3,568 lines

  1. diff -rc --new-file findutils-4.1/INSTALL /gnu/src/amiga/findutils-4.1/INSTALL
  2. *** findutils-4.1/INSTALL    Tue Oct 18 20:30:28 1994
  3. --- /gnu/src/amiga/findutils-4.1/INSTALL    Sat Nov 12 08:48:16 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 findutils-4.1/Makefile.in /gnu/src/amiga/findutils-4.1/Makefile.in
  24. *** findutils-4.1/Makefile.in    Sat Nov  5 14:45:56 1994
  25. --- /gnu/src/amiga/findutils-4.1/Makefile.in    Thu Nov 17 10:56:31 1994
  26. ***************
  27. *** 25,36 ****
  28.   
  29.   bindir = $(exec_prefix)/bin
  30.   sbindir = $(exec_prefix)/sbin
  31. - libexecdir = $(exec_prefix)/libexec
  32.   datadir = $(prefix)/share
  33.   sysconfdir = $(prefix)/etc
  34.   sharedstatedir = $(prefix)/com
  35. ! localstatedir = $(prefix)/var
  36.   libdir = $(exec_prefix)/lib
  37.   infodir = $(prefix)/info
  38.   mandir = $(prefix)/man
  39.   includedir = $(prefix)/include
  40. --- 25,39 ----
  41.   
  42.   bindir = $(exec_prefix)/bin
  43.   sbindir = $(exec_prefix)/sbin
  44.   datadir = $(prefix)/share
  45.   sysconfdir = $(prefix)/etc
  46.   sharedstatedir = $(prefix)/com
  47. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  48. ! localstatedir = /local/var
  49.   libdir = $(exec_prefix)/lib
  50. + # It seems hokey to me to have the libexec dir visible at what is the
  51. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  52. + libexecdir = $(libdir)/libexec
  53.   infodir = $(prefix)/info
  54.   mandir = $(prefix)/man
  55.   includedir = $(prefix)/include
  56. diff -rc --new-file findutils-4.1/Product-Info /gnu/src/amiga/findutils-4.1/Product-Info
  57. *** findutils-4.1/Product-Info    Thu Jan  1 00:00:00 1970
  58. --- /gnu/src/amiga/findutils-4.1/Product-Info    Fri Nov 18 12:50:41 1994
  59. ***************
  60. *** 0 ****
  61. --- 1,40 ----
  62. + .name
  63. + findutils
  64. + .fullname
  65. + GNU find, xargs, and locate
  66. + .type
  67. + Programmer Tool
  68. + .short
  69. + GNU find, xargs, and locate
  70. + .description
  71. + This package contains the GNU find, xargs, and locate programs.  This
  72. + version of find and xargs comply with POSIX 1003.2, and also support
  73. + some additional options, some borrowed from Unix and some unique to
  74. + GNU.
  75. + To gain speed, GNU find now avoids statting files whenever possible.
  76. + It does this by: (1) Checking the number of links to directories and
  77. + not statting files that it knows aren't directories until it
  78. + encounters a test or action that needs the stat info.  (2) Rearranging
  79. + the command line, where possible, so that it can do tests that don't
  80. + require a stat before tests that do, in hopes that the latter will be
  81. + skipped because of an OR or AND.  (But it only does this where it will
  82. + leave the output unchanged.)
  83. + The locate utility is based on James Woods' public domain fast-find
  84. + code, which is also distributed with the 4.3BSD find.  Because POSIX
  85. + requires `find foo' to have the same effect as `find foo -print', the
  86. + fast-find searching has been moved to a separate program, `locate';
  87. + the same thing has been done in 4.3BSD-reno/4.4BSD.  If you use
  88. + locate, you should run the included `updatedb' script from cron
  89. + periodically (typically nightly).
  90. + .version
  91. + 4.1
  92. + .author
  93. + Free Software Foundation
  94. + .requirements
  95. + Amiga binaries require ixemul.library.
  96. + .distribution
  97. + GNU Public License
  98. + .described-by
  99. + Fred Fish (fnf@amigalib.com)
  100. diff -rc --new-file findutils-4.1/configure /gnu/src/amiga/findutils-4.1/configure
  101. *** findutils-4.1/configure    Fri Nov  4 14:47:50 1994
  102. --- /gnu/src/amiga/findutils-4.1/configure    Sat Nov 12 08:57:34 1994
  103. ***************
  104. *** 9,15 ****
  105.   
  106.   # Defaults:
  107.   ac_help=
  108. ! ac_default_prefix=/usr/local
  109.   # Any additions from configure.in:
  110.   ac_help="$ac_help
  111.     --enable-id-cache       cache all UIDs & GIDs; avoid if using NIS or Hesiod"
  112. --- 9,15 ----
  113.   
  114.   # Defaults:
  115.   ac_help=
  116. ! ac_default_prefix=/gnu
  117.   # Any additions from configure.in:
  118.   ac_help="$ac_help
  119.     --enable-id-cache       cache all UIDs & GIDs; avoid if using NIS or Hesiod"
  120. ***************
  121. *** 53,59 ****
  122.     fi
  123.   
  124.     case "$ac_option" in
  125. !   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  126.     *) ac_optarg= ;;
  127.     esac
  128.   
  129. --- 53,59 ----
  130.     fi
  131.   
  132.     case "$ac_option" in
  133. !   -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  134.     *) ac_optarg= ;;
  135.     esac
  136.   
  137. ***************
  138. *** 74,94 ****
  139.       cache_file="$ac_optarg" ;;
  140.   
  141.     -disable-* | --disable-*)
  142. !     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  143.       # Reject names that are not valid shell variable names.
  144. !     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  145.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  146.       fi
  147. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  148.       eval "enable_${ac_feature}=no" ;;
  149.   
  150.     -enable-* | --enable-*)
  151. !     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  152.       # Reject names that are not valid shell variable names.
  153. !     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  154.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  155.       fi
  156. !     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  157.       case "$ac_option" in
  158.         *=*) ;;
  159.         *) ac_optarg=yes ;;
  160. --- 74,94 ----
  161.       cache_file="$ac_optarg" ;;
  162.   
  163.     -disable-* | --disable-*)
  164. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
  165.       # Reject names that are not valid shell variable names.
  166. !     if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  167.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  168.       fi
  169. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  170.       eval "enable_${ac_feature}=no" ;;
  171.   
  172.     -enable-* | --enable-*)
  173. !     ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  174.       # Reject names that are not valid shell variable names.
  175. !     if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  176.         { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  177.       fi
  178. !     ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
  179.       case "$ac_option" in
  180.         *=*) ;;
  181.         *) ac_optarg=yes ;;
  182. ***************
  183. *** 224,235 ****
  184.       exit 0 ;;
  185.   
  186.     -with-* | --with-*)
  187. !     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  188.       # Reject names that are not valid shell variable names.
  189. !     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  190.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  191.       fi
  192. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  193.       case "$ac_option" in
  194.         *=*) ;;
  195.         *) ac_optarg=yes ;;
  196. --- 224,235 ----
  197.       exit 0 ;;
  198.   
  199.     -with-* | --with-*)
  200. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  201.       # Reject names that are not valid shell variable names.
  202. !     if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  203.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  204.       fi
  205. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  206.       case "$ac_option" in
  207.         *=*) ;;
  208.         *) ac_optarg=yes ;;
  209. ***************
  210. *** 237,248 ****
  211.       eval "with_${ac_package}='$ac_optarg'" ;;
  212.   
  213.     -without-* | --without-*)
  214. !     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  215.       # Reject names that are not valid shell variable names.
  216. !     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  217.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  218.       fi
  219. !     ac_package=`echo $ac_package| sed 's/-/_/g'`
  220.       eval "with_${ac_package}=no" ;;
  221.   
  222.     --x)
  223. --- 237,248 ----
  224.       eval "with_${ac_package}='$ac_optarg'" ;;
  225.   
  226.     -without-* | --without-*)
  227. !     ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
  228.       # Reject names that are not valid shell variable names.
  229. !     if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  230.         { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  231.       fi
  232. !     ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
  233.       eval "with_${ac_package}=no" ;;
  234.   
  235.     --x)
  236. ***************
  237. *** 267,273 ****
  238.       ;;
  239.   
  240.     *) 
  241. !     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  242.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  243.       fi
  244.       if test "x$nonopt" != xNONE; then
  245. --- 267,273 ----
  246.       ;;
  247.   
  248.     *) 
  249. !     if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  250.         echo "configure: warning: $ac_option: invalid host type" 1>&2
  251.       fi
  252.       if test "x$nonopt" != xNONE; then
  253. ***************
  254. *** 280,286 ****
  255.   done
  256.   
  257.   if test -n "$ac_prev"; then
  258. !   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  259.   fi
  260.   
  261.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  262. --- 280,286 ----
  263.   done
  264.   
  265.   if test -n "$ac_prev"; then
  266. !   { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  267.   fi
  268.   
  269.   trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  270. ***************
  271. *** 330,336 ****
  272.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  273.   rm -rf conftest* confdefs.h
  274.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  275. ! echo > confdefs.h
  276.   
  277.   # A filename unique to this package, relative to the directory that
  278.   # configure is in, which we can look for to find out if srcdir is correct.
  279. --- 330,336 ----
  280.   # confdefs.h avoids OS command line length limits that DEFS can exceed.
  281.   rm -rf conftest* confdefs.h
  282.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  283. ! /bin/echo > confdefs.h
  284.   
  285.   # A filename unique to this package, relative to the directory that
  286.   # configure is in, which we can look for to find out if srcdir is correct.
  287. ***************
  288. *** 341,347 ****
  289.     ac_srcdir_defaulted=yes
  290.     # Try the directory containing this script, then its parent.
  291.     ac_prog=$0
  292. !   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  293.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  294.     srcdir=$ac_confdir
  295.     if test ! -r $srcdir/$ac_unique_file; then
  296. --- 341,347 ----
  297.     ac_srcdir_defaulted=yes
  298.     # Try the directory containing this script, then its parent.
  299.     ac_prog=$0
  300. !   ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  301.     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  302.     srcdir=$ac_confdir
  303.     if test ! -r $srcdir/$ac_unique_file; then
  304. ***************
  305. *** 357,363 ****
  306.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  307.     fi
  308.   fi
  309. ! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  310.   
  311.   # Prefer explicitly selected file to automatically selected ones.
  312.   if test -z "$CONFIG_SITE"; then
  313. --- 357,363 ----
  314.       { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  315.     fi
  316.   fi
  317. ! srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  318.   
  319.   # Prefer explicitly selected file to automatically selected ones.
  320.   if test -z "$CONFIG_SITE"; then
  321. ***************
  322. *** 428,434 ****
  323.   else
  324.     # Double any \ or $.
  325.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  326. !   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  327.     rm -f conftestsed
  328.   fi
  329.   test "$program_prefix" != NONE &&
  330. --- 428,434 ----
  331.   else
  332.     # Double any \ or $.
  333.     echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
  334. !   program_transform_name="`/bin/echo $program_transform_name|sed -f conftestsed`"
  335.     rm -f conftestsed
  336.   fi
  337.   test "$program_prefix" != NONE &&
  338. ***************
  339. *** 443,451 ****
  340.   
  341.   # Extract the first word of "gcc", so it can be a program name with args.
  342.   set dummy gcc; ac_word=$2
  343. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  344.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  345. !   echo $ac_n "(cached) $ac_c" 1>&4
  346.   else
  347.     if test -n "$CC"; then
  348.     ac_cv_prog_CC="$CC" # Let the user override the test.
  349. --- 443,451 ----
  350.   
  351.   # Extract the first word of "gcc", so it can be a program name with args.
  352.   set dummy gcc; ac_word=$2
  353. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  354.   if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  355. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  356.   else
  357.     if test -n "$CC"; then
  358.     ac_cv_prog_CC="$CC" # Let the user override the test.
  359. ***************
  360. *** 464,478 ****
  361.   fi
  362.   CC="$ac_cv_prog_CC"
  363.   if test -n "$CC"; then
  364. !   echo "$ac_t""$CC" 1>&4
  365.   else
  366. !   echo "$ac_t""no" 1>&4
  367.   fi
  368.   
  369.   
  370. ! echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  371.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  372. !   echo $ac_n "(cached) $ac_c" 1>&4
  373.   else
  374.     cat > conftest.c <<EOF
  375.   #ifdef __GNUC__
  376. --- 464,478 ----
  377.   fi
  378.   CC="$ac_cv_prog_CC"
  379.   if test -n "$CC"; then
  380. !   /bin/echo "$ac_t""$CC" 1>&4
  381.   else
  382. !   /bin/echo "$ac_t""no" 1>&4
  383.   fi
  384.   
  385.   
  386. ! /bin/echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  387.   if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  388. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  389.   else
  390.     cat > conftest.c <<EOF
  391.   #ifdef __GNUC__
  392. ***************
  393. *** 485,497 ****
  394.     ac_cv_prog_gcc=no
  395.   fi
  396.   fi
  397. ! echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  398.   if test $ac_cv_prog_gcc = yes; then
  399.     GCC=yes
  400.     if test "${CFLAGS+set}" != set; then
  401. !     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  402.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  403. !   echo $ac_n "(cached) $ac_c" 1>&4
  404.   else
  405.     echo 'void f(){}' > conftest.c
  406.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  407. --- 485,497 ----
  408.     ac_cv_prog_gcc=no
  409.   fi
  410.   fi
  411. ! /bin/echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  412.   if test $ac_cv_prog_gcc = yes; then
  413.     GCC=yes
  414.     if test "${CFLAGS+set}" != set; then
  415. !     /bin/echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  416.   if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  417. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  418.   else
  419.     echo 'void f(){}' > conftest.c
  420.   if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  421. ***************
  422. *** 502,512 ****
  423.   rm -f conftest*
  424.   
  425.   fi
  426. !     echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  427.       if test $ac_cv_prog_gcc_g = yes; then
  428. !       CFLAGS="-g -O"
  429.       else
  430. !       CFLAGS="-O"
  431.       fi
  432.     fi
  433.   else
  434. --- 502,514 ----
  435.   rm -f conftest*
  436.   
  437.   fi
  438. !     /bin/echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  439.       if test $ac_cv_prog_gcc_g = yes; then
  440. !       # Amiga hack - suppress automatically using -g for now
  441. !       # Also default to using -O2
  442. !       CFLAGS="-O2"
  443.       else
  444. !       CFLAGS="-O2"
  445.       fi
  446.     fi
  447.   else
  448. ***************
  449. *** 514,527 ****
  450.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  451.   fi
  452.   
  453. ! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  454.   # On Suns, sometimes $CPP names a directory.
  455.   if test -n "$CPP" && test -d "$CPP"; then
  456.     CPP=
  457.   fi
  458.   if test -z "$CPP"; then
  459.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  460. !   echo $ac_n "(cached) $ac_c" 1>&4
  461.   else
  462.       # This must be in double quotes, not single quotes, because CPP may get
  463.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  464. --- 516,529 ----
  465.     test "${CFLAGS+set}" = set || CFLAGS="-g"
  466.   fi
  467.   
  468. ! /bin/echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  469.   # On Suns, sometimes $CPP names a directory.
  470.   if test -n "$CPP" && test -d "$CPP"; then
  471.     CPP=
  472.   fi
  473.   if test -z "$CPP"; then
  474.   if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  475. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  476.   else
  477.       # This must be in double quotes, not single quotes, because CPP may get
  478.     # substituted into the Makefile and "${CC-cc}" will confuse make.
  479. ***************
  480. *** 529,535 ****
  481.     # On the NeXT, cc -E runs the code through the compiler's parser,
  482.     # not just through cpp.
  483.     cat > conftest.$ac_ext <<EOF
  484. ! #line 533 "configure"
  485.   #include "confdefs.h"
  486.   #include <assert.h>
  487.   Syntax Error
  488. --- 531,537 ----
  489.     # On the NeXT, cc -E runs the code through the compiler's parser,
  490.     # not just through cpp.
  491.     cat > conftest.$ac_ext <<EOF
  492. ! #line 535 "configure"
  493.   #include "confdefs.h"
  494.   #include <assert.h>
  495.   Syntax Error
  496. ***************
  497. *** 539,549 ****
  498.   if test -z "$ac_err"; then
  499.     :
  500.   else
  501. !   echo "$ac_err" >&5
  502.     rm -rf conftest*
  503.     CPP="${CC-cc} -E -traditional-cpp"
  504.     cat > conftest.$ac_ext <<EOF
  505. ! #line 547 "configure"
  506.   #include "confdefs.h"
  507.   #include <assert.h>
  508.   Syntax Error
  509. --- 541,551 ----
  510.   if test -z "$ac_err"; then
  511.     :
  512.   else
  513. !   /bin/echo "$ac_err" >&5
  514.     rm -rf conftest*
  515.     CPP="${CC-cc} -E -traditional-cpp"
  516.     cat > conftest.$ac_ext <<EOF
  517. ! #line 549 "configure"
  518.   #include "confdefs.h"
  519.   #include <assert.h>
  520.   Syntax Error
  521. ***************
  522. *** 553,559 ****
  523.   if test -z "$ac_err"; then
  524.     :
  525.   else
  526. !   echo "$ac_err" >&5
  527.     rm -rf conftest*
  528.     CPP=/lib/cpp
  529.   fi
  530. --- 555,561 ----
  531.   if test -z "$ac_err"; then
  532.     :
  533.   else
  534. !   /bin/echo "$ac_err" >&5
  535.     rm -rf conftest*
  536.     CPP=/lib/cpp
  537.   fi
  538. ***************
  539. *** 564,570 ****
  540.   fi
  541.   fi
  542.   CPP="$ac_cv_prog_CPP"
  543. ! echo "$ac_t""$CPP" 1>&4
  544.   
  545.   ac_aux_dir=
  546.   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  547. --- 566,572 ----
  548.   fi
  549.   fi
  550.   CPP="$ac_cv_prog_CPP"
  551. ! /bin/echo "$ac_t""$CPP" 1>&4
  552.   
  553.   ac_aux_dir=
  554.   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  555. ***************
  556. *** 595,609 ****
  557.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  558.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  559.   # ./install, which can be erroneously created by make from ./install.sh.
  560. ! echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  561.   if test -z "$INSTALL"; then
  562.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  563. !   echo $ac_n "(cached) $ac_c" 1>&4
  564.   else
  565.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  566.     for ac_dir in $PATH; do
  567.       case "$ac_dir" in
  568. !     ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  569.       *)
  570.         # OSF1 and SCO ODT 3.0 have their own names for install.
  571.         for ac_prog in ginstall installbsd scoinst install; do
  572. --- 597,611 ----
  573.   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  574.   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  575.   # ./install, which can be erroneously created by make from ./install.sh.
  576. ! /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  577.   if test -z "$INSTALL"; then
  578.   if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  579. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  580.   else
  581.       IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  582.     for ac_dir in $PATH; do
  583.       case "$ac_dir" in
  584. !     ''|.|/gnu/etc) ;;
  585.       *)
  586.         # OSF1 and SCO ODT 3.0 have their own names for install.
  587.         for ac_prog in ginstall installbsd scoinst install; do
  588. ***************
  589. *** 628,634 ****
  590.   fi
  591.     INSTALL="$ac_cv_path_install"
  592.   fi
  593. ! echo "$ac_t""$INSTALL" 1>&4
  594.   
  595.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  596.   # It thinks the first close brace ends the variable substitution.
  597. --- 630,636 ----
  598.   fi
  599.     INSTALL="$ac_cv_path_install"
  600.   fi
  601. ! /bin/echo "$ac_t""$INSTALL" 1>&4
  602.   
  603.   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  604.   # It thinks the first close brace ends the variable substitution.
  605. ***************
  606. *** 638,646 ****
  607.   
  608.   # Extract the first word of "ranlib", so it can be a program name with args.
  609.   set dummy ranlib; ac_word=$2
  610. ! echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  611.   if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  612. !   echo $ac_n "(cached) $ac_c" 1>&4
  613.   else
  614.     if test -n "$RANLIB"; then
  615.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  616. --- 640,648 ----
  617.   
  618.   # Extract the first word of "ranlib", so it can be a program name with args.
  619.   set dummy ranlib; ac_word=$2
  620. ! /bin/echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  621.   if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  622. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  623.   else
  624.     if test -n "$RANLIB"; then
  625.     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  626. ***************
  627. *** 659,677 ****
  628.   fi
  629.   RANLIB="$ac_cv_prog_RANLIB"
  630.   if test -n "$RANLIB"; then
  631. !   echo "$ac_t""$RANLIB" 1>&4
  632.   else
  633. !   echo "$ac_t""no" 1>&4
  634.   fi
  635.   
  636. ! echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  637.   set dummy ${MAKE-make}; ac_make=$2
  638.   if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  639. !   echo $ac_n "(cached) $ac_c" 1>&4
  640.   else
  641.     cat > conftestmake <<\EOF
  642.   all:
  643. !     @echo 'ac_maketemp="${MAKE}"'
  644.   EOF
  645.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  646.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  647. --- 661,679 ----
  648.   fi
  649.   RANLIB="$ac_cv_prog_RANLIB"
  650.   if test -n "$RANLIB"; then
  651. !   /bin/echo "$ac_t""$RANLIB" 1>&4
  652.   else
  653. !   /bin/echo "$ac_t""no" 1>&4
  654.   fi
  655.   
  656. ! /bin/echo $ac_n "checking whether ${MAKE-make} sets \$MAKE""... $ac_c" 1>&4
  657.   set dummy ${MAKE-make}; ac_make=$2
  658.   if eval "test \"`echo '${'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  659. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  660.   else
  661.     cat > conftestmake <<\EOF
  662.   all:
  663. !     @/bin/echo 'ac_maketemp="${MAKE}"'
  664.   EOF
  665.   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  666.   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  667. ***************
  668. *** 683,699 ****
  669.   rm -f conftestmake
  670.   fi
  671.   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  672. !   echo "$ac_t""yes" 1>&4
  673.     SET_MAKE=
  674.   else
  675. !   echo "$ac_t""no" 1>&4
  676.     SET_MAKE="MAKE=${MAKE-make}"
  677.   fi
  678.   
  679.   
  680. ! echo $ac_n "checking for AIX""... $ac_c" 1>&4
  681.   cat > conftest.$ac_ext <<EOF
  682. ! #line 697 "configure"
  683.   #include "confdefs.h"
  684.   #ifdef _AIX
  685.     yes
  686. --- 685,701 ----
  687.   rm -f conftestmake
  688.   fi
  689.   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  690. !   /bin/echo "$ac_t""yes" 1>&4
  691.     SET_MAKE=
  692.   else
  693. !   /bin/echo "$ac_t""no" 1>&4
  694.     SET_MAKE="MAKE=${MAKE-make}"
  695.   fi
  696.   
  697.   
  698. ! /bin/echo $ac_n "checking for AIX""... $ac_c" 1>&4
  699.   cat > conftest.$ac_ext <<EOF
  700. ! #line 699 "configure"
  701.   #include "confdefs.h"
  702.   #ifdef _AIX
  703.     yes
  704. ***************
  705. *** 703,726 ****
  706.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  707.     egrep "yes" >/dev/null 2>&1; then
  708.     rm -rf conftest*
  709. !   echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  710.   #define _ALL_SOURCE 1
  711.   EOF
  712.   
  713.   else
  714.     rm -rf conftest*
  715. !   echo "$ac_t""no" 1>&4
  716.   fi
  717.   rm -f conftest*
  718.   
  719.   
  720. ! ac_safe=`echo "minix/config.h" | tr './\055' '___'`
  721. ! echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  722.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  723. !   echo $ac_n "(cached) $ac_c" 1>&4
  724.   else
  725.     cat > conftest.$ac_ext <<EOF
  726. ! #line 724 "configure"
  727.   #include "confdefs.h"
  728.   #include <minix/config.h>
  729.   EOF
  730. --- 705,728 ----
  731.   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  732.     egrep "yes" >/dev/null 2>&1; then
  733.     rm -rf conftest*
  734. !   /bin/echo "$ac_t""yes" 1>&4; cat >> confdefs.h <<\EOF
  735.   #define _ALL_SOURCE 1
  736.   EOF
  737.   
  738.   else
  739.     rm -rf conftest*
  740. !   /bin/echo "$ac_t""no" 1>&4
  741.   fi
  742.   rm -f conftest*
  743.   
  744.   
  745. ! ac_safe=`/bin/echo "minix/config.h" | tr './\055' '___'`
  746. ! /bin/echo $ac_n "checking for minix/config.h""... $ac_c" 1>&4
  747.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  748. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  749.   else
  750.     cat > conftest.$ac_ext <<EOF
  751. ! #line 726 "configure"
  752.   #include "confdefs.h"
  753.   #include <minix/config.h>
  754.   EOF
  755. ***************
  756. *** 730,746 ****
  757.     rm -rf conftest*
  758.     eval "ac_cv_header_$ac_safe=yes"
  759.   else
  760. !   echo "$ac_err" >&5
  761.     rm -rf conftest*
  762.     eval "ac_cv_header_$ac_safe=no"
  763.   fi
  764.   rm -f conftest*
  765.   fi
  766.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  767. !   echo "$ac_t""yes" 1>&4
  768.     MINIX=yes
  769.   else
  770. !   echo "$ac_t""no" 1>&4
  771.   MINIX=
  772.   fi
  773.   
  774. --- 732,748 ----
  775.     rm -rf conftest*
  776.     eval "ac_cv_header_$ac_safe=yes"
  777.   else
  778. !   /bin/echo "$ac_err" >&5
  779.     rm -rf conftest*
  780.     eval "ac_cv_header_$ac_safe=no"
  781.   fi
  782.   rm -f conftest*
  783.   fi
  784.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  785. !   /bin/echo "$ac_t""yes" 1>&4
  786.     MINIX=yes
  787.   else
  788. !   /bin/echo "$ac_t""no" 1>&4
  789.   MINIX=
  790.   fi
  791.   
  792. ***************
  793. *** 759,769 ****
  794.   
  795.   fi
  796.   
  797. ! echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  798. ! if test -d /etc/conf/kconfig.d &&
  799. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  800.   then
  801. !   echo "$ac_t""yes" 1>&4
  802.     ISC=yes # If later tests want to check for ISC.
  803.     cat >> confdefs.h <<\EOF
  804.   #define _POSIX_SOURCE 1
  805. --- 761,771 ----
  806.   
  807.   fi
  808.   
  809. ! /bin/echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  810. ! if test -d /gnu/etc/conf/kconfig.d &&
  811. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  812.   then
  813. !   /bin/echo "$ac_t""yes" 1>&4
  814.     ISC=yes # If later tests want to check for ISC.
  815.     cat >> confdefs.h <<\EOF
  816.   #define _POSIX_SOURCE 1
  817. ***************
  818. *** 775,793 ****
  819.       CC="$CC -Xp"
  820.     fi
  821.   else
  822. !   echo "$ac_t""no" 1>&4
  823.     ISC=
  824.   fi
  825.   
  826.   
  827. ! echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  828.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  829. !   echo $ac_n "(cached) $ac_c" 1>&4
  830.   else
  831.     ac_save_LIBS="$LIBS"
  832.   LIBS="$LIBS -lsun "
  833.   cat > conftest.$ac_ext <<EOF
  834. ! #line 791 "configure"
  835.   #include "confdefs.h"
  836.   
  837.   int main() { return 0; }
  838. --- 777,795 ----
  839.       CC="$CC -Xp"
  840.     fi
  841.   else
  842. !   /bin/echo "$ac_t""no" 1>&4
  843.     ISC=
  844.   fi
  845.   
  846.   
  847. ! /bin/echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  848.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  849. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  850.   else
  851.     ac_save_LIBS="$LIBS"
  852.   LIBS="$LIBS -lsun "
  853.   cat > conftest.$ac_ext <<EOF
  854. ! #line 793 "configure"
  855.   #include "confdefs.h"
  856.   
  857.   int main() { return 0; }
  858. ***************
  859. *** 807,814 ****
  860.   
  861.   fi
  862.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  863. !   echo "$ac_t""yes" 1>&4
  864. !     ac_tr_lib=HAVE_LIB`echo sun | tr '[a-z]' '[A-Z]'`
  865.     cat >> confdefs.h <<EOF
  866.   #define $ac_tr_lib 1
  867.   EOF
  868. --- 809,816 ----
  869.   
  870.   fi
  871.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  872. !   /bin/echo "$ac_t""yes" 1>&4
  873. !     ac_tr_lib=HAVE_LIB`/bin/echo sun | tr '[a-z]' '[A-Z]'`
  874.     cat >> confdefs.h <<EOF
  875.   #define $ac_tr_lib 1
  876.   EOF
  877. ***************
  878. *** 816,834 ****
  879.     LIBS="$LIBS -lsun"
  880.   
  881.   else
  882. !   echo "$ac_t""no" 1>&4
  883.   fi
  884.   
  885.   
  886.   for ac_hdr in fcntl.h string.h limits.h unistd.h
  887.   do
  888. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  889. ! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  890.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  891. !   echo $ac_n "(cached) $ac_c" 1>&4
  892.   else
  893.     cat > conftest.$ac_ext <<EOF
  894. ! #line 832 "configure"
  895.   #include "confdefs.h"
  896.   #include <$ac_hdr>
  897.   EOF
  898. --- 818,836 ----
  899.     LIBS="$LIBS -lsun"
  900.   
  901.   else
  902. !   /bin/echo "$ac_t""no" 1>&4
  903.   fi
  904.   
  905.   
  906.   for ac_hdr in fcntl.h string.h limits.h unistd.h
  907.   do
  908. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  909. ! /bin/echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  910.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  911. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  912.   else
  913.     cat > conftest.$ac_ext <<EOF
  914. ! #line 834 "configure"
  915.   #include "confdefs.h"
  916.   #include <$ac_hdr>
  917.   EOF
  918. ***************
  919. *** 838,871 ****
  920.     rm -rf conftest*
  921.     eval "ac_cv_header_$ac_safe=yes"
  922.   else
  923. !   echo "$ac_err" >&5
  924.     rm -rf conftest*
  925.     eval "ac_cv_header_$ac_safe=no"
  926.   fi
  927.   rm -f conftest*
  928.   fi
  929.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  930. !   echo "$ac_t""yes" 1>&4
  931. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  932.     cat >> confdefs.h <<EOF
  933.   #define $ac_tr_hdr 1
  934.   EOF
  935.    
  936.   else
  937. !   echo "$ac_t""no" 1>&4
  938.   fi
  939.   done
  940.   
  941.   # If we cannot run a trivial program, we must be cross compiling.
  942. ! echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  943.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  944. !   echo $ac_n "(cached) $ac_c" 1>&4
  945.   else
  946.     if test "$cross_compiling" = yes; then
  947.     ac_cv_cross=yes
  948.   else
  949.   cat > conftest.$ac_ext <<EOF
  950. ! #line 869 "configure"
  951.   #include "confdefs.h"
  952.   main(){return(0);}
  953.   EOF
  954. --- 840,873 ----
  955.     rm -rf conftest*
  956.     eval "ac_cv_header_$ac_safe=yes"
  957.   else
  958. !   /bin/echo "$ac_err" >&5
  959.     rm -rf conftest*
  960.     eval "ac_cv_header_$ac_safe=no"
  961.   fi
  962.   rm -f conftest*
  963.   fi
  964.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  965. !   /bin/echo "$ac_t""yes" 1>&4
  966. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  967.     cat >> confdefs.h <<EOF
  968.   #define $ac_tr_hdr 1
  969.   EOF
  970.    
  971.   else
  972. !   /bin/echo "$ac_t""no" 1>&4
  973.   fi
  974.   done
  975.   
  976.   # If we cannot run a trivial program, we must be cross compiling.
  977. ! /bin/echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  978.   if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  979. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  980.   else
  981.     if test "$cross_compiling" = yes; then
  982.     ac_cv_cross=yes
  983.   else
  984.   cat > conftest.$ac_ext <<EOF
  985. ! #line 871 "configure"
  986.   #include "confdefs.h"
  987.   main(){return(0);}
  988.   EOF
  989. ***************
  990. *** 879,892 ****
  991.   rm -fr conftest*
  992.   fi
  993.   cross_compiling=$ac_cv_c_cross
  994. ! echo "$ac_t""$ac_cv_c_cross" 1>&4
  995.   
  996. ! echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  997.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  998. !   echo $ac_n "(cached) $ac_c" 1>&4
  999.   else
  1000.     cat > conftest.$ac_ext <<EOF
  1001. ! #line 890 "configure"
  1002.   #include "confdefs.h"
  1003.   #include <stdlib.h>
  1004.   #include <stdarg.h>
  1005. --- 881,894 ----
  1006.   rm -fr conftest*
  1007.   fi
  1008.   cross_compiling=$ac_cv_c_cross
  1009. ! /bin/echo "$ac_t""$ac_cv_c_cross" 1>&4
  1010.   
  1011. ! /bin/echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  1012.   if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  1013. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1014.   else
  1015.     cat > conftest.$ac_ext <<EOF
  1016. ! #line 892 "configure"
  1017.   #include "confdefs.h"
  1018.   #include <stdlib.h>
  1019.   #include <stdarg.h>
  1020. ***************
  1021. *** 899,905 ****
  1022.     rm -rf conftest*
  1023.     ac_cv_header_stdc=yes
  1024.   else
  1025. !   echo "$ac_err" >&5
  1026.     rm -rf conftest*
  1027.     ac_cv_header_stdc=no
  1028.   fi
  1029. --- 901,907 ----
  1030.     rm -rf conftest*
  1031.     ac_cv_header_stdc=yes
  1032.   else
  1033. !   /bin/echo "$ac_err" >&5
  1034.     rm -rf conftest*
  1035.     ac_cv_header_stdc=no
  1036.   fi
  1037. ***************
  1038. *** 908,914 ****
  1039.   if test $ac_cv_header_stdc = yes; then
  1040.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1041.   cat > conftest.$ac_ext <<EOF
  1042. ! #line 912 "configure"
  1043.   #include "confdefs.h"
  1044.   #include <string.h>
  1045.   EOF
  1046. --- 910,916 ----
  1047.   if test $ac_cv_header_stdc = yes; then
  1048.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1049.   cat > conftest.$ac_ext <<EOF
  1050. ! #line 914 "configure"
  1051.   #include "confdefs.h"
  1052.   #include <string.h>
  1053.   EOF
  1054. ***************
  1055. *** 926,932 ****
  1056.   if test $ac_cv_header_stdc = yes; then
  1057.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1058.   cat > conftest.$ac_ext <<EOF
  1059. ! #line 930 "configure"
  1060.   #include "confdefs.h"
  1061.   #include <stdlib.h>
  1062.   EOF
  1063. --- 928,934 ----
  1064.   if test $ac_cv_header_stdc = yes; then
  1065.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1066.   cat > conftest.$ac_ext <<EOF
  1067. ! #line 932 "configure"
  1068.   #include "confdefs.h"
  1069.   #include <stdlib.h>
  1070.   EOF
  1071. ***************
  1072. *** 947,953 ****
  1073.     ac_cv_header_stdc=no
  1074.   else
  1075.   cat > conftest.$ac_ext <<EOF
  1076. ! #line 951 "configure"
  1077.   #include "confdefs.h"
  1078.   #include <ctype.h>
  1079.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1080. --- 949,955 ----
  1081.     ac_cv_header_stdc=no
  1082.   else
  1083.   cat > conftest.$ac_ext <<EOF
  1084. ! #line 953 "configure"
  1085.   #include "confdefs.h"
  1086.   #include <ctype.h>
  1087.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1088. ***************
  1089. *** 968,974 ****
  1090.   rm -fr conftest*
  1091.   fi
  1092.   fi
  1093. ! echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1094.   if test $ac_cv_header_stdc = yes; then
  1095.     cat >> confdefs.h <<\EOF
  1096.   #define STDC_HEADERS 1
  1097. --- 970,976 ----
  1098.   rm -fr conftest*
  1099.   fi
  1100.   fi
  1101. ! /bin/echo "$ac_t""$ac_cv_header_stdc" 1>&4
  1102.   if test $ac_cv_header_stdc = yes; then
  1103.     cat >> confdefs.h <<\EOF
  1104.   #define STDC_HEADERS 1
  1105. ***************
  1106. *** 976,987 ****
  1107.   
  1108.   fi
  1109.   
  1110. ! echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&4
  1111.   if eval "test \"`echo '${'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then
  1112. !   echo $ac_n "(cached) $ac_c" 1>&4
  1113.   else
  1114.     cat > conftest.$ac_ext <<EOF
  1115. ! #line 985 "configure"
  1116.   #include "confdefs.h"
  1117.   #include <sys/types.h>
  1118.   int main() { return 0; }
  1119. --- 978,989 ----
  1120.   
  1121.   fi
  1122.   
  1123. ! /bin/echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&4
  1124.   if eval "test \"`echo '${'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then
  1125. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1126.   else
  1127.     cat > conftest.$ac_ext <<EOF
  1128. ! #line 987 "configure"
  1129.   #include "confdefs.h"
  1130.   #include <sys/types.h>
  1131.   int main() { return 0; }
  1132. ***************
  1133. *** 1000,1015 ****
  1134.   
  1135.   
  1136.   fi
  1137. ! echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&4
  1138.   
  1139.   if test $ac_cv_header_sys_types_h_makedev = no; then
  1140. ! ac_safe=`echo "sys/mkdev.h" | tr './\055' '___'`
  1141. ! echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&4
  1142.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1143. !   echo $ac_n "(cached) $ac_c" 1>&4
  1144.   else
  1145.     cat > conftest.$ac_ext <<EOF
  1146. ! #line 1013 "configure"
  1147.   #include "confdefs.h"
  1148.   #include <sys/mkdev.h>
  1149.   EOF
  1150. --- 1002,1017 ----
  1151.   
  1152.   
  1153.   fi
  1154. ! /bin/echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&4
  1155.   
  1156.   if test $ac_cv_header_sys_types_h_makedev = no; then
  1157. ! ac_safe=`/bin/echo "sys/mkdev.h" | tr './\055' '___'`
  1158. ! /bin/echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&4
  1159.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1160. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1161.   else
  1162.     cat > conftest.$ac_ext <<EOF
  1163. ! #line 1015 "configure"
  1164.   #include "confdefs.h"
  1165.   #include <sys/mkdev.h>
  1166.   EOF
  1167. ***************
  1168. *** 1019,1049 ****
  1169.     rm -rf conftest*
  1170.     eval "ac_cv_header_$ac_safe=yes"
  1171.   else
  1172. !   echo "$ac_err" >&5
  1173.     rm -rf conftest*
  1174.     eval "ac_cv_header_$ac_safe=no"
  1175.   fi
  1176.   rm -f conftest*
  1177.   fi
  1178.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1179. !   echo "$ac_t""yes" 1>&4
  1180.     cat >> confdefs.h <<\EOF
  1181.   #define MAJOR_IN_MKDEV 1
  1182.   EOF
  1183.   
  1184.   else
  1185. !   echo "$ac_t""no" 1>&4
  1186.   fi
  1187.   
  1188.   
  1189.     if test $ac_cv_header_sys_mkdev_h = no; then
  1190. ! ac_safe=`echo "sys/sysmacros.h" | tr './\055' '___'`
  1191. ! echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&4
  1192.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1193. !   echo $ac_n "(cached) $ac_c" 1>&4
  1194.   else
  1195.     cat > conftest.$ac_ext <<EOF
  1196. ! #line 1047 "configure"
  1197.   #include "confdefs.h"
  1198.   #include <sys/sysmacros.h>
  1199.   EOF
  1200. --- 1021,1051 ----
  1201.     rm -rf conftest*
  1202.     eval "ac_cv_header_$ac_safe=yes"
  1203.   else
  1204. !   /bin/echo "$ac_err" >&5
  1205.     rm -rf conftest*
  1206.     eval "ac_cv_header_$ac_safe=no"
  1207.   fi
  1208.   rm -f conftest*
  1209.   fi
  1210.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1211. !   /bin/echo "$ac_t""yes" 1>&4
  1212.     cat >> confdefs.h <<\EOF
  1213.   #define MAJOR_IN_MKDEV 1
  1214.   EOF
  1215.   
  1216.   else
  1217. !   /bin/echo "$ac_t""no" 1>&4
  1218.   fi
  1219.   
  1220.   
  1221.     if test $ac_cv_header_sys_mkdev_h = no; then
  1222. ! ac_safe=`/bin/echo "sys/sysmacros.h" | tr './\055' '___'`
  1223. ! /bin/echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&4
  1224.   if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1225. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1226.   else
  1227.     cat > conftest.$ac_ext <<EOF
  1228. ! #line 1049 "configure"
  1229.   #include "confdefs.h"
  1230.   #include <sys/sysmacros.h>
  1231.   EOF
  1232. ***************
  1233. *** 1053,1072 ****
  1234.     rm -rf conftest*
  1235.     eval "ac_cv_header_$ac_safe=yes"
  1236.   else
  1237. !   echo "$ac_err" >&5
  1238.     rm -rf conftest*
  1239.     eval "ac_cv_header_$ac_safe=no"
  1240.   fi
  1241.   rm -f conftest*
  1242.   fi
  1243.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1244. !   echo "$ac_t""yes" 1>&4
  1245.     cat >> confdefs.h <<\EOF
  1246.   #define MAJOR_IN_SYSMACROS 1
  1247.   EOF
  1248.   
  1249.   else
  1250. !   echo "$ac_t""no" 1>&4
  1251.   fi
  1252.   
  1253.     fi
  1254. --- 1055,1074 ----
  1255.     rm -rf conftest*
  1256.     eval "ac_cv_header_$ac_safe=yes"
  1257.   else
  1258. !   /bin/echo "$ac_err" >&5
  1259.     rm -rf conftest*
  1260.     eval "ac_cv_header_$ac_safe=no"
  1261.   fi
  1262.   rm -f conftest*
  1263.   fi
  1264.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1265. !   /bin/echo "$ac_t""yes" 1>&4
  1266.     cat >> confdefs.h <<\EOF
  1267.   #define MAJOR_IN_SYSMACROS 1
  1268.   EOF
  1269.   
  1270.   else
  1271. !   /bin/echo "$ac_t""no" 1>&4
  1272.   fi
  1273.   
  1274.     fi
  1275. ***************
  1276. *** 1075,1087 ****
  1277.   ac_header_dirent=no
  1278.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1279.   do
  1280. ! ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  1281. ! echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1282.   if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1283. !   echo $ac_n "(cached) $ac_c" 1>&4
  1284.   else
  1285.     cat > conftest.$ac_ext <<EOF
  1286. ! #line 1085 "configure"
  1287.   #include "confdefs.h"
  1288.   #include <sys/types.h>
  1289.   #include <$ac_hdr>
  1290. --- 1077,1089 ----
  1291.   ac_header_dirent=no
  1292.   for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
  1293.   do
  1294. ! ac_safe=`/bin/echo "$ac_hdr" | tr './\055' '___'`
  1295. ! /bin/echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&4
  1296.   if eval "test \"`echo '${'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  1297. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1298.   else
  1299.     cat > conftest.$ac_ext <<EOF
  1300. ! #line 1087 "configure"
  1301.   #include "confdefs.h"
  1302.   #include <sys/types.h>
  1303.   #include <$ac_hdr>
  1304. ***************
  1305. *** 1101,1126 ****
  1306.   
  1307.   fi
  1308.   if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1309. !   echo "$ac_t""yes" 1>&4
  1310. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1311.     cat >> confdefs.h <<EOF
  1312.   #define $ac_tr_hdr 1
  1313.   EOF
  1314.    ac_header_dirent=$ac_hdr; break
  1315.   else
  1316. !   echo "$ac_t""no" 1>&4
  1317.   fi
  1318.   done
  1319.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1320.   if test $ac_header_dirent = dirent.h; then
  1321. ! echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1322.   if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1323. !   echo $ac_n "(cached) $ac_c" 1>&4
  1324.   else
  1325.     ac_save_LIBS="$LIBS"
  1326.   LIBS="$LIBS -ldir "
  1327.   cat > conftest.$ac_ext <<EOF
  1328. ! #line 1124 "configure"
  1329.   #include "confdefs.h"
  1330.   
  1331.   int main() { return 0; }
  1332. --- 1103,1128 ----
  1333.   
  1334.   fi
  1335.   if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
  1336. !   /bin/echo "$ac_t""yes" 1>&4
  1337. !     ac_tr_hdr=HAVE_`/bin/echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  1338.     cat >> confdefs.h <<EOF
  1339.   #define $ac_tr_hdr 1
  1340.   EOF
  1341.    ac_header_dirent=$ac_hdr; break
  1342.   else
  1343. !   /bin/echo "$ac_t""no" 1>&4
  1344.   fi
  1345.   done
  1346.   # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1347.   if test $ac_header_dirent = dirent.h; then
  1348. ! /bin/echo $ac_n "checking for -ldir""... $ac_c" 1>&4
  1349.   if eval "test \"`echo '${'ac_cv_lib_dir'+set}'`\" = set"; then
  1350. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1351.   else
  1352.     ac_save_LIBS="$LIBS"
  1353.   LIBS="$LIBS -ldir "
  1354.   cat > conftest.$ac_ext <<EOF
  1355. ! #line 1126 "configure"
  1356.   #include "confdefs.h"
  1357.   
  1358.   int main() { return 0; }
  1359. ***************
  1360. *** 1140,1160 ****
  1361.   
  1362.   fi
  1363.   if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  1364. !   echo "$ac_t""yes" 1>&4
  1365.     LIBS="$LIBS -ldir"
  1366.   else
  1367. !   echo "$ac_t""no" 1>&4
  1368.   fi
  1369.   
  1370.   else
  1371. ! echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1372.   if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1373. !   echo $ac_n "(cached) $ac_c" 1>&4
  1374.   else
  1375.     ac_save_LIBS="$LIBS"
  1376.   LIBS="$LIBS -lx "
  1377.   cat > conftest.$ac_ext <<EOF
  1378. ! #line 1158 "configure"
  1379.   #include "confdefs.h"
  1380.   
  1381.   int main() { return 0; }
  1382. --- 1142,1162 ----
  1383.   
  1384.   fi
  1385.   if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then
  1386. !   /bin/echo "$ac_t""yes" 1>&4
  1387.     LIBS="$LIBS -ldir"
  1388.   else
  1389. !   /bin/echo "$ac_t""no" 1>&4
  1390.   fi
  1391.   
  1392.   else
  1393. ! /bin/echo $ac_n "checking for -lx""... $ac_c" 1>&4
  1394.   if eval "test \"`echo '${'ac_cv_lib_x'+set}'`\" = set"; then
  1395. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1396.   else
  1397.     ac_save_LIBS="$LIBS"
  1398.   LIBS="$LIBS -lx "
  1399.   cat > conftest.$ac_ext <<EOF
  1400. ! #line 1160 "configure"
  1401.   #include "confdefs.h"
  1402.   
  1403.   int main() { return 0; }
  1404. ***************
  1405. *** 1174,1193 ****
  1406.   
  1407.   fi
  1408.   if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  1409. !   echo "$ac_t""yes" 1>&4
  1410.     LIBS="$LIBS -lx"
  1411.   else
  1412. !   echo "$ac_t""no" 1>&4
  1413.   fi
  1414.   
  1415.   fi
  1416.   
  1417. ! echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1418.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1419. !   echo $ac_n "(cached) $ac_c" 1>&4
  1420.   else
  1421.     cat > conftest.$ac_ext <<EOF
  1422. ! #line 1191 "configure"
  1423.   #include "confdefs.h"
  1424.   #include <sys/types.h>
  1425.   #include <sys/stat.h>
  1426. --- 1176,1195 ----
  1427.   
  1428.   fi
  1429.   if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then
  1430. !   /bin/echo "$ac_t""yes" 1>&4
  1431.     LIBS="$LIBS -lx"
  1432.   else
  1433. !   /bin/echo "$ac_t""no" 1>&4
  1434.   fi
  1435.   
  1436.   fi
  1437.   
  1438. ! /bin/echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&4
  1439.   if eval "test \"`echo '${'ac_cv_header_stat_broken'+set}'`\" = set"; then
  1440. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1441.   else
  1442.     cat > conftest.$ac_ext <<EOF
  1443. ! #line 1193 "configure"
  1444.   #include "confdefs.h"
  1445.   #include <sys/types.h>
  1446.   #include <sys/stat.h>
  1447. ***************
  1448. *** 1226,1232 ****
  1449.   rm -f conftest*
  1450.   
  1451.   fi
  1452. ! echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1453.   if test $ac_cv_header_stat_broken = yes; then
  1454.     cat >> confdefs.h <<\EOF
  1455.   #define STAT_MACROS_BROKEN 1
  1456. --- 1228,1234 ----
  1457.   rm -f conftest*
  1458.   
  1459.   fi
  1460. ! /bin/echo "$ac_t""$ac_cv_header_stat_broken" 1>&4
  1461.   if test $ac_cv_header_stat_broken = yes; then
  1462.     cat >> confdefs.h <<\EOF
  1463.   #define STAT_MACROS_BROKEN 1
  1464. ***************
  1465. *** 1234,1245 ****
  1466.   
  1467.   fi
  1468.   
  1469. ! echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&4
  1470.   if eval "test \"`echo '${'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  1471. !   echo $ac_n "(cached) $ac_c" 1>&4
  1472.   else
  1473.     cat > conftest.$ac_ext <<EOF
  1474. ! #line 1243 "configure"
  1475.   #include "confdefs.h"
  1476.   #include <sys/types.h>
  1477.   #include <sys/wait.h>
  1478. --- 1236,1247 ----
  1479.   
  1480.   fi
  1481.   
  1482. ! /bin/echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&4
  1483.   if eval "test \"`echo '${'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  1484. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1485.   else
  1486.     cat > conftest.$ac_ext <<EOF
  1487. ! #line 1245 "configure"
  1488.   #include "confdefs.h"
  1489.   #include <sys/types.h>
  1490.   #include <sys/wait.h>
  1491. ***************
  1492. *** 1266,1272 ****
  1493.   rm -f conftest*
  1494.   
  1495.   fi
  1496. ! echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&4
  1497.   if test $ac_cv_header_sys_wait_h = yes; then
  1498.     cat >> confdefs.h <<\EOF
  1499.   #define HAVE_SYS_WAIT_H 1
  1500. --- 1268,1274 ----
  1501.   rm -f conftest*
  1502.   
  1503.   fi
  1504. ! /bin/echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&4
  1505.   if test $ac_cv_header_sys_wait_h = yes; then
  1506.     cat >> confdefs.h <<\EOF
  1507.   #define HAVE_SYS_WAIT_H 1
  1508. ***************
  1509. *** 1275,1285 ****
  1510.   fi
  1511.   
  1512.   
  1513. ! echo $ac_n "checking how to get filesystem type""... $ac_c" 1>&4
  1514.   fstype=no
  1515.   # The order of these tests is important.
  1516.   cat > conftest.$ac_ext <<EOF
  1517. ! #line 1283 "configure"
  1518.   #include "confdefs.h"
  1519.   #include <sys/statvfs.h>
  1520.   #include <sys/fstyp.h>
  1521. --- 1277,1287 ----
  1522.   fi
  1523.   
  1524.   
  1525. ! /bin/echo $ac_n "checking how to get filesystem type""... $ac_c" 1>&4
  1526.   fstype=no
  1527.   # The order of these tests is important.
  1528.   cat > conftest.$ac_ext <<EOF
  1529. ! #line 1285 "configure"
  1530.   #include "confdefs.h"
  1531.   #include <sys/statvfs.h>
  1532.   #include <sys/fstyp.h>
  1533. ***************
  1534. *** 1293,1304 ****
  1535.   EOF
  1536.    fstype=SVR4
  1537.   else
  1538. !   echo "$ac_err" >&5
  1539.   fi
  1540.   rm -f conftest*
  1541.   if test $fstype = no; then
  1542.   cat > conftest.$ac_ext <<EOF
  1543. ! #line 1302 "configure"
  1544.   #include "confdefs.h"
  1545.   #include <sys/statfs.h>
  1546.   #include <sys/fstyp.h>
  1547. --- 1295,1306 ----
  1548.   EOF
  1549.    fstype=SVR4
  1550.   else
  1551. !   /bin/echo "$ac_err" >&5
  1552.   fi
  1553.   rm -f conftest*
  1554.   if test $fstype = no; then
  1555.   cat > conftest.$ac_ext <<EOF
  1556. ! #line 1304 "configure"
  1557.   #include "confdefs.h"
  1558.   #include <sys/statfs.h>
  1559.   #include <sys/fstyp.h>
  1560. ***************
  1561. *** 1312,1324 ****
  1562.   EOF
  1563.    fstype=SVR3
  1564.   else
  1565. !   echo "$ac_err" >&5
  1566.   fi
  1567.   rm -f conftest*
  1568.   fi
  1569.   if test $fstype = no; then
  1570.   cat > conftest.$ac_ext <<EOF
  1571. ! #line 1322 "configure"
  1572.   #include "confdefs.h"
  1573.   #include <sys/statfs.h>
  1574.   #include <sys/vmount.h>
  1575. --- 1314,1326 ----
  1576.   EOF
  1577.    fstype=SVR3
  1578.   else
  1579. !   /bin/echo "$ac_err" >&5
  1580.   fi
  1581.   rm -f conftest*
  1582.   fi
  1583.   if test $fstype = no; then
  1584.   cat > conftest.$ac_ext <<EOF
  1585. ! #line 1324 "configure"
  1586.   #include "confdefs.h"
  1587.   #include <sys/statfs.h>
  1588.   #include <sys/vmount.h>
  1589. ***************
  1590. *** 1332,1344 ****
  1591.   EOF
  1592.    fstype=AIX
  1593.   else
  1594. !   echo "$ac_err" >&5
  1595.   fi
  1596.   rm -f conftest*
  1597.   fi
  1598.   if test $fstype = no; then  
  1599.   cat > conftest.$ac_ext <<EOF
  1600. ! #line 1342 "configure"
  1601.   #include "confdefs.h"
  1602.   #include <mntent.h>
  1603.   EOF
  1604. --- 1334,1346 ----
  1605.   EOF
  1606.    fstype=AIX
  1607.   else
  1608. !   /bin/echo "$ac_err" >&5
  1609.   fi
  1610.   rm -f conftest*
  1611.   fi
  1612.   if test $fstype = no; then  
  1613.   cat > conftest.$ac_ext <<EOF
  1614. ! #line 1344 "configure"
  1615.   #include "confdefs.h"
  1616.   #include <mntent.h>
  1617.   EOF
  1618. ***************
  1619. *** 1351,1363 ****
  1620.   EOF
  1621.    fstype=4.3BSD
  1622.   else
  1623. !   echo "$ac_err" >&5
  1624.   fi
  1625.   rm -f conftest*
  1626.   fi
  1627.   if test $fstype = no; then  
  1628.   cat > conftest.$ac_ext <<EOF
  1629. ! #line 1361 "configure"
  1630.   #include "confdefs.h"
  1631.   #include <sys/mount.h>
  1632.   EOF
  1633. --- 1353,1365 ----
  1634.   EOF
  1635.    fstype=4.3BSD
  1636.   else
  1637. !   /bin/echo "$ac_err" >&5
  1638.   fi
  1639.   rm -f conftest*
  1640.   fi
  1641.   if test $fstype = no; then  
  1642.   cat > conftest.$ac_ext <<EOF
  1643. ! #line 1363 "configure"
  1644.   #include "confdefs.h"
  1645.   #include <sys/mount.h>
  1646.   EOF
  1647. ***************
  1648. *** 1374,1380 ****
  1649.   fi
  1650.   if test $fstype = no; then  
  1651.   cat > conftest.$ac_ext <<EOF
  1652. ! #line 1378 "configure"
  1653.   #include "confdefs.h"
  1654.   #include <sys/mount.h>
  1655.   #include <sys/fs_types.h>
  1656. --- 1376,1382 ----
  1657.   fi
  1658.   if test $fstype = no; then  
  1659.   cat > conftest.$ac_ext <<EOF
  1660. ! #line 1380 "configure"
  1661.   #include "confdefs.h"
  1662.   #include <sys/mount.h>
  1663.   #include <sys/fs_types.h>
  1664. ***************
  1665. *** 1388,1406 ****
  1666.   EOF
  1667.    fstype=Ultrix
  1668.   else
  1669. !   echo "$ac_err" >&5
  1670.   fi
  1671.   rm -f conftest*
  1672.   fi
  1673. ! echo "$ac_t""$fstype" 1>&4
  1674.   
  1675.   
  1676. ! echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&4
  1677.   if eval "test \"`echo '${'ac_cv_type_uid_t'+set}'`\" = set"; then
  1678. !   echo $ac_n "(cached) $ac_c" 1>&4
  1679.   else
  1680.     cat > conftest.$ac_ext <<EOF
  1681. ! #line 1404 "configure"
  1682.   #include "confdefs.h"
  1683.   #include <sys/types.h>
  1684.   EOF
  1685. --- 1390,1408 ----
  1686.   EOF
  1687.    fstype=Ultrix
  1688.   else
  1689. !   /bin/echo "$ac_err" >&5
  1690.   fi
  1691.   rm -f conftest*
  1692.   fi
  1693. ! /bin/echo "$ac_t""$fstype" 1>&4
  1694.   
  1695.   
  1696. ! /bin/echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&4
  1697.   if eval "test \"`echo '${'ac_cv_type_uid_t'+set}'`\" = set"; then
  1698. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1699.   else
  1700.     cat > conftest.$ac_ext <<EOF
  1701. ! #line 1406 "configure"
  1702.   #include "confdefs.h"
  1703.   #include <sys/types.h>
  1704.   EOF
  1705. ***************
  1706. *** 1415,1421 ****
  1707.   rm -f conftest*
  1708.   
  1709.   fi
  1710. ! echo "$ac_t""$ac_cv_type_uid_t" 1>&4
  1711.   if test $ac_cv_type_uid_t = no; then
  1712.     cat >> confdefs.h <<\EOF
  1713.   #define uid_t int
  1714. --- 1417,1423 ----
  1715.   rm -f conftest*
  1716.   
  1717.   fi
  1718. ! /bin/echo "$ac_t""$ac_cv_type_uid_t" 1>&4
  1719.   if test $ac_cv_type_uid_t = no; then
  1720.     cat >> confdefs.h <<\EOF
  1721.   #define uid_t int
  1722. ***************
  1723. *** 1427,1438 ****
  1724.   
  1725.   fi
  1726.   
  1727. ! echo $ac_n "checking for size_t""... $ac_c" 1>&4
  1728.   if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  1729. !   echo $ac_n "(cached) $ac_c" 1>&4
  1730.   else
  1731.     cat > conftest.$ac_ext <<EOF
  1732. ! #line 1436 "configure"
  1733.   #include "confdefs.h"
  1734.   #include <sys/types.h>
  1735.   #if STDC_HEADERS
  1736. --- 1429,1440 ----
  1737.   
  1738.   fi
  1739.   
  1740. ! /bin/echo $ac_n "checking for size_t""... $ac_c" 1>&4
  1741.   if eval "test \"`echo '${'ac_cv_type_size_t'+set}'`\" = set"; then
  1742. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1743.   else
  1744.     cat > conftest.$ac_ext <<EOF
  1745. ! #line 1438 "configure"
  1746.   #include "confdefs.h"
  1747.   #include <sys/types.h>
  1748.   #if STDC_HEADERS
  1749. ***************
  1750. *** 1450,1456 ****
  1751.   rm -f conftest*
  1752.   
  1753.   fi
  1754. ! echo "$ac_t""$ac_cv_type_size_t" 1>&4
  1755.   if test $ac_cv_type_size_t = no; then
  1756.     cat >> confdefs.h <<\EOF
  1757.   #define size_t unsigned
  1758. --- 1452,1458 ----
  1759.   rm -f conftest*
  1760.   
  1761.   fi
  1762. ! /bin/echo "$ac_t""$ac_cv_type_size_t" 1>&4
  1763.   if test $ac_cv_type_size_t = no; then
  1764.     cat >> confdefs.h <<\EOF
  1765.   #define size_t unsigned
  1766. ***************
  1767. *** 1458,1469 ****
  1768.   
  1769.   fi
  1770.   
  1771. ! echo $ac_n "checking for pid_t""... $ac_c" 1>&4
  1772.   if eval "test \"`echo '${'ac_cv_type_pid_t'+set}'`\" = set"; then
  1773. !   echo $ac_n "(cached) $ac_c" 1>&4
  1774.   else
  1775.     cat > conftest.$ac_ext <<EOF
  1776. ! #line 1467 "configure"
  1777.   #include "confdefs.h"
  1778.   #include <sys/types.h>
  1779.   #if STDC_HEADERS
  1780. --- 1460,1471 ----
  1781.   
  1782.   fi
  1783.   
  1784. ! /bin/echo $ac_n "checking for pid_t""... $ac_c" 1>&4
  1785.   if eval "test \"`echo '${'ac_cv_type_pid_t'+set}'`\" = set"; then
  1786. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1787.   else
  1788.     cat > conftest.$ac_ext <<EOF
  1789. ! #line 1469 "configure"
  1790.   #include "confdefs.h"
  1791.   #include <sys/types.h>
  1792.   #if STDC_HEADERS
  1793. ***************
  1794. *** 1481,1487 ****
  1795.   rm -f conftest*
  1796.   
  1797.   fi
  1798. ! echo "$ac_t""$ac_cv_type_pid_t" 1>&4
  1799.   if test $ac_cv_type_pid_t = no; then
  1800.     cat >> confdefs.h <<\EOF
  1801.   #define pid_t int
  1802. --- 1483,1489 ----
  1803.   rm -f conftest*
  1804.   
  1805.   fi
  1806. ! /bin/echo "$ac_t""$ac_cv_type_pid_t" 1>&4
  1807.   if test $ac_cv_type_pid_t = no; then
  1808.     cat >> confdefs.h <<\EOF
  1809.   #define pid_t int
  1810. ***************
  1811. *** 1489,1500 ****
  1812.   
  1813.   fi
  1814.   
  1815. ! echo $ac_n "checking for ino_t""... $ac_c" 1>&4
  1816.   if eval "test \"`echo '${'ac_cv_type_ino_t'+set}'`\" = set"; then
  1817. !   echo $ac_n "(cached) $ac_c" 1>&4
  1818.   else
  1819.     cat > conftest.$ac_ext <<EOF
  1820. ! #line 1498 "configure"
  1821.   #include "confdefs.h"
  1822.   #include <sys/types.h>
  1823.   #if STDC_HEADERS
  1824. --- 1491,1502 ----
  1825.   
  1826.   fi
  1827.   
  1828. ! /bin/echo $ac_n "checking for ino_t""... $ac_c" 1>&4
  1829.   if eval "test \"`echo '${'ac_cv_type_ino_t'+set}'`\" = set"; then
  1830. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1831.   else
  1832.     cat > conftest.$ac_ext <<EOF
  1833. ! #line 1500 "configure"
  1834.   #include "confdefs.h"
  1835.   #include <sys/types.h>
  1836.   #if STDC_HEADERS
  1837. ***************
  1838. *** 1512,1518 ****
  1839.   rm -f conftest*
  1840.   
  1841.   fi
  1842. ! echo "$ac_t""$ac_cv_type_ino_t" 1>&4
  1843.   if test $ac_cv_type_ino_t = no; then
  1844.     cat >> confdefs.h <<\EOF
  1845.   #define ino_t unsigned long
  1846. --- 1514,1520 ----
  1847.   rm -f conftest*
  1848.   
  1849.   fi
  1850. ! /bin/echo "$ac_t""$ac_cv_type_ino_t" 1>&4
  1851.   if test $ac_cv_type_ino_t = no; then
  1852.     cat >> confdefs.h <<\EOF
  1853.   #define ino_t unsigned long
  1854. ***************
  1855. *** 1520,1531 ****
  1856.   
  1857.   fi
  1858.   
  1859. ! echo $ac_n "checking for dev_t""... $ac_c" 1>&4
  1860.   if eval "test \"`echo '${'ac_cv_type_dev_t'+set}'`\" = set"; then
  1861. !   echo $ac_n "(cached) $ac_c" 1>&4
  1862.   else
  1863.     cat > conftest.$ac_ext <<EOF
  1864. ! #line 1529 "configure"
  1865.   #include "confdefs.h"
  1866.   #include <sys/types.h>
  1867.   #if STDC_HEADERS
  1868. --- 1522,1533 ----
  1869.   
  1870.   fi
  1871.   
  1872. ! /bin/echo $ac_n "checking for dev_t""... $ac_c" 1>&4
  1873.   if eval "test \"`echo '${'ac_cv_type_dev_t'+set}'`\" = set"; then
  1874. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1875.   else
  1876.     cat > conftest.$ac_ext <<EOF
  1877. ! #line 1531 "configure"
  1878.   #include "confdefs.h"
  1879.   #include <sys/types.h>
  1880.   #if STDC_HEADERS
  1881. ***************
  1882. *** 1543,1549 ****
  1883.   rm -f conftest*
  1884.   
  1885.   fi
  1886. ! echo "$ac_t""$ac_cv_type_dev_t" 1>&4
  1887.   if test $ac_cv_type_dev_t = no; then
  1888.     cat >> confdefs.h <<\EOF
  1889.   #define dev_t unsigned long
  1890. --- 1545,1551 ----
  1891.   rm -f conftest*
  1892.   
  1893.   fi
  1894. ! /bin/echo "$ac_t""$ac_cv_type_dev_t" 1>&4
  1895.   if test $ac_cv_type_dev_t = no; then
  1896.     cat >> confdefs.h <<\EOF
  1897.   #define dev_t unsigned long
  1898. ***************
  1899. *** 1551,1562 ****
  1900.   
  1901.   fi
  1902.   
  1903. ! echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&4
  1904.   if eval "test \"`echo '${'ac_cv_struct_st_blocks'+set}'`\" = set"; then
  1905. !   echo $ac_n "(cached) $ac_c" 1>&4
  1906.   else
  1907.     cat > conftest.$ac_ext <<EOF
  1908. ! #line 1560 "configure"
  1909.   #include "confdefs.h"
  1910.   #include <sys/types.h>
  1911.   #include <sys/stat.h>
  1912. --- 1553,1564 ----
  1913.   
  1914.   fi
  1915.   
  1916. ! /bin/echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&4
  1917.   if eval "test \"`echo '${'ac_cv_struct_st_blocks'+set}'`\" = set"; then
  1918. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1919.   else
  1920.     cat > conftest.$ac_ext <<EOF
  1921. ! #line 1562 "configure"
  1922.   #include "confdefs.h"
  1923.   #include <sys/types.h>
  1924.   #include <sys/stat.h>
  1925. ***************
  1926. *** 1575,1581 ****
  1927.   rm -f conftest*
  1928.   
  1929.   fi
  1930. ! echo "$ac_t""$ac_cv_struct_st_blocks" 1>&4
  1931.   if test $ac_cv_struct_st_blocks = yes; then
  1932.     cat >> confdefs.h <<\EOF
  1933.   #define HAVE_ST_BLOCKS 1
  1934. --- 1577,1583 ----
  1935.   rm -f conftest*
  1936.   
  1937.   fi
  1938. ! /bin/echo "$ac_t""$ac_cv_struct_st_blocks" 1>&4
  1939.   if test $ac_cv_struct_st_blocks = yes; then
  1940.     cat >> confdefs.h <<\EOF
  1941.   #define HAVE_ST_BLOCKS 1
  1942. ***************
  1943. *** 1585,1596 ****
  1944.     LIBOBJS="$LIBOBJS fileblocks.o"
  1945.   fi
  1946.   
  1947. ! echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&4
  1948.   if eval "test \"`echo '${'ac_cv_struct_st_rdev'+set}'`\" = set"; then
  1949. !   echo $ac_n "(cached) $ac_c" 1>&4
  1950.   else
  1951.     cat > conftest.$ac_ext <<EOF
  1952. ! #line 1594 "configure"
  1953.   #include "confdefs.h"
  1954.   #include <sys/types.h>
  1955.   #include <sys/stat.h>
  1956. --- 1587,1598 ----
  1957.     LIBOBJS="$LIBOBJS fileblocks.o"
  1958.   fi
  1959.   
  1960. ! /bin/echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&4
  1961.   if eval "test \"`echo '${'ac_cv_struct_st_rdev'+set}'`\" = set"; then
  1962. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  1963.   else
  1964.     cat > conftest.$ac_ext <<EOF
  1965. ! #line 1596 "configure"
  1966.   #include "confdefs.h"
  1967.   #include <sys/types.h>
  1968.   #include <sys/stat.h>
  1969. ***************
  1970. *** 1609,1615 ****
  1971.   rm -f conftest*
  1972.   
  1973.   fi
  1974. ! echo "$ac_t""$ac_cv_struct_st_rdev" 1>&4
  1975.   if test $ac_cv_struct_st_rdev = yes; then
  1976.     cat >> confdefs.h <<\EOF
  1977.   #define HAVE_ST_RDEV 1
  1978. --- 1611,1617 ----
  1979.   rm -f conftest*
  1980.   
  1981.   fi
  1982. ! /bin/echo "$ac_t""$ac_cv_struct_st_rdev" 1>&4
  1983.   if test $ac_cv_struct_st_rdev = yes; then
  1984.     cat >> confdefs.h <<\EOF
  1985.   #define HAVE_ST_RDEV 1
  1986. ***************
  1987. *** 1617,1628 ****
  1988.   
  1989.   fi
  1990.   
  1991. ! echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&4
  1992.   if eval "test \"`echo '${'ac_cv_struct_tm'+set}'`\" = set"; then
  1993. !   echo $ac_n "(cached) $ac_c" 1>&4
  1994.   else
  1995.     cat > conftest.$ac_ext <<EOF
  1996. ! #line 1626 "configure"
  1997.   #include "confdefs.h"
  1998.   #include <sys/types.h>
  1999.   #include <time.h>
  2000. --- 1619,1630 ----
  2001.   
  2002.   fi
  2003.   
  2004. ! /bin/echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&4
  2005.   if eval "test \"`echo '${'ac_cv_struct_tm'+set}'`\" = set"; then
  2006. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2007.   else
  2008.     cat > conftest.$ac_ext <<EOF
  2009. ! #line 1628 "configure"
  2010.   #include "confdefs.h"
  2011.   #include <sys/types.h>
  2012.   #include <time.h>
  2013. ***************
  2014. *** 1641,1647 ****
  2015.   rm -f conftest*
  2016.   
  2017.   fi
  2018. ! echo "$ac_t""$ac_cv_struct_tm" 1>&4
  2019.   if test $ac_cv_struct_tm = sys/time.h; then
  2020.     cat >> confdefs.h <<\EOF
  2021.   #define TM_IN_SYS_TIME 1
  2022. --- 1643,1649 ----
  2023.   rm -f conftest*
  2024.   
  2025.   fi
  2026. ! /bin/echo "$ac_t""$ac_cv_struct_tm" 1>&4
  2027.   if test $ac_cv_struct_tm = sys/time.h; then
  2028.     cat >> confdefs.h <<\EOF
  2029.   #define TM_IN_SYS_TIME 1
  2030. ***************
  2031. *** 1649,1660 ****
  2032.   
  2033.   fi
  2034.   
  2035. ! echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&4
  2036.   if eval "test \"`echo '${'ac_cv_struct_tm_zone'+set}'`\" = set"; then
  2037. !   echo $ac_n "(cached) $ac_c" 1>&4
  2038.   else
  2039.     cat > conftest.$ac_ext <<EOF
  2040. ! #line 1658 "configure"
  2041.   #include "confdefs.h"
  2042.   #include <sys/types.h>
  2043.   #include <$ac_cv_struct_tm>
  2044. --- 1651,1662 ----
  2045.   
  2046.   fi
  2047.   
  2048. ! /bin/echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&4
  2049.   if eval "test \"`echo '${'ac_cv_struct_tm_zone'+set}'`\" = set"; then
  2050. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2051.   else
  2052.     cat > conftest.$ac_ext <<EOF
  2053. ! #line 1660 "configure"
  2054.   #include "confdefs.h"
  2055.   #include <sys/types.h>
  2056.   #include <$ac_cv_struct_tm>
  2057. ***************
  2058. *** 1673,1691 ****
  2059.   rm -f conftest*
  2060.   
  2061.   fi
  2062. ! echo "$ac_t""$ac_cv_struct_tm_zone" 1>&4
  2063.   if test "$ac_cv_struct_tm_zone" = yes; then
  2064.     cat >> confdefs.h <<\EOF
  2065.   #define HAVE_TM_ZONE 1
  2066.   EOF
  2067.   
  2068.   else
  2069. !   echo $ac_n "checking for tzname""... $ac_c" 1>&4
  2070.   if eval "test \"`echo '${'ac_cv_var_tzname'+set}'`\" = set"; then
  2071. !   echo $ac_n "(cached) $ac_c" 1>&4
  2072.   else
  2073.     cat > conftest.$ac_ext <<EOF
  2074. ! #line 1689 "configure"
  2075.   #include "confdefs.h"
  2076.   #include <time.h>
  2077.   #ifndef tzname /* For SGI.  */
  2078. --- 1675,1693 ----
  2079.   rm -f conftest*
  2080.   
  2081.   fi
  2082. ! /bin/echo "$ac_t""$ac_cv_struct_tm_zone" 1>&4
  2083.   if test "$ac_cv_struct_tm_zone" = yes; then
  2084.     cat >> confdefs.h <<\EOF
  2085.   #define HAVE_TM_ZONE 1
  2086.   EOF
  2087.   
  2088.   else
  2089. !   /bin/echo $ac_n "checking for tzname""... $ac_c" 1>&4
  2090.   if eval "test \"`echo '${'ac_cv_var_tzname'+set}'`\" = set"; then
  2091. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2092.   else
  2093.     cat > conftest.$ac_ext <<EOF
  2094. ! #line 1691 "configure"
  2095.   #include "confdefs.h"
  2096.   #include <time.h>
  2097.   #ifndef tzname /* For SGI.  */
  2098. ***************
  2099. *** 1706,1712 ****
  2100.   rm -f conftest*
  2101.   
  2102.   fi
  2103. !   echo "$ac_t""$ac_cv_var_tzname" 1>&4
  2104.     if test $ac_cv_var_tzname = yes; then
  2105.       cat >> confdefs.h <<\EOF
  2106.   #define HAVE_TZNAME 1
  2107. --- 1708,1714 ----
  2108.   rm -f conftest*
  2109.   
  2110.   fi
  2111. !   /bin/echo "$ac_t""$ac_cv_var_tzname" 1>&4
  2112.     if test $ac_cv_var_tzname = yes; then
  2113.       cat >> confdefs.h <<\EOF
  2114.   #define HAVE_TZNAME 1
  2115. ***************
  2116. *** 1715,1726 ****
  2117.     fi
  2118.   fi
  2119.   
  2120. ! echo $ac_n "checking for working const""... $ac_c" 1>&4
  2121.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  2122. !   echo $ac_n "(cached) $ac_c" 1>&4
  2123.   else
  2124.     cat > conftest.$ac_ext <<EOF
  2125. ! #line 1724 "configure"
  2126.   #include "confdefs.h"
  2127.   
  2128.   int main() { return 0; }
  2129. --- 1717,1728 ----
  2130.     fi
  2131.   fi
  2132.   
  2133. ! /bin/echo $ac_n "checking for working const""... $ac_c" 1>&4
  2134.   if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  2135. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2136.   else
  2137.     cat > conftest.$ac_ext <<EOF
  2138. ! #line 1726 "configure"
  2139.   #include "confdefs.h"
  2140.   
  2141.   int main() { return 0; }
  2142. ***************
  2143. *** 1780,1786 ****
  2144.   rm -f conftest*
  2145.   
  2146.   fi
  2147. ! echo "$ac_t""$ac_cv_c_const" 1>&4
  2148.   if test $ac_cv_c_const = no; then
  2149.     cat >> confdefs.h <<\EOF
  2150.   #define const 
  2151. --- 1782,1788 ----
  2152.   rm -f conftest*
  2153.   
  2154.   fi
  2155. ! /bin/echo "$ac_t""$ac_cv_c_const" 1>&4
  2156.   if test $ac_cv_c_const = no; then
  2157.     cat >> confdefs.h <<\EOF
  2158.   #define const 
  2159. ***************
  2160. *** 1792,1803 ****
  2161.   
  2162.   for ac_func in memcmp memset mktime stpcpy strdup strftime strspn strstr strtol
  2163.   do
  2164. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2165.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2166. !   echo $ac_n "(cached) $ac_c" 1>&4
  2167.   else
  2168.     cat > conftest.$ac_ext <<EOF
  2169. ! #line 1801 "configure"
  2170.   #include "confdefs.h"
  2171.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2172.   /* Override any gcc2 internal prototype to avoid an error.  */
  2173. --- 1794,1805 ----
  2174.   
  2175.   for ac_func in memcmp memset mktime stpcpy strdup strftime strspn strstr strtol
  2176.   do
  2177. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2178.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2179. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2180.   else
  2181.     cat > conftest.$ac_ext <<EOF
  2182. ! #line 1803 "configure"
  2183.   #include "confdefs.h"
  2184.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2185.   /* Override any gcc2 internal prototype to avoid an error.  */
  2186. ***************
  2187. *** 1828,1837 ****
  2188.   
  2189.   fi
  2190.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2191. !   echo "$ac_t""yes" 1>&4
  2192.     :
  2193.   else
  2194. !   echo "$ac_t""no" 1>&4
  2195.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  2196.   fi
  2197.   
  2198. --- 1830,1839 ----
  2199.   
  2200.   fi
  2201.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2202. !   /bin/echo "$ac_t""yes" 1>&4
  2203.     :
  2204.   else
  2205. !   /bin/echo "$ac_t""no" 1>&4
  2206.   LIBOBJS="$LIBOBJS ${ac_func}.o"
  2207.   fi
  2208.   
  2209. ***************
  2210. *** 1839,1850 ****
  2211.   
  2212.   for ac_func in fchdir getcwd strerror
  2213.   do
  2214. ! echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2215.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2216. !   echo $ac_n "(cached) $ac_c" 1>&4
  2217.   else
  2218.     cat > conftest.$ac_ext <<EOF
  2219. ! #line 1848 "configure"
  2220.   #include "confdefs.h"
  2221.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2222.   /* Override any gcc2 internal prototype to avoid an error.  */
  2223. --- 1841,1852 ----
  2224.   
  2225.   for ac_func in fchdir getcwd strerror
  2226.   do
  2227. ! /bin/echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  2228.   if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  2229. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2230.   else
  2231.     cat > conftest.$ac_ext <<EOF
  2232. ! #line 1850 "configure"
  2233.   #include "confdefs.h"
  2234.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2235.   /* Override any gcc2 internal prototype to avoid an error.  */
  2236. ***************
  2237. *** 1875,1900 ****
  2238.   
  2239.   fi
  2240.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2241. !   echo "$ac_t""yes" 1>&4
  2242. !     ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  2243.     cat >> confdefs.h <<EOF
  2244.   #define $ac_tr_func 1
  2245.   EOF
  2246.    
  2247.   else
  2248. !   echo "$ac_t""no" 1>&4
  2249.   fi
  2250.   done
  2251.   
  2252.   # strftime is in -lintl on SCO UNIX.
  2253. ! echo $ac_n "checking for -lintl""... $ac_c" 1>&4
  2254.   if eval "test \"`echo '${'ac_cv_lib_intl'+set}'`\" = set"; then
  2255. !   echo $ac_n "(cached) $ac_c" 1>&4
  2256.   else
  2257.     ac_save_LIBS="$LIBS"
  2258.   LIBS="$LIBS -lintl "
  2259.   cat > conftest.$ac_ext <<EOF
  2260. ! #line 1898 "configure"
  2261.   #include "confdefs.h"
  2262.   
  2263.   int main() { return 0; }
  2264. --- 1877,1902 ----
  2265.   
  2266.   fi
  2267.   if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  2268. !   /bin/echo "$ac_t""yes" 1>&4
  2269. !     ac_tr_func=HAVE_`/bin/echo $ac_func | tr '[a-z]' '[A-Z]'`
  2270.     cat >> confdefs.h <<EOF
  2271.   #define $ac_tr_func 1
  2272.   EOF
  2273.    
  2274.   else
  2275. !   /bin/echo "$ac_t""no" 1>&4
  2276.   fi
  2277.   done
  2278.   
  2279.   # strftime is in -lintl on SCO UNIX.
  2280. ! /bin/echo $ac_n "checking for -lintl""... $ac_c" 1>&4
  2281.   if eval "test \"`echo '${'ac_cv_lib_intl'+set}'`\" = set"; then
  2282. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2283.   else
  2284.     ac_save_LIBS="$LIBS"
  2285.   LIBS="$LIBS -lintl "
  2286.   cat > conftest.$ac_ext <<EOF
  2287. ! #line 1900 "configure"
  2288.   #include "confdefs.h"
  2289.   
  2290.   int main() { return 0; }
  2291. ***************
  2292. *** 1914,1931 ****
  2293.   
  2294.   fi
  2295.   if eval "test \"`echo '$ac_cv_lib_'intl`\" = yes"; then
  2296. !   echo "$ac_t""yes" 1>&4
  2297.     LIBS="$LIBS -lintl"
  2298.   else
  2299. !   echo "$ac_t""no" 1>&4
  2300.   fi
  2301.   
  2302. ! echo $ac_n "checking for strftime""... $ac_c" 1>&4
  2303.   if eval "test \"`echo '${'ac_cv_func_strftime'+set}'`\" = set"; then
  2304. !   echo $ac_n "(cached) $ac_c" 1>&4
  2305.   else
  2306.     cat > conftest.$ac_ext <<EOF
  2307. ! #line 1929 "configure"
  2308.   #include "confdefs.h"
  2309.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2310.   /* Override any gcc2 internal prototype to avoid an error.  */
  2311. --- 1916,1933 ----
  2312.   
  2313.   fi
  2314.   if eval "test \"`echo '$ac_cv_lib_'intl`\" = yes"; then
  2315. !   /bin/echo "$ac_t""yes" 1>&4
  2316.     LIBS="$LIBS -lintl"
  2317.   else
  2318. !   /bin/echo "$ac_t""no" 1>&4
  2319.   fi
  2320.   
  2321. ! /bin/echo $ac_n "checking for strftime""... $ac_c" 1>&4
  2322.   if eval "test \"`echo '${'ac_cv_func_strftime'+set}'`\" = set"; then
  2323. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2324.   else
  2325.     cat > conftest.$ac_ext <<EOF
  2326. ! #line 1931 "configure"
  2327.   #include "confdefs.h"
  2328.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2329.   /* Override any gcc2 internal prototype to avoid an error.  */
  2330. ***************
  2331. *** 1956,1976 ****
  2332.   
  2333.   fi
  2334.   if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
  2335. !   echo "$ac_t""yes" 1>&4
  2336.     cat >> confdefs.h <<\EOF
  2337.   #define HAVE_STRFTIME 1
  2338.   EOF
  2339.   
  2340.   else
  2341. !   echo "$ac_t""no" 1>&4
  2342.   fi
  2343.   
  2344. ! echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2345.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2346. !   echo $ac_n "(cached) $ac_c" 1>&4
  2347.   else
  2348.     cat > conftest.$ac_ext <<EOF
  2349. ! #line 1974 "configure"
  2350.   #include "confdefs.h"
  2351.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2352.   /* Override any gcc2 internal prototype to avoid an error.  */
  2353. --- 1958,1978 ----
  2354.   
  2355.   fi
  2356.   if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then
  2357. !   /bin/echo "$ac_t""yes" 1>&4
  2358.     cat >> confdefs.h <<\EOF
  2359.   #define HAVE_STRFTIME 1
  2360.   EOF
  2361.   
  2362.   else
  2363. !   /bin/echo "$ac_t""no" 1>&4
  2364.   fi
  2365.   
  2366. ! /bin/echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  2367.   if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  2368. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2369.   else
  2370.     cat > conftest.$ac_ext <<EOF
  2371. ! #line 1976 "configure"
  2372.   #include "confdefs.h"
  2373.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2374.   /* Override any gcc2 internal prototype to avoid an error.  */
  2375. ***************
  2376. *** 2001,2022 ****
  2377.   
  2378.   fi
  2379.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2380. !   echo "$ac_t""yes" 1>&4
  2381.     cat >> confdefs.h <<\EOF
  2382.   #define HAVE_VPRINTF 1
  2383.   EOF
  2384.   
  2385.   else
  2386. !   echo "$ac_t""no" 1>&4
  2387.   fi
  2388.   
  2389.   if test "$ac_cv_func_vprintf" != yes; then
  2390. ! echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2391.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2392. !   echo $ac_n "(cached) $ac_c" 1>&4
  2393.   else
  2394.     cat > conftest.$ac_ext <<EOF
  2395. ! #line 2020 "configure"
  2396.   #include "confdefs.h"
  2397.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2398.   /* Override any gcc2 internal prototype to avoid an error.  */
  2399. --- 2003,2024 ----
  2400.   
  2401.   fi
  2402.   if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  2403. !   /bin/echo "$ac_t""yes" 1>&4
  2404.     cat >> confdefs.h <<\EOF
  2405.   #define HAVE_VPRINTF 1
  2406.   EOF
  2407.   
  2408.   else
  2409. !   /bin/echo "$ac_t""no" 1>&4
  2410.   fi
  2411.   
  2412.   if test "$ac_cv_func_vprintf" != yes; then
  2413. ! /bin/echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  2414.   if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  2415. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2416.   else
  2417.     cat > conftest.$ac_ext <<EOF
  2418. ! #line 2022 "configure"
  2419.   #include "confdefs.h"
  2420.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2421.   /* Override any gcc2 internal prototype to avoid an error.  */
  2422. ***************
  2423. *** 2047,2071 ****
  2424.   
  2425.   fi
  2426.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2427. !   echo "$ac_t""yes" 1>&4
  2428.     cat >> confdefs.h <<\EOF
  2429.   #define HAVE_DOPRNT 1
  2430.   EOF
  2431.   
  2432.   else
  2433. !   echo "$ac_t""no" 1>&4
  2434.   fi
  2435.   
  2436.   fi
  2437.   
  2438.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  2439.   # for constant arguments.  Useless!
  2440. ! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  2441.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  2442. !   echo $ac_n "(cached) $ac_c" 1>&4
  2443.   else
  2444.     cat > conftest.$ac_ext <<EOF
  2445. ! #line 2069 "configure"
  2446.   #include "confdefs.h"
  2447.   #include <alloca.h>
  2448.   int main() { return 0; }
  2449. --- 2049,2073 ----
  2450.   
  2451.   fi
  2452.   if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  2453. !   /bin/echo "$ac_t""yes" 1>&4
  2454.     cat >> confdefs.h <<\EOF
  2455.   #define HAVE_DOPRNT 1
  2456.   EOF
  2457.   
  2458.   else
  2459. !   /bin/echo "$ac_t""no" 1>&4
  2460.   fi
  2461.   
  2462.   fi
  2463.   
  2464.   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  2465.   # for constant arguments.  Useless!
  2466. ! /bin/echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  2467.   if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  2468. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2469.   else
  2470.     cat > conftest.$ac_ext <<EOF
  2471. ! #line 2071 "configure"
  2472.   #include "confdefs.h"
  2473.   #include <alloca.h>
  2474.   int main() { return 0; }
  2475. ***************
  2476. *** 2083,2089 ****
  2477.   rm -f conftest*
  2478.   
  2479.   fi
  2480. ! echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  2481.   if test $ac_cv_header_alloca_h = yes; then
  2482.     cat >> confdefs.h <<\EOF
  2483.   #define HAVE_ALLOCA_H 1
  2484. --- 2085,2091 ----
  2485.   rm -f conftest*
  2486.   
  2487.   fi
  2488. ! /bin/echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  2489.   if test $ac_cv_header_alloca_h = yes; then
  2490.     cat >> confdefs.h <<\EOF
  2491.   #define HAVE_ALLOCA_H 1
  2492. ***************
  2493. *** 2091,2102 ****
  2494.   
  2495.   fi
  2496.   
  2497. ! echo $ac_n "checking for alloca""... $ac_c" 1>&4
  2498.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  2499. !   echo $ac_n "(cached) $ac_c" 1>&4
  2500.   else
  2501.     cat > conftest.$ac_ext <<EOF
  2502. ! #line 2100 "configure"
  2503.   #include "confdefs.h"
  2504.   
  2505.   #ifdef __GNUC__
  2506. --- 2093,2104 ----
  2507.   
  2508.   fi
  2509.   
  2510. ! /bin/echo $ac_n "checking for alloca""... $ac_c" 1>&4
  2511.   if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  2512. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2513.   else
  2514.     cat > conftest.$ac_ext <<EOF
  2515. ! #line 2102 "configure"
  2516.   #include "confdefs.h"
  2517.   
  2518.   #ifdef __GNUC__
  2519. ***************
  2520. *** 2130,2136 ****
  2521.   rm -f conftest*
  2522.   
  2523.   fi
  2524. ! echo "$ac_t""$ac_cv_func_alloca" 1>&4
  2525.   if test $ac_cv_func_alloca = yes; then
  2526.     cat >> confdefs.h <<\EOF
  2527.   #define HAVE_ALLOCA 1
  2528. --- 2132,2138 ----
  2529.   rm -f conftest*
  2530.   
  2531.   fi
  2532. ! /bin/echo "$ac_t""$ac_cv_func_alloca" 1>&4
  2533.   if test $ac_cv_func_alloca = yes; then
  2534.     cat >> confdefs.h <<\EOF
  2535.   #define HAVE_ALLOCA 1
  2536. ***************
  2537. *** 2149,2160 ****
  2538.   EOF
  2539.   
  2540.   
  2541. ! echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  2542.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  2543. !   echo $ac_n "(cached) $ac_c" 1>&4
  2544.   else
  2545.     cat > conftest.$ac_ext <<EOF
  2546. ! #line 2158 "configure"
  2547.   #include "confdefs.h"
  2548.   #if defined(CRAY) && ! defined(CRAY2)
  2549.   webecray
  2550. --- 2151,2162 ----
  2551.   EOF
  2552.   
  2553.   
  2554. ! /bin/echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  2555.   if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  2556. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2557.   else
  2558.     cat > conftest.$ac_ext <<EOF
  2559. ! #line 2160 "configure"
  2560.   #include "confdefs.h"
  2561.   #if defined(CRAY) && ! defined(CRAY2)
  2562.   webecray
  2563. ***************
  2564. *** 2174,2187 ****
  2565.   rm -f conftest*
  2566.   
  2567.   fi
  2568. ! echo "$ac_t""$ac_cv_os_cray" 1>&4
  2569.   if test $ac_cv_os_cray = yes; then
  2570. ! echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  2571.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  2572. !   echo $ac_n "(cached) $ac_c" 1>&4
  2573.   else
  2574.     cat > conftest.$ac_ext <<EOF
  2575. ! #line 2185 "configure"
  2576.   #include "confdefs.h"
  2577.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2578.   /* Override any gcc2 internal prototype to avoid an error.  */
  2579. --- 2176,2189 ----
  2580.   rm -f conftest*
  2581.   
  2582.   fi
  2583. ! /bin/echo "$ac_t""$ac_cv_os_cray" 1>&4
  2584.   if test $ac_cv_os_cray = yes; then
  2585. ! /bin/echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  2586.   if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  2587. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2588.   else
  2589.     cat > conftest.$ac_ext <<EOF
  2590. ! #line 2187 "configure"
  2591.   #include "confdefs.h"
  2592.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2593.   /* Override any gcc2 internal prototype to avoid an error.  */
  2594. ***************
  2595. *** 2212,2230 ****
  2596.   
  2597.   fi
  2598.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  2599. !   echo "$ac_t""yes" 1>&4
  2600.     cat >> confdefs.h <<\EOF
  2601.   #define CRAY_STACKSEG_END _getb67
  2602.   EOF
  2603.   
  2604.   else
  2605. !   echo "$ac_t""no" 1>&4
  2606. ! echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  2607.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  2608. !   echo $ac_n "(cached) $ac_c" 1>&4
  2609.   else
  2610.     cat > conftest.$ac_ext <<EOF
  2611. ! #line 2228 "configure"
  2612.   #include "confdefs.h"
  2613.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2614.   /* Override any gcc2 internal prototype to avoid an error.  */
  2615. --- 2214,2232 ----
  2616.   
  2617.   fi
  2618.   if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  2619. !   /bin/echo "$ac_t""yes" 1>&4
  2620.     cat >> confdefs.h <<\EOF
  2621.   #define CRAY_STACKSEG_END _getb67
  2622.   EOF
  2623.   
  2624.   else
  2625. !   /bin/echo "$ac_t""no" 1>&4
  2626. ! /bin/echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  2627.   if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  2628. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2629.   else
  2630.     cat > conftest.$ac_ext <<EOF
  2631. ! #line 2230 "configure"
  2632.   #include "confdefs.h"
  2633.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2634.   /* Override any gcc2 internal prototype to avoid an error.  */
  2635. ***************
  2636. *** 2255,2273 ****
  2637.   
  2638.   fi
  2639.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  2640. !   echo "$ac_t""yes" 1>&4
  2641.     cat >> confdefs.h <<\EOF
  2642.   #define CRAY_STACKSEG_END GETB67
  2643.   EOF
  2644.   
  2645.   else
  2646. !   echo "$ac_t""no" 1>&4
  2647. ! echo $ac_n "checking for getb67""... $ac_c" 1>&4
  2648.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  2649. !   echo $ac_n "(cached) $ac_c" 1>&4
  2650.   else
  2651.     cat > conftest.$ac_ext <<EOF
  2652. ! #line 2271 "configure"
  2653.   #include "confdefs.h"
  2654.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2655.   /* Override any gcc2 internal prototype to avoid an error.  */
  2656. --- 2257,2275 ----
  2657.   
  2658.   fi
  2659.   if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  2660. !   /bin/echo "$ac_t""yes" 1>&4
  2661.     cat >> confdefs.h <<\EOF
  2662.   #define CRAY_STACKSEG_END GETB67
  2663.   EOF
  2664.   
  2665.   else
  2666. !   /bin/echo "$ac_t""no" 1>&4
  2667. ! /bin/echo $ac_n "checking for getb67""... $ac_c" 1>&4
  2668.   if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  2669. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2670.   else
  2671.     cat > conftest.$ac_ext <<EOF
  2672. ! #line 2273 "configure"
  2673.   #include "confdefs.h"
  2674.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2675.   /* Override any gcc2 internal prototype to avoid an error.  */
  2676. ***************
  2677. *** 2298,2310 ****
  2678.   
  2679.   fi
  2680.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2681. !   echo "$ac_t""yes" 1>&4
  2682.     cat >> confdefs.h <<\EOF
  2683.   #define CRAY_STACKSEG_END getb67
  2684.   EOF
  2685.   
  2686.   else
  2687. !   echo "$ac_t""no" 1>&4
  2688.   fi
  2689.   
  2690.   fi
  2691. --- 2300,2312 ----
  2692.   
  2693.   fi
  2694.   if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  2695. !   /bin/echo "$ac_t""yes" 1>&4
  2696.     cat >> confdefs.h <<\EOF
  2697.   #define CRAY_STACKSEG_END getb67
  2698.   EOF
  2699.   
  2700.   else
  2701. !   /bin/echo "$ac_t""no" 1>&4
  2702.   fi
  2703.   
  2704.   fi
  2705. ***************
  2706. *** 2313,2327 ****
  2707.   
  2708.   fi
  2709.   
  2710. ! echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2711.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2712. !   echo $ac_n "(cached) $ac_c" 1>&4
  2713.   else
  2714.     if test "$cross_compiling" = yes; then
  2715.     ac_cv_c_stack_direction=0
  2716.   else
  2717.   cat > conftest.$ac_ext <<EOF
  2718. ! #line 2325 "configure"
  2719.   #include "confdefs.h"
  2720.   find_stack_direction ()
  2721.   {
  2722. --- 2315,2329 ----
  2723.   
  2724.   fi
  2725.   
  2726. ! /bin/echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  2727.   if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  2728. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2729.   else
  2730.     if test "$cross_compiling" = yes; then
  2731.     ac_cv_c_stack_direction=0
  2732.   else
  2733.   cat > conftest.$ac_ext <<EOF
  2734. ! #line 2327 "configure"
  2735.   #include "confdefs.h"
  2736.   find_stack_direction ()
  2737.   {
  2738. ***************
  2739. *** 2349,2355 ****
  2740.   fi
  2741.   rm -fr conftest*
  2742.   fi
  2743. ! echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2744.   cat >> confdefs.h <<EOF
  2745.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2746.   EOF
  2747. --- 2351,2357 ----
  2748.   fi
  2749.   rm -fr conftest*
  2750.   fi
  2751. ! /bin/echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  2752.   cat >> confdefs.h <<EOF
  2753.   #define STACK_DIRECTION $ac_cv_c_stack_direction
  2754.   EOF
  2755. ***************
  2756. *** 2357,2370 ****
  2757.   fi
  2758.   
  2759.   # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX.
  2760. ! echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  2761.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  2762. !   echo $ac_n "(cached) $ac_c" 1>&4
  2763.   else
  2764.     ac_save_LIBS="$LIBS"
  2765.   LIBS="$LIBS -lsun "
  2766.   cat > conftest.$ac_ext <<EOF
  2767. ! #line 2368 "configure"
  2768.   #include "confdefs.h"
  2769.   
  2770.   int main() { return 0; }
  2771. --- 2359,2372 ----
  2772.   fi
  2773.   
  2774.   # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX.
  2775. ! /bin/echo $ac_n "checking for -lsun""... $ac_c" 1>&4
  2776.   if eval "test \"`echo '${'ac_cv_lib_sun'+set}'`\" = set"; then
  2777. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2778.   else
  2779.     ac_save_LIBS="$LIBS"
  2780.   LIBS="$LIBS -lsun "
  2781.   cat > conftest.$ac_ext <<EOF
  2782. ! #line 2370 "configure"
  2783.   #include "confdefs.h"
  2784.   
  2785.   int main() { return 0; }
  2786. ***************
  2787. *** 2384,2401 ****
  2788.   
  2789.   fi
  2790.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  2791. !   echo "$ac_t""yes" 1>&4
  2792.     LIBS="$LIBS -lsun"
  2793.   else
  2794. !   echo "$ac_t""no" 1>&4
  2795. ! echo $ac_n "checking for -lseq""... $ac_c" 1>&4
  2796.   if eval "test \"`echo '${'ac_cv_lib_seq'+set}'`\" = set"; then
  2797. !   echo $ac_n "(cached) $ac_c" 1>&4
  2798.   else
  2799.     ac_save_LIBS="$LIBS"
  2800.   LIBS="$LIBS -lseq "
  2801.   cat > conftest.$ac_ext <<EOF
  2802. ! #line 2399 "configure"
  2803.   #include "confdefs.h"
  2804.   
  2805.   int main() { return 0; }
  2806. --- 2386,2403 ----
  2807.   
  2808.   fi
  2809.   if eval "test \"`echo '$ac_cv_lib_'sun`\" = yes"; then
  2810. !   /bin/echo "$ac_t""yes" 1>&4
  2811.     LIBS="$LIBS -lsun"
  2812.   else
  2813. !   /bin/echo "$ac_t""no" 1>&4
  2814. ! /bin/echo $ac_n "checking for -lseq""... $ac_c" 1>&4
  2815.   if eval "test \"`echo '${'ac_cv_lib_seq'+set}'`\" = set"; then
  2816. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2817.   else
  2818.     ac_save_LIBS="$LIBS"
  2819.   LIBS="$LIBS -lseq "
  2820.   cat > conftest.$ac_ext <<EOF
  2821. ! #line 2401 "configure"
  2822.   #include "confdefs.h"
  2823.   
  2824.   int main() { return 0; }
  2825. ***************
  2826. *** 2415,2434 ****
  2827.   
  2828.   fi
  2829.   if eval "test \"`echo '$ac_cv_lib_'seq`\" = yes"; then
  2830. !   echo "$ac_t""yes" 1>&4
  2831.     LIBS="$LIBS -lseq"
  2832.   else
  2833. !   echo "$ac_t""no" 1>&4
  2834.   fi
  2835.   
  2836.   fi
  2837.   
  2838. ! echo $ac_n "checking for getmntent""... $ac_c" 1>&4
  2839.   if eval "test \"`echo '${'ac_cv_func_getmntent'+set}'`\" = set"; then
  2840. !   echo $ac_n "(cached) $ac_c" 1>&4
  2841.   else
  2842.     cat > conftest.$ac_ext <<EOF
  2843. ! #line 2432 "configure"
  2844.   #include "confdefs.h"
  2845.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2846.   /* Override any gcc2 internal prototype to avoid an error.  */
  2847. --- 2417,2436 ----
  2848.   
  2849.   fi
  2850.   if eval "test \"`echo '$ac_cv_lib_'seq`\" = yes"; then
  2851. !   /bin/echo "$ac_t""yes" 1>&4
  2852.     LIBS="$LIBS -lseq"
  2853.   else
  2854. !   /bin/echo "$ac_t""no" 1>&4
  2855.   fi
  2856.   
  2857.   fi
  2858.   
  2859. ! /bin/echo $ac_n "checking for getmntent""... $ac_c" 1>&4
  2860.   if eval "test \"`echo '${'ac_cv_func_getmntent'+set}'`\" = set"; then
  2861. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2862.   else
  2863.     cat > conftest.$ac_ext <<EOF
  2864. ! #line 2434 "configure"
  2865.   #include "confdefs.h"
  2866.   #include <ctype.h> /* Arbitrary system header to define __stub macros. */
  2867.   /* Override any gcc2 internal prototype to avoid an error.  */
  2868. ***************
  2869. *** 2459,2482 ****
  2870.   
  2871.   fi
  2872.   if eval "test \"`echo '$ac_cv_func_'getmntent`\" = yes"; then
  2873. !   echo "$ac_t""yes" 1>&4
  2874.     cat >> confdefs.h <<\EOF
  2875.   #define HAVE_GETMNTENT 1
  2876.   EOF
  2877.   
  2878.   else
  2879. !   echo "$ac_t""no" 1>&4
  2880.   fi
  2881.   
  2882. ! echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  2883.   if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  2884. !   echo $ac_n "(cached) $ac_c" 1>&4
  2885.   else
  2886.     if test "$cross_compiling" = yes; then
  2887.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2888.   else
  2889.   cat > conftest.$ac_ext <<EOF
  2890. ! #line 2480 "configure"
  2891.   #include "confdefs.h"
  2892.   #include <sys/types.h>
  2893.   #include <$ac_header_dirent>
  2894. --- 2461,2484 ----
  2895.   
  2896.   fi
  2897.   if eval "test \"`echo '$ac_cv_func_'getmntent`\" = yes"; then
  2898. !   /bin/echo "$ac_t""yes" 1>&4
  2899.     cat >> confdefs.h <<\EOF
  2900.   #define HAVE_GETMNTENT 1
  2901.   EOF
  2902.   
  2903.   else
  2904. !   /bin/echo "$ac_t""no" 1>&4
  2905.   fi
  2906.   
  2907. ! /bin/echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&4
  2908.   if eval "test \"`echo '${'ac_cv_func_closedir_void'+set}'`\" = set"; then
  2909. !   /bin/echo $ac_n "(cached) $ac_c" 1>&4
  2910.   else
  2911.     if test "$cross_compiling" = yes; then
  2912.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  2913.   else
  2914.   cat > conftest.$ac_ext <<EOF
  2915. ! #line 2482 "configure"
  2916.   #include "confdefs.h"
  2917.   #include <sys/types.h>
  2918.   #include <$ac_header_dirent>
  2919. ***************
  2920. *** 2491,2497 ****
  2921.   fi
  2922.   rm -fr conftest*
  2923.   fi
  2924. ! echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2925.   if test $ac_cv_func_closedir_void = yes; then
  2926.     cat >> confdefs.h <<\EOF
  2927.   #define CLOSEDIR_VOID 1
  2928. --- 2493,2499 ----
  2929.   fi
  2930.   rm -fr conftest*
  2931.   fi
  2932. ! /bin/echo "$ac_t""$ac_cv_func_closedir_void" 1>&4
  2933.   if test $ac_cv_func_closedir_void = yes; then
  2934.     cat >> confdefs.h <<\EOF
  2935.   #define CLOSEDIR_VOID 1
  2936. ***************
  2937. *** 2548,2554 ****
  2938.   : ${CONFIG_STATUS=./config.status}
  2939.   
  2940.   echo creating $CONFIG_STATUS
  2941. ! rm -f $CONFIG_STATUS
  2942.   cat > $CONFIG_STATUS <<EOF
  2943.   #!/bin/sh
  2944.   # Generated automatically by configure.
  2945. --- 2550,2558 ----
  2946.   : ${CONFIG_STATUS=./config.status}
  2947.   
  2948.   echo creating $CONFIG_STATUS
  2949. ! # Some systems, like AmigaDOS, won't allow you to remove a script that is
  2950. ! # being executed, so just move it out of the way instead.
  2951. ! if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  2952.   cat > $CONFIG_STATUS <<EOF
  2953.   #!/bin/sh
  2954.   # Generated automatically by configure.
  2955. ***************
  2956. *** 2569,2575 ****
  2957.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2958.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2959.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2960. !     echo "$CONFIG_STATUS generated by autoconf version 2.1"
  2961.       exit 0 ;;
  2962.     -help | --help | --hel | --he | --h)
  2963.       echo "\$ac_cs_usage"; exit 0 ;;
  2964. --- 2573,2579 ----
  2965.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2966.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2967.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2968. !     /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
  2969.       exit 0 ;;
  2970.     -help | --help | --hel | --he | --h)
  2971.       echo "\$ac_cs_usage"; exit 0 ;;
  2972. ***************
  2973. *** 2618,2638 ****
  2974.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2975.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2976.     case "$ac_file" in
  2977. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  2978. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2979.     *) ac_file_in="${ac_file}.in" ;;
  2980.     esac
  2981.   
  2982.     # Adjust relative srcdir, etc. for subdirectories.
  2983.   
  2984.     # Remove last slash and all that follows it.  Not all systems have dirname.
  2985. !   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2986.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2987.       # The file is in a subdirectory.
  2988.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  2989.       ac_dir_suffix="/$ac_dir"
  2990.       # A "../" for each directory in $ac_dir_suffix.
  2991. !     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2992.     else
  2993.       ac_dir_suffix= ac_dots=
  2994.     fi
  2995. --- 2622,2642 ----
  2996.   for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2997.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  2998.     case "$ac_file" in
  2999. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  3000. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  3001.     *) ac_file_in="${ac_file}.in" ;;
  3002.     esac
  3003.   
  3004.     # Adjust relative srcdir, etc. for subdirectories.
  3005.   
  3006.     # Remove last slash and all that follows it.  Not all systems have dirname.
  3007. !   ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
  3008.     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3009.       # The file is in a subdirectory.
  3010.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  3011.       ac_dir_suffix="/$ac_dir"
  3012.       # A "../" for each directory in $ac_dir_suffix.
  3013. !     ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  3014.     else
  3015.       ac_dir_suffix= ac_dots=
  3016.     fi
  3017. ***************
  3018. *** 2640,2646 ****
  3019.     case "$ac_given_srcdir" in
  3020.     .)  srcdir=.
  3021.         if test -z "$ac_dots"; then top_srcdir=.
  3022. !       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  3023.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  3024.     *) # Relative path.
  3025.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  3026. --- 2644,2650 ----
  3027.     case "$ac_given_srcdir" in
  3028.     .)  srcdir=.
  3029.         if test -z "$ac_dots"; then top_srcdir=.
  3030. !       else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
  3031.     /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  3032.     *) # Relative path.
  3033.       srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  3034. ***************
  3035. *** 2653,2659 ****
  3036.     esac
  3037.     echo creating "$ac_file"
  3038.     rm -f "$ac_file"
  3039. !   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  3040.     case "$ac_file" in
  3041.     *Makefile*) ac_comsub="1i\\
  3042.   # $configure_input" ;;
  3043. --- 2657,2663 ----
  3044.     esac
  3045.     echo creating "$ac_file"
  3046.     rm -f "$ac_file"
  3047. !   configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
  3048.     case "$ac_file" in
  3049.     *Makefile*) ac_comsub="1i\\
  3050.   # $configure_input" ;;
  3051. ***************
  3052. *** 2691,2698 ****
  3053.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  3054.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3055.     case "$ac_file" in
  3056. !   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  3057. !        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  3058.     *) ac_file_in="${ac_file}.in" ;;
  3059.     esac
  3060.   
  3061. --- 2695,2702 ----
  3062.   for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  3063.     # Support "outfile[:infile]", defaulting infile="outfile.in".
  3064.     case "$ac_file" in
  3065. !   *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
  3066. !        ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
  3067.     *) ac_file_in="${ac_file}.in" ;;
  3068.     esac
  3069.   
  3070. ***************
  3071. *** 2756,2762 ****
  3072.     cat conftest.in >> conftest.h
  3073.     rm -f conftest.in
  3074.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  3075. !     echo "$ac_file is unchanged"
  3076.       rm -f conftest.h
  3077.     else
  3078.       rm -f $ac_file
  3079. --- 2760,2766 ----
  3080.     cat conftest.in >> conftest.h
  3081.     rm -f conftest.in
  3082.     if cmp -s $ac_file conftest.h 2>/dev/null; then
  3083. !     /bin/echo "$ac_file is unchanged"
  3084.       rm -f conftest.h
  3085.     else
  3086.       rm -f $ac_file
  3087. diff -rc --new-file findutils-4.1/doc/Makefile.in /gnu/src/amiga/findutils-4.1/doc/Makefile.in
  3088. *** findutils-4.1/doc/Makefile.in    Sat Nov  5 14:44:12 1994
  3089. --- /gnu/src/amiga/findutils-4.1/doc/Makefile.in    Thu Nov 17 11:11:58 1994
  3090. ***************
  3091. *** 25,36 ****
  3092.   
  3093.   bindir = $(exec_prefix)/bin
  3094.   sbindir = $(exec_prefix)/sbin
  3095. - libexecdir = $(exec_prefix)/libexec
  3096.   datadir = $(prefix)/share
  3097.   sysconfdir = $(prefix)/etc
  3098.   sharedstatedir = $(prefix)/com
  3099. ! localstatedir = $(prefix)/var
  3100.   libdir = $(exec_prefix)/lib
  3101.   infodir = $(prefix)/info
  3102.   mandir = $(prefix)/man
  3103.   includedir = $(prefix)/include
  3104. --- 25,39 ----
  3105.   
  3106.   bindir = $(exec_prefix)/bin
  3107.   sbindir = $(exec_prefix)/sbin
  3108.   datadir = $(prefix)/share
  3109.   sysconfdir = $(prefix)/etc
  3110.   sharedstatedir = $(prefix)/com
  3111. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3112. ! localstatedir = /local/var
  3113.   libdir = $(exec_prefix)/lib
  3114. + # It seems hokey to me to have the libexec dir visible at what is the
  3115. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3116. + libexecdir = $(libdir)/libexec
  3117.   infodir = $(prefix)/info
  3118.   mandir = $(prefix)/man
  3119.   includedir = $(prefix)/include
  3120. diff -rc --new-file findutils-4.1/find/Makefile.in /gnu/src/amiga/findutils-4.1/find/Makefile.in
  3121. *** findutils-4.1/find/Makefile.in    Sat Nov  5 14:43:52 1994
  3122. --- /gnu/src/amiga/findutils-4.1/find/Makefile.in    Thu Nov 17 11:11:20 1994
  3123. ***************
  3124. *** 25,36 ****
  3125.   
  3126.   bindir = $(exec_prefix)/bin
  3127.   sbindir = $(exec_prefix)/sbin
  3128. - libexecdir = $(exec_prefix)/libexec
  3129.   datadir = $(prefix)/share
  3130.   sysconfdir = $(prefix)/etc
  3131.   sharedstatedir = $(prefix)/com
  3132. ! localstatedir = $(prefix)/var
  3133.   libdir = $(exec_prefix)/lib
  3134.   infodir = $(prefix)/info
  3135.   mandir = $(prefix)/man
  3136.   includedir = $(prefix)/include
  3137. --- 25,39 ----
  3138.   
  3139.   bindir = $(exec_prefix)/bin
  3140.   sbindir = $(exec_prefix)/sbin
  3141.   datadir = $(prefix)/share
  3142.   sysconfdir = $(prefix)/etc
  3143.   sharedstatedir = $(prefix)/com
  3144. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3145. ! localstatedir = /local/var
  3146.   libdir = $(exec_prefix)/lib
  3147. + # It seems hokey to me to have the libexec dir visible at what is the
  3148. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3149. + libexecdir = $(libdir)/libexec
  3150.   infodir = $(prefix)/info
  3151.   mandir = $(prefix)/man
  3152.   includedir = $(prefix)/include
  3153. diff -rc --new-file findutils-4.1/find/find.c /gnu/src/amiga/findutils-4.1/find/find.c
  3154. *** findutils-4.1/find/find.c    Wed Oct 12 21:21:11 1994
  3155. --- /gnu/src/amiga/findutils-4.1/find/find.c    Sat Nov 12 08:47:34 1994
  3156. ***************
  3157. *** 131,137 ****
  3158.   }
  3159.   #endif /* DEBUG_STAT */
  3160.   
  3161. ! void
  3162.   main (argc, argv)
  3163.        int argc;
  3164.        char *argv[];
  3165. --- 131,137 ----
  3166.   }
  3167.   #endif /* DEBUG_STAT */
  3168.   
  3169. ! int
  3170.   main (argc, argv)
  3171.        int argc;
  3172.        char *argv[];
  3173. diff -rc --new-file findutils-4.1/find/fstype.c /gnu/src/amiga/findutils-4.1/find/fstype.c
  3174. *** findutils-4.1/find/fstype.c    Thu Nov  3 16:33:48 1994
  3175. --- /gnu/src/amiga/findutils-4.1/find/fstype.c    Sat Nov 12 09:38:56 1994
  3176. ***************
  3177. *** 48,55 ****
  3178. --- 48,66 ----
  3179.   #endif
  3180.   #endif
  3181.   
  3182. + /* The above "defs.h" includes "regex.h", which defines RE_DUP_MAX.  However
  3183. +    on some systems, <param.h> includes <sys/syslimits.h>, which wants to 
  3184. +    unconditionally define RE_DUP_MAX.  So to work around this problem, we
  3185. +    save the value set by regex.h and then restore it later after including
  3186. +    param.h.  This is a hack, but the alternative is to reorder the includes,
  3187. +    which is more dangerous. */
  3188. + #define RE_DUP_MAX_SAVE RE_DUP_MAX
  3189. + #undef RE_DUP_MAX
  3190.   #ifdef FSTYPE_GETMNT        /* Ultrix.  */
  3191.   #include <sys/param.h>
  3192. + #undef RE_DUP_MAX /* See notes above */
  3193. + #define RE_DUP_MAX RE_DUP_MAX_SAVE
  3194.   #include <sys/mount.h>
  3195.   #include <sys/fs_types.h>
  3196.   #endif
  3197. ***************
  3198. *** 66,71 ****
  3199. --- 77,84 ----
  3200.   
  3201.   #ifdef FSTYPE_STATFS        /* 4.4BSD.  */
  3202.   #include <sys/param.h>        /* NetBSD needs this.  */
  3203. + #undef RE_DUP_MAX /* See notes above */
  3204. + #define RE_DUP_MAX RE_DUP_MAX_SAVE
  3205.   #include <sys/mount.h>
  3206.   
  3207.   #ifndef MFSNAMELEN        /* NetBSD defines this.  */
  3208. diff -rc --new-file findutils-4.1/find/pred.c /gnu/src/amiga/findutils-4.1/find/pred.c
  3209. *** findutils-4.1/find/pred.c    Wed Nov  2 20:59:23 1994
  3210. --- /gnu/src/amiga/findutils-4.1/find/pred.c    Sat Nov 12 09:27:27 1994
  3211. ***************
  3212. *** 19,29 ****
  3213.   #include <sys/types.h>
  3214.   #include <sys/stat.h>
  3215.   #include <stdio.h>
  3216. - #include <fnmatch.h>
  3217.   #include <signal.h>
  3218.   #include <pwd.h>
  3219.   #include <grp.h>
  3220.   #include "defs.h"
  3221.   #include "modetype.h"
  3222.   #include "wait.h"
  3223.   
  3224. --- 19,32 ----
  3225.   #include <sys/types.h>
  3226.   #include <sys/stat.h>
  3227.   #include <stdio.h>
  3228.   #include <signal.h>
  3229.   #include <pwd.h>
  3230.   #include <grp.h>
  3231.   #include "defs.h"
  3232. + /* Put fnmatch.h after defs.h, since defs.h includes unistd.h, which on
  3233. +    some systems defines FNM_PATHNAME, which fnmatch.h then wants to undef
  3234. +    and do it's own way. */
  3235. + #include <fnmatch.h>
  3236.   #include "modetype.h"
  3237.   #include "wait.h"
  3238.   
  3239. ***************
  3240. *** 1337,1343 ****
  3241.         signal (SIGCHLD, SIG_DFL);
  3242.       }
  3243.   
  3244. !   child_pid = fork ();
  3245.     if (child_pid == -1)
  3246.       error (1, errno, "cannot fork");
  3247.     if (child_pid == 0)
  3248. --- 1340,1346 ----
  3249.         signal (SIGCHLD, SIG_DFL);
  3250.       }
  3251.   
  3252. !   child_pid = vfork ();
  3253.     if (child_pid == -1)
  3254.       error (1, errno, "cannot fork");
  3255.     if (child_pid == 0)
  3256. diff -rc --new-file findutils-4.1/lib/Makefile.in /gnu/src/amiga/findutils-4.1/lib/Makefile.in
  3257. *** findutils-4.1/lib/Makefile.in    Sat Nov  5 14:43:58 1994
  3258. --- /gnu/src/amiga/findutils-4.1/lib/Makefile.in    Thu Nov 17 11:10:37 1994
  3259. ***************
  3260. *** 25,36 ****
  3261.   
  3262.   bindir = $(exec_prefix)/bin
  3263.   sbindir = $(exec_prefix)/sbin
  3264. - libexecdir = $(exec_prefix)/libexec
  3265.   datadir = $(prefix)/share
  3266.   sysconfdir = $(prefix)/etc
  3267.   sharedstatedir = $(prefix)/com
  3268. ! localstatedir = $(prefix)/var
  3269.   libdir = $(exec_prefix)/lib
  3270.   infodir = $(prefix)/info
  3271.   mandir = $(prefix)/man
  3272.   includedir = $(prefix)/include
  3273. --- 25,39 ----
  3274.   
  3275.   bindir = $(exec_prefix)/bin
  3276.   sbindir = $(exec_prefix)/sbin
  3277.   datadir = $(prefix)/share
  3278.   sysconfdir = $(prefix)/etc
  3279.   sharedstatedir = $(prefix)/com
  3280. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3281. ! localstatedir = /local/var
  3282.   libdir = $(exec_prefix)/lib
  3283. + # It seems hokey to me to have the libexec dir visible at what is the
  3284. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3285. + libexecdir = $(libdir)/libexec
  3286.   infodir = $(prefix)/info
  3287.   mandir = $(prefix)/man
  3288.   includedir = $(prefix)/include
  3289. diff -rc --new-file findutils-4.1/lib/fnmatch.h /gnu/src/amiga/findutils-4.1/lib/fnmatch.h
  3290. *** findutils-4.1/lib/fnmatch.h    Mon Sep 26 22:03:58 1994
  3291. --- /gnu/src/amiga/findutils-4.1/lib/fnmatch.h    Sat Nov 12 08:47:36 1994
  3292. ***************
  3293. *** 41,46 ****
  3294. --- 41,50 ----
  3295.   #undef    FNM_NOESCAPE
  3296.   #undef    FNM_PERIOD
  3297.   
  3298. + #ifdef FNM_PATHNAME
  3299. + #undef FNM_PATHNAME    /* Defined in some <unistd.h> files?  -fnf */
  3300. + #endif
  3301.   /* Bits set in the FLAGS argument to `fnmatch'.  */
  3302.   #define    FNM_PATHNAME    (1 << 0) /* No wildcard can ever match `/'.  */
  3303.   #define    FNM_NOESCAPE    (1 << 1) /* Backslashes don't quote special chars.  */
  3304. diff -rc --new-file findutils-4.1/locate/Makefile.in /gnu/src/amiga/findutils-4.1/locate/Makefile.in
  3305. *** findutils-4.1/locate/Makefile.in    Sat Nov  5 14:44:08 1994
  3306. --- /gnu/src/amiga/findutils-4.1/locate/Makefile.in    Thu Nov 17 11:11:47 1994
  3307. ***************
  3308. *** 25,36 ****
  3309.   
  3310.   bindir = $(exec_prefix)/bin
  3311.   sbindir = $(exec_prefix)/sbin
  3312. - libexecdir = $(exec_prefix)/libexec
  3313.   datadir = $(prefix)/share
  3314.   sysconfdir = $(prefix)/etc
  3315.   sharedstatedir = $(prefix)/com
  3316. ! localstatedir = $(prefix)/var
  3317.   libdir = $(exec_prefix)/lib
  3318.   infodir = $(prefix)/info
  3319.   mandir = $(prefix)/man
  3320.   includedir = $(prefix)/include
  3321. --- 25,39 ----
  3322.   
  3323.   bindir = $(exec_prefix)/bin
  3324.   sbindir = $(exec_prefix)/sbin
  3325.   datadir = $(prefix)/share
  3326.   sysconfdir = $(prefix)/etc
  3327.   sharedstatedir = $(prefix)/com
  3328. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3329. ! localstatedir = /local/var
  3330.   libdir = $(exec_prefix)/lib
  3331. + # It seems hokey to me to have the libexec dir visible at what is the
  3332. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3333. + libexecdir = $(libdir)/libexec
  3334.   infodir = $(prefix)/info
  3335.   mandir = $(prefix)/man
  3336.   includedir = $(prefix)/include
  3337. diff -rc --new-file findutils-4.1/locate/bigram.c /gnu/src/amiga/findutils-4.1/locate/bigram.c
  3338. *** findutils-4.1/locate/bigram.c    Fri Oct  7 17:21:35 1994
  3339. --- /gnu/src/amiga/findutils-4.1/locate/bigram.c    Sat Nov 12 08:47:37 1994
  3340. ***************
  3341. *** 61,67 ****
  3342.     return s1 - start;
  3343.   }
  3344.   
  3345. ! void
  3346.   main (argc, argv)
  3347.        int argc;
  3348.        char **argv;
  3349. --- 61,67 ----
  3350.     return s1 - start;
  3351.   }
  3352.   
  3353. ! int
  3354.   main (argc, argv)
  3355.        int argc;
  3356.        char **argv;
  3357. diff -rc --new-file findutils-4.1/locate/code.c /gnu/src/amiga/findutils-4.1/locate/code.c
  3358. *** findutils-4.1/locate/code.c    Mon Sep 26 22:06:09 1994
  3359. --- /gnu/src/amiga/findutils-4.1/locate/code.c    Sat Nov 12 08:47:37 1994
  3360. ***************
  3361. *** 102,108 ****
  3362.     return s1 - start;
  3363.   }
  3364.   
  3365. ! void
  3366.   main (argc, argv)
  3367.        int argc;
  3368.        char **argv;
  3369. --- 102,108 ----
  3370.     return s1 - start;
  3371.   }
  3372.   
  3373. ! int
  3374.   main (argc, argv)
  3375.        int argc;
  3376.        char **argv;
  3377. diff -rc --new-file findutils-4.1/locate/frcode.c /gnu/src/amiga/findutils-4.1/locate/frcode.c
  3378. *** findutils-4.1/locate/frcode.c    Mon Sep 26 22:06:11 1994
  3379. --- /gnu/src/amiga/findutils-4.1/locate/frcode.c    Sat Nov 12 09:28:24 1994
  3380. ***************
  3381. *** 106,112 ****
  3382.     return s1 - start;
  3383.   }
  3384.   
  3385. - void
  3386.   main (argc, argv)
  3387.        int argc;
  3388.        char **argv;
  3389. --- 106,111 ----
  3390. diff -rc --new-file findutils-4.1/locate/locate.c /gnu/src/amiga/findutils-4.1/locate/locate.c
  3391. *** findutils-4.1/locate/locate.c    Mon Sep 26 22:06:14 1994
  3392. --- /gnu/src/amiga/findutils-4.1/locate/locate.c    Sat Nov 12 08:47:38 1994
  3393. ***************
  3394. *** 355,361 ****
  3395.     {NULL, no_argument, NULL, 0}
  3396.   };
  3397.   
  3398. ! void
  3399.   main (argc, argv)
  3400.        int argc;
  3401.        char **argv;
  3402. --- 355,361 ----
  3403.     {NULL, no_argument, NULL, 0}
  3404.   };
  3405.   
  3406. ! int
  3407.   main (argc, argv)
  3408.        int argc;
  3409.        char **argv;
  3410. diff -rc --new-file findutils-4.1/locate/updatedb.sh /gnu/src/amiga/findutils-4.1/locate/updatedb.sh
  3411. *** findutils-4.1/locate/updatedb.sh    Wed Oct  5 02:24:18 1994
  3412. --- /gnu/src/amiga/findutils-4.1/locate/updatedb.sh    Sat Nov 12 08:55:15 1994
  3413. ***************
  3414. *** 63,73 ****
  3415.   : ${LOCATE_DB=@LOCATE_DB@}
  3416.   
  3417.   # Directory to hold intermediate files.
  3418. ! if test -d /var/tmp; then
  3419. !   : ${TMPDIR=/var/tmp}
  3420. ! else
  3421. !   : ${TMPDIR=/usr/tmp}
  3422. ! fi
  3423.   
  3424.   # The user to search network directories as.
  3425.   : ${NETUSER=daemon}
  3426. --- 63,69 ----
  3427.   : ${LOCATE_DB=@LOCATE_DB@}
  3428.   
  3429.   # Directory to hold intermediate files.
  3430. ! : ${TMPDIR=/tmp}
  3431.   
  3432.   # The user to search network directories as.
  3433.   : ${NETUSER=daemon}
  3434. ***************
  3435. *** 84,90 ****
  3436.   : ${bigram=@bigram@}
  3437.   : ${code=@code@}
  3438.   
  3439. ! PATH=$LIBEXECDIR:$BINDIR:/usr/ucb:/bin:/usr/bin:$PATH export PATH
  3440.   
  3441.   # Make and code the file list.
  3442.   # Sort case insensitively for users' convenience.
  3443. --- 80,86 ----
  3444.   : ${bigram=@bigram@}
  3445.   : ${code=@code@}
  3446.   
  3447. ! PATH=$LIBEXECDIR:$BINDIR:/bin:$PATH export PATH
  3448.   
  3449.   # Make and code the file list.
  3450.   # Sort case insensitively for users' convenience.
  3451. diff -rc --new-file findutils-4.1/testsuite/Makefile.in /gnu/src/amiga/findutils-4.1/testsuite/Makefile.in
  3452. *** findutils-4.1/testsuite/Makefile.in    Sat Nov  5 14:44:25 1994
  3453. --- /gnu/src/amiga/findutils-4.1/testsuite/Makefile.in    Thu Nov 17 11:12:09 1994
  3454. ***************
  3455. *** 25,36 ****
  3456.   
  3457.   bindir = $(exec_prefix)/bin
  3458.   sbindir = $(exec_prefix)/sbin
  3459. - libexecdir = $(exec_prefix)/libexec
  3460.   datadir = $(prefix)/share
  3461.   sysconfdir = $(prefix)/etc
  3462.   sharedstatedir = $(prefix)/com
  3463. ! localstatedir = $(prefix)/var
  3464.   libdir = $(exec_prefix)/lib
  3465.   infodir = $(prefix)/info
  3466.   mandir = $(prefix)/man
  3467.   includedir = $(prefix)/include
  3468. --- 25,39 ----
  3469.   
  3470.   bindir = $(exec_prefix)/bin
  3471.   sbindir = $(exec_prefix)/sbin
  3472.   datadir = $(prefix)/share
  3473.   sysconfdir = $(prefix)/etc
  3474.   sharedstatedir = $(prefix)/com
  3475. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3476. ! localstatedir = /local/var
  3477.   libdir = $(exec_prefix)/lib
  3478. + # It seems hokey to me to have the libexec dir visible at what is the
  3479. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3480. + libexecdir = $(libdir)/libexec
  3481.   infodir = $(prefix)/info
  3482.   mandir = $(prefix)/man
  3483.   includedir = $(prefix)/include
  3484. diff -rc --new-file findutils-4.1/xargs/Makefile.in /gnu/src/amiga/findutils-4.1/xargs/Makefile.in
  3485. *** findutils-4.1/xargs/Makefile.in    Sat Nov  5 14:44:18 1994
  3486. --- /gnu/src/amiga/findutils-4.1/xargs/Makefile.in    Thu Nov 17 11:11:37 1994
  3487. ***************
  3488. *** 25,36 ****
  3489.   
  3490.   bindir = $(exec_prefix)/bin
  3491.   sbindir = $(exec_prefix)/sbin
  3492. - libexecdir = $(exec_prefix)/libexec
  3493.   datadir = $(prefix)/share
  3494.   sysconfdir = $(prefix)/etc
  3495.   sharedstatedir = $(prefix)/com
  3496. ! localstatedir = $(prefix)/var
  3497.   libdir = $(exec_prefix)/lib
  3498.   infodir = $(prefix)/info
  3499.   mandir = $(prefix)/man
  3500.   includedir = $(prefix)/include
  3501. --- 25,39 ----
  3502.   
  3503.   bindir = $(exec_prefix)/bin
  3504.   sbindir = $(exec_prefix)/sbin
  3505.   datadir = $(prefix)/share
  3506.   sysconfdir = $(prefix)/etc
  3507.   sharedstatedir = $(prefix)/com
  3508. ! # Put this in /local, since $(prefix) might be on read-only media. -fnf
  3509. ! localstatedir = /local/var
  3510.   libdir = $(exec_prefix)/lib
  3511. + # It seems hokey to me to have the libexec dir visible at what is the
  3512. + # equivalent of the root directory, so put it under libdir instead.  -fnf
  3513. + libexecdir = $(libdir)/libexec
  3514.   infodir = $(prefix)/info
  3515.   mandir = $(prefix)/man
  3516.   includedir = $(prefix)/include
  3517. diff -rc --new-file findutils-4.1/xargs/xargs.c /gnu/src/amiga/findutils-4.1/xargs/xargs.c
  3518. *** findutils-4.1/xargs/xargs.c    Fri Oct  7 17:21:39 1994
  3519. --- /gnu/src/amiga/findutils-4.1/xargs/xargs.c    Sat Nov 12 08:56:36 1994
  3520. ***************
  3521. *** 248,254 ****
  3522.   static long env_size P_ ((char **envp));
  3523.   static void usage P_ ((FILE * stream, int status));
  3524.   
  3525. ! void
  3526.   main (argc, argv)
  3527.        int argc;
  3528.        char **argv;
  3529. --- 248,254 ----
  3530.   static long env_size P_ ((char **envp));
  3531.   static void usage P_ ((FILE * stream, int status));
  3532.   
  3533. ! int
  3534.   main (argc, argv)
  3535.        int argc;
  3536.        char **argv;
  3537. ***************
  3538. *** 752,763 ****
  3539.       print_args (false);
  3540.         /* If we run out of processes, wait for a child to return and
  3541.            try again.  */
  3542. !       while ((child = fork ()) < 0 && errno == EAGAIN && procs_executing)
  3543.       wait_for_proc (false);
  3544.         switch (child)
  3545.       {
  3546.       case -1:
  3547. !       error (1, errno, "cannot fork");
  3548.   
  3549.       case 0:        /* Child.  */
  3550.         execvp (cmd_argv[0], cmd_argv);
  3551. --- 752,763 ----
  3552.       print_args (false);
  3553.         /* If we run out of processes, wait for a child to return and
  3554.            try again.  */
  3555. !       while ((child = vfork ()) < 0 && errno == EAGAIN && procs_executing)
  3556.       wait_for_proc (false);
  3557.         switch (child)
  3558.       {
  3559.       case -1:
  3560. !       error (1, errno, "cannot vfork");
  3561.   
  3562.       case 0:        /* Child.  */
  3563.         execvp (cmd_argv[0], cmd_argv);
  3564.