autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange warnings from AC_REQUIRE


From: Akim Demaille
Subject: Re: Strange warnings from AC_REQUIRE
Date: 20 Oct 2000 09:52:18 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "Martin" == Martin Wilck <address@hidden> writes:

>> [AC_REQUIRE([AC_LANG_COMPILER(C++)])
>> 
>> is not good, you can't do that.  Use AC_LANG_COMPILER_REQUIRE
>> instead.

Martin> Ok, far better (I still get "CPP called before CC" messages,
Martin> though).  But then this comment:

Martin> # Find a compiler for the current LANG.  Note that because we
Martin> might # AC_REQUIRE `AC_LANG_COMPILER(C)' for instance, the
Martin> latter must be # AC_DEFUN'd, not just define'd.
Martin> define([AC_LANG_COMPILER], [_AC_LANG_DISPATCH([$0], _AC_LANG,
Martin> $@)])

Martin> in aclang.m4 is sort of misleading, I think.

indeed, I'll fix that, thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]