[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_COMPILE_IFELSE
From: |
Ralf Wildenhues |
Subject: |
Re: AC_COMPILE_IFELSE |
Date: |
Thu, 6 Mar 2008 13:05:11 +0100 |
User-agent: |
Mutt/1.5.17 (2008-02-27) |
Hello Bruno, Simon,
* Bruno Haible wrote on Thu, Mar 06, 2008 at 12:47:31PM CET:
> Simon Josefsson wrote:
> > 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.
>
> Likewise for me. AC_TRY_COMPILE has a more mnemonic name (it follows the
> usual rule to use an English verb to as a function/macro name) and simpler
> quoting rules than AC_COMPILE_IFELSE.
It has *wrong* quoting rules. This has bitten people lots before.
Please use AC_COMPILE_IFELSE. There is a FAQ entry on this,
info Autoconf 'AC_FOO_IFELSE vs AC_TRY_FOO'
I see absolutely no reason to undeprecate something based on personal
preference. "Simpler" is only true if you forget about consistency
with other Autoconf interfaces.
Cheers,
Ralf
- 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, 2008/03/06
- Re: AC_COMPILE_IFELSE, Bruno Haible, 2008/03/06
- Re: AC_COMPILE_IFELSE,
Ralf Wildenhues <=
- 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