X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Finspect.c;h=c51804dc66456c1064fcc18453f14a1043a92551;hp=f04668db23cd13e5d6f79cd23e3788290ec782a8;hb=41cd0e302d6554facd6b9f7daaa78304361efaef;hpb=5f26270c343bf543a7bf20cf3e6f182f6282f8ea diff --git a/src/inspect.c b/src/inspect.c index f04668d..c51804d 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -29,9 +29,7 @@ #include #include -#ifdef HAVE_PCRE #include -#endif #ifdef HAVE_HIVEX #include @@ -46,7 +44,7 @@ #include "guestfs-internal-actions.h" #include "guestfs_protocol.h" -#if defined(HAVE_PCRE) && defined(HAVE_HIVEX) +#if defined(HAVE_HIVEX) /* The main inspection code. */ char ** @@ -591,12 +589,12 @@ guestfs___search_for_root (guestfs_h *g, const char *root) return NULL; } -#else /* no PCRE or hivex at compile time */ +#else /* no hivex at compile time */ /* XXX These functions should be in an optgroup. */ #define NOT_IMPL(r) \ - error (g, _("inspection API not available since this version of libguestfs was compiled without PCRE or hivex libraries")); \ + error (g, _("inspection API not available since this version of libguestfs was compiled without the hivex library")); \ return r char ** @@ -726,7 +724,7 @@ guestfs__inspect_is_multipart (guestfs_h *g, const char *root) NOT_IMPL(-1); } -#endif /* no PCRE or hivex at compile time */ +#endif /* no hivex at compile time */ void guestfs___free_inspect_info (guestfs_h *g)