Re: [EXIM] Testing version of Exim

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Vadim Vygonets
日付:  
To: Philip Hazel
CC: exim-users
題目: Re: [EXIM] Testing version of Exim
Quoth Philip Hazel on Thu, Nov 12, 1998:
> > PERL_CC    != perl5 -MConfig -e 'print $$Config{cc}'

>
> No idea! I copied exactly what Malcolm Beattie sent me, being scared to
> tamper with such deep Black Magic. :-)


Here are the versions of make I used:

BSD make:    make(1) on BSDI 4.0 (based on pmake), must be
        more or less the same as these of other
        4.4BSD-based systems.
gmake:        version 3.76.
Solaris make:    make(1) on Solaris 5.6 for i386, used in hope
        that it is the standard SysV make.


Here's what happens:

PERL_CC    != perl5 -MConfig -e 'print $$Config{cc}'
works with BSD make, doesn't work with gmake.  Solaris make
shouts at me.


PERL_CC    = $(shell perl5 -MConfig -e 'print $$Config{cc}')
works with gmake, doesn't work with BSD make.  Solaris make gives
empty variable (maybe because it thinks that shell... is just a
very long variable name).


PERL_CC    = `perl5 -MConfig -e 'print $$Config{cc}'`
works with BSD make, gmake, and Solaris make, but re-evaluates the
expression every time the variable is referenced, so the command
like:


all:
    echo ${PERL_CC}


gives you the following output:

echo `perl5 -MConfig -e 'print $Config{cc}'`
gcc

(the first line is the command itself, the second is the output).

And I don't even want to touch IRIX to check what happens there.

Vadik.

-- 
It was state of the art, he said.
The art in this case was probably pottery.
    -- Terry Pratchett and Neil Gaiman, "Good Omens"


--
*** Exim information can be found at http://www.exim.org/ ***