PKGNAME=gawk
PKGSEC=utils
# Yes, it does depend on mpfr for some higher-level arithmetic support.
# https://www.gnu.org/software/gawk/manual/html_node/Gawk-and-MPFR.html
PKGDEP="mpfr libsigsegv readline"
PKGDES="A data reformatting utility"

# FIXME: Nested Autotools projects in source tree.
AUTOTOOLS_STRICT=0
AUTOTOOLS_AFTER="--enable-lint \
                 --enable-builtin-intdiv0 \
                 --enable-mpfr \
                 --enable-pma \
                 --disable-versioned-extension-dir \
                 --enable-largefile \
                 --enable-nls \
                 --disable-rpath \
                 --enable-extensions"

PKGESS=1

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
