From 4daacb1a829a7c2c5c70fffb188d165e6fad2f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 28 Mar 2003 18:37:01 +0000 Subject: [PATCH] Add test for setpgrp. Fixes #690317. --- configure | 9 +++++---- configure.in | 2 +- pyconfig.h.in | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 0d9e495834c..a005779b243 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` @@ -12101,6 +12101,7 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6 + for ac_func in alarm chown clock confstr ctermid execv \ @@ -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 bc575916574..586e60ad83b 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 e0ab1b9e92b..9d2447b146c 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