diff options
author | Ross Burton <ross.burton@arm.com> | 2024-06-07 10:07:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-07 23:21:42 +0100 |
commit | 2c7663d7249ba73f401242cb09048b82116de6a8 (patch) | |
tree | 357e79787652d2809270b4181fde85fc9752c96f | |
parent | b6fe56102389c33a720e51d51ad075098dc3aaef (diff) | |
download | poky-2c7663d7249ba73f401242cb09048b82116de6a8.tar.gz |
site: move ac_cv_func_fnmatch_works to libc files
ac_cv_func_fnmatch_works (as set by AC_FUNC_FNMATCH) checks if the libc
has a POSIX-compliant fnmatch() implementation. This isn't architecture
specific, so move the definition to common-glibc and common-musl after
verifying the correct result.
(From OE-Core rev: b81ae7affa25eaad016c3ed347a9c4fef0bfee45)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/site/arm-common | 3 | ||||
-rw-r--r-- | meta/site/common-glibc | 1 | ||||
-rw-r--r-- | meta/site/common-musl | 1 | ||||
-rw-r--r-- | meta/site/ix86-common | 3 | ||||
-rw-r--r-- | meta/site/mips-linux | 3 | ||||
-rw-r--r-- | meta/site/mips64-linux | 3 | ||||
-rw-r--r-- | meta/site/mips64el-linux | 3 | ||||
-rw-r--r-- | meta/site/mipsel-linux | 3 | ||||
-rw-r--r-- | meta/site/mipsisa32r6-linux | 3 | ||||
-rw-r--r-- | meta/site/mipsisa32r6el-linux | 3 | ||||
-rw-r--r-- | meta/site/mipsisa64r6-linux | 3 | ||||
-rw-r--r-- | meta/site/mipsisa64r6el-linux | 3 | ||||
-rw-r--r-- | meta/site/nios2-linux | 3 | ||||
-rw-r--r-- | meta/site/sh-common | 3 | ||||
-rw-r--r-- | meta/site/x86_64-linux | 3 |
15 files changed, 2 insertions, 39 deletions
diff --git a/meta/site/arm-common b/meta/site/arm-common index 18c6d42200..d1dd884811 100644 --- a/meta/site/arm-common +++ b/meta/site/arm-common | |||
@@ -35,9 +35,6 @@ compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes} | |||
35 | compat_cv_func_basename_works=${compat_cv_func_basename_works=no} | 35 | compat_cv_func_basename_works=${compat_cv_func_basename_works=no} |
36 | compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} | 36 | compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} |
37 | 37 | ||
38 | # fnmatch | ||
39 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
40 | |||
41 | # gettext | 38 | # gettext |
42 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} | 39 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} |
43 | 40 | ||
diff --git a/meta/site/common-glibc b/meta/site/common-glibc index 958699b143..822e30d3c7 100644 --- a/meta/site/common-glibc +++ b/meta/site/common-glibc | |||
@@ -14,6 +14,7 @@ ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} | |||
14 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} | 14 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} |
15 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} | 15 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} |
16 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} | 16 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} |
17 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
17 | 18 | ||
18 | # bash | 19 | # bash |
19 | bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes} | 20 | bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes} |
diff --git a/meta/site/common-musl b/meta/site/common-musl index 0fd0413819..4c2c4092a8 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -17,6 +17,7 @@ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} | |||
17 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} | 17 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} |
18 | # off_t is always 64bit on musl systems | 18 | # off_t is always 64bit on musl systems |
19 | ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} | 19 | ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} |
20 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
20 | 21 | ||
21 | #dbus-glib | 22 | #dbus-glib |
22 | ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} | 23 | ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} |
diff --git a/meta/site/ix86-common b/meta/site/ix86-common index eae5670d93..a0e57caadf 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common | |||
@@ -75,9 +75,6 @@ ac_cv_uint=${ac_cv_uint=yes} | |||
75 | ac_cv_ulong=${ac_cv_ulong=yes} | 75 | ac_cv_ulong=${ac_cv_ulong=yes} |
76 | ac_cv_ushort=${ac_cv_ushort=yes} | 76 | ac_cv_ushort=${ac_cv_ushort=yes} |
77 | 77 | ||
78 | # intercom | ||
79 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
80 | |||
81 | # jikes-native | 78 | # jikes-native |
82 | ac_cv_sizeof_wchar_t=4 | 79 | ac_cv_sizeof_wchar_t=4 |
83 | 80 | ||
diff --git a/meta/site/mips-linux b/meta/site/mips-linux index 91570ec309..dbd2ae5d1f 100644 --- a/meta/site/mips-linux +++ b/meta/site/mips-linux | |||
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
44 | # vim | 44 | # vim |
45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
46 | 46 | ||
47 | # intercom | ||
48 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
49 | |||
50 | # lmbench | 47 | # lmbench |
51 | ac_cv_uint=${ac_cv_unit=yes} | 48 | ac_cv_uint=${ac_cv_unit=yes} |
52 | 49 | ||
diff --git a/meta/site/mips64-linux b/meta/site/mips64-linux index 7e05b94a09..da804d4ae6 100644 --- a/meta/site/mips64-linux +++ b/meta/site/mips64-linux | |||
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
44 | # vim | 44 | # vim |
45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
46 | 46 | ||
47 | # intercom | ||
48 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
49 | |||
50 | # lmbench | 47 | # lmbench |
51 | ac_cv_uint=${ac_cv_unit=yes} | 48 | ac_cv_uint=${ac_cv_unit=yes} |
52 | 49 | ||
diff --git a/meta/site/mips64el-linux b/meta/site/mips64el-linux index 1e1d7687c2..060bf81807 100644 --- a/meta/site/mips64el-linux +++ b/meta/site/mips64el-linux | |||
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
45 | # vim | 45 | # vim |
46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
47 | 47 | ||
48 | # intercom | ||
49 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
50 | |||
51 | #lmbench | 48 | #lmbench |
52 | ac_cv_uint=${ac_cv_unit=yes} | 49 | ac_cv_uint=${ac_cv_unit=yes} |
53 | 50 | ||
diff --git a/meta/site/mipsel-linux b/meta/site/mipsel-linux index a3077f2161..ae190b74f3 100644 --- a/meta/site/mipsel-linux +++ b/meta/site/mipsel-linux | |||
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
45 | # vim | 45 | # vim |
46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
47 | 47 | ||
48 | # intercom | ||
49 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
50 | |||
51 | #lmbench | 48 | #lmbench |
52 | ac_cv_uint=${ac_cv_unit=yes} | 49 | ac_cv_uint=${ac_cv_unit=yes} |
53 | 50 | ||
diff --git a/meta/site/mipsisa32r6-linux b/meta/site/mipsisa32r6-linux index 91570ec309..dbd2ae5d1f 100644 --- a/meta/site/mipsisa32r6-linux +++ b/meta/site/mipsisa32r6-linux | |||
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
44 | # vim | 44 | # vim |
45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
46 | 46 | ||
47 | # intercom | ||
48 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
49 | |||
50 | # lmbench | 47 | # lmbench |
51 | ac_cv_uint=${ac_cv_unit=yes} | 48 | ac_cv_uint=${ac_cv_unit=yes} |
52 | 49 | ||
diff --git a/meta/site/mipsisa32r6el-linux b/meta/site/mipsisa32r6el-linux index a3077f2161..ae190b74f3 100644 --- a/meta/site/mipsisa32r6el-linux +++ b/meta/site/mipsisa32r6el-linux | |||
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
45 | # vim | 45 | # vim |
46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
47 | 47 | ||
48 | # intercom | ||
49 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
50 | |||
51 | #lmbench | 48 | #lmbench |
52 | ac_cv_uint=${ac_cv_unit=yes} | 49 | ac_cv_uint=${ac_cv_unit=yes} |
53 | 50 | ||
diff --git a/meta/site/mipsisa64r6-linux b/meta/site/mipsisa64r6-linux index 7e05b94a09..da804d4ae6 100644 --- a/meta/site/mipsisa64r6-linux +++ b/meta/site/mipsisa64r6-linux | |||
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
44 | # vim | 44 | # vim |
45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 45 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
46 | 46 | ||
47 | # intercom | ||
48 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
49 | |||
50 | # lmbench | 47 | # lmbench |
51 | ac_cv_uint=${ac_cv_unit=yes} | 48 | ac_cv_uint=${ac_cv_unit=yes} |
52 | 49 | ||
diff --git a/meta/site/mipsisa64r6el-linux b/meta/site/mipsisa64r6el-linux index 1e1d7687c2..060bf81807 100644 --- a/meta/site/mipsisa64r6el-linux +++ b/meta/site/mipsisa64r6el-linux | |||
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} | |||
45 | # vim | 45 | # vim |
46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} | 46 | ac_cv_sizeof_int=${ac_cv_sizeof_int=4} |
47 | 47 | ||
48 | # intercom | ||
49 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
50 | |||
51 | #lmbench | 48 | #lmbench |
52 | ac_cv_uint=${ac_cv_unit=yes} | 49 | ac_cv_uint=${ac_cv_unit=yes} |
53 | 50 | ||
diff --git a/meta/site/nios2-linux b/meta/site/nios2-linux index 58ffcbc7e2..57c3f5b988 100644 --- a/meta/site/nios2-linux +++ b/meta/site/nios2-linux | |||
@@ -47,9 +47,6 @@ compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes} | |||
47 | compat_cv_func_basename_works=${compat_cv_func_basename_works=no} | 47 | compat_cv_func_basename_works=${compat_cv_func_basename_works=no} |
48 | compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} | 48 | compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} |
49 | 49 | ||
50 | # fnmatch | ||
51 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
52 | |||
53 | # gettext | 50 | # gettext |
54 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} | 51 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} |
55 | 52 | ||
diff --git a/meta/site/sh-common b/meta/site/sh-common index 720d454351..f2481652c9 100644 --- a/meta/site/sh-common +++ b/meta/site/sh-common | |||
@@ -150,9 +150,6 @@ mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} | |||
150 | # gettext | 150 | # gettext |
151 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} | 151 | am_cv_func_working_getline=${am_cv_func_working_getline=yes} |
152 | 152 | ||
153 | # fnmatch | ||
154 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||
155 | |||
156 | # rsync | 153 | # rsync |
157 | rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} | 154 | rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} |
158 | rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes} | 155 | rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes} |
diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux index ed9c88fa20..b9ee141fd5 100644 --- a/meta/site/x86_64-linux +++ b/meta/site/x86_64-linux | |||
@@ -83,6 +83,3 @@ ac_cv_func__restgpr_14_x=no | |||
83 | 83 | ||
84 | # cvs | 84 | # cvs |
85 | cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} | 85 | cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} |
86 | |||
87 | # cabextract | ||
88 | ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} | ||