diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2003-09-27 09:12:27 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2003-09-27 09:12:27 (GMT) |
commit | c050119de7a7269471cd11d4e1c07a6041983f31 (patch) | |
tree | ef9f72ded6baff92c7fe1a09d10cc5127a8ade01 /configure | |
parent | e1b38c48fa7aebd3c2891a2fd61fa055d23a62ab (diff) | |
download | cpython-c050119de7a7269471cd11d4e1c07a6041983f31.zip cpython-c050119de7a7269471cd11d4e1c07a6041983f31.tar.gz cpython-c050119de7a7269471cd11d4e1c07a6041983f31.tar.bz2 |
fix for bug #811160 - autoconf vs. hp/ux system header files.
also applied to release23-maint.
Note that aclocal.m4 can go away when autoconf 2.58 is out.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 98 |
1 files changed, 65 insertions, 33 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.435 . +# From configure.in Revision: 1.436 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for python 2.4. # @@ -11361,8 +11361,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_detach (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -12312,8 +12314,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -12897,8 +12901,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -13112,8 +13118,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14010,8 +14018,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14156,8 +14166,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14309,8 +14321,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14398,8 +14412,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14485,8 +14501,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14609,8 +14627,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -14733,8 +14753,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -15113,8 +15135,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -16478,8 +16502,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname_r (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -16753,8 +16779,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -16846,8 +16874,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __fpu_control (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> @@ -17078,8 +17108,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ -#ifdef __STDC__ + <limits.h> exists even on freestanding compilers. Under hpux, + including <limits.h> includes <sys/time.h> and causes problems + checking for functions defined therein. */ +#if defined (__STDC__) && !defined (_HPUX_SOURCE) # include <limits.h> #else # include <assert.h> |