Do not make assumptions about which C++ library to use --- configure.ac.orig 2024-03-28 05:10:13.000000000 -0500 +++ configure.ac 2024-04-02 22:42:50.000000000 -0500 @@ -514,17 +514,6 @@ [CXX="$enableval $CXX"]) AC_SUBST(SPECIAL_CXXFLAGS) -dnl -dnl Standard C++ library and C++ Runtime -dnl -CXX_RUNTIME_LIB= -CXX_STD_LIB= -if test x"$GXX" = xyes; then - AC_CHECK_LIB(g++,main,CXX_RUNTIME_LIB=-lg++) - AC_CHECK_LIB(stdc++,main,CXX_STD_LIB=-lstdc++,,${CXX_RUNTIME_LIB}) -fi -AC_SUBST(CXX_STD_LIB) -AC_SUBST(CXX_RUNTIME_LIB) dnl Write the resulting Makefile. AC_CONFIG_FILES([Makefile