mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
configure: escape colons in values written to config.fate
The fields in config.fate are colon-separated so any colons within the fields should be escaped to prevent confusion. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
de7f22ab0c
commit
6555acad10
6
configure
vendored
6
configure
vendored
@ -2594,7 +2594,11 @@ case $target_os in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "config:$arch:$subarch:$cpu:$target_os:$cc_ident:$LIBAV_CONFIGURATION" >config.fate
|
esc(){
|
||||||
|
echo "$*" | sed 's/%/%25/g;s/:/%3a/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "config:$arch:$subarch:$cpu:$target_os:$(esc $cc_ident):$(esc $LIBAV_CONFIGURATION)" >config.fate
|
||||||
|
|
||||||
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
|
check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user