aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-04-29 07:58:57 +0000
committerWerner Koch <[email protected]>2013-04-29 07:58:57 +0000
commit867b950b9306904a0ff522d0ef4a43789393cfc4 (patch)
tree7934a87b0fe0b866d2237caeedf2253775191550
parentExplain the GPGME_DEBUG variable. (diff)
downloadgpgme-867b950b9306904a0ff522d0ef4a43789393cfc4.tar.gz
gpgme-867b950b9306904a0ff522d0ef4a43789393cfc4.zip
Fix for i686-w64-mingw32.
* configure.ac (NEED__FILE_OFFSET_BITS): Do not define under Windows.
-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