com php-src: Fail hard if sed isn't found: win32/build/confutils.js

From: Date: Tue, 11 Apr 2017 09:40:23 +0000
Subject: com php-src: Fail hard if sed isn't found: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-97549@lists.php.net to get a copy of this message
Commit: fa7bd5eabf902b2e0c4d8c28d6d4eebb0ebcc06f Author: Anatol Belski <ab@php.net> 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) {

« previous php.cvs (#97549) next »