1 dnl CLAWS_CHECK_TYPE(TYPE, DEFAULT [, INCLUDES, COMMENT])
3 dnl Like AC_CHECK_TYPE, but in addition to `sys/types.h', `stdlib.h' and
4 dnl `stddef.h' checks files included by INCLUDES, which should be a
5 dnl series of #include statements. If TYPE is not defined, define it
8 AC_DEFUN([CLAWS_CHECK_TYPE],
9 [AC_REQUIRE([AC_HEADER_STDC])dnl
10 AC_MSG_CHECKING(for $1)
11 AC_CACHE_VAL(claws_cv_type_$1,
13 #include <sys/types.h>
22 ], claws_cv_type_$1=yes, claws_cv_type_$1=no)])dnl
23 AC_MSG_RESULT($claws_cv_type_$1)
24 if test $claws_cv_type_$1 = no; then