diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-05-11 08:55:06 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-05-11 08:55:06 (GMT) |
commit | 5e13e291e0e2c7e8a8a7a3d1895a641277582e07 (patch) | |
tree | 1c575fd9593ed04fbce00dd3e18f81aa8c1a4119 /configure | |
parent | 035fbba859a7834cb2d8f55a1975a813343eea10 (diff) | |
download | cpython-5e13e291e0e2c7e8a8a7a3d1895a641277582e07.zip cpython-5e13e291e0e2c7e8a8a7a3d1895a641277582e07.tar.gz cpython-5e13e291e0e2c7e8a8a7a3d1895a641277582e07.tar.bz2 |
Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 80970 . +# From configure.in Revision: 81004 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 2.7. # @@ -5410,7 +5410,7 @@ else int main () { -int main() { return 0; } + ; return 0; } @@ -5602,7 +5602,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext int main () { -int main() { return 0; } + ; return 0; } @@ -5644,7 +5644,7 @@ else int main () { -int main() { return 0; } + ; return 0; } @@ -9731,7 +9731,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 @@ -9760,7 +9759,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 @@ -9789,7 +9787,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 @@ -10109,7 +10106,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 @@ -10139,7 +10135,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> @@ -10172,7 +10167,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> @@ -10205,7 +10199,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> |