2009-07-28 20:43:40 +01:00
|
|
|
{ stdenv, fetchurl, m4, perl }:
|
2004-03-31 23:47:06 +01:00
|
|
|
|
2020-06-26 21:44:45 +01:00
|
|
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
|
|
|
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
|
|
|
# cgit) that are needed here should be included directly in Nixpkgs as
|
|
|
|
# files.
|
|
|
|
|
2008-07-01 09:31:48 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-07 10:20:59 +01:00
|
|
|
name = "autoconf-2.69";
|
2009-07-28 20:43:40 +01:00
|
|
|
|
2003-11-25 13:46:24 +00:00
|
|
|
src = fetchurl {
|
2012-07-07 10:20:59 +01:00
|
|
|
url = "mirror://gnu/autoconf/${name}.tar.xz";
|
|
|
|
sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4";
|
2008-07-01 09:31:48 +01:00
|
|
|
};
|
|
|
|
|
2017-11-05 23:16:11 +00:00
|
|
|
nativeBuildInputs = [ m4 perl ];
|
|
|
|
buildInputs = [ m4 ];
|
2008-07-01 09:31:48 +01:00
|
|
|
|
2009-07-30 16:26:30 +01:00
|
|
|
# Work around a known issue in Cygwin. See
|
|
|
|
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
|
|
|
|
# details.
|
2011-01-22 22:20:52 +00:00
|
|
|
# There are many test failures on `i386-pc-solaris2.11'.
|
2014-07-29 16:03:32 +01:00
|
|
|
#doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));
|
|
|
|
doCheck = false;
|
2008-07-01 09:31:48 +01:00
|
|
|
|
2008-08-04 15:37:51 +01:00
|
|
|
# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
|
|
|
|
# "fixed" path in generated files!
|
|
|
|
dontPatchShebangs = true;
|
|
|
|
|
2012-07-07 10:20:59 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-04-25 04:20:18 +01:00
|
|
|
# Make the Autotest test suite run in parallel.
|
|
|
|
preCheck =''
|
|
|
|
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
|
|
|
|
'';
|
|
|
|
|
|
|
|
doInstallCheck = false; # fails
|
2012-07-07 10:20:59 +01:00
|
|
|
|
2008-07-01 09:31:48 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/autoconf/";
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Part of the GNU Build System";
|
2008-07-01 09:31:48 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2009-07-28 20:43:40 +01:00
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2003-11-25 13:46:24 +00:00
|
|
|
};
|
|
|
|
}
|