diff options
Diffstat (limited to 'gl/m4/error.m4')
| -rw-r--r-- | gl/m4/error.m4 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gl/m4/error.m4 b/gl/m4/error.m4 new file mode 100644 index 00000000..7c7746e2 --- /dev/null +++ b/gl/m4/error.m4 | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #serial 11 | ||
| 2 | |||
| 3 | # Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2004 Free Software | ||
| 4 | # Foundation, Inc. | ||
| 5 | # | ||
| 6 | # This file is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | AC_DEFUN([gl_ERROR], | ||
| 11 | [ | ||
| 12 | AC_FUNC_ERROR_AT_LINE | ||
| 13 | dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). | ||
| 14 | gl_PREREQ_ERROR | ||
| 15 | ]) | ||
| 16 | |||
| 17 | # Prerequisites of lib/error.c. | ||
| 18 | AC_DEFUN([gl_PREREQ_ERROR], | ||
| 19 | [ | ||
| 20 | AC_REQUIRE([AC_FUNC_STRERROR_R]) | ||
| 21 | : | ||
| 22 | ]) | ||
