home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / gdbm / gdbm-1.7.1.diffs next >
Encoding:
Text File  |  1993-12-13  |  11.0 KB  |  494 lines

  1. diff -rc gdbm-1.7.1-fsf/Makefile.in gdbm-1.7.1-amiga/Makefile.in
  2. *** gdbm-1.7.1-fsf/Makefile.in    Tue Nov 16 10:11:32 1993
  3. --- gdbm-1.7.1-amiga/Makefile.in    Mon Dec 13 16:28:33 1993
  4. ***************
  5. *** 18,28 ****
  6.   LIBS = @LIBS@
  7.   
  8.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  9. ! CFLAGS = -g
  10. ! LDFLAGS = -g
  11.   
  12.   # Common prefix for installation directories
  13. ! prefix = /usr/local
  14.   exec_prefix = $(prefix)
  15.   binprefix = $(exec_prefix)
  16.   manprefix = $(prefix)
  17. --- 18,28 ----
  18.   LIBS = @LIBS@
  19.   
  20.   # SunOS users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
  21. ! CFLAGS = -O
  22. ! LDFLAGS =
  23.   
  24.   # Common prefix for installation directories
  25. ! prefix = /usr
  26.   exec_prefix = $(prefix)
  27.   binprefix = $(exec_prefix)
  28.   manprefix = $(prefix)
  29. ***************
  30. *** 45,51 ****
  31.   
  32.   SHELL = /bin/sh
  33.   
  34. ! PROGS = libgdbm.a testgdbm testdbm testndbm tndbm tdbm conv2gdbm
  35.   
  36.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  37.   
  38. --- 45,51 ----
  39.   
  40.   SHELL = /bin/sh
  41.   
  42. ! PROGS = libgdbm.a testgdbm testdbm testndbm # tndbm tdbm conv2gdbm
  43.   
  44.   DBM_CF = dbminit.c delete.c fetch.c store.c seq.c close.c
  45.   
  46. ***************
  47. *** 93,99 ****
  48.       $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a
  49.       $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h
  50.       $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h
  51. !     if [ "$(CC)" != gcc ] ; then \
  52.           $(INSTALL_DATA) gdbm.h $(oldincludedir)/gdbm.h; \
  53.           if [ ! -r $(oldincludedir) ] ; then \
  54.           $(INSTALL_DATA) dbm.h $(oldincludedir)/dbm.h; \
  55. --- 93,99 ----
  56.       $(INSTALL_DATA) libgdbm.a $(libdir)/libgdbm.a
  57.       $(INSTALL_DATA) gdbm.h $(includedir)/gdbm.h
  58.       $(INSTALL_DATA) $(srcdir)/dbm.h $(includedir)/dbm.h
  59. !     -if [ "$(CC)" != gcc ] ; then \
  60.           $(INSTALL_DATA) gdbm.h $(oldincludedir)/gdbm.h; \
  61.           if [ ! -r $(oldincludedir) ] ; then \
  62.           $(INSTALL_DATA) dbm.h $(oldincludedir)/dbm.h; \
  63. ***************
  64. *** 101,107 ****
  65. --- 101,109 ----
  66.           @echo "$(oldincludedir) has a dbm.h.  GNU's version not installed."; \
  67.           fi; \
  68.       fi
  69. +     -if [ -d $(man3dir) ] ; then true ; else mkdir -p $(man3dir) ; fi
  70.       $(INSTALL_DATA) $(srcdir)/gdbm.3 $(man3dir)/gdbm.3
  71. +     -if [ -d $(infodir) ] ; then true ; else mkdir -p $(infodir) ; fi
  72.       $(INSTALL_DATA) $(srcdir)/gdbm.info $(infodir)/gdbm.info
  73.   
  74.   libgdbm.a: $(OBJS) gdbm.h
  75. ***************
  76. *** 127,140 ****
  77.       $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS)
  78.   
  79.   testndbm.o: testndbm.c
  80. !     $(CC) -c $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c
  81.   
  82.   testndbm: testndbm.o libgdbm.a
  83.       $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a
  84.   
  85.   tndbm.o: testndbm.c
  86.       cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c
  87. !     $(CC) -c $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c
  88.       rm -f $(srcdir)/tndbm.c
  89.   
  90.   tndbm: tndbm.o libgdbm.a
  91. --- 129,142 ----
  92.       $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS)
  93.   
  94.   testndbm.o: testndbm.c
  95. !     $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c
  96.   
  97.   testndbm: testndbm.o libgdbm.a
  98.       $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.a
  99.   
  100.   tndbm.o: testndbm.c
  101.       cp $(srcdir)/testndbm.c $(srcdir)/tndbm.c
  102. !     $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) $(srcdir)/tndbm.c
  103.       rm -f $(srcdir)/tndbm.c
  104.   
  105.   tndbm: tndbm.o libgdbm.a
  106. diff -rc gdbm-1.7.1-fsf/configure gdbm-1.7.1-amiga/configure
  107. *** gdbm-1.7.1-fsf/configure    Sat Nov 13 09:04:40 1993
  108. --- gdbm-1.7.1-amiga/configure    Mon Dec 13 15:48:54 1993
  109. ***************
  110. *** 69,75 ****
  111.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  112.            *) val=1 ;;
  113.          esac
  114. !        eval "with_$package='$val'" ;;
  115.   
  116.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  117.          verbose=yes ;;
  118. --- 69,75 ----
  119.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  120.            *) val=1 ;;
  121.          esac
  122. !        "with_$package='$val'" ;;
  123.   
  124.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  125.          verbose=yes ;;
  126. ***************
  127. *** 91,97 ****
  128.   rm -f conftest* confdefs.h
  129.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  130.   echo > confdefs.h
  131. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  132.   
  133.   # A filename unique to this package, relative to the directory that
  134.   # configure is in, which we can look for to find out if srcdir is correct.
  135. --- 91,97 ----
  136.   rm -f conftest* confdefs.h
  137.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  138.   echo > confdefs.h
  139. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  140.   
  141.   # A filename unique to this package, relative to the directory that
  142.   # configure is in, which we can look for to find out if srcdir is correct.
  143. ***************
  144. *** 109,114 ****
  145. --- 109,115 ----
  146.       srcdir=..
  147.     fi
  148.   fi
  149. + srcdir=../gdbm-1.7.1-amiga    #HACK
  150.   if test ! -r $srcdir/$unique_file; then
  151.     if test x$srcdirdefaulted = xyes; then
  152.       echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  153. ***************
  154. *** 152,169 ****
  155.     yes
  156.   #endif
  157.   EOF
  158. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  159.   if egrep yes conftest.out >/dev/null 2>&1; then
  160.     GCC=1 # For later tests.
  161.   fi
  162.   rm -f conftest*
  163.   
  164.   echo checking how to run the C preprocessor
  165.   if test -z "$CPP"; then
  166.     # This must be in double quotes, not single quotes, because CPP may get
  167. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  168.     # make.  It must be expanded now.
  169. !   CPP="${CC-cc} -E"
  170.     cat > conftest.c <<EOF
  171.   #include "confdefs.h"
  172.   #include <stdio.h>
  173. --- 153,171 ----
  174.     yes
  175.   #endif
  176.   EOF
  177. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  178.   if egrep yes conftest.out >/dev/null 2>&1; then
  179.     GCC=1 # For later tests.
  180.   fi
  181.   rm -f conftest*
  182.   
  183.   echo checking how to run the C preprocessor
  184. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  185.   if test -z "$CPP"; then
  186.     # This must be in double quotes, not single quotes, because CPP may get
  187. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  188.     # make.  It must be expanded now.
  189. !   CPP="${CC-gcc} -E"
  190.     cat > conftest.c <<EOF
  191.   #include "confdefs.h"
  192.   #include <stdio.h>
  193. ***************
  194. *** 245,251 ****
  195.   #include "confdefs.h"
  196.   main() { exit(sizeof(int) != 2); }
  197.   EOF
  198. ! eval $compile
  199.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  200.     
  201.   {
  202. --- 247,253 ----
  203.   #include "confdefs.h"
  204.   main() { exit(sizeof(int) != 2); }
  205.   EOF
  206. ! $compile
  207.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  208.     
  209.   {
  210. ***************
  211. *** 268,274 ****
  212.   #include "confdefs.h"
  213.   main() { exit(sizeof(long int) != 8); }
  214.   EOF
  215. ! eval $compile
  216.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  217.     
  218.   {
  219. --- 270,276 ----
  220.   #include "confdefs.h"
  221.   main() { exit(sizeof(long int) != 8); }
  222.   EOF
  223. ! $compile
  224.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  225.     
  226.   {
  227. ***************
  228. *** 331,337 ****
  229.   int main() { exit(0); }
  230.   int t() { $prog }
  231.   EOF
  232. ! if eval $compile; then
  233.     :
  234.   else
  235.     rm -rf conftest*
  236. --- 333,339 ----
  237.   int main() { exit(0); }
  238.   int t() { $prog }
  239.   EOF
  240. ! if $compile; then
  241.     :
  242.   else
  243.     rm -rf conftest*
  244. ***************
  245. *** 398,404 ****
  246.   #endif
  247.    }
  248.   EOF
  249. ! if eval $compile; then
  250.     rm -rf conftest*
  251.     {
  252.   test -n "$verbose" && \
  253. --- 400,406 ----
  254.   #endif
  255.    }
  256.   EOF
  257. ! if $compile; then
  258.     rm -rf conftest*
  259.     {
  260.   test -n "$verbose" && \
  261. ***************
  262. *** 448,454 ****
  263.   int main() { exit(0); }
  264.   int t() { char *p = alloca(2 * sizeof(int)); }
  265.   EOF
  266. ! if eval $compile; then
  267.     rm -rf conftest*
  268.     
  269.   {
  270. --- 450,456 ----
  271.   int main() { exit(0); }
  272.   int t() { char *p = alloca(2 * sizeof(int)); }
  273.   EOF
  274. ! if $compile; then
  275.     rm -rf conftest*
  276.     
  277.   {
  278. ***************
  279. *** 487,493 ****
  280.   int main() { exit(0); }
  281.   int t() { char *p = (char *) alloca(1); }
  282.   EOF
  283. ! if eval $compile; then
  284.     :
  285.   else
  286.     rm -rf conftest*
  287. --- 489,495 ----
  288.   int main() { exit(0); }
  289.   int t() { char *p = (char *) alloca(1); }
  290.   EOF
  291. ! if $compile; then
  292.     :
  293.   else
  294.     rm -rf conftest*
  295. ***************
  296. *** 522,528 ****
  297.   #endif
  298.    }
  299.   EOF
  300. ! if eval $compile; then
  301.     rm -rf conftest*
  302.     {
  303.   test -n "$verbose" && \
  304. --- 524,530 ----
  305.   #endif
  306.    }
  307.   EOF
  308. ! if $compile; then
  309.     rm -rf conftest*
  310.     {
  311.   test -n "$verbose" && \
  312. ***************
  313. *** 555,561 ****
  314.   #endif
  315.    }
  316.   EOF
  317. ! if eval $compile; then
  318.     rm -rf conftest*
  319.     {
  320.   test -n "$verbose" && \
  321. --- 557,563 ----
  322.   #endif
  323.    }
  324.   EOF
  325. ! if $compile; then
  326.     rm -rf conftest*
  327.     {
  328.   test -n "$verbose" && \
  329. ***************
  330. *** 588,594 ****
  331.   #endif
  332.    }
  333.   EOF
  334. ! if eval $compile; then
  335.     rm -rf conftest*
  336.     {
  337.   test -n "$verbose" && \
  338. --- 590,596 ----
  339.   #endif
  340.    }
  341.   EOF
  342. ! if $compile; then
  343.     rm -rf conftest*
  344.     {
  345.   test -n "$verbose" && \
  346. ***************
  347. *** 645,651 ****
  348.   #include "confdefs.h"
  349.   main(){exit(0);}
  350.   EOF
  351. ! eval $compile
  352.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  353.     :
  354.   else
  355. --- 647,653 ----
  356.   #include "confdefs.h"
  357.   main(){exit(0);}
  358.   EOF
  359. ! $compile
  360.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  361.     :
  362.   else
  363. ***************
  364. *** 687,693 ****
  365.     exit (find_stack_direction() < 0);
  366.   }
  367.   EOF
  368. ! eval $compile
  369.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  370.     
  371.   {
  372. --- 689,695 ----
  373.     exit (find_stack_direction() < 0);
  374.   }
  375.   EOF
  376. ! $compile
  377.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  378.     
  379.   {
  380. ***************
  381. *** 730,736 ****
  382.   int main() { exit(0); }
  383.   int t() { main(); }
  384.   EOF
  385. ! if eval $compile; then
  386.     rm -rf conftest*
  387.     have_lib="1"
  388.   
  389. --- 732,738 ----
  390.   int main() { exit(0); }
  391.   int t() { main(); }
  392.   EOF
  393. ! if $compile; then
  394.     rm -rf conftest*
  395.     have_lib="1"
  396.   
  397. ***************
  398. *** 763,769 ****
  399.   int main() { exit(0); }
  400.   int t() { main(); }
  401.   EOF
  402. ! if eval $compile; then
  403.     rm -rf conftest*
  404.     have_lib="1"
  405.   
  406. --- 765,771 ----
  407.   int main() { exit(0); }
  408.   int t() { main(); }
  409.   EOF
  410. ! if $compile; then
  411.     rm -rf conftest*
  412.     have_lib="1"
  413.   
  414. ***************
  415. *** 796,802 ****
  416.   int main() { exit(0); }
  417.   int t() { main(); }
  418.   EOF
  419. ! if eval $compile; then
  420.     rm -rf conftest*
  421.     have_lib="1"
  422.   
  423. --- 798,804 ----
  424.   int main() { exit(0); }
  425.   int t() { main(); }
  426.   EOF
  427. ! if $compile; then
  428.     rm -rf conftest*
  429.     have_lib="1"
  430.   
  431. ***************
  432. *** 838,844 ****
  433.   #endif
  434.    }
  435.   EOF
  436. ! if eval $compile; then
  437.     :
  438.   else
  439.     rm -rf conftest*
  440. --- 840,846 ----
  441.   #endif
  442.    }
  443.   EOF
  444. ! if $compile; then
  445.     :
  446.   else
  447.     rm -rf conftest*
  448. ***************
  449. *** 857,863 ****
  450.   int main() { exit(0); }
  451.   int t() { struct stat s; s.st_blksize; }
  452.   EOF
  453. ! if eval $compile; then
  454.     rm -rf conftest*
  455.     
  456.   {
  457. --- 859,865 ----
  458.   int main() { exit(0); }
  459.   int t() { struct stat s; s.st_blksize; }
  460.   EOF
  461. ! if $compile; then
  462.     rm -rf conftest*
  463.     
  464.   {
  465. ***************
  466. *** 918,930 ****
  467.   trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 3 15
  468.   CC='$CC'
  469.   CPP='$CPP'
  470. ! INSTALL='$INSTALL'
  471.   INSTALL_PROGRAM='$INSTALL_PROGRAM'
  472.   INSTALL_DATA='$INSTALL_DATA'
  473.   RANLIB='$RANLIB'
  474.   ALLOCA='$ALLOCA'
  475.   LIBOBJS='$LIBOBJS'
  476. ! LIBS='$LIBS'
  477.   srcdir='$srcdir'
  478.   prefix='$prefix'
  479.   exec_prefix='$exec_prefix'
  480. --- 920,932 ----
  481.   trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 3 15
  482.   CC='$CC'
  483.   CPP='$CPP'
  484. ! INSTALL='/bin/ginstall'    #HACK (fnf)
  485.   INSTALL_PROGRAM='$INSTALL_PROGRAM'
  486.   INSTALL_DATA='$INSTALL_DATA'
  487.   RANLIB='$RANLIB'
  488.   ALLOCA='$ALLOCA'
  489.   LIBOBJS='$LIBOBJS'
  490. ! LIBS='-lc'    #HACK (fnf)
  491.   srcdir='$srcdir'
  492.   prefix='$prefix'
  493.   exec_prefix='$exec_prefix'
  494.