summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--plugins/common.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bdd4431..1d16bcd 100644
--- a/configure.in
+++ b/configure.in
@@ -162,6 +162,8 @@ dnl
162dnl check for math-related functions needing -lm 162dnl check for math-related functions needing -lm
163AC_CHECK_HEADERS(math.h) 163AC_CHECK_HEADERS(math.h)
164AC_CHECK_LIB(m,floor,MATHLIBS="-lm") 164AC_CHECK_LIB(m,floor,MATHLIBS="-lm")
165AC_CHECK_HEADERS(mp.h)
166AC_CHECK_LIB(bsd,pow,MATHLIBS="$MATHLIBS -lbsd")
165AC_SUBST(MATHLIBS) 167AC_SUBST(MATHLIBS)
166 168
167dnl Check if we buils local libtap 169dnl Check if we buils local libtap
diff --git a/plugins/common.h b/plugins/common.h
index dfc0941..09af7e7 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -59,6 +59,12 @@
59#include <math.h> 59#include <math.h>
60#endif 60#endif
61 61
62#ifdef _AIX
63#ifdef HAVE_MP_H
64#include <mp.h>
65#endif
66#endif
67
62#ifdef HAVE_STRINGS_H 68#ifdef HAVE_STRINGS_H
63#include <strings.h> 69#include <strings.h>
64#endif 70#endif