httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@apache.org>
Subject RE: [PATCH] make apxs -q work again
Date Wed, 07 Aug 2002 15:44:08 GMT
> My concern with the patch, is how this will work on other make systems.
> Yesterday, `apxs -q CC` resolved to 'gcc', today it resolves to 'gcc\n'.
> I would have assumed that any standard make would see the \n (remember
> that it is expanded to a newline) without the continuation char, and
> interpret it as:

    From IEEE 1003.1, 2.6.3:

        The shell shall expand the command substitution by [..]
        removing sequences of one or more <newline>s at the end
        of the substitution.

    Backticks in make are directly executed by the shell, so that
    the above paragraph applies at well.

    Note that some tools such as sed and tr have problems with
    missing newlines (on some platforms).  I suppose that this
    was the problem you were running into previously.

    - Sascha


Mime
View raw message