author | Brian Cameron <brian.cameron@oracle.com> |
Tue, 02 Apr 2013 15:14:34 -0700 | |
changeset 1246 | 164605dfef4e |
parent 885 | 2af25a1da825 |
child 1914 | 00e8dbcb9b1e |
permissions | -rw-r--r-- |
458 | 1 |
# |
2 |
# This patch makes the pyconfig.h header file 32/64 bit friendly. |
|
3 |
# |
|
4 |
--- Python-2.7.1/configure.in.orig Tue Jul 12 14:46:56 2011 |
|
5 |
+++ Python-2.7.1/configure.in Tue Jul 12 14:47:05 2011 |
|
885
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
6 |
@@ -5,7 +5,7 @@ |
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
7 |
# Set VERSION so we only need to edit in one place (i.e., here) |
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
8 |
m4_define(PYTHON_VERSION, 2.7) |
458 | 9 |
|
885
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
10 |
-AC_PREREQ(2.65) |
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
11 |
+AC_PREREQ(2.68) |
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
12 |
|
2af25a1da825
7177355 python 2.7.1 should be updated to the latest 2.7.X release
Rich Burridge <rich.burridge@oracle.com>
parents:
698
diff
changeset
|
13 |
AC_REVISION($Revision$) |
458 | 14 |
AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) |
15 |
@@ -1906,12 +1941,6 @@ |
|
16 |
if test -z "$CCSHARED" |
|
17 |
then |
|
18 |
case $ac_sys_system/$ac_sys_release in |
|
19 |
- SunOS*) if test "$GCC" = yes; |
|
20 |
- then CCSHARED="-fPIC"; |
|
21 |
- elif test `uname -p` = sparc; |
|
22 |
- then CCSHARED="-xcode=pic32"; |
|
23 |
- else CCSHARED="-Kpic"; |
|
24 |
- fi;; |
|
25 |
hp*|HP*) if test "$GCC" = yes; |
|
26 |
then CCSHARED="-fPIC"; |
|
27 |
else CCSHARED="+z"; |