Re: ASDF and Allegro libs

Robert Goldman <[email protected]> Mon, 16 Apr 2007 17:06:42 -0500
Newsgroups gmane.lisp.cclan.general,gmane.lisp.allegro
Message-ID <[email protected]>
Gary King wrote:
> Hi Nick,
> 
> (I've forwarded this on to the CCLAN list too)
> 
> Off hand, I don't know of any other solution. One thing that comes to  
> mind is to create a system search plug in (I forgot what ASDF calls  
> them) so that a clause like
> 
> :depends-on (:acache :aserve ...)
> 
> would cause ASDF to issue the require command. If you're at all  
> interested in this solution, I'd be happy to make it walk and talk  
> like a duck.

I have done this for Allegro, and I made my own component type that was 
loaded by require.  I don't really think overloading depends-on is the 
right thing here, since it makes the reader guess how it will be 
interpreted.  I think it's better for the reader to look at a system def 
and see at a glance what will be loaded using require and what will be 
loaded using asdf...

Best,
R

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/