[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Checking if Octave was linked a library?
From: |
John W. Eaton |
Subject: |
Checking if Octave was linked a library? |
Date: |
Wed, 24 Sep 2008 10:08:25 -0400 |
On 24-Sep-2008, address@hidden wrote:
| 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.
You can use
%!testif HAVE_FOO
It skips the test if HAVE_FOO is not found in the output from
octave_config_info ("DEFS").
jwe