error.m4 (bison-3.8.1.tar.xz) | : | error.m4 (bison-3.8.2.tar.xz) | ||
---|---|---|---|---|
#serial 14 | #serial 15 | |||
# Copyright (C) 1996-1998, 2001-2004, 2009-2021 Free Software Foundation, Inc. | # Copyright (C) 1996-1998, 2001-2004, 2009-2021 Free Software Foundation, Inc. | |||
# | # | |||
# This file is free software; the Free Software Foundation | # This file is free software; the Free Software Foundation | |||
# gives unlimited permission to copy and/or distribute it, | # gives unlimited permission to copy and/or distribute it, | |||
# with or without modifications, as long as this notice is preserved. | # with or without modifications, as long as this notice is preserved. | |||
AC_DEFUN([gl_ERROR], | AC_DEFUN([gl_ERROR], | |||
[ | [ | |||
dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer | dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer | |||
skipping to change at line 25 | skipping to change at line 25 | |||
[AC_LANG_PROGRAM( | [AC_LANG_PROGRAM( | |||
[[#include <error.h>]], | [[#include <error.h>]], | |||
[[error_at_line (0, 0, "", 0, "an error occurred");]])], | [[error_at_line (0, 0, "", 0, "an error occurred");]])], | |||
[ac_cv_lib_error_at_line=yes], | [ac_cv_lib_error_at_line=yes], | |||
[ac_cv_lib_error_at_line=no])]) | [ac_cv_lib_error_at_line=no])]) | |||
]) | ]) | |||
# Prerequisites of lib/error.c. | # Prerequisites of lib/error.c. | |||
AC_DEFUN([gl_PREREQ_ERROR], | AC_DEFUN([gl_PREREQ_ERROR], | |||
[ | [ | |||
dnl Use system extensions on Android, so that AC_FUNC_STRERROR_R | ||||
dnl discovers the GNU API for strerror_r on Android API level 23 and later. | ||||
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) | ||||
AC_REQUIRE([AC_FUNC_STRERROR_R]) | AC_REQUIRE([AC_FUNC_STRERROR_R]) | |||
: | : | |||
]) | ]) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added |