>>>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:

Ralf> I think excluding /lib/cpp from the list to check for CPP for
Ralf> cross compiliation would be a feasable way.

OK, I can do that.

>> Look for $target dependent tools?

Ooops, sorry s/target/host/.

Ralf> Are you thinking about something in analogy to AC_CHECK_TOOL
Ralf> ($target-cpp or similar?). At least the gnu toolchain does not
Ralf> have such a beast, but it might be worth checking for in the
Ralf> cross compilation case.

Ralf> BTW: Why isn't 'cpp' on this list?

Yo que se :)

We inherited this from the past.


From

    # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"

To

    # Double quotes because CPP needs to be expanded
    set X "$CC -E" "$CC -E -traditional-cpp" "$ac_tool_prefixcpp"
    test $cross_compiling || set "$@" /lib/cpp
    shift
    for CPP

?

Reply via email to