git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require PCRE library.
[libguestfs.git]
/
src
/
inspect.c
diff --git
a/src/inspect.c
b/src/inspect.c
index
f04668d
..
c51804d
100644
(file)
--- a/
src/inspect.c
+++ b/
src/inspect.c
@@
-29,9
+29,7
@@
#include <errno.h>
#include <endian.h>
#include <errno.h>
#include <endian.h>
-#ifdef HAVE_PCRE
#include <pcre.h>
#include <pcre.h>
-#endif
#ifdef HAVE_HIVEX
#include <hivex.h>
#ifdef HAVE_HIVEX
#include <hivex.h>
@@
-46,7
+44,7
@@
#include "guestfs-internal-actions.h"
#include "guestfs_protocol.h"
#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 **
/* The main inspection code. */
char **
@@
-591,12
+589,12
@@
guestfs___search_for_root (guestfs_h *g, const char *root)
return NULL;
}
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) \
/* 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 **
return r
char **
@@
-726,7
+724,7
@@
guestfs__inspect_is_multipart (guestfs_h *g, const char *root)
NOT_IMPL(-1);
}
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)
void
guestfs___free_inspect_info (guestfs_h *g)