summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2012-05-14Bump _WIN32_WINNT to 0x0501 throughout the codeNick Mathewson
This tells the windows headers to give us definitions that didn't exist before XP -- like the ones that we need for IPv6 support. See bug #5861. We didn't run into this issue with mingw, since mingw doesn't respect _WIN32_WINNT as well as it should for some of its definitions.
2012-05-14Remove all instances of WIN32_WINNT (without leading _)Nick Mathewson
We started adding it in 59e2c77824840f back in 2004, 8 years and 3 days ago. It's time to deprogram ourselves from this cargo cult.
2012-04-30bump to 0.2.3.15-alpha-devRoger Dingledine
2012-04-30bump to 0.2.3.15-alphator-0.2.3.15-alphaRoger Dingledine
2012-04-30Remove __ from HAVE_EXTERN_ENVIRON_DECLARED__Nick Mathewson
I think that the trailing __ got added in false analogy to HAVE_MACRO__func__, HAVE_MACRO__FUNC__, and HAVE_MACRO__FUNCTION__. But those macros actually indicate the presence of __func__, __FUNC__, and __FUNCTION__ respectively. The __ at the end of HAVE_EXTERN_ENVIRON_DECLARED would only be appropriate if the environ were declared__, whatever that means. (As a side-note, HAVE_MACRO__func__ and so on should probably be renamed HAVE_MACRO___func__ and so on. But that can wait.) This is an identifier renaming only.
2012-04-30Fix headers in test for whether environ is declared in stdlib/unistdNick Mathewson
We'd had our configure.in test include unistd.h unconditionally, which would fail on Windows/mingw, even though environ _was_ declared there. Fix for 5704; bugfix on 0.2.3.13-alpha. Thanks to Erinn for finding this and rransom for figuring out the problem.
2012-04-24Merge remote-tracking branch 'public/bug5103'Nick Mathewson
2012-04-24Fix compile error against miniupnpc-1.6 when --enable-upnpAnthony G. Basile
The bump from miniupnpc-1.5 to 1.6 changes the definition of two functions used by tor-fw-helper-upnp.c, upnpDiscover() and UPNP_AddPortMapping(). This patch addresses this and adds a check in configure.in for backwards compatibility. Thanks to Nickolay Kolchin-Semyonov for some hints. X-Tor-Bug-URL: https://trac.torproject.org/projects/tor/ticket/5434 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376621 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-04-23bump to 0.2.3.14-alpha-devRoger Dingledine
2012-04-23bump to 0.2.3.14-alphaRoger Dingledine
2012-03-27bump to 0.2.3.13-alpha-devRoger Dingledine
2012-03-26bump to 0.2.3.13-alphaRoger Dingledine
2012-02-19Don't redeclare environ if std headers already didSebastian Hahn
This would cause a redundant redeclaration warning on some versions of Linux otherwise.
2012-02-14Use _NSGetEnviron() instead of environ where requiredSebastian Hahn
OS X would otherwise crash with a segfault when linked statically to some libraries.
2012-02-13bump to 0.2.3.12-alpha-devRoger Dingledine
2012-02-13bump to 0.2.3.12-alphaRoger Dingledine
2012-02-12Fix --enable-static-tor on OpenBSDNick Mathewson
Previously we'd been using "we have clock_gettime()" as a proxy for "we need -lrt to link a static libevent". But that's not really accurate: we should only add -lrt if searching for clock_gettime function adds -lrt to our libraries.
2012-01-31Change WIN32 to _WIN32 in configure.in, too.Sebastian Hahn
2012-01-31Fix straggling MS_WINDOWS issues; add a changes fileNick Mathewson
There was one MS_WINDOWS that remained because it wasn't on a macro line; a few remaining uses (and the definition!) in configure.in; and a now-nonsensical stanza of eventdns_tor.h that previously defined 'WIN32' if it didn't exist.
2012-01-27Merge remote-tracking branch 'sebastian/osx_deadstrip'Nick Mathewson
2012-01-23bump to 0.2.3.11-alpha-devRoger Dingledine
2012-01-22bump to 0.2.3.11-alphaRoger Dingledine
2012-01-20Use dead_strip to reduce binary size on OS XSebastian Hahn
This option seems to be supported all the way back to at least 10.4, so enabling it for OS X in general should be fine. If not, someone will yell. With no libs statically linked, that's a 3% win in binary size, with just libevent linked statically, this gives us an advantage of 5% in terms of binary size, and with libevent and openssl statically linked, we gain over 18% or over 500KB. Implements ticket 2915.
2012-01-05Remove extraneous incorrect check for net/if.hNick Mathewson
Fixes bug 4829; bug not in any released tor.
2011-12-28Remove tabs from configure.inSebastian Hahn
2011-12-28Add interface enumeration based on SIOCGIFCONF for older unixesNick Mathewson
2011-12-28Use getifaddrs, not connect+getsockname, to find our addressNick Mathewson
This resolves bug1827, and lets us avoid freaking people out. Later, we can use it to get a complete list of our interfaces.
2011-12-19Tweak the haiku-support patchesNick Mathewson
2011-12-19-lm should not be hardcoded.Martin Hebnes Pedersen
On some platforms (Haiku/BeOS) libm lives in libcore. Also added 'network' to the list of libraries to search for connect().
2011-12-16Merge remote-tracking branch 'sebastian/clang-3.0-fixes_master'Nick Mathewson
2011-12-16Increment version in master to 0.2.3.10-alpha-devNick Mathewson
2011-12-15Bump version to Tor 0.2.3.10-alphator-0.2.3.10-alphaNick Mathewson
2011-12-13Build with warnings and clang 3.0Sebastian Hahn
--enable-gcc-warnings enables two warnings that clang doesn't support, so the build fails. We had hoped clang 3.0 would add those, but it didn't, so let's just always disable those warnings when building with clang. We can still fix it later once they add support
2011-12-08bump to 0.2.3.9-alpha-devRoger Dingledine
2011-12-08bump to 0.2.3.9-alphaRoger Dingledine
2011-11-30Merge remote-tracking branch 'sjmurdoch/bug1983-port-tor-fw-helper-to-windows'Nick Mathewson
2011-11-30Add support for tor2web mode via configureArturo Filastò
2011-11-30Support NAT-PMP on WindowsSteven Murdoch
- Link in libws32 and libiphlpapi, needed for libnatpmp (both in ./configure and when compiling tor-fw-helper-natpmp.c) - Define STATICLIB under Windows, to allow tor-fw-helper-natpmp.c to link - Don't include arpa/inet.h which isn't present in Mingw32 and doesn't appear to be needed on either Windows or MacOS X
2011-11-23bump to 0.2.3.8-alpha-devRoger Dingledine
2011-11-22bump to 0.2.3.8-alphaRoger Dingledine
2011-11-11New src/test/bench.c to allow us to actually _run_ benchmark codeNick Mathewson
Yes, the timing functions are suboptimal. Please improve!
2011-10-30blurb and version bump for 0.2.3.7-alphator-0.2.3.7-alphaRoger Dingledine
2011-10-28Bump version to 0.2.3.6-alpha-devNick Mathewson
2011-10-27bump maint-0.2.2 to 0.2.2.34-devRoger Dingledine
2011-10-26bump to 0.2.3.6-alphaRoger Dingledine
2011-10-23bump to 0.2.3.5-alpha-devRoger Dingledine
2011-10-07Merge remote-tracking branch 'public/bug2430'Nick Mathewson
2011-09-28bump to 0.2.3.5-alphator-0.2.3.5-alphaRoger Dingledine
2011-09-13bump to 0.2.3.4-alpha-devRoger Dingledine