com php-src: Fail hard if sed isn't found: win32/build/confutils.js
[email protected] (Anatol Belski)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: fa7bd5eabf902b2e0c4d8c28d6d4eebb0ebcc06f Author: Anatol Belski <[email protected]> Tue, 11 Apr 2017 11:21:31 +0200 Parents: be540347e28d4f3d00749d87b591a1062cf4a470 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fa7bd5eabf902b2e0c4d8c28d6d4eebb0ebcc06f Log: Fail hard if sed isn't found now that the new SDK is required and supplies it. Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index d93cfe4..46c4090 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2880,7 +2880,9 @@ function toolset_setup_project_tools() } /* TODO throw error, ignore for now for BC. */ - PATH_PROG('sed'); + if (!PATH_PROG('sed')) { + ERROR('sed is required') + } RE2C = PATH_PROG('re2c'); if (RE2C) {