Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to check external library dependencies in 'dynclasses'?

5 views
Skip to first unread message

Bernhard Schmalhofer

unread,
Jan 12, 2005, 9:46:28 AM1/12/05
to perl6-internals
Hi,

I'm working on a dynamic PMC that ties into the GNU dbm library,
http://www.ugcs.caltech.edu/info/gdbm/gdbm_toc.html.

The implementation is fairly straightforward, and simple test cases are
already working. However I'm not sure about how to check for the
availability of 'libgdbm.so'. If 'libgdbm.so' is not there I do not want
to compile and I want to skip the tests.

I could check for 'libgdbm.so' in the core Parrot configure step. But
this is not nice, as core Parrot shouldn't need to know about funky
extensions.

So the real question is, wether something like 'h2xs', Module::Build,
'extrb' is planned for Parrot.

CU, Bernhard

--
**************************************************
Dipl.-Physiker Bernhard Schmalhofer
Senior Developer
Biomax Informatics AG
Lochhamer Str. 11
82152 Martinsried, Germany
Tel: +49 89 895574-839
Fax: +49 89 895574-825
eMail: Bernhard.S...@biomax.com
Website: www.biomax.com
**************************************************

0 new messages