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:
@@ -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
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -34,6 +34,8 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#define VERSION_HIDDEN static
|
||||
|
||||
#include "roken.h"
|
||||
|
||||
#include "version.h"
|
||||
|
Reference in New Issue
Block a user