Fix a thinko in previous that prevented libroken from getting

both version strings.
This commit is contained in:
thorpej 2000-07-15 17:02:17 +00:00
parent b3b275a389
commit c752ee0a92
2 changed files with 21 additions and 7 deletions

View File

@ -33,11 +33,9 @@
#include "krb5_locl.h"
RCSID("$Id: version.c,v 1.1.1.1 2000/06/16 18:33:03 thorpej Exp $");
RCSID("$Id: version.c,v 1.2 2000/07/15 17:02:18 thorpej Exp $");
/* this is just to get a version stamp in the library file */
#define heimdal_version __heimdal_version
#define heimdal_long_version __heimdal_long_version
#define __KRB5_VERSION
#include "version.h"

View File

@ -1,7 +1,23 @@
#ifndef __KRB4_VERSION
/* $NetBSD: version.h,v 1.4 2000/07/15 17:02:17 thorpej Exp $ */
#ifdef __KRB5_VERSION
#define heimdal_long_version __heimdal_long_version
#define heimdal_version __heimdal_version
#define __NO_KRB4_VERSION
#endif
#ifdef __KRB4_VERSION
#define krb4_long_version __krb4_long_version
#define krb4_version __krb4_version
#define __NO_KRB5_VERSION
#endif
#ifndef __NO_KRB5_VERSION
const char *heimdal_long_version = "@(#)$Version: heimdal-0.2t (NetBSD) $";
const char *heimdal_version = "heimdal-0.2t";
#else
#endif
#ifndef __NO_KRB4_VERSION
const char *krb4_long_version = "@(#)$Version: krb4-1.0.1 (NetBSD) $";
const char *krb4_version = "krb4-1.0.1";
#endif /* ! __KRB4_VERSION */
#endif