Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d6640d4b
Commit
d6640d4b
authored
Jul 06, 2003
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include grp.h in setgroups test. Fixes #765822.
parent
b25229d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
configure
configure
+7
-3
configure.in
configure.in
+4
-0
No files found.
configure
View file @
d6640d4b
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.42
0
.
# From configure.in Revision: 1.42
1
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
#
...
@@ -908,7 +908,7 @@ esac
...
@@ -908,7 +908,7 @@ esac
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
# absolute.
ac_abs_builddir
=
`
cd
"
$ac_dir
"
&&
cd
$ac_builddir
&&
pwd
`
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_srcdir
=
`
cd
"
$ac_dir
"
&&
cd
$ac_srcdir
&&
pwd
`
ac_abs_top_srcdir
=
`
cd
"
$ac_dir
"
&&
cd
$ac_top_srcdir
&&
pwd
`
ac_abs_top_srcdir
=
`
cd
"
$ac_dir
"
&&
cd
$ac_top_srcdir
&&
pwd
`
...
@@ -13123,6 +13123,7 @@ echo "${ECHO_T}no" >&6
...
@@ -13123,6 +13123,7 @@ echo "${ECHO_T}no" >&6
fi
fi
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
rm
-f
conftest.
$ac_objext
conftest.
$ac_ext
# On some systems, setgroups is in unistd.h, on others, in grp.h
echo
"
$as_me
:
$LINENO
: checking for setgroups"
>
&5
echo
"
$as_me
:
$LINENO
: checking for setgroups"
>
&5
echo
$ECHO_N
"checking for setgroups...
$ECHO_C
"
>
&6
echo
$ECHO_N
"checking for setgroups...
$ECHO_C
"
>
&6
cat
>
conftest.
$ac_ext
<<
_ACEOF
cat
>
conftest.
$ac_ext
<<
_ACEOF
...
@@ -13131,6 +13132,9 @@ cat >conftest.$ac_ext <<_ACEOF
...
@@ -13131,6 +13132,9 @@ cat >conftest.$ac_ext <<_ACEOF
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
#ifdef F77_DUMMY_MAIN
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
# ifdef __cplusplus
...
@@ -18450,7 +18454,7 @@ esac
...
@@ -18450,7 +18454,7 @@ esac
# Don't blindly perform a `cd "
$ac_dir
"/
$ac_foo
&& pwd` since
$ac_foo
can be
# Don't blindly perform a `cd "
$ac_dir
"/
$ac_foo
&& pwd` since
$ac_foo
can be
# absolute.
# absolute.
ac_abs_builddir=`cd "
$ac_dir
" && cd
$ac_builddir
&& pwd`
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_srcdir=`cd "
$ac_dir
" && cd
$ac_srcdir
&& pwd`
ac_abs_top_srcdir=`cd "
$ac_dir
" && cd
$ac_top_srcdir
&& pwd`
ac_abs_top_srcdir=`cd "
$ac_dir
" && cd
$ac_top_srcdir
&& pwd`
...
...
configure.in
View file @
d6640d4b
...
@@ -2127,10 +2127,14 @@ AC_TRY_COMPILE([
...
@@ -2127,10 +2127,14 @@ AC_TRY_COMPILE([
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
)
)
# On some systems, setgroups is in unistd.h, on others, in grp.h
AC_MSG_CHECKING(for setgroups)
AC_MSG_CHECKING(for setgroups)
AC_TRY_COMPILE([
AC_TRY_COMPILE([
#include "confdefs.h"
#include "confdefs.h"
#include <unistd.h>
#include <unistd.h>
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
],
],
void* p = setgroups,
void* p = setgroups,
AC_DEFINE(HAVE_SETGROUPS, 1, Define if you have the 'setgroups' function.)
AC_DEFINE(HAVE_SETGROUPS, 1, Define if you have the 'setgroups' function.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment