]> granicus.if.org Git - sudo/commitdiff
Add --disable-setreuid flag
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Jan 2002 02:01:09 +0000 (02:01 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Jan 2002 02:01:09 +0000 (02:01 +0000)
configure.in

index 653fde00873297730b34a4fe01430afb8d603949..6a53a5a8d3d4cd2d08efa062ec8685026ead7907 100644 (file)
@@ -979,6 +979,15 @@ AC_ARG_ENABLE(root-mailer,
   esac
 ], AC_MSG_RESULT(no))
 
+AC_ARG_ENABLE(setreuid,
+[  --disable-setreuid      Don't try to use the setreuid() function],
+[ case "$enableval" in
+    no)                BROKEN_SETREUID=1
+               ;;
+    *)         ;;
+  esac
+])
+
 AC_MSG_CHECKING(whether to disable use of POSIX saved ids)
 AC_ARG_ENABLE(saved-ids,
 [  --disable-saved-ids     Don't try to use POSIX saved ids],