From: Bernd Kuhls <bernd.ku...@t-online.de> In certain configurations of uClibc, the matherr() function may not be provided by the C library, which makes the current configure.ac check for libm fail. However, iprutils does not use matherr(), so using this function for the test makes little sense.
This patch adjusts configure.ac to test for pow() instead, which is actually used by iprutils, and more commonly available, including in uClibc. Signed-off-by: Bernd Kuhls <bernd.ku...@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c1a4f70..e430554 100644 --- a/configure.ac +++ b/configure.ac @@ -129,7 +129,7 @@ save_LIBS="$LIBS" AC_CHECK_LIB([ncurses], [curses_version], [], [AC_ERROR("libncurses not found.")]) AC_CHECK_LIB([form], [free_form], [], [AC_ERROR("libform not found.")]) -AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")]) +AC_CHECK_LIB([m], [pow], [], [AC_ERROR("libm not found.")]) AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")]) AC_CHECK_LIB([panel], [show_panel], [], [AC_ERROR("libpanel not found.")]) IPRCONFIG_LIBS="$LIBS" -- 2.6.4 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel