On 5/18/19 1:58 AM, Bruno Haible wrote:
It is be possible to search libraries using AC_RUN_IFELSE instead of
AC_LINK_IFELSE, and add -rpath options as needed. The AC_LIB_LINKFLAGS
macro from gnulib does this. It appears that you used the stock Autoconf
macro, which does not do this.

You are right, so far we are just using `AC_SEARCH_LIBS'. Thank you very much for this recommendation. I just defined it as a task [1]. We'll look into it and hopefully implement it in Gnuastro soon.

Cheers,
Mohammad

[1] https://savannah.gnu.org/task/index.php?15278

Reply via email to