Commit 7a0ffe84 authored by mru's avatar mru

configure: add test_ldflags function

This adds a test_ldflags function for testing linker flags without
adding them to LDFLAGS like check_ldflags does.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21235 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 48a31fbc
...@@ -626,13 +626,18 @@ int x; ...@@ -626,13 +626,18 @@ int x;
EOF EOF
} }
check_ldflags(){ test_ldflags(){
log check_ldflags "$@" log test_ldflags "$@"
check_ld "$@" <<EOF && add_ldflags "$@" check_ld "$@" <<EOF
int main(void){ return 0; } int main(void){ return 0; }
EOF EOF
} }
check_ldflags(){
log check_ldflags "$@"
test_ldflags "$@" && add_ldflags "$@"
}
check_header(){ check_header(){
log check_header "$@" log check_header "$@"
header=$1 header=$1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment