Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure script loops forever when unknown option is used #74

Closed
boegel opened this issue Oct 7, 2024 · 4 comments
Closed

configure script loops forever when unknown option is used #74

boegel opened this issue Oct 7, 2024 · 4 comments

Comments

@boegel
Copy link

boegel commented Oct 7, 2024

The configure script that comes with spaln (in the src directory) loops forever when an unknown option is used, for example:

$ cd spaln/src
$ ./configure --prefix /tmp

This command will never complete, since the script is stuck in the infinite while loop here:

while test $# -ge 1
do
case "$1" in
    ...
    esac
done

This is quite annoying, especially since there's no feedback whatsoever that an unknown option is used, and so you may be waiting minutes or even hours for the configure to finish whatever it's doing, before starting to try and figure out what's going on.

Most people think they know how to use a script named configure, since 99% of the time it's an Autotools configure script, which accepts --prefix as an option.

@boegel
Copy link
Author

boegel commented Oct 7, 2024

Other have hit this problem before, see for example #53 which mentions that the configure script is "stalled"

@boegel
Copy link
Author

boegel commented Oct 7, 2024

@ogotoh
Copy link
Owner

ogotoh commented Oct 16, 2024

Dear boegel,

Thank you very much for your suggestion. I have just uploaded the revised version, Ver.3.0.6b, which includes the modified 'configure' in addition to a few minor updates in the codes.

Osamu,

@boegel
Copy link
Author

boegel commented Oct 16, 2024

👍

@boegel boegel closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants