diff options
author | Chris Wilson <chris+github@qwirx.com> | 2016-09-10 20:54:50 +0100 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2016-09-10 20:54:50 +0100 |
commit | 2f1ddd1ee99f63ce05e3b3573e9a4dbdbbb02436 (patch) | |
tree | db40d103ecc2a75d80e33380bcfbcbac29ceb6da /infrastructure/mingw/configure.sh | |
parent | 26ecf3418e7f0e040b6cd577ea14f56edb55eeae (diff) |
Remove old hard-coded MSVC and MinGW configs.
Should be replaced by CMake now.
Diffstat (limited to 'infrastructure/mingw/configure.sh')
-rwxr-xr-x | infrastructure/mingw/configure.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh deleted file mode 100755 index 98c0cb49..00000000 --- a/infrastructure/mingw/configure.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -source `dirname $0`/environment.sh - -if [ ! -r "$DEP_PATH/lib/libssl.a" ]; then - echo "Error: install OpenSSL as instructed by" \ - "docs/backup/win32_build_on_cygwin_using_mingw.txt" >&2 - exit 2 -fi - -if [ ! -r "$DEP_PATH/lib/libpcreposix.a" \ - -o ! -r "$DEP_PATH/lib/libpcre.a" \ - -o ! -r "$DEP_PATH/include/pcreposix.h" ]; then - echo "Error: install PCRE as instructed by" \ - "docs/backup/win32_build_on_cygwin_using_mingw.txt" >&2 - exit 2 -fi - -LIBZ_PATH="${DEP_PATH}/sys-root/mingw/lib" - -if [ ! -r "$LIBZ_PATH/libz.dll.a" ]; then - echo "Error: upgrade your Cygwin mingw-zlib-devel package" >&2 - exit 2 -fi - -if [ ! -x "configure" ]; then - if ! ./bootstrap; then - echo "Error: bootstrap failed, aborting." >&2 - exit 1 - fi -fi - -if ! ./configure "$@" --host=$target \ - --with-ssl-headers="${DEP_PATH}/include" \ - --with-ssl-lib="${DEP_PATH}/lib" \ - CFLAGS="-mthreads" \ - CXXFLAGS="-mthreads" \ - LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH}" \ - LIBS="-lws2_32 -lgdi32" -then - echo "Error: configure failed, aborting." >&2 - exit 1 -fi - -exit 0 |