bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf (2.57 or earlier), AC_SEARCH_LIBS(), AC_CHECK_FUNCS(),and C


From: Paul Eggert
Subject: Re: autoconf (2.57 or earlier), AC_SEARCH_LIBS(), AC_CHECK_FUNCS(),and C++
Date: Fri, 3 Jan 2003 17:54:49 -0800

> Date: Fri, 3 Jan 2003 08:08:40 -0700 (MST)
> From: "Nelson H. F. Beebe" <address@hidden>
> 
> Instead of generating a possibly-conflicting prototype for a
> function-availability test, avoid the prototype altogether, and cast
> the function name to a function of another type that IS properly
> declared:

That is what AC_CHECK_DECLS does.  AC_CHECK_FUNCS checks whether the
function can be linked, for backwards compatibility, and I don't think
that will change.  These days, though, I'd suggest switching to
AC_CHECK_DECLS.




reply via email to

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