]> git.ipfire.org Git - thirdparty/gcc.git/commit
configure.ac: Check for getexecname.
authorIan Lance Taylor <iant@google.com>
Mon, 12 Nov 2012 21:24:19 +0000 (21:24 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 12 Nov 2012 21:24:19 +0000 (21:24 +0000)
commit33521509a82eeed8e657642db2c2846cc9685bab
tree33eae4f1dfeddbcdd692656a204db81bdd98f92d
parent211d71a745167d6bb935ddf21b7d7f6dd5168969
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
libbacktrace/ChangeLog
libbacktrace/config.h.in
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/fileline.c
libbacktrace/print.c