test-framework-sh: Fix typo in function invocation (regression 2024-06-11).
[gnulib.git] / m4 / musl.m4
blob0d4de8926a22b5c051b5387d301e876872681fcd
1 # musl.m4
2 # serial 4
3 dnl Copyright (C) 2019-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 # Test for musl libc, despite the musl libc authors don't like it
9 # <https://wiki.musl-libc.org/faq.html>
10 # <https://lists.gnu.org/archive/html/bug-gnulib/2018-02/msg00079.html>.
11 # From Bruno Haible.
13 AC_DEFUN_ONCE([gl_MUSL_LIBC],
15   AC_REQUIRE([AC_CANONICAL_HOST])
16   case "$host_os" in
17     *-musl* | midipix*)
18       AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.])
19       ;;
20   esac