source: autobuild/scripts/fixconfigure

Last change on this file was 1184, checked in by moo, 22 months ago

remove VC compiler version check

  • Property svn:executable set to *
File size: 613 bytes
Line 
1#!/bin/sh
2
3. scripts/common
4
5[[ $# -lt 1 ]] && die "Usage: $0 <path/to/configure.js>"
6
7sed -i -e 's/"php[456]/"php" + PHP_VERSION + "/' "$@" || die
8sed -i -e "s#ERROR(.bison#// \\0/#" -e "s#ERROR(.flex#// \\0#" -e 's#\[\\\\\\\\\/\.]#[^a-zA-Z0-9_]#g' "$@" || die
9sed -i -e "s#ERROR(.No SAPI selected#// \\0/#" -e '/output_as_table.*sapi_enabled/d' "$@" || die
10sed -i -e "s#ERROR(\"Unsupported MS C++ Compiler#// \\0/#" "$@" || die
11# ignore icu checking
12sed -i -e 's#\(ADD_FLAG(.*icuuc.lib\)[^"'"'"']*#\1#' "$@" || die
13sed -i -e 's#if (!FSO.FileExists("README.#if (false \&\& !FSO.FileExists("README.#' "$@" || die
Note: See TracBrowser for help on using the repository browser.