summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2017-09-18bump to 0.3.2.1.-alpha-devNick Mathewson
2017-09-18Bump to 0.3.2.1-alphaNick Mathewson
2017-09-15sched: Detect KIST support at compile timeDavid Goulet
Add a detection for the KIST scheduler in our build system and set HAVE_KIST_SUPPORT if available. Adapt the should use kist function with this new compile option. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-08-2122839: Build tor with rust enabled on winTies Stuij
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
2017-08-04Refactor retrieving the current working directorycypherpunks
The GNU C Library (glibc) offers an function which allocates the necessary memory automatically [0]. When it is available, we use that. Otherwise we depend upon the `getcwd` function which requires a preallocated buffer (and its size). This function was used incorrectly by depending on the initial buffer size being big enough and otherwise failing to return the current working directory. The proper way of getting the current working directory requires a loop which doubles the buffer size if `getcwd` requires it. This code was copied from [1] with modifications to fit the context. [0] https://www.gnu.org/software/hurd/hurd/porting/guidelines.html [1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/getcwd.html
2017-06-19Merge remote-tracking branch 'argonblue/bug22410'Nick Mathewson
2017-06-19Ensure that uint8_t is unsigned charTaylor Yu
Many places in our code assume that uint8_t is the same type as unsigned char. Test this assumption in the configure script. This is important because of the privileged aliasing properties of character types in C. Fixes #22410.
2017-06-19Bump master to 0.3.2.0-alpha-dev. For 0.3.1, use maint-0.3.1Nick Mathewson
2017-06-08Add -dev to version number.Nick Mathewson
2017-06-08Bump to 0.3.1.3-alpha.Nick Mathewson
2017-05-30Check for libzstd >= 1.1Taylor Yu
The consensus compression code depends on a streaming compression API that is new in libzstd-1.1. Fixes #22413.
2017-05-26bump version to 0.3.1.2-alpha-devNick Mathewson
2017-05-26update version to 0.3.1.2-alphaNick Mathewson
2017-05-22bump to 0.3.1.1-alphaNick Mathewson
2017-05-19Merge branch 'add_rust_squashed'Nick Mathewson
2017-05-19Allow Rust build using locally supplied crates or crates.ioSebastian Hahn
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup.
2017-05-19Detect rustc versionSebastian Hahn
2017-05-19cargo-online-mode configure argumentSebastian Hahn
Passing --enable-cargo-online-mode during configure allows cargo to make network requests while building Tor or running tests. If this flag is not supplied, the dependencies need to be available in the form of a local mirror.
2017-05-01Fix help message for --enable-lzmaTaylor Yu
Fixes #22111.
2017-04-29Add --enable-rust configure switchSebastian Hahn
Introduce a way to optionally enable Rust integration for our builds. No actual Rust code is added yet and specifying the flag has no effect other than failing the build if rustc and cargo are unavailable.
2017-04-25trace: Add a basic event-tracing infrastructure.David Goulet
This commit adds the src/trace directory containing the basics for our tracing subsystem. It is not used in the code base. The "src/trace/debug.h" file contains an example on how we can map our tor trace events to log_debug(). The tracing subsystem can only be enabled by tracing framework at compile time. This commit introduces the "--enable-tracing-debug" option that will make all "tor_trace()" function be maped to "log_debug()". Closes #13802 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-04-25Add --enable-zstd to our configure script.Alexander Færøy
This patch adds support for enabling support for Zstandard to our configure script. By default, the --enable-zstd option is set to "auto" which means if libzstd is available we'll build Tor with Zstandard support. See: https://bugs.torproject.org/21662
2017-04-25Add --enable-lzma to our configure script.Alexander Færøy
This patch adds support for enabling support for LZMA to our configure script. By default, the --enable-lzma option is set to "auto" which means if liblzma is available we'll build Tor with LZMA support. See: https://bugs.torproject.org/21662
2017-03-15Run the copyright update script.Nick Mathewson
2017-02-27Merge branch 'disable_memory_sentinels_squashed'Nick Mathewson
2017-02-27Code to disable memory sentinels for fuzzingNick Mathewson
This feature makes it possible to turn off memory sentinels (like those used for safety in buffers.c and memarea.c) when fuzzing, so that we can catch bugs that they would otherwise prevent.
2017-02-15Bump master to 0.3.1.0-alpha-devNick Mathewson
2017-02-03Bump to 0.3.0.3-alpha-devNick Mathewson
2017-02-03Bump version to 0.3.0.3-alphaNick Mathewson
2017-02-03Use the standard OpenBSD preprocessor definitioncypherpunks
2017-02-01Merge remote-tracking branch 'dgoulet/bug21290_030_01'Nick Mathewson
2017-02-01Merge branch 'maint-0.2.9'Nick Mathewson
2017-02-01Support LibreSSL with opaque structuresrubiate
Determining if OpenSSL structures are opaque now uses an autoconf check instead of comparing the version number. Some definitions have been moved to their own check as assumptions which were true for OpenSSL with opaque structures did not hold for LibreSSL. Closes ticket 21359.
2017-02-01Rename --enable-expensive-hardening configure optionDavid Goulet
It is renamed to --enable-fragile-hardening. TROVE-2017-001 was triggerable only through the expensive hardening which is making the tor daemon abort when the issue is detected. Thus, it makes tor more at risk of remote crashes but safer against RCE or heartbleed bug category. Fixes #21290. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-30Merge branch 'combined-fuzzing-v4'Nick Mathewson
2017-01-30oss_fuzz also requires no PIENick Mathewson
2017-01-30libfuzzer tweaks per recommendationsNick Mathewson
2017-01-30Add libfuzzer support.Nick Mathewson
2017-01-23Bump to 0.3.0.2-alpha-devNick Mathewson
2017-01-23Bump version to 0.2.9.9-devNick Mathewson
2017-01-23Merge branch 'maint-0.2.9'Nick Mathewson
2017-01-23TROVE-2017-001 : move -ftrapv back into --expensive-hardening.Nick Mathewson
2017-01-23version bump (0.3.0.2-alpha)Nick Mathewson
2017-01-23version bumpNick Mathewson
2017-01-11Merge branch 'bug20990_squashed_v2'Nick Mathewson
2017-01-11Use the old replacement when AM_PROG_AR doesn't exist.Nick Mathewson
2016-12-23Merge branch 'maint-0.2.9'Nick Mathewson
2016-12-23Remove dead code related to the old tor-fw-helpercypherpunks
This commit removes more code related to the old tor-fw-helper which was removed in ticket 13338. Closes ticket 21024.
2016-12-23Report errors when updating configuration filescypherpunks
2016-12-23Use AM_PROG_AR to improve portabilitycypherpunks
Turning on warnings in Automake makes it complain about not using the AM_PROG_AR macro. The AM_PROG_AR macro is required when LIBRARIES or LTLIBRARIES is used. The macro looks for an archiver and wraps it in the ar-lib script which is automatically generated so Git should ignore it. It makes the custom check for 'ar' obsolete so it is removed. The AM_PROG_AR macro was added in Automake 1.11.2 thus the minimum Automake version is increased.