diff src/main.c @ 5:287a6905a63c

Moved config.h to src/ and switched version strings to use autotools version
author lost
date Sat, 04 Oct 2008 03:20:36 +0000
parents 34568fab6058
children 05d4115b4860
line wrap: on
line diff
--- a/src/main.c	Sat Oct 04 03:14:20 2008 +0000
+++ b/src/main.c	Sat Oct 04 03:20:36 2008 +0000
@@ -22,6 +22,8 @@
 
 */
 
+#include "config.h"
+
 #include <argp.h>
 #include <errno.h>
 #include <stdio.h>
@@ -37,8 +39,8 @@
 
 
 // command line option handling
-const char *argp_program_version = "LWASM Version 0.0";
-const char *argp_program_bug_address = "lost@l-w.ca";
+const char *argp_program_version = PACKAGE_STRING;
+const char *argp_program_bug_address = PACKAGE_BUGREPORT;
 
 static error_t parse_opts(int key, char *arg, struct argp_state *state)
 {