diff --git a/config-mingw32 b/config-mingw32 index 1591cdfb..365344b2 100755 --- a/config-mingw32 +++ b/config-mingw32 @@ -1,5 +1,5 @@ #!/bin/sh -./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw +./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw ${1+"$@"} # 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 diff --git a/config-mingw64 b/config-mingw64 index 68f304ec..64384803 100644 --- a/config-mingw64 +++ b/config-mingw64 @@ -7,4 +7,5 @@ RANLIB=x86_64-w64-mingw32-ranlib \ DLLTOOL=x86_64-w64-mingw32-dlltool \ STRIP=x86_64-w64-mingw32-strip \ - OBJDUMP=x86_64-w64-mingw32-objdump + OBJDUMP=x86_64-w64-mingw32-objdump \ + ${1+"$@"} diff --git a/config-msvc b/config-msvc index db0d9876..cb00cf63 100755 --- a/config-msvc +++ b/config-msvc @@ -4,8 +4,9 @@ if ! test "$wordsize" = "32" -o "$wordsize" = "64"; then echo "Usage: $0 {32,64}" exit 2 fi +shift objdump= if test "$wordsize" = "64"; then objdump=OBJDUMP=x86_64-w64-mingw32-objdump fi -CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump +CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump ${1+"$@"}