summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_template_qualified_return_type.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_template_qualified_return_type.m4
parent386747c45473a6f4b7ca32a787c316d205705586 (diff)
downloadautoconf-archive-c6c19a2edcc7f206a1cfdf6d91e3d584f7705b9f.tar.gz
More renamings missed previously.
Diffstat (limited to 'm4/ax_cxx_template_qualified_return_type.m4')
-rw-r--r--m4/ax_cxx_template_qualified_return_type.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_cxx_template_qualified_return_type.m4 b/m4/ax_cxx_template_qualified_return_type.m4
index 1763996..e1faeed 100644
--- a/m4/ax_cxx_template_qualified_return_type.m4
+++ b/m4/ax_cxx_template_qualified_return_type.m4
@@ -22,8 +22,8 @@
AC_DEFUN([AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE],
[AC_CACHE_CHECK(whether the compiler supports template-qualified return types,
-ac_cv_cxx_template_qualified_return_type,
-[AC_REQUIRE([AC_CXX_TYPENAME])
+ax_cv_cxx_template_qualified_return_type,
+[AC_REQUIRE([AX_CXX_TYPENAME])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([
@@ -37,10 +37,10 @@ template<class X, class Y>
A<typename promote_trait<X,Y>::T> operator+ (const A<X>&, const A<Y>&)
{ return A<typename promote_trait<X,Y>::T>(); }
],[A<int> x; A<float> y; A<float> z = x + y; return 0;],
- ac_cv_cxx_template_qualified_return_type=yes, ac_cv_cxx_template_qualified_return_type=no)
+ ax_cv_cxx_template_qualified_return_type=yes, ax_cv_cxx_template_qualified_return_type=no)
AC_LANG_RESTORE
])
-if test "$ac_cv_cxx_template_qualified_return_type" = yes; then
+if test "$ax_cv_cxx_template_qualified_return_type" = yes; then
AC_DEFINE(HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE,,
[define if the compiler supports template-qualified return types])
fi