[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __func__
From: |
Simon Josefsson |
Subject: |
Re: __func__ |
Date: |
Thu, 06 Mar 2008 10:51:35 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> However, what do you think about this?
>
> Looks all fine to me.
Thanks, installed.
>> Hm. As far as I can tell, AC_CHECK_DECLS is not restricted to
>> functions, the autoconf manual says "If SYMBOL (a function or a
>> variable) is not declared ...".
>
> Ah indeed. It says this when talking about AC_CHECK_DECL. I looked at the
> description of AC_CHECK_DECLS only. But anyway, AC_CHECK_DECLS may not
> work for symbols that are only defined inside functions.
Right. The code now AC_COMPILE_IFELSE, so it should be fine. The
autoconf manual says AC_TRY_COMPILE is obsolete so I didn't want to use
it. AC_TRY_COMPILE is used in many places in gnulib though, do we want
to care about that? I find AC_TRY_COMPILE slightly easier to work with
than AC_COMPILE_IFELSE so perhaps we could argue that it should be
non-deprecated, unless there were a strong reason to deprecate it.
/Simon
- Re: __func__, Simon Josefsson, 2008/03/03
- Re: __func__, Bruno Haible, 2008/03/03
- Re: __func__, Simon Josefsson, 2008/03/04
- Re: __func__, Bruno Haible, 2008/03/04
- Re: __func__,
Simon Josefsson <=
- Re: AC_COMPILE_IFELSE, Bruno Haible, 2008/03/06
- Re: AC_COMPILE_IFELSE, Ralf Wildenhues, 2008/03/06
- Re: AC_COMPILE_IFELSE, Bruno Haible, 2008/03/06
- Re: AC_COMPILE_IFELSE, Eric Blake, 2008/03/06
- Re: __func__, Eric Blake, 2008/03/04
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Jim Meyering, 2008/03/06
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Simon Josefsson, 2008/03/06
- Re: __func__, Bruno Haible, 2008/03/06