From 9226635ab28b5ca44ec04931d27c5c3313d56e61 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 21 Jul 2011 17:17:35 -0700 Subject: siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc These functions are determined by the C library so move them to common-glibc and common-uclibc Signed-off-by: Tom Rini --- meta/site/arm-common | 4 ---- meta/site/arm-linux | 5 ----- meta/site/arm-linux-uclibc | 5 ----- meta/site/armeb-linux | 5 ----- meta/site/armeb-linux-uclibc | 5 ----- meta/site/common-glibc | 7 +++++++ meta/site/common-uclibc | 7 +++++++ meta/site/ix86-common | 6 ------ meta/site/mips-linux | 6 ------ meta/site/mips-linux-uclibc | 6 ------ meta/site/mipsel-linux | 6 ------ meta/site/mipsel-linux-uclibc | 4 ---- meta/site/powerpc-linux | 6 ------ meta/site/sh-common | 4 ---- meta/site/sparc-linux | 4 ---- meta/site/x86_64-linux | 6 ------ meta/site/x86_64-linux-uclibc | 5 ----- 17 files changed, 14 insertions(+), 77 deletions(-) diff --git a/meta/site/arm-common b/meta/site/arm-common index c216b578ee..04d116463a 100644 --- a/meta/site/arm-common +++ b/meta/site/arm-common @@ -48,9 +48,6 @@ ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes} -# gio -ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} - # glib glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4} @@ -67,7 +64,6 @@ glib_cv_va_copy=${glib_cv_va_copy=yes} glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} glib_cv___va_copy=${glib_cv___va_copy=yes} glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes} glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes} glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes} diff --git a/meta/site/arm-linux b/meta/site/arm-linux index 2442f72d85..22b455a7ef 100644 --- a/meta/site/arm-linux +++ b/meta/site/arm-linux @@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -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_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} diff --git a/meta/site/arm-linux-uclibc b/meta/site/arm-linux-uclibc index 70d09088a0..6ae7c6e09d 100644 --- a/meta/site/arm-linux-uclibc +++ b/meta/site/arm-linux-uclibc @@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} diff --git a/meta/site/armeb-linux b/meta/site/armeb-linux index ecff3da294..6521ff584a 100644 --- a/meta/site/armeb-linux +++ b/meta/site/armeb-linux @@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -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_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} diff --git a/meta/site/armeb-linux-uclibc b/meta/site/armeb-linux-uclibc index 836581084c..731e857dc2 100644 --- a/meta/site/armeb-linux-uclibc +++ b/meta/site/armeb-linux-uclibc @@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -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_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} diff --git a/meta/site/common-glibc b/meta/site/common-glibc index 9339655352..8cfa695872 100644 --- a/meta/site/common-glibc +++ b/meta/site/common-glibc @@ -5,6 +5,13 @@ ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes} +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} +ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} +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_type_uid_t={ac_cv_type_uid_t=yes} # bash diff --git a/meta/site/common-uclibc b/meta/site/common-uclibc index 8ea192ca0a..093f60ee7b 100644 --- a/meta/site/common-uclibc +++ b/meta/site/common-uclibc @@ -4,6 +4,13 @@ ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} +ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} +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} # glib glib_cv_strlcpy=${glib_cv_strlcpy=no} diff --git a/meta/site/ix86-common b/meta/site/ix86-common index 11f556ad74..7a7e253f21 100644 --- a/meta/site/ix86-common +++ b/meta/site/ix86-common @@ -21,15 +21,11 @@ ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4} ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4} ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=4} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no} ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no} @@ -106,9 +102,7 @@ glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # guile ac_cv_uchar=${ac_cv_uchar=no} diff --git a/meta/site/mips-linux b/meta/site/mips-linux index a3f445c167..807e55219a 100644 --- a/meta/site/mips-linux +++ b/meta/site/mips-linux @@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} @@ -35,9 +32,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2} @@ -55,7 +50,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} diff --git a/meta/site/mips-linux-uclibc b/meta/site/mips-linux-uclibc index a3f445c167..807e55219a 100644 --- a/meta/site/mips-linux-uclibc +++ b/meta/site/mips-linux-uclibc @@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} @@ -35,9 +32,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2} @@ -55,7 +50,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} diff --git a/meta/site/mipsel-linux b/meta/site/mipsel-linux index 248523c338..c59d85fe62 100644 --- a/meta/site/mipsel-linux +++ b/meta/site/mipsel-linux @@ -1,7 +1,5 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} @@ -35,10 +33,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} - # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2} @@ -56,7 +51,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} diff --git a/meta/site/mipsel-linux-uclibc b/meta/site/mipsel-linux-uclibc index c5abe2b867..3c8f41e4a3 100644 --- a/meta/site/mipsel-linux-uclibc +++ b/meta/site/mipsel-linux-uclibc @@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} @@ -48,7 +45,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} diff --git a/meta/site/powerpc-linux b/meta/site/powerpc-linux index 93a94f59bc..74eb0a71f8 100644 --- a/meta/site/powerpc-linux +++ b/meta/site/powerpc-linux @@ -1,9 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -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} - # startup-notification lf_cv_sane_realloc=yes diff --git a/meta/site/sh-common b/meta/site/sh-common index c335f318e1..26a612ad43 100644 --- a/meta/site/sh-common +++ b/meta/site/sh-common @@ -1,6 +1,3 @@ -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} @@ -127,7 +124,6 @@ glib_cv_va_copy=${glib_cv_va_copy=no} glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} glib_cv___va_copy=${glib_cv___va_copy=yes} glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes} glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes} glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes} diff --git a/meta/site/sparc-linux b/meta/site/sparc-linux index a0ac8d1b4e..49d0d9a3d6 100644 --- a/meta/site/sparc-linux +++ b/meta/site/sparc-linux @@ -1,7 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1} diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux index 48e94da825..968dedcb3f 100644 --- a/meta/site/x86_64-linux +++ b/meta/site/x86_64-linux @@ -1,10 +1,6 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no} @@ -96,8 +92,6 @@ ac_cv_alignof_CORBA_short=2 ac_cv_alignof_CORBA_struct=1 ac_cv_alignof_CORBA_wchar=2 -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} - sudo_cv_uid_t=${sudo_cv_uid_t_len=10} lf_cv_sane_realloc=yes as_cv_unaligned_access=${as_cv_unaligned_access=yes} diff --git a/meta/site/x86_64-linux-uclibc b/meta/site/x86_64-linux-uclibc index be74642024..469924061b 100644 --- a/meta/site/x86_64-linux-uclibc +++ b/meta/site/x86_64-linux-uclibc @@ -1,10 +1,6 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no} @@ -65,7 +61,6 @@ am_cv_func_working_getline=${am_cv_func_working_getline=yes} # glib-2.0 glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libidl libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} -- cgit 1.2.3-korg