Hi,

AC_USE_SYSTEM_EXTENSIONS seems to be a reasonable way to me.

Thanks!

--
Yonenaga Masao

On 8/20/06, Paul Eggert <[EMAIL PROTECTED]> wrote:
"Masao Yonenaga" <[EMAIL PROTECTED]> 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@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to