From b8db1173c186cd1944513e4bdcc593cbff925a1f Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 16 Jan 2021 10:58:18 +0100 Subject: [PATCH] [configure.ac] Compilation fix for autoconf2.70 and compilation with g++ --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index bb8f0993..209f0b72 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,9 @@ echo "Feature summary:" > features.log AC_PROG_CC AC_PROG_CXX +if test x"$CC" = x"$CXX"; then + AC_LANG(C++) +fi AC_CHECK_TOOL([LD], [ld]) AC_PROG_AWK AC_PATH_PROGS(AWK, "$AWK")