| dnl Copyright (C) 2003, 2005, 2007, 2009-2013 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_CHECK_HEADERS_ONCE([sysexits.h]) |
| if test $ac_cv_header_sysexits_h = yes; then |
| gl_CHECK_NEXT_HEADERS([sysexits.h]) |
| AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sysexits.h>]], |
| AC_SUBST([HAVE_SYSEXITS_H]) |
| AM_CONDITIONAL([GL_GENERATE_SYSEXITS_H], [test -n "$SYSEXITS_H"]) |