X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=ac%2Fcheck-type.m4;h=90611451bd2320be7179377a0f18e207b643c891;hp=1a71b6afe0ccd90f1fc319f6213c7ab2e1b638a3;hb=ce2b9583a4669a67f0f3550258e263e3b40c5778;hpb=57f2011fd25a1a52c46f5857d7a253929a266e81 diff --git a/ac/check-type.m4 b/ac/check-type.m4 index 1a71b6afe..90611451b 100644 --- a/ac/check-type.m4 +++ b/ac/check-type.m4 @@ -1,4 +1,4 @@ -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 @@ -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 ])