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_OBJClike this:AC_PROG_OBJC([gcc objcc objc])
If using the GNU Objective C compiler, set shell variable
GOBJCto `yes'. If output variable
OBJCFLAGSwas 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.