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