[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange warnings from AC_REQUIRE
From: |
Martin Wilck |
Subject: |
Re: Strange warnings from AC_REQUIRE |
Date: |
Thu, 19 Oct 2000 19:35:01 +0200 (CEST) |
> [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 <address@hidden>
Institute for Tropospheric Research, Permoserstr. 15, D-04318 Leipzig, Germany
Tel. +49-341-2352151 / Fax +49-341-2352361