source: autobuild/scripts/fixconfigure @ 905

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

import auto build scripts

  • Property svn:executable set to *
File size: 446 bytes
RevLine 
[905]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
10# ignore icu checking
11sed -i -e 's#\(ADD_FLAG(.*icuuc.lib\)[^"'"'"']*#\1#' "$@" || die
Note: See TracBrowser for help on using the repository browser.