> [AC_REQUIRE([AC_LANG_COMPILER(C++)])
>
> is not good, you can't do that. Use AC_LANG_COMPILER_REQUIRE instead.
Ok, far better (I still get "CPP called before CC" messages, though).
But then this comment:
# Find a compiler for the current LANG. Note that because we might
# AC_REQUIRE `AC_LANG_COMPILER(C)' for instance, the latter must be
# AC_DEFUN'd, not just define'd.
define([AC_LANG_COMPILER],
[_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])
in aclang.m4 is sort of misleading, I think.
--
Martin Wilck <[EMAIL PROTECTED]>
Institute for Tropospheric Research, Permoserstr. 15, D-04318 Leipzig, Germany
Tel. +49-341-2352151 / Fax +49-341-2352361