Bug#560105: autoconf: AC_TYPE_INT32_T generates broken test?

2009-12-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Wildenhues on 12/8/2009 11:25 PM: * Ralf Wildenhues wrote on Tue, Dec 08, 2009 at 11:59:26PM CET: * Pierre Ynard wrote on Tue, Dec 08, 2009 at 11:42:02PM CET: AC_TYPE_INT32_T, and also AC_TYPE_INT16_T and AC_TYPE_INT64_T, output C

Bug#560105: autoconf: AC_TYPE_INT32_T generates broken test?

2009-12-09 Thread Ralf Wildenhues
* Eric Blake wrote on Wed, Dec 09, 2009 at 01:38:00PM CET: According to Ralf Wildenhues on 12/8/2009 11:25 PM: * Ralf Wildenhues wrote on Tue, Dec 08, 2009 at 11:59:26PM CET: * Pierre Ynard wrote on Tue, Dec 08, 2009 at 11:42:02PM CET: AC_TYPE_INT32_T, and also AC_TYPE_INT16_T and

Bug#560105: autoconf: AC_TYPE_INT32_T generates broken test?

2009-12-08 Thread Pierre Ynard
Package: autoconf Version: 2.65-2 Severity: normal AC_TYPE_INT32_T, and also AC_TYPE_INT16_T and AC_TYPE_INT64_T, output C code that looks like: int main () { static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 0 ($ac_type) ($ac_type) 1 N) N) - 1) * 2 + 1))]; test_array

Bug#560105: autoconf: AC_TYPE_INT32_T generates broken test?

2009-12-08 Thread Ralf Wildenhues
tags upstream forwarded thanks [ This is http://bugs.debian.org/560105 ] Hello Pierre, thanks for the bug report. * Pierre Ynard wrote on Tue, Dec 08, 2009 at 11:42:02PM CET: AC_TYPE_INT32_T, and also AC_TYPE_INT16_T and AC_TYPE_INT64_T, output C code that looks like: static int test_array

Bug#560105: autoconf: AC_TYPE_INT32_T generates broken test?

2009-12-08 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Dec 08, 2009 at 11:59:26PM CET: * Pierre Ynard wrote on Tue, Dec 08, 2009 at 11:42:02PM CET: AC_TYPE_INT32_T, and also AC_TYPE_INT16_T and AC_TYPE_INT64_T, output C code that looks like: Patch below. OK to commit and add Pierre to THANKS? I think we need