On Dec 29, 2009, at 5:07 AM, Nathann Cohen wrote:

> Well, after taking a look at file modules_list, would it be so bad if
> we were just adding at the end of the definition of this huge list :
>
> if ( the correct library is installed ):
>    ext_modules.append( whatever you want)
>
> The problem just comes from the fact that this file is a very long
> list, and that we can not have conditions inside of this list, but
> that's all we need, isn't it ?


That's what I was about to suggest. There's also a command to see if  
an spkg is installed too which you can use. I actually think this is  
better than the graceful failure idea, because then if you have the  
library and it still fails to build, you get the error you want.

- Robert

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to