Re: AC_REPLACE_FUNCS and function prototypes

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

 



Hi,

AC_USE_SYSTEM_EXTENSIONS seems to be a reasonable way to me.

Thanks!

--
Yonenaga Masao

On 8/20/06, Paul Eggert <eggert@xxxxxxxxxxx> wrote:
"Masao Yonenaga" <yonenaga@xxxxxxxxx> 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.



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux