On Wed, Jan 2, 2013 at 8:34 AM, Jeffrey Walton <noloa...@gmail.com> wrote:
> On Mon, Dec 31, 2012 at 7:00 AM, Ben Laurie <b...@links.org> wrote:
>> On Mon, Dec 31, 2012 at 11:39 AM, Jeffrey Walton <noloa...@gmail.com> wrote:
>>> On Sun, Dec 30, 2012 at 3:20 PM,  <jb-open...@wisemo.com> wrote:
>>>> On 30-12-2012 21:01, Jeffrey Walton wrote:
>>>>>
>>>>> ....
>>>
>>> Configure should test `makeddepend`. If 'makedepend' succeeds, do
>>> nothing. If 'makedepend' fails, it should patch the resulting Makefile
>>> with "MAKEDEPEND=$(CC) -M' on Apple platforms.
>>>
>>> That's the behavior I am looking for.  and the Makefile.org are
>>> available online for inspection.
>>> http://cvs.openssl.org/fileview?f=openssl/Configure&v=1.621.2.37.2.32.2.11
>>> http://cvs.openssl.org/fileview?f=openssl/Makefile.org&v=1.295.2.10.2.11.2.3
>>
>> According to my reading of Configure (in 1.0.1 at least) it should
>> already change makedepend to $cc, which should be specified by the
>> platform. Not sure why it appears not to!
> I'm in a cross-compile environment. Perhaps its due to grepping for
> "^gcc", while OS X will have "llvm-gcc"?
>
> Its just speculation since I did not see that in 'config' and
> 'Configure' when I looked.

The relevant line is:

s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to