summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:23:02 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:23:02 +0100
commitb37bae8b199b58ed6cbd07c07250665be82a8fb6 (patch)
tree5ba1a89592fd101c63b629dd71a367fa8bd20c56 /configure.ac
parentc06ebfc5f2e463ac815647c7afb83e122efd7d4d (diff)
configure.ac: libewf checks HAVE_OFF64_T, so defines it
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 95ccbe6..b851319 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,6 +360,11 @@ AC_CHECK_HEADERS([ext2fs/ext2fs.h],,
#endif
]])
+# libewf checks HAVE_OFF64_T, so defines it
+AC_CHECK_TYPE(
+ [off64_t],
+ [AC_DEFINE( [HAVE_OFF64_T], [1], [Define to 1 if off64_t is available])],
+ [AC_DEFINE( [HAVE_OFF64_T], [0], [Define to 1 if off64_t isn't available])])
AC_CHECK_HEADERS([libewf.h],,
use_ewf=no