branch: master commit ae3680eac2c860e17921f5ef09de7995fba77340 Author: Konstantinos Poulios <logar...@gmail.com> AuthorDate: Fri Apr 12 16:15:02 2024 +0200
Fix configure issue with clang --- m4/ax_check_cxx_flag.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/ax_check_cxx_flag.m4 b/m4/ax_check_cxx_flag.m4 index 6513885a..aebdf5fd 100644 --- a/m4/ax_check_cxx_flag.m4 +++ b/m4/ax_check_cxx_flag.m4 @@ -16,8 +16,8 @@ dnl Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. AC_DEFUN([AC_CHECK_CXX_FLAG], [AC_MSG_CHECKING([whether ${CXX} accepts $1]) -echo 'int main(){}' > conftest.c -if test -z "`${CXX} $1 -o conftest conftest.c 2>&1`"; then +echo 'int main(){}' > conftest.cc +if test -z "`${CXX} $1 -o conftest conftest.cc 2>&1`"; then $2="${$2} $1" echo "yes" else