> How can I achieve this with autoconf? I mean: I know how to write a test
like
>
> AC_CHECK_HEADER(superlu/slu_util.h, foo, bar),
>
> but how do I obtain (in 'foo') the path relative to which the file
superlu/slu_util.h
> 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
_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to