On Monday 21 May 2012 05:37:37 Steffen Dettmer wrote: > for a project I needed to select C++98. When using g++, this is done > by adding compiler flag "-std=c++98". I liked to have a compiler check > whether this option works. check out this: http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html > I'm also not sure whether I should I set CXXFLAGS or CPPFLAGS? CPP is for the preprocessor while CXX is for the C++ compiler. i.e. you most likely want to just updated CXXFLAGS. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf