summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2014-06-11 09:45:44 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2014-06-11 09:45:44 +0200
commitf6a82adeac84b0be20188fd4ea164d8e4a1cc131 (patch)
treef54d5a7cf728c9783ac5d0a021cd64b607d2ff1a /config_h.SH
parent60bd7b488a4d9a548c63a8440324726b52ba9a3c (diff)
downloadperl-f6a82adeac84b0be20188fd4ea164d8e4a1cc131.tar.gz
Fix cbacktrace
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH46
1 files changed, 27 insertions, 19 deletions
diff --git a/config_h.SH b/config_h.SH
index 5e8432baa9..fcd1c4d1c0 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -131,12 +131,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_difftime HAS_DIFFTIME /**/
-/* HAS_DLADDR:
- * This symbol, if defined, indicates that the dladdr routine is
- * available to return information about stack addresses.
- */
-#$d_dladdr HAS_DLADDR /**/
-
/* HAS_DLERROR:
* This symbol, if defined, indicates that the dlerror routine is
* available to return a string describing the last error that
@@ -144,12 +138,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_dlerror HAS_DLERROR /**/
-/* HAS_BACKTRACE:
- * This symbol, if defined, indicates that the backtrace routine is
- * available to return backtrace information about the C stack.
- */
-#$d_backtrace HAS_BACKTRACE /**/
-
/* HAS_DUP2:
* This symbol, if defined, indicates that the dup2 routine is
* available to duplicate file descriptors.
@@ -701,12 +689,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_dlfcn I_DLFCN /**/
-/* I_EXECINFO:
- * This symbol, if defined, indicates that <execinfo.h> exists and should
- * be included.
- */
-#$i_execinfo I_EXECINFO /**/
-
/* I_FCNTL:
* This manifest constant tells the C program to include <fcntl.h>.
*/
@@ -3338,6 +3320,26 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
+/* HAS_BACKTRACE:
+ * This symbol, if defined, indicates that the backtrace() routine is
+ * available to get a stack trace. The <execinfo.h> header must be
+ * included to use this routine.
+ */
+#$d_backtrace HAS_BACKTRACE /**/
+
+/* HAS_DLADDR:
+ * This symbol, if defined, indicates that the dladdr() routine is
+ * available to get a stack trace. The <execinfo.h> header must be
+ * included to use this routine.
+ */
+#$d_dladdr HAS_DLADDR /**/
+
+/* I_EXECINFO:
+ * This symbol, if defined, indicates to the C program that it should
+ * include <execinfo.h> for backtrace() support.
+ */
+#$i_execinfo I_EXECINFO /**/
+
/* I_TERMIO:
* This symbol, if defined, indicates that the program should include
* <termio.h> rather than <sgtty.h>. There are also differences in
@@ -4232,7 +4234,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
/* I_BFD:
* This symbol, if defined, indicates that <bfd.h> exists and
- * could be included by the C program to use the BFD library.
+ * can be included.
*/
#$i_bfd I_BFD /**/
@@ -4701,6 +4703,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$use64bitall USE_64_BIT_ALL /**/
#endif
+/* USE_CBACKTRACE:
+ * This symbol, if defined, indicates that Perl should
+ * be built with support for backtrace.
+ */
+#$usecbacktrace USE_CBACKTRACE /**/
+
/* USE_DTRACE:
* This symbol, if defined, indicates that Perl should
* be built with support for DTrace.