Don't drag in syslog.c if vsyslog() is not defined. Only drag it in
authorTheodore Tso <tytso@mit.edu>
Tue, 19 Dec 1995 22:31:31 +0000 (22:31 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 19 Dec 1995 22:31:31 +0000 (22:31 +0000)
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
src/lib/krb5/posix/configure.in

index 3fa05e32b0f82cc4c744114a8a884428c1819a1c..3df1a00c237b2a48cb5c3159304f8bd04379dc0d 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec 19 17:29:21 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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  <tytso@dcl>
 
        * Makefile.in: Remove ##DOS!include of config/windows.in.
index 5756c57ad34c85ccc8d17c716f9d444a9dab5fb4..8ecb1ce184dc2df25b502ffed9e424c69bebf517 100644 (file)
@@ -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