On 4/26/22 6:44 PM, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > Because apparently AC_TRY_COMPILE and AC_TRY_LINK has been > deprecated and made obsolete. > > ..... > configure.ac:164: warning: The macro `AC_TRY_COMPILE' is obsolete. > configure.ac:164: You should run autoupdate. > ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... > m4/package_libcdev.m4:68: AC_HAVE_GETMNTENT is expanded from... > configure.ac:164: the top level > configure.ac:165: warning: The macro `AC_TRY_LINK' is obsolete. > configure.ac:165: You should run autoupdate. > ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... > m4/package_libcdev.m4:84: AC_HAVE_FALLOCATE is expanded from... > configure.ac:165: the top level > ..... > > But "autoupdate" does nothing to fix this, so I have to manually do > these conversions: > > - AC_TRY_COMPILE -> AC_COMPILE_IFELSE > - AC_TRY_LINK -> AC_LINK_IFELSE > > because I have nothing better to do than fix currently working > code. > > Also, running autoupdate forces the minimum pre-req to be autoconf > 2.71 because it replaces other stuff... Bleah, to that part. 2.71 isn't even available on Fedora Core 35 which was released 6 months ago. I'm afraid this will break lots of builds in not-very-old environments. I'm inclined to look into whether I can just replace the obsolete macros to shut up the warnings for now, does that seem reasonable? And then bumping the 2.50 minimum to the 8-year-old 2.69 is probably wise ;) Thanks, -Eric