autoconf: fix some "obsolete function" warnings with newer (2.7x) autoconfs

We also now require at least autoconf 2.69 - which should be fine as
it was released in 2012.
This commit is contained in:
Jon Trulson
2021-12-18 14:15:25 -07:00
parent 73cf4157b5
commit c3c7d8303b
3 changed files with 26 additions and 31 deletions

View File

@@ -294,7 +294,7 @@ if test "x$ax_pthread_clang" = "xyes"; then
# step
ax_pthread_save_ac_link="$ac_link"
ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
ax_pthread_link_step=`echo "$ac_link" | sed "$ax_pthread_sed"`
ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
ax_pthread_save_CFLAGS="$CFLAGS"
for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do