search for: 7bcd547

Displaying 1 result from an estimated 1 matches for "7bcd547".

Did you mean: 7bc15478
2012 Feb 20
0
[PATCH 1/2] build: check if libm is needed in configure
...1bfd419 100644 --- a/Makefile.target +++ b/Makefile.target @@ -33,10 +33,6 @@ endif PROGS=$(QEMU_PROG) STPFILES= -ifndef CONFIG_HAIKU -LIBS+=-lm -endif - config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak diff --git a/configure b/configure index b113f60..7bcd547 100755 --- a/configure +++ b/configure @@ -2447,6 +2447,20 @@ elif compile_prog "" "-lrt" ; then LIBS="-lrt $LIBS" fi +########################################## +# Do we need libm +cat > $TMPC <<EOF +#include <math.h> +int main(void) { double a, b...