From: Howard Chu Date: Tue, 18 Mar 2003 22:53:15 +0000 (+0000) Subject: Rename version.h to ol_version.h X-Git-Tag: NO_SLAP_OP_BLOCKS~86 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8d6ae6a236e79f571c089ad87dc84984b26b4b53;p=openldap Rename version.h to ol_version.h --- diff --git a/include/Makefile.in b/include/Makefile.in index cc9f6254f3..1a8fd9d35f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -4,7 +4,7 @@ ## ## include Makefile.in for OpenLDAP -all-local: ldap_config.h version0.h FORCE +all-local: ldap_config.h ol_version0.h FORCE install-local: FORCE -$(MKDIR) $(DESTDIR)$(includedir) @@ -61,7 +61,7 @@ ldap_config.h: $(LDAP_CONFIG) Makefile $(LDAP_CONFIG) >> $@; \ $(CHMOD) 444 $@ -version0.h: $(top_srcdir)/build/version.h +ol_version0.h: $(top_srcdir)/build/version.h $(CPP) -D_OLV_PKG=\"$(PACKAGE)\" -D_OLV_VER=\"$(VERSION)\" \ -D_OLV_WHO=\"$$USER@`uname -n`\" $? > $@ diff --git a/include/ol_version.h b/include/ol_version.h new file mode 100644 index 0000000000..c0535b8494 --- /dev/null +++ b/include/ol_version.h @@ -0,0 +1,12 @@ +/* + * Copyright 1998-2003 The OpenLDAP Foundation + * COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory + * of this package for details. + */ + +#define _OLV_DATE __DATE__ +#define _OLV_TIME __TIME__ +#ifndef _OLV_STATIC +#define _OLV_STATIC static +#endif +#include "ol_version0.h" diff --git a/include/version.h b/include/version.h deleted file mode 100644 index 3999433d7e..0000000000 --- a/include/version.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright 1998-2003 The OpenLDAP Foundation - * COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory - * of this package for details. - */ - -#define _OLV_DATE __DATE__ -#define _OLV_TIME __TIME__ -#ifndef _OLV_STATIC -#define _OLV_STATIC static -#endif -#include "version0.h"