automake: C++ Support

1 
1 8.9 C++ Support
1 ===============
1 
1 Automake includes full support for C++.
1 
1    Any package including C++ code must define the output variable ‘CXX’
1 in ‘configure.ac’; the simplest way to do this is to use the
11 ‘AC_PROG_CXX’ macro (⇒Particular Program Checks
 (autoconf)Particular Programs.).
1 
1    A few additional variables are defined when a C++ source file is
1 seen:
1 
1 ‘CXX’
1      The name of the C++ compiler.
1 
1 ‘CXXFLAGS’
1      Any flags to pass to the C++ compiler.
1 
1 ‘AM_CXXFLAGS’
1      The maintainer’s variant of ‘CXXFLAGS’.
1 
1 ‘CXXCOMPILE’
1      The command used to actually compile a C++ source file.  The file
1      name is appended to form the complete command line.
1 
1 ‘CXXLINK’
1      The command used to actually link a C++ program.
1