summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-03-28 18:37:01 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-03-28 18:37:01 (GMT)
commit4daacb1a829a7c2c5c70fffb188d165e6fad2f95 (patch)
treeee62c170d4199acba5e09a95bfd27e552937315b
parentbd379e9627af0c53b09693cf43f3b8bcaad39da0 (diff)
downloadcpython-4daacb1a829a7c2c5c70fffb188d165e6fad2f95.zip
cpython-4daacb1a829a7c2c5c70fffb188d165e6fad2f95.tar.gz
cpython-4daacb1a829a7c2c5c70fffb188d165e6fad2f95.tar.bz2
Add test for setpgrp. Fixes #690317.
-rwxr-xr-xconfigure9
-rw-r--r--configure.in2
-rw-r--r--pyconfig.h.in3
3 files changed, 9 insertions, 5 deletions
diff --git a/configure b/configure
index 0d9e495..a005779 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.394 .
+# From configure.in Revision: 1.395 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -908,7 +908,7 @@ esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
@@ -12103,6 +12103,7 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
+
for ac_func in alarm chown clock confstr ctermid execv \
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
@@ -12111,7 +12112,7 @@ for ac_func in alarm chown clock confstr ctermid execv \
mremap nice pathconf pause plock poll pthread_init \
putenv readlink realpath \
select setegid seteuid setgid \
- setlocale setregid setreuid setsid setpgid setuid setvbuf snprintf \
+ setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
sigaction siginterrupt sigrelse strftime strptime \
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname unsetenv utimes waitpid wcscoll _getpty
@@ -17666,7 +17667,7 @@ esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
diff --git a/configure.in b/configure.in
index bc57591..586e60a 100644
--- a/configure.in
+++ b/configure.in
@@ -1852,7 +1852,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
mremap nice pathconf pause plock poll pthread_init \
putenv readlink realpath \
select setegid seteuid setgid \
- setlocale setregid setreuid setsid setpgid setuid setvbuf snprintf \
+ setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
sigaction siginterrupt sigrelse strftime strptime \
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
truncate uname unsetenv utimes waitpid wcscoll _getpty)
diff --git a/pyconfig.h.in b/pyconfig.h.in
index e0ab1b9..9d2447b 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -378,6 +378,9 @@
/* Define to 1 if you have the `setpgid' function. */
#undef HAVE_SETPGID
+/* Define to 1 if you have the `setpgrp' function. */
+#undef HAVE_SETPGRP
+
/* Define to 1 if you have the `setregid' function. */
#undef HAVE_SETREGID