define(XLS_CHECK_DEFINE,
[echo checking for $1
AC_PROGRAM_EGREP(yes,
[#ifdef $1
  yes
#endif
], $2)
])dnl


syntax highlighted by Code2HTML, v. 0.9.1