home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / shellutils-1.9.4-src.lha / src / diffs / shellutils-1.9.4.diffs
Text File  |  1994-02-21  |  17KB  |  598 lines

  1. diff -rc shellutils-1.9.4-fsf/INSTALL shellutils-1.9.4-amiga/INSTALL
  2. *** shellutils-1.9.4-fsf/INSTALL    Wed Sep 15 23:05:10 1993
  3. --- shellutils-1.9.4-amiga/INSTALL    Mon Feb 21 21:58:46 1994
  4. ***************
  5. *** 35,42 ****
  6.   where DIR is the directory that contains the source code.
  7.   
  8.      By default, `make install' will install the package's files in
  9. ! `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  10. ! installation prefix other than `/usr/local' by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  12.   giving a value for the `prefix' variable when you run `make', e.g.,
  13.        make prefix=/usr/gnu
  14. --- 35,42 ----
  15.   where DIR is the directory that contains the source code.
  16.   
  17.      By default, `make install' will install the package's files in
  18. ! `/gnu/bin', `/gnu/man', etc.  You can specify an
  19. ! installation prefix other than `/gnu' by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  21.   giving a value for the `prefix' variable when you run `make', e.g.,
  22.        make prefix=/usr/gnu
  23. diff -rc shellutils-1.9.4-fsf/Makefile.in shellutils-1.9.4-amiga/Makefile.in
  24. *** shellutils-1.9.4-fsf/Makefile.in    Sun Feb 20 01:11:56 1994
  25. --- shellutils-1.9.4-amiga/Makefile.in    Mon Feb 21 22:01:24 1994
  26. ***************
  27. *** 25,31 ****
  28.   srcdir = @srcdir@
  29.   VPATH = @srcdir@
  30.   
  31. ! prefix = /usr/local
  32.   exec_prefix = $(prefix)
  33.   bindir = $(exec_prefix)/bin
  34.   libdir = $(exec_prefix)/lib
  35. --- 25,31 ----
  36.   srcdir = @srcdir@
  37.   VPATH = @srcdir@
  38.   
  39. ! prefix = /gnu
  40.   exec_prefix = $(prefix)
  41.   bindir = $(exec_prefix)/bin
  42.   libdir = $(exec_prefix)/lib
  43. ***************
  44. *** 38,45 ****
  45.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs install.sh
  46.   
  47.   # Redundant stuff for making only selected programs.
  48. ! PROGS = basename date dirname echo env expr false groups id logname \
  49. ! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
  50.   
  51.   # Subdirectories to run make in for the primary targets.
  52.   SUBDIRS = lib src man
  53. --- 38,45 ----
  54.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs install.sh
  55.   
  56.   # Redundant stuff for making only selected programs.
  57. ! PROGS = basename date dirname echo env expr id logname \
  58. ! pathchk printenv printf sleep tee test whoami yes @PROGS@
  59.   
  60.   # Subdirectories to run make in for the primary targets.
  61.   SUBDIRS = lib src man
  62. ***************
  63. *** 57,63 ****
  64.   check:
  65.   installcheck:
  66.   
  67. ! $(PROGS) su:
  68.       cd lib; $(MAKE) all
  69.       cd src; $(MAKE) $@
  70.   
  71. --- 57,63 ----
  72.   check:
  73.   installcheck:
  74.   
  75. ! $(PROGS):
  76.       cd lib; $(MAKE) all
  77.       cd src; $(MAKE) $@
  78.   
  79. diff -rc shellutils-1.9.4-fsf/configure shellutils-1.9.4-amiga/configure
  80. *** shellutils-1.9.4-fsf/configure    Thu Feb 10 14:59:49 1994
  81. --- shellutils-1.9.4-amiga/configure    Mon Feb 21 22:17:54 1994
  82. ***************
  83. *** 102,108 ****
  84.     srcdirdefaulted=yes
  85.     # Try the directory containing this script, then `..'.
  86.     prog=$0
  87. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  88.     test "X$confdir" = "X$prog" && confdir=.
  89.     srcdir=$confdir
  90.     if test ! -r $srcdir/$unique_file; then
  91. --- 102,108 ----
  92.     srcdirdefaulted=yes
  93.     # Try the directory containing this script, then `..'.
  94.     prog=$0
  95. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  96.     test "X$confdir" = "X$prog" && confdir=.
  97.     srcdir=$confdir
  98.     if test ! -r $srcdir/$unique_file; then
  99. ***************
  100. *** 131,136 ****
  101. --- 131,138 ----
  102.   
  103.   
  104.   # We want these before the checks, so the checks can modify their values.
  105. + CFLAGS="-O2"    #HACK (fnf)
  106. + LDFLAGS=""    #HACK (fnf)
  107.   test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
  108.   
  109.   if test -z "$CC"; then
  110. ***************
  111. *** 415,421 ****
  112.   
  113.   echo checking for POSIXized ISC
  114.   if test -d /etc/conf/kconfig.d &&
  115. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  116.   then
  117.     ISC=1 # If later tests want to check for ISC.
  118.     
  119. --- 417,423 ----
  120.   
  121.   echo checking for POSIXized ISC
  122.   if test -d /etc/conf/kconfig.d &&
  123. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  124.   then
  125.     ISC=1 # If later tests want to check for ISC.
  126.     
  127. ***************
  128. *** 1001,1007 ****
  129.   EOF
  130.   if eval $compile; then
  131.     rm -rf conftest*
  132. !   PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
  133.   
  134.   fi
  135.   rm -f conftest*
  136. --- 1003,1009 ----
  137.   EOF
  138.   if eval $compile; then
  139.     rm -rf conftest*
  140. !   PROGS="$PROGS nice" MAN="$MAN nice.1"
  141.   
  142.   fi
  143.   rm -f conftest*
  144. ***************
  145. *** 1029,1035 ****
  146.   \${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
  147.   "
  148.   }
  149. !  PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
  150.   
  151.   fi
  152.   rm -f conftest*
  153. --- 1031,1037 ----
  154.   \${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
  155.   "
  156.   }
  157. !  PROGS="$PROGS nice" MAN="$MAN nice.1"
  158.   
  159.   fi
  160.   rm -f conftest*
  161. ***************
  162. *** 1139,1145 ****
  163.   rm -f conftest*
  164.   
  165.   if test -n "$have_termios"; then
  166. ! PROGS="$PROGS stty" MAN="$MAN stty.1"
  167.   echo checking for c_line in struct termios
  168.   cat > conftest.c <<EOF
  169.   #include "confdefs.h"
  170. --- 1141,1147 ----
  171.   rm -f conftest*
  172.   
  173.   if test -n "$have_termios"; then
  174. ! PROGS="$PROGS" MAN="$MAN"
  175.   echo checking for c_line in struct termios
  176.   cat > conftest.c <<EOF
  177.   #include "confdefs.h"
  178. diff -rc shellutils-1.9.4-fsf/lib/getusershell.c shellutils-1.9.4-amiga/lib/getusershell.c
  179. *** shellutils-1.9.4-fsf/lib/getusershell.c    Sun Oct 17 03:38:20 1993
  180. --- shellutils-1.9.4-amiga/lib/getusershell.c    Mon Feb 21 21:59:58 1994
  181. ***************
  182. *** 50,56 ****
  183.   /* List of shells to use if the shells file is missing. */
  184.   static char const* const default_shells[] =
  185.   {
  186. !   "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL
  187.   };
  188.   
  189.   /* Index of the next shell in `default_shells' to return.
  190. --- 50,56 ----
  191.   /* List of shells to use if the shells file is missing. */
  192.   static char const* const default_shells[] =
  193.   {
  194. !   "/bin/sh", "/bin/ksh", "/bin/bash", NULL
  195.   };
  196.   
  197.   /* Index of the next shell in `default_shells' to return.
  198. diff -rc shellutils-1.9.4-fsf/man/Makefile.in shellutils-1.9.4-amiga/man/Makefile.in
  199. *** shellutils-1.9.4-fsf/man/Makefile.in    Tue Feb  1 14:14:23 1994
  200. --- shellutils-1.9.4-amiga/man/Makefile.in    Mon Feb 21 22:00:10 1994
  201. ***************
  202. *** 20,26 ****
  203.   srcdir = @srcdir@
  204.   VPATH = @srcdir@
  205.   
  206. ! prefix = /usr/local
  207.   exec_prefix = $(prefix)
  208.   mandir = $(prefix)/man/man1
  209.   manprefix = $(binprefix)
  210. --- 20,26 ----
  211.   srcdir = @srcdir@
  212.   VPATH = @srcdir@
  213.   
  214. ! prefix = /gnu
  215.   exec_prefix = $(prefix)
  216.   mandir = $(prefix)/man/man1
  217.   manprefix = $(binprefix)
  218. diff -rc shellutils-1.9.4-fsf/src/Makefile.in shellutils-1.9.4-amiga/src/Makefile.in
  219. *** shellutils-1.9.4-fsf/src/Makefile.in    Mon Feb 14 21:42:07 1994
  220. --- shellutils-1.9.4-amiga/src/Makefile.in    Mon Feb 21 22:01:18 1994
  221. ***************
  222. *** 20,26 ****
  223.   srcdir = @srcdir@
  224.   VPATH = @srcdir@
  225.   
  226. ! prefix = /usr/local
  227.   exec_prefix = $(prefix)
  228.   bindir = $(exec_prefix)/bin
  229.   binprefix = 
  230. --- 20,26 ----
  231.   srcdir = @srcdir@
  232.   VPATH = @srcdir@
  233.   
  234. ! prefix = /gnu
  235.   exec_prefix = $(prefix)
  236.   bindir = $(exec_prefix)/bin
  237.   binprefix = 
  238. ***************
  239. *** 44,53 ****
  240.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  241.   false.sh true.sh version.h long-options.h
  242.   
  243. ! PROGS = basename date dirname echo env expr false groups id logname \
  244. ! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
  245.   
  246. ! all: $(PROGS) su
  247.   
  248.   incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
  249.   .c.o:
  250. --- 44,53 ----
  251.   DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
  252.   false.sh true.sh version.h long-options.h
  253.   
  254. ! PROGS = basename date dirname echo env expr id logname \
  255. ! pathchk printenv printf sleep tee test whoami yes @PROGS@
  256.   
  257. ! all: $(PROGS)
  258.   
  259.   incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
  260.   .c.o:
  261. ***************
  262. *** 58,64 ****
  263.           $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; \
  264.       done
  265.       rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  266. !     @if test `./id -u` = 0; then \
  267.       echo you are root, so installing su; \
  268.       $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
  269.       chown root $(bindir)/$(binprefix)su; \
  270. --- 58,64 ----
  271.           $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; \
  272.       done
  273.       rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
  274. !     @if false; then