summaryrefslogtreecommitdiff
path: root/bdftopcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bdftopcf.c')
-rw-r--r--bdftopcf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bdftopcf.c b/bdftopcf.c
index e8f5954..f3bd6ee 100644
--- a/bdftopcf.c
+++ b/bdftopcf.c
@@ -26,6 +26,10 @@ from The Open Group.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/fonts/fontmisc.h>
@@ -129,6 +133,11 @@ main(int argc, char *argv[])
output_name = argv[0];
}
break;
+
+ case 'v':
+ printf("%s\n", PACKAGE_STRING);
+ exit(0);
+
default:
goto usage;
}