All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] build: Add c++ build support
@ 2022-03-10  8:15 Hongzhan Chen
  2022-03-10  8:15 ` [PATCH 2/4] build: add options to build plugins of kernelshark and libtraceevent Hongzhan Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Hongzhan Chen @ 2022-03-10  8:15 UTC (permalink / raw)
  To: xenomai, jan.kiszka, florian.bezdeka

Add c++ build support or use specific c++ compiler

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>

diff --git a/configure.ac b/configure.ac
index e7a170161..afe08b8f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,18 @@ AC_ARG_WITH(cc,
     ])
 AC_PROG_CC
 
+AC_ARG_WITH(cxx,
+    AS_HELP_STRING([--with-cxx=compiler],[use specific C++ compiler]),
+    [
+	case "$withval" in
+	"" | y | ye | yes | n | no)
+	    AC_MSG_ERROR([You must supply an argument to --with-cxx])
+	  ;;
+	esac
+	CXX="$withval"
+    ])
+AC_PROG_CXX
+
 # Do not let autoconf set the default value of CFLAGS
 if $XENO_EMPTY_CFLAGS; then
 	CFLAGS=""
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-12 12:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10  8:15 [PATCH 1/4] build: Add c++ build support Hongzhan Chen
2022-03-10  8:15 ` [PATCH 2/4] build: add options to build plugins of kernelshark and libtraceevent Hongzhan Chen
2022-03-11 13:30   ` Jan Kiszka
2022-03-11 13:40     ` Jan Kiszka
2022-03-11 14:23       ` Chen, Hongzhan
2022-03-11 14:25       ` Jan Kiszka
2022-03-12  1:44         ` Chen, Hongzhan
2022-03-10  8:15 ` [PATCH 3/4] KernelShark: Add xenomai_cobalt_switch_events plugin for KernelShark Hongzhan Chen
2022-03-10  8:15 ` [PATCH 4/4] libtraceevent: Add xenomai_schedparams plugin for libtraceevent Hongzhan Chen
2022-03-12 12:58 ` [PATCH 1/4] build: Add c++ build support Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.