gssproxy icon indicating copy to clipboard operation
gssproxy copied to clipboard

Autoconf complains about obsolete options

Open Alphix opened this issue 1 year ago • 4 comments

There's a lot of moaning from autoconf about obsolete options....e.g.:

configure.ac:12: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:12: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:12: the top level
configure.ac:23: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
configure.ac:23: the top level
configure.ac:23: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
configure.ac:23: the top level
configure.ac:23: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
...

Time to follow the advice and run autoupdate, or is there something I'm missing?

Alphix avatar Oct 23 '23 14:10 Alphix

I think the last time I did I then had issues building on older OS versions I still wanted to support. If, after the autoupdate, the build will still work on CentOS 8 and the oldest Debian stable then we can update.

simo5 avatar Oct 23 '23 14:10 simo5

I could check Debian builds, but I'm definitely not an autoconf/automake expert (and I don't think I'll ever be...or want to be)

Alphix avatar Oct 23 '23 14:10 Alphix

/me neither, so I endure the notices until I am forced to upgrade :-)

simo5 avatar Oct 23 '23 14:10 simo5

/me neither, so I endure the notices until I am forced to upgrade :-)

Hmm, would you be adverse to a meson-based build system instead?

Alphix avatar Oct 23 '23 15:10 Alphix