bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_FUNC and C++


From: Paul Eggert
Subject: Re: AC_CHECK_FUNC and C++
Date: Fri, 21 Sep 2001 13:27:46 -0700 (PDT)

> From: Akim Demaille <address@hidden>
> Date: 21 Sep 2001 17:10:57 +0200
> 
> Hm...  Maybe it is really time to completely revamp AC_CHECK_FUNC.

I tend to agree.

> First of all, it should run AC_CHECK_DECL on the appropriate headers
> before trying to emulate the proto.

But then, why do you need AC_CHECK_FUNC at all?  To catch the case when
a function is declared but is not defined in a library?  I don't think
this happens often.

How about if we deprecate AC_CHECK_FUNC, and ask people to use
AC_CHECK_DECL instead?  This change wouldn't have been feasible when
autoconf was first written, but nowadays almost everybody uses headers
that declare all library functions.

If we deprecate AC_CHECK_FUNC, we won't have to revamp it.



reply via email to

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