1 # Check for GNU-style execinfo.h.
3 dnl Copyright 2012 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 AC_DEFUN([gl_EXECINFO_H],
10 AC_CHECK_HEADERS_ONCE([execinfo.h])
12 if test $ac_cv_header_execinfo_h = yes; then
15 EXECINFO_H='execinfo.h'
19 AC_SUBST([EXECINFO_H])
20 AM_CONDITIONAL([GL_GENERATE_EXECINFO_H], [test -n "$EXECINFO_H"])