NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / euidaccess
index 56bcf28..e34b76b 100644 (file)
@@ -8,12 +8,17 @@ m4/euidaccess.m4
 Depends-on:
 unistd
 extensions
+root-uid
 group-member    [test $HAVE_EUIDACCESS = 0]
 stat            [test $HAVE_EUIDACCESS = 0]
 sys_stat        [test $HAVE_EUIDACCESS = 0]
 
 configure.ac:
 gl_FUNC_EUIDACCESS
+if test $HAVE_EUIDACCESS = 0; then
+  AC_LIBOBJ([euidaccess])
+  gl_PREREQ_EUIDACCESS
+fi
 gl_UNISTD_MODULE_INDICATOR([euidaccess])
 
 Makefile.am: