]> git.cworth.org Git - tar/blob - m4/error.m4
9f1307a428e297d89b8ef96a9affe82dcf091384
[tar] / m4 / error.m4
1 #serial 12
2
3 # Copyright (C) 1996-1998, 2001-2004, 2009-2010 Free Software Foundation, Inc.
4 #
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 AC_DEFUN([gl_ERROR],
10 [
11   AC_FUNC_ERROR_AT_LINE
12   dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
13   gl_PREREQ_ERROR
14 ])
15
16 # Prerequisites of lib/error.c.
17 AC_DEFUN([gl_PREREQ_ERROR],
18 [
19   AC_REQUIRE([AC_FUNC_STRERROR_R])
20   AC_REQUIRE([AC_C_INLINE])
21   :
22 ])