Re: Fwd: pkg-config needed again by autogen.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
Subject:  pkg-config needed again by autogen.sh
Date: 4 May 2014 6:22:48 PM GMT+01:00
To: Vijay Bellur <vbellur@xxxxxxxxxx>
Cc: Gluster Devel <gluster-devel@xxxxxxxxxxx>

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
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux