lib: Make pcre, libmagic and hivex libraries optional.
authorRichard Jones <rjones@redhat.com>
Tue, 9 Nov 2010 15:59:40 +0000 (15:59 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Nov 2010 10:52:12 +0000 (10:52 +0000)
commita0b4caa0821b759de01361b7019c9c9c9607027d
tree7cfb0b243ddce5d19f518a8f040c28692907a0fa
parentec63875f9cd7277cf2d49827684bba936add7ce2
lib: Make pcre, libmagic and hivex libraries optional.

This change makes these libraries optional.  If they are not
available at compile time then certain core API features will
be disabled (see below).

This also changes PCRE detection to use pkg-config instead
of the ad hoc autoconf checks.

The large inspect.c file has been split out into separate
function-specific files.

  file-architecture: requires pcre & libmagic
  inspection: requires pcre & hivex
README
configure.ac
po/POTFILES.in
src/Makefile.am
src/filearch.c [new file with mode: 0644]
src/guestfs-internal.h
src/guestfs.c
src/inspect.c
src/listfs.c [new file with mode: 0644]