add #ifdef for vsyslog
authorJohn Kohl <jtkohl@mit.edu>
Wed, 10 Oct 1990 10:46:48 +0000 (10:46 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 10 Oct 1990 10:46:48 +0000 (10:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1200 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/Imakefile

index 68fe59f663ea365a4f12e757923abb18eb41e498..ab0e7aa3f21794c401324bd35b9418776ede699d 100644 (file)
@@ -19,18 +19,23 @@ VPSRCS=
 VPOBJS=vfprintf.o vsprintf.o
 VPSRCS=vfprintf.c vsprintf.c
 #endif
+#ifdef HasVsyslog
+VSOBJS=
+VSSRCS=
+#else
+VSOBJS=syslog.o
+VSSRCS=syslog.c
+#endif
 
 OBJS = \
        cryptoconf.o \
        perror.o \
-       syslog.o \
-       $(VPOBJS)
+       $(VSOBJS) $(VPOBJS)
 
 SRCS = \
        cryptoconf.c \
        perror.c \
-       syslog.c \
-       $(VPSRCS)
+       $(VSSRCS) $(VPSRCS)
 
 MakeSubdirs($(SUBDIRS))