Add support for non-gcc compilers to configure, Makefile etc
|Reported by:||SF/canavan||Owned by:||fingolfin|
Currently, configure fails for any compilers that don't support -dumpversion and adds numerous gcc-only Warning flags even if this check is circumvented. This patch adds some basic infrastructure to support non-gcc compilers and adds actual support for one, namely MipsPRO on IRIX.
Ticket imported from: #2838507. Ticket imported from: patches/1174.