committing update to configure

Joshua Root jmr at macports.org
Sun Nov 30 12:24:34 PST 2008


Ryan Schmidt wrote:
> On Nov 30, 2008, at 13:02, Jeremy Huddleston wrote:
> 
>> On Nov 29, 2008, at 20:06, Ryan Schmidt wrote:
>>
>>>> I decided to regen configure since it was made with an old version
>>>> of autoconf that doesn't detect X11 properly.
>>>
>>> You should definitely regenerate configure after modifying
>>> configure.ac. However changing the version of autoconf used should be
>>> discussed first. In what way does the version of autoconf we've been
>>> using not detect X11 properly, and what is the implication of that
>>> improper detection?
>>
>> The older version of autoconf searches for libX11.so to find X11, but
>> it should be searching for libX11.dylib :
>>
>> # With the configure generated by the newer autoconf:
>> ~/src/macports/trunk/base $ grep dylib configure
>>     for ac_extension in a so sl dylib la dll; do
>>   for ac_extension in a so sl dylib la dll; do
> 
> Doesn't that mean that MacPorts has thus never detected X11 correctly,
> and therefore that it really hasn't mattered?

It works on Darwin <= 9 because MP_CHECK_X11 in aclocal.m4 has some
special cases.

- Josh


More information about the macports-dev mailing list