[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01-ac-lang-compiler-require.patch (Was: CC/CPP/TRY_LINK)
From: |
Akim Demaille |
Subject: |
Re: 01-ac-lang-compiler-require.patch (Was: CC/CPP/TRY_LINK) |
Date: |
10 Nov 2000 12:14:27 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
| Hello, Ralf!
| > checking how to run the C preprocessor... cc -E
| > checking for sh-rtems-gcc... sh-rtems-gcc
|
| It's a separate problem that needs to be addressed before 2.50.
| AC_PROG_CPP should require AC_PROG_CC.
Right.
| Maybe we should go as far as to make both AC_PROG_CPP and AC_PROG_CC
| obsolete in favor of
|
| AC_LANG(C)
|
| By the way, shouldn't we change the syntax of AC_LANG to
|
| AC_LANG(C, COMPILERS, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
|
| and go ahead if no C compiler has been found but ACTION-IF-NOT-FOUND is
| given?
What advantage would that bring? How do you deal with the implicit
initial AC_LANG(C). AC_LANG is here to select the current language,
its semantics should not be overloaded IMHO.
| I really hate all those "exit 77" in the autoconf code - it's an attempt
| to accomodate the testsuite at the expence of the users.
Errr, what's the problem with exit 77 instead of exit 1?