[Gluster-devel] Fwd: pkg-config needed again by autogen.sh

Kaleb S. KEITHLEY kkeithle at redhat.com
Mon May 5 13:28:53 UTC 2014


On 05/04/2014 01:26 PM, Justin Clift wrote:
> Oops, reading the comment more properly, it was Kaleb with the good
> insight last time. ;)
>
> + Justin
>
>
> Begin forwarded message:
>> From: Justin Clift <justin at gluster.org>
>> Subject: [Gluster-devel] pkg-config needed again by autogen.sh
>> Date: 4 May 2014 6:22:48 PM GMT+01:00
>> To: Vijay Bellur <vbellur at redhat.com>
>> Cc: Gluster Devel <gluster-devel at gluster.org>
>>
>> Hi Vijay,
>>
>> Looks like we've started using PKG_CHECK_MODULES again in git master:
>>
>>   $ grep -ri "PKG_CHECK_MODULES" *
>>   api/examples/configure.ac:PKG_CHECK_MODULES([GLFS], [glusterfs-api >= 3])
>>   configure.ac:  PKG_CHECK_MODULES([GLIB], [glib-2.0],
>>   configure.ac:PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0],
>> ...
>> You had good insight about this last time:
>>
>>   https://bugzilla.redhat.com/show_bug.cgi?id=921817#c4
>>
>> What's the right way to proceed here? :)

I'm guessing this is related to the new MacOS X port.

As I recall, using the autoconf bits seemed to be intrinsically more 
portable than pkg-config bits, especially on other platforms like MacOS 
and Solaris.

Give http://review.gluster.org/7674 a try and see if that works better 
for you.

The glib2 autoconf bits look like they'll try to do something sane if 
there are no pkg-config bits. The zlib bits maybe not so much — that 
part might need more work.

-- 

Kaleb



More information about the Gluster-devel mailing list