]>
Commit | Line | Data |
---|---|---|
9a8ad515 ZU |
1 | --- libtorrent-rasterbar-0.14.6/configure.in.wiget 2009-11-14 13:39:06.000000000 +0100 |
2 | +++ libtorrent-rasterbar-0.14.6/configure.in 2009-11-14 13:44:58.000000000 +0100 | |
3 | @@ -185,7 +185,7 @@ AC_ARG_WITH( | |
6873d9da AF |
4 | # this works around a bug in asio in boost-1.39 |
5 | # see: https://svn.boost.org/trac/boost/ticket/3095 | |
9a8ad515 | 6 | AC_DEFINE(BOOST_ASIO_HASH_MAP_BUCKETS,1021,) |
6873d9da AF |
7 | -COMPILETIME_OPTIONS+="-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 " |
8 | +COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 " | |
9 | ||
9a8ad515 ZU |
10 | dnl Check the value for the --with-logging switch |
11 | AC_MSG_CHECKING([what form of logging to use]) | |
12 | @@ -196,12 +196,12 @@ case "$logging" in | |
13 | "default") | |
14 | AC_MSG_RESULT(default) | |
15 | AC_DEFINE(TORRENT_LOGGING,,[define to use some logging]) | |
16 | - COMPILETIME_OPTIONS+="-DTORRENT_LOGGING " | |
17 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_LOGGING " | |
18 | ;; | |
19 | "verbose") | |
20 | AC_MSG_RESULT(verbose) | |
21 | AC_DEFINE(TORRENT_VERBOSE_LOGGING,,[define to use verbose logging]) | |
22 | - COMPILETIME_OPTIONS+="-DTORRENT_VERBOSE_LOGGING " | |
23 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_VERBOSE_LOGGING " | |
24 | ;; | |
25 | *) | |
26 | AC_MSG_RESULT() | |
27 | @@ -225,12 +225,12 @@ case "$dht" in | |
28 | "off") | |
29 | AC_MSG_RESULT(off) | |
30 | AC_DEFINE(TORRENT_DISABLE_DHT,,[define not to use DHT support]) | |
31 | - COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_DHT " | |
32 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_DISABLE_DHT " | |
33 | ;; | |
34 | "logging") | |
35 | AC_MSG_RESULT(logging) | |
36 | AC_DEFINE(TORRENT_DHT_VERBOSE_LOGGING,,[define to use DHT support with extra logging]) | |
37 | - COMPILETIME_OPTIONS+="-DTORRENT_DHT_VERBOSE_LOGGING " | |
38 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_DHT_VERBOSE_LOGGING " | |
39 | ;; | |
40 | *) | |
41 | AC_MSG_RESULT() | |
42 | @@ -254,13 +254,13 @@ case "$encryption" in | |
43 | AC_MSG_RESULT(on) | |
44 | CHECK_SSL() | |
45 | AC_DEFINE(TORRENT_USE_OPENSSL,,[define to use openssl with libtorrent-rasterbar]) | |
46 | - COMPILETIME_OPTIONS+="-DTORRENT_USE_OPENSSL " | |
47 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_USE_OPENSSL " | |
6873d9da | 48 | |
9a8ad515 ZU |
49 | ;; |
50 | "off") | |
51 | AC_MSG_RESULT(off) | |
52 | AC_DEFINE(TORRENT_DISABLE_ENCRYPTION,,[define not to use encryption support]) | |
53 | - COMPILETIME_OPTIONS+="-DTORRENT_DISABLE_ENCRYPTION " | |
54 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_DISABLE_ENCRYPTION " | |
55 | ;; | |
56 | *) | |
57 | AC_MSG_RESULT() | |
58 | @@ -476,11 +476,11 @@ esac | |
6873d9da | 59 | dnl Set some defines if we are building a shared library |
9a8ad515 ZU |
60 | if [[ "x$enable_shared" == "xyes" ]]; then |
61 | AC_DEFINE(TORRENT_BUILDING_SHARED,,[Make sure the functions and classes are exported.]) | |
62 | - COMPILETIME_OPTIONS+="-DTORRENT_LINKING_SHARED " | |
63 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_LINKING_SHARED " | |
64 | fi | |
65 | ||
66 | AC_DEFINE(BOOST_EXCEPTION_DISABLE,,[We do not need boost.exception features]) | |
67 | -COMPILETIME_OPTIONS+="-DBOOST_EXCEPTION_DISABLE " | |
68 | +COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DBOOST_EXCEPTION_DISABLE " | |
6873d9da | 69 | |
9a8ad515 ZU |
70 | dnl want some debugging symbols with that? |
71 | AC_ARG_ENABLE( | |
72 | @@ -490,11 +490,11 @@ AC_ARG_ENABLE( | |
73 | no) | |
74 | AC_DEFINE(NDEBUG,,[Define to disable debugging]) | |
75 | DEBUGFLAGS="-Os" | |
76 | -# COMPILETIME_OPTIONS+="-DNDEBUG " | |
77 | +# COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DNDEBUG " | |
78 | ;; | |
79 | yes) | |
80 | DEBUGFLAGS="-g" | |
81 | - COMPILETIME_OPTIONS+="-DTORRENT_DEBUG " | |
82 | + COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DTORRENT_DEBUG " | |
83 | AC_DEFINE(TORRENT_DEBUG,,[Define to enable libtorrent debug build]) | |
84 | ;; | |
85 | *) | |
86 | @@ -504,7 +504,7 @@ AC_ARG_ENABLE( | |
87 | esac], | |
88 | [DEBUGFLAGS="-Os" | |
89 | AC_DEFINE(NDEBUG,,[Define to disable debugging]) | |
90 | -# COMPILETIME_OPTIONS+="-DNDEBUG " | |
91 | +# COMPILETIME_OPTIONS="${COMPILETIME_OPTIONS} -DNDEBUG " | |
92 | ] | |
93 | ) | |
6873d9da | 94 | AC_SUBST(DEBUGFLAGS) |