From: rossb Date: Mon, 31 Oct 2011 14:02:13 +0000 (+0000) Subject: fix configure.in to find a C++ compiler when needed. seems this has been a problem... X-Git-Tag: pa_stable_v19_20111121_r1788~13 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=e20f5824e249a28eee5487f11fee3251eb101ad0;p=portaudio fix configure.in to find a C++ compiler when needed. seems this has been a problem with asio since march 2011. --- 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