[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /lib/cpp again
From: |
Akim Demaille |
Subject: |
Re: /lib/cpp again |
Date: |
05 Jul 2001 18:59:05 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
Akim> The problem is right here: for whatever reason (I'm tracking
Akim> now), the C preproc is looked for _before_ the C compiler.
Akim> AC_REQUIRE should guarantee it does not apply.
Akim> I don't know what's responsible for this, but that's the
Akim> culprit.
I have no idea how to solve this, but (it had to happen...) it's
because of Automake's redefinition of AC_PROG_CC. All the m4_require
mechanism must wrap the actual definition of the macro, and with:
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
# ----------------------------------------------
...
AC_PROVIDE_IFELSE([AC_PROG_][CC],
[AM_DEPENDENCIES(CC)],
[define([AC_PROG_][CC],
defn([AC_PROG_][CC])[AM_DEPENDENCIES(CC)])])dnl
you end up breaking the diversion mechanism :(