Commit 25687ddd71885c1b0a74d3f3f4e011fadbfd40e0

Authored by Jay Berkenbilt
1 parent e19eb579

Pass additional arguments from Windows config wrappers

config-mingw32
1 1 #!/bin/sh
2   -./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw
  2 +./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=32 --with-buildrules=mingw ${1+"$@"}
3 3 # As of autoconf 2.69 and gcc 4.6, autoconf's configure fails to
4 4 # recognize that defining _FILE_OFFSET_BITS works with mingw32.
5 5 # Append to qpdf-config.h rather than passing CPPFLAGS on the
... ...
config-mingw64
... ... @@ -7,4 +7,5 @@
7 7 RANLIB=x86_64-w64-mingw32-ranlib \
8 8 DLLTOOL=x86_64-w64-mingw32-dlltool \
9 9 STRIP=x86_64-w64-mingw32-strip \
10   - OBJDUMP=x86_64-w64-mingw32-objdump
  10 + OBJDUMP=x86_64-w64-mingw32-objdump \
  11 + ${1+"$@"}
... ...
config-msvc
... ... @@ -4,8 +4,9 @@ if ! test "$wordsize" = "32" -o "$wordsize" = "64"; then
4 4 echo "Usage: $0 {32,64}"
5 5 exit 2
6 6 fi
  7 +shift
7 8 objdump=
8 9 if test "$wordsize" = "64"; then
9 10 objdump=OBJDUMP=x86_64-w64-mingw32-objdump
10 11 fi
11   -CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump
  12 +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+"$@"}
... ...