summaryrefslogtreecommitdiff
path: root/ext/posix/config.m4
diff options
context:
space:
mode:
authorKristian Köhntopp <kk@php.net>2000-07-26 21:25:01 +0000
committerKristian Köhntopp <kk@php.net>2000-07-26 21:25:01 +0000
commit102156298a889c27aaaa11c36d10ba1644fae2e6 (patch)
tree9f5c346508dabc9f1cfdf31dfb11acf7a57b2aa0 /ext/posix/config.m4
parentf1f91467fa2e93d8436936aab12bebc140790618 (diff)
downloadphp-git-102156298a889c27aaaa11c36d10ba1644fae2e6.tar.gz
Added seteuid and setegid functions on request by max@valkyrie.sscf.ucsb.edu.
Also fixed the function detection for the HAVE_ functions.
Diffstat (limited to 'ext/posix/config.m4')
-rw-r--r--ext/posix/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4
index cc17d0329f..6ee4ba5b36 100644
--- a/ext/posix/config.m4
+++ b/ext/posix/config.m4
@@ -2,12 +2,12 @@ dnl $Id$
dnl config.m4 for extension posix
dnl don't forget to call PHP_EXTENSION(posix)
-
-
PHP_ARG_ENABLE(posix,whether to include POSIX-like functions,
[ --disable-posix Disable POSIX-like functions], yes)
if test "$PHP_POSIX" = "yes"; then
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
PHP_EXTENSION(posix, $ext_shared)
+
+ AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid ctermid mkfifo getrlimit)
fi