diff options
-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]; |