summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/cf/krb-version.m4
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/cf/krb-version.m4')
-rw-r--r--crypto/heimdal/cf/krb-version.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/heimdal/cf/krb-version.m4 b/crypto/heimdal/cf/krb-version.m4
index 9907ed1..4b55590 100644
--- a/crypto/heimdal/cf/krb-version.m4
+++ b/crypto/heimdal/cf/krb-version.m4
@@ -1,13 +1,13 @@
-dnl $Id: krb-version.m4,v 1.2 2000/08/27 05:42:19 assar Exp $
+dnl $Id: krb-version.m4,v 1.3 2002/08/20 15:49:58 joda Exp $
dnl
dnl
dnl output a C header-file with some version strings
dnl
+
AC_DEFUN(AC_KRB_VERSION,[
-dnl AC_OUTPUT_COMMANDS([
cat > include/newversion.h.in <<FOOBAR
-const char *${PACKAGE}_long_version = "@(#)\$Version: $PACKAGE-$VERSION by @USER@ on @HOST@ ($host) @DATE@ \$";
-const char *${PACKAGE}_version = "$PACKAGE-$VERSION";
+const char *${PACKAGE_TARNAME}_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
+const char *${PACKAGE_TARNAME}_version = "$PACKAGE_STRING";
FOOBAR
if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
@@ -21,5 +21,4 @@ else
mv -f include/newversion.h.in include/version.h.in
sed -e "s/@USER@/$User/" -e "s/@HOST@/$Host/" -e "s/@DATE@/$Date/" include/version.h.in > include/version.h
fi
-dnl ],host=$host PACKAGE=$PACKAGE VERSION=$VERSION)
])
OpenPOWER on IntegriCloud