diff options
| author | Andrew Dunstan | 2011-12-10 20:35:41 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2011-12-10 20:35:41 +0000 |
| commit | 1a0c76c32fe470142d3663dd84ac960d75a4e8db (patch) | |
| tree | d783c0f17e41b6a627b3750e92bb60b301215a8b /configure.in | |
| parent | ab7d4213f93f0ef0e45b9b9343725974f196b091 (diff) | |
Enable compiling with the mingw-w64 32 bit compiler.
Original patch by Lars Kanis, reviewed by Nishiyama Tomoaki and tweaked some by me.
This compiler, or at least the latest version of it, is currently broken, and
only passes the regression tests if built with -O0.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5591b93e758..9cf084d4b67 100644 --- a/configure.in +++ b/configure.in @@ -1101,6 +1101,9 @@ if test "$with_ossp_uuid" = yes ; then [AC_MSG_ERROR([header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID])])]) fi +if test "$PORTNAME" = "win32" ; then + AC_CHECK_HEADERS(crtdefs.h) +fi ## ## Types, structures, compiler characteristics @@ -1174,7 +1177,9 @@ fi # compiler characteristic, but you'd be wrong. We must check this before # probing existence of related functions such as fseeko, since the largefile # defines can affect what is generated for that. -AC_SYS_LARGEFILE +if test "$PORTNAME" != "win32"; then + AC_SYS_LARGEFILE +fi # Check for largefile support (must be after AC_SYS_LARGEFILE) AC_CHECK_SIZEOF([off_t]) |
