diff options
Diffstat (limited to 'libstdc++-v3/linkage.m4')
-rw-r--r-- | libstdc++-v3/linkage.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/linkage.m4 b/libstdc++-v3/linkage.m4 index eec02800ddb..87c64cb9b57 100644 --- a/libstdc++-v3/linkage.m4 +++ b/libstdc++-v3/linkage.m4 @@ -404,6 +404,11 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_SUPPORT], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $libm" + dnl Check libmx + AC_CHECK_LIB(mx, sqrtf, libmx="-lmx") + dnl ac_save_LIBS="$LIBS" + LIBS="$LIBS $libmx" + dnl Check to see if certain C math functions exist. GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1(isinf) GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1(isnan) |