summaryrefslogtreecommitdiff
path: root/libstdc++-v3/linkage.m4
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-23 20:06:56 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-23 20:06:56 +0000
commit708a325092013c660b683da1cacbffd44f26bd85 (patch)
tree7f419a496f18923f419af357181215de348ddc5e /libstdc++-v3/linkage.m4
parent196771fa67aeea60e48cd9cd500a2b26ebc59470 (diff)
downloadgcc-708a325092013c660b683da1cacbffd44f26bd85.tar.gz
2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
* linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/linkage.m4')
-rw-r--r--libstdc++-v3/linkage.m45
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)