From patchwork Fri Jun 7 10:07:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 44801 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A0D1C27C55 for ; Fri, 7 Jun 2024 10:07:19 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.38220.1717754829002627864 for ; Fri, 07 Jun 2024 03:07:09 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0519A2F4 for ; Fri, 7 Jun 2024 03:07:33 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 43CE83F64C for ; Fri, 7 Jun 2024 03:07:08 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 1/6] site: move ac_cv_func_fnmatch_works to libc files Date: Fri, 7 Jun 2024 10:07:01 +0000 Message-Id: <20240607100706.3174227-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 07 Jun 2024 10:07:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200428 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 --- meta/site/arm-common | 3 --- meta/site/common-glibc | 1 + meta/site/common-musl | 1 + meta/site/ix86-common | 3 --- meta/site/mips-linux | 3 --- meta/site/mips64-linux | 3 --- meta/site/mips64el-linux | 3 --- meta/site/mipsel-linux | 3 --- meta/site/mipsisa32r6-linux | 3 --- meta/site/mipsisa32r6el-linux | 3 --- meta/site/mipsisa64r6-linux | 3 --- meta/site/mipsisa64r6el-linux | 3 --- meta/site/nios2-linux | 3 --- meta/site/sh-common | 3 --- 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 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}