2009-07-28 21:43:40 +02:00
|
|
|
{ stdenv, fetchurl, m4, perl }:
|
2004-04-01 00:47:06 +02:00
|
|
|
|
2008-07-01 10:31:48 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-07 11:20:59 +02:00
|
|
|
name = "autoconf-2.69";
|
2009-07-28 21:43:40 +02:00
|
|
|
|
2003-11-25 14:46:24 +01:00
|
|
|
src = fetchurl {
|
2012-07-07 11:20:59 +02:00
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.xz";
|
|
|
|
sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4";
|
2008-07-01 10:31:48 +02:00
|
|
|
};
|
|
|
|
|
2017-11-06 00:16:11 +01:00
|
|
|
nativeBuildInputs = [ m4 perl ];
|
|
|
|
buildInputs = [ m4 ];
|
2008-07-01 10:31:48 +02:00
|
|
|
|
2009-07-30 17:26:30 +02:00
|
|
|
# Work around a known issue in Cygwin. See
|
|
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
|
|
# details.
|
2011-01-22 23:20:52 +01:00
|
|
|
# There are many test failures on `i386-pc-solaris2.11'.
|
2014-07-29 17:03:32 +02:00
|
|
|
#doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));
|
|
|
|
doCheck = false;
|
2008-07-01 10:31:48 +02:00
|
|
|
|
2008-08-04 16:37:51 +02:00
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2012-07-07 11:20:59 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
# Make the Autotest test suite run in parallel.
|
|
|
|
preCheck =''
|
|
|
|
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
|
|
|
'';
|
|
|
|
|
|
|
|
doInstallCheck = false; # fails
|
2012-07-07 11:20:59 +02:00
|
|
|
|
2008-07-01 10:31:48 +02:00
|
|
|
meta = {
|
2018-12-01 19:22:13 +01:00
|
|
|
homepage = https://www.gnu.org/software/autoconf/;
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Part of the GNU Build System";
|
2008-07-01 10:31:48 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU Autoconf is an extensible package of M4 macros that produce
|
|
|
|
shell scripts to automatically configure software source code
|
|
|
|
packages. These scripts can adapt the packages to many kinds of
|
|
|
|
UNIX-like systems without manual user intervention. Autoconf
|
|
|
|
creates a configuration script for a package from a template
|
|
|
|
file that lists the operating system features that the package
|
|
|
|
can use, in the form of M4 macro calls.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-07-28 21:43:40 +02:00
|
|
|
|
2015-03-20 16:52:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2003-11-25 14:46:24 +01:00
|
|
|
};
|
|
|
|
}
|