autoconf: Objective C Compiler
1
1 5.10.5 Objective C Compiler Characteristics
1 -------------------------------------------
1
1 -- Macro: AC_PROG_OBJC ([COMPILER-SEARCH-LIST])
1 Determine an Objective C compiler to use. If `OBJC' is not already
1 set in the environment, check for Objective C compilers. Set
1 output variable `OBJC' to the name of the compiler found.
1
1 This macro may, however, be invoked with an optional first argument
1 which, if specified, must be a blank-separated list of Objective C
1 compilers to search for. This just gives the user an opportunity
1 to specify an alternative search list for the Objective C
1 compiler. For example, if you didn't like the default order, then
1 you could invoke `AC_PROG_OBJC' like this:
1
1 AC_PROG_OBJC([gcc objcc objc])
1
1 If using the GNU Objective C compiler, set shell variable `GOBJC'
1 to `yes'. If output variable `OBJCFLAGS' was not already set, set
1 it to `-g -O2' for the GNU Objective C compiler (`-O2' on systems
1 where `gcc' does not accept `-g'), or `-g' for other compilers.
1
1 -- Macro: AC_PROG_OBJCPP
1 Set output variable `OBJCPP' to a command that runs the Objective C
1 preprocessor. If `$OBJC -E' doesn't work, `/lib/cpp' is used.
1