> I have been working on a changes whereby an autoconf user can invoke a macro 
> like

AC_WARN_ADD([-Wextra])

> to add user-specified flags to the compiler/linker invocations.
> Ideally we would like 

AC_WARN_ADD([-Wunknown-warning-flag])

> to not add the offending unknown flag.

I like the goal. I wonder if "AC_WARN_ADD" is the right macro name.
After all, this could add any flag or flag sequence, as long as the compiler 
accepts it.

Perhaps another name like "AC_ADD_FLAG_IFVALID" or whatever
would be a better name. I don't care exactly what the *name* is, as long as 
it's clear.

--- David A. Wheeler

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to