projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c35e40e
)
Guess isnanl does not work when cross-compiling to ia64, x86_64, i386.
author
Bruno Haible
<bruno@clisp.org>
Wed, 13 Jun 2007 01:30:34 +0000
(
01:30
+0000)
committer
Bruno Haible
<bruno@clisp.org>
Wed, 13 Jun 2007 01:30:34 +0000
(
01:30
+0000)
ChangeLog
patch
|
blob
|
history
m4/isnanl.m4
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 458f3a5b18b177cc8e853120cf6ff689a431cce6..3d8ed57ce810444107144109166eaaacfa8536fd 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2007-06-12 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Guess no when cross-compiling
+ to ia64, x86_64, i386.
+ Reported by Eric Blake.
+
2007-06-12 Bruno Haible <bruno@clisp.org>
* m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Guess no also when
2007-06-12 Bruno Haible <bruno@clisp.org>
* m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Guess no also when
diff --git
a/m4/isnanl.m4
b/m4/isnanl.m4
index 7a73d4ea72e784bdd9bc501f1cbd86fe85bb06f6..a02ded78b84fe900a745415dba181bf9f3aad7d2 100644
(file)
--- a/
m4/isnanl.m4
+++ b/
m4/isnanl.m4
@@
-1,4
+1,4
@@
-# isnanl.m4 serial
4
+# isnanl.m4 serial
5
dnl Copyright (C) 2007 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 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@
-200,9
+200,15
@@
int main ()
return 0;
}], [gl_cv_func_isnanl_works=yes], [gl_cv_func_isnanl_works=no],
return 0;
}], [gl_cv_func_isnanl_works=yes], [gl_cv_func_isnanl_works=no],
- [case "$host_os" in
- netbsd*) gl_cv_func_isnanl_works="guessing no";;
- *) gl_cv_func_isnanl_works="guessing yes";;
+ [case "$host_cpu" in
+ # Guess no on ia64, x86_64, i386.
+ ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
+ *)
+ case "$host_os" in
+ netbsd*) gl_cv_func_isnanl_works="guessing no";;
+ *) gl_cv_func_isnanl_works="guessing yes";;
+ esac
+ ;;
esac
])
])
esac
])
])