This does not help you right now, but Dale Visser posted a patch to autoconf a few months ago that would solve your problem correctly. His patch adds the ability to check if a compiler supports a particular flag. My hope is that this ability will soon be added to autoconf. Clearly some people want it. --- David A.Wheeler _______________________________________________ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf
- how to detect gcc version in configure.ac Minxuan Zhuang
- Re: how to detect gcc version in configure.ac Eric Blake
- Re: how to detect gcc version in configure.ac David A. Wheeler
- Re: how to detect gcc version in configure.ac Mike Frysinger