Branch
Hash :
730d136c
Author :
Date :
2025-06-04T23:30:10
test-xfail: Relicense more permissively. * modules/test-xfail (License): Change to 'GPLed build tool'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
Description:
Define Automake conditionals that can be used to mark expected failures.
Files:
m4/musl.m4
Depends-on:
configure.ac:
gl_MUSL_LIBC
gl_CONDITIONAL([LIBC_IS_GNU],
[case "$host_os" in *-gnu* | gnu*) true ;; *) false ;; esac])
gl_CONDITIONAL([LIBC_IS_MUSL],
[case "$host_os" in *-musl* | midipix*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_MACOS],
[case "$host_os" in darwin*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_MACOS11],
[case "$host_os" in darwin20.*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_MACOS12],
[case "$host_os" in darwin21.*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_MACOS13],
[case "$host_os" in darwin22.*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_MACOS14],
[case "$host_os" in darwin23.*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_FREEBSD],
[case "$host_os" in freebsd* | dragonfly*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_NETBSD],
[case "$host_os" in netbsd*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_OPENBSD],
[case "$host_os" in openbsd*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_AIX],
[case "$host_os" in aix*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_SOLARIS11],
[case "$host_os" in solaris2.11*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_CYGWIN],
[case "$host_os" in cygwin*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_NATIVE_WINDOWS],
[case "$host_os" in mingw* | windows*) true ;; *) false ;; esac])
is_mingw=false; is_msvc=false
case "$host_os" in
windows*-msvc*) is_msvc=true ;;
mingw* | windows*)
AC_EGREP_CPP([Special], [
#ifdef _MSC_VER
Special
#endif
], [is_msvc=true], [is_mingw=true])
;;
esac
gl_CONDITIONAL([PLATFORM_IS_MINGW], [$is_mingw])
gl_CONDITIONAL([PLATFORM_IS_MSVC], [$is_msvc])
gl_CONDITIONAL([OS_IS_HAIKU],
[case "$host_os" in haiku*) true ;; *) false ;; esac])
gl_CONDITIONAL([OS_IS_ANDROID],
[case "$host_os" in linux-androideabi*) true ;; *) false ;; esac])
Makefile.am:
Include:
License:
GPLed build tool
Maintainer:
all