home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / shellutils / shellutils-1.9.2.diffs next >
Encoding:
Text File  |  1993-12-14  |  27.3 KB  |  1,253 lines

  1. diff -rc shellutils-1.9.2-fsf/Makefile.in shellutils-1.9.2-amiga/Makefile.in
  2. *** shellutils-1.9.2-fsf/Makefile.in    Tue Oct 12 20:22:31 1993
  3. --- shellutils-1.9.2-amiga/Makefile.in    Tue Dec 14 08:38:48 1993
  4. ***************
  5. *** 25,31 ****
  6.   srcdir = @srcdir@
  7.   VPATH = @srcdir@
  8.   
  9. ! prefix = /usr/local
  10.   exec_prefix = $(prefix)
  11.   bindir = $(exec_prefix)/bin
  12.   libdir = $(exec_prefix)/lib
  13. --- 25,31 ----
  14.   srcdir = @srcdir@
  15.   VPATH = @srcdir@
  16.   
  17. ! prefix = /usr
  18.   exec_prefix = $(prefix)
  19.   bindir = $(exec_prefix)/bin
  20.   libdir = $(exec_prefix)/lib
  21. ***************
  22. *** 38,45 ****
  23.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs
  24.   
  25.   # Redundant stuff for making only selected programs.
  26. ! PROGS = basename date dirname echo env expr false groups id logname \
  27. ! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
  28.   
  29.   # Subdirectories to run make in for the primary targets.
  30.   SUBDIRS = lib src man
  31. --- 38,45 ----
  32.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs
  33.   
  34.   # Redundant stuff for making only selected programs.
  35. ! PROGS = basename date dirname echo env expr id logname \
  36. ! pathchk printenv printf sleep tee test whoami yes @PROGS@
  37.   
  38.   # Subdirectories to run make in for the primary targets.
  39.   SUBDIRS = lib src man
  40. ***************
  41. *** 57,63 ****
  42.   check:
  43.   installcheck:
  44.   
  45. ! $(PROGS) su:
  46.       cd lib; $(MAKE) all
  47.       cd src; $(MAKE) $@
  48.   
  49. --- 57,63 ----
  50.   check:
  51.   installcheck:
  52.   
  53. ! $(PROGS):
  54.       cd lib; $(MAKE) all
  55.       cd src; $(MAKE) $@
  56.   
  57. diff -rc shellutils-1.9.2-fsf/configure shellutils-1.9.2-amiga/configure
  58. *** shellutils-1.9.2-fsf/configure    Tue Nov 30 05:37:24 1993
  59. --- shellutils-1.9.2-amiga/configure    Mon Dec 13 23:57:53 1993
  60. ***************
  61. *** 69,75 ****
  62.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  63.            *) val=1 ;;
  64.          esac
  65. !        eval "with_$package='$val'" ;;
  66.   
  67.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  68.          verbose=yes ;;
  69. --- 69,75 ----
  70.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  71.            *) val=1 ;;
  72.          esac
  73. !        "with_$package='$val'" ;;
  74.   
  75.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  76.          verbose=yes ;;
  77. ***************
  78. *** 91,97 ****
  79.   rm -f conftest* confdefs.h
  80.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  81.   echo > confdefs.h
  82. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  83.   
  84.   # A filename unique to this package, relative to the directory that
  85.   # configure is in, which we can look for to find out if srcdir is correct.
  86. --- 91,97 ----
  87.   rm -f conftest* confdefs.h
  88.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  89.   echo > confdefs.h
  90. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  91.   
  92.   # A filename unique to this package, relative to the directory that
  93.   # configure is in, which we can look for to find out if srcdir is correct.
  94. ***************
  95. *** 102,108 ****
  96.     srcdirdefaulted=yes
  97.     # Try the directory containing this script, then `..'.
  98.     prog=$0
  99. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  100.     test "X$confdir" = "X$prog" && confdir=.
  101.     srcdir=$confdir
  102.     if test ! -r $srcdir/$unique_file; then
  103. --- 102,108 ----
  104.     srcdirdefaulted=yes
  105.     # Try the directory containing this script, then `..'.
  106.     prog=$0
  107. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  108.     test "X$confdir" = "X$prog" && confdir=.
  109.     srcdir=$confdir
  110.     if test ! -r $srcdir/$unique_file; then
  111. ***************
  112. *** 131,136 ****
  113. --- 131,138 ----
  114.   
  115.   
  116.   # We want these before the checks, so the checks can modify their values.
  117. + CFLAGS="-O"    #HACK (fnf)
  118. + LDFLAGS=""    #HACK (fnf)
  119.   test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
  120.   test -z "$LDFLAGS" && LDFLAGS=-g
  121.   
  122. ***************
  123. *** 157,163 ****
  124.     yes
  125.   #endif
  126.   EOF
  127. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  128.   if egrep yes conftest.out >/dev/null 2>&1; then
  129.     GCC=1 # For later tests.
  130.   fi
  131. --- 159,165 ----
  132.     yes
  133.   #endif
  134.   EOF
  135. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  136.   if egrep yes conftest.out >/dev/null 2>&1; then
  137.     GCC=1 # For later tests.
  138.   fi
  139. ***************
  140. *** 169,179 ****
  141.   
  142.   
  143.   echo checking how to run the C preprocessor
  144.   if test -z "$CPP"; then
  145.     # This must be in double quotes, not single quotes, because CPP may get
  146. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  147.     # make.  It must be expanded now.
  148. !   CPP="${CC-cc} -E"
  149.     cat > conftest.c <<EOF
  150.   #include "confdefs.h"
  151.   #include <stdio.h>
  152. --- 171,182 ----
  153.   
  154.   
  155.   echo checking how to run the C preprocessor
  156. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  157.   if test -z "$CPP"; then
  158.     # This must be in double quotes, not single quotes, because CPP may get
  159. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  160.     # make.  It must be expanded now.
  161. !   CPP="${CC-gcc} -E"
  162.     cat > conftest.c <<EOF
  163.   #include "confdefs.h"
  164.   #include <stdio.h>
  165. ***************
  166. *** 234,239 ****
  167. --- 237,243 ----
  168.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  169.   # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  170.   # anyway.  Sigh.
  171. + INSTALL=/bin/ginstall    #HACK (fnf)
  172.   if test "z${INSTALL}" = "z" ; then
  173.     echo checking for install
  174.     IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  175. ***************
  176. *** 434,440 ****
  177.   int main() { exit(0); }
  178.   int t() { main(); }
  179.   EOF
  180. ! if eval $compile; then
  181.     rm -rf conftest*
  182.     have_lib="1"
  183.   
  184. --- 438,444 ----
  185.   int main() { exit(0); }
  186.   int t() { main(); }
  187.   EOF
  188. ! if false; then
  189.     rm -rf conftest*
  190.     have_lib="1"
  191.   
  192. ***************
  193. *** 465,471 ****
  194.   #endif
  195.    }
  196.   EOF
  197. ! if eval $compile; then
  198.     rm -rf conftest*
  199.     PROGS="$PROGS uname" MAN="$MAN uname.1" have_uname=1
  200.   
  201. --- 469,475 ----
  202.   #endif
  203.    }
  204.   EOF
  205. ! if $compile; then
  206.     rm -rf conftest*
  207.     PROGS="$PROGS uname" MAN="$MAN uname.1" have_uname=1
  208.   
  209. ***************
  210. *** 539,545 ****
  211.   int main() { exit(0); }
  212.   int t() { $prog }
  213.   EOF
  214. ! if eval $compile; then
  215.     :
  216.   else
  217.     rm -rf conftest*
  218. --- 543,549 ----
  219.   int main() { exit(0); }
  220.   int t() { $prog }
  221.   EOF
  222. ! if true; then
  223.     :
  224.   else
  225.     rm -rf conftest*
  226. ***************
  227. *** 587,593 ****
  228.   exit (0); }
  229.   
  230.   EOF
  231. ! eval $compile
  232.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  233.     
  234.   {
  235. --- 591,597 ----
  236.   exit (0); }
  237.   
  238.   EOF
  239. ! $compile
  240.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  241.     
  242.   {
  243. ***************
  244. *** 633,639 ****
  245.   #endif
  246.    }
  247.   EOF
  248. ! if eval $compile; then
  249.     rm -rf conftest*
  250.     {
  251.   test -n "$verbose" && \
  252. --- 637,643 ----
  253.   #endif
  254.    }
  255.   EOF
  256. ! if $compile; then
  257.     rm -rf conftest*
  258.     {
  259.   test -n "$verbose" && \
  260. ***************
  261. *** 681,687 ****
  262.   #endif
  263.    }
  264.   EOF
  265. ! if eval $compile; then
  266.     rm -rf conftest*
  267.     {
  268.   test -n "$verbose" && \
  269. --- 685,691 ----
  270.   #endif
  271.    }
  272.   EOF
  273. ! if $compile; then
  274.     rm -rf conftest*
  275.     {
  276.   test -n "$verbose" && \
  277. ***************
  278. *** 737,743 ****
  279.   #endif
  280.    }
  281.   EOF
  282. ! if eval $compile; then
  283.     rm -rf conftest*
  284.     {
  285.   test -n "$verbose" && \
  286. --- 741,747 ----
  287.   #endif
  288.    }
  289.   EOF
  290. ! if $compile; then
  291.     rm -rf conftest*
  292.     {
  293.   test -n "$verbose" && \
  294. ***************
  295. *** 852,858 ****
  296.   #include "confdefs.h"
  297.   $prog
  298.   EOF
  299. ! eval $compile
  300.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  301.     
  302.   {
  303. --- 856,862 ----
  304.   #include "confdefs.h"
  305.   $prog
  306.   EOF
  307. ! $compile
  308.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  309.     
  310.   {
  311. ***************
  312. *** 926,932 ****
  313.   #endif
  314.    }
  315.   EOF
  316. ! if eval $compile; then
  317.     :
  318.   else
  319.     rm -rf conftest*
  320. --- 930,936 ----
  321.   #endif
  322.    }
  323.   EOF
  324. ! if $compile; then
  325.     :
  326.   else
  327.     rm -rf conftest*
  328. ***************
  329. *** 952,958 ****
  330.   }
  331.   
  332.   EOF
  333. ! eval $compile
  334.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  335.     
  336.   test -n "$verbose" && echo "    memcmp is 8-bit clean"
  337. --- 956,962 ----
  338.   }
  339.   
  340.   EOF
  341. ! $compile
  342.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  343.     
  344.   test -n "$verbose" && echo "    memcmp is 8-bit clean"
  345. ***************
  346. *** 976,984 ****
  347.   int main() { exit(0); }
  348.   int t() { setpriority(0, 0, 0); }
  349.   EOF
  350. ! if eval $compile; then
  351.     rm -rf conftest*
  352. !   PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
  353.   
  354.   fi
  355.   rm -f conftest*
  356. --- 980,988 ----
  357.   int main() { exit(0); }
  358.   int t() { setpriority(0, 0, 0); }
  359.   EOF
  360. ! if $compile; then
  361.     rm -rf conftest*
  362. !   PROGS="$PROGS nice" MAN="$MAN nice.1"
  363.   
  364.   fi
  365.   rm -f conftest*
  366. ***************
  367. *** 993,999 ****
  368.   int main() { exit(0); }
  369.   int t() { nice(); }
  370.   EOF
  371. ! if eval $compile; then
  372.     rm -rf conftest*
  373.     
  374.   {
  375. --- 997,1003 ----
  376.   int main() { exit(0); }
  377.   int t() { nice(); }
  378.   EOF
  379. ! if $compile; then
  380.     rm -rf conftest*
  381.     
  382.   {
  383. ***************
  384. *** 1006,1012 ****
  385.   \${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
  386.   "
  387.   }
  388. !  PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
  389.   
  390.   fi
  391.   rm -f conftest*
  392. --- 1010,1016 ----
  393.   \${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
  394.   "
  395.   }
  396. !  PROGS="$PROGS nice" MAN="$MAN nice.1"
  397.   
  398.   fi
  399.   rm -f conftest*
  400. ***************
  401. *** 1037,1043 ****
  402.   int main() { exit(0); }
  403.   int t() { struct utmp ut; ut.ut_host; }
  404.   EOF
  405. ! if eval $compile; then
  406.     rm -rf conftest*
  407.     
  408.   {
  409. --- 1041,1047 ----
  410.   int main() { exit(0); }
  411.   int t() { struct utmp ut; ut.ut_host; }
  412.   EOF
  413. ! if $compile; then
  414.     rm -rf conftest*
  415.     
  416.   {
  417. ***************
  418. *** 1066,1072 ****
  419.   int main() { exit(0); }
  420.   int t() { struct utmpx ut; ut.ut_host; }
  421.   EOF
  422. ! if eval $compile; then
  423.     rm -rf conftest*
  424.     
  425.   {
  426. --- 1070,1076 ----
  427.   int main() { exit(0); }
  428.   int t() { struct utmpx ut; ut.ut_host; }
  429.   EOF
  430. ! if $compile; then
  431.     rm -rf conftest*
  432.     
  433.   {
  434. ***************
  435. *** 1108,1114 ****
  436.   int t() { /* SunOS 4.0.3 has termios.h but not the library calls.  */
  437.   tcgetattr(0, 0); }
  438.   EOF
  439. ! if eval $compile; then
  440.     rm -rf conftest*
  441.     have_termios=1
  442.   
  443. --- 1112,1118 ----
  444.   int t() { /* SunOS 4.0.3 has termios.h but not the library calls.  */
  445.   tcgetattr(0, 0); }
  446.   EOF
  447. ! if $compile; then
  448.     rm -rf conftest*
  449.     have_termios=1
  450.   
  451. ***************
  452. *** 1116,1122 ****
  453.   rm -f conftest*
  454.   
  455.   if test -n "$have_termios"; then
  456. ! PROGS="$PROGS stty" MAN="$MAN stty.1"
  457.   echo checking for c_line in struct termios
  458.   cat > conftest.c <<EOF
  459.   #include "confdefs.h"
  460. --- 1120,1126 ----
  461.   rm -f conftest*
  462.   
  463.   if test -n "$have_termios"; then
  464. ! PROGS="$PROGS" MAN="$MAN"
  465.   echo checking for c_line in struct termios
  466.   cat > conftest.c <<EOF
  467.   #include "confdefs.h"
  468. ***************
  469. *** 1125,1131 ****
  470.   int main() { exit(0); }
  471.   int t() { struct termios t; t.c_line; }
  472.   EOF
  473. ! if eval $compile; then
  474.     rm -rf conftest*
  475.     
  476.   {
  477. --- 1129,1135 ----
  478.   int main() { exit(0); }
  479.   int t() { struct termios t; t.c_line; }
  480.   EOF
  481. ! if $compile; then
  482.     rm -rf conftest*
  483.     
  484.   {
  485. ***************
  486. *** 1153,1159 ****
  487.   int main() { exit(0); }
  488.   int t() { int x = TIOCGWINSZ; }
  489.   EOF
  490. ! if eval $compile; then
  491.     rm -rf conftest*
  492.     
  493.   {
  494. --- 1157,1163 ----
  495.   int main() { exit(0); }
  496.   int t() { int x = TIOCGWINSZ; }
  497.   EOF
  498. ! if $compile; then
  499.     rm -rf conftest*
  500.     
  501.   {
  502. ***************
  503. *** 1204,1210 ****
  504.   int main() { exit(0); }
  505.   int t() { vprintf(); }
  506.   EOF
  507. ! if eval $compile; then
  508.     rm -rf conftest*
  509.     
  510.   {
  511. --- 1208,1214 ----
  512.   int main() { exit(0); }
  513.   int t() { vprintf(); }
  514.   EOF
  515. ! if $compile; then
  516.     rm -rf conftest*
  517.     
  518.   {
  519. ***************
  520. *** 1233,1239 ****
  521.   int main() { exit(0); }
  522.   int t() { _doprnt(); }
  523.   EOF
  524. ! if eval $compile; then
  525.     rm -rf conftest*
  526.     
  527.   {
  528. --- 1237,1243 ----
  529.   int main() { exit(0); }
  530.   int t() { _doprnt(); }
  531.   EOF
  532. ! if $compile; then
  533.     rm -rf conftest*
  534.     
  535.   {
  536. ***************
  537. *** 1262,1268 ****
  538.   int main() { exit(0); }
  539.   int t() { char *p = alloca(2 * sizeof(int)); }
  540.   EOF
  541. ! if eval $compile; then
  542.     rm -rf conftest*
  543.     
  544.   {
  545. --- 1266,1272 ----
  546.   int main() { exit(0); }
  547.   int t() { char *p = alloca(2 * sizeof(int)); }
  548.   EOF
  549. ! if $compile; then
  550.     rm -rf conftest*
  551.     
  552.   {
  553. ***************
  554. *** 1301,1307 ****
  555.   int main() { exit(0); }
  556.   int t() { char *p = (char *) alloca(1); }
  557.   EOF
  558. ! if eval $compile; then
  559.     :
  560.   else
  561.     rm -rf conftest*
  562. --- 1305,1311 ----
  563.   int main() { exit(0); }
  564.   int t() { char *p = (char *) alloca(1); }
  565.   EOF
  566. ! if $compile; then
  567.     :
  568.   else
  569.     rm -rf conftest*
  570. ***************
  571. *** 1336,1342 ****
  572.   #endif
  573.    }
  574.   EOF
  575. ! if eval $compile; then
  576.     rm -rf conftest*
  577.     {
  578.   test -n "$verbose" && \
  579. --- 1340,1346 ----
  580.   #endif
  581.    }
  582.   EOF
  583. ! if $compile; then
  584.     rm -rf conftest*
  585.     {
  586.   test -n "$verbose" && \
  587. ***************
  588. *** 1369,1375 ****
  589.   #endif
  590.    }
  591.   EOF
  592. ! if eval $compile; then
  593.     rm -rf conftest*
  594.     {
  595.   test -n "$verbose" && \
  596. --- 1373,1379 ----
  597.   #endif
  598.    }
  599.   EOF
  600. ! if $compile; then
  601.     rm -rf conftest*
  602.     {
  603.   test -n "$verbose" && \
  604. ***************
  605. *** 1402,1408 ****
  606.   #endif
  607.    }
  608.   EOF
  609. ! if eval $compile; then
  610.     rm -rf conftest*
  611.     {
  612.   test -n "$verbose" && \
  613. --- 1406,1412 ----
  614.   #endif
  615.    }
  616.   EOF
  617. ! if $compile; then
  618.     rm -rf conftest*
  619.     {
  620.   test -n "$verbose" && \
  621. ***************
  622. *** 1459,1465 ****
  623.   #include "confdefs.h"
  624.   main(){exit(0);}
  625.   EOF
  626. ! eval $compile
  627.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  628.     :
  629.   else
  630. --- 1463,1469 ----
  631.   #include "confdefs.h"
  632.   main(){exit(0);}
  633.   EOF
  634. ! $compile
  635.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  636.     :
  637.   else
  638. ***************
  639. *** 1501,1507 ****
  640.     exit (find_stack_direction() < 0);
  641.   }
  642.   EOF
  643. ! eval $compile
  644.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  645.     
  646.   {
  647. --- 1505,1511 ----
  648.     exit (find_stack_direction() < 0);
  649.   }
  650.   EOF
  651. ! $compile
  652.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  653.     
  654.   {
  655. ***************
  656. *** 1542,1548 ****
  657.   int main() { exit(0); }
  658.   int t() { struct tm *tp; tp->tm_sec; }
  659.   EOF
  660. ! if eval $compile; then
  661.     :
  662.   else
  663.     rm -rf conftest*
  664. --- 1546,1552 ----
  665.   int main() { exit(0); }
  666.   int t() { struct tm *tp; tp->tm_sec; }
  667.   EOF
  668. ! if $compile; then
  669.     :
  670.   else
  671.     rm -rf conftest*
  672. ***************
  673. *** 1570,1576 ****
  674.   int main() { exit(0); }
  675.   int t() { struct tm *tp; }
  676.   EOF
  677. ! if eval $compile; then
  678.     rm -rf conftest*
  679.     
  680.   {
  681. --- 1574,1580 ----
  682.   int main() { exit(0); }
  683.   int t() { struct tm *tp; }
  684.   EOF
  685. ! if $compile; then
  686.     rm -rf conftest*
  687.     
  688.   {
  689. ***************
  690. *** 1605,1611 ****
  691.   int main() { exit(0); }
  692.   int t() { struct tm tm; tm.tm_zone; }
  693.   EOF
  694. ! if eval $compile; then
  695.     rm -rf conftest*
  696.     
  697.   {
  698. --- 1609,1615 ----
  699.   int main() { exit(0); }
  700.   int t() { struct tm tm; tm.tm_zone; }
  701.   EOF
  702. ! if $compile; then
  703.     rm -rf conftest*
  704.     
  705.   {
  706. ***************
  707. *** 1637,1643 ****
  708.   int main() { exit(0); }
  709.   int t() { atoi(*tzname); }
  710.   EOF
  711. ! if eval $compile; then
  712.     rm -rf conftest*
  713.     
  714.   {
  715. --- 1641,1647 ----
  716.   int main() { exit(0); }
  717.   int t() { atoi(*tzname); }
  718.   EOF
  719. ! if $compile; then
  720.     rm -rf conftest*
  721.     
  722.   {
  723. ***************
  724. *** 1668,1674 ****
  725.   int main() { exit(0); }
  726.   int t() { DIR *dirp = 0; }
  727.   EOF
  728. ! if eval $compile; then
  729.     rm -rf conftest*
  730.     
  731.   {
  732. --- 1672,1678 ----
  733.   int main() { exit(0); }
  734.   int t() { DIR *dirp = 0; }
  735.   EOF
  736. ! if $compile; then
  737.     rm -rf conftest*
  738.     
  739.   {
  740. ***************
  741. *** 1695,1701 ****
  742.   int main() { exit(0); }
  743.   int t() { DIR *dirp = 0; }
  744.   EOF
  745. ! if eval $compile; then
  746.     rm -rf conftest*
  747.     
  748.   {
  749. --- 1699,1705 ----
  750.   int main() { exit(0); }
  751.   int t() { DIR *dirp = 0; }
  752.   EOF
  753. ! if $compile; then
  754.     rm -rf conftest*
  755.     
  756.   {
  757. ***************
  758. *** 1722,1728 ****
  759.   int main() { exit(0); }
  760.   int t() { DIR *dirp = 0; }
  761.   EOF
  762. ! if eval $compile; then
  763.     rm -rf conftest*
  764.     
  765.   {
  766. --- 1726,1732 ----
  767.   int main() { exit(0); }
  768.   int t() { DIR *dirp = 0; }
  769.   EOF
  770. ! if $compile; then
  771.     rm -rf conftest*
  772.     
  773.   {
  774. ***************
  775. *** 1749,1755 ****
  776.   int main() { exit(0); }
  777.   int t() { DIR *dirp = 0; }
  778.   EOF
  779. ! if eval $compile; then
  780.     rm -rf conftest*
  781.     
  782.   {
  783. --- 1753,1759 ----
  784.   int main() { exit(0); }
  785.   int t() { DIR *dirp = 0; }
  786.   EOF
  787. ! if $compile; then
  788.     rm -rf conftest*
  789.     
  790.   {
  791. ***************
  792. *** 1775,1781 ****
  793.   #include <$dirheader>
  794.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  795.   EOF
  796. ! eval $compile
  797.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  798.     :
  799.   else
  800. --- 1779,1785 ----
  801.   #include <$dirheader>
  802.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  803.   EOF
  804. ! $compile
  805.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  806.     :
  807.   else
  808. ***************
  809. *** 1828,1834 ****
  810.   int main() { exit(0); }
  811.   int t() { main(); }
  812.   EOF
  813. ! if eval $compile; then
  814.     rm -rf conftest*
  815.     have_lib="1"
  816.   
  817. --- 1832,1838 ----
  818.   int main() { exit(0); }
  819.   int t() { main(); }
  820.   EOF
  821. ! if false; then
  822.     rm -rf conftest*
  823.     have_lib="1"
  824.   
  825. ***************
  826. *** 1900,1906 ****
  827.   int main() { exit(0); }
  828.   int t() { main(); }
  829.   EOF
  830. ! if eval $compile; then
  831.     rm -rf conftest*
  832.     have_lib="1"
  833.   
  834. --- 1904,1910 ----
  835.   int main() { exit(0); }
  836.   int t() { main(); }
  837.   EOF
  838. ! if false; then
  839.     rm -rf conftest*
  840.     have_lib="1"
  841.   
  842. ***************
  843. *** 1935,1941 ****
  844.   int main() { exit(0); }
  845.   int t() { main(); }
  846.   EOF
  847. ! if eval $compile; then
  848.     rm -rf conftest*
  849.     have_lib="1"
  850.   
  851. --- 1939,1945 ----
  852.   int main() { exit(0); }
  853.   int t() { main(); }
  854.   EOF
  855. ! if false; then
  856.     rm -rf conftest*
  857.     have_lib="1"
  858.   
  859. ***************
  860. *** 1970,1976 ****
  861.   int main() { exit(0); }
  862.   int t() { main(); }
  863.   EOF
  864. ! if eval $compile; then
  865.     rm -rf conftest*
  866.     have_lib="1"
  867.   
  868. --- 1974,1980 ----
  869.   int main() { exit(0); }
  870.   int t() { main(); }
  871.   EOF
  872. ! if false; then
  873.     rm -rf conftest*
  874.     have_lib="1"
  875.   
  876. diff -rc shellutils-1.9.2-fsf/man/Makefile.in shellutils-1.9.2-amiga/man/Makefile.in
  877. *** shellutils-1.9.2-fsf/man/Makefile.in    Sun Oct 17 04:09:57 1993
  878. --- shellutils-1.9.2-amiga/man/Makefile.in    Tue Dec 14 08:39:22 1993
  879. ***************
  880. *** 20,26 ****
  881.   srcdir = @srcdir@
  882.   VPATH = @srcdir@
  883.   
  884. ! prefix = /usr/local
  885.   exec_prefix = $(prefix)
  886.   mandir = $(prefix)/man/man1
  887.   manprefix =
  888. --- 20,26 ----
  889.   srcdir = @srcdir@
  890.   VPATH = @srcdir@
  891.   
  892. ! prefix = /usr
  893.   exec_prefix = $(prefix)
  894.   mandir = $(prefix)/man/man1
  895.   manprefix =
  896. diff -rc shellutils-1.9.2-fsf/src/Makefile.in shellutils-1.9.2-amiga/src/Makefile.in
  897. *** shellutils-1.9.2-fsf/src/Makefile.in    Sun Oct 24 18:02:15 1993
  898. --- shellutils-1.9.2-amiga/src/Makefile.in    Tue Dec 14 08:39:02 1993
  899. ***************
  900. *** 20,26 ****
  901.   srcdir = @srcdir@
  902.   VPATH = @srcdir@
  903.   
  904. ! prefix = /usr/local
  905.   exec_prefix = $(prefix)
  906.   bindir = $(exec_prefix)/bin
  907.   binprefix = 
  908. --- 20,26 ----
  909.   srcdir = @srcdir@
  910.   VPATH = @srcdir@
  911.   
  912. ! prefix = /usr
  913.   exec_prefix = $(prefix)
  914.   bindir = $(exec_prefix)/bin
  915.   binprefix = 
  916. ***************
  917. *** 44,53 ****
  918.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  919.   false.sh true.sh version.h long-options.h
  920.   
  921. ! PROGS = basename date dirname echo env expr false groups id logname \
  922. ! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
  923.   
  924. ! all: $(PROGS) su
  925.   
  926.   incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
  927.   .c.o:
  928. --- 44,53 ----
  929.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  930.   false.sh true.sh version.h long-options.h
  931.   
  932. ! PROGS = basename date dirname echo env expr id logname \
  933. ! pathchk printenv printf sleep tee test whoami yes @PROGS@
  934.   
  935. ! all: $(PROGS)
  936.   
  937.   incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
  938.   .c.o:
  939. ***************
  940. *** 56,62 ****
  941.   install: all
  942.       for f in $(PROGS); do $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; done
  943.       rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  944. !     @if test `./id -u` = 0; then \
  945.       echo you are root, so installing su; \
  946.       $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
  947.       chown root $(bindir)/$(binprefix)su; \
  948. --- 56,62 ----
  949.   install: all
  950.       for f in $(PROGS); do $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; done
  951.       rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  952. !     @if false; then \
  953.       echo you are root, so installing su; \
  954.       $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
  955.       chown root $(bindir)/$(binprefix)su; \
  956. ***************
  957. *** 64,70 ****
  958.       else echo WARNING: you are not root, so not installing su; fi
  959.   
  960.   uninstall:
  961. !     for f in $(PROGS) su; do rm -f $(bindir)/$(binprefix)$$f; done
  962.       rm -f $(bindir)/'['
  963.   
  964.   TAGS: $(SOURCES)
  965. --- 64,70 ----
  966.       else echo WARNING: you are not root, so not installing su; fi
  967.   
  968.   uninstall:
  969. !     for f in $(PROGS); do rm -f $(bindir)/$(binprefix)$$f; done
  970.       rm -f $(bindir)/'['
  971.   
  972.   TAGS: $(SOURCES)
  973. diff -rc shellutils-1.9.2-fsf/src/basename.c shellutils-1.9.2-amiga/src/basename.c
  974. *** shellutils-1.9.2-fsf/src/basename.c    Mon Oct 25 23:30:24 1993
  975. --- shellutils-1.9.2-amiga/src/basename.c    Mon Dec 13 23:30:32 1993
  976. ***************
  977. *** 83,89 ****
  978.     exit (status);
  979.   }
  980.   
  981. - void
  982.   main (argc, argv)
  983.        int argc;
  984.        char **argv;
  985. --- 83,88 ----
  986. diff -rc shellutils-1.9.2-fsf/src/date.c shellutils-1.9.2-amiga/src/date.c
  987. *** shellutils-1.9.2-fsf/src/date.c    Mon Oct 25 23:30:26 1993
  988. --- shellutils-1.9.2-amiga/src/date.c    Mon Dec 13 23:30:37 1993
  989. ***************
  990. *** 110,116 ****
  991.     {NULL, 0, NULL, 0}
  992.   };
  993.   
  994. - void
  995.   main (argc, argv)
  996.        int argc;
  997.        char **argv;
  998. --- 110,115 ----
  999. diff -rc shellutils-1.9.2-fsf/src/dirname.c shellutils-1.9.2-amiga/src/dirname.c
  1000. *** shellutils-1.9.2-fsf/src/dirname.c    Mon Oct 25 23:30:27 1993
  1001. --- shellutils-1.9.2-amiga/src/dirname.c    Mon Dec 13 23:30:41 1993
  1002. ***************
  1003. *** 72,78 ****
  1004.     exit (status);
  1005.   }
  1006.   
  1007. - void
  1008.   main (argc, argv)
  1009.        int argc;
  1010.        char **argv;
  1011. --- 72,77 ----
  1012. diff -rc shellutils-1.9.2-fsf/src/echo.c shellutils-1.9.2-amiga/src/echo.c
  1013. *** shellutils-1.9.2-fsf/src/echo.c    Mon Oct 25 23:30:28 1993
  1014. --- shellutils-1.9.2-amiga/src/echo.c    Mon Dec 13 23:30:46 1993
  1015. ***************
  1016. *** 110,116 ****
  1017.   /* Print the words in LIST to standard output.  If the first word is
  1018.      `-n', then don't print a trailing newline.  We also support the
  1019.      echo syntax from Version 9 unix systems. */
  1020. ! void
  1021.   main (argc, argv)
  1022.        int argc;
  1023.        char **argv;
  1024. --- 110,116 ----
  1025.   /* Print the words in LIST to standard output.  If the first word is
  1026.      `-n', then don't print a trailing newline.  We also support the
  1027.      echo syntax from Version 9 unix systems. */
  1028.   main (argc, argv)
  1029.        int argc;
  1030.        char **argv;
  1031. diff -rc shellutils-1.9.2-fsf/src/env.c shellutils-1.9.2-amiga/src/env.c
  1032. *** shellutils-1.9.2-fsf/src/env.c    Mon Oct 25 23:30:29 1993
  1033. --- shellutils-1.9.2-amiga/src/env.c    Mon Dec 13 23:30:53 1993
  1034. ***************
  1035. *** 121,127 ****
  1036.     {NULL, 0, NULL, 0}
  1037.   };
  1038.   
  1039. - void
  1040.   main (argc, argv, envp)
  1041.        register int argc;
  1042.        register char **argv;
  1043. --- 121,126 ----
  1044. diff -rc shellutils-1.9.2-fsf/src/expr.c shellutils-1.9.2-amiga/src/expr.c
  1045. *** shellutils-1.9.2-fsf/src/expr.c    Sat Nov 20 04:04:27 1993
  1046. --- shellutils-1.9.2-amiga/src/expr.c    Mon Dec 13 23:30:58 1993
  1047. ***************
  1048. *** 169,175 ****
  1049.     exit (status);
  1050.   }
  1051.   
  1052. - void
  1053.   main (argc, argv)
  1054.        int argc;
  1055.        char **argv;
  1056. --- 169,174 ----
  1057. diff -rc shellutils-1.9.2-fsf/src/id.c shellutils-1.9.2-amiga/src/id.c
  1058. *** shellutils-1.9.2-fsf/src/id.c    Fri Nov 12 06:50:17 1993
  1059. --- shellutils-1.9.2-amiga/src/id.c    Mon Dec 13 23:31:04 1993
  1060. ***************
  1061. *** 112,118 ****
  1062.     {NULL, 0, NULL, 0}
  1063.   };
  1064.   
  1065. - void
  1066.   main (argc, argv)
  1067.        int argc;
  1068.        char **argv;
  1069. --- 112,117 ----
  1070. diff -rc shellutils-1.9.2-fsf/src/logname.c shellutils-1.9.2-amiga/src/logname.c
  1071. *** shellutils-1.9.2-fsf/src/logname.c    Mon Oct 25 23:30:46 1993
  1072. --- shellutils-1.9.2-amiga/src/logname.c    Mon Dec 13 23:31:08 1993
  1073. ***************
  1074. *** 68,74 ****
  1075.     exit (status);
  1076.   }
  1077.   
  1078. - void
  1079.   main (argc, argv)
  1080.        int argc;
  1081.        char **argv;
  1082. --- 68,73 ----
  1083. diff -rc shellutils-1.9.2-fsf/src/nice.c shellutils-1.9.2-amiga/src/nice.c
  1084. *** shellutils-1.9.2-fsf/src/nice.c    Sat Nov 27 20:14:33 1993
  1085. --- shellutils-1.9.2-amiga/src/nice.c    Mon Dec 13 23:31:15 1993
  1086. ***************
  1087. *** 67,73 ****
  1088.     {NULL, 0, NULL, 0}
  1089.   };
  1090.   
  1091. - void
  1092.   main (argc, argv)
  1093.        int argc;
  1094.        char **argv;
  1095. --- 67,72 ----
  1096. diff -rc shellutils-1.9.2-fsf/src/pathchk.c shellutils-1.9.2-amiga/src/pathchk.c
  1097. *** shellutils-1.9.2-fsf/src/pathchk.c    Mon Oct 25 23:30:48 1993
  1098. --- shellutils-1.9.2-amiga/src/pathchk.c    Mon Dec 13 23:31:11 1993
  1099. ***************
  1100. *** 123,129 ****
  1101.     {NULL, 0, NULL, 0}
  1102.   };
  1103.   
  1104. - void
  1105.   main (argc, argv)
  1106.        int argc;
  1107.        char **argv;
  1108. --- 123,128 ----
  1109. diff -rc shellutils-1.9.2-fsf/src/printenv.c shellutils-1.9.2-amiga/src/printenv.c
  1110. *** shellutils-1.9.2-fsf/src/printenv.c    Tue Nov  2 19:13:59 1993
  1111. --- shellutils-1.9.2-amiga/src/printenv.c    Mon Dec 13 23:31:18 1993
  1112. ***************
  1113. *** 86,92 ****
  1114.     exit (status);
  1115.   }
  1116.   
  1117. - void
  1118.   main (argc, argv)
  1119.        int argc;
  1120.        char **argv;
  1121. --- 86,91 ----
  1122. diff -rc shellutils-1.9.2-fsf/src/printf.c shellutils-1.9.2-amiga/src/printf.c
  1123. *** shellutils-1.9.2-fsf/src/printf.c    Sat Nov 20 04:03:06 1993
  1124. --- shellutils-1.9.2-amiga/src/printf.c    Mon Dec 13 23:31:22 1993
  1125. ***************
  1126. *** 145,151 ****
  1127.     exit (status);
  1128.   }
  1129.   
  1130. - void
  1131.   main (argc, argv)
  1132.        int argc;
  1133.        char **argv;
  1134. --- 145,150 ----
  1135. diff -rc shellutils-1.9.2-fsf/src/sleep.c shellutils-1.9.2-amiga/src/sleep.c
  1136. *** shellutils-1.9.2-fsf/src/sleep.c    Mon Oct 25 23:30:57 1993
  1137. --- shellutils-1.9.2-amiga/src/sleep.c    Mon Dec 13 23:31:27 1993
  1138. ***************
  1139. *** 74,80 ****
  1140.     exit (status);
  1141.   }
  1142.   
  1143. - void
  1144.   main (argc, argv)
  1145.        int argc;
  1146.        char **argv;
  1147. --- 74,79 ----
  1148. diff -rc shellutils-1.9.2-fsf/src/stty.c shellutils-1.9.2-amiga/src/stty.c
  1149. *** shellutils-1.9.2-fsf/src/stty.c    Tue Nov 30 05:11:58 1993
  1150. --- shellutils-1.9.2-amiga/src/stty.c    Mon Dec 13 23:31:35 1993
  1151. ***************
  1152. *** 619,625 ****
  1153.     exit (status);
  1154.   }
  1155.   
  1156. - void
  1157.   main (argc, argv)
  1158.        int argc;
  1159.        char **argv;
  1160. --- 619,624 ----
  1161. diff -rc shellutils-1.9.2-fsf/src/su.c shellutils-1.9.2-amiga/src/su.c
  1162. *** shellutils-1.9.2-fsf/src/su.c    Tue Nov  9 04:21:05 1993
  1163. --- shellutils-1.9.2-amiga/src/su.c    Mon Dec 13 23:31:31 1993
  1164. ***************
  1165. *** 194,200 ****
  1166.     {0, 0, 0, 0}
  1167.   };
  1168.   
  1169. - void
  1170.   main (argc, argv)
  1171.        int argc;
  1172.        char **argv;
  1173. --- 194,199 ----
  1174. diff -rc shellutils-1.9.2-fsf/src/tee.c shellutils-1.9.2-amiga/src/tee.c
  1175. *** shellutils-1.9.2-fsf/src/tee.c    Mon Oct 25 23:31:01 1993
  1176. --- shellutils-1.9.2-amiga/src/tee.c    Mon Dec 13 23:31:38 1993
  1177. ***************
  1178. *** 87,93 ****
  1179.     exit (status);
  1180.   }
  1181.   
  1182. - void
  1183.   main (argc, argv)
  1184.        int argc;
  1185.        char **argv;
  1186. --- 87,92 ----
  1187. diff -rc shellutils-1.9.2-fsf/src/tty.c shellutils-1.9.2-amiga/src/tty.c
  1188. *** shellutils-1.9.2-fsf/src/tty.c    Mon Oct 25 23:31:03 1993
  1189. --- shellutils-1.9.2-amiga/src/tty.c    Mon Dec 13 23:31:49 1993
  1190. ***************
  1191. *** 65,71 ****
  1192.     {NULL, 0, NULL, 0}
  1193.   };
  1194.   
  1195. - void
  1196.   main (argc, argv)
  1197.        int argc;
  1198.        char **argv;
  1199. --- 65,70 ----
  1200. diff -rc shellutils-1.9.2-fsf/src/uname.c shellutils-1.9.2-amiga/src/uname.c
  1201. *** shellutils-1.9.2-fsf/src/uname.c    Mon Oct 25 23:31:05 1993
  1202. --- shellutils-1.9.2-amiga/src/uname.c    Mon Dec 13 23:31:56 1993
  1203. ***************
  1204. *** 92,98 ****
  1205.     {NULL, 0, NULL, 0}
  1206.   };
  1207.   
  1208. - void
  1209.   main (argc, argv)
  1210.        int argc;
  1211.        char **argv;
  1212. --- 92,97 ----
  1213. diff -rc shellutils-1.9.2-fsf/src/who.c shellutils-1.9.2-amiga/src/who.c
  1214. *** shellutils-1.9.2-fsf/src/who.c    Tue Nov 23 04:01:58 1993
  1215. --- shellutils-1.9.2-amiga/src/who.c    Mon Dec 13 23:31:53 1993
  1216. ***************
  1217. *** 138,144 ****
  1218.     {NULL, 0, NULL, 0}
  1219.   };
  1220.   
  1221. - void
  1222.   main (argc, argv)
  1223.        int argc;
  1224.        char **argv;
  1225. --- 138,143 ----
  1226. diff -rc shellutils-1.9.2-fsf/src/whoami.c shellutils-1.9.2-amiga/src/whoami.c
  1227. *** shellutils-1.9.2-fsf/src/whoami.c    Mon Oct 25 23:31:08 1993
  1228. --- shellutils-1.9.2-amiga/src/whoami.c    Mon Dec 13 23:32:00 1993
  1229. ***************
  1230. *** 74,80 ****
  1231.     exit (status);
  1232.   }
  1233.   
  1234. - void
  1235.   main (argc, argv)
  1236.        int argc;
  1237.        char *argv[];
  1238. --- 74,79 ----
  1239. diff -rc shellutils-1.9.2-fsf/src/yes.c shellutils-1.9.2-amiga/src/yes.c
  1240. *** shellutils-1.9.2-fsf/src/yes.c    Thu Nov 18 02:04:51 1993
  1241. --- shellutils-1.9.2-amiga/src/yes.c    Mon Dec 13 23:32:04 1993
  1242. ***************
  1243. *** 58,64 ****
  1244.     exit (status);
  1245.   }
  1246.   
  1247. - void
  1248.   main (argc, argv)
  1249.        int argc;
  1250.        char **argv;
  1251. --- 58,63 ----
  1252.