Change to using Autoconf version string.
[onak.git] / lookup.c
index e4cab46f2ad362030db60c9f5cde4274dfa4b513..c3b49085f59843443a1f87157e8c4fd8c704909b 100644 (file)
--- a/lookup.c
+++ b/lookup.c
@@ -17,6 +17,7 @@
 #include "charfuncs.h"
 #include "cleankey.h"
 #include "cleanup.h"
+#include "config.h"
 #include "getcgi.h"
 #include "keydb.h"
 #include "keyindex.h"
@@ -211,7 +212,8 @@ int main(int argc, char *argv[])
        }
        if (!mrhkp) {
                puts("<hr>");
-               puts("Produced by onak " VERSION " by Jonathan McDowell");
+               puts("Produced by onak " PACKAGE_VERSION 
+                               " by Jonathan McDowell");
                end_html();
        }