From: Ross Burton Date: Fri, 7 Jun 2024 10:07:01 +0000 (+0000) Subject: site: move ac_cv_func_fnmatch_works to libc files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b81ae7affa25eaad016c3ed347a9c4fef0bfee45;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/site/arm-common b/meta/site/arm-common index 18c6d422008..d1dd8848118 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} compat_cv_func_basename_works=${compat_cv_func_basename_works=no} compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} -# fnmatch -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes} diff --git a/meta/site/common-glibc b/meta/site/common-glibc index 958699b143f..822e30d3c7f 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} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} ac_cv_func_strtod=${ac_cv_func_strtod=yes} +ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} # bash bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes} diff --git a/meta/site/common-musl b/meta/site/common-musl index 0fd0413819e..4c2c4092a88 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} ac_cv_func_strtod=${ac_cv_func_strtod=yes} # off_t is always 64bit on musl systems ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} +ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} #dbus-glib ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} diff --git a/meta/site/ix86-common b/meta/site/ix86-common index eae5670d937..a0e57caadf5 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common @@ -75,9 +75,6 @@ ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes} ac_cv_ushort=${ac_cv_ushort=yes} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # jikes-native ac_cv_sizeof_wchar_t=4 diff --git a/meta/site/mips-linux b/meta/site/mips-linux index 91570ec3098..dbd2ae5d1f4 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mips64-linux b/meta/site/mips64-linux index 7e05b94a093..da804d4ae6f 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mips64el-linux b/meta/site/mips64el-linux index 1e1d7687c28..060bf81807e 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - #lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mipsel-linux b/meta/site/mipsel-linux index a3077f21610..ae190b74f38 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - #lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mipsisa32r6-linux b/meta/site/mipsisa32r6-linux index 91570ec3098..dbd2ae5d1f4 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mipsisa32r6el-linux b/meta/site/mipsisa32r6el-linux index a3077f21610..ae190b74f38 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - #lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mipsisa64r6-linux b/meta/site/mipsisa64r6-linux index 7e05b94a093..da804d4ae6f 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/mipsisa64r6el-linux b/meta/site/mipsisa64r6el-linux index 1e1d7687c28..060bf81807e 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} # vim ac_cv_sizeof_int=${ac_cv_sizeof_int=4} -# intercom -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - #lmbench ac_cv_uint=${ac_cv_unit=yes} diff --git a/meta/site/nios2-linux b/meta/site/nios2-linux index 58ffcbc7e2f..57c3f5b988d 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} compat_cv_func_basename_works=${compat_cv_func_basename_works=no} compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} -# fnmatch -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes} diff --git a/meta/site/sh-common b/meta/site/sh-common index 720d4543518..f2481652c98 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} # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes} -# fnmatch -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} - # rsync rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes} diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux index ed9c88fa20f..b9ee141fd5c 100644 --- a/meta/site/x86_64-linux +++ b/meta/site/x86_64-linux @@ -83,6 +83,3 @@ ac_cv_func__restgpr_14_x=no # cvs cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} - -# cabextract -ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}