warning: The macro `AC_LANG_C' is obsolete.

99 views
Skip to first unread message

Marc Gonzalez

unread,
Jul 19, 2023, 12:17:08 PM7/19/23
to google-br...@googlegroups.com, Mike Frysinger
Hello,

I'm an autotools noob, so I'm not sure how to fix this warning:

$ autoconf
configure.ac:63: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/ax_pthread.m4:81: AX_PTHREAD is expanded from...
configure.ac:63: the top level
configure.ac:63: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:63: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/ax_pthread.m4:81: AX_PTHREAD is expanded from...
configure.ac:63: the top level


NB: I get the same warning if I run `autoreconf` which is supposed
to invoke all the appropriate autotools...

Might be an issue on my system exclusively?

Regards

Mike Frysinger

unread,
Jul 19, 2023, 12:30:33 PM7/19/23
to Marc Gonzalez, google-br...@googlegroups.com
m4/ax_* macros are copied from upstream:

you can see if pulling in newer versions from the latest release fixes things
-mike
Reply all
Reply to author
Forward
0 new messages