llvm.org GIT mirror llvm / fd6fbec
[autoconf] Fix 80+ and quoting. Additional quoting for safety and satisfying newer autotools. Fix a couple of 80 column violations. http://llvm-reviews.chandlerc.com/D333 Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173877 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
2 changed file(s) with 15 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
None #
1 # This function determins if the isinf function isavailable on this
2 # platform.
3 #
0 dnl
1 dnl This function determins if the isinf function isavailable on this
2 dnl platform.
3 dnl
4
45 AC_DEFUN([AC_FUNC_ISINF],[
6
57 AC_SINGLE_CXX_CHECK([ac_cv_func_isinf_in_math_h],
68 [isinf], [],
79 [float f; isinf(f);])
810 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
9 AC_DEFINE([HAVE_ISINF_IN_MATH_H],1,[Set to 1 if the isinf function is found in ])
11 AC_DEFINE([HAVE_ISINF_IN_MATH_H], [1],
12 [Set to 1 if the isinf function is found in ])
1013 fi
1114
1215 AC_SINGLE_CXX_CHECK([ac_cv_func_isinf_in_cmath],
1316 [isinf], [],
1417 [float f; isinf(f);])
1518 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
16 AC_DEFINE([HAVE_ISINF_IN_CMATH],1,[Set to 1 if the isinf function is found in ])
19 AC_DEFINE([HAVE_ISINF_IN_CMATH], [1],
20 [Set to 1 if the isinf function is found in ])
1721 fi
1822
1923 AC_SINGLE_CXX_CHECK([ac_cv_func_std_isinf_in_cmath],
2024 [std::isinf], [],
2125 [float f; std::isinf(f);])
2226 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
23 AC_DEFINE([HAVE_STD_ISINF_IN_CMATH],1,[Set to 1 if the std::isinf function is found in ])
27 AC_DEFINE([HAVE_STD_ISINF_IN_CMATH], [1],
28 [Set to 1 if the std::isinf function is found in ])
2429 fi
2530
2631 AC_SINGLE_CXX_CHECK([ac_cv_func_finite_in_ieeefp_h],
2732 [finite], [],
2833 [float f; finite(f);])
2934 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
30 AC_DEFINE([HAVE_FINITE_IN_IEEEFP_H],1,[Set to 1 if the finite function is found in ])
35 AC_DEFINE([HAVE_FINITE_IN_IEEEFP_H], [1],
36 [Set to 1 if the finite function is found in ])
3137 fi
3238
3339 ])
1989619896 fi
1989719897
1989819898
19899
1989919900 { echo "$as_me:$LINENO: checking for isinf in " >&5
1990019901 echo $ECHO_N "checking for isinf in ... $ECHO_C" >&6; }
1990119902 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then