Before I request this upstream, I'd like to know your opinion. autoconf has AC_PROG_CC_C89 and AC_PROG_CC_C99 macros to enable the particular standard C variants, causing '-std=c89' and '-std=c99' to be used. However, the programs using GNU extensions (-std=gnu89 and -std=gnu99) usually assume that they are the default and need no options. This is not true with clang which fails with those packages. Therefore, I'd like to request adding to autoconf macros AC_PROG_CC_GNU89 and AC_PROG_CC_GNU99 which would request a compiler supporting C89/C99 with GNU extensions. In case of clang, it would add an '-std=gnu89' or '-std=gnu99' option.
You can write your own and roll it in your software or ask for it to be added to 2.70 by going upstream. WE are not going to add it to our packages for sure.
(In reply to comment #1) ^^^ that
Thanks for your effort in reading the first sentence.