autoconf-2.72 breaks macOS configure
autoconf 2.72 was released fri, 22 dec 2023 1. brew reports 2.72 as the current version of autoconf 2.
using autoconf-2.72, azure with image "macOS-latest" (Big Sur 3) AC_PROG_CXX
on azure/macOS appears to set CXX
to /usr/bin/g++ -std=gnu++11
.
in 'm4/fp_find_cxx_lib.m4' the code "$CXX" -E actest.cpp -o actest.out
results in error no such file or directory: /usr/bin/g++ -std=gnu++11
. if we instead write eval "$CXX" -E actest.cpp -o actest.out
it works the way we want.
Edited by Shayne Fletcher