Mercurial > hg > octave-kai > gnulib-hg
comparison m4/math_h.m4 @ 9900:5f47b9c9cc45
* m4/math_h.m4 (gl_MATH_H): Fix typos.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 12 Apr 2008 17:25:00 +0200 |
parents | 02bfc9acab82 |
children | d3f5a70dc1ba |
comparison
equal
deleted
inserted
replaced
9899:1e9793d6008a | 9900:5f47b9c9cc45 |
---|---|
1 # math_h.m4 serial 10 | 1 # math_h.m4 serial 11 |
2 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. | 2 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. |
3 dnl This file is free software; the Free Software Foundation | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | 4 dnl gives unlimited permission to copy and/or distribute it, |
5 dnl with or without modifications, as long as this notice is preserved. | 5 dnl with or without modifications, as long as this notice is preserved. |
6 | 6 |
18 f = NAN; | 18 f = NAN; |
19 #endif | 19 #endif |
20 return f == 0;]])], | 20 return f == 0;]])], |
21 [gl_cv_header_math_nan_works=yes], | 21 [gl_cv_header_math_nan_works=yes], |
22 [gl_cv_header_math_nan_works=no])]) | 22 [gl_cv_header_math_nan_works=no])]) |
23 if test gl_cv_header_math_nan_works = no; then | 23 if test $gl_cv_header_math_nan_works = no; then |
24 REPLACE_NAN=1 | 24 REPLACE_NAN=1 |
25 fi | 25 fi |
26 AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works], | 26 AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works], |
27 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <math.h>], | 27 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <math.h>], |
28 [[/* Solaris 10 has a broken definition of HUGE_VAL. */ | 28 [[/* Solaris 10 has a broken definition of HUGE_VAL. */ |
29 double d = HUGE_VAL; | 29 double d = HUGE_VAL; |
30 return d == 0;]])], | 30 return d == 0;]])], |
31 [gl_cv_header_math_huge_val_works=yes], | 31 [gl_cv_header_math_huge_val_works=yes], |
32 [gl_cv_header_math_huge_val_works=no])]) | 32 [gl_cv_header_math_huge_val_works=no])]) |
33 if test gl_cv_header_math_huge_val_works = no; then | 33 if test $gl_cv_header_math_huge_val_works = no; then |
34 REPLACE_HUGE_VAL=1 | 34 REPLACE_HUGE_VAL=1 |
35 fi | 35 fi |
36 ]) | 36 ]) |
37 | 37 |
38 AC_DEFUN([gl_MATH_MODULE_INDICATOR], | 38 AC_DEFUN([gl_MATH_MODULE_INDICATOR], |