home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / gdbm-1.7.1-src.lha / src / diffs / gdbm-1.7.1.diffs
Encoding:
Text File  |  1994-02-22  |  7.7 KB  |  237 lines

  1. diff -rc gdbm-1.7.1-fsf/INSTALL gdbm-1.7.1-amiga/INSTALL
  2. *** gdbm-1.7.1-fsf/INSTALL    Fri Oct 29 13:13:35 1993
  3. --- gdbm-1.7.1-amiga/INSTALL    Tue Feb 22 09:15:06 1994
  4. ***************
  5. *** 66,73 ****
  6.   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/lib, /usr/local/man, etc.  You can specify an
  10. ! installation prefix other than /usr/local by giving `configure' the option
  11.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  12.   for the `prefix' variable when you run `make', e.g.,
  13.       make prefix=/usr/gnu
  14. --- 66,73 ----
  15.   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/lib, /gnu/man, etc.  You can specify an
  19. ! installation prefix other than /gnu by giving `configure' the option
  20.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  21.   for the `prefix' variable when you run `make', e.g.,
  22.       make prefix=/usr/gnu
  23. diff -rc gdbm-1.7.1-fsf/Makefile.in gdbm-1.7.1-amiga/Makefile.in
  24. *** gdbm-1.7.1-fsf/Makefile.in    Tue Nov 16 10:11:32 1993
  25. --- gdbm-1.7.1-amiga/Makefile.in    Tue Feb 22 09:37:32 1994
  26. ***************
  27. *** 18,28 ****
  28.   LIBS = @LIBS@
  29.   
  30.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  31. ! CFLAGS = -g
  32. ! LDFLAGS = -g
  33.   
  34.   # Common prefix for installation directories
  35. ! prefix = /usr/local
  36.   exec_prefix = $(prefix)
  37.   binprefix = $(exec_prefix)
  38.   manprefix = $(prefix)
  39. --- 18,28 ----
  40.   LIBS = @LIBS@
  41.   
  42.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  43. ! CFLAGS = -O2
  44. ! LDFLAGS =
  45.   
  46.   # Common prefix for installation directories
  47. ! prefix = /gnu
  48.   exec_prefix = $(prefix)
  49.   binprefix = $(exec_prefix)
  50.   manprefix = $(prefix)
  51. ***************
  52. *** 32,38 ****
  53.   # The include directory for gdbm.h and dbm.h.
  54.   includedir = $(prefix)/include
  55.   # The include directory for standard cc.
  56. ! oldincludedir = /usr/include
  57.   # Info and man directories.
  58.   infodir = $(prefix)/info
  59.   man3dir = $(prefix)/man/man3
  60. --- 32,38 ----
  61.   # The include directory for gdbm.h and dbm.h.
  62.   includedir = $(prefix)/include
  63.   # The include directory for standard cc.
  64. ! oldincludedir = /gnu/include
  65.   # Info and man directories.
  66.   infodir = $(prefix)/info
  67.   man3dir = $(prefix)/man/man3
  68. ***************
  69. *** 45,51 ****
  70.   
  71.   SHELL = /bin/sh
  72.   
  73. ! PROGS = libgdbm.a testgdbm testdbm testndbm tndbm tdbm conv2gdbm
  74.   
  75.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  76.   
  77. --- 45,51 ----
  78.   
  79.   SHELL = /bin/sh
  80.   
  81. ! PROGS = libgdbm.a testgdbm testdbm testndbm # tndbm tdbm conv2gdbm
  82.   
  83.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  84.   
  85. ***************
  86. *** 93,107 ****
  87.       $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a
  88.       $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h
  89.       $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h
  90. !     if [ "$(CC)" != gcc ] ; then \
  91. !         $(INSTALL_DATA) gdbm.h $(oldincludedir)/gdbm.h; \
  92. !         if [ ! -r $(oldincludedir) ] ; then \
  93. !         $(INSTALL_DATA) dbm.h $(oldincludedir)/dbm.h; \
  94. !         else \
  95. !         @echo "$(oldincludedir) has a dbm.h.  GNU's version not installed."; \
  96. !         fi; \
  97. !     fi
  98.       $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3
  99.       $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info
  100.   
  101.   libgdbm.a: $(OBJS) gdbm.h
  102. --- 93,101 ----
  103.       $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a
  104.       $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h
  105.       $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h
  106. !     -if [ -d $(man3dir) ] ; then true ; else mkdir -p $(man3dir) ; fi
  107.       $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3
  108. +     -if [ -d $(infodir) ] ; then true ; else mkdir -p $(infodir) ; fi
  109.       $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info
  110.   
  111.   libgdbm.a: $(OBJS) gdbm.h
  112. ***************
  113. *** 127,140 ****
  114.       $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS)
  115.   
  116.   testndbm.o: testndbm.c
  117. !     $(CC) -c $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c
  118.   
  119.   testndbm: testndbm.o libgdbm.a
  120.       $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a
  121.   
  122.   tndbm.o: testndbm.c
  123.       cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c
  124. !     $(CC) -c $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c
  125.       rm -f $(srcdir)/tndbm.c
  126.   
  127.   tndbm: tndbm.o libgdbm.a
  128. --- 121,134 ----
  129.       $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS)
  130.   
  131.   testndbm.o: testndbm.c
  132. !     $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c
  133.   
  134.   testndbm: testndbm.o libgdbm.a
  135.       $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a
  136.   
  137.   tndbm.o: testndbm.c
  138.       cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c
  139. !     $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c
  140.       rm -f $(srcdir)/tndbm.c
  141.   
  142.   tndbm: tndbm.o libgdbm.a
  143. diff -rc gdbm-1.7.1-fsf/configure gdbm-1.7.1-amiga/configure
  144. *** gdbm-1.7.1-fsf/configure    Sat Nov 13 09:04:40 1993
  145. --- gdbm-1.7.1-amiga/configure    Tue Feb 22 09:14:12 1994
  146. ***************
  147. *** 102,108 ****
  148.     srcdirdefaulted=yes
  149.     # Try the directory containing this script, then `..'.
  150.     prog=$0
  151. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  152.     test "X$confdir" = "X$prog" && confdir=.
  153.     srcdir=$confdir
  154.     if test ! -r $srcdir/$unique_file; then
  155. --- 102,108 ----
  156.     srcdirdefaulted=yes
  157.     # Try the directory containing this script, then `..'.
  158.     prog=$0
  159. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  160.     test "X$confdir" = "X$prog" && confdir=.
  161.     srcdir=$confdir
  162.     if test ! -r $srcdir/$unique_file; then
  163. diff -rc gdbm-1.7.1-fsf/gdbm.info gdbm-1.7.1-amiga/gdbm.info
  164. *** gdbm-1.7.1-fsf/gdbm.info    Tue Nov 16 11:20:35 1993
  165. --- gdbm-1.7.1-amiga/gdbm.info    Tue Feb 22 09:16:00 1994
  166. ***************
  167. *** 149,155 ****
  168.        char *gdbm_strerror(errno);
  169.        int gdbm_setopt(dbf, option, value, size)
  170.   
  171. !    The `gdbm.h' include file is often in the `/usr/local/gnu/include'
  172.   directory. (The actual location of `gdbm.h' depends on your local
  173.   installation of `gdbm'.)
  174.   
  175. --- 149,155 ----
  176.        char *gdbm_strerror(errno);
  177.        int gdbm_setopt(dbf, option, value, size)
  178.   
  179. !    The `gdbm.h' include file is often in the `/gnu/include'
  180.   directory. (The actual location of `gdbm.h' depends on your local
  181.   installation of `gdbm'.)
  182.   
  183. ***************
  184. *** 602,608 ****
  185.      If you want to compile an old C program that used UNIX `dbm' or
  186.   `ndbm' and want to use `gdbm' files, execute the following `cc' command:
  187.   
  188. !      cc ... -L /usr/local/lib -lgdbm
  189.   
  190.   
  191.   File: gdbm.info,  Node: Conversion,  Next: Bugs,  Prev: Compatibility,  Up: Top
  192. --- 602,608 ----
  193.      If you want to compile an old C program that used UNIX `dbm' or
  194.   `ndbm' and want to use `gdbm' files, execute the following `cc' command:
  195.   
  196. !      cc ... -L /gnu/lib -lgdbm
  197.   
  198.   
  199.   File: gdbm.info,  Node: Conversion,  Next: Bugs,  Prev: Compatibility,  Up: Top
  200. diff -rc gdbm-1.7.1-fsf/gdbm.texinfo gdbm-1.7.1-amiga/gdbm.texinfo
  201. *** gdbm-1.7.1-fsf/gdbm.texinfo    Tue Nov 16 10:20:42 1993
  202. --- gdbm-1.7.1-amiga/gdbm.texinfo    Tue Feb 22 09:16:19 1994
  203. ***************
  204. *** 209,215 ****
  205.   int gdbm_setopt(dbf, option, value, size)
  206.   @end example
  207.   
  208. ! The @code{gdbm.h} include file is often in the @file{/usr/local/gnu/include}
  209.   directory. (The actual location of @code{gdbm.h} depends on your local
  210.   installation of @code{gdbm}.)
  211.   
  212. --- 209,215 ----
  213.   int gdbm_setopt(dbf, option, value, size)
  214.   @end example
  215.   
  216. ! The @code{gdbm.h} include file is often in the @file{/gnu/include}
  217.   directory. (The actual location of @code{gdbm.h} depends on your local
  218.   installation of @code{gdbm}.)
  219.   
  220. ***************
  221. *** 660,666 ****
  222.   and want to use @code{gdbm} files, execute the following @code{cc} command:
  223.   
  224.   @example
  225. ! cc ... -L /usr/local/lib -lgdbm
  226.   @end example
  227.   
  228.   @node Conversion, Bugs, Compatibility, Top
  229. --- 660,666 ----
  230.   and want to use @code{gdbm} files, execute the following @code{cc} command:
  231.   
  232.   @example
  233. ! cc ... -L /gnu/lib -lgdbm
  234.   @end example
  235.   
  236.   @node Conversion, Bugs, Compatibility, Top
  237.