summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2013-06-27 19:28:27 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2013-06-27 19:28:27 +0000
commit41be48ee15bc10211c181a185d45a2004ca4d884 (patch)
tree1701626fa46fe2770568d83f7bc72e378283a7e2 /configure
parentf85aaad77db8ba5eaebccdb2187dd76662c86e4b (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-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 48e218d77..b9f59de22 100755
--- a/configure
+++ b/configure
@@ -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;;