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

Side by Side Diff: configure

Issue 7652: Merge C version of decimal into py3k.
Patch Set: Created 7 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.in » ('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.68 for python 3.3. 3 # Generated by GNU Autoconf 2.68 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, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc. 10 # Foundation, Inc.
(...skipping 6701 matching lines...) Expand 10 before | Expand all | Expand 10 after
6712 cat >>confdefs.h <<_ACEOF 6712 cat >>confdefs.h <<_ACEOF
6713 #define int64_t $ac_cv_c_int64_t 6713 #define int64_t $ac_cv_c_int64_t
6714 _ACEOF 6714 _ACEOF
6715 ;; 6715 ;;
6716 esac 6716 esac
6717 6717
6718 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_defaul t" 6718 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_defaul t"
6719 if test "x$ac_cv_type_ssize_t" = xyes; then : 6719 if test "x$ac_cv_type_ssize_t" = xyes; then :
6720 6720
6721 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h 6721 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h
6722
6723 fi
6724
6725 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_include s_default"
6726 if test "x$ac_cv_type___uint128_t" = xyes; then :
6727
6728 $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h
6722 6729
6723 fi 6730 fi
6724 6731
6725 6732
6726 # Sizes of various common basic types 6733 # Sizes of various common basic types
6727 # ANSI C requires sizeof(char) == 1, so no need to check it 6734 # ANSI C requires sizeof(char) == 1, so no need to check it
6728 # The cast to long int works around a bug in the HP C Compiler 6735 # The cast to long int works around a bug in the HP C Compiler
6729 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6730 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6737 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6731 # This bug is HP SR number 8606223364. 6738 # This bug is HP SR number 8606223364.
(...skipping 5148 matching lines...) Expand 10 before | Expand all | Expand 10 after
11880 then LIBC=$withval 11887 then LIBC=$withval
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5 11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
11882 $as_echo "set LIBC=\"$withval\"" >&6; } 11889 $as_echo "set LIBC=\"$withval\"" >&6; }
11883 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5 11890 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
11884 fi 11891 fi
11885 else 11892 else
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5 11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
11887 $as_echo "default LIBC=\"$LIBC\"" >&6; } 11894 $as_echo "default LIBC=\"$LIBC\"" >&6; }
11888 fi 11895 fi
11889 11896
11897
11898 # **************************************
11899 # * Check for gcc x64 inline assembler *
11900 # **************************************
11901
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
11903 $as_echo_n "checking for x64 gcc inline assembler... " >&6; }
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906
11907 int
11908 main ()
11909 {
11910
11911 __asm__ __volatile__ ("movq %rcx, %rax");
11912
11913 ;
11914 return 0;
11915 }
11916 _ACEOF
11917 if ac_fn_c_try_compile "$LINENO"; then :
11918 have_gcc_asm_for_x64=yes
11919 else
11920 have_gcc_asm_for_x64=no
11921 fi
11922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x64" >&5
11924 $as_echo "$have_gcc_asm_for_x64" >&6; }
11925 if test "$have_gcc_asm_for_x64" = yes
11926 then
11927
11928 $as_echo "#define HAVE_GCC_ASM_FOR_X64 1" >>confdefs.h
11929
11930 fi
11890 11931
11891 # ************************************************** 11932 # **************************************************
11892 # * Check for various properties of floating point * 11933 # * Check for various properties of floating point *
11893 # ************************************************** 11934 # **************************************************
11894 11935
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-e ndian IEEE 754 binary64" >&5 11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-e ndian IEEE 754 binary64" >&5
11896 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... " >&6; } 11937 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... " >&6; }
11897 if ${ac_cv_little_endian_double+:} false; then : 11938 if ${ac_cv_little_endian_double+:} false; then :
11898 $as_echo_n "(cached) " >&6 11939 $as_echo_n "(cached) " >&6
11899 else 11940 else
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after
14042 SRCDIRS="Parser Grammar Objects Python Modules Mac" 14083 SRCDIRS="Parser Grammar Objects Python Modules Mac"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5 14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
14044 $as_echo_n "checking for build directories... " >&6; } 14085 $as_echo_n "checking for build directories... " >&6; }
14045 for dir in $SRCDIRS; do 14086 for dir in $SRCDIRS; do
14046 if test ! -d $dir; then 14087 if test ! -d $dir; then
14047 mkdir $dir 14088 mkdir $dir
14048 fi 14089 fi
14049 done 14090 done
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14051 $as_echo "done" >&6; } 14092 $as_echo "done" >&6; }
14093
14094 # Availability of -O2:
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
14096 $as_echo_n "checking for -O2... " >&6; }
14097 saved_cflags="$CFLAGS"
14098 CFLAGS="-O2"
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101
14102 int
14103 main ()
14104 {
14105
14106
14107 ;
14108 return 0;
14109 }
14110 _ACEOF
14111 if ac_fn_c_try_compile "$LINENO"; then :
14112 have_O2=yes
14113 else
14114 have_O2=no
14115 fi
14116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_O2" >&5
14118 $as_echo "$have_O2" >&6; }
14119 CFLAGS="$saved_cflags"
14120
14121 # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
14122 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memm ove bug" >&5
14124 $as_echo_n "checking for glibc _FORTIFY_SOURCE/memmove bug... " >&6; }
14125 saved_cflags="$CFLAGS"
14126 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
14127 if test "$have_O2" = no; then
14128 CFLAGS=""
14129 fi
14130 if test "$cross_compiling" = yes; then :
14131 have_glibc_memmove_bug=undefined
14132 else
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135
14136 #include <stdio.h>
14137 #include <stdlib.h>
14138 #include <string.h>
14139 void foo(void *p, void *q) { memmove(p, q, 19); }
14140 int main() {
14141 char a[32] = "123456789000000000";
14142 foo(&a[9], a);
14143 if (strcmp(a, "123456789123456789000000000") != 0)
14144 return 1;
14145 foo(a, &a[9]);
14146 if (strcmp(a, "123456789000000000") != 0)
14147 return 1;
14148 return 0;
14149 }
14150
14151 _ACEOF
14152 if ac_fn_c_try_run "$LINENO"; then :
14153 have_glibc_memmove_bug=no
14154 else
14155 have_glibc_memmove_bug=yes
14156 fi
14157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14158 conftest.$ac_objext conftest.beam conftest.$ac_ext
14159 fi
14160
14161 CFLAGS="$saved_cflags"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
14163 $as_echo "$have_glibc_memmove_bug" >&6; }
14164 if test "$have_glibc_memmove_bug" = yes; then
14165
14166 $as_echo "#define HAVE_GLIBC_MEMMOVE_BUG 1" >>confdefs.h
14167
14168 fi
14169
14170 if test "$have_gcc_asm_for_x87" = yes; then
14171 # Some versions of gcc miscompile inline asm:
14172 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
14173 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
14174 case $CC in
14175 *gcc*)
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-c onst bug" >&5
14177 $as_echo_n "checking for gcc ipa-pure-const bug... " >&6; }
14178 saved_cflags="$CFLAGS"
14179 CFLAGS="-O2"
14180 if test "$cross_compiling" = yes; then :
14181 have_ipa_pure_const_bug=undefined
14182 else
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185
14186 __attribute__((noinline)) int
14187 foo(int *p) {
14188 int r;
14189 asm ( "movl \$6, (%1)\n\t"
14190 "xorl %0, %0\n\t"
14191 : "=r" (r) : "r" (p) : "memory"
14192 );
14193 return r;
14194 }
14195 int main() {
14196 int p = 8;
14197 if ((foo(&p) ? : p) != 6)
14198 return 1;
14199 return 0;
14200 }
14201
14202 _ACEOF
14203 if ac_fn_c_try_run "$LINENO"; then :
14204 have_ipa_pure_const_bug=no
14205 else
14206 have_ipa_pure_const_bug=yes
14207 fi
14208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14209 conftest.$ac_objext conftest.beam conftest.$ac_ext
14210 fi
14211
14212 CFLAGS="$saved_cflags"
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_cons t_bug" >&5
14214 $as_echo "$have_ipa_pure_const_bug" >&6; }
14215 if test "$have_ipa_pure_const_bug" = yes; then
14216
14217 $as_echo "#define HAVE_IPA_PURE_CONST_BUG 1" >>confdefs.h
14218
14219 fi
14220 ;;
14221 esac
14222 fi
14052 14223
14053 # generate output files 14224 # generate output files
14054 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python. pc" 14225 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python. pc"
14055 14226
14056 ac_config_files="$ac_config_files Modules/ld_so_aix" 14227 ac_config_files="$ac_config_files Modules/ld_so_aix"
14057 14228
14058 cat >confcache <<\_ACEOF 14229 cat >confcache <<\_ACEOF
14059 # This file is a shell script that caches the results of configure 14230 # This file is a shell script that caches the results of configure
14060 # tests run on this system so they can be shared between configure 14231 # tests run on this system so they can be shared between configure
14061 # scripts and configure runs, see configure's option --config-cache. 14232 # scripts and configure runs, see configure's option --config-cache.
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
14592 "*) set x $ac_config_files; shift; ac_config_files=$*;; 14763 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14593 esac 14764 esac
14594 14765
14595 case $ac_config_headers in *" 14766 case $ac_config_headers in *"
14596 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14767 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14597 esac 14768 esac
14598 14769
14599 14770
14600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14601 # Files that config.status was made for. 14772 # Files that config.status was made for.
14602 config_files="`echo $ac_config_files`" 14773 config_files="$ac_config_files"
14603 config_headers="`echo $ac_config_headers`" 14774 config_headers="$ac_config_headers"
14604 14775
14605 _ACEOF 14776 _ACEOF
14606 14777
14607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14608 ac_cs_usage="\ 14779 ac_cs_usage="\
14609 \`$as_me' instantiates files and other configuration actions 14780 \`$as_me' instantiates files and other configuration actions
14610 from templates according to the current configuration. Unless the files 14781 from templates according to the current configuration. Unless the files
14611 and actions are specified as TAGs, all are instantiated by default. 14782 and actions are specified as TAGs, all are instantiated by default.
14612 14783
14613 Usage: $0 [OPTION]... [TAG]... 14784 Usage: $0 [OPTION]... [TAG]...
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
15369 if test ! -f Modules/Setup.local 15540 if test ! -f Modules/Setup.local
15370 then 15541 then
15371 echo "# Edit this file for local setup changes" >Modules/Setup.local 15542 echo "# Edit this file for local setup changes" >Modules/Setup.local
15372 fi 15543 fi
15373 15544
15374 echo "creating Makefile" 15545 echo "creating Makefile"
15375 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 15546 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
15376 -s Modules Modules/Setup.config \ 15547 -s Modules Modules/Setup.config \
15377 Modules/Setup.local Modules/Setup 15548 Modules/Setup.local Modules/Setup
15378 mv config.c Modules 15549 mv config.c Modules
OLDNEW
« no previous file with comments | « no previous file | configure.in » ('j') | no next file with comments »

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