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:
Marvin Scholz
2026-02-17 14:26:25 +01:00
parent 8014cc7620
commit b98ec6d312

19
configure vendored
View File

@@ -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"