1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-24 07:00:40 +00:00

Fixed lrintf check when lrintf is in libm

This commit is contained in:
Eric Petit 2006-04-05 10:12:23 +00:00
parent 759a1cf6e1
commit 94fd8c9cf6

2
configure vendored
View file

@ -102,7 +102,7 @@ lrintf_test()
return ( lrintf( 3.14 ) != 3 ); return ( lrintf( 3.14 ) != 3 );
} }
EOF EOF
if ( $CC -o testconf testconf.c $LINKLIBS && ./testconf ) > /dev/null 2>&1 if ( $CC -o testconf testconf.c $LDFLAGS && ./testconf ) > /dev/null 2>&1
then then
CFLAGS="$CFLAGS -DHAVE_LRINTF" CFLAGS="$CFLAGS -DHAVE_LRINTF"
fi fi