projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more lintian override tweaks
[gnulib.git]
/
m4
/
strtod.m4
diff --git
a/m4/strtod.m4
b/m4/strtod.m4
index
f40e342
..
bbe99bc
100644
(file)
--- a/
m4/strtod.m4
+++ b/
m4/strtod.m4
@@
-1,5
+1,5
@@
-# strtod.m4 serial 2
0
-dnl Copyright (C) 2002-2003, 2006-201
1
Free Software Foundation, Inc.
+# strtod.m4 serial 2
2
+dnl Copyright (C) 2002-2003, 2006-201
4
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 with or without modifications, as long as this notice is preserved.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@
-101,7
+101,7
@@
numeric_equal (double x, double y)
[gl_cv_func_strtod_works=yes],
[gl_cv_func_strtod_works=no],
[dnl The last known bugs in glibc strtod(), as of this writing,
[gl_cv_func_strtod_works=yes],
[gl_cv_func_strtod_works=no],
[dnl The last known bugs in glibc strtod(), as of this writing,
- dnl were fixed in version 2.8
+
dnl were fixed in version 2.8
AC_EGREP_CPP([Lucky user],
[
#include <features.h>
AC_EGREP_CPP([Lucky user],
[
#include <features.h>
@@
-112,15
+112,14
@@
numeric_equal (double x, double y)
#endif
#endif
],
#endif
#endif
],
- [gl_cv_func_strtod_works=
yes
],
+ [gl_cv_func_strtod_works=
"guessing yes"
],
[gl_cv_func_strtod_works="guessing no"])])])
[gl_cv_func_strtod_works="guessing no"])])])
- if test "$gl_cv_func_strtod_works" != yes; then
- REPLACE_STRTOD=1
- fi
- fi
- if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
- AC_LIBOBJ([strtod])
- gl_PREREQ_STRTOD
+ case "$gl_cv_func_strtod_works" in
+ *yes) ;;
+ *)
+ REPLACE_STRTOD=1
+ ;;
+ esac
fi
])
fi
])