From d01089fc667ec8f2c64036882c9e8fb16d6162df Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Fri, 6 Jul 2012 13:17:45 +0100 Subject: libxl: explicitly check for libmath in autoconf As well as explicitly add -lm to libxl's Makefile. This is because next patch uses floating point arithmetic, and it is better to state it clearly that we need libmath (just in case we find a libc that wants that to be explicitly enforced). Notice that autoconf should be rerun after applying this change. Signed-off-by: Dario Faggioli Acked-by: Roger Pau Monne Acked-by: Ian Campbell [ ijc -- s/libmath/libm/ in error message ] Committed-by: Ian Campbell --- tools/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/config.h.in') diff --git a/tools/config.h.in b/tools/config.h.in index bc1ed1057b..87d744b1b5 100644 --- a/tools/config.h.in +++ b/tools/config.h.in @@ -6,6 +6,9 @@ /* Define to 1 if you have the `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO +/* Define to 1 if you have the `m' library (-lm). */ +#undef HAVE_LIBM + /* Define to 1 if you have the `yajl' library (-lyajl). */ #undef HAVE_LIBYAJL -- cgit v1.2.3