Hi again,
I found AC_LANG_WERROR which seems to do what I want.
I also found this discussion on how to revert AC_LANG_WERROR
http://lists.gnu.org/archive/html/autoconf/2007-04/msg00030.html
but guess that discussion died.
Cheers,
Peter
On 7/21/12 7:26 PM, Peter Johansson wrote:
Hi autoconfers,
In one of my projects, we noticed that some versions of g++ does not
recognize option '-pthread', but gives a warning
i686-apple-darwin8-g++-4.0.1: unrecognized option '-pthread'
Now I'd like to test this at configure time, so I wonder if there is a
good mechanism to test if compiler is complaining to stderr.
Or do I need to write a low-level macro myself for this?
Thank you.
Peter
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf
--
Peter Johansson
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf