aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-04-10 16:58:32 +0000
committerMike Buland <eichlan@xagasoft.com>2012-04-10 16:58:32 +0000
commit4c86d59be19a5cb64e1eb98504ab5a844a042977 (patch)
tree24196128598bbf168f3dad5820304ae5cd7c782d
parent961ef88bef571c80a7471f5bd66f12582ed3126e (diff)
downloadlibbu++-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--Makefile3
-rw-r--r--autoconfig.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e23f21..486ca4d 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,9 @@ tests/deflate:
84tests/lzma: 84tests/lzma:
85 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -llzma 85 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -llzma
86 86
87tests/threadid:
88 g++ -ggdb -W -Wall -I. -L. $< -o $@ -lbu++ -lpthread
89
87libbu++.a: ${HEADERS} ${OBJECTS} 90libbu++.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];