Menu

#14 Abort configure if --with specified language not found

None
closed
nobody
None
5
2022-01-28
2003-02-11
F. Postma
No

It would be usefull if configure would abort when a
langauge is specified using --with-java for example but
not enough information is found. (java needs three
options to work fully for example)

Bit annoying to find out it cheerfully ignored a language
after compiling/testing.

Discussion

  • Olly Betts

    Olly Betts - 2022-01-28
    • status: open --> closed
    • Group: -->
     
  • Olly Betts

    Olly Betts - 2022-01-28

    It would arguably be nicer if it did, but it only affects the test-suite not what target languages are supported by the built swig, and configure does at least now clearly report which languages were found at the end of the run, e.g.:

    [...]

    configure: creating ./config.status
    
    The SWIG test-suite and examples are configured for the following languages:
    csharp go java javascript lua perl5 php python r ruby tcl 
    

    Given nobody's implemented the "abort" part in nearly 19 years, I think that summary is probably good enough and I'm going to close this now. If anyone wants to work on it, please submit a pull request at https://github.com/swig/swig

     

Log in to post a comment.