summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2016-09-08Fix libevent linking on openbsd.Nick Mathewson
Closes ticket 19902; bugfix on 0.2.9.1-alpha; patch from rubiate
2016-09-08Disable -Wthread-safety.Nick Mathewson
See changes file; closes ticket 20110.
2016-08-24bump to 0.2.9.2-alpha-devNick Mathewson
2016-08-24Bump to 0.2.9.2-alphaNick Mathewson
2016-08-12Merge remote-tracking branch 'public/Fix_19450'Nick Mathewson
2016-08-11Only use evutil_secure_rng_add_bytes() when present.Nick Mathewson
OpenBSD removes this function, and now that Tor requires Libevent 2, we should also support the OpenBSD Libevent 2. Fixes bug 19904; bugfix on 0.2.5.4-alpha.
2016-08-08bump master to 0.2.9.1-alpha.devNick Mathewson
2016-08-02Bump master version to 0.2.9.1-alphaNick Mathewson
2016-08-02Search for remaining references to 'bufferevent'.Nick Mathewson
Remove or adjust as appropriate.
2016-08-02Remove USE_BUFFEREVENTS from configure.acNick Mathewson
2016-07-28Merge branch 'bug18902_squashed'Nick Mathewson
2016-07-28Fix all -Wshadow warnings on LinuxNick Mathewson
This is a partial fix for 18902.
2016-07-26fix an error message in a configure warning stringNick Mathewson
2016-07-04Raise libevent dependency to 2.0.10-stable or newerSebastian Hahn
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
2016-06-29Fix #19449 Remove --disable-transparent configure optionU+039b
2016-06-17Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONScypherpunks
The Autoconf macro AC_USE_SYSTEM_EXTENSIONS defines preprocessor macros which turn on extensions to C and POSIX. The macro also makes it easier for developers to use the extensions without needing (or forgetting) to define them manually. The macro can be safely used because it was introduced in Autoconf 2.60 and Tor requires Autoconf 2.63 and above.
2016-06-14Remove some duplicated warnings from the big listNick Mathewson
2016-06-14Disable -Wc99-c11-compatNick Mathewson
It triggers on the openssl headers, and doesn't seem to actually help us.
2016-06-11Remove -Wc11-extensionsNick Mathewson
FreeBSD uses _Generic() in its system headers, and is within its rights to do so.
2016-06-11Whoops -- this got lost in the merge.Nick Mathewson
2016-06-11Merge branch 'bug19180_easy_squashed'Nick Mathewson
2016-06-11Add clang's -Wstring-conversion, and fix the one place it hitsNick Mathewson
2016-06-11Add -Wmissing-variable-declarations, with attendant fixesNick Mathewson
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests.
2016-06-11Add the -Wextra-semi warning from clang, and fix the cases where it triggersNick Mathewson
2016-06-11Add all the clang-only warnings that do not trigger nowNick Mathewson
2016-06-11Set our autoconf-breaking options last, not before we check for othersNick Mathewson
2016-06-11Use autoconf, not gcc version, to decide which warnings we haveNick Mathewson
This gives more accurate results under Clang, which can only help us detect more warnings in more places. Fixes bug 19216; bugfix on 0.2.0.1-alpha
2016-06-11Use -Wstrict-overflow=2 on gcc5+.Nick Mathewson
2016-06-11Enable -Woverlength-strings for GCC>=4.6 on MOST of the code.Nick Mathewson
IMO it's fine for us to make exceptions to this rule in the unit tests, but not in the code at large.
2016-06-11Use -Wdouble-promotion in GCC >= 4.6Nick Mathewson
This warning triggers on silently promoting a float to a double. In our code, it's just a sign that somebody used a float by mistake, since we always prefer double.
2016-06-11Add -Wfloat-conversion for GCC >= 4.9Nick Mathewson
This caught quite a few minor issues in our unit tests and elsewhere in our code.
2016-06-11Add -Wunused-const-variable=2 on GCC >=6.1Nick Mathewson
This caused a trivial warning in curve25519-donna-64bit.h, which had two unused constants. I commented them out.
2016-06-11Add -Wduplicated-cond on GCC 6Nick Mathewson
2016-06-11Enable -Wnull-dereference (GCC >=6.1), and fix the easy casesNick Mathewson
This warning, IIUC, means that the compiler doesn't like it when it sees a NULL check _after_ we've already dereferenced the variable. In such cases, it considers itself free to eliminate the NULL check. There are a couple of tricky cases: One was the case related to the fact that tor_addr_to_in6() can return NULL if it gets a non-AF_INET6 address. The fix was to create a variant which asserts on the address type, and never returns NULL.
2016-05-30remove now-irrelevant XXX020 comments in configure.acNick Mathewson
They apply to ancient GCC versions and to an unknown set of configuration options. Notabug.
2016-05-28Add another 22 or so GCC warnings. None currently triggers for me.Nick Mathewson
2016-05-27Merge remote-tracking branch 'arma/task19035-fixedup'Nick Mathewson
2016-05-27Merge remote-tracking branch 'public/hardening_flags_must_link'Nick Mathewson
2016-05-27get rid of one more piece of --enable-instrument-downloadsRoger Dingledine
2016-05-27Fix indentation and quotation of the headerscypherpunks
2016-05-27Do not warn on missing headerscypherpunks
2016-05-27Enable the -Waggregate-return warningNick Mathewson
Suppress it in the one spot in the code where we actually do want to allow an aggregate return in order to call the mallinfo() API.
2016-05-27Disable GET /tor/bytes.txt and GETINFO dir-usageRoger Dingledine
Remove support for "GET /tor/bytes.txt" DirPort request, and "GETINFO dir-usage" controller request, which were only available via a compile-time option in Tor anyway. Feature was added in 0.2.2.1-alpha. Resolves ticket 19035.
2016-05-27Merge remote-tracking branch 'public/ticket19044'Nick Mathewson
2016-05-25Merge branch 'maint-0.2.8'Nick Mathewson
2016-05-24Make sure that libscrypt_scrypt actually exists before using it.Nick Mathewson
Previously, if the header was present, we'd proceed even if the function wasn't there. Easy fix for bug 19161. A better fix would involve trying harder to find libscrypt_scrypt.
2016-05-23Make advisory-warnings on by default.Nick Mathewson
Add --enable-fatal-warnings to control -Werror. Closes ticket 19044.
2016-05-19Fix "conditional "ADD_MULODI4" was never defined".Nick Mathewson
2016-05-19add missing atoi for cosmetic reasonsNick Mathewson
2016-05-18Include __mulodi4 in libor_ctime when it fixes clang -m32 -ftrapvNick Mathewson
We use a pretty specific pair of autoconf tests here to make sure that we only add this code when: a) a 64-bit signed multiply fails to link, AND b) the same 64-bit signed multiply DOES link correctly when __mulodi4 is defined. Closes ticket 19079.