summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2012-08-15Fix warnings and 64-bit problems in openbsd-malloc codeNick Mathewson
The warning fixes are: - Only define issetugid if it's missing. - Explicitly ignore the return value of writev. - Explicitly cast the retval of readlink() to int. The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead. Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
2012-06-28bump version to 0.2.3.18-rc-devNick Mathewson
2012-06-28bump to 0.2.3.18-rctor-0.2.3.18-rcRoger Dingledine
2012-06-15bump to 0.2.3.17-beta-devRoger Dingledine
2012-06-15bump to 0.2.3.17-betaRoger Dingledine
2012-06-13Only use -Qunused-arguments when building with clang. fix on 5210 fix.Nick Mathewson
2012-06-13Merge remote-tracking branch 'public/bug5210'Nick Mathewson
2012-06-11Do not try to use -pie on windows; it appears to break badly and weirdlyNick Mathewson
2012-06-11Remove a couple of debugging "echo"s that snuck into configure.inNick Mathewson
2012-06-11Make our compiler-hardening checks robust against MinGWNick Mathewson
First, specify -Werror when we are testing each option; if it causes a warning to appear, we shouldn't be adding it. Second, do not attempt to add these options until after we have found the libraries we want. Previously, I would hit a bug where the linker hardening options worked fine when we weren't linking anything, but failed completely once we added openssl or libevent.
2012-06-05bump to 0.2.3.16-alpha-devRoger Dingledine
2012-06-05today is the day for 0.2.3.16-alphaRoger Dingledine
2012-06-05Merge remote-tracking branch 'public/bug3894'Nick Mathewson
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2012-05-16Fix some more FreeBSD4 issues (based on a patch from grarpamp)Nick Mathewson
Apparently, freebsd 4 doesn't like malloc.h, needs sys/param.h for MIN/MAX, and doesn't have a SIZE_MAX. For bug 3894.
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-05-11Make the option-checker code work with osx clangNick Mathewson
This is a matter of making gcc and friends squirm more loudly when they get an option they don't like (-pedantic) and making clang shut up with it gets an option it tolerates but doesnt know (-Qunknown-argument). Is there no better way?
2012-05-11Try to manually test for whether the compiler hardening flags workNick Mathewson
Also, make the check for whether they're on by default work; there's no need to mess around with this "$enableval" silliness.
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-03-15fix for bug #5210: enable GCC and LD hardening by defaultFlorent Daigniere
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