# Template build file for 'm4'.
pkgname=m4
version=1.4.16
distfiles="http://ftp.gnu.org/gnu/m4/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-changeword --enable-threads"
short_desc="GNU version of UNIX m4 macro language processor"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c
long_desc="
 GNU m4 is an implementation of the traditional UNIX macro
 processor. It is mostly SVR4 compatible, although it has some
 extensions (for example, handling more than 9 positional parameters to
 macros). m4 also has builtin functions for including files, running
 shell commands, doing arithmetic, etc. Autoconf needs GNU m4 for
 generating configure scripts, but not for running them."

bootstrap=yes
Add_dependency run glibc

if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
	Add_dependency build gettext
	Add_dependency build texinfo
fi