mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-21 18:23:59 +00:00
dcd76bd48d
836be7a112
; * etc/refcards/ru-refcard.tex: Update Copyright year.86cbc6ee4a
* lisp/net/tramp-sh.el: Adapt copyright yearebe8772f65
; Minor fixes related to copyright years23c1ee6989
; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye...8d3fc7ec89
* src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.19dcb237b5
; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
28 lines
823 B
Plaintext
28 lines
823 B
Plaintext
# Check for GNU-style execinfo.h.
|
|
|
|
dnl Copyright 2012-2022 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
AC_DEFUN([gl_EXECINFO_H],
|
|
[
|
|
AC_CHECK_HEADERS_ONCE([execinfo.h])
|
|
|
|
LIB_EXECINFO=''
|
|
GL_GENERATE_EXECINFO_H=true
|
|
|
|
if test $ac_cv_header_execinfo_h = yes; then
|
|
gl_saved_libs=$LIBS
|
|
AC_SEARCH_LIBS([backtrace_symbols_fd], [execinfo],
|
|
[test "$ac_cv_search_backtrace_symbols_fd" = "none required" ||
|
|
LIB_EXECINFO=$ac_cv_search_backtrace_symbols_fd])
|
|
LIBS=$gl_saved_libs
|
|
if test "$ac_cv_search_backtrace_symbols_fd" != no; then
|
|
GL_GENERATE_EXECINFO_H=false
|
|
fi
|
|
fi
|
|
|
|
AC_SUBST([LIB_EXECINFO])
|
|
])
|