1 # Check for stdnoreturn.h.
3 dnl Copyright 2011 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_STDNORETURN_H],
10 dnl Assume that a system-supplied stdnoreturn.h works if it exists.
11 AC_CHECK_HEADERS_ONCE([stdnoreturn.h])
13 if test "$ac_cv_header_stdnoreturn_h" = yes; then
16 STDNORETURN_H='stdnoreturn.h'
18 AC_SUBST([STDNORETURN_H])
20 AM_CONDITIONAL([GL_GENERATE_STDNORETURN_H],
21 [test $ac_cv_header_stdnoreturn_h != yes])