[183] in Zephyr_Bugs
re: syslogd patches
daemon@ATHENA.MIT.EDU (John T Kohl)
Fri Dec 7 13:37:43 1990
Date: Fri, 7 Dec 90 13:37:29 EST
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: zephyr-bugs@ATHENA.MIT.EDU
In-Reply-To: [182]
Here are (untested) config/config.Imakefile and
clients/syslogd/Imakefile changes to support the supplied syslogd
changes.
*** /mit/zephyr/src/clients/syslogd/Imakefile Tue May 30 14:57:53 1989
--- /tmp/Imakefile Fri Dec 7 13:34:58 1990
***************
*** 21,28 ****
SRCDIR= ${SRCTOP}/clients/syslogd
CODE= ${SRCS} ${HDRS} ${TSRCS} Imakefile
#ifdef SYSLOG_COMPAT42
! DEFINES = -DCOMPAT42
#endif
normal_obj_rule()
--- 21,38 ----
SRCDIR= ${SRCTOP}/clients/syslogd
CODE= ${SRCS} ${HDRS} ${TSRCS} Imakefile
+ #ifdef ultrix
+ POSIX_DEFINES = -DPOSIX_SIGHANDLERS
+ KLOG_DEFINES = -DNO_KLOG
+ #else
+ POSIX_DEFINES =
+ KLOG_DEFINES =
+ #endif
+
#ifdef SYSLOG_COMPAT42
! DEFINES = -DCOMPAT42 $(KLOG_DEFINES) $(POSIX_DEFINES)
! #else
! DEFINES = $(KLOG_DEFINES) $(POSIX_DEFINES)
#endif
normal_obj_rule()
*** /mit/zephyr/src/config/config.Imakefile Wed Dec 5 23:21:18 1990
--- /tmp/config.Imakefile Fri Dec 7 13:32:57 1990
***************
*** 56,70 ****
/*
* Define DO_SYSLOG if you want to build a Zephyr syslogd.
*/
- #if !defined(ultrix)
#define DO_SYSLOG
- #endif
/*
! * If you want a 4.3BSD syslogd which can run on a system already running
! * a 4.2BSD syslog, define SYSLOG_COMPAT42 on this line. Otherwise, it
* assumes it is running on a true 4.3BSD system.
*/
! /* #define SYSLOG_COMPAT42 */
/*
* Define PROFILED_LIBS if you want to build a profiled version of the
* Zephyr Library
--- 56,71 ----
/*
* Define DO_SYSLOG if you want to build a Zephyr syslogd.
*/
#define DO_SYSLOG
/*
! * If you want a 4.3BSD syslogd which can replace a
! * a 4.2BSD syslog (and provide logging service for both old and new
! * syslog clients), define SYSLOG_COMPAT42 on this line. Otherwise, syslogd
* assumes it is running on a true 4.3BSD system.
*/
! #if defined(ultrix)
! #define SYSLOG_COMPAT42
! #endif
/*
* Define PROFILED_LIBS if you want to build a profiled version of the
* Zephyr Library