summaryrefslogtreecommitdiff
path: root/m4/mpc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mpc.m4')
-rw-r--r--m4/mpc.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index 6dfed19..1734606 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -28,8 +28,6 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
# DESCRIPTION
#
# Check whether complex.h is usable; if yes, define HAVE_COMPLEX_H.
-# On solaris, one also needs the libm; in that case, it is added to LIB,
-# and HAVE_LIBM is defined.
#
AC_DEFUN([MPC_COMPLEX_H], [
AC_CHECK_HEADER(
@@ -46,6 +44,7 @@ AC_DEFUN([MPC_COMPLEX_H], [
)
AC_SEARCH_LIBS([creal], [m])
+ /* needed on Solaris */
AC_MSG_CHECKING([whether creal, cimag and I can be used])
AC_LINK_IFELSE(
[MPC_CONFTEST],