summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-03-19 13:58:05 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-03-19 13:58:05 +0100
commitb7397dc2aa1a93c4baaa624929211a917181db9f (patch)
tree50b798ec782d7fa77bcfba728655d774353a0ae1 /configure.ac
parentfb86625be2f4f11bf856b3ac78432e5f0710be87 (diff)
Recent version of libewf have removed LIBEWF_HANDLE type, use libewf_handle_t is available
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 44cad85..0147beb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -633,6 +633,10 @@ if test -z "${use_ewf}"; then
if test "${ac_cv_c_libewf_get_media_size_have_two_arguments}" != "no"; then
AC_DEFINE([LIBEWF_GET_MEDIA_SIZE_HAVE_TWO_ARGUMENTS], 1, [Define if libewf_get_media_size takes two parameters.])
fi
+ AC_CHECK_TYPE(
+ [libewf_handle_t],
+ [AC_DEFINE( [HAVE_LIBEWF_HANDLE_T], [1], [Define to 1 if libewf_handle_t is available])],,
+ [#include <libewf.h>])
],[
AC_MSG_WARN(No ewf library detected)
],[])