[FFmpeg-cvslog] r21235 - trunk/configure
mru
subversion
Sat Jan 16 05:48:58 CET 2010
Author: mru
Date: Sat Jan 16 05:48:58 2010
New Revision: 21235
Log:
configure: add test_ldflags function
This adds a test_ldflags function for testing linker flags without
adding them to LDFLAGS like check_ldflags does.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Jan 16 04:54:55 2010 (r21234)
+++ trunk/configure Sat Jan 16 05:48:58 2010 (r21235)
@@ -626,13 +626,18 @@ int x;
EOF
}
-check_ldflags(){
- log check_ldflags "$@"
- check_ld "$@" <<EOF && add_ldflags "$@"
+test_ldflags(){
+ log test_ldflags "$@"
+ check_ld "$@" <<EOF
int main(void){ return 0; }
EOF
}
+check_ldflags(){
+ log check_ldflags "$@"
+ test_ldflags "$@" && add_ldflags "$@"
+}
+
check_header(){
log check_header "$@"
header=$1
More information about the ffmpeg-cvslog
mailing list