Hey
Not to sound annoying, but are you maybe approaching the problem the
wrong way around? You use autoconf so you don't have to worry about
these problems. So i take it sage is c or c++ etc..
All you should really care about is making sure your environment has a
compatible c compiler or whats needed and autoconf does that for you,
with the prog_c macro then it inserts into the makefile etc. And you
just have to make sure your code is compatible. I would discourage
trying to over-think and separate what compilers, assemblers are being
used to give warnings, because thats not what you want. You want
autoconf to figure out your environment for you so you don't have to
have complicated makefiles and options to build your program.