Re: AC_CHECK_HEADER question

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

 



> 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@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux