5 AC_DEFUN(AC_C_BACKSLASH_A,
7 AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
14 char buf['\a' == 'a' ? -1 : 1];
16 return buf[0] != "\a"[0];
19 ac_cv_c_backslash_a=yes,
20 ac_cv_c_backslash_a=no)])
21 if test $ac_cv_c_backslash_a = yes; then
22 AC_DEFINE(HAVE_C_BACKSLASH_A, 1,
23 [Define if backslash-a works in C strings.])