ogotoh / spaln

Genome mapping and spliced alignment of cDNA or amino acid sequences
GNU General Public License v2.0
96 stars 16 forks source link

configure script loops forever when unknown option is used #74

Closed boegel closed 1 month ago

boegel commented 1 month ago

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 commented 1 month ago

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

boegel commented 1 month ago

Proposed change to fix this:

ogotoh commented 1 month ago

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 commented 1 month ago

:+1: