Make sure we test the right variable for the AC_DEFINE
[oota-llvm.git] / autoconf / m4 / func_isinf.m4
index 1286a7a023638da4419d4045c1916516c5fb2c40..c936bf920d027d7ae6082d4d5f5d3c4e8a9f1b80 100644 (file)
@@ -27,7 +27,7 @@ fi
 AC_SINGLE_CXX_CHECK([ac_cv_func_finite_in_ieeefp_h],
                     [finite], [<ieeefp.h>],
                     [float f; finite(f);])
-if test "$ac_cv_func_finite_in_ieefp_h" = "yes" ; then
+if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
   AC_DEFINE([HAVE_FINITE_IN_IEEEFP_H],1,[Set to 1 if the finite function is found in <ieeefp.h>])
 fi