Status: | Merged |
---|---|
Merge reported by: | Barry Warsaw |
Merged at revision: | not available |
Proposed branch: | lp:~barry/python/sovers |
Merge into: | lp:python/py3k |
Diff against target: |
1886 lines (+438/-341) 6 files modified
Lib/distutils/tests/test_build_ext.py (+3/-4) Makefile.pre.in (+6/-0) Python/dynload_shlib.c (+13/-6) configure (+352/-298) configure.in (+63/-32) pyconfig.h.in (+1/-1) |
To merge this branch: | bzr merge lp:~barry/python/sovers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adil Ishaq (community) | cookies | Needs Fixing | |
Python Development | Pending | ||
Review via email: mp+29411@code.launchpad.net |
Commit message
Description of the change
Adds ./configure --with-so-abi-tag to set the .so tag for importing and distutils extension building.
To post a comment you must log in.
lp:~barry/python/sovers
updated
- 41938. By Barry Warsaw
-
Modify the search order so that $SOABI.so is searched first.
- 41939. By Barry Warsaw
-
The distutils changes aren't necessary for strict PEP 3149 support. When PEP
384 is implemented, it might... or might not. - 41940. By Barry Warsaw
-
trunk merge
- 41941. By Barry Warsaw
-
trunk merge
- 41942. By Barry Warsaw
-
Fix compilation of dynload_shlib.c to reflect new cflags variables.
- 41943. By Barry Warsaw
-
trunk merge
- 41944. By Barry Warsaw
-
mergtopolis
- 41945. By Barry Warsaw
-
Trunk merge.
- 41946. By Barry Warsaw
-
trunk merge
- 41947. By Barry Warsaw
-
trunk merge
- 41948. By Barry Warsaw
-
branch merge
- 41949. By Barry Warsaw
-
trunk merge
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Lib/distutils/tests/test_build_ext.py' | |||
2 | --- Lib/distutils/tests/test_build_ext.py 2010-07-22 11:50:05 +0000 | |||
3 | +++ Lib/distutils/tests/test_build_ext.py 2010-09-03 17:02:41 +0000 | |||
4 | @@ -323,8 +323,8 @@ | |||
5 | 323 | finally: | 323 | finally: |
6 | 324 | os.chdir(old_wd) | 324 | os.chdir(old_wd) |
7 | 325 | self.assertTrue(os.path.exists(so_file)) | 325 | self.assertTrue(os.path.exists(so_file)) |
10 | 326 | self.assertEquals(os.path.splitext(so_file)[-1], | 326 | so_ext = sysconfig.get_config_var('SO') |
11 | 327 | sysconfig.get_config_var('SO')) | 327 | self.assertTrue(so_file.endswith(so_ext)) |
12 | 328 | so_dir = os.path.dirname(so_file) | 328 | so_dir = os.path.dirname(so_file) |
13 | 329 | self.assertEquals(so_dir, other_tmp_dir) | 329 | self.assertEquals(so_dir, other_tmp_dir) |
14 | 330 | 330 | ||
15 | @@ -333,8 +333,7 @@ | |||
16 | 333 | cmd.run() | 333 | cmd.run() |
17 | 334 | so_file = cmd.get_outputs()[0] | 334 | so_file = cmd.get_outputs()[0] |
18 | 335 | self.assertTrue(os.path.exists(so_file)) | 335 | self.assertTrue(os.path.exists(so_file)) |
21 | 336 | self.assertEquals(os.path.splitext(so_file)[-1], | 336 | self.assertTrue(so_file.endswith(so_ext)) |
20 | 337 | sysconfig.get_config_var('SO')) | ||
22 | 338 | so_dir = os.path.dirname(so_file) | 337 | so_dir = os.path.dirname(so_file) |
23 | 339 | self.assertEquals(so_dir, cmd.build_lib) | 338 | self.assertEquals(so_dir, cmd.build_lib) |
24 | 340 | 339 | ||
25 | 341 | 340 | ||
26 | === modified file 'Makefile.pre.in' | |||
27 | --- Makefile.pre.in 2010-08-15 14:47:25 +0000 | |||
28 | +++ Makefile.pre.in 2010-09-03 17:02:41 +0000 | |||
29 | @@ -35,6 +35,7 @@ | |||
30 | 35 | AR= @AR@ | 35 | AR= @AR@ |
31 | 36 | RANLIB= @RANLIB@ | 36 | RANLIB= @RANLIB@ |
32 | 37 | SVNVERSION= @SVNVERSION@ | 37 | SVNVERSION= @SVNVERSION@ |
33 | 38 | SOABI= @SOABI@ | ||
34 | 38 | 39 | ||
35 | 39 | GNULD= @GNULD@ | 40 | GNULD= @GNULD@ |
36 | 40 | 41 | ||
37 | @@ -559,6 +560,11 @@ | |||
38 | 559 | Modules/python.o: $(srcdir)/Modules/python.c | 560 | Modules/python.o: $(srcdir)/Modules/python.c |
39 | 560 | $(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Modules/python.c | 561 | $(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Modules/python.c |
40 | 561 | 562 | ||
41 | 563 | Python/dynload_shlib.o: $(srcdir)/Python/dynload_shlib.c Makefile | ||
42 | 564 | $(CC) -c $(PY_CORE_CFLAGS) \ | ||
43 | 565 | -DSOABI='"$(SOABI)"' \ | ||
44 | 566 | -o $@ $(srcdir)/Python/dynload_shlib.c | ||
45 | 567 | |||
46 | 562 | $(IO_OBJS): $(IO_H) | 568 | $(IO_OBJS): $(IO_H) |
47 | 563 | 569 | ||
48 | 564 | # Use a stamp file to prevent make -j invoking pgen twice | 570 | # Use a stamp file to prevent make -j invoking pgen twice |
49 | 565 | 571 | ||
50 | === modified file 'Python/dynload_shlib.c' | |||
51 | --- Python/dynload_shlib.c 2010-05-09 14:52:27 +0000 | |||
52 | +++ Python/dynload_shlib.c 2010-09-03 17:02:41 +0000 | |||
53 | @@ -30,27 +30,34 @@ | |||
54 | 30 | #define LEAD_UNDERSCORE "" | 30 | #define LEAD_UNDERSCORE "" |
55 | 31 | #endif | 31 | #endif |
56 | 32 | 32 | ||
57 | 33 | /* The .so extension module ABI tag, supplied by the Makefile via | ||
58 | 34 | Makefile.pre.in and configure. This is used to discriminate between | ||
59 | 35 | incompatible .so files so that extensions for different Python builds can | ||
60 | 36 | live in the same directory. E.g. foomodule.cpython-32.so | ||
61 | 37 | */ | ||
62 | 33 | 38 | ||
63 | 34 | const struct filedescr _PyImport_DynLoadFiletab[] = { | 39 | const struct filedescr _PyImport_DynLoadFiletab[] = { |
64 | 35 | #ifdef __CYGWIN__ | 40 | #ifdef __CYGWIN__ |
65 | 36 | {".dll", "rb", C_EXTENSION}, | 41 | {".dll", "rb", C_EXTENSION}, |
66 | 37 | {"module.dll", "rb", C_EXTENSION}, | 42 | {"module.dll", "rb", C_EXTENSION}, |
68 | 38 | #else | 43 | #else /* !__CYGWIN__ */ |
69 | 39 | #if defined(PYOS_OS2) && defined(PYCC_GCC) | 44 | #if defined(PYOS_OS2) && defined(PYCC_GCC) |
70 | 40 | {".pyd", "rb", C_EXTENSION}, | 45 | {".pyd", "rb", C_EXTENSION}, |
71 | 41 | {".dll", "rb", C_EXTENSION}, | 46 | {".dll", "rb", C_EXTENSION}, |
73 | 42 | #else | 47 | #else /* !(defined(PYOS_OS2) && defined(PYCC_GCC)) */ |
74 | 43 | #ifdef __VMS | 48 | #ifdef __VMS |
75 | 44 | {".exe", "rb", C_EXTENSION}, | 49 | {".exe", "rb", C_EXTENSION}, |
76 | 45 | {".EXE", "rb", C_EXTENSION}, | 50 | {".EXE", "rb", C_EXTENSION}, |
77 | 46 | {"module.exe", "rb", C_EXTENSION}, | 51 | {"module.exe", "rb", C_EXTENSION}, |
78 | 47 | {"MODULE.EXE", "rb", C_EXTENSION}, | 52 | {"MODULE.EXE", "rb", C_EXTENSION}, |
80 | 48 | #else | 53 | #else /* !__VMS */ |
81 | 54 | {"." SOABI ".so", "rb", C_EXTENSION}, | ||
82 | 49 | {".so", "rb", C_EXTENSION}, | 55 | {".so", "rb", C_EXTENSION}, |
83 | 56 | {"module." SOABI ".so", "rb", C_EXTENSION}, | ||
84 | 50 | {"module.so", "rb", C_EXTENSION}, | 57 | {"module.so", "rb", C_EXTENSION}, |
88 | 51 | #endif | 58 | #endif /* __VMS */ |
89 | 52 | #endif | 59 | #endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */ |
90 | 53 | #endif | 60 | #endif /* __CYGWIN__ */ |
91 | 54 | {0, 0} | 61 | {0, 0} |
92 | 55 | }; | 62 | }; |
93 | 56 | 63 | ||
94 | 57 | 64 | ||
95 | === modified file 'configure' | |||
96 | --- configure 2010-08-31 19:51:07 +0000 | |||
97 | +++ configure 2010-09-03 17:02:41 +0000 | |||
98 | @@ -1,14 +1,14 @@ | |||
99 | 1 | #! /bin/sh | 1 | #! /bin/sh |
100 | 2 | # From configure.in Revision: 83986 . | 2 | # From configure.in Revision: 83986 . |
101 | 3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
103 | 4 | # Generated by GNU Autoconf 2.65 for python 3.2. | 4 | # Generated by GNU Autoconf 2.67 for python 3.2. |
104 | 5 | # | 5 | # |
105 | 6 | # Report bugs to <http://bugs.python.org/>. | 6 | # Report bugs to <http://bugs.python.org/>. |
106 | 7 | # | 7 | # |
107 | 8 | # | 8 | # |
108 | 9 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 9 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
111 | 10 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 10 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
112 | 11 | # Inc. | 11 | # Foundation, Inc. |
113 | 12 | # | 12 | # |
114 | 13 | # | 13 | # |
115 | 14 | # This configure script is free software; the Free Software Foundation | 14 | # This configure script is free software; the Free Software Foundation |
116 | @@ -320,7 +320,7 @@ | |||
117 | 320 | test -d "$as_dir" && break | 320 | test -d "$as_dir" && break |
118 | 321 | done | 321 | done |
119 | 322 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 322 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
121 | 323 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 323 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
122 | 324 | 324 | ||
123 | 325 | 325 | ||
124 | 326 | } # as_fn_mkdir_p | 326 | } # as_fn_mkdir_p |
125 | @@ -360,19 +360,19 @@ | |||
126 | 360 | fi # as_fn_arith | 360 | fi # as_fn_arith |
127 | 361 | 361 | ||
128 | 362 | 362 | ||
131 | 363 | # as_fn_error ERROR [LINENO LOG_FD] | 363 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
132 | 364 | # --------------------------------- | 364 | # ---------------------------------------- |
133 | 365 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 365 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
134 | 366 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 366 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
136 | 367 | # script with status $?, using 1 if that was 0. | 367 | # script with STATUS, using 1 if that was 0. |
137 | 368 | as_fn_error () | 368 | as_fn_error () |
138 | 369 | { | 369 | { |
143 | 370 | as_status=$?; test $as_status -eq 0 && as_status=1 | 370 | as_status=$1; test $as_status -eq 0 && as_status=1 |
144 | 371 | if test "$3"; then | 371 | if test "$4"; then |
145 | 372 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 372 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
146 | 373 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 373 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
147 | 374 | fi | 374 | fi |
149 | 375 | $as_echo "$as_me: error: $1" >&2 | 375 | $as_echo "$as_me: error: $2" >&2 |
150 | 376 | as_fn_exit $as_status | 376 | as_fn_exit $as_status |
151 | 377 | } # as_fn_error | 377 | } # as_fn_error |
152 | 378 | 378 | ||
153 | @@ -534,7 +534,7 @@ | |||
154 | 534 | exec 6>&1 | 534 | exec 6>&1 |
155 | 535 | 535 | ||
156 | 536 | # Name of the host. | 536 | # Name of the host. |
158 | 537 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 537 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
159 | 538 | # so uname gets run too. | 538 | # so uname gets run too. |
160 | 539 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 539 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
161 | 540 | 540 | ||
162 | @@ -598,6 +598,7 @@ | |||
163 | 598 | ac_subst_vars='LTLIBOBJS | 598 | ac_subst_vars='LTLIBOBJS |
164 | 599 | SRCDIRS | 599 | SRCDIRS |
165 | 600 | THREADHEADERS | 600 | THREADHEADERS |
166 | 601 | SOABI | ||
167 | 601 | LIBC | 602 | LIBC |
168 | 602 | LIBM | 603 | LIBM |
169 | 603 | HAVE_GETHOSTBYNAME | 604 | HAVE_GETHOSTBYNAME |
170 | @@ -825,8 +826,9 @@ | |||
171 | 825 | fi | 826 | fi |
172 | 826 | 827 | ||
173 | 827 | case $ac_option in | 828 | case $ac_option in |
176 | 828 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 829 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
177 | 829 | *) ac_optarg=yes ;; | 830 | *=) ac_optarg= ;; |
178 | 831 | *) ac_optarg=yes ;; | ||
179 | 830 | esac | 832 | esac |
180 | 831 | 833 | ||
181 | 832 | # Accept the important Cygnus configure options, so we can diagnose typos. | 834 | # Accept the important Cygnus configure options, so we can diagnose typos. |
182 | @@ -871,7 +873,7 @@ | |||
183 | 871 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 873 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
184 | 872 | # Reject names that are not valid shell variable names. | 874 | # Reject names that are not valid shell variable names. |
185 | 873 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 875 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
187 | 874 | as_fn_error "invalid feature name: $ac_useropt" | 876 | as_fn_error $? "invalid feature name: $ac_useropt" |
188 | 875 | ac_useropt_orig=$ac_useropt | 877 | ac_useropt_orig=$ac_useropt |
189 | 876 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 878 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
190 | 877 | case $ac_user_opts in | 879 | case $ac_user_opts in |
191 | @@ -897,7 +899,7 @@ | |||
192 | 897 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 899 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
193 | 898 | # Reject names that are not valid shell variable names. | 900 | # Reject names that are not valid shell variable names. |
194 | 899 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 901 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
196 | 900 | as_fn_error "invalid feature name: $ac_useropt" | 902 | as_fn_error $? "invalid feature name: $ac_useropt" |
197 | 901 | ac_useropt_orig=$ac_useropt | 903 | ac_useropt_orig=$ac_useropt |
198 | 902 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 904 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
199 | 903 | case $ac_user_opts in | 905 | case $ac_user_opts in |
200 | @@ -1101,7 +1103,7 @@ | |||
201 | 1101 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1103 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
202 | 1102 | # Reject names that are not valid shell variable names. | 1104 | # Reject names that are not valid shell variable names. |
203 | 1103 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1105 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
205 | 1104 | as_fn_error "invalid package name: $ac_useropt" | 1106 | as_fn_error $? "invalid package name: $ac_useropt" |
206 | 1105 | ac_useropt_orig=$ac_useropt | 1107 | ac_useropt_orig=$ac_useropt |
207 | 1106 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1108 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
208 | 1107 | case $ac_user_opts in | 1109 | case $ac_user_opts in |
209 | @@ -1117,7 +1119,7 @@ | |||
210 | 1117 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1119 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
211 | 1118 | # Reject names that are not valid shell variable names. | 1120 | # Reject names that are not valid shell variable names. |
212 | 1119 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1121 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
214 | 1120 | as_fn_error "invalid package name: $ac_useropt" | 1122 | as_fn_error $? "invalid package name: $ac_useropt" |
215 | 1121 | ac_useropt_orig=$ac_useropt | 1123 | ac_useropt_orig=$ac_useropt |
216 | 1122 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1124 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
217 | 1123 | case $ac_user_opts in | 1125 | case $ac_user_opts in |
218 | @@ -1147,8 +1149,8 @@ | |||
219 | 1147 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1149 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
220 | 1148 | x_libraries=$ac_optarg ;; | 1150 | x_libraries=$ac_optarg ;; |
221 | 1149 | 1151 | ||
224 | 1150 | -*) as_fn_error "unrecognized option: \`$ac_option' | 1152 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
225 | 1151 | Try \`$0 --help' for more information." | 1153 | Try \`$0 --help' for more information" |
226 | 1152 | ;; | 1154 | ;; |
227 | 1153 | 1155 | ||
228 | 1154 | *=*) | 1156 | *=*) |
229 | @@ -1156,7 +1158,7 @@ | |||
230 | 1156 | # Reject names that are not valid shell variable names. | 1158 | # Reject names that are not valid shell variable names. |
231 | 1157 | case $ac_envvar in #( | 1159 | case $ac_envvar in #( |
232 | 1158 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1160 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
234 | 1159 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1161 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
235 | 1160 | esac | 1162 | esac |
236 | 1161 | eval $ac_envvar=\$ac_optarg | 1163 | eval $ac_envvar=\$ac_optarg |
237 | 1162 | export $ac_envvar ;; | 1164 | export $ac_envvar ;; |
238 | @@ -1174,13 +1176,13 @@ | |||
239 | 1174 | 1176 | ||
240 | 1175 | if test -n "$ac_prev"; then | 1177 | if test -n "$ac_prev"; then |
241 | 1176 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1178 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
243 | 1177 | as_fn_error "missing argument to $ac_option" | 1179 | as_fn_error $? "missing argument to $ac_option" |
244 | 1178 | fi | 1180 | fi |
245 | 1179 | 1181 | ||
246 | 1180 | if test -n "$ac_unrecognized_opts"; then | 1182 | if test -n "$ac_unrecognized_opts"; then |
247 | 1181 | case $enable_option_checking in | 1183 | case $enable_option_checking in |
248 | 1182 | no) ;; | 1184 | no) ;; |
250 | 1183 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1185 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
251 | 1184 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1186 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
252 | 1185 | esac | 1187 | esac |
253 | 1186 | fi | 1188 | fi |
254 | @@ -1203,7 +1205,7 @@ | |||
255 | 1203 | [\\/$]* | ?:[\\/]* ) continue;; | 1205 | [\\/$]* | ?:[\\/]* ) continue;; |
256 | 1204 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1206 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
257 | 1205 | esac | 1207 | esac |
259 | 1206 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1208 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
260 | 1207 | done | 1209 | done |
261 | 1208 | 1210 | ||
262 | 1209 | # There might be people who depend on the old broken behavior: `$host' | 1211 | # There might be people who depend on the old broken behavior: `$host' |
263 | @@ -1217,8 +1219,8 @@ | |||
264 | 1217 | if test "x$host_alias" != x; then | 1219 | if test "x$host_alias" != x; then |
265 | 1218 | if test "x$build_alias" = x; then | 1220 | if test "x$build_alias" = x; then |
266 | 1219 | cross_compiling=maybe | 1221 | cross_compiling=maybe |
269 | 1220 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1222 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
270 | 1221 | If a cross compiler is detected then cross compile mode will be used." >&2 | 1223 | If a cross compiler is detected then cross compile mode will be used" >&2 |
271 | 1222 | elif test "x$build_alias" != "x$host_alias"; then | 1224 | elif test "x$build_alias" != "x$host_alias"; then |
272 | 1223 | cross_compiling=yes | 1225 | cross_compiling=yes |
273 | 1224 | fi | 1226 | fi |
274 | @@ -1233,9 +1235,9 @@ | |||
275 | 1233 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1235 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
276 | 1234 | ac_ls_di=`ls -di .` && | 1236 | ac_ls_di=`ls -di .` && |
277 | 1235 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1237 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
279 | 1236 | as_fn_error "working directory cannot be determined" | 1238 | as_fn_error $? "working directory cannot be determined" |
280 | 1237 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1239 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
282 | 1238 | as_fn_error "pwd does not report name of working directory" | 1240 | as_fn_error $? "pwd does not report name of working directory" |
283 | 1239 | 1241 | ||
284 | 1240 | 1242 | ||
285 | 1241 | # Find the source files, if location was not specified. | 1243 | # Find the source files, if location was not specified. |
286 | @@ -1274,11 +1276,11 @@ | |||
287 | 1274 | fi | 1276 | fi |
288 | 1275 | if test ! -r "$srcdir/$ac_unique_file"; then | 1277 | if test ! -r "$srcdir/$ac_unique_file"; then |
289 | 1276 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1278 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
291 | 1277 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1279 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
292 | 1278 | fi | 1280 | fi |
293 | 1279 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1281 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
294 | 1280 | ac_abs_confdir=`( | 1282 | ac_abs_confdir=`( |
296 | 1281 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1283 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
297 | 1282 | pwd)` | 1284 | pwd)` |
298 | 1283 | # When building in place, set srcdir=. | 1285 | # When building in place, set srcdir=. |
299 | 1284 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1286 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
300 | @@ -1318,7 +1320,7 @@ | |||
301 | 1318 | --help=short display options specific to this package | 1320 | --help=short display options specific to this package |
302 | 1319 | --help=recursive display the short help of all the included packages | 1321 | --help=recursive display the short help of all the included packages |
303 | 1320 | -V, --version display version information and exit | 1322 | -V, --version display version information and exit |
305 | 1321 | -q, --quiet, --silent do not print \`checking...' messages | 1323 | -q, --quiet, --silent do not print \`checking ...' messages |
306 | 1322 | --cache-file=FILE cache test results in FILE [disabled] | 1324 | --cache-file=FILE cache test results in FILE [disabled] |
307 | 1323 | -C, --config-cache alias for \`--cache-file=config.cache' | 1325 | -C, --config-cache alias for \`--cache-file=config.cache' |
308 | 1324 | -n, --no-create do not create output files | 1326 | -n, --no-create do not create output files |
309 | @@ -1503,9 +1505,9 @@ | |||
310 | 1503 | if $ac_init_version; then | 1505 | if $ac_init_version; then |
311 | 1504 | cat <<\_ACEOF | 1506 | cat <<\_ACEOF |
312 | 1505 | python configure 3.2 | 1507 | python configure 3.2 |
314 | 1506 | generated by GNU Autoconf 2.65 | 1508 | generated by GNU Autoconf 2.67 |
315 | 1507 | 1509 | ||
317 | 1508 | Copyright (C) 2009 Free Software Foundation, Inc. | 1510 | Copyright (C) 2010 Free Software Foundation, Inc. |
318 | 1509 | This configure script is free software; the Free Software Foundation | 1511 | This configure script is free software; the Free Software Foundation |
319 | 1510 | gives unlimited permission to copy, distribute and modify it. | 1512 | gives unlimited permission to copy, distribute and modify it. |
320 | 1511 | _ACEOF | 1513 | _ACEOF |
321 | @@ -1575,7 +1577,7 @@ | |||
322 | 1575 | mv -f conftest.er1 conftest.err | 1577 | mv -f conftest.er1 conftest.err |
323 | 1576 | fi | 1578 | fi |
324 | 1577 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1579 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
326 | 1578 | test $ac_status = 0; } >/dev/null && { | 1580 | test $ac_status = 0; } > conftest.i && { |
327 | 1579 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1581 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
328 | 1580 | test ! -s conftest.err | 1582 | test ! -s conftest.err |
329 | 1581 | }; then : | 1583 | }; then : |
330 | @@ -1599,10 +1601,10 @@ | |||
331 | 1599 | ac_fn_c_check_header_mongrel () | 1601 | ac_fn_c_check_header_mongrel () |
332 | 1600 | { | 1602 | { |
333 | 1601 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1603 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
335 | 1602 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1604 | if eval "test \"\${$3+set}\"" = set; then : |
336 | 1603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
337 | 1604 | $as_echo_n "checking for $2... " >&6; } | 1606 | $as_echo_n "checking for $2... " >&6; } |
339 | 1605 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1607 | if eval "test \"\${$3+set}\"" = set; then : |
340 | 1606 | $as_echo_n "(cached) " >&6 | 1608 | $as_echo_n "(cached) " >&6 |
341 | 1607 | fi | 1609 | fi |
342 | 1608 | eval ac_res=\$$3 | 1610 | eval ac_res=\$$3 |
343 | @@ -1638,7 +1640,7 @@ | |||
344 | 1638 | else | 1640 | else |
345 | 1639 | ac_header_preproc=no | 1641 | ac_header_preproc=no |
346 | 1640 | fi | 1642 | fi |
348 | 1641 | rm -f conftest.err conftest.$ac_ext | 1643 | rm -f conftest.err conftest.i conftest.$ac_ext |
349 | 1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
350 | 1643 | $as_echo "$ac_header_preproc" >&6; } | 1645 | $as_echo "$ac_header_preproc" >&6; } |
351 | 1644 | 1646 | ||
352 | @@ -1661,17 +1663,15 @@ | |||
353 | 1661 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | 1663 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
354 | 1662 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 1664 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
355 | 1663 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1665 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
358 | 1664 | ( cat <<\_ASBOX | 1666 | ( $as_echo "## -------------------------------------- ## |
357 | 1665 | ## -------------------------------------- ## | ||
359 | 1666 | ## Report this to http://bugs.python.org/ ## | 1667 | ## Report this to http://bugs.python.org/ ## |
362 | 1667 | ## -------------------------------------- ## | 1668 | ## -------------------------------------- ##" |
361 | 1668 | _ASBOX | ||
363 | 1669 | ) | sed "s/^/$as_me: WARNING: /" >&2 | 1669 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
364 | 1670 | ;; | 1670 | ;; |
365 | 1671 | esac | 1671 | esac |
366 | 1672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
367 | 1673 | $as_echo_n "checking for $2... " >&6; } | 1673 | $as_echo_n "checking for $2... " >&6; } |
369 | 1674 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1674 | if eval "test \"\${$3+set}\"" = set; then : |
370 | 1675 | $as_echo_n "(cached) " >&6 | 1675 | $as_echo_n "(cached) " >&6 |
371 | 1676 | else | 1676 | else |
372 | 1677 | eval "$3=\$ac_header_compiler" | 1677 | eval "$3=\$ac_header_compiler" |
373 | @@ -1735,7 +1735,7 @@ | |||
374 | 1735 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1735 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
375 | 1736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
376 | 1737 | $as_echo_n "checking for $2... " >&6; } | 1737 | $as_echo_n "checking for $2... " >&6; } |
378 | 1738 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1738 | if eval "test \"\${$3+set}\"" = set; then : |
379 | 1739 | $as_echo_n "(cached) " >&6 | 1739 | $as_echo_n "(cached) " >&6 |
380 | 1740 | else | 1740 | else |
381 | 1741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
382 | @@ -1812,7 +1812,7 @@ | |||
383 | 1812 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1812 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
384 | 1813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
385 | 1814 | $as_echo_n "checking for $2... " >&6; } | 1814 | $as_echo_n "checking for $2... " >&6; } |
387 | 1815 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1815 | if eval "test \"\${$3+set}\"" = set; then : |
388 | 1816 | $as_echo_n "(cached) " >&6 | 1816 | $as_echo_n "(cached) " >&6 |
389 | 1817 | else | 1817 | else |
390 | 1818 | eval "$3=no" | 1818 | eval "$3=no" |
391 | @@ -1866,7 +1866,7 @@ | |||
392 | 1866 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1866 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
393 | 1867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | 1867 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
394 | 1868 | $as_echo_n "checking for uint$2_t... " >&6; } | 1868 | $as_echo_n "checking for uint$2_t... " >&6; } |
396 | 1869 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1869 | if eval "test \"\${$3+set}\"" = set; then : |
397 | 1870 | $as_echo_n "(cached) " >&6 | 1870 | $as_echo_n "(cached) " >&6 |
398 | 1871 | else | 1871 | else |
399 | 1872 | eval "$3=no" | 1872 | eval "$3=no" |
400 | @@ -1896,8 +1896,7 @@ | |||
401 | 1896 | esac | 1896 | esac |
402 | 1897 | fi | 1897 | fi |
403 | 1898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
406 | 1899 | eval as_val=\$$3 | 1899 | if eval test \"x\$"$3"\" = x"no"; then : |
405 | 1900 | if test "x$as_val" = x""no; then : | ||
407 | 1901 | 1900 | ||
408 | 1902 | else | 1901 | else |
409 | 1903 | break | 1902 | break |
410 | @@ -1920,7 +1919,7 @@ | |||
411 | 1920 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1919 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
412 | 1921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | 1920 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
413 | 1922 | $as_echo_n "checking for int$2_t... " >&6; } | 1921 | $as_echo_n "checking for int$2_t... " >&6; } |
415 | 1923 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 1922 | if eval "test \"\${$3+set}\"" = set; then : |
416 | 1924 | $as_echo_n "(cached) " >&6 | 1923 | $as_echo_n "(cached) " >&6 |
417 | 1925 | else | 1924 | else |
418 | 1926 | eval "$3=no" | 1925 | eval "$3=no" |
419 | @@ -1971,8 +1970,7 @@ | |||
420 | 1971 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1970 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
421 | 1972 | fi | 1971 | fi |
422 | 1973 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1972 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
425 | 1974 | eval as_val=\$$3 | 1973 | if eval test \"x\$"$3"\" = x"no"; then : |
424 | 1975 | if test "x$as_val" = x""no; then : | ||
426 | 1976 | 1974 | ||
427 | 1977 | else | 1975 | else |
428 | 1978 | break | 1976 | break |
429 | @@ -2172,7 +2170,7 @@ | |||
430 | 2172 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2170 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
431 | 2173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
432 | 2174 | $as_echo_n "checking for $2... " >&6; } | 2172 | $as_echo_n "checking for $2... " >&6; } |
434 | 2175 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2173 | if eval "test \"\${$3+set}\"" = set; then : |
435 | 2176 | $as_echo_n "(cached) " >&6 | 2174 | $as_echo_n "(cached) " >&6 |
436 | 2177 | else | 2175 | else |
437 | 2178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2176 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
438 | @@ -2240,7 +2238,7 @@ | |||
439 | 2240 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2238 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
440 | 2241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
441 | 2242 | $as_echo_n "checking for $2.$3... " >&6; } | 2240 | $as_echo_n "checking for $2.$3... " >&6; } |
443 | 2243 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 2241 | if eval "test \"\${$4+set}\"" = set; then : |
444 | 2244 | $as_echo_n "(cached) " >&6 | 2242 | $as_echo_n "(cached) " >&6 |
445 | 2245 | else | 2243 | else |
446 | 2246 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2244 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
447 | @@ -2288,15 +2286,18 @@ | |||
448 | 2288 | 2286 | ||
449 | 2289 | } # ac_fn_c_check_member | 2287 | } # ac_fn_c_check_member |
450 | 2290 | 2288 | ||
454 | 2291 | # ac_fn_c_check_decl LINENO SYMBOL VAR | 2289 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
455 | 2292 | # ------------------------------------ | 2290 | # --------------------------------------------- |
456 | 2293 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | 2291 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
457 | 2292 | # accordingly. | ||
458 | 2294 | ac_fn_c_check_decl () | 2293 | ac_fn_c_check_decl () |
459 | 2295 | { | 2294 | { |
460 | 2296 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2295 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
464 | 2297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | 2296 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
465 | 2298 | $as_echo_n "checking whether $2 is declared... " >&6; } | 2297 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
466 | 2299 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | 2298 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
467 | 2299 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | ||
468 | 2300 | if eval "test \"\${$3+set}\"" = set; then : | ||
469 | 2300 | $as_echo_n "(cached) " >&6 | 2301 | $as_echo_n "(cached) " >&6 |
470 | 2301 | else | 2302 | else |
471 | 2302 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
472 | @@ -2305,8 +2306,12 @@ | |||
473 | 2305 | int | 2306 | int |
474 | 2306 | main () | 2307 | main () |
475 | 2307 | { | 2308 | { |
478 | 2308 | #ifndef $2 | 2309 | #ifndef $as_decl_name |
479 | 2309 | (void) $2; | 2310 | #ifdef __cplusplus |
480 | 2311 | (void) $as_decl_use; | ||
481 | 2312 | #else | ||
482 | 2313 | (void) $as_decl_name; | ||
483 | 2314 | #endif | ||
484 | 2310 | #endif | 2315 | #endif |
485 | 2311 | 2316 | ||
486 | 2312 | ; | 2317 | ; |
487 | @@ -2331,7 +2336,7 @@ | |||
488 | 2331 | running configure, to aid debugging if configure makes a mistake. | 2336 | running configure, to aid debugging if configure makes a mistake. |
489 | 2332 | 2337 | ||
490 | 2333 | It was created by python $as_me 3.2, which was | 2338 | It was created by python $as_me 3.2, which was |
492 | 2334 | generated by GNU Autoconf 2.65. Invocation command line was | 2339 | generated by GNU Autoconf 2.67. Invocation command line was |
493 | 2335 | 2340 | ||
494 | 2336 | $ $0 $@ | 2341 | $ $0 $@ |
495 | 2337 | 2342 | ||
496 | @@ -2441,11 +2446,9 @@ | |||
497 | 2441 | { | 2446 | { |
498 | 2442 | echo | 2447 | echo |
499 | 2443 | 2448 | ||
502 | 2444 | cat <<\_ASBOX | 2449 | $as_echo "## ---------------- ## |
501 | 2445 | ## ---------------- ## | ||
503 | 2446 | ## Cache variables. ## | 2450 | ## Cache variables. ## |
506 | 2447 | ## ---------------- ## | 2451 | ## ---------------- ##" |
505 | 2448 | _ASBOX | ||
507 | 2449 | echo | 2452 | echo |
508 | 2450 | # The following way of writing the cache mishandles newlines in values, | 2453 | # The following way of writing the cache mishandles newlines in values, |
509 | 2451 | ( | 2454 | ( |
510 | @@ -2479,11 +2482,9 @@ | |||
511 | 2479 | ) | 2482 | ) |
512 | 2480 | echo | 2483 | echo |
513 | 2481 | 2484 | ||
516 | 2482 | cat <<\_ASBOX | 2485 | $as_echo "## ----------------- ## |
515 | 2483 | ## ----------------- ## | ||
517 | 2484 | ## Output variables. ## | 2486 | ## Output variables. ## |
520 | 2485 | ## ----------------- ## | 2487 | ## ----------------- ##" |
519 | 2486 | _ASBOX | ||
521 | 2487 | echo | 2488 | echo |
522 | 2488 | for ac_var in $ac_subst_vars | 2489 | for ac_var in $ac_subst_vars |
523 | 2489 | do | 2490 | do |
524 | @@ -2496,11 +2497,9 @@ | |||
525 | 2496 | echo | 2497 | echo |
526 | 2497 | 2498 | ||
527 | 2498 | if test -n "$ac_subst_files"; then | 2499 | if test -n "$ac_subst_files"; then |
530 | 2499 | cat <<\_ASBOX | 2500 | $as_echo "## ------------------- ## |
529 | 2500 | ## ------------------- ## | ||
531 | 2501 | ## File substitutions. ## | 2501 | ## File substitutions. ## |
534 | 2502 | ## ------------------- ## | 2502 | ## ------------------- ##" |
533 | 2503 | _ASBOX | ||
535 | 2504 | echo | 2503 | echo |
536 | 2505 | for ac_var in $ac_subst_files | 2504 | for ac_var in $ac_subst_files |
537 | 2506 | do | 2505 | do |
538 | @@ -2514,11 +2513,9 @@ | |||
539 | 2514 | fi | 2513 | fi |
540 | 2515 | 2514 | ||
541 | 2516 | if test -s confdefs.h; then | 2515 | if test -s confdefs.h; then |
544 | 2517 | cat <<\_ASBOX | 2516 | $as_echo "## ----------- ## |
543 | 2518 | ## ----------- ## | ||
545 | 2519 | ## confdefs.h. ## | 2517 | ## confdefs.h. ## |
548 | 2520 | ## ----------- ## | 2518 | ## ----------- ##" |
547 | 2521 | _ASBOX | ||
549 | 2522 | echo | 2519 | echo |
550 | 2523 | cat confdefs.h | 2520 | cat confdefs.h |
551 | 2524 | echo | 2521 | echo |
552 | @@ -2573,7 +2570,12 @@ | |||
553 | 2573 | ac_site_file1=NONE | 2570 | ac_site_file1=NONE |
554 | 2574 | ac_site_file2=NONE | 2571 | ac_site_file2=NONE |
555 | 2575 | if test -n "$CONFIG_SITE"; then | 2572 | if test -n "$CONFIG_SITE"; then |
557 | 2576 | ac_site_file1=$CONFIG_SITE | 2573 | # We do not want a PATH search for config.site. |
558 | 2574 | case $CONFIG_SITE in #(( | ||
559 | 2575 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
560 | 2576 | */*) ac_site_file1=$CONFIG_SITE;; | ||
561 | 2577 | *) ac_site_file1=./$CONFIG_SITE;; | ||
562 | 2578 | esac | ||
563 | 2577 | elif test "x$prefix" != xNONE; then | 2579 | elif test "x$prefix" != xNONE; then |
564 | 2578 | ac_site_file1=$prefix/share/config.site | 2580 | ac_site_file1=$prefix/share/config.site |
565 | 2579 | ac_site_file2=$prefix/etc/config.site | 2581 | ac_site_file2=$prefix/etc/config.site |
566 | @@ -2588,7 +2590,11 @@ | |||
567 | 2588 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2590 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
568 | 2589 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2591 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
569 | 2590 | sed 's/^/| /' "$ac_site_file" >&5 | 2592 | sed 's/^/| /' "$ac_site_file" >&5 |
571 | 2591 | . "$ac_site_file" | 2593 | . "$ac_site_file" \ |
572 | 2594 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
573 | 2595 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
574 | 2596 | as_fn_error $? "failed to load site script $ac_site_file | ||
575 | 2597 | See \`config.log' for more details" "$LINENO" 5 ; } | ||
576 | 2592 | fi | 2598 | fi |
577 | 2593 | done | 2599 | done |
578 | 2594 | 2600 | ||
579 | @@ -2664,7 +2670,7 @@ | |||
580 | 2664 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2670 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
581 | 2665 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2671 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
582 | 2666 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2672 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
584 | 2667 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2673 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
585 | 2668 | fi | 2674 | fi |
586 | 2669 | ## -------------------- ## | 2675 | ## -------------------- ## |
587 | 2670 | ## Main body of script. ## | 2676 | ## Main body of script. ## |
588 | @@ -2698,6 +2704,7 @@ | |||
589 | 2698 | 2704 | ||
590 | 2699 | VERSION=3.2 | 2705 | VERSION=3.2 |
591 | 2700 | 2706 | ||
592 | 2707 | # Version number or Python's own shared library file. | ||
593 | 2701 | 2708 | ||
594 | 2702 | SOVERSION=1.0 | 2709 | SOVERSION=1.0 |
595 | 2703 | 2710 | ||
596 | @@ -2764,7 +2771,7 @@ | |||
597 | 2764 | UNIVERSALSDK=$enableval | 2771 | UNIVERSALSDK=$enableval |
598 | 2765 | if test ! -d "${UNIVERSALSDK}" | 2772 | if test ! -d "${UNIVERSALSDK}" |
599 | 2766 | then | 2773 | then |
601 | 2767 | as_fn_error "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5 | 2774 | as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5 |
602 | 2768 | fi | 2775 | fi |
603 | 2769 | ;; | 2776 | ;; |
604 | 2770 | esac | 2777 | esac |
605 | @@ -3156,7 +3163,7 @@ | |||
606 | 3156 | # If the user switches compilers, we can't believe the cache | 3163 | # If the user switches compilers, we can't believe the cache |
607 | 3157 | if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC" | 3164 | if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC" |
608 | 3158 | then | 3165 | then |
610 | 3159 | as_fn_error "cached CC is different -- throw away $cache_file | 3166 | as_fn_error $? "cached CC is different -- throw away $cache_file |
611 | 3160 | (it is also a good idea to do 'make clean' before compiling)" "$LINENO" 5 | 3167 | (it is also a good idea to do 'make clean' before compiling)" "$LINENO" 5 |
612 | 3161 | fi | 3168 | fi |
613 | 3162 | 3169 | ||
614 | @@ -3466,8 +3473,8 @@ | |||
615 | 3466 | 3473 | ||
616 | 3467 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3474 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
617 | 3468 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3475 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
620 | 3469 | as_fn_error "no acceptable C compiler found in \$PATH | 3476 | as_fn_error $? "no acceptable C compiler found in \$PATH |
621 | 3470 | See \`config.log' for more details." "$LINENO" 5; } | 3477 | See \`config.log' for more details" "$LINENO" 5 ; } |
622 | 3471 | 3478 | ||
623 | 3472 | # Provide some information about the compiler. | 3479 | # Provide some information about the compiler. |
624 | 3473 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3480 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
625 | @@ -3581,9 +3588,8 @@ | |||
626 | 3581 | 3588 | ||
627 | 3582 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3589 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
628 | 3583 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3590 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
632 | 3584 | { as_fn_set_status 77 | 3591 | as_fn_error 77 "C compiler cannot create executables |
633 | 3585 | as_fn_error "C compiler cannot create executables | 3592 | See \`config.log' for more details" "$LINENO" 5 ; } |
631 | 3586 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
634 | 3587 | else | 3593 | else |
635 | 3588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
636 | 3589 | $as_echo "yes" >&6; } | 3595 | $as_echo "yes" >&6; } |
637 | @@ -3625,8 +3631,8 @@ | |||
638 | 3625 | else | 3631 | else |
639 | 3626 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3632 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
640 | 3627 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3633 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
643 | 3628 | as_fn_error "cannot compute suffix of executables: cannot compile and link | 3634 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
644 | 3629 | See \`config.log' for more details." "$LINENO" 5; } | 3635 | See \`config.log' for more details" "$LINENO" 5 ; } |
645 | 3630 | fi | 3636 | fi |
646 | 3631 | rm -f conftest conftest$ac_cv_exeext | 3637 | rm -f conftest conftest$ac_cv_exeext |
647 | 3632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
648 | @@ -3683,9 +3689,9 @@ | |||
649 | 3683 | else | 3689 | else |
650 | 3684 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3690 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
651 | 3685 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3691 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
653 | 3686 | as_fn_error "cannot run C compiled programs. | 3692 | as_fn_error $? "cannot run C compiled programs. |
654 | 3687 | If you meant to cross compile, use \`--host'. | 3693 | If you meant to cross compile, use \`--host'. |
656 | 3688 | See \`config.log' for more details." "$LINENO" 5; } | 3694 | See \`config.log' for more details" "$LINENO" 5 ; } |
657 | 3689 | fi | 3695 | fi |
658 | 3690 | fi | 3696 | fi |
659 | 3691 | fi | 3697 | fi |
660 | @@ -3736,8 +3742,8 @@ | |||
661 | 3736 | 3742 | ||
662 | 3737 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3743 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
663 | 3738 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3744 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
666 | 3739 | as_fn_error "cannot compute suffix of object files: cannot compile | 3745 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
667 | 3740 | See \`config.log' for more details." "$LINENO" 5; } | 3746 | See \`config.log' for more details" "$LINENO" 5 ; } |
668 | 3741 | fi | 3747 | fi |
669 | 3742 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3748 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
670 | 3743 | fi | 3749 | fi |
671 | @@ -4190,7 +4196,7 @@ | |||
672 | 4190 | # Broken: fails on valid input. | 4196 | # Broken: fails on valid input. |
673 | 4191 | continue | 4197 | continue |
674 | 4192 | fi | 4198 | fi |
676 | 4193 | rm -f conftest.err conftest.$ac_ext | 4199 | rm -f conftest.err conftest.i conftest.$ac_ext |
677 | 4194 | 4200 | ||
678 | 4195 | # OK, works on sane cases. Now check whether nonexistent headers | 4201 | # OK, works on sane cases. Now check whether nonexistent headers |
679 | 4196 | # can be detected and how. | 4202 | # can be detected and how. |
680 | @@ -4206,11 +4212,11 @@ | |||
681 | 4206 | ac_preproc_ok=: | 4212 | ac_preproc_ok=: |
682 | 4207 | break | 4213 | break |
683 | 4208 | fi | 4214 | fi |
685 | 4209 | rm -f conftest.err conftest.$ac_ext | 4215 | rm -f conftest.err conftest.i conftest.$ac_ext |
686 | 4210 | 4216 | ||
687 | 4211 | done | 4217 | done |
688 | 4212 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4218 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
690 | 4213 | rm -f conftest.err conftest.$ac_ext | 4219 | rm -f conftest.i conftest.err conftest.$ac_ext |
691 | 4214 | if $ac_preproc_ok; then : | 4220 | if $ac_preproc_ok; then : |
692 | 4215 | break | 4221 | break |
693 | 4216 | fi | 4222 | fi |
694 | @@ -4249,7 +4255,7 @@ | |||
695 | 4249 | # Broken: fails on valid input. | 4255 | # Broken: fails on valid input. |
696 | 4250 | continue | 4256 | continue |
697 | 4251 | fi | 4257 | fi |
699 | 4252 | rm -f conftest.err conftest.$ac_ext | 4258 | rm -f conftest.err conftest.i conftest.$ac_ext |
700 | 4253 | 4259 | ||
701 | 4254 | # OK, works on sane cases. Now check whether nonexistent headers | 4260 | # OK, works on sane cases. Now check whether nonexistent headers |
702 | 4255 | # can be detected and how. | 4261 | # can be detected and how. |
703 | @@ -4265,18 +4271,18 @@ | |||
704 | 4265 | ac_preproc_ok=: | 4271 | ac_preproc_ok=: |
705 | 4266 | break | 4272 | break |
706 | 4267 | fi | 4273 | fi |
708 | 4268 | rm -f conftest.err conftest.$ac_ext | 4274 | rm -f conftest.err conftest.i conftest.$ac_ext |
709 | 4269 | 4275 | ||
710 | 4270 | done | 4276 | done |
711 | 4271 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4277 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
713 | 4272 | rm -f conftest.err conftest.$ac_ext | 4278 | rm -f conftest.i conftest.err conftest.$ac_ext |
714 | 4273 | if $ac_preproc_ok; then : | 4279 | if $ac_preproc_ok; then : |
715 | 4274 | 4280 | ||
716 | 4275 | else | 4281 | else |
717 | 4276 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4282 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
718 | 4277 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4283 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
721 | 4278 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4284 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
722 | 4279 | See \`config.log' for more details." "$LINENO" 5; } | 4285 | See \`config.log' for more details" "$LINENO" 5 ; } |
723 | 4280 | fi | 4286 | fi |
724 | 4281 | 4287 | ||
725 | 4282 | ac_ext=c | 4288 | ac_ext=c |
726 | @@ -4337,7 +4343,7 @@ | |||
727 | 4337 | done | 4343 | done |
728 | 4338 | IFS=$as_save_IFS | 4344 | IFS=$as_save_IFS |
729 | 4339 | if test -z "$ac_cv_path_GREP"; then | 4345 | if test -z "$ac_cv_path_GREP"; then |
731 | 4340 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4346 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
732 | 4341 | fi | 4347 | fi |
733 | 4342 | else | 4348 | else |
734 | 4343 | ac_cv_path_GREP=$GREP | 4349 | ac_cv_path_GREP=$GREP |
735 | @@ -4403,7 +4409,7 @@ | |||
736 | 4403 | done | 4409 | done |
737 | 4404 | IFS=$as_save_IFS | 4410 | IFS=$as_save_IFS |
738 | 4405 | if test -z "$ac_cv_path_EGREP"; then | 4411 | if test -z "$ac_cv_path_EGREP"; then |
740 | 4406 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4412 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
741 | 4407 | fi | 4413 | fi |
742 | 4408 | else | 4414 | else |
743 | 4409 | ac_cv_path_EGREP=$EGREP | 4415 | ac_cv_path_EGREP=$EGREP |
744 | @@ -4535,8 +4541,7 @@ | |||
745 | 4535 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4541 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
746 | 4536 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4542 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
747 | 4537 | " | 4543 | " |
750 | 4538 | eval as_val=\$$as_ac_Header | 4544 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
749 | 4539 | if test "x$as_val" = x""yes; then : | ||
751 | 4540 | cat >>confdefs.h <<_ACEOF | 4545 | cat >>confdefs.h <<_ACEOF |
752 | 4541 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4546 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
753 | 4542 | _ACEOF | 4547 | _ACEOF |
754 | @@ -5140,16 +5145,22 @@ | |||
755 | 5140 | esac | 5145 | esac |
756 | 5141 | ac_aux_dir= | 5146 | ac_aux_dir= |
757 | 5142 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 5147 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
765 | 5143 | for ac_t in install-sh install.sh shtool; do | 5148 | if test -f "$ac_dir/install-sh"; then |
766 | 5144 | if test -f "$ac_dir/$ac_t"; then | 5149 | ac_aux_dir=$ac_dir |
767 | 5145 | ac_aux_dir=$ac_dir | 5150 | ac_install_sh="$ac_aux_dir/install-sh -c" |
768 | 5146 | ac_install_sh="$ac_aux_dir/$ac_t -c" | 5151 | break |
769 | 5147 | break 2 | 5152 | elif test -f "$ac_dir/install.sh"; then |
770 | 5148 | fi | 5153 | ac_aux_dir=$ac_dir |
771 | 5149 | done | 5154 | ac_install_sh="$ac_aux_dir/install.sh -c" |
772 | 5155 | break | ||
773 | 5156 | elif test -f "$ac_dir/shtool"; then | ||
774 | 5157 | ac_aux_dir=$ac_dir | ||
775 | 5158 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
776 | 5159 | break | ||
777 | 5160 | fi | ||
778 | 5150 | done | 5161 | done |
779 | 5151 | if test -z "$ac_aux_dir"; then | 5162 | if test -z "$ac_aux_dir"; then |
781 | 5152 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 5163 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
782 | 5153 | fi | 5164 | fi |
783 | 5154 | 5165 | ||
784 | 5155 | # These three variables are undocumented and unsupported, | 5166 | # These three variables are undocumented and unsupported, |
785 | @@ -5264,6 +5275,9 @@ | |||
786 | 5264 | esac | 5275 | esac |
787 | 5265 | fi | 5276 | fi |
788 | 5266 | 5277 | ||
789 | 5278 | # For calculating the .so ABI tag. | ||
790 | 5279 | SOABI_QUALIFIERS="" | ||
791 | 5280 | |||
792 | 5267 | # Check for --with-pydebug | 5281 | # Check for --with-pydebug |
793 | 5268 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5 | 5282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5 |
794 | 5269 | $as_echo_n "checking for --with-pydebug... " >&6; } | 5283 | $as_echo_n "checking for --with-pydebug... " >&6; } |
795 | @@ -5279,6 +5293,7 @@ | |||
796 | 5279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
797 | 5280 | $as_echo "yes" >&6; }; | 5294 | $as_echo "yes" >&6; }; |
798 | 5281 | Py_DEBUG='true' | 5295 | Py_DEBUG='true' |
799 | 5296 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}d" | ||
800 | 5282 | else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5297 | else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
801 | 5283 | $as_echo "no" >&6; }; Py_DEBUG='false' | 5298 | $as_echo "no" >&6; }; Py_DEBUG='false' |
802 | 5284 | fi | 5299 | fi |
803 | @@ -5482,7 +5497,7 @@ | |||
804 | 5482 | ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc" | 5497 | ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc" |
805 | 5483 | 5498 | ||
806 | 5484 | else | 5499 | else |
808 | 5485 | as_fn_error "proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way" "$LINENO" 5 | 5500 | as_fn_error $? "proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way" "$LINENO" 5 |
809 | 5486 | 5501 | ||
810 | 5487 | fi | 5502 | fi |
811 | 5488 | 5503 | ||
812 | @@ -6059,8 +6074,7 @@ | |||
813 | 6059 | do : | 6074 | do : |
814 | 6060 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6075 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
815 | 6061 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6076 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
818 | 6062 | eval as_val=\$$as_ac_Header | 6077 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
817 | 6063 | if test "x$as_val" = x""yes; then : | ||
819 | 6064 | cat >>confdefs.h <<_ACEOF | 6078 | cat >>confdefs.h <<_ACEOF |
820 | 6065 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6079 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
821 | 6066 | _ACEOF | 6080 | _ACEOF |
822 | @@ -6074,7 +6088,7 @@ | |||
823 | 6074 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 6088 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
824 | 6075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | 6089 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
825 | 6076 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | 6090 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
827 | 6077 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : | 6091 | if eval "test \"\${$as_ac_Header+set}\"" = set; then : |
828 | 6078 | $as_echo_n "(cached) " >&6 | 6092 | $as_echo_n "(cached) " >&6 |
829 | 6079 | else | 6093 | else |
830 | 6080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6094 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
831 | @@ -6101,8 +6115,7 @@ | |||
832 | 6101 | eval ac_res=\$$as_ac_Header | 6115 | eval ac_res=\$$as_ac_Header |
833 | 6102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
834 | 6103 | $as_echo "$ac_res" >&6; } | 6117 | $as_echo "$ac_res" >&6; } |
837 | 6104 | eval as_val=\$$as_ac_Header | 6118 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
836 | 6105 | if test "x$as_val" = x""yes; then : | ||
838 | 6106 | cat >>confdefs.h <<_ACEOF | 6119 | cat >>confdefs.h <<_ACEOF |
839 | 6107 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 6120 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
840 | 6108 | _ACEOF | 6121 | _ACEOF |
841 | @@ -6622,9 +6635,8 @@ | |||
842 | 6622 | if test "$ac_cv_type_int" = yes; then | 6635 | if test "$ac_cv_type_int" = yes; then |
843 | 6623 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6636 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
844 | 6624 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6637 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
848 | 6625 | { as_fn_set_status 77 | 6638 | as_fn_error 77 "cannot compute sizeof (int) |
849 | 6626 | as_fn_error "cannot compute sizeof (int) | 6639 | See \`config.log' for more details" "$LINENO" 5 ; } |
847 | 6627 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
850 | 6628 | else | 6640 | else |
851 | 6629 | ac_cv_sizeof_int=0 | 6641 | ac_cv_sizeof_int=0 |
852 | 6630 | fi | 6642 | fi |
853 | @@ -6656,9 +6668,8 @@ | |||
854 | 6656 | if test "$ac_cv_type_long" = yes; then | 6668 | if test "$ac_cv_type_long" = yes; then |
855 | 6657 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6669 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
856 | 6658 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6670 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
860 | 6659 | { as_fn_set_status 77 | 6671 | as_fn_error 77 "cannot compute sizeof (long) |
861 | 6660 | as_fn_error "cannot compute sizeof (long) | 6672 | See \`config.log' for more details" "$LINENO" 5 ; } |
859 | 6661 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
862 | 6662 | else | 6673 | else |
863 | 6663 | ac_cv_sizeof_long=0 | 6674 | ac_cv_sizeof_long=0 |
864 | 6664 | fi | 6675 | fi |
865 | @@ -6690,9 +6701,8 @@ | |||
866 | 6690 | if test "$ac_cv_type_void_p" = yes; then | 6701 | if test "$ac_cv_type_void_p" = yes; then |
867 | 6691 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6702 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
868 | 6692 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6703 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
872 | 6693 | { as_fn_set_status 77 | 6704 | as_fn_error 77 "cannot compute sizeof (void *) |
873 | 6694 | as_fn_error "cannot compute sizeof (void *) | 6705 | See \`config.log' for more details" "$LINENO" 5 ; } |
871 | 6695 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
874 | 6696 | else | 6706 | else |
875 | 6697 | ac_cv_sizeof_void_p=0 | 6707 | ac_cv_sizeof_void_p=0 |
876 | 6698 | fi | 6708 | fi |
877 | @@ -6724,9 +6734,8 @@ | |||
878 | 6724 | if test "$ac_cv_type_short" = yes; then | 6734 | if test "$ac_cv_type_short" = yes; then |
879 | 6725 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6735 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
880 | 6726 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6736 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
884 | 6727 | { as_fn_set_status 77 | 6737 | as_fn_error 77 "cannot compute sizeof (short) |
885 | 6728 | as_fn_error "cannot compute sizeof (short) | 6738 | See \`config.log' for more details" "$LINENO" 5 ; } |
883 | 6729 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
886 | 6730 | else | 6739 | else |
887 | 6731 | ac_cv_sizeof_short=0 | 6740 | ac_cv_sizeof_short=0 |
888 | 6732 | fi | 6741 | fi |
889 | @@ -6758,9 +6767,8 @@ | |||
890 | 6758 | if test "$ac_cv_type_float" = yes; then | 6767 | if test "$ac_cv_type_float" = yes; then |
891 | 6759 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6768 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
892 | 6760 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6769 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
896 | 6761 | { as_fn_set_status 77 | 6770 | as_fn_error 77 "cannot compute sizeof (float) |
897 | 6762 | as_fn_error "cannot compute sizeof (float) | 6771 | See \`config.log' for more details" "$LINENO" 5 ; } |
895 | 6763 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
898 | 6764 | else | 6772 | else |
899 | 6765 | ac_cv_sizeof_float=0 | 6773 | ac_cv_sizeof_float=0 |
900 | 6766 | fi | 6774 | fi |
901 | @@ -6792,9 +6800,8 @@ | |||
902 | 6792 | if test "$ac_cv_type_double" = yes; then | 6800 | if test "$ac_cv_type_double" = yes; then |
903 | 6793 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6801 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
904 | 6794 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6802 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
908 | 6795 | { as_fn_set_status 77 | 6803 | as_fn_error 77 "cannot compute sizeof (double) |
909 | 6796 | as_fn_error "cannot compute sizeof (double) | 6804 | See \`config.log' for more details" "$LINENO" 5 ; } |
907 | 6797 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
910 | 6798 | else | 6805 | else |
911 | 6799 | ac_cv_sizeof_double=0 | 6806 | ac_cv_sizeof_double=0 |
912 | 6800 | fi | 6807 | fi |
913 | @@ -6826,9 +6833,8 @@ | |||
914 | 6826 | if test "$ac_cv_type_fpos_t" = yes; then | 6833 | if test "$ac_cv_type_fpos_t" = yes; then |
915 | 6827 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6834 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
916 | 6828 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6835 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
920 | 6829 | { as_fn_set_status 77 | 6836 | as_fn_error 77 "cannot compute sizeof (fpos_t) |
921 | 6830 | as_fn_error "cannot compute sizeof (fpos_t) | 6837 | See \`config.log' for more details" "$LINENO" 5 ; } |
919 | 6831 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
922 | 6832 | else | 6838 | else |
923 | 6833 | ac_cv_sizeof_fpos_t=0 | 6839 | ac_cv_sizeof_fpos_t=0 |
924 | 6834 | fi | 6840 | fi |
925 | @@ -6860,9 +6866,8 @@ | |||
926 | 6860 | if test "$ac_cv_type_size_t" = yes; then | 6866 | if test "$ac_cv_type_size_t" = yes; then |
927 | 6861 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6867 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
928 | 6862 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6868 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
932 | 6863 | { as_fn_set_status 77 | 6869 | as_fn_error 77 "cannot compute sizeof (size_t) |
933 | 6864 | as_fn_error "cannot compute sizeof (size_t) | 6870 | See \`config.log' for more details" "$LINENO" 5 ; } |
931 | 6865 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
934 | 6866 | else | 6871 | else |
935 | 6867 | ac_cv_sizeof_size_t=0 | 6872 | ac_cv_sizeof_size_t=0 |
936 | 6868 | fi | 6873 | fi |
937 | @@ -6894,9 +6899,8 @@ | |||
938 | 6894 | if test "$ac_cv_type_pid_t" = yes; then | 6899 | if test "$ac_cv_type_pid_t" = yes; then |
939 | 6895 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6900 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
940 | 6896 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6901 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
944 | 6897 | { as_fn_set_status 77 | 6902 | as_fn_error 77 "cannot compute sizeof (pid_t) |
945 | 6898 | as_fn_error "cannot compute sizeof (pid_t) | 6903 | See \`config.log' for more details" "$LINENO" 5 ; } |
943 | 6899 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
946 | 6900 | else | 6904 | else |
947 | 6901 | ac_cv_sizeof_pid_t=0 | 6905 | ac_cv_sizeof_pid_t=0 |
948 | 6902 | fi | 6906 | fi |
949 | @@ -6955,9 +6959,8 @@ | |||
950 | 6955 | if test "$ac_cv_type_long_long" = yes; then | 6959 | if test "$ac_cv_type_long_long" = yes; then |
951 | 6956 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6960 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
952 | 6957 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6961 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
956 | 6958 | { as_fn_set_status 77 | 6962 | as_fn_error 77 "cannot compute sizeof (long long) |
957 | 6959 | as_fn_error "cannot compute sizeof (long long) | 6963 | See \`config.log' for more details" "$LINENO" 5 ; } |
955 | 6960 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
958 | 6961 | else | 6964 | else |
959 | 6962 | ac_cv_sizeof_long_long=0 | 6965 | ac_cv_sizeof_long_long=0 |
960 | 6963 | fi | 6966 | fi |
961 | @@ -7017,9 +7020,8 @@ | |||
962 | 7017 | if test "$ac_cv_type_long_double" = yes; then | 7020 | if test "$ac_cv_type_long_double" = yes; then |
963 | 7018 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7021 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
964 | 7019 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7022 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
968 | 7020 | { as_fn_set_status 77 | 7023 | as_fn_error 77 "cannot compute sizeof (long double) |
969 | 7021 | as_fn_error "cannot compute sizeof (long double) | 7024 | See \`config.log' for more details" "$LINENO" 5 ; } |
967 | 7022 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
970 | 7023 | else | 7025 | else |
971 | 7024 | ac_cv_sizeof_long_double=0 | 7026 | ac_cv_sizeof_long_double=0 |
972 | 7025 | fi | 7027 | fi |
973 | @@ -7080,9 +7082,8 @@ | |||
974 | 7080 | if test "$ac_cv_type__Bool" = yes; then | 7082 | if test "$ac_cv_type__Bool" = yes; then |
975 | 7081 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7083 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
976 | 7082 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7084 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
980 | 7083 | { as_fn_set_status 77 | 7085 | as_fn_error 77 "cannot compute sizeof (_Bool) |
981 | 7084 | as_fn_error "cannot compute sizeof (_Bool) | 7086 | See \`config.log' for more details" "$LINENO" 5 ; } |
979 | 7085 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
982 | 7086 | else | 7087 | else |
983 | 7087 | ac_cv_sizeof__Bool=0 | 7088 | ac_cv_sizeof__Bool=0 |
984 | 7088 | fi | 7089 | fi |
985 | @@ -7126,9 +7127,8 @@ | |||
986 | 7126 | if test "$ac_cv_type_uintptr_t" = yes; then | 7127 | if test "$ac_cv_type_uintptr_t" = yes; then |
987 | 7127 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7128 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
988 | 7128 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7129 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
992 | 7129 | { as_fn_set_status 77 | 7130 | as_fn_error 77 "cannot compute sizeof (uintptr_t) |
993 | 7130 | as_fn_error "cannot compute sizeof (uintptr_t) | 7131 | See \`config.log' for more details" "$LINENO" 5 ; } |
991 | 7131 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
994 | 7132 | else | 7132 | else |
995 | 7133 | ac_cv_sizeof_uintptr_t=0 | 7133 | ac_cv_sizeof_uintptr_t=0 |
996 | 7134 | fi | 7134 | fi |
997 | @@ -7168,9 +7168,8 @@ | |||
998 | 7168 | if test "$ac_cv_type_off_t" = yes; then | 7168 | if test "$ac_cv_type_off_t" = yes; then |
999 | 7169 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7169 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1000 | 7170 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7170 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1004 | 7171 | { as_fn_set_status 77 | 7171 | as_fn_error 77 "cannot compute sizeof (off_t) |
1005 | 7172 | as_fn_error "cannot compute sizeof (off_t) | 7172 | See \`config.log' for more details" "$LINENO" 5 ; } |
1003 | 7173 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
1006 | 7174 | else | 7173 | else |
1007 | 7175 | ac_cv_sizeof_off_t=0 | 7174 | ac_cv_sizeof_off_t=0 |
1008 | 7176 | fi | 7175 | fi |
1009 | @@ -7231,9 +7230,8 @@ | |||
1010 | 7231 | if test "$ac_cv_type_time_t" = yes; then | 7230 | if test "$ac_cv_type_time_t" = yes; then |
1011 | 7232 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7231 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1012 | 7233 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7232 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1016 | 7234 | { as_fn_set_status 77 | 7233 | as_fn_error 77 "cannot compute sizeof (time_t) |
1017 | 7235 | as_fn_error "cannot compute sizeof (time_t) | 7234 | See \`config.log' for more details" "$LINENO" 5 ; } |
1015 | 7236 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
1018 | 7237 | else | 7235 | else |
1019 | 7238 | ac_cv_sizeof_time_t=0 | 7236 | ac_cv_sizeof_time_t=0 |
1020 | 7239 | fi | 7237 | fi |
1021 | @@ -7304,9 +7302,8 @@ | |||
1022 | 7304 | if test "$ac_cv_type_pthread_t" = yes; then | 7302 | if test "$ac_cv_type_pthread_t" = yes; then |
1023 | 7305 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 7303 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1024 | 7306 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 7304 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1028 | 7307 | { as_fn_set_status 77 | 7305 | as_fn_error 77 "cannot compute sizeof (pthread_t) |
1029 | 7308 | as_fn_error "cannot compute sizeof (pthread_t) | 7306 | See \`config.log' for more details" "$LINENO" 5 ; } |
1027 | 7309 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
1030 | 7310 | else | 7307 | else |
1031 | 7311 | ac_cv_sizeof_pthread_t=0 | 7308 | ac_cv_sizeof_pthread_t=0 |
1032 | 7312 | fi | 7309 | fi |
1033 | @@ -7393,7 +7390,7 @@ | |||
1034 | 7393 | MACOSX_DEFAULT_ARCH="ppc" | 7390 | MACOSX_DEFAULT_ARCH="ppc" |
1035 | 7394 | ;; | 7391 | ;; |
1036 | 7395 | *) | 7392 | *) |
1038 | 7396 | as_fn_error "Unexpected output of 'arch' on OSX" "$LINENO" 5 | 7393 | as_fn_error $? "Unexpected output of 'arch' on OSX" "$LINENO" 5 |
1039 | 7397 | ;; | 7394 | ;; |
1040 | 7398 | esac | 7395 | esac |
1041 | 7399 | else | 7396 | else |
1042 | @@ -7405,7 +7402,7 @@ | |||
1043 | 7405 | MACOSX_DEFAULT_ARCH="ppc64" | 7402 | MACOSX_DEFAULT_ARCH="ppc64" |
1044 | 7406 | ;; | 7403 | ;; |
1045 | 7407 | *) | 7404 | *) |
1047 | 7408 | as_fn_error "Unexpected output of 'arch' on OSX" "$LINENO" 5 | 7405 | as_fn_error $? "Unexpected output of 'arch' on OSX" "$LINENO" 5 |
1048 | 7409 | ;; | 7406 | ;; |
1049 | 7410 | esac | 7407 | esac |
1050 | 7411 | 7408 | ||
1051 | @@ -7431,7 +7428,7 @@ | |||
1052 | 7431 | $as_echo "yes" >&6; } | 7428 | $as_echo "yes" >&6; } |
1053 | 7432 | if test $enable_shared = "yes" | 7429 | if test $enable_shared = "yes" |
1054 | 7433 | then | 7430 | then |
1056 | 7434 | as_fn_error "Specifying both --enable-shared and --enable-framework is not supported, use only --enable-framework instead" "$LINENO" 5 | 7431 | as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only --enable-framework instead" "$LINENO" 5 |
1057 | 7435 | fi | 7432 | fi |
1058 | 7436 | else | 7433 | else |
1059 | 7437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7434 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1060 | @@ -7461,36 +7458,6 @@ | |||
1061 | 7461 | 7458 | ||
1062 | 7462 | 7459 | ||
1063 | 7463 | 7460 | ||
1064 | 7464 | # SO is the extension of shared libraries `(including the dot!) | ||
1065 | 7465 | # -- usually .so, .sl on HP-UX, .dll on Cygwin | ||
1066 | 7466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5 | ||
1067 | 7467 | $as_echo_n "checking SO... " >&6; } | ||
1068 | 7468 | if test -z "$SO" | ||
1069 | 7469 | then | ||
1070 | 7470 | case $ac_sys_system in | ||
1071 | 7471 | hp*|HP*) | ||
1072 | 7472 | case `uname -m` in | ||
1073 | 7473 | ia64) SO=.so;; | ||
1074 | 7474 | *) SO=.sl;; | ||
1075 | 7475 | esac | ||
1076 | 7476 | ;; | ||
1077 | 7477 | CYGWIN*) SO=.dll;; | ||
1078 | 7478 | *) SO=.so;; | ||
1079 | 7479 | esac | ||
1080 | 7480 | else | ||
1081 | 7481 | # this might also be a termcap variable, see #610332 | ||
1082 | 7482 | echo | ||
1083 | 7483 | echo '=====================================================================' | ||
1084 | 7484 | echo '+ +' | ||
1085 | 7485 | echo '+ WARNING: You have set SO in your environment. +' | ||
1086 | 7486 | echo '+ Do you really mean to change the extension for shared libraries? +' | ||
1087 | 7487 | echo '+ Continuing in 10 seconds to let you to ponder. +' | ||
1088 | 7488 | echo '+ +' | ||
1089 | 7489 | echo '=====================================================================' | ||
1090 | 7490 | sleep 10 | ||
1091 | 7491 | fi | ||
1092 | 7492 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SO" >&5 | ||
1093 | 7493 | $as_echo "$SO" >&6; } | ||
1094 | 7494 | 7461 | ||
1095 | 7495 | 7462 | ||
1096 | 7496 | cat >>confdefs.h <<_ACEOF | 7463 | cat >>confdefs.h <<_ACEOF |
1097 | @@ -8239,12 +8206,12 @@ | |||
1098 | 8239 | withval=$with_dbmliborder; | 8206 | withval=$with_dbmliborder; |
1099 | 8240 | if test x$with_dbmliborder = xyes | 8207 | if test x$with_dbmliborder = xyes |
1100 | 8241 | then | 8208 | then |
1102 | 8242 | as_fn_error "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5 | 8209 | as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5 |
1103 | 8243 | else | 8210 | else |
1104 | 8244 | for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do | 8211 | for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do |
1105 | 8245 | if test x$db != xndbm && test x$db != xgdbm && test x$db != xbdb | 8212 | if test x$db != xndbm && test x$db != xgdbm && test x$db != xbdb |
1106 | 8246 | then | 8213 | then |
1108 | 8247 | as_fn_error "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5 | 8214 | as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5 |
1109 | 8248 | fi | 8215 | fi |
1110 | 8249 | done | 8216 | done |
1111 | 8250 | fi | 8217 | fi |
1112 | @@ -9210,7 +9177,9 @@ | |||
1113 | 9210 | 9177 | ||
1114 | 9211 | 9178 | ||
1115 | 9212 | if test -z "$with_pymalloc" | 9179 | if test -z "$with_pymalloc" |
1117 | 9213 | then with_pymalloc="yes" | 9180 | then |
1118 | 9181 | with_pymalloc="yes" | ||
1119 | 9182 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}m" | ||
1120 | 9214 | fi | 9183 | fi |
1121 | 9215 | if test "$with_pymalloc" != "no" | 9184 | if test "$with_pymalloc" != "no" |
1122 | 9216 | then | 9185 | then |
1123 | @@ -9241,7 +9210,7 @@ | |||
1124 | 9241 | $as_echo "#define WITH_VALGRIND 1" >>confdefs.h | 9210 | $as_echo "#define WITH_VALGRIND 1" >>confdefs.h |
1125 | 9242 | 9211 | ||
1126 | 9243 | else | 9212 | else |
1128 | 9244 | as_fn_error "Valgrind support requested but headers not available" "$LINENO" 5 | 9213 | as_fn_error $? "Valgrind support requested but headers not available" "$LINENO" 5 |
1129 | 9245 | 9214 | ||
1130 | 9246 | fi | 9215 | fi |
1131 | 9247 | 9216 | ||
1132 | @@ -9358,8 +9327,7 @@ | |||
1133 | 9358 | do : | 9327 | do : |
1134 | 9359 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9328 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1135 | 9360 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 9329 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
1138 | 9361 | eval as_val=\$$as_ac_var | 9330 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
1137 | 9362 | if test "x$as_val" = x""yes; then : | ||
1139 | 9363 | cat >>confdefs.h <<_ACEOF | 9331 | cat >>confdefs.h <<_ACEOF |
1140 | 9364 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9332 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1141 | 9365 | _ACEOF | 9333 | _ACEOF |
1142 | @@ -10293,35 +10261,53 @@ | |||
1143 | 10293 | do : | 10261 | do : |
1144 | 10294 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10262 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1145 | 10295 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10263 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
1175 | 10296 | eval as_val=\$$as_ac_var | 10264 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
1176 | 10297 | if test "x$as_val" = x""yes; then : | 10265 | cat >>confdefs.h <<_ACEOF |
1177 | 10298 | cat >>confdefs.h <<_ACEOF | 10266 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1178 | 10299 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10267 | _ACEOF |
1179 | 10300 | _ACEOF | 10268 | |
1180 | 10301 | 10269 | fi | |
1181 | 10302 | fi | 10270 | done |
1182 | 10303 | done | 10271 | |
1183 | 10304 | 10272 | ||
1184 | 10305 | 10273 | ac_fn_c_check_func "$LINENO" "dup2" "ac_cv_func_dup2" | |
1185 | 10306 | for ac_func in dup2 getcwd strdup | 10274 | if test "x$ac_cv_func_dup2" = x""yes; then : |
1186 | 10307 | do : | 10275 | $as_echo "#define HAVE_DUP2 1" >>confdefs.h |
1187 | 10308 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10276 | |
1188 | 10309 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10277 | else |
1189 | 10310 | eval as_val=\$$as_ac_var | 10278 | case " $LIBOBJS " in |
1190 | 10311 | if test "x$as_val" = x""yes; then : | 10279 | *" dup2.$ac_objext "* ) ;; |
1191 | 10312 | cat >>confdefs.h <<_ACEOF | 10280 | *) LIBOBJS="$LIBOBJS dup2.$ac_objext" |
1192 | 10313 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10281 | ;; |
1193 | 10314 | _ACEOF | 10282 | esac |
1194 | 10315 | 10283 | ||
1195 | 10316 | else | 10284 | fi |
1196 | 10317 | case " $LIBOBJS " in | 10285 | |
1197 | 10318 | *" $ac_func.$ac_objext "* ) ;; | 10286 | ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" |
1198 | 10319 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" | 10287 | if test "x$ac_cv_func_getcwd" = x""yes; then : |
1199 | 10320 | ;; | 10288 | $as_echo "#define HAVE_GETCWD 1" >>confdefs.h |
1200 | 10321 | esac | 10289 | |
1201 | 10322 | 10290 | else | |
1202 | 10323 | fi | 10291 | case " $LIBOBJS " in |
1203 | 10324 | done | 10292 | *" getcwd.$ac_objext "* ) ;; |
1204 | 10293 | *) LIBOBJS="$LIBOBJS getcwd.$ac_objext" | ||
1205 | 10294 | ;; | ||
1206 | 10295 | esac | ||
1207 | 10296 | |||
1208 | 10297 | fi | ||
1209 | 10298 | |||
1210 | 10299 | ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" | ||
1211 | 10300 | if test "x$ac_cv_func_strdup" = x""yes; then : | ||
1212 | 10301 | $as_echo "#define HAVE_STRDUP 1" >>confdefs.h | ||
1213 | 10302 | |||
1214 | 10303 | else | ||
1215 | 10304 | case " $LIBOBJS " in | ||
1216 | 10305 | *" strdup.$ac_objext "* ) ;; | ||
1217 | 10306 | *) LIBOBJS="$LIBOBJS strdup.$ac_objext" | ||
1218 | 10307 | ;; | ||
1219 | 10308 | esac | ||
1220 | 10309 | |||
1221 | 10310 | fi | ||
1222 | 10325 | 10311 | ||
1223 | 10326 | 10312 | ||
1224 | 10327 | for ac_func in getpgrp | 10313 | for ac_func in getpgrp |
1225 | @@ -11530,7 +11516,7 @@ | |||
1226 | 11530 | then LIBM=$withval | 11516 | then LIBM=$withval |
1227 | 11531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5 | 11517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5 |
1228 | 11532 | $as_echo "set LIBM=\"$withval\"" >&6; } | 11518 | $as_echo "set LIBM=\"$withval\"" >&6; } |
1230 | 11533 | else as_fn_error "proper usage is --with-libm=STRING" "$LINENO" 5 | 11519 | else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5 |
1231 | 11534 | fi | 11520 | fi |
1232 | 11535 | else | 11521 | else |
1233 | 11536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5 | 11522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5 |
1234 | @@ -11554,7 +11540,7 @@ | |||
1235 | 11554 | then LIBC=$withval | 11540 | then LIBC=$withval |
1236 | 11555 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5 | 11541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5 |
1237 | 11556 | $as_echo "set LIBC=\"$withval\"" >&6; } | 11542 | $as_echo "set LIBC=\"$withval\"" >&6; } |
1239 | 11557 | else as_fn_error "proper usage is --with-libc=STRING" "$LINENO" 5 | 11543 | else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5 |
1240 | 11558 | fi | 11544 | fi |
1241 | 11559 | else | 11545 | else |
1242 | 11560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5 | 11546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5 |
1243 | @@ -11850,8 +11836,7 @@ | |||
1244 | 11850 | do : | 11836 | do : |
1245 | 11851 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11837 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1246 | 11852 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11838 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
1249 | 11853 | eval as_val=\$$as_ac_var | 11839 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
1248 | 11854 | if test "x$as_val" = x""yes; then : | ||
1250 | 11855 | cat >>confdefs.h <<_ACEOF | 11840 | cat >>confdefs.h <<_ACEOF |
1251 | 11856 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11841 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1252 | 11857 | _ACEOF | 11842 | _ACEOF |
1253 | @@ -11863,8 +11848,7 @@ | |||
1254 | 11863 | do : | 11848 | do : |
1255 | 11864 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11849 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
1256 | 11865 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11850 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
1259 | 11866 | eval as_val=\$$as_ac_var | 11851 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
1258 | 11867 | if test "x$as_val" = x""yes; then : | ||
1260 | 11868 | cat >>confdefs.h <<_ACEOF | 11852 | cat >>confdefs.h <<_ACEOF |
1261 | 11869 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11853 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
1262 | 11870 | _ACEOF | 11854 | _ACEOF |
1263 | @@ -12032,7 +12016,7 @@ | |||
1264 | 12032 | 15|30) | 12016 | 15|30) |
1265 | 12033 | ;; | 12017 | ;; |
1266 | 12034 | *) | 12018 | *) |
1268 | 12035 | as_fn_error "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;; | 12019 | as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;; |
1269 | 12036 | esac | 12020 | esac |
1270 | 12037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5 | 12021 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5 |
1271 | 12038 | $as_echo "$enable_big_digits" >&6; } | 12022 | $as_echo "$enable_big_digits" >&6; } |
1272 | @@ -12083,9 +12067,8 @@ | |||
1273 | 12083 | if test "$ac_cv_type_wchar_t" = yes; then | 12067 | if test "$ac_cv_type_wchar_t" = yes; then |
1274 | 12084 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 12068 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1275 | 12085 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 12069 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1279 | 12086 | { as_fn_set_status 77 | 12070 | as_fn_error 77 "cannot compute sizeof (wchar_t) |
1280 | 12087 | as_fn_error "cannot compute sizeof (wchar_t) | 12071 | See \`config.log' for more details" "$LINENO" 5 ; } |
1278 | 12088 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
1281 | 12089 | else | 12072 | else |
1282 | 12090 | ac_cv_sizeof_wchar_t=0 | 12073 | ac_cv_sizeof_wchar_t=0 |
1283 | 12091 | fi | 12074 | fi |
1284 | @@ -12187,7 +12170,7 @@ | |||
1285 | 12187 | else | 12170 | else |
1286 | 12188 | 12171 | ||
1287 | 12189 | case "$have_ucs4_tcl" in | 12172 | case "$have_ucs4_tcl" in |
1289 | 12190 | yes) unicode_size="4" ;; | 12173 | yes) unicode_size="4";; |
1290 | 12191 | *) unicode_size="2" ;; | 12174 | *) unicode_size="2" ;; |
1291 | 12192 | esac | 12175 | esac |
1292 | 12193 | 12176 | ||
1293 | @@ -12196,8 +12179,11 @@ | |||
1294 | 12196 | 12179 | ||
1295 | 12197 | 12180 | ||
1296 | 12198 | case "$unicode_size" in | 12181 | case "$unicode_size" in |
1299 | 12199 | 4) $as_echo "#define Py_UNICODE_SIZE 4" >>confdefs.h | 12182 | 4) |
1300 | 12200 | ;; | 12183 | $as_echo "#define Py_UNICODE_SIZE 4" >>confdefs.h |
1301 | 12184 | |||
1302 | 12185 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}u" | ||
1303 | 12186 | ;; | ||
1304 | 12201 | *) $as_echo "#define Py_UNICODE_SIZE 2" >>confdefs.h | 12187 | *) $as_echo "#define Py_UNICODE_SIZE 2" >>confdefs.h |
1305 | 12202 | ;; | 12188 | ;; |
1306 | 12203 | esac | 12189 | esac |
1307 | @@ -12451,11 +12437,64 @@ | |||
1308 | 12451 | 12437 | ||
1309 | 12452 | ;; #( | 12438 | ;; #( |
1310 | 12453 | *) | 12439 | *) |
1313 | 12454 | as_fn_error "unknown endianness | 12440 | as_fn_error $? "unknown endianness |
1314 | 12455 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 12441 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
1315 | 12456 | esac | 12442 | esac |
1316 | 12457 | 12443 | ||
1317 | 12458 | 12444 | ||
1318 | 12445 | # ABI version string for Python extension modules. This appears between the | ||
1319 | 12446 | # periods in shared library file names, e.g. foo.<SOABI>.so. It is calculated | ||
1320 | 12447 | # from the following attributes which affect the ABI of this Python build (in | ||
1321 | 12448 | # this order): | ||
1322 | 12449 | # | ||
1323 | 12450 | # * The Python implementation (always 'cpython-' for us) | ||
1324 | 12451 | # * The major and minor version numbers | ||
1325 | 12452 | # * --with-pydebug (adds a 'd') | ||
1326 | 12453 | # * --with-pymalloc (adds a 'm') | ||
1327 | 12454 | # * --with-wide-unicode (adds a 'u') | ||
1328 | 12455 | # | ||
1329 | 12456 | # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc, | ||
1330 | 12457 | # would get a shared library ABI version tag of 'cpython-32udm' and shared | ||
1331 | 12458 | # libraries would be named 'foo.cpython-32udm.so'. | ||
1332 | 12459 | |||
1333 | 12460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5 | ||
1334 | 12461 | $as_echo_n "checking SOABI... " >&6; } | ||
1335 | 12462 | SOABI='cpython-'`echo $VERSION | tr -d .`${SOABI_QUALIFIERS} | ||
1336 | 12463 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5 | ||
1337 | 12464 | $as_echo "$SOABI" >&6; } | ||
1338 | 12465 | |||
1339 | 12466 | # SO is the extension of shared libraries `(including the dot!) | ||
1340 | 12467 | # -- usually .so, .sl on HP-UX, .dll on Cygwin | ||
1341 | 12468 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5 | ||
1342 | 12469 | $as_echo_n "checking SO... " >&6; } | ||
1343 | 12470 | if test -z "$SO" | ||
1344 | 12471 | then | ||
1345 | 12472 | case $ac_sys_system in | ||
1346 | 12473 | hp*|HP*) | ||
1347 | 12474 | case `uname -m` in | ||
1348 | 12475 | ia64) SO=.so;; | ||
1349 | 12476 | *) SO=.sl;; | ||
1350 | 12477 | esac | ||
1351 | 12478 | ;; | ||
1352 | 12479 | CYGWIN*) SO=.dll;; | ||
1353 | 12480 | Linux*) SO=.${SOABI}.so;; | ||
1354 | 12481 | *) SO=.so;; | ||
1355 | 12482 | esac | ||
1356 | 12483 | else | ||
1357 | 12484 | # this might also be a termcap variable, see #610332 | ||
1358 | 12485 | echo | ||
1359 | 12486 | echo '=====================================================================' | ||
1360 | 12487 | echo '+ +' | ||
1361 | 12488 | echo '+ WARNING: You have set SO in your environment. +' | ||
1362 | 12489 | echo '+ Do you really mean to change the extension for shared libraries? +' | ||
1363 | 12490 | echo '+ Continuing in 10 seconds to let you to ponder. +' | ||
1364 | 12491 | echo '+ +' | ||
1365 | 12492 | echo '=====================================================================' | ||
1366 | 12493 | sleep 10 | ||
1367 | 12494 | fi | ||
1368 | 12495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SO" >&5 | ||
1369 | 12496 | $as_echo "$SO" >&6; } | ||
1370 | 12497 | |||
1371 | 12459 | # Check whether right shifting a negative integer extends the sign bit | 12498 | # Check whether right shifting a negative integer extends the sign bit |
1372 | 12460 | # or fills with zeros (like the Cray J90, according to Tim Peters). | 12499 | # or fills with zeros (like the Cray J90, according to Tim Peters). |
1373 | 12461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5 | 12500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5 |
1374 | @@ -12649,7 +12688,7 @@ | |||
1375 | 12649 | have_readline=no | 12688 | have_readline=no |
1376 | 12650 | 12689 | ||
1377 | 12651 | fi | 12690 | fi |
1379 | 12652 | rm -f conftest.err conftest.$ac_ext | 12691 | rm -f conftest.err conftest.i conftest.$ac_ext |
1380 | 12653 | if test $have_readline = yes | 12692 | if test $have_readline = yes |
1381 | 12654 | then | 12693 | then |
1382 | 12655 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12694 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1383 | @@ -12823,7 +12862,7 @@ | |||
1384 | 12823 | have_readline=no | 12862 | have_readline=no |
1385 | 12824 | 12863 | ||
1386 | 12825 | fi | 12864 | fi |
1388 | 12826 | rm -f conftest.err conftest.$ac_ext | 12865 | rm -f conftest.err conftest.i conftest.$ac_ext |
1389 | 12827 | if test $have_readline = yes | 12866 | if test $have_readline = yes |
1390 | 12828 | then | 12867 | then |
1391 | 12829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12868 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1392 | @@ -13633,7 +13672,7 @@ | |||
1393 | 13633 | 13672 | ||
1394 | 13634 | 13673 | ||
1395 | 13635 | case $ac_sys_system in | 13674 | case $ac_sys_system in |
1397 | 13636 | OSF*) as_fn_error "OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" "$LINENO" 5 ;; | 13675 | OSF*) as_fn_error $? "OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" "$LINENO" 5 ;; |
1398 | 13637 | esac | 13676 | esac |
1399 | 13638 | 13677 | ||
1400 | 13639 | 13678 | ||
1401 | @@ -13743,6 +13782,7 @@ | |||
1402 | 13743 | 13782 | ||
1403 | 13744 | ac_libobjs= | 13783 | ac_libobjs= |
1404 | 13745 | ac_ltlibobjs= | 13784 | ac_ltlibobjs= |
1405 | 13785 | U= | ||
1406 | 13746 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 13786 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
1407 | 13747 | # 1. Remove the extension, and $U if already installed. | 13787 | # 1. Remove the extension, and $U if already installed. |
1408 | 13748 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 13788 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
1409 | @@ -13905,19 +13945,19 @@ | |||
1410 | 13905 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 13945 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1411 | 13906 | 13946 | ||
1412 | 13907 | 13947 | ||
1415 | 13908 | # as_fn_error ERROR [LINENO LOG_FD] | 13948 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
1416 | 13909 | # --------------------------------- | 13949 | # ---------------------------------------- |
1417 | 13910 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 13950 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
1418 | 13911 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 13951 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
1420 | 13912 | # script with status $?, using 1 if that was 0. | 13952 | # script with STATUS, using 1 if that was 0. |
1421 | 13913 | as_fn_error () | 13953 | as_fn_error () |
1422 | 13914 | { | 13954 | { |
1427 | 13915 | as_status=$?; test $as_status -eq 0 && as_status=1 | 13955 | as_status=$1; test $as_status -eq 0 && as_status=1 |
1428 | 13916 | if test "$3"; then | 13956 | if test "$4"; then |
1429 | 13917 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 13957 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1430 | 13918 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | 13958 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
1431 | 13919 | fi | 13959 | fi |
1433 | 13920 | $as_echo "$as_me: error: $1" >&2 | 13960 | $as_echo "$as_me: error: $2" >&2 |
1434 | 13921 | as_fn_exit $as_status | 13961 | as_fn_exit $as_status |
1435 | 13922 | } # as_fn_error | 13962 | } # as_fn_error |
1436 | 13923 | 13963 | ||
1437 | @@ -14113,7 +14153,7 @@ | |||
1438 | 14113 | test -d "$as_dir" && break | 14153 | test -d "$as_dir" && break |
1439 | 14114 | done | 14154 | done |
1440 | 14115 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 14155 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
1442 | 14116 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | 14156 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
1443 | 14117 | 14157 | ||
1444 | 14118 | 14158 | ||
1445 | 14119 | } # as_fn_mkdir_p | 14159 | } # as_fn_mkdir_p |
1446 | @@ -14167,7 +14207,7 @@ | |||
1447 | 14167 | # values after options handling. | 14207 | # values after options handling. |
1448 | 14168 | ac_log=" | 14208 | ac_log=" |
1449 | 14169 | This file was extended by python $as_me 3.2, which was | 14209 | This file was extended by python $as_me 3.2, which was |
1451 | 14170 | generated by GNU Autoconf 2.65. Invocation command line was | 14210 | generated by GNU Autoconf 2.67. Invocation command line was |
1452 | 14171 | 14211 | ||
1453 | 14172 | CONFIG_FILES = $CONFIG_FILES | 14212 | CONFIG_FILES = $CONFIG_FILES |
1454 | 14173 | CONFIG_HEADERS = $CONFIG_HEADERS | 14213 | CONFIG_HEADERS = $CONFIG_HEADERS |
1455 | @@ -14229,10 +14269,10 @@ | |||
1456 | 14229 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 14269 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
1457 | 14230 | ac_cs_version="\\ | 14270 | ac_cs_version="\\ |
1458 | 14231 | python config.status 3.2 | 14271 | python config.status 3.2 |
1460 | 14232 | configured by $0, generated by GNU Autoconf 2.65, | 14272 | configured by $0, generated by GNU Autoconf 2.67, |
1461 | 14233 | with options \\"\$ac_cs_config\\" | 14273 | with options \\"\$ac_cs_config\\" |
1462 | 14234 | 14274 | ||
1464 | 14235 | Copyright (C) 2009 Free Software Foundation, Inc. | 14275 | Copyright (C) 2010 Free Software Foundation, Inc. |
1465 | 14236 | This config.status script is free software; the Free Software Foundation | 14276 | This config.status script is free software; the Free Software Foundation |
1466 | 14237 | gives unlimited permission to copy, distribute and modify it." | 14277 | gives unlimited permission to copy, distribute and modify it." |
1467 | 14238 | 14278 | ||
1468 | @@ -14248,11 +14288,16 @@ | |||
1469 | 14248 | while test $# != 0 | 14288 | while test $# != 0 |
1470 | 14249 | do | 14289 | do |
1471 | 14250 | case $1 in | 14290 | case $1 in |
1473 | 14251 | --*=*) | 14291 | --*=?*) |
1474 | 14252 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 14292 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
1475 | 14253 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 14293 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
1476 | 14254 | ac_shift=: | 14294 | ac_shift=: |
1477 | 14255 | ;; | 14295 | ;; |
1478 | 14296 | --*=) | ||
1479 | 14297 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
1480 | 14298 | ac_optarg= | ||
1481 | 14299 | ac_shift=: | ||
1482 | 14300 | ;; | ||
1483 | 14256 | *) | 14301 | *) |
1484 | 14257 | ac_option=$1 | 14302 | ac_option=$1 |
1485 | 14258 | ac_optarg=$2 | 14303 | ac_optarg=$2 |
1486 | @@ -14274,6 +14319,7 @@ | |||
1487 | 14274 | $ac_shift | 14319 | $ac_shift |
1488 | 14275 | case $ac_optarg in | 14320 | case $ac_optarg in |
1489 | 14276 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 14321 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1490 | 14322 | '') as_fn_error $? "missing file argument" ;; | ||
1491 | 14277 | esac | 14323 | esac |
1492 | 14278 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 14324 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
1493 | 14279 | ac_need_defaults=false;; | 14325 | ac_need_defaults=false;; |
1494 | @@ -14286,7 +14332,7 @@ | |||
1495 | 14286 | ac_need_defaults=false;; | 14332 | ac_need_defaults=false;; |
1496 | 14287 | --he | --h) | 14333 | --he | --h) |
1497 | 14288 | # Conflict between --help and --header | 14334 | # Conflict between --help and --header |
1499 | 14289 | as_fn_error "ambiguous option: \`$1' | 14335 | as_fn_error $? "ambiguous option: \`$1' |
1500 | 14290 | Try \`$0 --help' for more information.";; | 14336 | Try \`$0 --help' for more information.";; |
1501 | 14291 | --help | --hel | -h ) | 14337 | --help | --hel | -h ) |
1502 | 14292 | $as_echo "$ac_cs_usage"; exit ;; | 14338 | $as_echo "$ac_cs_usage"; exit ;; |
1503 | @@ -14295,7 +14341,7 @@ | |||
1504 | 14295 | ac_cs_silent=: ;; | 14341 | ac_cs_silent=: ;; |
1505 | 14296 | 14342 | ||
1506 | 14297 | # This is an error. | 14343 | # This is an error. |
1508 | 14298 | -*) as_fn_error "unrecognized option: \`$1' | 14344 | -*) as_fn_error $? "unrecognized option: \`$1' |
1509 | 14299 | Try \`$0 --help' for more information." ;; | 14345 | Try \`$0 --help' for more information." ;; |
1510 | 14300 | 14346 | ||
1511 | 14301 | *) as_fn_append ac_config_targets " $1" | 14347 | *) as_fn_append ac_config_targets " $1" |
1512 | @@ -14353,7 +14399,7 @@ | |||
1513 | 14353 | "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;; | 14399 | "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;; |
1514 | 14354 | "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;; | 14400 | "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;; |
1515 | 14355 | 14401 | ||
1517 | 14356 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 14402 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
1518 | 14357 | esac | 14403 | esac |
1519 | 14358 | done | 14404 | done |
1520 | 14359 | 14405 | ||
1521 | @@ -14390,7 +14436,7 @@ | |||
1522 | 14390 | { | 14436 | { |
1523 | 14391 | tmp=./conf$$-$RANDOM | 14437 | tmp=./conf$$-$RANDOM |
1524 | 14392 | (umask 077 && mkdir "$tmp") | 14438 | (umask 077 && mkdir "$tmp") |
1526 | 14393 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 14439 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
1527 | 14394 | 14440 | ||
1528 | 14395 | # Set up the scripts for CONFIG_FILES section. | 14441 | # Set up the scripts for CONFIG_FILES section. |
1529 | 14396 | # No need to generate them if there are no CONFIG_FILES. | 14442 | # No need to generate them if there are no CONFIG_FILES. |
1530 | @@ -14407,7 +14453,7 @@ | |||
1531 | 14407 | fi | 14453 | fi |
1532 | 14408 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 14454 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
1533 | 14409 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 14455 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
1535 | 14410 | ac_cs_awk_cr='\r' | 14456 | ac_cs_awk_cr='\\r' |
1536 | 14411 | else | 14457 | else |
1537 | 14412 | ac_cs_awk_cr=$ac_cr | 14458 | ac_cs_awk_cr=$ac_cr |
1538 | 14413 | fi | 14459 | fi |
1539 | @@ -14421,18 +14467,18 @@ | |||
1540 | 14421 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 14467 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
1541 | 14422 | echo "_ACEOF" | 14468 | echo "_ACEOF" |
1542 | 14423 | } >conf$$subs.sh || | 14469 | } >conf$$subs.sh || |
1545 | 14424 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 14470 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1546 | 14425 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 14471 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
1547 | 14426 | ac_delim='%!_!# ' | 14472 | ac_delim='%!_!# ' |
1548 | 14427 | for ac_last_try in false false false false false :; do | 14473 | for ac_last_try in false false false false false :; do |
1549 | 14428 | . ./conf$$subs.sh || | 14474 | . ./conf$$subs.sh || |
1551 | 14429 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 14475 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1552 | 14430 | 14476 | ||
1553 | 14431 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 14477 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
1554 | 14432 | if test $ac_delim_n = $ac_delim_num; then | 14478 | if test $ac_delim_n = $ac_delim_num; then |
1555 | 14433 | break | 14479 | break |
1556 | 14434 | elif $ac_last_try; then | 14480 | elif $ac_last_try; then |
1558 | 14435 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 14481 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1559 | 14436 | else | 14482 | else |
1560 | 14437 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14483 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
1561 | 14438 | fi | 14484 | fi |
1562 | @@ -14521,20 +14567,28 @@ | |||
1563 | 14521 | else | 14567 | else |
1564 | 14522 | cat | 14568 | cat |
1565 | 14523 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 14569 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
1567 | 14524 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 14570 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
1568 | 14525 | _ACEOF | 14571 | _ACEOF |
1569 | 14526 | 14572 | ||
1572 | 14527 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 14573 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
1573 | 14528 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 14574 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
1574 | 14529 | # trailing colons and then remove the whole line if VPATH becomes empty | 14575 | # trailing colons and then remove the whole line if VPATH becomes empty |
1575 | 14530 | # (actually we leave an empty line to preserve line numbers). | 14576 | # (actually we leave an empty line to preserve line numbers). |
1576 | 14531 | if test "x$srcdir" = x.; then | 14577 | if test "x$srcdir" = x.; then |
1582 | 14532 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 14578 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
1583 | 14533 | s/:*\$(srcdir):*/:/ | 14579 | h |
1584 | 14534 | s/:*\${srcdir}:*/:/ | 14580 | s/// |
1585 | 14535 | s/:*@srcdir@:*/:/ | 14581 | s/^/:/ |
1586 | 14536 | s/^\([^=]*=[ ]*\):*/\1/ | 14582 | s/[ ]*$/:/ |
1587 | 14583 | s/:\$(srcdir):/:/g | ||
1588 | 14584 | s/:\${srcdir}:/:/g | ||
1589 | 14585 | s/:@srcdir@:/:/g | ||
1590 | 14586 | s/^:*// | ||
1591 | 14537 | s/:*$// | 14587 | s/:*$// |
1592 | 14588 | x | ||
1593 | 14589 | s/\(=[ ]*\).*/\1/ | ||
1594 | 14590 | G | ||
1595 | 14591 | s/\n// | ||
1596 | 14538 | s/^[^=]*=[ ]*$// | 14592 | s/^[^=]*=[ ]*$// |
1597 | 14539 | }' | 14593 | }' |
1598 | 14540 | fi | 14594 | fi |
1599 | @@ -14562,7 +14616,7 @@ | |||
1600 | 14562 | if test -z "$ac_t"; then | 14616 | if test -z "$ac_t"; then |
1601 | 14563 | break | 14617 | break |
1602 | 14564 | elif $ac_last_try; then | 14618 | elif $ac_last_try; then |
1604 | 14565 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 14619 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
1605 | 14566 | else | 14620 | else |
1606 | 14567 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14621 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
1607 | 14568 | fi | 14622 | fi |
1608 | @@ -14647,7 +14701,7 @@ | |||
1609 | 14647 | _ACAWK | 14701 | _ACAWK |
1610 | 14648 | _ACEOF | 14702 | _ACEOF |
1611 | 14649 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14703 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1613 | 14650 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 14704 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
1614 | 14651 | fi # test -n "$CONFIG_HEADERS" | 14705 | fi # test -n "$CONFIG_HEADERS" |
1615 | 14652 | 14706 | ||
1616 | 14653 | 14707 | ||
1617 | @@ -14660,7 +14714,7 @@ | |||
1618 | 14660 | esac | 14714 | esac |
1619 | 14661 | case $ac_mode$ac_tag in | 14715 | case $ac_mode$ac_tag in |
1620 | 14662 | :[FHL]*:*);; | 14716 | :[FHL]*:*);; |
1622 | 14663 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 14717 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
1623 | 14664 | :[FH]-) ac_tag=-:-;; | 14718 | :[FH]-) ac_tag=-:-;; |
1624 | 14665 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 14719 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
1625 | 14666 | esac | 14720 | esac |
1626 | @@ -14688,7 +14742,7 @@ | |||
1627 | 14688 | [\\/$]*) false;; | 14742 | [\\/$]*) false;; |
1628 | 14689 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 14743 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
1629 | 14690 | esac || | 14744 | esac || |
1631 | 14691 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 14745 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
1632 | 14692 | esac | 14746 | esac |
1633 | 14693 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 14747 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
1634 | 14694 | as_fn_append ac_file_inputs " '$ac_f'" | 14748 | as_fn_append ac_file_inputs " '$ac_f'" |
1635 | @@ -14715,7 +14769,7 @@ | |||
1636 | 14715 | 14769 | ||
1637 | 14716 | case $ac_tag in | 14770 | case $ac_tag in |
1638 | 14717 | *:-:* | *:-) cat >"$tmp/stdin" \ | 14771 | *:-:* | *:-) cat >"$tmp/stdin" \ |
1640 | 14718 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 14772 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
1641 | 14719 | esac | 14773 | esac |
1642 | 14720 | ;; | 14774 | ;; |
1643 | 14721 | esac | 14775 | esac |
1644 | @@ -14846,22 +14900,22 @@ | |||
1645 | 14846 | $ac_datarootdir_hack | 14900 | $ac_datarootdir_hack |
1646 | 14847 | " | 14901 | " |
1647 | 14848 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 14902 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
1649 | 14849 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14903 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1650 | 14850 | 14904 | ||
1651 | 14851 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 14905 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
1652 | 14852 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 14906 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
1653 | 14853 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 14907 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
1654 | 14854 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 14908 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1656 | 14855 | which seems to be undefined. Please make sure it is defined." >&5 | 14909 | which seems to be undefined. Please make sure it is defined" >&5 |
1657 | 14856 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 14910 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
1659 | 14857 | which seems to be undefined. Please make sure it is defined." >&2;} | 14911 | which seems to be undefined. Please make sure it is defined" >&2;} |
1660 | 14858 | 14912 | ||
1661 | 14859 | rm -f "$tmp/stdin" | 14913 | rm -f "$tmp/stdin" |
1662 | 14860 | case $ac_file in | 14914 | case $ac_file in |
1663 | 14861 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 14915 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
1664 | 14862 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 14916 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
1665 | 14863 | esac \ | 14917 | esac \ |
1667 | 14864 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14918 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1668 | 14865 | ;; | 14919 | ;; |
1669 | 14866 | :H) | 14920 | :H) |
1670 | 14867 | # | 14921 | # |
1671 | @@ -14872,19 +14926,19 @@ | |||
1672 | 14872 | $as_echo "/* $configure_input */" \ | 14926 | $as_echo "/* $configure_input */" \ |
1673 | 14873 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 14927 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
1674 | 14874 | } >"$tmp/config.h" \ | 14928 | } >"$tmp/config.h" \ |
1676 | 14875 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14929 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1677 | 14876 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 14930 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
1678 | 14877 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 14931 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
1679 | 14878 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 14932 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
1680 | 14879 | else | 14933 | else |
1681 | 14880 | rm -f "$ac_file" | 14934 | rm -f "$ac_file" |
1682 | 14881 | mv "$tmp/config.h" "$ac_file" \ | 14935 | mv "$tmp/config.h" "$ac_file" \ |
1684 | 14882 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14936 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
1685 | 14883 | fi | 14937 | fi |
1686 | 14884 | else | 14938 | else |
1687 | 14885 | $as_echo "/* $configure_input */" \ | 14939 | $as_echo "/* $configure_input */" \ |
1688 | 14886 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 14940 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
1690 | 14887 | || as_fn_error "could not create -" "$LINENO" 5 | 14941 | || as_fn_error $? "could not create -" "$LINENO" 5 |
1691 | 14888 | fi | 14942 | fi |
1692 | 14889 | ;; | 14943 | ;; |
1693 | 14890 | 14944 | ||
1694 | @@ -14899,7 +14953,7 @@ | |||
1695 | 14899 | ac_clean_files=$ac_clean_files_save | 14953 | ac_clean_files=$ac_clean_files_save |
1696 | 14900 | 14954 | ||
1697 | 14901 | test $ac_write_fail = 0 || | 14955 | test $ac_write_fail = 0 || |
1699 | 14902 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 14956 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
1700 | 14903 | 14957 | ||
1701 | 14904 | 14958 | ||
1702 | 14905 | # configure is writing to config.log, and then calls config.status. | 14959 | # configure is writing to config.log, and then calls config.status. |
1703 | @@ -14920,7 +14974,7 @@ | |||
1704 | 14920 | exec 5>>config.log | 14974 | exec 5>>config.log |
1705 | 14921 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 14975 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
1706 | 14922 | # would make configure fail if this is the last instruction. | 14976 | # would make configure fail if this is the last instruction. |
1708 | 14923 | $ac_cs_success || as_fn_exit $? | 14977 | $ac_cs_success || as_fn_exit 1 |
1709 | 14924 | fi | 14978 | fi |
1710 | 14925 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 14979 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
1711 | 14926 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 14980 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
1712 | 14927 | 14981 | ||
1713 | === modified file 'configure.in' | |||
1714 | --- configure.in 2010-08-31 19:51:07 +0000 | |||
1715 | +++ configure.in 2010-09-03 17:02:41 +0000 | |||
1716 | @@ -12,7 +12,7 @@ | |||
1717 | 12 | [], | 12 | [], |
1718 | 13 | [m4_fatal([Autoconf version $1 is required for Python], 63)]) | 13 | [m4_fatal([Autoconf version $1 is required for Python], 63)]) |
1719 | 14 | ]) | 14 | ]) |
1721 | 15 | version_required(2.65) | 15 | AC_PREREQ(2.65) |
1722 | 16 | 16 | ||
1723 | 17 | AC_REVISION($Revision$) | 17 | AC_REVISION($Revision$) |
1724 | 18 | AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) | 18 | AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) |
1725 | @@ -52,6 +52,7 @@ | |||
1726 | 52 | AC_SUBST(VERSION) | 52 | AC_SUBST(VERSION) |
1727 | 53 | VERSION=PYTHON_VERSION | 53 | VERSION=PYTHON_VERSION |
1728 | 54 | 54 | ||
1729 | 55 | # Version number or Python's own shared library file. | ||
1730 | 55 | AC_SUBST(SOVERSION) | 56 | AC_SUBST(SOVERSION) |
1731 | 56 | SOVERSION=1.0 | 57 | SOVERSION=1.0 |
1732 | 57 | 58 | ||
1733 | @@ -817,6 +818,9 @@ | |||
1734 | 817 | esac | 818 | esac |
1735 | 818 | fi | 819 | fi |
1736 | 819 | 820 | ||
1737 | 821 | # For calculating the .so ABI tag. | ||
1738 | 822 | SOABI_QUALIFIERS="" | ||
1739 | 823 | |||
1740 | 820 | # Check for --with-pydebug | 824 | # Check for --with-pydebug |
1741 | 821 | AC_MSG_CHECKING(for --with-pydebug) | 825 | AC_MSG_CHECKING(for --with-pydebug) |
1742 | 822 | AC_ARG_WITH(pydebug, | 826 | AC_ARG_WITH(pydebug, |
1743 | @@ -828,6 +832,7 @@ | |||
1744 | 828 | [Define if you want to build an interpreter with many run-time checks.]) | 832 | [Define if you want to build an interpreter with many run-time checks.]) |
1745 | 829 | AC_MSG_RESULT(yes); | 833 | AC_MSG_RESULT(yes); |
1746 | 830 | Py_DEBUG='true' | 834 | Py_DEBUG='true' |
1747 | 835 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}d" | ||
1748 | 831 | else AC_MSG_RESULT(no); Py_DEBUG='false' | 836 | else AC_MSG_RESULT(no); Py_DEBUG='false' |
1749 | 832 | fi], | 837 | fi], |
1750 | 833 | [AC_MSG_RESULT(no)]) | 838 | [AC_MSG_RESULT(no)]) |
1751 | @@ -1649,34 +1654,6 @@ | |||
1752 | 1649 | AC_SUBST(BLDSHARED) | 1654 | AC_SUBST(BLDSHARED) |
1753 | 1650 | AC_SUBST(CCSHARED) | 1655 | AC_SUBST(CCSHARED) |
1754 | 1651 | AC_SUBST(LINKFORSHARED) | 1656 | AC_SUBST(LINKFORSHARED) |
1755 | 1652 | # SO is the extension of shared libraries `(including the dot!) | ||
1756 | 1653 | # -- usually .so, .sl on HP-UX, .dll on Cygwin | ||
1757 | 1654 | AC_MSG_CHECKING(SO) | ||
1758 | 1655 | if test -z "$SO" | ||
1759 | 1656 | then | ||
1760 | 1657 | case $ac_sys_system in | ||
1761 | 1658 | hp*|HP*) | ||
1762 | 1659 | case `uname -m` in | ||
1763 | 1660 | ia64) SO=.so;; | ||
1764 | 1661 | *) SO=.sl;; | ||
1765 | 1662 | esac | ||
1766 | 1663 | ;; | ||
1767 | 1664 | CYGWIN*) SO=.dll;; | ||
1768 | 1665 | *) SO=.so;; | ||
1769 | 1666 | esac | ||
1770 | 1667 | else | ||
1771 | 1668 | # this might also be a termcap variable, see #610332 | ||
1772 | 1669 | echo | ||
1773 | 1670 | echo '=====================================================================' | ||
1774 | 1671 | echo '+ +' | ||
1775 | 1672 | echo '+ WARNING: You have set SO in your environment. +' | ||
1776 | 1673 | echo '+ Do you really mean to change the extension for shared libraries? +' | ||
1777 | 1674 | echo '+ Continuing in 10 seconds to let you to ponder. +' | ||
1778 | 1675 | echo '+ +' | ||
1779 | 1676 | echo '=====================================================================' | ||
1780 | 1677 | sleep 10 | ||
1781 | 1678 | fi | ||
1782 | 1679 | AC_MSG_RESULT($SO) | ||
1783 | 1680 | 1657 | ||
1784 | 1681 | AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).]) | 1658 | AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).]) |
1785 | 1682 | # LDSHARED is the ld *command* used to create shared library | 1659 | # LDSHARED is the ld *command* used to create shared library |
1786 | @@ -2487,7 +2464,9 @@ | |||
1787 | 2487 | AS_HELP_STRING([--with(out)-pymalloc], [disable/enable specialized mallocs])) | 2464 | AS_HELP_STRING([--with(out)-pymalloc], [disable/enable specialized mallocs])) |
1788 | 2488 | 2465 | ||
1789 | 2489 | if test -z "$with_pymalloc" | 2466 | if test -z "$with_pymalloc" |
1791 | 2490 | then with_pymalloc="yes" | 2467 | then |
1792 | 2468 | with_pymalloc="yes" | ||
1793 | 2469 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}m" | ||
1794 | 2491 | fi | 2470 | fi |
1795 | 2492 | if test "$with_pymalloc" != "no" | 2471 | if test "$with_pymalloc" != "no" |
1796 | 2493 | then | 2472 | then |
1797 | @@ -3595,7 +3574,7 @@ | |||
1798 | 3595 | ], | 3574 | ], |
1799 | 3596 | [ | 3575 | [ |
1800 | 3597 | case "$have_ucs4_tcl" in | 3576 | case "$have_ucs4_tcl" in |
1802 | 3598 | yes) unicode_size="4" ;; | 3577 | yes) unicode_size="4";; |
1803 | 3599 | *) unicode_size="2" ;; | 3578 | *) unicode_size="2" ;; |
1804 | 3600 | esac | 3579 | esac |
1805 | 3601 | ]) | 3580 | ]) |
1806 | @@ -3603,7 +3582,10 @@ | |||
1807 | 3603 | AH_TEMPLATE(Py_UNICODE_SIZE, | 3582 | AH_TEMPLATE(Py_UNICODE_SIZE, |
1808 | 3604 | [Define as the size of the unicode type.]) | 3583 | [Define as the size of the unicode type.]) |
1809 | 3605 | case "$unicode_size" in | 3584 | case "$unicode_size" in |
1811 | 3606 | 4) AC_DEFINE(Py_UNICODE_SIZE, 4) ;; | 3585 | 4) |
1812 | 3586 | AC_DEFINE(Py_UNICODE_SIZE, 4) | ||
1813 | 3587 | SOABI_QUALIFIERS="${SOABI_QUALIFIERS}u" | ||
1814 | 3588 | ;; | ||
1815 | 3607 | *) AC_DEFINE(Py_UNICODE_SIZE, 2) ;; | 3589 | *) AC_DEFINE(Py_UNICODE_SIZE, 2) ;; |
1816 | 3608 | esac | 3590 | esac |
1817 | 3609 | 3591 | ||
1818 | @@ -3636,6 +3618,55 @@ | |||
1819 | 3636 | # check for endianness | 3618 | # check for endianness |
1820 | 3637 | AC_C_BIGENDIAN | 3619 | AC_C_BIGENDIAN |
1821 | 3638 | 3620 | ||
1822 | 3621 | # ABI version string for Python extension modules. This appears between the | ||
1823 | 3622 | # periods in shared library file names, e.g. foo.<SOABI>.so. It is calculated | ||
1824 | 3623 | # from the following attributes which affect the ABI of this Python build (in | ||
1825 | 3624 | # this order): | ||
1826 | 3625 | # | ||
1827 | 3626 | # * The Python implementation (always 'cpython-' for us) | ||
1828 | 3627 | # * The major and minor version numbers | ||
1829 | 3628 | # * --with-pydebug (adds a 'd') | ||
1830 | 3629 | # * --with-pymalloc (adds a 'm') | ||
1831 | 3630 | # * --with-wide-unicode (adds a 'u') | ||
1832 | 3631 | # | ||
1833 | 3632 | # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc, | ||
1834 | 3633 | # would get a shared library ABI version tag of 'cpython-32udm' and shared | ||
1835 | 3634 | # libraries would be named 'foo.cpython-32udm.so'. | ||
1836 | 3635 | AC_SUBST(SOABI) | ||
1837 | 3636 | AC_MSG_CHECKING(SOABI) | ||
1838 | 3637 | SOABI='cpython-'`echo $VERSION | tr -d .`${SOABI_QUALIFIERS} | ||
1839 | 3638 | AC_MSG_RESULT($SOABI) | ||
1840 | 3639 | |||
1841 | 3640 | # SO is the extension of shared libraries `(including the dot!) | ||
1842 | 3641 | # -- usually .so, .sl on HP-UX, .dll on Cygwin | ||
1843 | 3642 | AC_MSG_CHECKING(SO) | ||
1844 | 3643 | if test -z "$SO" | ||
1845 | 3644 | then | ||
1846 | 3645 | case $ac_sys_system in | ||
1847 | 3646 | hp*|HP*) | ||
1848 | 3647 | case `uname -m` in | ||
1849 | 3648 | ia64) SO=.so;; | ||
1850 | 3649 | *) SO=.sl;; | ||
1851 | 3650 | esac | ||
1852 | 3651 | ;; | ||
1853 | 3652 | CYGWIN*) SO=.dll;; | ||
1854 | 3653 | Linux*) SO=.${SOABI}.so;; | ||
1855 | 3654 | *) SO=.so;; | ||
1856 | 3655 | esac | ||
1857 | 3656 | else | ||
1858 | 3657 | # this might also be a termcap variable, see #610332 | ||
1859 | 3658 | echo | ||
1860 | 3659 | echo '=====================================================================' | ||
1861 | 3660 | echo '+ +' | ||
1862 | 3661 | echo '+ WARNING: You have set SO in your environment. +' | ||
1863 | 3662 | echo '+ Do you really mean to change the extension for shared libraries? +' | ||
1864 | 3663 | echo '+ Continuing in 10 seconds to let you to ponder. +' | ||
1865 | 3664 | echo '+ +' | ||
1866 | 3665 | echo '=====================================================================' | ||
1867 | 3666 | sleep 10 | ||
1868 | 3667 | fi | ||
1869 | 3668 | AC_MSG_RESULT($SO) | ||
1870 | 3669 | |||
1871 | 3639 | # Check whether right shifting a negative integer extends the sign bit | 3670 | # Check whether right shifting a negative integer extends the sign bit |
1872 | 3640 | # or fills with zeros (like the Cray J90, according to Tim Peters). | 3671 | # or fills with zeros (like the Cray J90, according to Tim Peters). |
1873 | 3641 | AC_MSG_CHECKING(whether right shift extends the sign bit) | 3672 | AC_MSG_CHECKING(whether right shift extends the sign bit) |
1874 | 3642 | 3673 | ||
1875 | === modified file 'pyconfig.h.in' | |||
1876 | --- pyconfig.h.in 2010-08-31 19:51:07 +0000 | |||
1877 | +++ pyconfig.h.in 2010-09-03 17:02:41 +0000 | |||
1878 | @@ -1040,7 +1040,7 @@ | |||
1879 | 1040 | /* Define to 1 if your <sys/time.h> declares `struct tm'. */ | 1040 | /* Define to 1 if your <sys/time.h> declares `struct tm'. */ |
1880 | 1041 | #undef TM_IN_SYS_TIME | 1041 | #undef TM_IN_SYS_TIME |
1881 | 1042 | 1042 | ||
1883 | 1043 | /* Define to 0 if you don't want to use computed gotos in ceval.c. */ | 1043 | /* Define if you want to use computed gotos in ceval.c. */ |
1884 | 1044 | #undef USE_COMPUTED_GOTOS | 1044 | #undef USE_COMPUTED_GOTOS |
1885 | 1045 | 1045 | ||
1886 | 1046 | /* Define if the compiler supports the inline keyword */ | 1046 | /* Define if the compiler supports the inline keyword */ |
Hope to kill germs from my devices also Fix issues from my email, gmail for Identity Crisis.
@Adilishaq