From e20f5824e249a28eee5487f11fee3251eb101ad0 Mon Sep 17 00:00:00 2001 From: rossb Date: Mon, 31 Oct 2011 14:02:13 +0000 Subject: [PATCH] fix configure.in to find a C++ compiler when needed. seems this has been a problem with asio since march 2011. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.in b/configure.in index 44f59ca..944b39b 100644 --- a/configure.in +++ b/configure.in @@ -97,6 +97,10 @@ AC_ARG_WITH(host_os, [], host_os=$withval) dnl Checks for programs. AC_PROG_CC +dnl ASIO and CXX bindings need a C++ compiler +if [[ "$with_asio" = "yes" ] || [ "$enable_cxx" = "yes" ]] ; then + AC_PROG_CXX +fi AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL AC_PROG_INSTALL -- 2.43.0