rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

configure script doesn't honor some --without-foo flags #4034

Open rtoy opened 2 weeks ago

rtoy commented 2 weeks ago

Imported from SourceForge on 2024-07-09 10:42:02 Created by mjorlitzky on 2021-03-27 13:37:46 Original: https://sourceforge.net/p/maxima/bugs/3757


The ./configure script for Maxima announces the usual GNUisms:

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  ...
  --with-ccl=<prog>            Use OpenMCL executable <prog> (default ccl)
  --with-ccl64=<prog>          Use ccl64 executable <prog> (default dx86cl64)

Passing --without-foo doesn't work in some cases though. I noticed this with ccl64, where the resulting value of --with-ccl64=no is interpreted literally as the name of the compiler:

$ ./configure --without-ccl64
...
Summary:
Compiling an maxima image that uses "no"
Use --enable-ccl64-exec to build a standalone executable instead.
default lisp: ccl64
wish executable name: "wish"
rtoy commented 2 weeks ago

Imported from SourceForge on 2024-07-09 10:42:03 Created by robert_dodier on 2024-06-11 23:01:59 Original: https://sourceforge.net/p/maxima/bugs/3757/#357a