$NetBSD: patch-ac,v 1.2 2012/01/28 04:37:36 sbd Exp $ --- configure.orig 2005-07-31 22:23:59.000000000 +0000 +++ configure @@ -3157,7 +3157,8 @@ done -for ac_header in sys/bitypes.h sys/param.h sys/endian.h sys/wait.h machine/endian.h + +for ac_header in sys/bitypes.h sys/param.h sys/endian.h sys/wait.h machine/endian.h sys/xattr.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -3597,10 +3598,6 @@ cat >>conftest.$ac_ext <<_ACEOF #include -int -main () -{ - static void foo(void) __attribute__ ((noreturn)); static void @@ -3609,6 +3606,10 @@ foo(void) exit(1); } +int +main () +{ + ; return 0; }