Repaired autotools bootstrap bug by help of sed
This commit is contained in:
parent
6566771834
commit
25ba84a7e2
@ -192,6 +192,18 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Repair non-portable shell code output of ./bootstrap
|
||||||
|
(
|
||||||
|
cd "$compile_dir" || exit 1
|
||||||
|
sed -e 's/^for ac_header in$/test -z 1 \&\& for ac_header in dummy/' \
|
||||||
|
< ./configure > ./configure-repaired
|
||||||
|
if test "$?" = 0
|
||||||
|
then
|
||||||
|
echo "$0: Empty 'for ac_header in' found in configure." >&2
|
||||||
|
fi
|
||||||
|
mv ./configure-repaired ./configure
|
||||||
|
chmod a+rx,go-w,u+w ./configure
|
||||||
|
)
|
||||||
|
|
||||||
# Pack it up to the new libburn+cdrskin-tarball
|
# Pack it up to the new libburn+cdrskin-tarball
|
||||||
tar czf "$cdrskin_tarball" "$target"
|
tar czf "$cdrskin_tarball" "$target"
|
||||||
|
@ -192,6 +192,19 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Repair non-portable shell code output of ./bootstrap
|
||||||
|
(
|
||||||
|
cd "$compile_dir" || exit 1
|
||||||
|
sed -e 's/^for ac_header in$/test -z 1 \&\& for ac_header in dummy/' \
|
||||||
|
< ./configure > ./configure-repaired
|
||||||
|
if test "$?" = 0
|
||||||
|
then
|
||||||
|
echo "$0: Empty 'for ac_header in' found in configure." >&2
|
||||||
|
fi
|
||||||
|
mv ./configure-repaired ./configure
|
||||||
|
chmod a+rx,go-w,u+w ./configure
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# Pack it up to the new libburn+cdrskin-tarball
|
# Pack it up to the new libburn+cdrskin-tarball
|
||||||
tar czf "$cdrskin_tarball" "$target"
|
tar czf "$cdrskin_tarball" "$target"
|
||||||
|
Loading…
Reference in New Issue
Block a user