From 904f6f55f53ee52530a03aacffa7d9134df66fae Mon Sep 17 00:00:00 2001 From: dfs Date: Sun, 10 May 1998 01:29:12 +0000 Subject: [PATCH] -- Fixed install target in makefile. -- Added __sun__ test to queue.c --- src/Makefile.in | 10 +++++++--- src/queue.c | 7 ++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 88c6c411..ce961441 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,6 +1,6 @@ # Makefile.in for REMIND # -# $Id: Makefile.in,v 1.9 1998-05-05 03:16:26 dfs Exp $ +# $Id: Makefile.in,v 1.10 1998-05-10 01:29:12 dfs Exp $ VERSION= 03.00.19 SHELL= /bin/sh @@ -44,10 +44,14 @@ remind: $(REMINDOBJS) @CC@ @LDFLAGS@ -o remind $(REMINDOBJS) @LIBS@ install: all - $(INSTALL_PROGRAM) $(PROGS) $(SCRIPTS) $(bindir) + for prog in $(PROGS) $(SCRIPTS) ; do \ + $(INSTALL_PROGRAM) $$prog $(bindir) ; \ + done -strip $(bindir)/remind -strip $(bindir)/rem2ps - $(INSTALL_DATA) $(MANS) $(mandir)/man1 + for man in $(MANS) ; do \ + $(INSTALL_DATA) $$man $(mandir)/man1 ; \ + done clean: rm -f *.o *~ core *.bak $(PROGS) diff --git a/src/queue.c b/src/queue.c index 24e1cec8..9781da5f 100644 --- a/src/queue.c +++ b/src/queue.c @@ -9,8 +9,13 @@ /* */ /***************************************************************/ +/* Solaris needs this to get select() prototype */ +#ifdef __sun__ +#define __EXTENSIONS__ 1 +#endif + #include "config.h" -static char const RCSID[] = "$Id: queue.c,v 1.7 1998-03-30 05:08:52 dfs Exp $"; +static char const RCSID[] = "$Id: queue.c,v 1.8 1998-05-10 01:29:12 dfs Exp $"; /* We only want object code generated if we have queued reminders */ #ifdef HAVE_QUEUED