mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
Add 8.44 - Build autoconf
This commit is contained in:
parent
1b3b820f92
commit
761c911f5b
2 changed files with 38 additions and 0 deletions
26
scripts/chapter8/8.44-autoconf.sh
Normal file
26
scripts/chapter8/8.44-autoconf.sh
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf autoconf-2.71.tar.xz
|
||||||
|
cd autoconf-2.71
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j5
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make check
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf autoconf-2.71
|
|
@ -1067,3 +1067,15 @@ then
|
||||||
stop_script "chapter8/8.43-intltool.sh"
|
stop_script "chapter8/8.43-intltool.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.44
|
||||||
|
# ============
|
||||||
|
echo "Building autoconf"
|
||||||
|
su -c "bash $SCRIPT/8.44-autoconf.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.44-autoconf.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue