bug-gnulib
[Top][All Lists]
Advanced

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

Re: getgroups.c failes to compile


From: Bruno Haible
Subject: Re: getgroups.c failes to compile
Date: Sun, 19 May 2019 01:14:54 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

Mohammad Akhlaghi 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.

Here's the relevant documentation:
https://www.gnu.org/software/gnulib/manual/html_node/Searching-for-Libraries.html#Locating-Libraries

Bruno




reply via email to

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