[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_CHECK_HEADER question

From: Rhys Ulerich
Subject: Re: AC_CHECK_HEADER question
Date: Sun, 17 Mar 2013 14:39:25 -0500

> How can I achieve this with autoconf? I mean: I know how to write a test
> AC_CHECK_HEADER(superlu/slu_util.h, foo, bar),
> but how do I obtain (in 'foo') the path relative to which the file
> was found?

Use the optional third and forth arguments. Run the macro several times
checking for a different prefix each time. Keep track of which one
succeeds. Fail only if all checks fail.

- Rhys

reply via email to

[Prev in Thread] Current Thread [Next in Thread]