Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(83352)

Side by Side Diff: configure

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « config.sub ('k') | configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for python 3.6. 3 # Generated by GNU Autoconf 2.69 for python 3.6.
4 # 4 #
5 # Report bugs to <http://bugs.python.org/>. 5 # Report bugs to <http://bugs.python.org/>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # 9 #
10 # 10 #
(...skipping 3295 matching lines...) Expand 10 before | Expand all | Expand 10 after
3306 if test "$cross_compiling" = yes; then 3306 if test "$cross_compiling" = yes; then
3307 # ac_sys_system and ac_sys_release are used for setting 3307 # ac_sys_system and ac_sys_release are used for setting
3308 # a lot of different things including 'define_xopen_source' 3308 # a lot of different things including 'define_xopen_source'
3309 # in the case statement below. 3309 # in the case statement below.
3310 case "$host" in 3310 case "$host" in
3311 *-*-linux*) 3311 *-*-linux*)
3312 ac_sys_system=Linux 3312 ac_sys_system=Linux
3313 ;; 3313 ;;
3314 *-*-cygwin*) 3314 *-*-cygwin*)
3315 ac_sys_system=Cygwin 3315 ac_sys_system=Cygwin
3316 ;;
3317 *-apple-ios)
3318 ac_sys_system=iOS
3316 ;; 3319 ;;
3317 *) 3320 *)
3318 # for now, limit cross builds to known configurations 3321 # for now, limit cross builds to known configurations
3319 MACHDEP="unknown" 3322 MACHDEP="unknown"
3320 as_fn_error $? "cross build not supported for $host" "$LINENO" 5 3323 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3321 esac 3324 esac
3322 ac_sys_release= 3325 ac_sys_release=
3323 else 3326 else
3324 ac_sys_system=`uname -s` 3327 ac_sys_system=`uname -s`
3325 if test "$ac_sys_system" = "AIX" \ 3328 if test "$ac_sys_system" = "AIX" \
(...skipping 23 matching lines...) Expand all
3349 case "$host" in 3352 case "$host" in
3350 *-*-linux*) 3353 *-*-linux*)
3351 case "$host_cpu" in 3354 case "$host_cpu" in
3352 arm*) 3355 arm*)
3353 _host_cpu=arm 3356 _host_cpu=arm
3354 ;; 3357 ;;
3355 *) 3358 *)
3356 _host_cpu=$host_cpu 3359 _host_cpu=$host_cpu
3357 esac 3360 esac
3358 ;; 3361 ;;
3362 *-apple-ios)
3363 case "$host_cpu" in
3364 arm*)
3365 _host_cpu=arm
3366 ;;
3367 *)
3368 _host_cpu=$host_cpu
3369 esac
3370 ;;
3359 *-*-cygwin*) 3371 *-*-cygwin*)
3360 _host_cpu= 3372 _host_cpu=
3361 ;; 3373 ;;
3362 *) 3374 *)
3363 # for now, limit cross builds to known configurations 3375 # for now, limit cross builds to known configurations
3364 MACHDEP="unknown" 3376 MACHDEP="unknown"
3365 as_fn_error $? "cross build not supported for $host" "$LINENO" 5 3377 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3366 esac 3378 esac
3367 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}" 3379 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3368 fi 3380 fi
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3427 # On MacOS X 10.2, a bug in ncurses.h means that it craps out if 3439 # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
3428 # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which 3440 # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
3429 # identifies itself as Darwin/7.* 3441 # identifies itself as Darwin/7.*
3430 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE 3442 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3431 # disables platform specific features beyond repair. 3443 # disables platform specific features beyond repair.
3432 # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE 3444 # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3433 # has no effect, don't bother defining them 3445 # has no effect, don't bother defining them
3434 Darwin/[6789].*) 3446 Darwin/[6789].*)
3435 define_xopen_source=no;; 3447 define_xopen_source=no;;
3436 Darwin/1[0-9].*) 3448 Darwin/1[0-9].*)
3449 define_xopen_source=no;;
3450 # On iOS, defining _POSIX_C_SOURCE also disables platform specific features.
3451 iOS/*)
3437 define_xopen_source=no;; 3452 define_xopen_source=no;;
3438 # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but 3453 # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
3439 # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined 3454 # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
3440 # or has another value. By not (re)defining it, the defaults come in place. 3455 # or has another value. By not (re)defining it, the defaults come in place.
3441 AIX/4) 3456 AIX/4)
3442 define_xopen_source=no;; 3457 define_xopen_source=no;;
3443 AIX/5) 3458 AIX/5)
3444 if test `uname -r` -eq 1; then 3459 if test `uname -r` -eq 1; then
3445 define_xopen_source=no 3460 define_xopen_source=no
3446 fi 3461 fi
(...skipping 2814 matching lines...) Expand 10 before | Expand all | Expand 10 after
6261 yes:) 6276 yes:)
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 6278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
6264 ac_tool_warned=yes ;; 6279 ac_tool_warned=yes ;;
6265 esac 6280 esac
6266 READELF=$ac_ct_READELF 6281 READELF=$ac_ct_READELF
6267 fi 6282 fi
6268 fi 6283 fi
6269 6284
6270 if test "$cross_compiling" = yes; then 6285 if test "$cross_compiling" = yes; then
6271 case "$READELF" in 6286 » case "$host" in
6272 » readelf|:) 6287 » *-apple-ios)
6273 » as_fn_error $? "readelf for the host is required for cross builds" "$LIN ENO" 5 6288 » » # readelf not required for iOS cross builds.
6274 » ;; 6289 » ;;
6275 esac 6290 » *)
6291 » » case "$READELF" in
6292 » » » readelf|:)
6293 » » » as_fn_error $? "readelf for the host is required for cro ss builds" "$LINENO" 5
6294 » » » ;;
6295 » » esac
6296 » esac
6276 fi 6297 fi
6277 6298
6278 6299
6279 6300
6280 for ac_prog in python$PACKAGE_VERSION python3 python 6301 for ac_prog in python$PACKAGE_VERSION python3 python
6281 do 6302 do
6282 # Extract the first word of "$ac_prog", so it can be a program name with args. 6303 # Extract the first word of "$ac_prog", so it can be a program name with args.
6283 set dummy $ac_prog; ac_word=$2 6304 set dummy $ac_prog; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; } 6306 $as_echo_n "checking for $ac_word... " >&6; }
(...skipping 4759 matching lines...) Expand 10 before | Expand all | Expand 10 after
11045 case $ac_sys_system/$ac_sys_release in 11066 case $ac_sys_system/$ac_sys_release in
11046 AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynloa d_aix.c 11067 AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynloa d_aix.c
11047 if test "$ac_cv_func_dlopen" = yes 11068 if test "$ac_cv_func_dlopen" = yes
11048 then DYNLOADFILE="dynload_shlib.o" 11069 then DYNLOADFILE="dynload_shlib.o"
11049 else DYNLOADFILE="dynload_aix.o" 11070 else DYNLOADFILE="dynload_aix.o"
11050 fi 11071 fi
11051 ;; 11072 ;;
11052 hp*|HP*) DYNLOADFILE="dynload_hpux.o";; 11073 hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
11053 # Use dynload_next.c only on 10.2 and below, which don't have native dlo pen() 11074 # Use dynload_next.c only on 10.2 and below, which don't have native dlo pen()
11054 Darwin/[0156]\..*) DYNLOADFILE="dynload_next.o";; 11075 Darwin/[0156]\..*) DYNLOADFILE="dynload_next.o";;
11076 # Disable dynamic loading on iOS
11077 iOS/*) DYNLOADFILE="dynload_stub.o";;
11055 *) 11078 *)
11056 # use dynload_shlib.c and dlopen() if we have it; otherwise stub 11079 # use dynload_shlib.c and dlopen() if we have it; otherwise stub
11057 # out any dynamic loading 11080 # out any dynamic loading
11058 if test "$ac_cv_func_dlopen" = yes 11081 if test "$ac_cv_func_dlopen" = yes
11059 then DYNLOADFILE="dynload_shlib.o" 11082 then DYNLOADFILE="dynload_shlib.o"
11060 else DYNLOADFILE="dynload_stub.o" 11083 else DYNLOADFILE="dynload_stub.o"
11061 fi 11084 fi
11062 ;; 11085 ;;
11063 esac 11086 esac
11064 fi 11087 fi
(...skipping 6541 matching lines...) Expand 10 before | Expand all | Expand 10 after
17606 17629
17607 echo "creating Modules/Setup" >&6 17630 echo "creating Modules/Setup" >&6
17608 if test ! -f Modules/Setup 17631 if test ! -f Modules/Setup
17609 then 17632 then
17610 cp $srcdir/Modules/Setup.dist Modules/Setup 17633 cp $srcdir/Modules/Setup.dist Modules/Setup
17611 fi 17634 fi
17612 17635
17613 echo "creating Modules/Setup.local" >&6 17636 echo "creating Modules/Setup.local" >&6
17614 if test ! -f Modules/Setup.local 17637 if test ! -f Modules/Setup.local
17615 then 17638 then
17616 » echo "# Edit this file for local setup changes" >Modules/Setup.local 17639 if test ! -f Modules/Setup.$_PYTHON_HOST_PLATFORM
17640 then
17641 echo "# Edit this file for local setup changes" >Modules/Setup.local
17642 else
17643 if test -f Modules/Setup.$_PYTHON_HOST_PLATFORM.local
17644 then
17645 cp Modules/Setup.$_PYTHON_HOST_PLATFORM.local Modules/Setup.local
17646 else
17647 cat Modules/Setup.embedded Modules/Setup.$_PYTHON_HOST_PLATFORM > Mo dules/Setup.local
17648 fi
17649 fi
17617 fi 17650 fi
17618 17651
17619 echo "creating Makefile" >&6 17652 echo "creating Makefile" >&6
17620 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 17653 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
17621 -s Modules Modules/Setup.config \ 17654 -s Modules Modules/Setup.config \
17622 Modules/Setup.local Modules/Setup 17655 Modules/Setup.local Modules/Setup
17623 mv config.c Modules 17656 mv config.c Modules
OLDNEW
« no previous file with comments | « config.sub ('k') | configure.ac » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+