diff options
author | Jesus Cea <jcea@jcea.es> | 2010-04-28 11:35:30 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2010-04-28 11:35:30 (GMT) |
commit | 740f53a6006cc8d8897a843394700cd8ec0dc0d6 (patch) | |
tree | 0667001848c10fd2b81cda777e229f52a4468fcd /configure | |
parent | d99cd81df5bee3eb5a5de0dcc5d5046da3db9006 (diff) | |
download | cpython-740f53a6006cc8d8897a843394700cd8ec0dc0d6.zip cpython-740f53a6006cc8d8897a843394700cd8ec0dc0d6.tar.gz cpython-740f53a6006cc8d8897a843394700cd8ec0dc0d6.tar.bz2 |
Merged revisions 80574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80574 | jesus.cea | 2010-04-28 12:32:30 +0200 (Wed, 28 Apr 2010) | 1 line
Issue #3928: Support 'os.mknod()' in Solaris
........
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 80478 . +# From configure.in Revision: 80481 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.2. # @@ -1928,11 +1928,11 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default - enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; +static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; + 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; test_array [0] = 0 ; @@ -1943,11 +1943,11 @@ if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default - enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) +static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; + ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; test_array [0] = 0 @@ -6274,11 +6274,19 @@ $as_echo_n "checking for makedev... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - #include <sys/types.h> +#if defined(MAJOR_IN_MKDEV) +#include <sys/mkdev.h> +#elif defined(MAJOR_IN_SYSMACROS) +#include <sys/sysmacros.h> +#else +#include <sys/types.h> +#endif + int main () { - makedev(0, 0) + + makedev(0, 0) ; return 0; } |