mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
7a56208f2f
commit
fe086dfc31
143 changed files with 38185 additions and 15108 deletions
25
trunk/3rdparty/srt-1-fit/configure
vendored
25
trunk/3rdparty/srt-1-fit/configure
vendored
|
@ -102,7 +102,7 @@ foreach {o desc} $options {
|
|||
}
|
||||
|
||||
|
||||
if { $argv == "--help" } {
|
||||
if { $argv == "--help" || $argv == "-h" } {
|
||||
puts stderr "Usage: ./configure \[options\]"
|
||||
puts stderr "OPTIONS:"
|
||||
foreach o [lsort [array names opt]] {
|
||||
|
@ -153,8 +153,10 @@ foreach a $argv {
|
|||
|
||||
set type ""
|
||||
|
||||
if { [string first = $a] != -1 } {
|
||||
lassign [split $a =] a val
|
||||
if { [set a1 [string first = $a]] != -1 } {
|
||||
# Do not split. Options may include =.
|
||||
set val [string range $a $a1+1 end]
|
||||
set a [string range $a 0 $a1-1]
|
||||
}
|
||||
|
||||
if { [dict exists $::alias $a] } {
|
||||
|
@ -194,6 +196,23 @@ if { $saveopt != "" } {
|
|||
error "Extra unhandled argument: $saveopt"
|
||||
}
|
||||
|
||||
# Save the original call into config-status.sh
|
||||
|
||||
set ofd [open config-status.sh w]
|
||||
puts $ofd "#!/bin/bash"
|
||||
puts -nonewline $ofd "$argv0 "
|
||||
foreach a $argv {
|
||||
set len 1
|
||||
if {[catch {llength $a} len] || $len > 1 } {
|
||||
puts -nonewline $ofd "'$a' "
|
||||
} else {
|
||||
puts -nonewline $ofd "$a "
|
||||
}
|
||||
}
|
||||
puts $ofd ""
|
||||
close $ofd
|
||||
file attributes config-status.sh -permissions +x
|
||||
|
||||
set cmakeopt ""
|
||||
|
||||
resolve_disablers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue