From 4979cd019d01a9c87e75d076ad87c8675a173132 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 19 Dec 1995 22:31:31 +0000 Subject: [PATCH] Don't drag in syslog.c if vsyslog() is not defined. Only drag it in if syslog() isn't available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7238 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/posix/ChangeLog | 5 +++++ src/lib/krb5/posix/configure.in | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog index 3fa05e32b..3df1a00c2 100644 --- a/src/lib/krb5/posix/ChangeLog +++ b/src/lib/krb5/posix/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 19 17:29:21 1995 Theodore Y. Ts'o + + * configure.in: Don't drag in syslog.c if vsyslog() is not + defined. Only drag it in if syslog() isn't available. + Fri Oct 6 22:05:16 1995 Theodore Y. Ts'o * Makefile.in: Remove ##DOS!include of config/windows.in. diff --git a/src/lib/krb5/posix/configure.in b/src/lib/krb5/posix/configure.in index 5756c57ad..8ecb1ce18 100644 --- a/src/lib/krb5/posix/configure.in +++ b/src/lib/krb5/posix/configure.in @@ -4,7 +4,6 @@ SubdirLibraryRule([${OBJS}]) V5_SHARED_LIB_OBJS AC_CONST AC_HEADER_CHECK(paths.h,AC_DEFINE(HAS_PATHS_H)) -AC_REPLACE_FUNCS(vfprintf vsprintf strdup strcasecmp strerror memmove daemon getuid sscanf) -AC_FUNC_CHECK(vsyslog, ,[LIBOBJS="[$]LIBOBJS syslog.o"]) +AC_REPLACE_FUNCS(vfprintf vsprintf strdup strcasecmp strerror memmove daemon getuid sscanf syslog) AC_FUNC_CHECK(setsid,AC_DEFINE(HAS_SETSID)) V5_AC_OUTPUT_MAKEFILE -- 2.26.2