summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-03-22 00:16:11 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-03-22 00:16:11 +0100
commit9179f697ed4796a86f820b516f034fd679e48be4 (patch)
tree00eed20d7122372eaa0da198fceea4266d69a492 /buildlib
parenta11afb9d0dd5d2326acb2de19ea20b49238667d0 (diff)
downloadapt-9179f697ed4796a86f820b516f034fd679e48be4.tar.gz
the previously used VERSION didn't work everywhere so we are switching
to the more standard PACKAGE_VERSION and make it work in every file
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/config.h.in6
-rw-r--r--buildlib/environment.mak.in1
2 files changed, 4 insertions, 3 deletions
diff --git a/buildlib/config.h.in b/buildlib/config.h.in
index 4798fe3f5..87918bbec 100644
--- a/buildlib/config.h.in
+++ b/buildlib/config.h.in
@@ -39,10 +39,10 @@
/* Define the arch name string */
#undef COMMON_ARCH
-/* The version number string */
-#undef VERSION
-
/* The package name string */
#undef PACKAGE
+/* The version number string */
+#undef PACKAGE_VERSION
+
#define APT_8_CLEANER_HEADERS
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index fdac3e6c3..b8ddb34a2 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -2,6 +2,7 @@
# if you want you can edit it, just don't re-run configure.
PACKAGE = @PACKAGE@
+PACKAGE_VERSION = @PACKAGE_VERSION@
# C++ compiler options
CC = @CC@