[Ffmpeg-cvslog] CVS: ffmpeg configure,1.215,1.216

Måns Rullgård CVS mru
Tue Nov 29 22:12:33 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv564

Modified Files:
	configure 
Log Message:
use $CFLAGS and $LDFLAGS in dlopen() check


Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -d -r1.215 -r1.216
--- configure	22 Oct 2005 19:17:39 -0000	1.215
+++ configure	29 Nov 2005 21:12:30 -0000	1.216
@@ -1030,12 +1030,12 @@
 
 ldl=-ldl
 
-if $cc -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then
+if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -ldl > /dev/null 2>&1 ; then
 dlfcn=yes
 dlopen=yes
 fi
 
-if $cc -o $TMPE $TMPC > /dev/null 2>&1 ; then
+if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC > /dev/null 2>&1 ; then
 dlfcn=yes
 dlopen=yes
 ldl=""
@@ -1045,11 +1045,11 @@
 int main( void ) { return (int) dlopen("foo", 0); }
 EOF
 
-if $cc -o $TMPE $TMPC -ldl > /dev/null 2>&1  ; then
+if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -ldl > /dev/null 2>&1  ; then
 dlopen=yes
 fi
 
-if $cc -o $TMPE $TMPC > /dev/null 2>&1  ; then
+if $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC > /dev/null 2>&1  ; then
 dlopen=yes
 ldl=""
 fi





More information about the ffmpeg-cvslog mailing list