diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-12 21:24:19 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-12 21:24:19 +0000 |
commit | 686b37720d3ae63c168a65b1895b76ad344962b4 (patch) | |
tree | 33eae4f1dfeddbcdd692656a204db81bdd98f92d /libbacktrace/config.h.in | |
parent | 925e86094f7ee4aa04dd04cd04f7deb2348b392f (diff) | |
download | gcc-686b37720d3ae63c168a65b1895b76ad344962b4.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace/config.h.in')
-rw-r--r-- | libbacktrace/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbacktrace/config.h.in b/libbacktrace/config.h.in index ba564a82e85..48ff63fdc05 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 |