This commit was manufactured by cvs2svn to create branch 'gtk2'.
[claws.git] / ac / check-type.m4
index 1a71b6afe0ccd90f1fc319f6213c7ab2e1b638a3..e65ea03b33371ffa02a27fef1f049079f96e5381 100644 (file)
@@ -1,11 +1,11 @@
-dnl SYLPHEED_CHECK_TYPE(TYPE, DEFAULT [, INCLUDES])
+dnl SYLPHEED_CHECK_TYPE(TYPE, DEFAULT [, INCLUDES, COMMENT])
 dnl
 dnl Like AC_CHECK_TYPE, but in addition to `sys/types.h', `stdlib.h' and
 dnl `stddef.h' checks files included by INCLUDES, which should be a
 dnl series of #include statements.  If TYPE is not defined, define it
 dnl to DEFAULT.
 dnl
-AC_DEFUN(SYLPHEED_CHECK_TYPE,
+AC_DEFUN([SYLPHEED_CHECK_TYPE],
 [AC_REQUIRE([AC_HEADER_STDC])dnl
 AC_MSG_CHECKING(for $1)
 AC_CACHE_VAL(sylpheed_cv_type_$1,
@@ -22,6 +22,6 @@ int a = sizeof($1);
 ], sylpheed_cv_type_$1=yes, sylpheed_cv_type_$1=no)])dnl
 AC_MSG_RESULT($sylpheed_cv_type_$1)
 if test $sylpheed_cv_type_$1 = no; then
-  AC_DEFINE($1, $2)
+  AC_DEFINE($1, $2, $4)
 fi
 ])