aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac14
1 files 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