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

Side by Side Diff: configure

Issue 16235: Add python-config.sh for use during cross compilation.
Patch Set: Created 6 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 | « no previous file | 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.3. 3 # Generated by GNU Autoconf 2.69 for python 3.3.
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 #ifdef HAVE_STDINT_H 618 #ifdef HAVE_STDINT_H
619 # include <stdint.h> 619 # include <stdint.h>
620 #endif 620 #endif
621 #ifdef HAVE_UNISTD_H 621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h> 622 # include <unistd.h>
623 #endif" 623 #endif"
624 624
625 ac_subst_vars='LTLIBOBJS 625 ac_subst_vars='LTLIBOBJS
626 SRCDIRS 626 SRCDIRS
627 THREADHEADERS 627 THREADHEADERS
628 LIBPL
629 PY_ENABLE_SHARED
628 SOABI 630 SOABI
629 LIBC 631 LIBC
630 LIBM 632 LIBM
631 HAVE_GETHOSTBYNAME 633 HAVE_GETHOSTBYNAME
632 HAVE_GETHOSTBYNAME_R 634 HAVE_GETHOSTBYNAME_R
633 HAVE_GETHOSTBYNAME_R_3_ARG 635 HAVE_GETHOSTBYNAME_R_3_ARG
634 HAVE_GETHOSTBYNAME_R_5_ARG 636 HAVE_GETHOSTBYNAME_R_5_ARG
635 HAVE_GETHOSTBYNAME_R_6_ARG 637 HAVE_GETHOSTBYNAME_R_6_ARG
636 LIBOBJS 638 LIBOBJS
637 TRUE 639 TRUE
(...skipping 4928 matching lines...) Expand 10 before | Expand all | Expand 10 after
5566 then 5568 then
5567 LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' 5569 LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
5568 RUNSHARED=DYLD_FRAMEWORK_PATH="`pwd`:$DYLD_FRAMEWORK_PATH" 5570 RUNSHARED=DYLD_FRAMEWORK_PATH="`pwd`:$DYLD_FRAMEWORK_PATH"
5569 BLDLIBRARY='' 5571 BLDLIBRARY=''
5570 else 5572 else
5571 BLDLIBRARY='$(LDLIBRARY)' 5573 BLDLIBRARY='$(LDLIBRARY)'
5572 fi 5574 fi
5573 5575
5574 # Other platforms follow 5576 # Other platforms follow
5575 if test $enable_shared = "yes"; then 5577 if test $enable_shared = "yes"; then
5578 PY_ENABLE_SHARED=1
5576 5579
5577 $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h 5580 $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
5578 5581
5579 case $ac_sys_system in 5582 case $ac_sys_system in
5580 CYGWIN*) 5583 CYGWIN*)
5581 LDLIBRARY='libpython$(LDVERSION).dll.a' 5584 LDLIBRARY='libpython$(LDVERSION).dll.a'
5582 DLLLIBRARY='libpython$(LDVERSION).dll' 5585 DLLLIBRARY='libpython$(LDVERSION).dll'
5583 ;; 5586 ;;
5584 SunOS*) 5587 SunOS*)
5585 LDLIBRARY='libpython$(LDVERSION).so' 5588 LDLIBRARY='libpython$(LDVERSION).so'
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
5623 BLDLIBRARY='-L. -lpython$(LDVERSION)' 5626 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5624 RUNSHARED='DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}' 5627 RUNSHARED='DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}'
5625 ;; 5628 ;;
5626 AIX*) 5629 AIX*)
5627 LDLIBRARY='libpython$(LDVERSION).so' 5630 LDLIBRARY='libpython$(LDVERSION).so'
5628 RUNSHARED=LIBPATH=`pwd`:${LIBPATH} 5631 RUNSHARED=LIBPATH=`pwd`:${LIBPATH}
5629 ;; 5632 ;;
5630 5633
5631 esac 5634 esac
5632 else # shared is disabled 5635 else # shared is disabled
5636 PY_ENABLE_SHARED=0
5633 case $ac_sys_system in 5637 case $ac_sys_system in
5634 CYGWIN*) 5638 CYGWIN*)
5635 BLDLIBRARY='$(LIBRARY)' 5639 BLDLIBRARY='$(LIBRARY)'
5636 LDLIBRARY='libpython$(LDVERSION).dll.a' 5640 LDLIBRARY='libpython$(LDVERSION).dll.a'
5637 ;; 5641 ;;
5638 esac 5642 esac
5639 fi 5643 fi
5640 5644
5641 if test "$cross_compiling" = yes; then 5645 if test "$cross_compiling" = yes; then
5642 RUNSHARED= 5646 RUNSHARED=
(...skipping 8038 matching lines...) Expand 10 before | Expand all | Expand 10 after
13681 $as_echo_n "checking SOABI... " >&6; } 13685 $as_echo_n "checking SOABI... " >&6; }
13682 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS} 13686 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5 13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
13684 $as_echo "$SOABI" >&6; } 13688 $as_echo "$SOABI" >&6; }
13685 13689
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5 13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
13687 $as_echo_n "checking LDVERSION... " >&6; } 13691 $as_echo_n "checking LDVERSION... " >&6; }
13688 LDVERSION='$(VERSION)$(ABIFLAGS)' 13692 LDVERSION='$(VERSION)$(ABIFLAGS)'
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5 13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
13690 $as_echo "$LDVERSION" >&6; } 13694 $as_echo "$LDVERSION" >&6; }
13695
13696
13697 LIBPL="${prefix}/lib/python${VERSION}/config-${LDVERSION}"
13698
13691 13699
13692 # SO is the extension of shared libraries `(including the dot!) 13700 # SO is the extension of shared libraries `(including the dot!)
13693 # -- usually .so, .sl on HP-UX, .dll on Cygwin 13701 # -- usually .so, .sl on HP-UX, .dll on Cygwin
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5 13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5
13695 $as_echo_n "checking SO... " >&6; } 13703 $as_echo_n "checking SO... " >&6; }
13696 if test -z "$SO" 13704 if test -z "$SO"
13697 then 13705 then
13698 case $ac_sys_system in 13706 case $ac_sys_system in
13699 hp*|HP*) 13707 hp*|HP*)
13700 case `uname -m` in 13708 case `uname -m` in
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
15129 if test "$have_ipa_pure_const_bug" = yes; then 15137 if test "$have_ipa_pure_const_bug" = yes; then
15130 15138
15131 $as_echo "#define HAVE_IPA_PURE_CONST_BUG 1" >>confdefs.h 15139 $as_echo "#define HAVE_IPA_PURE_CONST_BUG 1" >>confdefs.h
15132 15140
15133 fi 15141 fi
15134 ;; 15142 ;;
15135 esac 15143 esac
15136 fi 15144 fi
15137 15145
15138 # generate output files 15146 # generate output files
15139 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python. pc" 15147 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python. pc Misc/python-config.sh"
15140 15148
15141 ac_config_files="$ac_config_files Modules/ld_so_aix" 15149 ac_config_files="$ac_config_files Modules/ld_so_aix"
15142 15150
15143 cat >confcache <<\_ACEOF 15151 cat >confcache <<\_ACEOF
15144 # This file is a shell script that caches the results of configure 15152 # This file is a shell script that caches the results of configure
15145 # tests run on this system so they can be shared between configure 15153 # tests run on this system so they can be shared between configure
15146 # scripts and configure runs, see configure's option --config-cache. 15154 # scripts and configure runs, see configure's option --config-cache.
15147 # It is not useful on other systems. If it contains results you don't 15155 # It is not useful on other systems. If it contains results you don't
15148 # want to keep, you may remove or edit it. 15156 # want to keep, you may remove or edit it.
15149 # 15157 #
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
15833 do 15841 do
15834 case $ac_config_target in 15842 case $ac_config_target in
15835 "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;; 15843 "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;;
15836 "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;; 15844 "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
15837 "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLaunche r/Makefile" ;; 15845 "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLaunche r/Makefile" ;;
15838 "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resour ces/framework/Info.plist" ;; 15846 "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resour ces/framework/Info.plist" ;;
15839 "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/ap p/Info.plist" ;; 15847 "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/ap p/Info.plist" ;;
15840 "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;; 15848 "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;;
15841 "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;; 15849 "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;;
15842 "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;; 15850 "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;;
15851 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
15843 "Modules/ld_so_aix") CONFIG_FILES="$CONFIG_FILES Modules/ld_so_aix" ;; 15852 "Modules/ld_so_aix") CONFIG_FILES="$CONFIG_FILES Modules/ld_so_aix" ;;
15844 15853
15845 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15854 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15846 esac 15855 esac
15847 done 15856 done
15848 15857
15849 15858
15850 # If the user did not use the arguments to specify the items to instantiate, 15859 # If the user did not use the arguments to specify the items to instantiate,
15851 # then the envvar interface is used. Set only those that are not. 15860 # then the envvar interface is used. Set only those that are not.
15852 # We use the long form for the default assignment because of an extremely 15861 # We use the long form for the default assignment because of an extremely
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
16449 if test ! -f Modules/Setup.local 16458 if test ! -f Modules/Setup.local
16450 then 16459 then
16451 echo "# Edit this file for local setup changes" >Modules/Setup.local 16460 echo "# Edit this file for local setup changes" >Modules/Setup.local
16452 fi 16461 fi
16453 16462
16454 echo "creating Makefile" 16463 echo "creating Makefile"
16455 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 16464 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
16456 -s Modules Modules/Setup.config \ 16465 -s Modules Modules/Setup.config \
16457 Modules/Setup.local Modules/Setup 16466 Modules/Setup.local Modules/Setup
16458 mv config.c Modules 16467 mv config.c Modules
OLDNEW
« no previous file with comments | « no previous file | configure.ac » ('j') | no next file with comments »

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