summaryrefslogtreecommitdiff
path: root/m4/isnan.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-21 02:21:30 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:15 +0200
commitba07288e32b07a98c79f8812eed7e03daa5b7f26 (patch)
tree7551c0ed21854b8b64522063021c9974e60be82e /m4/isnan.m4
parentceca6f59a7a33a33572cca9df5105f62506044a6 (diff)
downloadgnulib-ba07288e32b07a98c79f8812eed7e03daa5b7f26.tar.gz
isnan: Respect rules for use of AC_LIBOBJ.
* m4/isnan.m4 (gl_ISNAN): Don't do the AC_LIBOBJ and gl_PREREQ_ISNAN* invocations here. * modules/isnanf (configure.ac): Require gl_ISNAN if it exists. Test REPLACE_ISNAN. * modules/isnand (configure.ac): Likewise. * modules/isnanl (configure.ac): Likewise.
Diffstat (limited to 'm4/isnan.m4')
-rw-r--r--m4/isnan.m410
1 files changed, 2 insertions, 8 deletions
diff --git a/m4/isnan.m4 b/m4/isnan.m4
index 0c5e78328e..a99cbb3b9a 100644
--- a/m4/isnan.m4
+++ b/m4/isnan.m4
@@ -1,4 +1,4 @@
-# isnan.m4 serial 4
+# isnan.m4 serial 5
dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -36,14 +36,8 @@ AC_DEFUN([gl_ISNAN],
esac
else
AC_MSG_RESULT([no])
+ dnl REPLACE_ISNAN=1 also makes sure the rpl_isnan[fdl] functions get built.
REPLACE_ISNAN=1
- # Make sure the rpl_isnan[fdl] functions get built.
- AC_LIBOBJ([isnanf])
- gl_PREREQ_ISNANF
- AC_LIBOBJ([isnand])
- gl_PREREQ_ISNAND
- AC_LIBOBJ([isnanl])
- gl_PREREQ_ISNANL
ISNAN_LIBM=
fi
AC_SUBST([ISNAN_LIBM])