Files
pkgsrc-ng/archivers/archangel/patches/patch-aclocal.m4
2013-09-26 17:14:40 +02:00

23 lines
489 B
Plaintext

$NetBSD: patch-aclocal.m4,v 1.1 2012/01/28 04:37:36 sbd Exp $
--- aclocal.m4.orig 2005-07-24 07:33:36.000000000 +0000
+++ aclocal.m4
@@ -13,8 +13,7 @@ AC_MSG_CHECKING(for __attribute__)
AC_CACHE_VAL(ac_cv___attribute__, [
AC_TRY_COMPILE([
#include <stdlib.h>
-],
-[
+
static void foo(void) __attribute__ ((noreturn));
static void
@@ -23,6 +22,7 @@ foo(void)
exit(1);
}
],
+[],
ac_cv___attribute__=yes,
ac_cv___attribute__=no)])
if test "$ac_cv___attribute__" = "yes"; then