Re: AC_COMPILE_IFELSE

2008-03-06 Thread Ralf Wildenhues
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

Re: AC_COMPILE_IFELSE

2008-03-06 Thread Bruno Haible
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

Re: AC_COMPILE_IFELSE

2008-03-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 3/6/2008 6:49 AM: | When I write a piece of C code (INCLUDES or FUNCTION-BODY), in 99% of the cases | I want brackets to denote array dimensions or array indices. I don't want them | to expand to nothing. | | You say that

Re: AC_COMPILE_IFELSE

2008-03-06 Thread Bruno Haible
Hello Ralf, I wrote: 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. Also, AC_COMPILE_IFELSE presents a pitfall: One is tempted to write AC_COMPILE_IFELSE