diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-10-10 02:14:45 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-10-10 02:57:14 +0200 |
commit | 25687ddd71885c1b0a74d3f3f4e011fadbfd40e0 (patch) | |
tree | 16d3607a9e755bad1e10221a0960ea15b8f034ac | |
parent | e19eb579b221ade503d7d1ff0a6511d289863785 (diff) | |
download | qpdf-25687ddd71885c1b0a74d3f3f4e011fadbfd40e0.tar.zst |
Pass additional arguments from Windows config wrappers
-rwxr-xr-x | config-mingw32 | 2 | ||||
-rw-r--r-- | config-mingw64 | 3 | ||||
-rwxr-xr-x | config-msvc | 3 |
3 files changed, 5 insertions, 3 deletions
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+"$@"} |