[virt-tools-list] [libosinfo 1/2] Require and link against libiso9660

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Aug 11 14:17:35 UTC 2011


On Thu, Aug 11, 2011 at 11:43 AM, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Sat, Aug 06, 2011 at 07:01:59PM +0200, Zeeshan Ali (Khattak) wrote:
>> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
>>
>> ---
>>  configure.ac       |    5 +++++
>>  osinfo/Makefile.am |    1 +
>>  2 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index bf5681b..c0ad238 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -18,6 +18,11 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
>>  PKG_CHECK_MODULES([GOBJECT], [gobject-2.0])
>>  PKG_CHECK_MODULES([GIO], [gio-2.0])
>>  PKG_CHECK_MODULES([LIBXML], [libxml-2.0 >= 2.6.0])
>> +AC_CHECK_HEADER([cdio/iso9660.h],
>> +                [AC_CHECK_LIB([iso9660],
>> +                              [iso9660_open],
>> +                              [ISO9660_LIBS="-liso9660"])])
>> +AC_SUBST([ISO9660_LIBS])
>>
>>  GTK_DOC_CHECK([1.10],[--flavour no-tmpl])
>>
>> diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
>> index 5982923..d28d655 100644
>> --- a/osinfo/Makefile.am
>> +++ b/osinfo/Makefile.am
>> @@ -35,6 +35,7 @@ libosinfo_1_0_la_LDFLAGS = \
>>       $(LIBXML_LIBS) \
>>       $(GOBJECT_LIBS) \
>>       $(GIO_LIBS) \
>> +     $(ISO9660_LIBS) \
>>       $(VERSION_SCRIPT_FLAGS)$(LIBOSINFO_VERSION_FILE) \
>>          -version-info $(LIBOSINFO_VERSION_INFO) \
>>       $(NO_UNDEFINED_FLAGS)
>
> Does this library work on DVDs with their UDF filesystem?

   Since it works for 'Fedora-14-x86_64-DVD.iso' I would say, yes.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the virt-tools-list mailing list