home *** CD-ROM | disk | FTP | other *** search
- 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 Mon Dec 13 16:28:33 1993
- ***************
- *** 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 = -O
- ! LDFLAGS =
-
- # Common prefix for installation directories
- ! prefix = /usr
- exec_prefix = $(prefix)
- binprefix = $(exec_prefix)
- manprefix = $(prefix)
- ***************
- *** 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,99 ****
- $(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; \
- --- 93,99 ----
- $(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; \
- ***************
- *** 101,107 ****
- --- 101,109 ----
- @echo "$(oldincludedir) has a dbm.h. GNU's version not installed."; \
- fi; \
- fi
- + -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
- --- 129,142 ----
- $(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 Mon Dec 13 15:48:54 1993
- ***************
- *** 69,75 ****
- *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
- *) val=1 ;;
- esac
- ! eval "with_$package='$val'" ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
- verbose=yes ;;
- --- 69,75 ----
- *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
- *) val=1 ;;
- esac
- ! "with_$package='$val'" ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
- verbose=yes ;;
- ***************
- *** 91,97 ****
- rm -f conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- echo > confdefs.h
- ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- --- 91,97 ----
- rm -f conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- echo > confdefs.h
- ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
-
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- ***************
- *** 109,114 ****
- --- 109,115 ----
- srcdir=..
- fi
- fi
- + srcdir=../gdbm-1.7.1-amiga #HACK
- if test ! -r $srcdir/$unique_file; then
- if test x$srcdirdefaulted = xyes; then
- echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
- ***************
- *** 152,169 ****
- yes
- #endif
- EOF
- ! ${CC-cc} -E conftest.c > conftest.out 2>&1
- if egrep yes conftest.out >/dev/null 2>&1; then
- GCC=1 # For later tests.
- fi
- rm -f conftest*
-
- echo checking how to run the C preprocessor
- if test -z "$CPP"; then
- # This must be in double quotes, not single quotes, because CPP may get
- ! # substituted into the Makefile and ``${CC-cc}'' will simply confuse
- # make. It must be expanded now.
- ! CPP="${CC-cc} -E"
- cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <stdio.h>
- --- 153,171 ----
- yes
- #endif
- EOF
- ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
- if egrep yes conftest.out >/dev/null 2>&1; then
- GCC=1 # For later tests.
- fi
- rm -f conftest*
-
- echo checking how to run the C preprocessor
- + CPP="/lib/gcc-lib/amigados/2.3.3/cpp" #HACK
- if test -z "$CPP"; then
- # This must be in double quotes, not single quotes, because CPP may get
- ! # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
- # make. It must be expanded now.
- ! CPP="${CC-gcc} -E"
- cat > conftest.c <<EOF
- #include "confdefs.h"
- #include <stdio.h>
- ***************
- *** 245,251 ****
- #include "confdefs.h"
- main() { exit(sizeof(int) != 2); }
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- --- 247,253 ----
- #include "confdefs.h"
- main() { exit(sizeof(int) != 2); }
- EOF
- ! $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- ***************
- *** 268,274 ****
- #include "confdefs.h"
- main() { exit(sizeof(long int) != 8); }
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- --- 270,276 ----
- #include "confdefs.h"
- main() { exit(sizeof(long int) != 8); }
- EOF
- ! $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- ***************
- *** 331,337 ****
- int main() { exit(0); }
- int t() { $prog }
- EOF
- ! if eval $compile; then
- :
- else
- rm -rf conftest*
- --- 333,339 ----
- int main() { exit(0); }
- int t() { $prog }
- EOF
- ! if $compile; then
- :
- else
- rm -rf conftest*
- ***************
- *** 398,404 ****
- #endif
- }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- --- 400,406 ----
- #endif
- }
- EOF
- ! if $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ***************
- *** 448,454 ****
- int main() { exit(0); }
- int t() { char *p = alloca(2 * sizeof(int)); }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- --- 450,456 ----
- int main() { exit(0); }
- int t() { char *p = alloca(2 * sizeof(int)); }
- EOF
- ! if $compile; then
- rm -rf conftest*
-
- {
- ***************
- *** 487,493 ****
- int main() { exit(0); }
- int t() { char *p = (char *) alloca(1); }
- EOF
- ! if eval $compile; then
- :
- else
- rm -rf conftest*
- --- 489,495 ----
- int main() { exit(0); }
- int t() { char *p = (char *) alloca(1); }
- EOF
- ! if $compile; then
- :
- else
- rm -rf conftest*
- ***************
- *** 522,528 ****
- #endif
- }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- --- 524,530 ----
- #endif
- }
- EOF
- ! if $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ***************
- *** 555,561 ****
- #endif
- }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- --- 557,563 ----
- #endif
- }
- EOF
- ! if $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ***************
- *** 588,594 ****
- #endif
- }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- --- 590,596 ----
- #endif
- }
- EOF
- ! if $compile; then
- rm -rf conftest*
- {
- test -n "$verbose" && \
- ***************
- *** 645,651 ****
- #include "confdefs.h"
- main(){exit(0);}
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
- --- 647,653 ----
- #include "confdefs.h"
- main(){exit(0);}
- EOF
- ! $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
- ***************
- *** 687,693 ****
- exit (find_stack_direction() < 0);
- }
- EOF
- ! eval $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- --- 689,695 ----
- exit (find_stack_direction() < 0);
- }
- EOF
- ! $compile
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
-
- {
- ***************
- *** 730,736 ****
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- have_lib="1"
-
- --- 732,738 ----
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if $compile; then
- rm -rf conftest*
- have_lib="1"
-
- ***************
- *** 763,769 ****
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- have_lib="1"
-
- --- 765,771 ----
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if $compile; then
- rm -rf conftest*
- have_lib="1"
-
- ***************
- *** 796,802 ****
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
- have_lib="1"
-
- --- 798,804 ----
- int main() { exit(0); }
- int t() { main(); }
- EOF
- ! if $compile; then
- rm -rf conftest*
- have_lib="1"
-
- ***************
- *** 838,844 ****
- #endif
- }
- EOF
- ! if eval $compile; then
- :
- else
- rm -rf conftest*
- --- 840,846 ----
- #endif
- }
- EOF
- ! if $compile; then
- :
- else
- rm -rf conftest*
- ***************
- *** 857,863 ****
- int main() { exit(0); }
- int t() { struct stat s; s.st_blksize; }
- EOF
- ! if eval $compile; then
- rm -rf conftest*
-
- {
- --- 859,865 ----
- int main() { exit(0); }
- int t() { struct stat s; s.st_blksize; }
- EOF
- ! if $compile; then
- rm -rf conftest*
-
- {
- ***************
- *** 918,930 ****
- trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 3 15
- CC='$CC'
- CPP='$CPP'
- ! INSTALL='$INSTALL'
- INSTALL_PROGRAM='$INSTALL_PROGRAM'
- INSTALL_DATA='$INSTALL_DATA'
- RANLIB='$RANLIB'
- ALLOCA='$ALLOCA'
- LIBOBJS='$LIBOBJS'
- ! LIBS='$LIBS'
- srcdir='$srcdir'
- prefix='$prefix'
- exec_prefix='$exec_prefix'
- --- 920,932 ----
- trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 3 15
- CC='$CC'
- CPP='$CPP'
- ! INSTALL='/bin/ginstall' #HACK (fnf)
- INSTALL_PROGRAM='$INSTALL_PROGRAM'
- INSTALL_DATA='$INSTALL_DATA'
- RANLIB='$RANLIB'
- ALLOCA='$ALLOCA'
- LIBOBJS='$LIBOBJS'
- ! LIBS='-lc' #HACK (fnf)
- srcdir='$srcdir'
- prefix='$prefix'
- exec_prefix='$exec_prefix'
-