|
|
@@ -203,6 +203,11 @@ DPKG_CACHED_TRY_COMPILE(__attribute__((,,)),dpkg_cv_c_attribute_supported,,
|
|
|
AC_MSG_RESULT(yes)
|
|
|
AC_DEFINE(HAVE_GNUC25_CONST),
|
|
|
AC_MSG_RESULT(no))
|
|
|
+ DPKG_CACHED_TRY_COMPILE(__attribute__((unused)),dpkg_cv_c_attribute_unused,,
|
|
|
+ [extern int testfunction(int x) __attribute__((unused))],
|
|
|
+ AC_MSG_RESULT(yes)
|
|
|
+ AC_DEFINE(HAVE_GNUC25_UNUSED),
|
|
|
+ AC_MSG_RESULT(no))
|
|
|
DPKG_CACHED_TRY_COMPILE(__attribute__((format...)),dpkg_cv_attribute_format,,
|
|
|
[extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))],
|
|
|
AC_MSG_RESULT(yes)
|