mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Update check-extensions.sh
This commit is contained in:
parent
c2876f28a8
commit
d04cecc733
@ -77,7 +77,10 @@ function check_before_configure() {
|
|||||||
tokenizer) ;;
|
tokenizer) ;;
|
||||||
zlib) ;;
|
zlib) ;;
|
||||||
curl)
|
curl)
|
||||||
do_curl_compiler
|
if [ ! -f "$self_dir/source/.curl_compiled" ]; then
|
||||||
|
do_curl_compiler
|
||||||
|
touch "$self_dir/source/.curl_compiled"
|
||||||
|
fi
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Compile curl error!"
|
echo "Compile curl error!"
|
||||||
exit 1
|
exit 1
|
||||||
@ -85,9 +88,12 @@ function check_before_configure() {
|
|||||||
;;
|
;;
|
||||||
dom|xml|libxml|xmlreader|xmlwriter|simplexml)
|
dom|xml|libxml|xmlreader|xmlwriter|simplexml)
|
||||||
if [ "$xml_sign" = "no" ]; then
|
if [ "$xml_sign" = "no" ]; then
|
||||||
do_xml_compiler
|
if [ ! -f "$self_dir/source/.xml_compiled" ]; then
|
||||||
|
do_xml_compiler
|
||||||
|
touch "$self_dir/source/.xml_compiled"
|
||||||
|
fi
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Compile curl error!"
|
echo "Compile xml error!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
xml_sign="yes"
|
xml_sign="yes"
|
||||||
@ -229,4 +235,4 @@ function check_after_configure() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
$1 $2
|
$1 $2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user