mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
* m4/execinfo.m4 (gl_EXECINFO_H): Set LIB_EXECINFO to -lexecinfo if needed, as in FreeBSD. Reported by Bastien Roucariès in <http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00113.html>. * modules/execinfo (Link): Add $(LIB_EXECINFO).
44 lines
718 B
Plaintext
44 lines
718 B
Plaintext
Description:
|
|
A GNU-like <execinfo.h>.
|
|
|
|
Files:
|
|
lib/execinfo.c
|
|
lib/execinfo.in.h
|
|
m4/execinfo.m4
|
|
|
|
Depends-on:
|
|
extern-inline
|
|
|
|
configure.ac:
|
|
gl_EXECINFO_H
|
|
|
|
Makefile.am:
|
|
BUILT_SOURCES += $(EXECINFO_H)
|
|
|
|
# We need the following in order to create <execinfo.h> when the system
|
|
# doesn't have one that works.
|
|
if GL_GENERATE_EXECINFO_H
|
|
execinfo.h: execinfo.in.h $(top_builddir)/config.status
|
|
$(AM_V_GEN)rm -f $@-t $@ && \
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
|
cat $(srcdir)/execinfo.in.h; \
|
|
} > $@-t && \
|
|
mv $@-t $@
|
|
else
|
|
execinfo.h: $(top_builddir)/config.status
|
|
rm -f $@
|
|
endif
|
|
MOSTLYCLEANFILES += execinfo.h execinfo.h-t
|
|
|
|
Include:
|
|
<execinfo.h>
|
|
|
|
Link:
|
|
$(LIB_EXECINFO)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|