-
/*
- * print_version.c -- print a version string
- *
- * $Id$
- *
- * This code is Copyright (c) 2002, by the authors of nmh. See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** print_version.c -- print a version string
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
void
-print_version (char *invo_name)
+print_version(char *invo_name)
{
- printf("%s -- %s\n", invo_name, version_str);
+ printf("%s -- %s\n", invo_name, version);
+ if (strcmp(version, lib_version)!=0) {
+ printf("libversion: %s\n", lib_version);
+ }
}