From fd2ab74aae55e610daad7d4883131d1cb603dfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 29 Nov 2005 21:12:30 +0000 Subject: [PATCH] use $CFLAGS and $LDFLAGS in dlopen() check Originally committed as revision 4710 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index c3cf948bcb..f0e881d2f6 100755 --- a/configure +++ b/configure @@ -1030,12 +1030,12 @@ EOF 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 @@ cat > $TMPC << EOF 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