Now that gnulib provides a wrapper, assume it always exists.
+2021-06-08 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac (AC_CHECK_FUNCS_ONCE): Remove chown.
+ * simops.c (OP_10007E0): Remove HAVE_CHOWN check.
+ * config.in, configure: Regenerate.
+
2021-05-29 Mike Frysinger <vapier@gentoo.org>
* simops.c (OP_10007E0): Add (void*) casts to argv & envp.
/* Define to 1 if you have the `chmod' function. */
#undef HAVE_CHMOD
-/* Define to 1 if you have the `chown' function. */
-#undef HAVE_CHOWN
-
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
as_fn_append ac_func_list " fork"
as_fn_append ac_func_list " execve"
as_fn_append ac_func_list " execv"
-as_fn_append ac_func_list " chown"
as_fn_append ac_header_list " utime.h"
# Check that the precious variables saved in the cache have kept the same
# value.
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11223 "configure"
+#line 11222 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11329 "configure"
+#line 11328 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-
-
# Check whether --enable-werror was given.
if test "${enable_werror+set}" = set; then :
enableval=$enable_werror; case "${enableval}" in
SIM_AC_OPTION_RESERVED_BITS
SIM_AC_OPTION_BITSIZE(32,31)
-AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv chown)
+AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv)
AC_CHECK_HEADERS_ONCE(utime.h)
SIM_AC_OUTPUT
break;
#endif
-#ifdef HAVE_CHOWN
#ifdef TARGET_SYS_chown
case TARGET_SYS_chown:
{
}
break;
#endif
-#endif
#if HAVE_CHMOD
#ifdef TARGET_SYS_chmod