autoconf
[Top][All Lists]
Advanced

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

Re: AC_REPLACE_FUNCS and function prototypes


From: Masao Yonenaga
Subject: Re: AC_REPLACE_FUNCS and function prototypes
Date: Sun, 20 Aug 2006 17:34:21 +0900

Hi,

AC_USE_SYSTEM_EXTENSIONS seems to be a reasonable way to me.

Thanks!

--
Yonenaga Masao

On 8/20/06, Paul Eggert <address@hidden> wrote:
"Masao Yonenaga" <address@hidden> writes:

> How can I handle this situation properly?

AC_CHECK_DECLS should do the trick.

> I want to avoid unconditionally defining _GNU_SOURCE because its
> side effects are unpredictable.

In practice I find that omitting _GNU_SOURCE causes far more porting
hassles than it cures, because the "standard conforming" environments
are less-often used and are not as well debugged.  I suggest using
AC_USE_SYSTEM_EXTENSIONS instead.





reply via email to

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