manpagez: man pages & more
info autoconf
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.10.6 Objective C++ Compiler Characteristics

Macro: AC_PROG_OBJCXX ([compiler-search-list]

Determine an Objective C++ compiler to use. If OBJCXX is not already set in the environment, check for Objective C++ compilers. Set output variable OBJCXX to the name of the compiler found.

This macro may, however, be invoked with an optional first argument which, if specified, must be a blank-separated list of Objective C++ compilers to search for. This just gives the user an opportunity to specify an alternative search list for the Objective C++ compiler. For example, if you didn’t like the default order, then you could invoke AC_PROG_OBJCXX like this:

AC_PROG_OBJCXX([gcc g++ objcc++ objcxx])

If using the GNU Objective C++ compiler, set shell variable GOBJCXX to ‘yes’. If output variable OBJCXXFLAGS was not already set, set it to ‘-g -O2’ for the GNU Objective C++ compiler (‘-O2’ on systems where gcc does not accept ‘-g’), or ‘-g’ for other compilers.

Macro: AC_PROG_OBJCXXCPP

Set output variable OBJCXXCPP to a command that runs the Objective C++ preprocessor. If ‘$OBJCXX -E’ doesn’t work, ‘/lib/cpp’ is used.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on April 26, 2012 using texi2html 5.0.

© manpagez.com 2000-2017
Individual documents may contain additional copyright information.