From 867b950b9306904a0ff522d0ef4a43789393cfc4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 29 Apr 2013 09:58:57 +0200 Subject: [PATCH] Fix for i686-w64-mingw32. * configure.ac (NEED__FILE_OFFSET_BITS): Do not define under Windows. --- configure.ac | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index f096aa9c..d7ce215f 100644 --- a/configure.ac +++ b/configure.ac @@ -270,12 +270,14 @@ AC_TYPE_UINTPTR_T # A simple compile time check in gpgme.h for GNU/Linux systems that # prevents a file offset bits mismatch between gpgme and the application. NEED__FILE_OFFSET_BITS=0 -case "$ac_cv_sys_file_offset_bits" in - "" | no | unknown) ;; - *) - NEED__FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits - ;; -esac +if test "$have_w32_system" != yes; then + case "$ac_cv_sys_file_offset_bits" in + "" | no | unknown) ;; + *) + NEED__FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits + ;; + esac +fi AC_SUBST(NEED__FILE_OFFSET_BITS) # Figure out platform dependent typedefs for gpgme.h