diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-04-10 16:58:32 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-10 16:58:32 +0000 |
commit | 4c86d59be19a5cb64e1eb98504ab5a844a042977 (patch) | |
tree | 24196128598bbf168f3dad5820304ae5cd7c782d | |
parent | 961ef88bef571c80a7471f5bd66f12582ed3126e (diff) | |
download | libbu++-4c86d59be19a5cb64e1eb98504ab5a844a042977.tar.gz libbu++-4c86d59be19a5cb64e1eb98504ab5a844a042977.tar.bz2 libbu++-4c86d59be19a5cb64e1eb98504ab5a844a042977.tar.xz libbu++-4c86d59be19a5cb64e1eb98504ab5a844a042977.zip |
Tweaked the version.h file and the makefile.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | autoconfig.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -84,6 +84,9 @@ tests/deflate: | |||
84 | tests/lzma: | 84 | tests/lzma: |
85 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -llzma | 85 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -llzma |
86 | 86 | ||
87 | tests/threadid: | ||
88 | g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lpthread | ||
89 | |||
87 | libbu++.a: ${HEADERS} ${OBJECTS} | 90 | libbu++.a: ${HEADERS} ${OBJECTS} |
88 | ar -r libbu++.a ${OBJECTS} | 91 | ar -r libbu++.a ${OBJECTS} |
89 | 92 | ||
diff --git a/autoconfig.cpp b/autoconfig.cpp index 1402704..acd052e 100644 --- a/autoconfig.cpp +++ b/autoconfig.cpp | |||
@@ -71,7 +71,7 @@ int main( int argc, char *argv[] ) | |||
71 | "#define LIBBU_VERSION 0\n" | 71 | "#define LIBBU_VERSION 0\n" |
72 | "#define LIBBU_REVISION 1\n" | 72 | "#define LIBBU_REVISION 1\n" |
73 | "#define LIBBU_VERSION_STR \"0.1\"\n" | 73 | "#define LIBBU_VERSION_STR \"0.1\"\n" |
74 | "#define LIBBU_API 0\n" | 74 | "#define LIBBU_API 0\n" |
75 | "#define LIBBU_VC_ID \""); | 75 | "#define LIBBU_VC_ID \""); |
76 | FILE *psub = popen("svnversion -n", "r"); | 76 | FILE *psub = popen("svnversion -n", "r"); |
77 | char buf[1024]; | 77 | char buf[1024]; |