>>>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> 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 :(

Reply via email to