1 ?RCS: $Id: usecbacktrace.U,v $
3 ?RCS: Copyright (c) 2014 H.Merijn Brand
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?RCS: $Log: usecbacktrace.U,v $
10 ?MAKE:usecbacktrace: Myread Oldconfig Setvar Getfile d_backtrace
11 ?MAKE: -pick add $@ %<
14 ?S: This variable indicates whether we are compiling with backtrace
18 ?C: This symbol, if defined, indicates that Perl should
19 ?C: be built with support for backtrace.
21 ?H:#$usecbacktrace USE_CBACKTRACE /**/
25 : add flags if using c backtrace
26 case "$usecbacktrace" in
27 "") usecbacktrace=$undef ;;
29 case "$d_backtrace" in
32 *" -DUSE_C_BACKTRACE "*) ;; # Already there.
33 *) ccflags="$ccflags -DUSE_C_BACKTRACE -g" ;;
37 echo "This system does not support backtrace" >&4