From 5c21de71c7c1c4187ed48049ac448cb5d189badc Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 20 Jan 2019 17:06:43 +0000 Subject: [PATCH] Fix configure.ac to work again with version 2.58 testing the D compiler Remove use of _AC_DO_STDERR which became available in autoconf 2.60. Closes #1405 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ad06fd42a..deb537e81 100644 --- a/configure.ac +++ b/configure.ac @@ -2728,7 +2728,7 @@ void main() { _ACEOF rm -f conftest.$ac_objext AS_IF( - [_AC_DO_STDERR($D1COMPILER conftest.$ac_ext) && test ! -s conftest.err && test -s conftest.$ac_objext], + [$D1COMPILER conftest.$ac_ext 2>&AS_MESSAGE_LOG_FD && test ! -s conftest.err && test -s conftest.$ac_objext], [AC_MSG_RESULT([yes])], [_AC_MSG_LOG_CONFTEST AC_MSG_RESULT([no]) D1COMPILER=] @@ -2751,7 +2751,7 @@ void main() { _ACEOF rm -f conftest.$ac_objext AS_IF( - [_AC_DO_STDERR($D2COMPILER conftest.$ac_ext) && test ! -s conftest.err && test -s conftest.$ac_objext], + [$D2COMPILER conftest.$ac_ext 2>&AS_MESSAGE_LOG_FD && test ! -s conftest.err && test -s conftest.$ac_objext], [AC_MSG_RESULT([yes])], [_AC_MSG_LOG_CONFTEST AC_MSG_RESULT([no]) D2COMPILER=]