>>>>> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes:

Morten> The particular challenge I just bumped into is how to let
Morten> Autoconf configure know about a "self-made compiler", in the
Morten> sense that I have written a wrapper script around the MSVC++
Morten> cl.exe compiler (to let it behave properly when run from the
Morten> makefiles generated by Automake).

Why don't you

configure.in:
        ...
        : ${CC-my_super_script_CC}
        AC_PROG_CC

?

or
        if under-ms; then
          : ${CC-my_super_script_CC}
        fi
        AC_PROG_CC



Morten>         1) notify in the INSTALL file about needing to pass on
Morten> CC=[path/wrapperscript] when building with MSVC++. Simple
Morten> enough, but it doesn't seem like good policy to me to "push
Morten> complexity" on to the user.

Sooner or later, we will have such scripts.  We already know we won't
be able to have all the compilers agree on the extension of Fortran
and C++ files.

Morten>         2) lobby to get my MSVC++ cl.exe wrapper script
Morten> shipped as a standard part of either the Autoconf or the
Morten> Automake distribution (and add the name of it to the list of
Morten> compilers AC_PROG_CC looks for).

Yes!

        Akim

Reply via email to