projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bc6416f
)
Set ISNAN_LIBM to empty when libm is not actually needed.
author
Bruno Haible
<bruno@clisp.org>
Sat, 12 Jul 2008 23:07:35 +0000
(
01:07
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Sat, 12 Jul 2008 23:07:35 +0000
(
01:07
+0200)
ChangeLog
patch
|
blob
|
history
m4/isnan.m4
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 3f943e7616c1a4708c2d188ec37e832afa37cd2a..0e690180957a395cba53748865cc1663dea507f8 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2008-07-12 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnan.m4 (gl_ISNAN): When the replacement is used, set ISNAN_LIBM
+ to empty.
+
2008-07-10 Ben Pfaff <blp@gnu.org>
Add isnan module.
2008-07-10 Ben Pfaff <blp@gnu.org>
Add isnan module.
diff --git
a/m4/isnan.m4
b/m4/isnan.m4
index f146601cd63b00f4721c92e34a411429cb870040..51be0b4c49db1567e6b5e787ec5d4035e52b6781 100644
(file)
--- a/
m4/isnan.m4
+++ b/
m4/isnan.m4
@@
-1,4
+1,4
@@
-# isnan.m4 serial
1
+# isnan.m4 serial
2
dnl Copyright (C) 2007-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Copyright (C) 2007-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@
-11,9
+11,6
@@
AC_DEFUN([gl_ISNAN],
AC_REQUIRE([gl_FUNC_ISNAND])
AC_REQUIRE([gl_FUNC_ISNANL])
AC_REQUIRE([gl_FUNC_ISNAND])
AC_REQUIRE([gl_FUNC_ISNANL])
- ISNAN_LIBM="$ISNANF_LIBM $ISNAND_LIBM $ISNANL_LIBM"
- AC_SUBST([ISNAN_LIBM])
-
# If we replaced any of the underlying isnan* functions, replace
# the isnan macro; it undoubtedly suffers from the same flaws.
AC_MSG_CHECKING([whether isnan macro works])
# If we replaced any of the underlying isnan* functions, replace
# the isnan macro; it undoubtedly suffers from the same flaws.
AC_MSG_CHECKING([whether isnan macro works])
@@
-21,12
+18,15
@@
AC_DEFUN([gl_ISNAN],
&& test $gl_func_isnand = yes \
&& test $gl_func_isnanl = yes; then
AC_MSG_RESULT([yes])
&& test $gl_func_isnand = yes \
&& test $gl_func_isnanl = yes; then
AC_MSG_RESULT([yes])
+ ISNAN_LIBM="$ISNANF_LIBM $ISNAND_LIBM $ISNANL_LIBM"
else
else
+ AC_MSG_RESULT([no])
+ REPLACE_ISNAN=1
# Make sure the rpl_isnan[fdl] functions get built.
gl_BUILD_ISNANF
gl_BUILD_ISNAND
gl_BUILD_ISNANL
# Make sure the rpl_isnan[fdl] functions get built.
gl_BUILD_ISNANF
gl_BUILD_ISNAND
gl_BUILD_ISNANL
- REPLACE_ISNAN=1
- AC_MSG_RESULT([no])
+ ISNAN_LIBM=
fi
fi
+ AC_SUBST([ISNAN_LIBM])
])
])