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

Re: [Libguestfs] [PATCH-v3] blkid: start using libblkid directly instead



On 02/20/2012 04:41 PM, Richard W.M. Jones wrote:

> On Mon, Feb 20, 2012 at 09:40:53AM +0800, Wanlong Gao wrote:
>> +dnl libblkid (highly recommended)
>> +PKG_CHECK_MODULES([LIBBLKID], [blkid],
>> +        [AC_SUBST([LIBBLKID_CFLAGS])
>> +         AC_SUBST([LIBBLKID_LIBS])
>> +         AC_DEFINE([HAVE_LIBBLKID],[1],[libblkid found at compile time.])
>> +        ],
>> +        [AC_MSG_WARN([libblkid not found, some features will be disabled])])
>> +AM_CONDITIONAL([HAVE_LIBBLKID],[test "x$LIBBLKID_LIBS" != "x"])
> 
> This makes libblkid conditional, but the code below assumes <blkid.h>
> and the blkid_* calls are present.
> 
> I'll have to check what RHEL 5 can do ...


yes, if not, we should make some change. thanks Rich

-Wanlong

> 
> Rich.
> 



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