VirtualBox

source: kBuild/trunk/src/grep/m4/musl.m4

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

  • Property svn:eol-style set to LF
File size: 644 bytes
Line 
1# musl.m4 serial 3
2dnl Copyright (C) 2019-2021 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7# Test for musl libc, despite the musl libc authors don't like it
8# <https://wiki.musl-libc.org/faq.html>
9# <https://lists.gnu.org/archive/html/bug-gnulib/2018-02/msg00079.html>.
10# From Bruno Haible.
11
12AC_DEFUN_ONCE([gl_MUSL_LIBC],
13[
14 AC_REQUIRE([AC_CANONICAL_HOST])
15 case "$host_os" in
16 *-musl*) AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.]) ;;
17 esac
18])
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette