X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=m4%2Frw_prog_cxx_works.m4;h=f3d6bde6b1c4675ee41778615699bb12c208ec2e;hb=b8a1677cb28a65001cbafcdf3c69339c48d8c652;hp=086af2545c3d190a9b9bc941101cb8751c436f0b;hpb=e465639ea30d128bc6dd59448a5bf6551a5da222;p=lttng-ust.git diff --git a/m4/rw_prog_cxx_works.m4 b/m4/rw_prog_cxx_works.m4 index 086af254..f3d6bde6 100644 --- a/m4/rw_prog_cxx_works.m4 +++ b/m4/rw_prog_cxx_works.m4 @@ -1,11 +1,25 @@ -# rw_PROG_CXX_WORKS +# SYNOPSIS # -# Check whether the C++ compiler works. There's a bit of oversight in -# autoconf that will set the C++ compiler to g++ if no compiler is found, -# even if g++ is not present! So we need an extra test to make sure that -# the compiler works. +# RW_PROG_CXX_WORKS # -AC_DEFUN([rw_PROG_CXX_WORKS], [ +# DESCRIPTION +# +# RW_PROG_CXX_WORKS checks whether the C++ compiler works. +# +# There's a bit of oversight in autoconf that will set the C++ compiler to +# g++ if no compiler is found, even if g++ is not present! So we need an +# extra test to make sure that the compiler works. +# +# LICENSE +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 1 + +AC_DEFUN([RW_PROG_CXX_WORKS], [ AC_REQUIRE([AC_PROG_CXX]) AC_CACHE_CHECK([whether the C++ compiler works], [rw_cv_prog_cxx_works],