On Wed, Aug 22, 2012 at 10:49 AM, Paul Eggert <egg...@cs.ucla.edu> wrote: > This is for Emacs. Currently, it provides a no-effect stub > on all platforms where it does not already work. > It already works on glibc-based systems, and on Solaris 11. > * lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4, modules/execinfo: > New files. > * doc/glibc-headers/execinfo.texi (execinfo.h): > * MODULES.html.sh (Misc): Document it. > --- > ChangeLog | 11 ++++++++ > MODULES.html.sh | 1 + > doc/glibc-headers/execinfo.texi | 7 +++- > lib/execinfo.c | 3 ++ > lib/execinfo.in.h | 54 > +++++++++++++++++++++++++++++++++++++++ > m4/execinfo.m4 | 21 +++++++++++++++ > modules/execinfo | 40 ++++++++++++++++++++++++++++ > 7 files changed, 135 insertions(+), 2 deletions(-) > create mode 100644 lib/execinfo.c > create mode 100644 lib/execinfo.in.h > create mode 100644 m4/execinfo.m4 > create mode 100644 modules/execinfo > > diff --git a/ChangeLog b/ChangeLog > index 9d9266e..7c09a08 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,14 @@ > +2012-08-22 Paul Eggert <egg...@cs.ucla.edu> > + > + execinfo: new module > + This is for Emacs. Currently, it provides a no-effect stub > + on all platforms where it does not already work. > + It already works on glibc-based systems, and on Solaris 11. > + * lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4, modules/execinfo: > + New files. > + * doc/glibc-headers/execinfo.texi (execinfo.h): > + * MODULES.html.sh (Misc): Document it. > + > 2012-08-20 Paul Eggert <egg...@cs.ucla.edu> > > extern-inline: support old GCC 'inline' > diff --git a/MODULES.html.sh b/MODULES.html.sh > index d67c41d..8ced611 100755 > --- a/MODULES.html.sh > +++ b/MODULES.html.sh > @@ -2000,6 +2000,7 @@ func_all_modules () > func_module crc > func_module diacrit > func_module diffseq > + func_module execinfo > func_module getline > func_module getdelim > func_module getnline > diff --git a/doc/glibc-headers/execinfo.texi b/doc/glibc-headers/execinfo.texi > index 51e6d98..6c31c74 100644 > --- a/doc/glibc-headers/execinfo.texi > +++ b/doc/glibc-headers/execinfo.texi > @@ -21,11 +21,14 @@ Gnulib module: --- > > Portability problems fixed by Gnulib: > @itemize > +This header file is missing on some platforms: > +Mac OS X 10.3, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, > HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, MSVC 9, Interix > 3.5, BeOS. > @end itemize > > Portability problems not fixed by Gnulib: > @itemize > @item > -This header file is missing on some platforms: > -Mac OS X 10.3, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, > HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, MSVC 9, Interix > 3.5, BeOS. > +On platforms where the header file is missing, > +the Gnulib substitute implementation is just a stub, > +and does nothing.
Note that under bsd it will need -lexecinfo see http://trac.wxwidgets.org/ticket/9783 Bastien