Node:C++ Compiler, Next:Fortran 77 Compiler, Previous:C Compiler, Up:Compilers and Preprocessors
| AC_PROG_CXX ([compiler-search-list]) | Macro | 
| Determine a C++ compiler to use.  Check if the environment variable CXXorCCC(in that order) is set; if so, then set output
variableCXXto its value.Otherwise, if the macro is invoked without an argument, then search for
a C++ compiler under the likely names (first  This macro may, however, be invoked with an optional first argument
which, if specified, must be a space separated list of C++ compilers to
search for.  This just gives the user an opportunity to specify an
alternative search list for the C++ compiler.  For example, if you
didn't like the default order, then you could invoke  AC_PROG_CXX(cl KCC CC cxx cc++ xlC aCC c++ g++ egcs gcc) If using the GNU C++ compiler, set shell variable  | 
| AC_PROG_CXXCPP | Macro | 
| Set output variable CXXCPPto a command that runs the C++
preprocessor.  If$CXX -Edoesn't work,/lib/cppis used. 
It is only portable to runCXXCPPon files with a.c,.C, or.ccextension.If the current language is C++ (see Language Choice), many of the
specific test macros use the value of  Some preprocessors don't indicate missing include files by the error status. For such preprocessors an internal variable is set that causes other macros to check the standard error from the preprocessor and consider the test failed if any warnings have been reported. However, it is not known whether such broken preprocessors exist for C++. |