|
From: | Mohammad Akhlaghi |
Subject: | Re: getgroups.c failes to compile |
Date: | Sat, 18 May 2019 23:30:40 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |