- Aug 09, 2012
-
-
This gives us a few benefits: 1) make -j clean all this will start working, as it should. It currently doesn't. 2) increased parallel build recursive make will max out at number of files in a directory, non-recursive make doesn't have such a limitation 3) Removal of duplicate information in make files, less error prone I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way that was used was not only deprecated but will be *removed* in the next major automake release (1.13).... so probably best that we can continue to bulid tor without requiring old automake. (see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html ) For more reasons why, see resources such as: http://miller.emu.id.au/pmiller/books/rmch/
-
- Aug 02, 2012
-
-
$ make V=1 # will temporarily disable them otherwise you see: CC foo.c rather than the giant long bulid line. This makes it significantly easier to spot compiler warnings etc. Additionally, make them conditional, so we won't error on automake < 1.11 (commits squashed by nickm.)
-
- Jun 28, 2012
-
-
Nick Mathewson authored
-
- Jun 20, 2012
-
-
Nick Mathewson authored
-
- Jun 15, 2012
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
- Jun 13, 2012
-
-
Nick Mathewson authored
-
- Jun 11, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
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.
-
- Jun 05, 2012
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
- May 16, 2012
-
-
Nick Mathewson authored
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.
-
- May 14, 2012
-
-
Nick Mathewson authored
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.
-
Nick Mathewson authored
We started adding it in 59e2c778 back in 2004, 8 years and 3 days ago. It's time to deprogram ourselves from this cargo cult.
-
- May 11, 2012
-
-
Nick Mathewson authored
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?
-
Nick Mathewson authored
Also, make the check for whether they're on by default work; there's no need to mess around with this "$enableval" silliness.
-
- Apr 30, 2012
-
-
Roger Dingledine authored
-
Nick Mathewson authored
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.
-
Nick Mathewson authored
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.
-
- Apr 24, 2012
-
-
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>
-
- Apr 23, 2012
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
- Mar 27, 2012
-
-
Roger Dingledine authored
-
- Mar 26, 2012
-
-
Roger Dingledine authored
-
- Mar 15, 2012
-
-
Florent Daigniere authored
-
- Feb 19, 2012
-
-
Sebastian Hahn authored
This would cause a redundant redeclaration warning on some versions of Linux otherwise.
-
- Feb 14, 2012
-
-
OS X would otherwise crash with a segfault when linked statically to some libraries.
-
- Feb 13, 2012
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
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.
-
- Jan 31, 2012
-
-
-
Nick Mathewson authored
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.
-
- Jan 23, 2012
-
-
Roger Dingledine authored
-
- Jan 22, 2012
-
-
Roger Dingledine authored
-
- Jan 20, 2012
-
-
Sebastian Hahn authored
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.
-
- Jan 05, 2012
-
-
Nick Mathewson authored
Fixes bug 4829; bug not in any released tor.
-