Checking if Octave was linked a library?

David Bateman David.Bateman at motorola.com
Wed Sep 24 09:01:16 CDT 2008


soren at hauberg.org wrote:
> Hi,
>   Is there a way (from Octave) to test if Octave was linked against a 
> specific library? Specifically, I'm not linking against QHull and HDF 
> at work, which causes some failures during 'make check'. So, I'd like 
> to patch the tests to only run if Octave was actually linked against 
> the corresponding library.
>
> Søren
>
>
>
%!testif HAVE_QHULL
%!  ## Put the QHULL specific test here!!!

%!testif HAVE_HDF5
%! ## Put the hdf5 specific test here

I added this feature a while back because of complaints of failing tests 
for the sparse code when people didn't link against the right libraries.

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Octave-maintainers mailing list