how to test for library existence
Asked by
Marco Maggi
Ikarus should provide a no-brainer way to test if a library is installed.
At present the following (from a Unix prompt):
$ echo '(import (unexistent))' | ikarus
does not cause Ikarus to terminate with a non-zero exit status. The way
should be easy to use from a GNU Autoconf macro, so IMHO it must not
require the creation of a temporary file.
The machinery required to find a library is already there, so I would like
a direct feature function that can be invoked like:
$ echo '(display (library-available? (list-lib)))' | ikarus
and:
$ echo '(test-
or even:
$ ikarus --library-exists '(list-lib)'
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Derick Eddington
- Solved:
- Last query:
- Last reply:
To post a message you must log in.