]> git.saurik.com Git - apt.git/blobdiff - configure.ac
test if TMPDIR is accessible before using
[apt.git] / configure.ac
index 89950fccda957a503466cbd080c89e41e29d5583..5d0e0a9dbc77892fd4fd252322e410ba514afa7b 100644 (file)
@@ -172,6 +172,12 @@ AC_EGREP_HEADER(h_errno, netdb.h, [AC_MSG_RESULT(normal)],
        [AC_MSG_ERROR("not found.")])
    ])
 
+
+dnl check for setuid checking function
+AC_CHECK_FUNCS(getresuid getresgid)
+AC_SUBST(HAVE_GETRESUID)
+AC_SUBST(HAVE_GETRESGID)
+
 dnl Check for doxygen
 AC_PATH_PROG(DOXYGEN, doxygen)