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

Delta Between Two Patch Sets: configure

Issue 7652: Merge C version of decimal into py3k.
Left Patch Set: Created 7 years, 11 months ago
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | configure.in » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 with_computed_gotos 770 with_computed_gotos
771 ' 771 '
772 ac_precious_vars='build_alias 772 ac_precious_vars='build_alias
773 host_alias 773 host_alias
774 target_alias 774 target_alias
775 CC 775 CC
776 CFLAGS 776 CFLAGS
777 LDFLAGS 777 LDFLAGS
778 LIBS 778 LIBS
779 CPPFLAGS 779 CPPFLAGS
780 CPP 780 CPP'
781 CPPFLAGS'
782 781
783 782
784 # Initialize some variables set by options. 783 # Initialize some variables set by options.
785 ac_init_help= 784 ac_init_help=
786 ac_init_version=false 785 ac_init_version=false
787 ac_unrecognized_opts= 786 ac_unrecognized_opts=
788 ac_unrecognized_sep= 787 ac_unrecognized_sep=
789 # The variables have the same names as the options, with 788 # The variables have the same names as the options, with
790 # dashes changed to underlines. 789 # dashes changed to underlines.
791 cache_file=/dev/null 790 cache_file=/dev/null
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1937 $as_echo_n "(cached) " >&6 1936 $as_echo_n "(cached) " >&6
1938 else 1937 else
1939 eval "$3=no" 1938 eval "$3=no"
1940 # Order is important - never check a type that is potentially smaller 1939 # Order is important - never check a type that is potentially smaller
1941 # than half of the expected target width. 1940 # than half of the expected target width.
1942 for ac_type in int$2_t 'int' 'long int' \ 1941 for ac_type in int$2_t 'int' 'long int' \
1943 'long long int' 'short int' 'signed char'; do 1942 'long long int' 'short int' 'signed char'; do
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */ 1944 /* end confdefs.h. */
1946 $ac_includes_default 1945 $ac_includes_default
1946 enum { N = $2 / 2 - 1 };
1947 int 1947 int
1948 main () 1948 main ()
1949 { 1949 {
1950 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1950 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1 ) * 2 + 1))];
1951 » 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1952 test_array [0] = 0 1951 test_array [0] = 0
1953 1952
1954 ; 1953 ;
1955 return 0; 1954 return 0;
1956 } 1955 }
1957 _ACEOF 1956 _ACEOF
1958 if ac_fn_c_try_compile "$LINENO"; then : 1957 if ac_fn_c_try_compile "$LINENO"; then :
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */ 1959 /* end confdefs.h. */
1961 $ac_includes_default 1960 $ac_includes_default
1961 enum { N = $2 / 2 - 1 };
1962 int 1962 int
1963 main () 1963 main ()
1964 { 1964 {
1965 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1965 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1966 » » ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1967 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1966 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1968 test_array [0] = 0 1967 test_array [0] = 0
1969 1968
1970 ; 1969 ;
1971 return 0; 1970 return 0;
1972 } 1971 }
1973 _ACEOF 1972 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then : 1973 if ac_fn_c_try_compile "$LINENO"; then :
1975 1974
1976 else 1975 else
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 rm -f core conftest.err conftest.$ac_objext \ 2235 rm -f core conftest.err conftest.$ac_objext \
2237 conftest$ac_exeext conftest.$ac_ext 2236 conftest$ac_exeext conftest.$ac_ext
2238 fi 2237 fi
2239 eval ac_res=\$$3 2238 eval ac_res=\$$3
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; } 2240 $as_echo "$ac_res" >&6; }
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 2242
2244 } # ac_fn_c_check_func 2243 } # ac_fn_c_check_func
2245 2244
2246 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2247 # ----------------------------------------------------
2248 # Tries to find if the field MEMBER exists in type AGGR, after including
2249 # INCLUDES, setting cache variable VAR accordingly.
2250 ac_fn_c_check_member ()
2251 {
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2254 $as_echo_n "checking for $2.$3... " >&6; }
2255 if eval \${$4+:} false; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2260 $5
2261 int
2262 main ()
2263 {
2264 static $2 ac_aggr;
2265 if (ac_aggr.$3)
2266 return 0;
2267 ;
2268 return 0;
2269 }
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 eval "$4=yes"
2273 else
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2276 $5
2277 int
2278 main ()
2279 {
2280 static $2 ac_aggr;
2281 if (sizeof ac_aggr.$3)
2282 return 0;
2283 ;
2284 return 0;
2285 }
2286 _ACEOF
2287 if ac_fn_c_try_compile "$LINENO"; then :
2288 eval "$4=yes"
2289 else
2290 eval "$4=no"
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 fi
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295 fi
2296 eval ac_res=\$$4
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2298 $as_echo "$ac_res" >&6; }
2299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300
2301 } # ac_fn_c_check_member
2302
2303 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2245 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2304 # --------------------------------------------- 2246 # ---------------------------------------------
2305 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2247 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2306 # accordingly. 2248 # accordingly.
2307 ac_fn_c_check_decl () 2249 ac_fn_c_check_decl ()
2308 { 2250 {
2309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310 as_decl_name=`echo $2|sed 's/ *(.*//'` 2252 as_decl_name=`echo $2|sed 's/ *(.*//'`
2311 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2253 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec lared" >&5 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec lared" >&5
(...skipping 25 matching lines...) Expand all
2338 eval "$3=no" 2280 eval "$3=no"
2339 fi 2281 fi
2340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 fi 2283 fi
2342 eval ac_res=\$$3 2284 eval ac_res=\$$3
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2344 $as_echo "$ac_res" >&6; } 2286 $as_echo "$ac_res" >&6; }
2345 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346 2288
2347 } # ac_fn_c_check_decl 2289 } # ac_fn_c_check_decl
2290
2291 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2292 # ----------------------------------------------------
2293 # Tries to find if the field MEMBER exists in type AGGR, after including
2294 # INCLUDES, setting cache variable VAR accordingly.
2295 ac_fn_c_check_member ()
2296 {
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2299 $as_echo_n "checking for $2.$3... " >&6; }
2300 if eval \${$4+:} false; then :
2301 $as_echo_n "(cached) " >&6
2302 else
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h. */
2305 $5
2306 int
2307 main ()
2308 {
2309 static $2 ac_aggr;
2310 if (ac_aggr.$3)
2311 return 0;
2312 ;
2313 return 0;
2314 }
2315 _ACEOF
2316 if ac_fn_c_try_compile "$LINENO"; then :
2317 eval "$4=yes"
2318 else
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2321 $5
2322 int
2323 main ()
2324 {
2325 static $2 ac_aggr;
2326 if (sizeof ac_aggr.$3)
2327 return 0;
2328 ;
2329 return 0;
2330 }
2331 _ACEOF
2332 if ac_fn_c_try_compile "$LINENO"; then :
2333 eval "$4=yes"
2334 else
2335 eval "$4=no"
2336 fi
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 eval ac_res=\$$4
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2343 $as_echo "$ac_res" >&6; }
2344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2345
2346 } # ac_fn_c_check_member
2348 cat >config.log <<_ACEOF 2347 cat >config.log <<_ACEOF
2349 This file contains any messages produced by compilers while 2348 This file contains any messages produced by compilers while
2350 running configure, to aid debugging if configure makes a mistake. 2349 running configure, to aid debugging if configure makes a mistake.
2351 2350
2352 It was created by python $as_me 3.3, which was 2351 It was created by python $as_me 3.3, which was
2353 generated by GNU Autoconf 2.68. Invocation command line was 2352 generated by GNU Autoconf 2.68. Invocation command line was
2354 2353
2355 $ $0 $@ 2354 $ $0 $@
2356 2355
2357 _ACEOF 2356 _ACEOF
(...skipping 3086 matching lines...) Expand 10 before | Expand all | Expand 10 after
5444 yes) 5443 yes)
5445 if test "$CC" != 'g++' ; then 5444 if test "$CC" != 'g++' ; then
5446 STRICT_PROTO="-Wstrict-prototypes" 5445 STRICT_PROTO="-Wstrict-prototypes"
5447 fi 5446 fi
5448 # For gcc 4.x we need to use -fwrapv so lets check if its supported 5447 # For gcc 4.x we need to use -fwrapv so lets check if its supported
5449 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then 5448 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
5450 WRAP="-fwrapv" 5449 WRAP="-fwrapv"
5451 fi 5450 fi
5452 5451
5453 # Clang also needs -fwrapv 5452 # Clang also needs -fwrapv
5454 if test "$CC" = "clang" ; then 5453 case $CC in
5455 WRAP="-fwrapv" 5454 *clang*) WRAP="-fwrapv"
5456 fi 5455 ;;
5456 esac
5457 5457
5458 case $ac_cv_prog_cc_g in 5458 case $ac_cv_prog_cc_g in
5459 yes) 5459 yes)
5460 if test "$Py_DEBUG" = 'true' ; then 5460 if test "$Py_DEBUG" = 'true' ; then
5461 # Optimization messes up debuggers, so turn it off for 5461 # Optimization messes up debuggers, so turn it off for
5462 # debug builds. 5462 # debug builds.
5463 OPT="-g -O0 -Wall $STRICT_PROTO" 5463 OPT="-g -O0 -Wall $STRICT_PROTO"
5464 else 5464 else
5465 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" 5465 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
5466 fi 5466 fi
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6134 $as_echo "$ac_cv_header_stdc" >&6; } 6134 $as_echo "$ac_cv_header_stdc" >&6; }
6135 if test $ac_cv_header_stdc = yes; then 6135 if test $ac_cv_header_stdc = yes; then
6136 6136
6137 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 6137 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6138 6138
6139 fi 6139 fi
6140 6140
6141 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ 6141 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
6142 fcntl.h grp.h \ 6142 fcntl.h grp.h \
6143 ieeefp.h io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \ 6143 ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \
6144 sched.h shadow.h signal.h stdint.h stropts.h termios.h \ 6144 sched.h shadow.h signal.h stdint.h stropts.h termios.h \
6145 unistd.h utime.h \ 6145 unistd.h utime.h \
6146 sys/audioio.h sys/xattr.h sys/bsdtty.h sys/epoll.h sys/event.h sys/file.h sys/lo adavg.h \ 6146 poll.h sys/devpoll.h sys/epoll.h sys/poll.h \
6147 sys/lock.h sys/mkdev.h sys/modem.h \ 6147 sys/audioio.h sys/xattr.h sys/bsdtty.h sys/event.h sys/file.h sys/ioctl.h \
6148 sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \ 6148 sys/kern_control.h sys/loadavg.h sys/lock.h sys/mkdev.h sys/modem.h \
6149 sys/stat.h sys/termio.h sys/time.h \ 6149 sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
6150 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
6150 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \ 6151 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
6151 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ 6152 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
6152 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h 6153 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
6153 do : 6154 do :
6154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6155 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" 6156 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default"
6156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6157 cat >>confdefs.h <<_ACEOF 6158 cat >>confdefs.h <<_ACEOF
6158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6159 _ACEOF 6160 _ACEOF
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
6433 if test "x$ac_cv_header_linux_netlink_h" = xyes; then : 6434 if test "x$ac_cv_header_linux_netlink_h" = xyes; then :
6434 cat >>confdefs.h <<_ACEOF 6435 cat >>confdefs.h <<_ACEOF
6435 #define HAVE_LINUX_NETLINK_H 1 6436 #define HAVE_LINUX_NETLINK_H 1
6436 _ACEOF 6437 _ACEOF
6437 6438
6438 fi 6439 fi
6439 6440
6440 done 6441 done
6441 6442
6442 6443
6444 # On Linux, can.h and can/raw.h require sys/socket.h
6445 for ac_header in linux/can.h linux/can/raw.h
6446 do :
6447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
6449 #ifdef HAVE_SYS_SOCKET_H
6450 #include <sys/socket.h>
6451 #endif
6452
6453 "
6454 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6455 cat >>confdefs.h <<_ACEOF
6456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6457 _ACEOF
6458
6459 fi
6460
6461 done
6462
6463
6443 # checks for typedefs 6464 # checks for typedefs
6444 was_it_defined=no 6465 was_it_defined=no
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
6446 $as_echo_n "checking for clock_t in time.h... " >&6; } 6467 $as_echo_n "checking for clock_t in time.h... " >&6; }
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */ 6469 /* end confdefs.h. */
6449 #include <time.h> 6470 #include <time.h>
6450 6471
6451 _ACEOF 6472 _ACEOF
6452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
6695 esac 6716 esac
6696 6717
6697 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"
6698 if test "x$ac_cv_type_ssize_t" = xyes; then : 6719 if test "x$ac_cv_type_ssize_t" = xyes; then :
6699 6720
6700 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h 6721 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h
6701 6722
6702 fi 6723 fi
6703 6724
6704 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_include s_default" 6725 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_include s_default"
6705 if test "x$ac_cv_type___uint128_t" = x""yes; then : 6726 if test "x$ac_cv_type___uint128_t" = xyes; then :
6706 6727
6707 $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h 6728 $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h
6708 6729
6709 fi 6730 fi
6710 6731
6711 6732
6712 # Sizes of various common basic types 6733 # Sizes of various common basic types
6713 # 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
6714 # 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
6715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
(...skipping 2665 matching lines...) Expand 10 before | Expand all | Expand 10 after
9381 $as_echo "MACHDEP_OBJS" >&6; } 9402 $as_echo "MACHDEP_OBJS" >&6; }
9382 9403
9383 # checks for library functions 9404 # checks for library functions
9384 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ 9405 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
9385 clock confstr ctermid execv faccessat fchmod fchmodat fchown fchownat \ 9406 clock confstr ctermid execv faccessat fchmod fchmodat fchown fchownat \
9386 fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \ 9407 fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
9387 futimens futimes gai_strerror \ 9408 futimens futimes gai_strerror \
9388 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ 9409 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
9389 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \ 9410 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
9390 if_nameindex \ 9411 if_nameindex \
9391 initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mbrtowc mkdirat mkfifo \ 9412 initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
9413 memrchr mbrtowc mkdirat mkfifo \
9392 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock pol l \ 9414 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock pol l \
9393 posix_fallocate posix_fadvise pread \ 9415 posix_fallocate posix_fadvise pread \
9394 pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath rena meat \ 9416 pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath rena meat \
9395 select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \ 9417 select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
9396 setgid sethostname \ 9418 setgid sethostname \
9397 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior ity setuid setvbuf \ 9419 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior ity setuid setvbuf \
9398 sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \ 9420 sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \
9399 sched_rr_get_interval \ 9421 sched_rr_get_interval \
9400 sigaction sigaltstack siginterrupt sigpending sigrelse \ 9422 sigaction sigaltstack siginterrupt sigpending sigrelse \
9401 sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \ 9423 sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \
9402 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ 9424 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
9403 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \ 9425 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \
9404 wcscoll wcsftime wcsxfrm writev _getpty 9426 wcscoll wcsftime wcsxfrm writev _getpty
9405 do : 9427 do :
9406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9409 cat >>confdefs.h <<_ACEOF 9431 cat >>confdefs.h <<_ACEOF
9410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9411 _ACEOF 9433 _ACEOF
9412 9434
9413 fi 9435 fi
9414 done 9436 done
9415 9437
9416 9438
9439 ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/type s.h>
9440 #include <dirent.h>
9441 "
9442 if test "x$ac_cv_have_decl_dirfd" = xyes; then :
9443
9444 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
9445
9446 fi
9447
9448
9417 # For some functions, having a definition is not sufficient, since 9449 # For some functions, having a definition is not sufficient, since
9418 # we want to take their address. 9450 # we want to take their address.
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5 9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
9420 $as_echo_n "checking for chroot... " >&6; } 9452 $as_echo_n "checking for chroot... " >&6; }
9421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */ 9454 /* end confdefs.h. */
9423 #include <unistd.h> 9455 #include <unistd.h>
9424 int 9456 int
9425 main () 9457 main ()
9426 { 9458 {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
9575 main () 9607 main ()
9576 { 9608 {
9577 void *x=epoll_create 9609 void *x=epoll_create
9578 ; 9610 ;
9579 return 0; 9611 return 0;
9580 } 9612 }
9581 _ACEOF 9613 _ACEOF
9582 if ac_fn_c_try_compile "$LINENO"; then : 9614 if ac_fn_c_try_compile "$LINENO"; then :
9583 9615
9584 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h 9616 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
9617
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9619 $as_echo "yes" >&6; }
9620 else
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9623
9624 fi
9625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
9627 $as_echo_n "checking for epoll_create1... " >&6; }
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9630 #include <sys/epoll.h>
9631 int
9632 main ()
9633 {
9634 void *x=epoll_create1
9635 ;
9636 return 0;
9637 }
9638 _ACEOF
9639 if ac_fn_c_try_compile "$LINENO"; then :
9640
9641 $as_echo "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
9585 9642
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9587 $as_echo "yes" >&6; } 9644 $as_echo "yes" >&6; }
9588 else 9645 else
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9590 $as_echo "no" >&6; } 9647 $as_echo "no" >&6; }
9591 9648
9592 fi 9649 fi
9593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5 9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
9763 9820
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9765 $as_echo "yes" >&6; } 9822 $as_echo "yes" >&6; }
9766 else 9823 else
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9768 $as_echo "no" >&6; } 9825 $as_echo "no" >&6; }
9769 9826
9770 fi 9827 fi
9771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9772 9829
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mallopt can set malloc mmap threshold" >&5 9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
9774 $as_echo_n "checking whether mallopt can set malloc mmap threshold... " >&6; } 9831 $as_echo_n "checking for broken unsetenv... " >&6; }
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */ 9833 /* end confdefs.h. */
9777 9834
9778 #include <malloc.h> 9835 #include <stdlib.h>
9779 9836
9780 int 9837 int
9781 main () 9838 main ()
9782 { 9839 {
9783 mallopt(M_MMAP_THRESHOLD, 256 * 1024) 9840 int res = unsetenv("DUMMY")
9784 ; 9841 ;
9785 return 0; 9842 return 0;
9786 } 9843 }
9787 _ACEOF 9844 _ACEOF
9788 if ac_fn_c_try_compile "$LINENO"; then : 9845 if ac_fn_c_try_compile "$LINENO"; then :
9789 9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "#define HAVE_MALLOPT_MMAP_THRESHOLD 1" >>confdefs.h 9847 $as_echo "no" >&6; }
9848 else
9849
9850 $as_echo "#define HAVE_BROKEN_UNSETENV 1" >>confdefs.h
9791 9851
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9793 $as_echo "yes" >&6; } 9853 $as_echo "yes" >&6; }
9794 else
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9796 $as_echo "no" >&6; }
9797 9854
9798 fi 9855 fi
9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9800 9857
9801 for ac_prog in true 9858 for ac_prog in true
9802 do 9859 do
9803 # Extract the first word of "$ac_prog", so it can be a program name with args. 9860 # Extract the first word of "$ac_prog", so it can be a program name with args.
9804 set dummy $ac_prog; ac_word=$2 9861 set dummy $ac_prog; ac_word=$2
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9806 $as_echo_n "checking for $ac_word... " >&6; } 9863 $as_echo_n "checking for $ac_word... " >&6; }
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
10553 _ACEOF 10610 _ACEOF
10554 if ac_fn_c_try_compile "$LINENO"; then : 10611 if ac_fn_c_try_compile "$LINENO"; then :
10555 10612
10556 else 10613 else
10557 10614
10558 $as_echo "#define GETTIMEOFDAY_NO_TZ 1" >>confdefs.h 10615 $as_echo "#define GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
10559 10616
10560 10617
10561 fi 10618 fi
10562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10620
10621 fi
10622 done
10623
10624
10625 for ac_func in clock_gettime
10626 do :
10627 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
10628 if test "x$ac_cv_func_clock_gettime" = xyes; then :
10629 cat >>confdefs.h <<_ACEOF
10630 #define HAVE_CLOCK_GETTIME 1
10631 _ACEOF
10632
10633 else
10634
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
10636 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
10637 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
10638 $as_echo_n "(cached) " >&6
10639 else
10640 ac_check_lib_save_LIBS=$LIBS
10641 LIBS="-lrt $LIBS"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644
10645 /* Override any GCC internal prototype to avoid an error.
10646 Use char because int might match the return type of a GCC
10647 builtin and then its argument prototype would still apply. */
10648 #ifdef __cplusplus
10649 extern "C"
10650 #endif
10651 char clock_gettime ();
10652 int
10653 main ()
10654 {
10655 return clock_gettime ();
10656 ;
10657 return 0;
10658 }
10659 _ACEOF
10660 if ac_fn_c_try_link "$LINENO"; then :
10661 ac_cv_lib_rt_clock_gettime=yes
10662 else
10663 ac_cv_lib_rt_clock_gettime=no
10664 fi
10665 rm -f core conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 LIBS=$ac_check_lib_save_LIBS
10668 fi
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >& 5
10670 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
10671 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
10672
10673 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
10674
10675
10676 $as_echo "#define TIMEMODULE_LIB rt" >>confdefs.h
10677
10678
10679 fi
10680
10681
10682 fi
10683 done
10684
10685
10686 for ac_func in clock_getres
10687 do :
10688 ac_fn_c_check_func "$LINENO" "clock_getres" "ac_cv_func_clock_getres"
10689 if test "x$ac_cv_func_clock_getres" = xyes; then :
10690 cat >>confdefs.h <<_ACEOF
10691 #define HAVE_CLOCK_GETRES 1
10692 _ACEOF
10693
10694 else
10695
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
10697 $as_echo_n "checking for clock_getres in -lrt... " >&6; }
10698 if ${ac_cv_lib_rt_clock_getres+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_check_lib_save_LIBS=$LIBS
10702 LIBS="-lrt $LIBS"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 char clock_getres ();
10713 int
10714 main ()
10715 {
10716 return clock_getres ();
10717 ;
10718 return 0;
10719 }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_rt_clock_getres=yes
10723 else
10724 ac_cv_lib_rt_clock_getres=no
10725 fi
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10729 fi
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
10731 $as_echo "$ac_cv_lib_rt_clock_getres" >&6; }
10732 if test "x$ac_cv_lib_rt_clock_getres" = xyes; then :
10733
10734 $as_echo "#define HAVE_CLOCK_GETRES 1" >>confdefs.h
10735
10736
10737 fi
10738
10563 10739
10564 fi 10740 fi
10565 done 10741 done
10566 10742
10567 10743
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5 10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
10569 $as_echo_n "checking for major... " >&6; } 10745 $as_echo_n "checking for major... " >&6; }
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */ 10747 /* end confdefs.h. */
10572 10748
(...skipping 4791 matching lines...) Expand 10 before | Expand all | Expand 10 after
15364 if test ! -f Modules/Setup.local 15540 if test ! -f Modules/Setup.local
15365 then 15541 then
15366 echo "# Edit this file for local setup changes" >Modules/Setup.local 15542 echo "# Edit this file for local setup changes" >Modules/Setup.local
15367 fi 15543 fi
15368 15544
15369 echo "creating Makefile" 15545 echo "creating Makefile"
15370 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 15546 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
15371 -s Modules Modules/Setup.config \ 15547 -s Modules Modules/Setup.config \
15372 Modules/Setup.local Modules/Setup 15548 Modules/Setup.local Modules/Setup
15373 mv config.c Modules 15549 mv config.c Modules
LEFTRIGHT
« no previous file | configure.in » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

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