1 AC_DEFUN([OPENAFS_C_STRUCT_LABEL_CHECK],[
2 dnl Check to see if the compiler support labels in structs
3 AC_MSG_CHECKING(for label support in structs)
4 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
5 extern void osi_UFSOpen(void);
9 struct labeltest struct_labeltest = {
12 ]])],[AC_MSG_RESULT(yes)
13 AC_DEFINE(HAVE_STRUCT_LABEL_SUPPORT, 1,
14 [Define to 1 if your compiler supports labels in structs.])