|
Last change
on this file was 3611, checked in by bird, 14 months ago |
|
vendor/sed/current: GNU sed 4.9 (sed-4.9.tar.xz sha256:6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181)
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | #serial 15
|
|---|
| 2 |
|
|---|
| 3 | # Copyright (C) 1996-1998, 2001-2004, 2009-2022 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 | dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer
|
|---|
| 12 | dnl maintained in Autoconf and because it invokes AC_LIBOBJ.
|
|---|
| 13 | AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line],
|
|---|
| 14 | [AC_LINK_IFELSE(
|
|---|
| 15 | [AC_LANG_PROGRAM(
|
|---|
| 16 | [[#include <error.h>]],
|
|---|
| 17 | [[error_at_line (0, 0, "", 0, "an error occurred");]])],
|
|---|
| 18 | [ac_cv_lib_error_at_line=yes],
|
|---|
| 19 | [ac_cv_lib_error_at_line=no])])
|
|---|
| 20 | ])
|
|---|
| 21 |
|
|---|
| 22 | # Prerequisites of lib/error.c.
|
|---|
| 23 | AC_DEFUN([gl_PREREQ_ERROR],
|
|---|
| 24 | [
|
|---|
| 25 | dnl Use system extensions on Android, so that AC_FUNC_STRERROR_R
|
|---|
| 26 | dnl discovers the GNU API for strerror_r on Android API level 23 and later.
|
|---|
| 27 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
|---|
| 28 |
|
|---|
| 29 | AC_REQUIRE([AC_FUNC_STRERROR_R])
|
|---|
| 30 | :
|
|---|
| 31 | ])
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.