Original bug ID: 6628 Reporter: michipili Assigned to:@damiendoligez Status: closed (set by @xavierleroy on 2016-12-07T10:49:07Z) Resolution: fixed Priority: normal Severity: minor Platform: all OS: all OS Version: all Version: 4.02.1 Fixed in version: 4.02.2+dev / +rc1 Category: misc Has duplicate:#6867
The configuration script says
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 '=')."
This is broken because it matches legitimate arguments, like:
I also propose another error message, as the previous is not very clear. Until I read the source, I understood it as if it referred to the actual arguments of the script. A more correct statement could have been “This script expects arguments looking like '-prefix /foo/bar', not '-prefix=/foo/bar' (note the '=').”.
The reason I closed this issue is because of this commit by Damien: 48871e6
This change is not part of any released OCaml version so far (it should be part of the next release), so when you say "stroke two new users" I'm not sure whether you mean that even this refined test is not correct, or just that they were hit with the same old bug with the released version.
I tested that the configure command you provide works fine under not-yet-released versions (for example the stable 4.02 branch). If you are not sure whether the above patch fixes the issues that those two new users have, yet don't want to setup an experimental version just for this, I would be glad to test proposed inputs and report whether they are still problematic.