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>
This commit is contained in:
Ross Burton
2024-06-07 10:07:01 +00:00
committed by Richard Purdie
parent b6fe561023
commit 2c7663d724
15 changed files with 2 additions and 39 deletions

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}