diff --git a/src/modules/system/configure.in b/src/modules/system/configure.in
index 0bc82fe108173108d70e8b41cb7de46fb2eb0c5a..e3c8b89aeac1dc330c1b7d2ece60db78067d9d9e 100644
--- a/src/modules/system/configure.in
+++ b/src/modules/system/configure.in
@@ -12,9 +12,10 @@ AC_HAVE_HEADERS(syslog.h sys/syslog.h sys/types.h errno.h unistd.h pwd.h \
 	sys/utsname.h pwd.h passwd.h shadow.h grp.h)
 
 AC_HAVE_FUNCS(syslog link symlink readlink \
-	initgroups seteuid setresuid geteuid getpgrp getpgid getppid \
+	initgroups seteuid setresuid setegid setresgid \
+        geteuid getpgrp getpgid getppid \
 	getpwnam getspnam getpwent setpwent endpwent \
-	fchroot uname gethostname gethostbyname)
+	chroot fchroot uname gethostname gethostbyname)
 
 
 AC_CHECK_LIB(nsl, gethostbyname)