mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Recorded merge of revisions 81077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests; remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov. ........
This commit is contained in:
parent
899e9a0e7a
commit
8c2b6f1f5a
2 changed files with 11 additions and 25 deletions
19
configure
vendored
19
configure
vendored
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 80728 .
|
||||
# From configure.in Revision: 80834 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.65 for python 3.2.
|
||||
#
|
||||
|
@ -5337,7 +5337,7 @@ else
|
|||
int
|
||||
main ()
|
||||
{
|
||||
int main() { return 0; }
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -5350,11 +5350,11 @@ if ac_fn_c_try_compile "$LINENO"; then :
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
|
||||
void f(int **x) {}
|
||||
int
|
||||
main ()
|
||||
{
|
||||
void f(int **x) {} int main() { double *x; f((int **) &x); return 0; }
|
||||
double *x; f((int **) &x);
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -5557,7 +5557,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|||
int
|
||||
main ()
|
||||
{
|
||||
int main() { return 0; }
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -5599,7 +5599,7 @@ else
|
|||
int
|
||||
main ()
|
||||
{
|
||||
int main() { return 0; }
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
@ -9548,7 +9548,6 @@ $as_echo_n "checking for ctermid_r... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
|
@ -9577,7 +9576,6 @@ $as_echo_n "checking for flock... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <sys/file.h>
|
||||
|
||||
int
|
||||
|
@ -9606,7 +9604,6 @@ $as_echo_n "checking for getpagesize... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <unistd.h>
|
||||
|
||||
int
|
||||
|
@ -9926,7 +9923,6 @@ $as_echo_n "checking for hstrerror... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <netdb.h>
|
||||
|
||||
int
|
||||
|
@ -9956,7 +9952,6 @@ $as_echo_n "checking for inet_aton... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
@ -9989,7 +9984,6 @@ $as_echo_n "checking for inet_pton... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
@ -10022,7 +10016,6 @@ $as_echo_n "checking for setgroups... " >&6; }
|
|||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
#include "confdefs.h"
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_GRP_H
|
||||
#include <grp.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue