Do not make assumptions about which C++ library to use --- configure.ac.orig 2014-12-28 14:39:18.000000000 -0600 +++ configure.ac 2015-10-27 14:20:52.000000000 -0500 @@ -503,17 +503,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