summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-07-18 20:25:46 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-07-18 20:25:46 (GMT)
commitaf4c12f4c3cf69d3868c7d03543e3ac39e46d5f5 (patch)
treef0d6f9193a51b4fa8aa6f2f45bd55196b1a91a51 /configure.in
parent0d7b8bc772c8ca7962c58a917bf7e074b0ad3dd2 (diff)
downloadcpython-af4c12f4c3cf69d3868c7d03543e3ac39e46d5f5.zip
cpython-af4c12f4c3cf69d3868c7d03543e3ac39e46d5f5.tar.gz
cpython-af4c12f4c3cf69d3868c7d03543e3ac39e46d5f5.tar.bz2
Use AC_FUNC_SETPGRP.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 5fbe2ec..69bbd7f 100644
--- a/configure.in
+++ b/configure.in
@@ -1632,12 +1632,8 @@ AC_CHECK_FUNCS(getpgrp,
[Define if getpgrp() must be called as getpgrp(0).])
)
)
-AC_CHECK_FUNCS(setpgrp,
- AC_TRY_COMPILE([#include <unistd.h>],
- [setpgrp(0,0);],
- AC_DEFINE(SETPGRP_HAVE_ARG, 1,
- [Define if setpgrp() must be called as setpgrp(0, 0).])
- )
+AC_FUNC_SETPGRP(AC_DEFINE(SETPGRP_HAVE_ARG, 1,
+ [Define if setpgrp() must be called as setpgrp(0, 0).])
)
AC_CHECK_FUNCS(gettimeofday,
AC_TRY_COMPILE([#include <sys/time.h>],