[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
traps of AC_CHECK_LIB for standard functions
From: |
Stepan Kasal |
Subject: |
traps of AC_CHECK_LIB for standard functions |
Date: |
Thu, 9 Dec 2004 10:10:15 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Mon, Dec 06, 2004 at 07:37:59PM -0800, Noah Misch wrote:
> [...] If you prefer definitions from a standard library where
> available, use @code{AC_SEARCH_LIBS} instead of
> @code{AC_CHECK_LIB}. [...] Rewriting a test like
> @samp{AC_CHECK_LIB(nsl, gethostbyname)} as
> @samp{AC_SEARCH_LIBS(gethostbyname, nsl)} avoids these problems.
well, I have a somewhat radical idea:
when does one really need the functionality of AC_CHECK_LIB?
Shouldn't we change the interface?
Perhaps we could rename it to AC_ADD_LIB or similar.
Calling AC_CHECK_LIB would issue a warning in future versions.
Opinions?
Stepan
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, (continued)
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Paul Eggert, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Noah Misch, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Stepan Kasal, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Mark D. Baushke, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Noah Misch, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Mark D. Baushke, 2004/12/06
- Re: AC_FUNC_GETMNTENT look in libc before -lsun, Stepan Kasal, 2004/12/06
- [PATCH] Document traps of AC_CHECK_LIB for standard functions, Noah Misch, 2004/12/06
- Re: [PATCH] Document traps of AC_CHECK_LIB for standard functions, Stepan Kasal, 2004/12/09
- Re: [PATCH] Document traps of AC_CHECK_LIB for standard functions, Paul Eggert, 2004/12/09
- traps of AC_CHECK_LIB for standard functions,
Stepan Kasal <=
Re: AC_FUNC_GETMNTENT look in libc before -lsun, Paul Eggert, 2004/12/06
Re: AC_FUNC_GETMNTENT look in libc before -lsun, Stepan Kasal, 2004/12/06