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: Paul Eggert
Subject: Re: AC_REPLACE_FUNCS and function prototypes
Date: Sat, 19 Aug 2006 15:24:51 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"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]