diff --git a/config-mingw32 b/config-mingw32 index 3fabdb0..d128e3f 100755 --- a/config-mingw32 +++ b/config-mingw32 @@ -1,2 +1,13 @@ #!/bin/sh ./configure --disable-test-compare-images --enable-external-libs --with-windows-wordsize=32 --with-buildrules=mingw +# As of autoconf 2.69 and gcc 4.6, autoconf's configure fails to +# recognize that defining _FILE_OFFSET_BITS works with mingw32. +# Append to qpdf-config.h rather than passing CPPFLAGS on the +# commandline. This way we don't defeat the fact that test_large_file +# and other things that only use the public interface can be built +# without any special flags. +cat >> libqpdf/qpdf/qpdf-config.h <