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: 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 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 -- cgit v0.12