Hi Ralf,
You can do it as follows:
echo "(handler-case (require :asdf) (require :hunchentoot) (error (c)
(sb-ext:exit :abort t)))" | sbcl
But as you can see, the use of "exit" makes it not portable.
To make it work for other lisps, try similar technique used in
"config.lisp".
- Qian
On 5/24/22 05:46, Ralf Hemmecke wrote:
For compiling hunchentoot into FRICASsys, of course, I must bring
configure.ac to tell me whether hunchentoot is available.
Unfortunately, I cannot simply say
echo "(require :asdf)(require :hunchentoot)" | sbcl
in order to figure out whether this works OK, since if it doesn't, then
I am stuck inside sbcl instead of just having a non-zero return value
from sbcl. Can someone help me with such a test.
Thank you
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/e816d6cf-89ae-869d-53fb-90e5c81e4f4e%40gmail.com.