Re: Re: [Cclan-commits] CVS: asdf asdf.lisp,1.89,1.90

Christophe Rhodes <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Alan Shields <[email protected]> writes:

> On Wed, Dec 07, 2005 at 05:18:22PM +0000, Christophe Rhodes wrote:
>> > As for the *features* question...one of the reasons I push on
>> > :asdf-systemname is so there would be no conflict with some feature -
>> > the most commonly cited reason for not having this in *features*.
>> > Having to do #+asdf:parenscript would also be fine - I just didn't think
>> > of that.
>> >
>> > Whichever way we decide, I would like to have it so that people using a
>> > system don't depend on maintainers updating their system for this
>> > capability.
>> 
>> If you weren't aware that #+asdf::parenscript is possible, you might
>> also not be aware that
>>   #+#.(cl:if (cl:find-package "PARENSCRIPT") '(and) '(or))
>> is possible too.  Yes, it's a bit longer, but it is build-system
>> independent...
>
> Yes, I'm aware of that one. The trouble is not only that it's "a bit
> longer" - it's also not very clear.

Well, then there's the arguably clearer
  (eval-when (:compile-toplevel :load-toplevel :execute)
    (when (find-package "PARENSCRIPT")
      (pushnew :parenscript *features*)))
which works just like :asdf-parenscript except that it's independent
of asdf.

Cheers,

Christophe


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.