Created
July 24, 2017 21:25
-
-
Save KalleZ/60a1bbecb5b4b0fcd9d7b031e609ad8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
win32/build/confutils.js | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) | |
diff --git a/win32/build/confutils.js b/win32/build/confutils.js | |
index 0c88d13..207190c 100644 | |
--- a/win32/build/confutils.js | |
+++ b/win32/build/confutils.js | |
@@ -405,12 +405,12 @@ function conf_process_args() | |
} | |
} | |
if (!found) { | |
- INVALID_CONFIG_ARGS[INVALID_CONFIG_ARGS.length] = argname; | |
- | |
- /* | |
- STDERR.WriteLine("Unknown option " + argname + "; please try configure.js --help for a list of valid options"); | |
- WScript.Quit(2); | |
- */ | |
+ if (PHP_SNAPSHOT_BUILD != 'no') { | |
+ STDERR.WriteLine("Unknown option " + argname + "; please try configure.js --help for a list of valid options"); | |
+ WScript.Quit(2); | |
+ } else { | |
+ INVALID_CONFIG_ARGS[INVALID_CONFIG_ARGS.length] = argname; | |
+ } | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment