aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/config.h.in
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-11-12 21:24:19 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-12 21:24:19 +0000
commit33521509a82eeed8e657642db2c2846cc9685bab (patch)
tree33eae4f1dfeddbcdd692656a204db81bdd98f92d /libbacktrace/config.h.in
parent211d71a745167d6bb935ddf21b7d7f6dd5168969 (diff)
downloadgcc-33521509a82eeed8e657642db2c2846cc9685bab.zip
gcc-33521509a82eeed8e657642db2c2846cc9685bab.tar.gz
gcc-33521509a82eeed8e657642db2c2846cc9685bab.tar.bz2
configure.ac: Check for getexecname.
* configure.ac: Check for getexecname. * fileline.c: #include <errno.h>. Define getexecname if not available. (fileline_initialize): Try to find the executable in a few different ways. * print.c (error_callback): Only print the filename if it came from the backtrace state. * configure, config.h.in: Rebuild. Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com> Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> From-SVN: r193454
Diffstat (limited to 'libbacktrace/config.h.in')
-rw-r--r--libbacktrace/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbacktrace/config.h.in b/libbacktrace/config.h.in
index ba564a8..48ff63f 100644
--- a/libbacktrace/config.h.in
+++ b/libbacktrace/config.h.in
@@ -16,6 +16,9 @@
/* Define to 1 if you have the fcntl function */
#undef HAVE_FCNTL
+/* Define if getexecname is available. */
+#undef HAVE_GETEXECNAME
+
/* Define if _Unwind_GetIPInfo is available. */
#undef HAVE_GETIPINFO