diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-07-25 10:56:52 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-07-25 11:13:21 +0100 |
commit | 41cd0e302d6554facd6b9f7daaa78304361efaef (patch) | |
tree | 18c6361a122c7e707230d32574e94bf909822733 /src/inspect_fs_unix.c | |
parent | 316817b5ad98e294a9d2498a4403e82911a75b4a (diff) | |
download | libguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.tar.gz libguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.tar.xz libguestfs-41cd0e302d6554facd6b9f7daaa78304361efaef.zip |
Require PCRE library.
This library is widely available in distros.
Diffstat (limited to 'src/inspect_fs_unix.c')
-rw-r--r-- | src/inspect_fs_unix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inspect_fs_unix.c b/src/inspect_fs_unix.c index a34d691a..2ea29ad8 100644 --- a/src/inspect_fs_unix.c +++ b/src/inspect_fs_unix.c @@ -29,9 +29,7 @@ #include <errno.h> #include <endian.h> -#ifdef HAVE_PCRE #include <pcre.h> -#endif #ifdef HAVE_HIVEX #include <hivex.h> @@ -46,7 +44,7 @@ #include "guestfs-internal-actions.h" #include "guestfs_protocol.h" -#if defined(HAVE_PCRE) && defined(HAVE_HIVEX) +#if defined(HAVE_HIVEX) /* Compile all the regular expressions once when the shared library is * loaded. PCRE is thread safe so we're supposedly OK here if @@ -850,4 +848,4 @@ inspect_with_augeas (guestfs_h *g, struct inspect_fs *fs, const char *filename, return r; } -#endif /* defined(HAVE_PCRE) && defined(HAVE_HIVEX) */ +#endif /* defined(HAVE_HIVEX) */ |