home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / GAWK / SUN4C / GAWK. next >
Encoding:
Text File  |  1998-07-24  |  1.2 KB  |  44 lines

  1. --- configure.rtr    Wed May 21 10:00:05 1997
  2. +++ configure    Wed May 21 13:24:55 1997
  3. @@ -53,6 +53,7 @@
  4.  # Initialize some other variables.
  5.  subdirs=
  6.  MFLAGS= MAKEFLAGS=
  7. +LIBS="-ldl "
  8.  # Maximum number of lines to put in a shell here document.
  9.  ac_max_here_lines=12
  10.  
  11. --- protos.h.rtr    Sun Oct 20 21:14:19 1996
  12. +++ protos.h    Wed May 21 13:24:18 1997
  13. @@ -123,6 +123,6 @@
  14.  extern long time P((long *));
  15.  #endif
  16.  
  17. -extern SPRINTF_RET sprintf P((char *, const char *, ...));
  18. +/* extern SPRINTF_RET sprintf P((char *, const char *, ...)); */
  19.  
  20.  #undef aptr_t
  21. --- awklib/Makefile.in.rtr    Thu May  1 21:36:13 1997
  22. +++ awklib/Makefile.in    Wed May 21 13:24:20 1997
  23. @@ -30,6 +30,7 @@
  24.  
  25.  CC = @CC@
  26.  CFLAGS = @CFLAGS@
  27. +LIBS = @LIBS@
  28.  
  29.  prefix = @prefix@
  30.  exec_prefix = @exec_prefix@
  31. @@ -56,10 +57,10 @@
  32.      @echo 'against a file, so this file is a place holder. gack.' >> stamp-eg
  33.  
  34.  pwcat: $(srcdir)/eg/lib/pwcat.c
  35. -    $(CC) $(CFLAGS) $(srcdir)/eg/lib/pwcat.c $(LDFLAGS) -o $@
  36. +    $(CC) $(CFLAGS) $(srcdir)/eg/lib/pwcat.c $(LDFLAGS) $(LIBS) -o $@
  37.  
  38.  grcat: $(srcdir)/eg/lib/grcat.c
  39. -    $(CC) $(CFLAGS) $(srcdir)/eg/lib/grcat.c $(LDFLAGS) -o $@
  40. +    $(CC) $(CFLAGS) $(srcdir)/eg/lib/grcat.c $(LDFLAGS) $(LIBS) -o $@
  41.  
  42.  igawk: $(srcdir)/eg/prog/igawk.sh
  43.      cp $(srcdir)/eg/prog/igawk.sh $@ ; chmod 755 $@
  44.