mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
configure: remove require_cpp, check_lib_cpp
Remove the improperly named check functions that were added for the
opencolorio detection in 677cf95ea4.
Those are not needed anymore and there are already require_cxx and
check_lib_cxx for this purpose.
This commit is contained in:
19
configure
vendored
19
configure
vendored
@@ -1580,17 +1580,6 @@ check_lib(){
|
||||
enable $name && eval ${name}_extralibs="\$@"
|
||||
}
|
||||
|
||||
check_lib_cpp(){
|
||||
log check_lib_cpp "$@"
|
||||
name="$1"
|
||||
headers="$2"
|
||||
code="$3"
|
||||
shift 3
|
||||
disable $name
|
||||
test_code ld "$headers" "$code" cxx "$@" &&
|
||||
enable $name && eval ${name}_extralibs="\$@"
|
||||
}
|
||||
|
||||
check_lib_cxx(){
|
||||
log check_lib_cxx "$@"
|
||||
name="$1"
|
||||
@@ -1804,14 +1793,6 @@ require_cxx(){
|
||||
check_lib_cxx "$name" "$@" || die "ERROR: $name_version not found"
|
||||
}
|
||||
|
||||
require_cpp(){
|
||||
log require_cpp "$@"
|
||||
name_version="$1"
|
||||
name="${1%% *}"
|
||||
shift
|
||||
check_lib_cpp "$name" "$@" || die "ERROR: $name_version not found"
|
||||
}
|
||||
|
||||
require_headers(){
|
||||
log require_headers "$@"
|
||||
headers="$1"
|
||||
|
||||
Reference in New Issue
Block a user