1 ?RCS: Copyright (c) 2005-2007 H.Merijn Brand
3 ?RCS: You may distribute under the terms of either the GNU General Public
4 ?RCS: License or the Artistic License, as specified in the README file.
6 ?MAKE:d_cplusplus: Compile Setvar run cat rm_try
8 ?S:d_cplusplus (d_cplusplus.U):
9 ?S: This variable conditionally defines the USE_CPLUSPLUS symbol, which
10 ?S: indicates that a C++ compiler was used to compiled Perl and will be
11 ?S: used to compile extensions.
14 ?C: This symbol, if defined, indicates that a C++ compiler was
15 ?C: used to compiled Perl and will be used to compile extensions.
17 ?H:#$d_cplusplus USE_CPLUSPLUS /**/
22 echo "Checking for C++..." >&4
36 if eval $compile_ok && $run ./try >cplusplus$$; then
37 val=`$cat cplusplus$$`
38 echo "You are using a C++ compiler."
41 echo "You are not using a C++ compiler."