6 Jan
2011
6 Jan
'11
6:48 a.m.
Jeremy wrote:
Time to retire some more obsolete autoconf macros. See [1] for details.
1: Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET .
2: Replace AC_ERROR with AC_MSG_ERROR .
3: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE / AC_LANG_PROGRAM .
This doesn't break for me, but it affects some host-dependent parts of configure.in . It would be good to know that this works on hosts with unusual socket / iconv library routines.
4: Replace AC_TRY_LINK_FUNC with AC_LINK_IFELSE / AC_LANG_CALL .
This only affects target OSes *other* than linux, solaris, osf1 and minix. Can anyone test on such a thing?
5: Indentation tweak for consistency.
Works without giving me any problems...