add back krb5_version and krb5_long_version to libkrb5, hide them in libvers

prompted by bug reported by Markus Moeller
This commit is contained in:
Love Hornquist Astrand
2009-12-07 21:16:43 -08:00
parent e3044663df
commit d57236a520
3 changed files with 7 additions and 4 deletions

View File

@@ -628,8 +628,11 @@ dnl This is the release version name-number[beta]
dnl
cat > include/newversion.h.in <<EOF
const char *heimdal_long_version = "@([#])\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
const char *heimdal_version = "AC_PACKAGE_STRING";
#ifndef VERSION_HIDDEN
#define VERSION_HIDDEN
#endif
VERSION_HIDDEN const char *heimdal_long_version = "@([#])\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
VERSION_HIDDEN const char *heimdal_version = "AC_PACKAGE_STRING";
EOF
if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then

View File

@@ -35,7 +35,5 @@
/* this is just to get a version stamp in the library file */
#define heimdal_version __heimdal_version
#define heimdal_long_version __heimdal_long_version
#include "version.h"

View File

@@ -34,6 +34,8 @@
#include <config.h>
#define VERSION_HIDDEN static
#include "roken.h"
#include "version.h"