1
dnl Available from the GNU Autoconf Macro Archive at:
2
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_typename.html
4
AC_DEFUN([AC_CXX_TYPENAME],
5
[AC_CACHE_CHECK(whether the compiler recognizes typename,
9
AC_TRY_COMPILE([template<typename T>class X {public:X(){}};],
10
[X<float> z; return 0;],
11
ac_cv_cxx_typename=yes, ac_cv_cxx_typename=no)
14
if test "$ac_cv_cxx_typename" = yes; then
15
AC_DEFINE(HAVE_TYPENAME,,[define if the compiler recognizes typename])