From 8f2c7cdf859fdd3c047df77704437425d4dcdcf8 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 10 Jul 2021 17:51:26 -0500 Subject: [PATCH] nasm.m4: use AS_MESSAGE_LOG_FD Address the following warning when running autoreconf: configure.ac:191: warning: The macro `AC_FD_CC' is obsolete. configure.ac:191: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... m4/nasm.m4:4: AC_PROG_NASM is expanded from... configure.ac:191: the top level --- m4/nasm.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/nasm.m4 b/m4/nasm.m4 index 978a469b..dea8669b 100644 --- a/m4/nasm.m4 +++ b/m4/nasm.m4 @@ -115,15 +115,15 @@ try_nasm='$NASM $NAFLAGS -o conftest.o conftest.asm' if AC_TRY_EVAL(try_nasm) && test -s conftest.o; then AC_MSG_RESULT(yes) else - echo "configure: failed program was:" >&AC_FD_CC - cat conftest.asm >&AC_FD_CC + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.asm >&AS_MESSAGE_LOG_FD rm -rf conftest* AC_MSG_RESULT(no) AC_MSG_ERROR([installation or configuration problem: assembler cannot create object files.]) fi AC_MSG_CHECKING([whether the linker accepts assembler output]) -try_nasm='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.o $LIBS 1>&AC_FD_CC' +try_nasm='${CC-cc} -o conftest${ac_exeext} $LDFLAGS conftest.o $LIBS 1>&AS_MESSAGE_LOG_FD' if AC_TRY_EVAL(try_nasm) && test -s conftest${ac_exeext}; then rm -rf conftest* AC_MSG_RESULT(yes) -- 2.43.0