Package: autoconf
Version: 2.63
Revision: 7
Epoch: 1
Depends: m4 (>= 1.4.16-1)
BuildDepends: texinfo (>= 5-1)
Conflicts: autoconf2.13, autoconf25 (<= 2.54-1), autoconf2.5, autoconf2.6
Replaces: autoconf2.13, autoconf25 (<= 2.54-1), autoconf2.5, autoconf2.6
Source: mirror:gnu:autoconf/autoconf-%v.tar.bz2
Source-Checksum: SHA256(264d7c1c0e268bc77fbe0f308e085545535edfe73f33e27c80219cc0c9c71246)
PatchFile: %n_xquartz.patch
PatchFile-MD5: 2c8bd2edb8831db878b38c9e6a5bc8d8
ConfigureParams: --program-suffix=-%v EMACS=no
UseMaxBuildJobs: false
CompileScript: <<
	PERL=/usr/bin/perl ./configure %c
	make
<<
# Tests failed for me due to ls reporting 2 testsuite.log files in the
# same directory. wtf? Anyway, let's run the tests with -m, but ignore
# failures.
# Second time, no test failures :(
InfoTest: TestScript: make check || :
InstallScript: <<
#!/bin/sh -ev
	install -d -m 755 %i/share/doc/installed-packages
	touch %i/share/doc/installed-packages/autoconf2.5
	make install DESTDIR=%d
	pushd doc && make html && popd
	install -d -m 755 %i/share/doc/%n/html
	install -m 644 doc/*.html %i/share/doc/%n/html/

	for bin in autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames; do
		ln -sf $bin-%v %i/bin/$bin
		# for backwards compatibility with stuff that expects
		# "autoconf-2.5" to be the "new" autoconf... (*cough*
		# KDE *cough*)
		ln -sf $bin %i/bin/$bin-2.59
	done

	for man in autoconf autoheader autom4te autoreconf autoscan autoupdate config.guess config.sub ifnames; do
		ln -sf $man-%v.1 %i/share/man/man1/$man.1
	done
<<
DocFiles: README COPYING AUTHORS NEWS THANKS
InfoDocs: autoconf.info standards.info
#
Description: System for generating configure scripts
DescDetail: <<
GNU Autoconf is a package for generating configure scripts. These scripts are 
present in a large number of free software packages and are used to detect 
system features at compilation time.

This package installs Autoconf version 2.63. It has some compatibility 
problems with older packages. If you want to work on a package that requires 
Autoconf 2.13, install the autoconf2.13 package instead. Because of
some major improvements in autoconf-2.64, that version is not
compatible either, for latest autoconf, please install the autoconf2.6
package.

Patch to support xquartz X11 location. See:
http://lists.gnu.org/archive/html/bug-autoconf/2015-06/msg00023.html
http://lists.gnu.org/archive/html/bug-autoconf/2015-08/msg00002.html
Giving precedence to older-standard locations because that's what we
have always expected/supported--retain behavior on existing platforms.
We just now also support the new-standard location if no old one.

Previously by Christoph Pfisterer <chrisp@users.sourceforge.net>
also by Chris Zubrzycki <beren12@users.sourceforge.net>
<<
License: GPL
Homepage: https://www.gnu.org/software/autoconf/
Maintainer: None <fink-devel@lists.sourceforge.net>