diff options
author | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-27 19:28:27 +0000 |
---|---|---|
committer | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-27 19:28:27 +0000 |
commit | 41be48ee15bc10211c181a185d45a2004ca4d884 (patch) | |
tree | 1701626fa46fe2770568d83f7bc72e378283a7e2 /configure | |
parent | f85aaad77db8ba5eaebccdb2187dd76662c86e4b (diff) |
configure: fail if invoked with -param=value (instead of "-param value")
(Patch by Adrien Nader!)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13842 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -83,6 +83,10 @@ exec 3>&1 # Parse command-line arguments +if echo "$configure_options" | grep -q -e '--\?[a-zA-Z0-9-]\+='; then + err "Arguments to this script look like '-prefix /foo/bar', not '-prefix=/foo/bar' (note the '=')." +fi + while : ; do case "$1" in "") break;; |