aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2019-02-11Bindings::get(): Add convenience methodEelco Dolstra
This allows writing attribute lookups as if (auto name = value.attrs->get(state.sName)) ...
2019-01-10Revert "Remove some bashisms from configure.ac"Eelco Dolstra
This reverts commit e8b0efdcc9d6329b299937790360cac8b9b256c9.
2019-01-10Revert "Escape square brackets in configure.ac"Eelco Dolstra
This reverts commit 80f464d9d72839841422f75e78ce725365cc3d71.
2019-01-09Escape square brackets in configure.acMateusz Piotrowski
This patch attempts to solve the regression introduced in e8b0efdc (#2607).
2019-01-07Merge pull request #2607 from 0mp/configure.ac-fixEelco Dolstra
Remove some bashisms from configure.ac
2019-01-07Don't look for a "pv" program, or mention it in the manual sourceJohn Ericson
The manual reference was commented out, and the sole reference to this program other than the configure script. Removed both.
2019-01-05brotli is only used as a library nowJohn Ericson
2019-01-05Remove dead code computing `dynlib_suffix` from comfigure.acJohn Ericson
2018-12-30Remove some bashisms from configure.acMateusz Piotrowski
"configure.ac" is used to generate "configure", which is supposed to be run with /bin/sh (as suggested by the shebang line of "configure"). As a result it is a good idea to remove any /bin/sh-incompatible syntax from configure.ac. Otherwise, systems that do not use Bash as their /bin/sh are unable to run "configure" due to syntax errors.
2018-10-29editline: wipWill Dietz
2018-09-03docs: change expired bzip2.org to archive.orgVladimír Čunát
Fixes #2396.
2018-08-20Drop all references to --disable-init-stateTuomas Tynkkynen
It's all dead code since 2014 (commit 0c6d62cf27b3b2).
2018-08-06Require libbrotliEelco Dolstra
2018-04-06Use $CPPFLAGS when detecting version of aws-sdk-cppAndrew Dunham
2018-03-20ask autotools for c++14 support flags, not c++11; don't override laterWill Dietz
2018-02-19configure.ac: define HAVE_SECCOMP macro when using seccomp, fix build/testsWill Dietz
Happily the failing tests should prevent anyone from using such a Nix in situations where they expect sandboxing to be on, which would otherwise be a risk.
2018-02-19Merge pull request #1857 from dtzWill/fix/check-for-lzma-mtEelco Dolstra
configure.ac: check if lzma has MT support, fix deb build/etc.
2018-02-18configure: Add a flag to disable seccomp.Shea Levy
This is needed for new arches where libseccomp support doesn't exist yet. Fixes #1878.
2018-02-09configure.ac: check if lzma has MT support, fix deb build/etc.Will Dietz
2018-01-29configure: Use $CPP instead of cpp directlyBen Gamari
The latter breaks in the case of cross-compilation, when `cpp` bears a target prefix.
2017-12-30use libbrotli directly when availableWill Dietz
* Look for both 'brotli' and 'bro' as external command, since upstream has renamed it in newer versions. If neither are found, current runtime behavior is preserved: try to find 'bro' on PATH. * Limit amount handed to BrotliEncoderCompressStream to ensure interrupts are processed in a timely manner. Testing shows negligible performance impact. (Other compression sinks don't seem to require this)
2017-12-22Check aws-sdk-cpp versionEelco Dolstra
2017-05-29Add a seccomp filter to prevent creating setuid/setgid binariesEelco Dolstra
This prevents builders from setting the S_ISUID or S_ISGID bits, preventing users from using a nixbld* user to create a setuid/setgid binary to interfere with subsequent builds under the same nixbld* uid. This is based on aszlig's seccomp code (47f587700d646f5b03a42f2fa57c28875a31efbe). Reported by Linus Heckemann.
2017-05-15Add --with-sandbox-shell configure flagEelco Dolstra
And add a 116 KiB ash shell from busybox to the release build. This helps to make sandbox builds work out of the box on non-NixOS systems and with diverted stores.
2017-05-10Replace readline by linenoiseEelco Dolstra
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses.
2017-04-28Check for libreadlineEelco Dolstra
2017-04-20Detect lsofEelco Dolstra
Also, don't use lsof on Linux since it's not needed. Fixes #1328.
2017-03-31Merge branch 'remove-perl' of https://github.com/shlevy/nixEelco Dolstra
2017-03-21Don't make brotli a hard dependencyEelco Dolstra
2017-03-15Add support for brotli compressionEelco Dolstra
Build logs on cache.nixos.org are compressed using Brotli (since this allows them to be decompressed automatically by Chrome and Firefox), so it's handy if "nix log" can decompress them.
2017-03-15Remove dependency on "curl" binaryEelco Dolstra
2017-02-28Improve SQLite busy handlingEelco Dolstra
2017-02-21Revert "configure.ac: We require C++14 now"Eelco Dolstra
This reverts commit 81c53fe8e56f4a4ce10088fe2d7b6a524a6dc126. This check appears to be stricter than we need (it broke a bunch of platforms that previously did build: http://hydra.nixos.org/eval/1331921#tabs-now-fail).
2017-02-08configure.ac: We require C++14 nowTuomas Tynkkynen
At least in the main Makefile we have: GLOBAL_CXXFLAGS += -std=c++14 -g -Wall
2017-02-07Remove perl dependency.Shea Levy
Fixes #341
2016-12-19Revert "Merge branch 'seccomp' of https://github.com/aszlig/nix"Eelco Dolstra
This reverts commit 9f3f2e21edb17dbcd674539dff96efb6cceca10c, reversing changes made to 47f587700d646f5b03a42f2fa57c28875a31efbe.
2016-12-15Merge branch 'seccomp' of https://github.com/aszlig/nixEelco Dolstra
2016-12-08Drop unused dblatex referenceEelco Dolstra
2016-12-06Drop unused WWW::Curl dependencyEelco Dolstra
2016-11-16Add build dependency for libseccompaszlig
We're going to use libseccomp instead of creating the raw BPF program, because we have different syscall numbers on different architectures. Although our initial seccomp rules will be quite small it really doesn't make sense to generate the raw BPF program because we need to duplicate it and/or make branches on every single architecture we want to suuport. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-20Add a new option to disable documentation generation at configure timeAdrien Devresse
2016-08-13remove otool checkJude Taylor
2016-06-09Use O_CLOEXEC in most placesEelco Dolstra
2016-05-30fix tarball jobDomen Kožar
2016-05-04Make the aws-cpp-sdk dependency optionalEelco Dolstra
2016-05-04Remove obsolete err.h checkEelco Dolstra
2016-05-04Remove OpenSSL-based signingEelco Dolstra
2016-03-11Handle ARM triples without an endianness suffixNathan Zadoks
Alpine seems to use this, and it results in a wrong builtins.currentSystem. Big-endian ARM systems have triples starting with armv6eb- or armv7eb-, so this doesn't change any systems that already worked.
2016-03-03configure.ac: strip -musl in the same way as -gnuNathan Zadoks
2016-01-12Revert "Do not override environment CFLAGS and CXXFLAGS"Eelco Dolstra
This reverts commit 80ebd60e7ca3c48a19b94ddaeebb23182b703178. The reason why we cleared CFLAGS/CXXFLAGS was because otherwise we get a default value of -O2, which interferes with the defaults set in the Makefile. (E.g. "make OPTIMIZE=0" should not pass -O2.)