This sounds nifty. However, I am going to refrain from adding peculiarities such as this, which IMO can be solved using a combination of Unix shell text-processing tools.
Thanks!
udis86 uses libtool to build the library, so I suspect that this is taken care of, if it is indeed necessary. You can however force this flag using the CFLAGS argument to the configure scripts.
See ./configure --help
Thanks!