about summary refs log tree commit diff
path: root/configure.ac (follow)
AgeCommit message (Collapse)AuthorFilesLines
2011-04-11 * configure: detect whether DBD::SQLite is present. If necessary theEelco Dolstra1-0/+28
location to DBI and DBD::SQLite can be passed with --with-dbi and --with-dbd-sqlite.
2011-02-10 * Don't allocate a big initial GC address space on machines withEelco Dolstra1-1/+1
little RAM. Even if the memory isn't actually used, it can cause problems with the overcommit heuristics in the kernel. So use a VM space of 25% of RAM, up to 384 MB.
2011-02-09 Use $BDW_GC_LIBS instead of a custom variable.Ludovic Courtès1-2/+0
2011-02-09 * A better fix. $boehmgc isn't set anywhere, we should use the flagsEelco Dolstra1-1/+1
returned by pkg-config.
2011-02-08 (no commit message)Eelco Dolstra1-1/+1
2010-12-17 * Do a short sleep after SQLITE_BUSY.Eelco Dolstra1-2/+1
2010-12-10 * Use SQLite 3.7.4.Eelco Dolstra1-4/+4
2010-11-16 * Sync with the trunk.Eelco Dolstra1-0/+19
2010-10-29 * Use pkgconfig to locate the Boehm GC (as suggested by Ludo), ifEelco Dolstra1-7/+7
--enable-gc is given.
2010-10-22 * Make building against the Boehm GC a configure option.Eelco Dolstra1-0/+13
2010-10-04 * If std::tr1::unordered_set is unavailable, use std::set.Eelco Dolstra1-0/+7
2010-08-27 (no commit message)Eelco Dolstra1-1/+1
2010-08-12 * Urgh, this was supposed to go in the trunk...Eelco Dolstra1-3/+0
2010-08-12 * Don't link against pthreads. This was added way back in r211Eelco Dolstra1-3/+0
because Berkeley DB needed it on some platforms, but we don't use BDB anymore. On FreeBSD, if you link against pthreads, then the main thread gets a 2 MB stack which cannot be overriden (it ignores "ulimit -s"): http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg62445.html This is not enough for Nix. For instance, the garbage collector can fail if there is a pathologically deep chain of references (http://hydra.nixos.org/build/556199). 2 MB is also not enough for many Nix expressions. Arguably the garbage collector shouldn't use recursion, because in NixOS unprivileged users can DOS the garbage collector by creating a sufficiently deeply nested chain of references. But getting rid of recursion is a bit harder.
2010-08-06 * Use SQLite 3.7.0.1.Eelco Dolstra1-1/+1
2010-08-04 * Sync with the trunk.Eelco Dolstra1-3/+7
2010-08-04 * Use SQLite 3.7.0's write-ahead logging (WAL mode). This is a lotEelco Dolstra1-1/+1
faster than the old mode when fsyncs are enabled, because it only performs an fsync() when doing a checkpoint, rather than at every commit. Some timings for doing a "nix-instantiate /etc/nixos/nixos -A system" after modifying the stdenv setup script: 42.5s - SQLite 3.6.23 with truncate mode and fsync 3.4s - SQLite 3.6.23 with truncate mode and no fsync 32.1s - SQLite 3.7.0 with truncate mode and fsync 16.8s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint every 1000 pages 8.3s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint every 8192 pages 1.7s - SQLite 3.7.0 with WAL mode and no fsync The default is now to use WAL mode with fsyncs. Because WAL doesn't work on remote filesystems such as NFS (as it uses shared memory), truncate mode can be re-enabled by setting the "use-sqlite-wal" option to false.
2010-06-24 Revert "configure.ac: make flex and bison required programs"Peter Simons1-2/+2
This reverts commit 22405. Apparently, these programs aren't necessarily required when building from a release archive.
2010-06-24 Fix build of bsdiff-4.3 on machines that don't have <err.h>, such as Solaris.Peter Simons1-0/+4
2010-06-24 configure.ac: Incredibly enough, tr(1) on Solaris doesn't understand A-Z ↵Peter Simons1-3/+3
syntax for ranges.
2010-06-24 configure.ac: make flex and bison required programsPeter Simons1-2/+2
The build fails if these tools aren't available.
2010-05-12 * Sync with the trunk.Eelco Dolstra1-17/+0
2010-04-20 * Sync with the trunk.Eelco Dolstra1-0/+9
2010-04-19 * Drop the dependency on the ATerm library.Eelco Dolstra1-17/+0
2010-03-23 * Use SQLite 3.6.23.Eelco Dolstra1-1/+1
2010-03-11 Making 'bin2c' to be built with the compiler for the local system.Lluís Batlle i Rossell1-0/+9
I copied the configure.ac code about CC_FOR_BUILD from libX11.
2010-03-11 * Sync with the trunk.Eelco Dolstra1-0/+1
2010-03-05 * nix-prefetch-url depends on sed (seeEelco Dolstra1-0/+1
http://hydra.nixos.org/build/311170).
2010-03-02 * Support static builds.Eelco Dolstra1-0/+7
2010-03-02 * Remove the --enable-static-nix flag.Eelco Dolstra1-29/+7
2010-03-02 * When using the included sqlite/aterm libraries, build withEelco Dolstra1-6/+10
--enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene.
2010-02-24 * Don't use fdatasync since it doesn't work on Snow Leopard.Eelco Dolstra1-1/+0
* Don't refer to config.h in util.hh, because config.h is not installed (http://hydra.nixos.org/build/303053).
2010-02-24 * ADDITIONAL_NETWORK_LIBS -> LIBS.Eelco Dolstra1-2/+1
2010-02-24 * Remove the fdatasync check since it's no longer needed.Eelco Dolstra1-1/+0
2010-02-23 * configure: flag --with-sqlite.Eelco Dolstra1-3/+17
2010-02-18 * Convert the Nix database to SQLite.Eelco Dolstra1-0/+3
2010-02-02 * If fdatasync() isn't available, use fsync().Eelco Dolstra1-0/+1
2009-11-06 * Remove support for old (before Nix 0.12pre12020) databases.Eelco Dolstra1-26/+1
2009-10-08 Added optional parameter which adds -lnsl -lsocket to make the Nix package ↵Sander van der Burg1-0/+6
manager work on OpenSolaris
2009-10-06 configure.ac: use AC_SYS_LARGEFILE to determine how to enable 64-bit file ↵Peter Simons1-6/+5
size support Defining -D_FILE_OFFSET_BITS=64 works on most platforms, but not on all (i.e. Solaris). Also, the Autoconf macro offers the user a switch to disable the functionality in case of problems.
2009-09-18 * Use xmllint (>= 2.7.4) for RelaxNG validation instead of Jing.Eelco Dolstra1-1/+0
2009-05-07 * Typo.Eelco Dolstra1-1/+1
2009-03-26 * Support doing a fully static build. Statically linked Nix binariesEelco Dolstra1-11/+24
will be useful as a fallback on platforms for which there are no RPMs/Debs available.
2009-03-22 * NAR archives: handle files larger than 2^32 bytes. Previously itEelco Dolstra1-0/+1
would just silently store only (fileSize % 2^32) bytes. * Use posix_fallocate if available when unpacking archives. * Provide a better error message when trying to unpack something that isn't a NAR archive.
2009-03-09 * Make the version available to release.nix.Eelco Dolstra1-1/+1
2009-01-12 * Support i686-linux builds directly on x86_64-linux NixEelco Dolstra1-1/+6
installations. This is implemented using the personality() syscall, which causes uname to return "i686" in child processes.
2008-12-12 * Some hackery to make "make check" succeed on Cygwin.Eelco Dolstra1-0/+11
2008-12-12 * Detect whether unshare() is available.Eelco Dolstra1-0/+1
2008-12-11 * Do chroot builds in a private namespace. This means that all theEelco Dolstra1-0/+1
bind-mounts we do are only visible to the builder process and its children. So accidentally doing "rm -rf" on the chroot directory won't wipe out /nix/store and other bind-mounted directories anymore. Also, the bind-mounts in the private namespace disappear automatically when the builder exits.
2008-11-26 * Moved the build farm job for building Nix to the Nix tree.Eelco Dolstra1-14/+1