configure doesn't handle --with-emacs properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
New
|
Undecided
|
Unassigned |
Bug Description
Running on cygwin under Win 11...
If I run:
./configure --with-emacs "/c/MyPrograms/
Then the lisp/Makefile sets:
EMACS_PROG =yes
Rather than the expected:
EMACS_
I also get error messages of form:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /c/MyPrograms/
and:
checking checking emacs-type of yes... yes: unknown option -- no-site-file
Try 'yes --help' for more information.
checking checking emacs-version of yes... yes: unknown option -- no-site-file
Try 'yes --help' for more information.
./configure: line 2500: test: -lt: unary operator expected
checking otherdirs... yes: unknown option -- no-site-file
Try 'yes --help' for more information.
So there seems to be something wrong with the parsing/script logic here...