summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-19 13:36:06 +0000
committerRoy Marples <roy@marples.name>2008-05-19 13:36:06 +0000
commit7b15d336d981587e32a738d5d6186516b528ff12 (patch)
treeacd26e0892d9f4bd0e9e7fc3b001d0ede9f1665f /config.h
parent0788461c46ba10ecc784734630695a4764b5c87c (diff)
downloaddhcpcd-7b15d336d981587e32a738d5d6186516b528ff12.tar.xz
Move VERSION from Makefile to config.h so that other Makefiles can be used instead of our own.
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h b/config.h
index 5ee756fc..1dd3e0ad 100644
--- a/config.h
+++ b/config.h
@@ -27,6 +27,9 @@
#ifndef CONFIG_H
#define CONFIG_H
+#define PACKAGE "dhcpcd"
+#define VERSION "4.0.0-beta4"
+
/* You can enable/disable various chunks of optional code here.
* You would only do this to try and shrink the end binary if dhcpcd
* was running on a low memory device */
@@ -56,9 +59,7 @@
/* Some systems do not have a working fork. */
/* #define THERE_IS_NO_FORK */
-/* Packname name and pathname definitions. */
-#define PACKAGE "dhcpcd"
-
+/* Paths to things */
#ifndef SYSCONFDIR
# define SYSCONFDIR "/etc/" PACKAGE
#endif