Use OPENLDAP_PACKAGE instead of _OLV_PKG

This commit is contained in:
Howard Chu 2003-03-19 01:39:05 +00:00
parent 80f8f900d1
commit 8f15857589
2 changed files with 2 additions and 3 deletions

View file

@ -62,8 +62,7 @@ ldap_config.h: $(LDAP_CONFIG) Makefile
$(CHMOD) 444 $@
ol_version0.h: $(top_srcdir)/build/version.h
$(CPP) -D_OLV_PKG=\"$(PACKAGE)\" -D_OLV_VER=\"$(VERSION)\" \
-D_OLV_WHO=\"$$USER@`uname -n`\" $? > $@
$(CPP) -D_OLV_WHO=\"$$USER@`uname -n`\" $? > $@
all-common: all-local
install-common: all-common install-local

View file

@ -20,4 +20,4 @@ ldap_features.h: ldap_features.nt
portable.h: portable.nt
ol_version0.h: ../build/version.h
$(CPP) /EP /D_OLV_PKG=\"OpenLDAP\" /D_OLV_VER=\"2.1.16\" -D_OLV_WHO=\"$(USERNAME)@$(COMPUTERNAME)\" $? > $@
$(CPP) /EP -D_OLV_WHO=\"$(USERNAME)@$(COMPUTERNAME)\" $? > $@