2009-10-20 01:46:56 +00:00
|
|
|
#!/bin/sh
|
2013-01-24 16:18:28 +00:00
|
|
|
./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw
|
2012-06-26 20:52:30 +00:00
|
|
|
# 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 <<EOF
|
|
|
|
#ifndef _FILE_OFFSET_BITS
|
|
|
|
# define _FILE_OFFSET_BITS 64
|
|
|
|
#endif
|
|
|
|
EOF
|