diff -rc gdbm-1.7.1-fsf/INSTALL gdbm-1.7.1-amiga/INSTALL *** gdbm-1.7.1-fsf/INSTALL Fri Oct 29 13:13:35 1993 --- gdbm-1.7.1-amiga/INSTALL Tue Feb 22 09:15:06 1994 *************** *** 66,73 **** DIR is the directory that contains the source code. By default, `make install' will install the package's files in ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc. You can specify an ! installation prefix other than /usr/local by giving `configure' the option `--prefix=PATH'. Alternately, you can do so by consistently giving a value for the `prefix' variable when you run `make', e.g., make prefix=/usr/gnu --- 66,73 ---- DIR is the directory that contains the source code. By default, `make install' will install the package's files in ! /gnu/bin, /gnu/lib, /gnu/man, etc. You can specify an ! installation prefix other than /gnu by giving `configure' the option `--prefix=PATH'. Alternately, you can do so by consistently giving a value for the `prefix' variable when you run `make', e.g., make prefix=/usr/gnu diff -rc gdbm-1.7.1-fsf/Makefile.in gdbm-1.7.1-amiga/Makefile.in *** gdbm-1.7.1-fsf/Makefile.in Tue Nov 16 10:11:32 1993 --- gdbm-1.7.1-amiga/Makefile.in Tue Feb 22 09:37:32 1994 *************** *** 18,28 **** LIBS = @LIBS@ # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL. ! CFLAGS = -g ! LDFLAGS = -g # Common prefix for installation directories ! prefix = /usr/local exec_prefix = $(prefix) binprefix = $(exec_prefix) manprefix = $(prefix) --- 18,28 ---- LIBS = @LIBS@ # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL. ! CFLAGS = -O2 ! LDFLAGS = # Common prefix for installation directories ! prefix = /gnu exec_prefix = $(prefix) binprefix = $(exec_prefix) manprefix = $(prefix) *************** *** 32,38 **** # The include directory for gdbm.h and dbm.h. includedir = $(prefix)/include # The include directory for standard cc. ! oldincludedir = /usr/include # Info and man directories. infodir = $(prefix)/info man3dir = $(prefix)/man/man3 --- 32,38 ---- # The include directory for gdbm.h and dbm.h. includedir = $(prefix)/include # The include directory for standard cc. ! oldincludedir = /gnu/include # Info and man directories. infodir = $(prefix)/info man3dir = $(prefix)/man/man3 *************** *** 45,51 **** SHELL = /bin/sh ! PROGS = libgdbm.a testgdbm testdbm testndbm tndbm tdbm conv2gdbm DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c --- 45,51 ---- SHELL = /bin/sh ! PROGS = libgdbm.a testgdbm testdbm testndbm # tndbm tdbm conv2gdbm DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c *************** *** 93,107 **** $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h ! if [ "$(CC)" != gcc ] ; then \ ! $(INSTALL_DATA) gdbm.h $(oldincludedir)/gdbm.h; \ ! if [ ! -r $(oldincludedir) ] ; then \ ! $(INSTALL_DATA) dbm.h $(oldincludedir)/dbm.h; \ ! else \ ! @echo "$(oldincludedir) has a dbm.h. GNU's version not installed."; \ ! fi; \ ! fi $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3 $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info libgdbm.a: $(OBJS) gdbm.h --- 93,101 ---- $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h ! -if [ -d $(man3dir) ] ; then true ; else mkdir -p $(man3dir) ; fi $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3 + -if [ -d $(infodir) ] ; then true ; else mkdir -p $(infodir) ; fi $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info libgdbm.a: $(OBJS) gdbm.h *************** *** 127,140 **** $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS) testndbm.o: testndbm.c ! $(CC) -c $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c testndbm: testndbm.o libgdbm.a $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a tndbm.o: testndbm.c cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c ! $(CC) -c $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c rm -f $(srcdir)/tndbm.c tndbm: tndbm.o libgdbm.a --- 121,134 ---- $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS) testndbm.o: testndbm.c ! $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c testndbm: testndbm.o libgdbm.a $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a tndbm.o: testndbm.c cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c ! $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c rm -f $(srcdir)/tndbm.c tndbm: tndbm.o libgdbm.a diff -rc gdbm-1.7.1-fsf/configure gdbm-1.7.1-amiga/configure *** gdbm-1.7.1-fsf/configure Sat Nov 13 09:04:40 1993 --- gdbm-1.7.1-amiga/configure Tue Feb 22 09:14:12 1994 *************** *** 102,108 **** srcdirdefaulted=yes # Try the directory containing this script, then `..'. prog=$0 ! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then --- 102,108 ---- srcdirdefaulted=yes # Try the directory containing this script, then `..'. prog=$0 ! confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then diff -rc gdbm-1.7.1-fsf/gdbm.info gdbm-1.7.1-amiga/gdbm.info *** gdbm-1.7.1-fsf/gdbm.info Tue Nov 16 11:20:35 1993 --- gdbm-1.7.1-amiga/gdbm.info Tue Feb 22 09:16:00 1994 *************** *** 149,155 **** char *gdbm_strerror(errno); int gdbm_setopt(dbf, option, value, size) ! The `gdbm.h' include file is often in the `/usr/local/gnu/include' directory. (The actual location of `gdbm.h' depends on your local installation of `gdbm'.) --- 149,155 ---- char *gdbm_strerror(errno); int gdbm_setopt(dbf, option, value, size) ! The `gdbm.h' include file is often in the `/gnu/include' directory. (The actual location of `gdbm.h' depends on your local installation of `gdbm'.) *************** *** 602,608 **** If you want to compile an old C program that used UNIX `dbm' or `ndbm' and want to use `gdbm' files, execute the following `cc' command: ! cc ... -L /usr/local/lib -lgdbm  File: gdbm.info, Node: Conversion, Next: Bugs, Prev: Compatibility, Up: Top --- 602,608 ---- If you want to compile an old C program that used UNIX `dbm' or `ndbm' and want to use `gdbm' files, execute the following `cc' command: ! cc ... -L /gnu/lib -lgdbm  File: gdbm.info, Node: Conversion, Next: Bugs, Prev: Compatibility, Up: Top diff -rc gdbm-1.7.1-fsf/gdbm.texinfo gdbm-1.7.1-amiga/gdbm.texinfo *** gdbm-1.7.1-fsf/gdbm.texinfo Tue Nov 16 10:20:42 1993 --- gdbm-1.7.1-amiga/gdbm.texinfo Tue Feb 22 09:16:19 1994 *************** *** 209,215 **** int gdbm_setopt(dbf, option, value, size) @end example ! The @code{gdbm.h} include file is often in the @file{/usr/local/gnu/include} directory. (The actual location of @code{gdbm.h} depends on your local installation of @code{gdbm}.) --- 209,215 ---- int gdbm_setopt(dbf, option, value, size) @end example ! The @code{gdbm.h} include file is often in the @file{/gnu/include} directory. (The actual location of @code{gdbm.h} depends on your local installation of @code{gdbm}.) *************** *** 660,666 **** and want to use @code{gdbm} files, execute the following @code{cc} command: @example ! cc ... -L /usr/local/lib -lgdbm @end example @node Conversion, Bugs, Compatibility, Top --- 660,666 ---- and want to use @code{gdbm} files, execute the following @code{cc} command: @example ! cc ... -L /gnu/lib -lgdbm @end example @node Conversion, Bugs, Compatibility, Top