4 AC_DEFUN(AC_CHECK_SYMBOL, [dnl
5 AC_MSG_CHECKING(for $1)
6 AC_CACHE_VAL(ac_cv_check_symbol_$1, [dnl
9 extern char *$1[]; puts(*$1);,
11 ac_cv_check_symbol_$1=yes, ac_cv_check_symbol_$1=no)])
12 if test "$ac_cv_check_symbol_$1" = yes; then
14 ac_tr_symbol=`echo $1 | tr '[a-z]' '[A-Z]'`
16 AC_DEFINE_UNQUOTED(HAVE_${ac_tr_symbol})
18 AC_MSG_RESULT($ac_cv_check_symbol_$1)])dnl