2.40. autoconf-2.69
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Configuration
Early versions of LFS do not edit file bin/autoscan.in.
src_config()
{
case ${LFS_VERSION} in
8.4|9.*|10.0)
sed -i '361 s/{/\\{/' bin/autoscan.in
;;
esac
./configure \
--prefix=${PREFIX}
}
Compilation
src_compile()
{
make ${MAKEOPTS}
}
Installation
src_install()
{
make install ${MAKEOPTS} DESTDIR=${D}
}
Unit testing
src_check()
{
make check -j1
}
Build code
Other files
Links
- url.lfs: https://linuxfromscratch.org/lfs/view/9.1/chapter06/autoconf.html
- url.lfs.stage1: