]> Repos - portaudio/commitdiff
fix configure.in to find a C++ compiler when needed. seems this has been a problem...
authorrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Mon, 31 Oct 2011 14:02:13 +0000 (14:02 +0000)
committerrossb <rossb@0f58301d-fd10-0410-b4af-bbb618454e57>
Mon, 31 Oct 2011 14:02:13 +0000 (14:02 +0000)
configure.in

index 44f59ca74b359b0639ccbfad712f7ed712518a85..944b39b68f749d54ea4f713e6812934b183d7f05 100644 (file)
@@ -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