summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_enum_computations_with_cast.m4
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2009-08-10 20:11:11 +0100
committerReuben Thomas <rrt@sc3d.org>2009-08-10 20:11:11 +0100
commitc6c19a2edcc7f206a1cfdf6d91e3d584f7705b9f (patch)
tree90269678bc2a42a9492c62e07dbe08ecc10835a3 /m4/ax_cxx_enum_computations_with_cast.m4
parent386747c45473a6f4b7ca32a787c316d205705586 (diff)
downloadautoconf-archive-c6c19a2edcc7f206a1cfdf6d91e3d584f7705b9f.tar.gz
More renamings missed previously.
Diffstat (limited to 'm4/ax_cxx_enum_computations_with_cast.m4')
-rw-r--r--m4/ax_cxx_enum_computations_with_cast.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_cxx_enum_computations_with_cast.m4 b/m4/ax_cxx_enum_computations_with_cast.m4
index bfc0597..c6e2053 100644
--- a/m4/ax_cxx_enum_computations_with_cast.m4
+++ b/m4/ax_cxx_enum_computations_with_cast.m4
@@ -22,7 +22,7 @@
AC_DEFUN([AX_CXX_ENUM_COMPUTATIONS_WITH_CAST],
[AC_CACHE_CHECK(whether the compiler handles (int) casts in enum computations,
-ac_cv_cxx_enum_computations_with_cast,
+ax_cv_cxx_enum_computations_with_cast,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([
@@ -37,10 +37,10 @@ template<class T1, class T2> struct Z
return (((int)Z<A,B>::a == 5)
&& ((int)Z<A,B>::b == 13)
&& ((int)Z<A,B>::c == 24)) ? 0 : 1;],
- ac_cv_cxx_enum_computations_with_cast=yes, ac_cv_cxx_enum_computations_with_cast=no)
+ ax_cv_cxx_enum_computations_with_cast=yes, ax_cv_cxx_enum_computations_with_cast=no)
AC_LANG_RESTORE
])
-if test "$ac_cv_cxx_enum_computations_with_cast" = yes; then
+if test "$ax_cv_cxx_enum_computations_with_cast" = yes; then
AC_DEFINE(HAVE_ENUM_COMPUTATIONS_WITH_CAST,,
[define if the compiler handles (int) casts in enum computations])
fi