attempt to fix ldns install-sh correctly

This commit is contained in:
Michael Jerris
2012-04-17 23:05:48 -04:00
parent 2f9889624f
commit e9abdac010
4 changed files with 22 additions and 530 deletions

View File

@@ -436,6 +436,24 @@ bootstrap_fs() {
rm -rf autom4te*.cache
}
bootstrap_libs_pre() {
case "$1" in
*) return 0;;
esac
}
bootstrap_libs_post() {
case "$1" in
ldns)
cd $BASEDIR/libs/ldns
if test ! -x install-sh; then
ex automake --add-missing --copy
ex rm -rf autom4te*.cache
fi
;;
esac
}
bootstrap_libs() {
for i in ${SUBDIRS}; do
case "$i" in
@@ -445,10 +463,11 @@ bootstrap_libs() {
continue
;;
esac
bootstrap_libs_pre ${i}
if ! ${BGJOB}; then
libbootstrap ${i} ;
libbootstrap ${i} ; bootstrap_libs_post ${i}
else
((libbootstrap ${i} ; ) &)
((libbootstrap ${i} ; bootstrap_libs_post ${i}) &)
fi
done
}