> Maybe it is a problem with changequote being used inside an argument to > a macro. Does it work OK when you remove the changequote lines? > > if test "$ac_cv_have_C__func__" != 'yes' ; then > AC_CACHE_CHECK(for C compiler __func__ support, ac_cv_have_C__func__, > [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], > << > const char *func=__func__; > return (func != 0 ? 0 : 1); > >> ]])], > [ac_cv_have_C__func__='yes'], > [ac_cv_have_C__func__='no']])]) > > if test "$ac_cv_have_C__func__" = 'yes' ; then > AC_DEFINE(HAS_C__func__,1,Define if C compiler supports __func__) > fi > fi That should be: if test "$ac_cv_have_C__func__" != 'yes' ; then AC_CACHE_CHECK(for C compiler __func__ support, ac_cv_have_C__func__, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[const char *func=__func__; return (func != 0 ? 0 : 1); ]])], [ac_cv_have_C__func__='yes'], [ac_cv_have_C__func__='no']])]) if test "$ac_cv_have_C__func__" = 'yes' ; then AC_DEFINE(HAS_C__func__,1,Define if C compiler supports __func__) fi fi