llvm.org GIT mirror llvm / 0a0073d
Regenerate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112042 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 9 years ago
2 changed file(s) with 2280 addition(s) and 2529 deletion(s). Raw diff Collapse all Expand all
+2280
-2523
configure less more
1711017110
1711117111
1711217112
17113 for ac_header in mach-o/getsect.h
17113
17114
17115 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
17116 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
17117 if test "${ac_cv_huge_val_sanity+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 else
17120
17121 ac_ext=cpp
17122 ac_cpp='$CXXCPP $CPPFLAGS'
17123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17126
17127 ac_save_CXXFLAGS=$CXXFLAGS
17128 CXXFLAGS=-pedantic
17129 if test "$cross_compiling" = yes; then
17130 ac_cv_huge_val_sanity=yes
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 #include
17139 int
17140 main ()
17141 {
17142 double x = HUGE_VAL; return x != x;
17143 ;
17144 return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest$ac_exeext
17148 if { (ac_try="$ac_link"
17149 case "(($ac_try" in
17150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17151 *) ac_try_echo=$ac_try;;
17152 esac
17153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17154 (eval "$ac_link") 2>&5
17155 ac_status=$?
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17158 { (case "(($ac_try" in
17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17161 esac
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_try") 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_huge_val_sanity=yes
17168 else
17169 echo "$as_me: program exited with status $ac_status" >&5
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17172
17173 ( exit $ac_status )
17174 ac_cv_huge_val_sanity=no
17175 fi
17176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17177 fi
17178
17179
17180 CXXFLAGS=$ac_save_CXXFLAGS
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186
17187
17188 fi
17189 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
17190 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
17191 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
17192
17193
17194 { echo "$as_me:$LINENO: checking for pid_t" >&5
17195 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17196 if test "${ac_cv_type_pid_t+set}" = set; then
17197 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 else
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17206 typedef pid_t ac__type_new_;
17207 int
17208 main ()
17209 {
17210 if ((ac__type_new_ *) 0)
17211 return 0;
17212 if (sizeof (ac__type_new_))
17213 return 0;
17214 ;
17215 return 0;
17216 }
17217 _ACEOF
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222 *) ac_try_echo=$ac_try;;
17223 esac
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17233 { (case "(($ac_try" in
17234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17235 *) ac_try_echo=$ac_try;;
17236 esac
17237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17238 (eval "$ac_try") 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; } &&
17242 { ac_try='test -s conftest.$ac_objext'
17243 { (case "(($ac_try" in
17244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17245 *) ac_try_echo=$ac_try;;
17246 esac
17247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17248 (eval "$ac_try") 2>&5
17249 ac_status=$?
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_cv_type_pid_t=yes
17253 else
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17256
17257 ac_cv_type_pid_t=no
17258 fi
17259
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 fi
17262 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17263 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17264 if test $ac_cv_type_pid_t = yes; then
17265 :
17266 else
17267
17268 cat >>confdefs.h <<_ACEOF
17269 #define pid_t int
17270 _ACEOF
17271
17272 fi
17273
17274 { echo "$as_me:$LINENO: checking for size_t" >&5
17275 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17276 if test "${ac_cv_type_size_t+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h. */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17286 typedef size_t ac__type_new_;
17287 int
17288 main ()
17289 {
17290 if ((ac__type_new_ *) 0)
17291 return 0;
17292 if (sizeof (ac__type_new_))
17293 return 0;
17294 ;
17295 return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (ac_try="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17313 { (case "(($ac_try" in
17314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17315 *) ac_try_echo=$ac_try;;
17316 esac
17317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17318 (eval "$ac_try") 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17326 esac
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_try") 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_cv_type_size_t=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17336
17337 ac_cv_type_size_t=no
17338 fi
17339
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 fi
17342 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17343 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17344 if test $ac_cv_type_size_t = yes; then
17345 :
17346 else
17347
17348 cat >>confdefs.h <<_ACEOF
17349 #define size_t unsigned int
17350 _ACEOF
17351
17352 fi
17353
17354
17355 cat >>confdefs.h <<_ACEOF
17356 #define RETSIGTYPE void
17357 _ACEOF
17358
17359 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17360 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
17361 if test "${ac_cv_struct_tm+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370 #include
17371 #include
17372
17373 int
17374 main ()
17375 {
17376 struct tm *tp; tp->tm_sec;
17377 ;
17378 return 0;
17379 }
17380 _ACEOF
17381 rm -f conftest.$ac_objext
17382 if { (ac_try="$ac_compile"
17383 case "(($ac_try" in
17384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17385 *) ac_try_echo=$ac_try;;
17386 esac
17387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17388 (eval "$ac_compile") 2>conftest.er1
17389 ac_status=$?
17390 grep -v '^ *+' conftest.er1 >conftest.err
17391 rm -f conftest.er1
17392 cat conftest.err >&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17396 { (case "(($ac_try" in
17397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17398 *) ac_try_echo=$ac_try;;
17399 esac
17400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17401 (eval "$ac_try") 2>&5
17402 ac_status=$?
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; } &&
17405 { ac_try='test -s conftest.$ac_objext'
17406 { (case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17409 esac
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_try") 2>&5
17412 ac_status=$?
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17415 ac_cv_struct_tm=time.h
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17419
17420 ac_cv_struct_tm=sys/time.h
17421 fi
17422
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424 fi
17425 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17426 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
17427 if test $ac_cv_struct_tm = sys/time.h; then
17428
17429 cat >>confdefs.h <<\_ACEOF
17430 #define TM_IN_SYS_TIME 1
17431 _ACEOF
17432
17433 fi
17434
17435 { echo "$as_me:$LINENO: checking for int64_t" >&5
17436 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
17437 if test "${ac_cv_type_int64_t+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 else
17440 cat >conftest.$ac_ext <<_ACEOF
17441 /* confdefs.h. */
17442 _ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 $ac_includes_default
17447 typedef int64_t ac__type_new_;
17448 int
17449 main ()
17450 {
17451 if ((ac__type_new_ *) 0)
17452 return 0;
17453 if (sizeof (ac__type_new_))
17454 return 0;
17455 ;
17456 return 0;
17457 }
17458 _ACEOF
17459 rm -f conftest.$ac_objext
17460 if { (ac_try="$ac_compile"
17461 case "(($ac_try" in
17462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463 *) ac_try_echo=$ac_try;;
17464 esac
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466 (eval "$ac_compile") 2>conftest.er1
17467 ac_status=$?
17468 grep -v '^ *+' conftest.er1 >conftest.err
17469 rm -f conftest.er1
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17474 { (case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_try") 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; } &&
17483 { ac_try='test -s conftest.$ac_objext'
17484 { (case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_try") 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_cv_type_int64_t=yes
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498 ac_cv_type_int64_t=no
17499 fi
17500
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 fi
17503 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
17504 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
17505 if test $ac_cv_type_int64_t = yes; then
17506
17507 cat >>confdefs.h <<_ACEOF
17508 #define HAVE_INT64_T 1
17509 _ACEOF
17510
17511
17512 else
17513 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
17514 echo "$as_me: error: Type int64_t required but not found" >&2;}
17515 { (exit 1); exit 1; }; }
17516 fi
17517
17518 { echo "$as_me:$LINENO: checking for uint64_t" >&5
17519 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
17520 if test "${ac_cv_type_uint64_t+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 else
17523 cat >conftest.$ac_ext <<_ACEOF
17524 /* confdefs.h. */
17525 _ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529 $ac_includes_default
17530 typedef uint64_t ac__type_new_;
17531 int
17532 main ()
17533 {
17534 if ((ac__type_new_ *) 0)
17535 return 0;
17536 if (sizeof (ac__type_new_))
17537 return 0;
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17547 esac
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } &&
17556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17557 { (case "(($ac_try" in
17558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17559 *) ac_try_echo=$ac_try;;
17560 esac
17561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17562 (eval "$ac_try") 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; } &&
17566 { ac_try='test -s conftest.$ac_objext'
17567 { (case "(($ac_try" in
17568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17569 *) ac_try_echo=$ac_try;;
17570 esac
17571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17572 (eval "$ac_try") 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_cv_type_uint64_t=yes
17577 else
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17580
17581 ac_cv_type_uint64_t=no
17582 fi
17583
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 fi
17586 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17587 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
17588 if test $ac_cv_type_uint64_t = yes; then
17589
17590 cat >>confdefs.h <<_ACEOF
17591 #define HAVE_UINT64_T 1
17592 _ACEOF
17593
17594
17595 else
17596 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
17597 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
17598 if test "${ac_cv_type_u_int64_t+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 typedef u_int64_t ac__type_new_;
17609 int
17610 main ()
17611 {
17612 if ((ac__type_new_ *) 0)
17613 return 0;
17614 if (sizeof (ac__type_new_))
17615 return 0;
17616 ;
17617 return 0;
17618 }
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (ac_try="$ac_compile"
17622 case "(($ac_try" in
17623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17624 *) ac_try_echo=$ac_try;;
17625 esac
17626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17627 (eval "$ac_compile") 2>conftest.er1
17628 ac_status=$?
17629 grep -v '^ *+' conftest.er1 >conftest.err
17630 rm -f conftest.er1
17631 cat conftest.err >&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); } &&
17634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest.$ac_objext'
17645 { (case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17648 esac
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_try") 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 ac_cv_type_u_int64_t=yes
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17658
17659 ac_cv_type_u_int64_t=no
17660 fi
17661
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 fi
17664 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17665 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
17666 if test $ac_cv_type_u_int64_t = yes; then
17667
17668 cat >>confdefs.h <<_ACEOF
17669 #define HAVE_U_INT64_T 1
17670 _ACEOF
17671
17672
17673 else
17674 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
17675 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
17676 { (exit 1); exit 1; }; }
17677 fi
17678
17679 fi
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
17691 do
17692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17698 cat >conftest.$ac_ext <<_ACEOF
17699 /* confdefs.h. */
17700 _ACEOF
17701 cat confdefs.h >>conftest.$ac_ext
17702 cat >>conftest.$ac_ext <<_ACEOF
17703 /* end confdefs.h. */
17704 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
17705 For example, HP-UX 11i declares gettimeofday. */
17706 #define $ac_func innocuous_$ac_func
17707
17708 /* System header to define __stub macros and hopefully few prototypes,
17709 which can conflict with char $ac_func (); below.
17710 Prefer to if __STDC__ is defined, since
17711 exists even on freestanding compilers. */
17712
17713 #ifdef __STDC__
17714 # include
17715 #else
17716 # include
17717 #endif
17718
17719 #undef $ac_func
17720
17721 /* Override any GCC internal prototype to avoid an error.
17722 Use char because int might match the return type of a GCC
17723 builtin and then its argument prototype would still apply. */
17724 #ifdef __cplusplus
17725 extern "C"
17726 #endif
17727 char $ac_func ();
17728 /* The GNU C library defines this for functions which it implements
17729 to always fail with ENOSYS. Some functions are actually named
17730 something starting with __ and the normal name is an alias. */
17731 #if defined __stub_$ac_func || defined __stub___$ac_func
17732 choke me
17733 #endif
17734
17735 int
17736 main ()
17737 {
17738 return $ac_func ();
17739 ;
17740 return 0;
17741 }
17742 _ACEOF
17743 rm -f conftest.$ac_objext conftest$ac_exeext
17744 if { (ac_try="$ac_link"
17745 case "(($ac_try" in
17746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747 *) ac_try_echo=$ac_try;;
17748 esac
17749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17750 (eval "$ac_link") 2>conftest.er1
17751 ac_status=$?
17752 grep -v '^ *+' conftest.er1 >conftest.err
17753 rm -f conftest.er1
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17758 { (case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_try") 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try='test -s conftest$ac_exeext'
17768 { (case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17771 esac
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_try") 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 eval "$as_ac_var=yes"
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782 eval "$as_ac_var=no"
17783 fi
17784
17785 rm -f core conftest.err conftest.$ac_objext \
17786 conftest$ac_exeext conftest.$ac_ext
17787 fi
17788 ac_res=`eval echo '${'$as_ac_var'}'`
17789 { echo "$as_me:$LINENO: result: $ac_res" >&5
17790 echo "${ECHO_T}$ac_res" >&6; }
17791 if test `eval echo '${'$as_ac_var'}'` = yes; then
17792 cat >>confdefs.h <<_ACEOF
17793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17794 _ACEOF
17795
17796 fi
17797 done
17798
17799
17800
17801
17802
17803 for ac_func in powf fmodf strtof round
17804 do
17805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 else
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
17818 For example, HP-UX 11i declares gettimeofday. */
17819 #define $ac_func innocuous_$ac_func
17820
17821 /* System header to define __stub macros and hopefully few prototypes,
17822 which can conflict with char $ac_func (); below.
17823 Prefer to if __STDC__ is defined, since
17824 exists even on freestanding compilers. */
17825
17826 #ifdef __STDC__
17827 # include
17828 #else
17829 # include
17830 #endif
17831
17832 #undef $ac_func
17833
17834 /* Override any GCC internal prototype to avoid an error.
17835 Use char because int might match the return type of a GCC
17836 builtin and then its argument prototype would still apply. */
17837 #ifdef __cplusplus
17838 extern "C"
17839 #endif
17840 char $ac_func ();
17841 /* The GNU C library defines this for functions which it implements
17842 to always fail with ENOSYS. Some functions are actually named
17843 something starting with __ and the normal name is an alias. */
17844 #if defined __stub_$ac_func || defined __stub___$ac_func
17845 choke me
17846 #endif
17847
17848 int
17849 main ()
17850 {
17851 return $ac_func ();
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 rm -f conftest.$ac_objext conftest$ac_exeext
17857 if { (ac_try="$ac_link"
17858 case "(($ac_try" in
17859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17860 *) ac_try_echo=$ac_try;;
17861 esac
17862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17863 (eval "$ac_link") 2>conftest.er1
17864 ac_status=$?
17865 grep -v '^ *+' conftest.er1 >conftest.err
17866 rm -f conftest.er1
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } &&
17870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17871 { (case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 *) ac_try_echo=$ac_try;;
17874 esac
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_try") 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try='test -s conftest$ac_exeext'
17881 { (case "(($ac_try" in
17882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17883 *) ac_try_echo=$ac_try;;
17884 esac
17885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval "$ac_try") 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; }; then
17890 eval "$as_ac_var=yes"
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 eval "$as_ac_var=no"
17896 fi
17897
17898 rm -f core conftest.err conftest.$ac_objext \
17899 conftest$ac_exeext conftest.$ac_ext
17900 fi
17901 ac_res=`eval echo '${'$as_ac_var'}'`
17902 { echo "$as_me:$LINENO: result: $ac_res" >&5
17903 echo "${ECHO_T}$ac_res" >&6; }
17904 if test `eval echo '${'$as_ac_var'}'` = yes; then
17905 cat >>confdefs.h <<_ACEOF
17906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17907 _ACEOF
17908
17909 fi
17910 done
17911
17912
17913
17914
17915
17916
17917 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
17918 do
17919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17924 else
17925 cat >conftest.$ac_ext <<_ACEOF
17926 /* confdefs.h. */
17927 _ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17931 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
17932 For example, HP-UX 11i declares gettimeofday. */
17933 #define $ac_func innocuous_$ac_func
17934
17935 /* System header to define __stub macros and hopefully few prototypes,
17936 which can conflict with char $ac_func (); below.
17937 Prefer to if __STDC__ is defined, since
17938 exists even on freestanding compilers. */
17939
17940 #ifdef __STDC__
17941 # include
17942 #else
17943 # include
17944 #endif
17945
17946 #undef $ac_func
17947
17948 /* Override any GCC internal prototype to avoid an error.
17949 Use char because int might match the return type of a GCC
17950 builtin and then its argument prototype would still apply. */
17951 #ifdef __cplusplus
17952 extern "C"
17953 #endif
17954 char $ac_func ();
17955 /* The GNU C library defines this for functions which it implements
17956 to always fail with ENOSYS. Some functions are actually named
17957 something starting with __ and the normal name is an alias. */
17958 #if defined __stub_$ac_func || defined __stub___$ac_func
17959 choke me
17960 #endif
17961
17962 int
17963 main ()
17964 {
17965 return $ac_func ();
17966 ;
17967 return 0;
17968 }
17969 _ACEOF
17970 rm -f conftest.$ac_objext conftest$ac_exeext
17971 if { (ac_try="$ac_link"
17972 case "(($ac_try" in
17973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17974 *) ac_try_echo=$ac_try;;
17975 esac
17976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17977 (eval "$ac_link") 2>conftest.er1
17978 ac_status=$?
17979 grep -v '^ *+' conftest.er1 >conftest.err
17980 rm -f conftest.er1
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17985 { (case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17988 esac
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_try") 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest$ac_exeext'
17995 { (case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17998 esac
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_try") 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; }; then
18004 eval "$as_ac_var=yes"
18005 else
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18008
18009 eval "$as_ac_var=no"
18010 fi
18011
18012 rm -f core conftest.err conftest.$ac_objext \
18013 conftest$ac_exeext conftest.$ac_ext
18014 fi
18015 ac_res=`eval echo '${'$as_ac_var'}'`
18016 { echo "$as_me:$LINENO: result: $ac_res" >&5
18017 echo "${ECHO_T}$ac_res" >&6; }
18018 if test `eval echo '${'$as_ac_var'}'` = yes; then
18019 cat >>confdefs.h <<_ACEOF
18020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18021 _ACEOF
18022
18023 fi
18024 done
18025
18026
18027
18028
18029 for ac_func in isatty mkdtemp mkstemp
18030 do
18031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18035 echo $ECHO_N "(cached) $ECHO_C" >&6
18036 else
18037 cat >conftest.$ac_ext <<_ACEOF
18038 /* confdefs.h. */
18039 _ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18043 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18044 For example, HP-UX 11i declares gettimeofday. */
18045 #define $ac_func innocuous_$ac_func
18046
18047 /* System header to define __stub macros and hopefully few prototypes,
18048 which can conflict with char $ac_func (); below.
18049 Prefer to if __STDC__ is defined, since
18050 exists even on freestanding compilers. */
18051
18052 #ifdef __STDC__
18053 # include
18054 #else
18055 # include
18056 #endif
18057
18058 #undef $ac_func
18059
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 #ifdef __cplusplus
18064 extern "C"
18065 #endif
18066 char $ac_func ();
18067 /* The GNU C library defines this for functions which it implements
18068 to always fail with ENOSYS. Some functions are actually named
18069 something starting with __ and the normal name is an alias. */
18070 #if defined __stub_$ac_func || defined __stub___$ac_func
18071 choke me
18072 #endif
18073
18074 int
18075 main ()
18076 {
18077 return $ac_func ();
18078 ;
18079 return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (ac_try="$ac_link"
18084 case "(($ac_try" in
18085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18086 *) ac_try_echo=$ac_try;;
18087 esac
18088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18089 (eval "$ac_link") 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18097 { (case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_try") 2>&5
18103 ac_status=$?
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; } &&
18106 { ac_try='test -s conftest$ac_exeext'
18107 { (case "(($ac_try" in
18108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18109 *) ac_try_echo=$ac_try;;
18110 esac
18111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18112 (eval "$ac_try") 2>&5
18113 ac_status=$?
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; }; then
18116 eval "$as_ac_var=yes"
18117 else
18118 echo "$as_me: failed program was:" >&5
18119 sed 's/^/| /' conftest.$ac_ext >&5
18120
18121 eval "$as_ac_var=no"
18122 fi
18123
18124 rm -f core conftest.err conftest.$ac_objext \
18125 conftest$ac_exeext conftest.$ac_ext
18126 fi
18127 ac_res=`eval echo '${'$as_ac_var'}'`
18128 { echo "$as_me:$LINENO: result: $ac_res" >&5
18129 echo "${ECHO_T}$ac_res" >&6; }
18130 if test `eval echo '${'$as_ac_var'}'` = yes; then
18131 cat >>confdefs.h <<_ACEOF
18132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18133 _ACEOF
18134
18135 fi
18136 done
18137
18138
18139
18140
18141
18142
18143
18144 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
18145 do
18146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18147 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18149 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 else
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18159 For example, HP-UX 11i declares gettimeofday. */
18160 #define $ac_func innocuous_$ac_func
18161
18162 /* System header to define __stub macros and hopefully few prototypes,
18163 which can conflict with char $ac_func (); below.
18164 Prefer to if __STDC__ is defined, since
18165 exists even on freestanding compilers. */
18166
18167 #ifdef __STDC__
18168 # include
18169 #else
18170 # include
18171 #endif
18172
18173 #undef $ac_func
18174
18175 /* Override any GCC internal prototype to avoid an error.
18176 Use char because int might match the return type of a GCC
18177 builtin and then its argument prototype would still apply. */
18178 #ifdef __cplusplus
18179 extern "C"
18180 #endif
18181 char $ac_func ();
18182 /* The GNU C library defines this for functions which it implements
18183 to always fail with ENOSYS. Some functions are actually named
18184 something starting with __ and the normal name is an alias. */
18185 #if defined __stub_$ac_func || defined __stub___$ac_func
18186 choke me
18187 #endif
18188
18189 int
18190 main ()
18191 {
18192 return $ac_func ();
18193 ;
18194 return 0;
18195 }
18196 _ACEOF
18197 rm -f conftest.$ac_objext conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>conftest.er1
18205 ac_status=$?
18206 grep -v '^ *+' conftest.er1 >conftest.err
18207 rm -f conftest.er1
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18212 { (case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18215 esac
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_try") 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try='test -s conftest$ac_exeext'
18222 { (case "(($ac_try" in
18223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18224 *) ac_try_echo=$ac_try;;
18225 esac
18226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18227 (eval "$ac_try") 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 eval "$as_ac_var=yes"
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 eval "$as_ac_var=no"
18237 fi
18238
18239 rm -f core conftest.err conftest.$ac_objext \
18240 conftest$ac_exeext conftest.$ac_ext
18241 fi
18242 ac_res=`eval echo '${'$as_ac_var'}'`
18243 { echo "$as_me:$LINENO: result: $ac_res" >&5
18244 echo "${ECHO_T}$ac_res" >&6; }
18245 if test `eval echo '${'$as_ac_var'}'` = yes; then
18246 cat >>confdefs.h <<_ACEOF
18247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18248 _ACEOF
18249
18250 fi
18251 done
18252
18253
18254
18255
18256
18257 for ac_func in strerror strerror_r strerror_s setenv
18258 do
18259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18272 For example, HP-UX 11i declares gettimeofday. */
18273 #define $ac_func innocuous_$ac_func
18274
18275 /* System header to define __stub macros and hopefully few prototypes,
18276 which can conflict with char $ac_func (); below.
18277 Prefer to if __STDC__ is defined, since
18278 exists even on freestanding compilers. */
18279
18280 #ifdef __STDC__
18281 # include
18282 #else
18283 # include
18284 #endif
18285
18286 #undef $ac_func
18287
18288 /* Override any GCC internal prototype to avoid an error.
18289 Use char because int might match the return type of a GCC
18290 builtin and then its argument prototype would still apply. */
18291 #ifdef __cplusplus
18292 extern "C"
18293 #endif
18294 char $ac_func ();
18295 /* The GNU C library defines this for functions which it implements
18296 to always fail with ENOSYS. Some functions are actually named
18297 something starting with __ and the normal name is an alias. */
18298 #if defined __stub_$ac_func || defined __stub___$ac_func
18299 choke me
18300 #endif
18301
18302 int
18303 main ()
18304 {
18305 return $ac_func ();
18306 ;
18307 return 0;
18308 }
18309 _ACEOF
18310 rm -f conftest.$ac_objext conftest$ac_exeext
18311 if { (ac_try="$ac_link"
18312 case "(($ac_try" in
18313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18314 *) ac_try_echo=$ac_try;;
18315 esac
18316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18317 (eval "$ac_link") 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18325 { (case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_try") 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest$ac_exeext'
18335 { (case "(($ac_try" in
18336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18337 *) ac_try_echo=$ac_try;;
18338 esac
18339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_try") 2>&5
18341 ac_status=$?
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 eval "$as_ac_var=yes"
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18348
18349 eval "$as_ac_var=no"
18350 fi
18351
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18354 fi
18355 ac_res=`eval echo '${'$as_ac_var'}'`
18356 { echo "$as_me:$LINENO: result: $ac_res" >&5
18357 echo "${ECHO_T}$ac_res" >&6; }
18358 if test `eval echo '${'$as_ac_var'}'` = yes; then
18359 cat >>confdefs.h <<_ACEOF
18360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18361 _ACEOF
18362
18363 fi
18364 done
18365
18366
18367
18368
18369
18370 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
18371 do
18372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18385 For example, HP-UX 11i declares gettimeofday. */
18386 #define $ac_func innocuous_$ac_func
18387
18388 /* System header to define __stub macros and hopefully few prototypes,
18389 which can conflict with char $ac_func (); below.
18390 Prefer to if __STDC__ is defined, since
18391 exists even on freestanding compilers. */
18392
18393 #ifdef __STDC__
18394 # include
18395 #else
18396 # include
18397 #endif
18398
18399 #undef $ac_func
18400
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18404 #ifdef __cplusplus
18405 extern "C"
18406 #endif
18407 char $ac_func ();
18408 /* The GNU C library defines this for functions which it implements
18409 to always fail with ENOSYS. Some functions are actually named
18410 something starting with __ and the normal name is an alias. */
18411 #if defined __stub_$ac_func || defined __stub___$ac_func
18412 choke me
18413 #endif
18414
18415 int
18416 main ()
18417 {
18418 return $ac_func ();
18419 ;
18420 return 0;
18421 }
18422 _ACEOF
18423 rm -f conftest.$ac_objext conftest$ac_exeext
18424 if { (ac_try="$ac_link"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18428 esac
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_link") 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } &&
18437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18438 { (case "(($ac_try" in
18439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18440 *) ac_try_echo=$ac_try;;
18441 esac
18442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18443 (eval "$ac_try") 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; } &&
18447 { ac_try='test -s conftest$ac_exeext'
18448 { (case "(($ac_try" in
18449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18450 *) ac_try_echo=$ac_try;;
18451 esac
18452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18453 (eval "$ac_try") 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 eval "$as_ac_var=yes"
18458 else
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18461
18462 eval "$as_ac_var=no"
18463 fi
18464
18465 rm -f core conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18467 fi
18468 ac_res=`eval echo '${'$as_ac_var'}'`
18469 { echo "$as_me:$LINENO: result: $ac_res" >&5
18470 echo "${ECHO_T}$ac_res" >&6; }
18471 if test `eval echo '${'$as_ac_var'}'` = yes; then
18472 cat >>confdefs.h <<_ACEOF
18473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18474 _ACEOF
18475
18476 fi
18477 done
18478
18479
18480
18481
18482
18483 for ac_func in setjmp longjmp sigsetjmp siglongjmp
18484 do
18485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 cat >conftest.$ac_ext <<_ACEOF
18492 /* confdefs.h. */
18493 _ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18498 For example, HP-UX 11i declares gettimeofday. */
18499 #define $ac_func innocuous_$ac_func
18500
18501 /* System header to define __stub macros and hopefully few prototypes,
18502 which can conflict with char $ac_func (); below.
18503 Prefer to if __STDC__ is defined, since
18504 exists even on freestanding compilers. */
18505
18506 #ifdef __STDC__
18507 # include
18508 #else
18509 # include
18510 #endif
18511
18512 #undef $ac_func
18513
18514 /* Override any GCC internal prototype to avoid an error.
18515 Use char because int might match the return type of a GCC
18516 builtin and then its argument prototype would still apply. */
18517 #ifdef __cplusplus
18518 extern "C"
18519 #endif
18520 char $ac_func ();
18521 /* The GNU C library defines this for functions which it implements
18522 to always fail with ENOSYS. Some functions are actually named
18523 something starting with __ and the normal name is an alias. */
18524 #if defined __stub_$ac_func || defined __stub___$ac_func
18525 choke me
18526 #endif
18527
18528 int
18529 main ()
18530 {
18531 return $ac_func ();
18532 ;
18533 return 0;
18534 }
18535 _ACEOF
18536 rm -f conftest.$ac_objext conftest$ac_exeext
18537 if { (ac_try="$ac_link"
18538 case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18541 esac
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_link") 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18551 { (case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_try") 2>&5
18557 ac_status=$?
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest$ac_exeext'
18561 { (case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_try") 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 eval "$as_ac_var=yes"
18571 else
18572 echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.$ac_ext >&5
18574
18575 eval "$as_ac_var=no"
18576 fi
18577
18578 rm -f core conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18580 fi
18581 ac_res=`eval echo '${'$as_ac_var'}'`
18582 { echo "$as_me:$LINENO: result: $ac_res" >&5
18583 echo "${ECHO_T}$ac_res" >&6; }
18584 if test `eval echo '${'$as_ac_var'}'` = yes; then
18585 cat >>confdefs.h <<_ACEOF
18586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18587 _ACEOF
18588
18589 fi
18590 done
18591
18592 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
18593 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
18594 if test "${llvm_cv_c_printf_a+set}" = set; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 else
18597 ac_ext=c
18598 ac_cpp='$CPP $CPPFLAGS'
18599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18602
18603 if test "$cross_compiling" = yes; then
18604 llvmac_cv_c_printf_a=no
18605 else
18606 cat >conftest.$ac_ext <<_ACEOF
18607
18608 /* confdefs.h. */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613
18614 #include
18615 #include
18616
18617 int
18618 main ()
18619 {
18620
18621 volatile double A, B;
18622 char Buffer[100];
18623 A = 1;
18624 A /= 10.0;
18625 sprintf(Buffer, "%a", A);
18626 B = atof(Buffer);
18627 if (A != B)
18628 return (1);
18629 if (A != 0x1.999999999999ap-4)
18630 return (1);
18631 return (0);
18632 ;
18633 return 0;
18634 }
18635 _ACEOF
18636 rm -f conftest$ac_exeext
18637 if { (ac_try="$ac_link"
18638 case "(($ac_try" in
18639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18640 *) ac_try_echo=$ac_try;;
18641 esac
18642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18643 (eval "$ac_link") 2>&5
18644 ac_status=$?
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18647 { (case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18650 esac
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_try") 2>&5
18653 ac_status=$?
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; }; then
18656 llvm_cv_c_printf_a=yes
18657 else
18658 echo "$as_me: program exited with status $ac_status" >&5
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 ( exit $ac_status )
18663 llvmac_cv_c_printf_a=no
18664 fi
18665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18666 fi
18667
18668
18669 ac_ext=c
18670 ac_cpp='$CPP $CPPFLAGS'
18671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18674
18675 fi
18676 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
18677 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
18678 if test "$llvm_cv_c_printf_a" = "yes"; then
18679
18680 cat >>confdefs.h <<\_ACEOF
18681 #define HAVE_PRINTF_A 1
18682 _ACEOF
18683
18684 fi
18685
18686
18687 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in " >&5
18688 echo $ECHO_N "checking for srand48/lrand48/drand48 in ... $ECHO_C" >&6; }
18689 if test "${ac_cv_func_rand48+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 else
18692 ac_ext=cpp
18693 ac_cpp='$CXXCPP $CPPFLAGS'
18694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18697
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 #include
18705 int
18706 main ()
18707 {
18708 srand48(0);lrand48();drand48();
18709 ;
18710 return 0;
18711 }
18712 _ACEOF
18713 rm -f conftest.$ac_objext
18714 if { (ac_try="$ac_compile"
18715 case "(($ac_try" in
18716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18717 *) ac_try_echo=$ac_try;;
18718 esac
18719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18720 (eval "$ac_compile") 2>conftest.er1
18721 ac_status=$?
18722 grep -v '^ *+' conftest.er1 >conftest.err
18723 rm -f conftest.er1
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18728 { (case "(($ac_try" in
18729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18731 esac
18732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_try") 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; } &&
18737 { ac_try='test -s conftest.$ac_objext'
18738 { (case "(($ac_try" in
18739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18740 *) ac_try_echo=$ac_try;;
18741 esac
18742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18743 (eval "$ac_try") 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_cv_func_rand48=yes
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18751
18752 ac_cv_func_rand48=no
18753 fi
18754
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756 ac_ext=c
18757 ac_cpp='$CPP $CPPFLAGS'
18758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18761
18762 fi
18763 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
18764 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
18765
18766 if test "$ac_cv_func_rand48" = "yes" ; then
18767
18768 cat >>confdefs.h <<\_ACEOF
18769 #define HAVE_RAND48 1
18770 _ACEOF
18771
18772 fi
18773
18774
18775
18776 { echo "$as_me:$LINENO: checking for isnan in " >&5
18777 echo $ECHO_N "checking for isnan in ... $ECHO_C" >&6; }
18778 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 else
18781 ac_ext=cpp
18782 ac_cpp='$CXXCPP $CPPFLAGS'
18783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18786
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h. */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793 #include
18794 int
18795 main ()
18796 {
18797 float f; isnan(f);
18798 ;
18799 return 0;
18800 }
18801 _ACEOF
18802 rm -f conftest.$ac_objext
18803 if { (ac_try="$ac_compile"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18807 esac
18808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_compile") 2>conftest.er1
18810 ac_status=$?
18811 grep -v '^ *+' conftest.er1 >conftest.err
18812 rm -f conftest.er1
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } &&
18816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18817 { (case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_try") 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try='test -s conftest.$ac_objext'
18827 { (case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18830 esac
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_try") 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 ac_cv_func_isnan_in_math_h=yes
18837 else
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.$ac_ext >&5
18840
18841 ac_cv_func_isnan_in_math_h=no
18842 fi
18843
18844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18845 ac_ext=c
18846 ac_cpp='$CPP $CPPFLAGS'
18847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18850
18851 fi
18852 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
18853 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
18854
18855
18856 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
18857
18858 cat >>confdefs.h <<\_ACEOF
18859 #define HAVE_ISNAN_IN_MATH_H 1
18860 _ACEOF
18861
18862 fi
18863
18864 { echo "$as_me:$LINENO: checking for isnan in " >&5
18865 echo $ECHO_N "checking for isnan in ... $ECHO_C" >&6; }
18866 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 else
18869 ac_ext=cpp
18870 ac_cpp='$CXXCPP $CPPFLAGS'
18871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18874
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include
18882 int
18883 main ()
18884 {
18885 float f; isnan(f);
18886 ;
18887 return 0;
18888 }
18889 _ACEOF
18890 rm -f conftest.$ac_objext
18891 if { (ac_try="$ac_compile"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18895 esac
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_compile") 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18905 { (case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18908 esac
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_try") 2>&5
18911 ac_status=$?
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; } &&
18914 { ac_try='test -s conftest.$ac_objext'
18915 { (case "(($ac_try" in
18916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18917 *) ac_try_echo=$ac_try;;
18918 esac
18919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18920 (eval "$ac_try") 2>&5
18921 ac_status=$?
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; }; then
18924 ac_cv_func_isnan_in_cmath=yes
18925 else
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18928
18929 ac_cv_func_isnan_in_cmath=no
18930 fi
18931
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 ac_ext=c
18934 ac_cpp='$CPP $CPPFLAGS'
18935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
18939 fi
18940 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
18941 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
18942
18943 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
18944
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_ISNAN_IN_CMATH 1
18947 _ACEOF
18948
18949 fi
18950
18951 { echo "$as_me:$LINENO: checking for std::isnan in " >&5
18952 echo $ECHO_N "checking for std::isnan in ... $ECHO_C" >&6; }
18953 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 ac_ext=cpp
18957 ac_cpp='$CXXCPP $CPPFLAGS'
18958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18961
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 #include
18969 int
18970 main ()
18971 {
18972 float f; std::isnan(f);
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (ac_try="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18992 { (case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_try") 2>&5
18998 ac_status=$?
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try='test -s conftest.$ac_objext'
19002 { (case "(($ac_try" in
19003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19005 esac
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_try") 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_cv_func_std_isnan_in_cmath=yes
19012 else
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.$ac_ext >&5
19015
19016 ac_cv_func_std_isnan_in_cmath=no
19017 fi
19018
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 ac_ext=c
19021 ac_cpp='$CPP $CPPFLAGS'
19022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19025
19026 fi
19027 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
19028 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
19029
19030 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
19031
19032 cat >>confdefs.h <<\_ACEOF
19033 #define HAVE_STD_ISNAN_IN_CMATH 1
19034 _ACEOF
19035
19036 fi
19037
19038
19039 { echo "$as_me:$LINENO: checking for isinf in " >&5
19040 echo $ECHO_N "checking for isinf in ... $ECHO_C" >&6; }
19041 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044 ac_ext=cpp
19045 ac_cpp='$CXXCPP $CPPFLAGS'
19046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19049
19050 cat >conftest.$ac_ext <<_ACEOF
19051 /* confdefs.h. */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include
19057 int
19058 main ()
19059 {
19060 float f; isinf(f);
19061 ;
19062 return 0;
19063 }
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (ac_try="$ac_compile"
19067 case "(($ac_try" in
19068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19070 esac
19071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_compile") 2>conftest.er1
19073 ac_status=$?
19074 grep -v '^ *+' conftest.er1 >conftest.err
19075 rm -f conftest.er1
19076 cat conftest.err >&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } &&
19079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19080 { (case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19083 esac
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_try") 2>&5
19086 ac_status=$?
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try='test -s conftest.$ac_objext'
19090 { (case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_try") 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 ac_cv_func_isinf_in_math_h=yes
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 ac_cv_func_isinf_in_math_h=no
19105 fi
19106
19107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 ac_ext=c
19109 ac_cpp='$CPP $CPPFLAGS'
19110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19113
19114 fi
19115 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
19116 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
19117
19118 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
19119
19120 cat >>confdefs.h <<\_ACEOF
19121 #define HAVE_ISINF_IN_MATH_H 1
19122 _ACEOF
19123
19124 fi
19125
19126 { echo "$as_me:$LINENO: checking for isinf in " >&5
19127 echo $ECHO_N "checking for isinf in ... $ECHO_C" >&6; }
19128 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 else
19131 ac_ext=cpp
19132 ac_cpp='$CXXCPP $CPPFLAGS'
19133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19136
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143 #include
19144 int
19145 main ()
19146 {
19147 float f; isinf(f);
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19167 { (case "(($ac_try" in
19168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19170 esac
19171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19172 (eval "$ac_try") 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try='test -s conftest.$ac_objext'
19177 { (case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_try") 2>&5
19183 ac_status=$?
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_cv_func_isinf_in_cmath=yes
19187 else
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19190
19191 ac_cv_func_isinf_in_cmath=no
19192 fi
19193
19194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195 ac_ext=c
19196 ac_cpp='$CPP $CPPFLAGS'
19197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19200
19201 fi
19202 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
19203 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
19204
19205 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
19206
19207 cat >>confdefs.h <<\_ACEOF
19208 #define HAVE_ISINF_IN_CMATH 1
19209 _ACEOF
19210
19211 fi
19212
19213 { echo "$as_me:$LINENO: checking for std::isinf in " >&5
19214 echo $ECHO_N "checking for std::isinf in ... $ECHO_C" >&6; }
19215 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218 ac_ext=cpp
19219 ac_cpp='$CXXCPP $CPPFLAGS'
19220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19223
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 #include
19231 int
19232 main ()
19233 {
19234 float f; std::isinf(f)}
19235 ;
19236 return 0;
19237 }
19238 _ACEOF
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19244 esac
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19254 { (case "(($ac_try" in
19255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19256 *) ac_try_echo=$ac_try;;
19257 esac
19258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19259 (eval "$ac_try") 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest.$ac_objext'
19264 { (case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_try") 2>&5
19270 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; }; then
19273 ac_cv_func_std_isinf_in_cmath=yes
19274 else
19275 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5
19277
19278 ac_cv_func_std_isinf_in_cmath=no
19279 fi
19280
19281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19282 ac_ext=c
19283 ac_cpp='$CPP $CPPFLAGS'
19284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19287
19288 fi
19289 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
19290 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
19291
19292 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
19293
19294 cat >>confdefs.h <<\_ACEOF
19295 #define HAVE_STD_ISINF_IN_CMATH 1
19296 _ACEOF
19297
19298 fi
19299
19300 { echo "$as_me:$LINENO: checking for finite in " >&5
19301 echo $ECHO_N "checking for finite in ... $ECHO_C" >&6; }
19302 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 else
19305 ac_ext=cpp
19306 ac_cpp='$CXXCPP $CPPFLAGS'
19307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19310
19311 cat >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include
19318 int
19319 main ()
19320 {
19321 float f; finite(f);
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19341 { (case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_try") 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (case "(($ac_try" in
19352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19354 esac
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_try") 2>&5
19357 ac_status=$?
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; }; then
19360 ac_cv_func_finite_in_ieeefp_h=yes
19361 else
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19364
19365 ac_cv_func_finite_in_ieeefp_h=no
19366 fi
19367
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 ac_ext=c
19370 ac_cpp='$CPP $CPPFLAGS'
19371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374
19375 fi
19376 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
19377 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
19378
19379 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
19380
19381 cat >>confdefs.h <<\_ACEOF
19382 #define HAVE_FINITE_IN_IEEEFP_H 1
19383 _ACEOF
19384
19385 fi
19386
19387
19388
19389 if test "$llvm_cv_platform_type" = "Unix" ; then
19390
19391
19392 for ac_header in stdlib.h unistd.h
1711419393 do
1711519394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1711619395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
1727919558 done
1728019559
1728119560
17282
17283
17284
17285 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
17286 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
17287 if test "${ac_cv_huge_val_sanity+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290
17291 ac_ext=cpp
17292 ac_cpp='$CXXCPP $CPPFLAGS'
17293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17296
17297 ac_save_CXXFLAGS=$CXXFLAGS
17298 CXXFLAGS=-pedantic
17299 if test "$cross_compiling" = yes; then
17300 ac_cv_huge_val_sanity=yes
17301 else
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include
17309 int
17310 main ()
17311 {
17312 double x = HUGE_VAL; return x != x;
17313 ;
17314 return 0;
17315 }
17316 _ACEOF
17317 rm -f conftest$ac_exeext
17318 if { (ac_try="$ac_link"
17319 case "(($ac_try" in
17320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17321 *) ac_try_echo=$ac_try;;
17322 esac
17323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17324 (eval "$ac_link") 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17328 { (case "(($ac_try" in
17329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17330 *) ac_try_echo=$ac_try;;
17331 esac
17332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17333 (eval "$ac_try") 2>&5
17334 ac_status=$?
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17337 ac_cv_huge_val_sanity=yes
17338 else
17339 echo "$as_me: program exited with status $ac_status" >&5
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17342
17343 ( exit $ac_status )
17344 ac_cv_huge_val_sanity=no
17345 fi
17346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17347 fi
17348
17349
17350 CXXFLAGS=$ac_save_CXXFLAGS
17351 ac_ext=c
17352 ac_cpp='$CPP $CPPFLAGS'
17353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17356
17357
17358 fi
17359 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
17360 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
17361 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
17362
17363
17364 { echo "$as_me:$LINENO: checking for pid_t" >&5
17365 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17366 if test "${ac_cv_type_pid_t+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17376 typedef pid_t ac__type_new_;
17377 int
17378 main ()
17379 {
17380 if ((ac__type_new_ *) 0)
17381 return 0;
17382 if (sizeof (ac__type_new_))
17383 return 0;
17384 ;
17385 return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17393 esac
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17396 ac_status=$?
17397 grep -v '^ *+' conftest.er1 >conftest.err
17398 rm -f conftest.er1
17399 cat conftest.err >&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17403 { (case "(($ac_try" in
17404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17405 *) ac_try_echo=$ac_try;;
17406 esac
17407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17408 (eval "$ac_try") 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try='test -s conftest.$ac_objext'
17413 { (case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17416 esac
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_try") 2>&5
17419 ac_status=$?
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17422 ac_cv_type_pid_t=yes
17423 else
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17426
17427 ac_cv_type_pid_t=no
17428 fi
17429
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17431 fi
17432 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17433 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17434 if test $ac_cv_type_pid_t = yes; then
17435 :
17436 else
17437
17438 cat >>confdefs.h <<_ACEOF
17439 #define pid_t int
17440 _ACEOF
17441
17442 fi
17443
17444 { echo "$as_me:$LINENO: checking for size_t" >&5
17445 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17446 if test "${ac_cv_type_size_t+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 else
17449 cat >conftest.$ac_ext <<_ACEOF
17450 /* confdefs.h. */
17451 _ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455 $ac_includes_default
17456 typedef size_t ac__type_new_;
17457 int
17458 main ()
17459 {
17460 if ((ac__type_new_ *) 0)
17461 return 0;
17462 if (sizeof (ac__type_new_))
17463 return 0;
17464 ;
17465 return 0;
17466 }
17467 _ACEOF
17468 rm -f conftest.$ac_objext
17469 if { (ac_try="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17473 esac
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } &&
17482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17483 { (case "(($ac_try" in
17484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17485 *) ac_try_echo=$ac_try;;
17486 esac
17487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17488 (eval "$ac_try") 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try='test -s conftest.$ac_objext'
17493 { (case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17496 esac
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_try") 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 ac_cv_type_size_t=yes
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17506
17507 ac_cv_type_size_t=no
17508 fi
17509
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 fi
17512 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17513 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17514 if test $ac_cv_type_size_t = yes; then
17515 :
17516 else
17517
17518 cat >>confdefs.h <<_ACEOF
17519 #define size_t unsigned int
17520 _ACEOF
17521
17522 fi
17523
17524
17525 cat >>confdefs.h <<_ACEOF
17526 #define RETSIGTYPE void
17527 _ACEOF
17528
17529 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
17530 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
17531 if test "${ac_cv_struct_tm+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 else
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 #include
17541 #include
17542
17543 int
17544 main ()
17545 {
17546 struct tm *tp; tp->tm_sec;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17556 esac
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17566 { (case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_try") 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try='test -s conftest.$ac_objext'
17576 { (case "(($ac_try" in
17577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578 *) ac_try_echo=$ac_try;;
17579 esac
17580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17581 (eval "$ac_try") 2>&5
17582 ac_status=$?
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; }; then
17585 ac_cv_struct_tm=time.h
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17589
17590 ac_cv_struct_tm=sys/time.h
17591 fi
17592
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594 fi
17595 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
17596 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
17597 if test $ac_cv_struct_tm = sys/time.h; then
17598
17599 cat >>confdefs.h <<\_ACEOF
17600 #define TM_IN_SYS_TIME 1
17601 _ACEOF
17602
17603 fi
17604
17605 { echo "$as_me:$LINENO: checking for int64_t" >&5
17606 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
17607 if test "${ac_cv_type_int64_t+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17609 else
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h. */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 $ac_includes_default
17617 typedef int64_t ac__type_new_;
17618 int
17619 main ()
17620 {
17621 if ((ac__type_new_ *) 0)
17622 return 0;
17623 if (sizeof (ac__type_new_))
17624 return 0;
17625 ;
17626 return 0;
17627 }
17628 _ACEOF
17629 rm -f conftest.$ac_objext
17630 if { (ac_try="$ac_compile"
17631 case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17634 esac
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_compile") 2>conftest.er1
17637 ac_status=$?
17638 grep -v '^ *+' conftest.er1 >conftest.err
17639 rm -f conftest.er1
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17644 { (case "(($ac_try" in
17645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17646 *) ac_try_echo=$ac_try;;
17647 esac
17648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17649 (eval "$ac_try") 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try='test -s conftest.$ac_objext'
17654 { (case "(($ac_try" in
17655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17656 *) ac_try_echo=$ac_try;;
17657 esac
17658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval "$ac_try") 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; }; then
17663 ac_cv_type_int64_t=yes
17664 else
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17667
17668 ac_cv_type_int64_t=no
17669 fi
17670
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 fi
17673 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
17674 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
17675 if test $ac_cv_type_int64_t = yes; then
17676
17677 cat >>confdefs.h <<_ACEOF
17678 #define HAVE_INT64_T 1
17679 _ACEOF
17680
17681
17682 else
17683 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
17684 echo "$as_me: error: Type int64_t required but not found" >&2;}
17685 { (exit 1); exit 1; }; }
17686 fi
17687
17688 { echo "$as_me:$LINENO: checking for uint64_t" >&5
17689 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
17690 if test "${ac_cv_type_uint64_t+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 $ac_includes_default
17700 typedef uint64_t ac__type_new_;
17701 int
17702 main ()
17703 {
17704 if ((ac__type_new_ *) 0)
17705 return 0;
17706 if (sizeof (ac__type_new_))
17707 return 0;
17708 ;
17709 return 0;
17710 }
17711 _ACEOF
17712 rm -f conftest.$ac_objext
17713 if { (ac_try="$ac_compile"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17717 esac
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_compile") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_try") 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try='test -s conftest.$ac_objext'
17737 { (case "(($ac_try" in
17738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17739 *) ac_try_echo=$ac_try;;
17740 esac
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_try") 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 ac_cv_type_uint64_t=yes
17747 else
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.$ac_ext >&5
17750
17751 ac_cv_type_uint64_t=no
17752 fi
17753
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 fi
17756 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17757 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
17758 if test $ac_cv_type_uint64_t = yes; then
17759
17760 cat >>confdefs.h <<_ACEOF
17761 #define HAVE_UINT64_T 1
17762 _ACEOF
17763
17764
17765 else
17766 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
17767 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
17768 if test "${ac_cv_type_u_int64_t+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 else
17771 cat >conftest.$ac_ext <<_ACEOF
17772 /* confdefs.h. */
17773 _ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17777 $ac_includes_default
17778 typedef u_int64_t ac__type_new_;
17779 int
17780 main ()
17781 {
17782 if ((ac__type_new_ *) 0)
17783 return 0;
17784 if (sizeof (ac__type_new_))
17785 return 0;
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17795 esac
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17805 { (case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_try") 2>&5
17811 ac_status=$?
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try='test -s conftest.$ac_objext'
17815 { (case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_try") 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_cv_type_u_int64_t=yes
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_cv_type_u_int64_t=no
17830 fi
17831
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 fi
17834 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17835 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
17836 if test $ac_cv_type_u_int64_t = yes; then
17837
17838 cat >>confdefs.h <<_ACEOF
17839 #define HAVE_U_INT64_T 1
17840 _ACEOF
17841
17842
17843 else
17844 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
17845 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
17846 { (exit 1); exit 1; }; }
17847 fi
17848
17849 fi
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
17861 do
17862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 else
17868 cat >conftest.$ac_ext <<_ACEOF
17869 /* confdefs.h. */
17870 _ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
17875 For example, HP-UX 11i declares gettimeofday. */
17876 #define $ac_func innocuous_$ac_func
17877
17878 /* System header to define __stub macros and hopefully few prototypes,
17879 which can conflict with char $ac_func (); below.
17880 Prefer to if __STDC__ is defined, since
17881 exists even on freestanding compilers. */
17882
17883 #ifdef __STDC__
17884 # include
17885 #else
17886 # include
17887 #endif
17888
17889 #undef $ac_func
17890
17891 /* Override any GCC internal prototype to avoid an error.
17892 Use char because int might match the return type of a GCC
17893 builtin and then its argument prototype would still apply. */
17894 #ifdef __cplusplus
17895 extern "C"
17896 #endif
17897 char $ac_func ();
17898 /* The GNU C library defines this for functions which it implements
17899 to always fail with ENOSYS. Some functions are actually named
17900 something starting with __ and the normal name is an alias. */
17901 #if defined __stub_$ac_func || defined __stub___$ac_func
17902 choke me
17903 #endif
17904
17905 int
17906 main ()
17907 {
17908 return $ac_func ();
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest.$ac_objext conftest$ac_exeext
17914 if { (ac_try="$ac_link"
17915 case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17918 esac
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_link") 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (case "(($ac_try" in
17929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17930 *) ac_try_echo=$ac_try;;
17931 esac
17932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17933 (eval "$ac_try") 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try='test -s conftest$ac_exeext'
17938 { (case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941 esac
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_try") 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 eval "$as_ac_var=yes"
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17951
17952 eval "$as_ac_var=no"
17953 fi
17954
17955 rm -f core conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext conftest.$ac_ext
17957 fi
17958 ac_res=`eval echo '${'$as_ac_var'}'`
17959 { echo "$as_me:$LINENO: result: $ac_res" >&5
17960 echo "${ECHO_T}$ac_res" >&6; }
17961 if test `eval echo '${'$as_ac_var'}'` = yes; then
17962 cat >>confdefs.h <<_ACEOF
17963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17964 _ACEOF
17965
17966 fi
17967 done
17968
17969
17970
17971
17972
17973 for ac_func in powf fmodf strtof round
17974 do
17975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
17988 For example, HP-UX 11i declares gettimeofday. */
17989 #define $ac_func innocuous_$ac_func
17990
17991 /* System header to define __stub macros and hopefully few prototypes,
17992 which can conflict with char $ac_func (); below.
17993 Prefer to if __STDC__ is defined, since
17994 exists even on freestanding compilers. */
17995
17996 #ifdef __STDC__
17997 # include
17998 #else
17999 # include
18000 #endif
18001
18002 #undef $ac_func
18003
18004 /* Override any GCC internal prototype to avoid an error.
18005 Use char because int might match the return type of a GCC
18006 builtin and then its argument prototype would still apply. */
18007 #ifdef __cplusplus
18008 extern "C"
18009 #endif
18010 char $ac_func ();
18011 /* The GNU C library defines this for functions which it implements
18012 to always fail with ENOSYS. Some functions are actually named
18013 something starting with __ and the normal name is an alias. */
18014 #if defined __stub_$ac_func || defined __stub___$ac_func
18015 choke me
18016 #endif
18017
18018 int
18019 main ()
18020 {
18021 return $ac_func ();
18022 ;
18023 return 0;
18024 }
18025 _ACEOF
18026 rm -f conftest.$ac_objext conftest$ac_exeext
18027 if { (ac_try="$ac_link"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_link") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18041 { (case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_try") 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest$ac_exeext'
18051 { (case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18054 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_try") 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 eval "$as_ac_var=yes"
18061 else
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.$ac_ext >&5
18064
18065 eval "$as_ac_var=no"
18066 fi
18067
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext conftest.$ac_ext
18070 fi
18071 ac_res=`eval echo '${'$as_ac_var'}'`
18072 { echo "$as_me:$LINENO: result: $ac_res" >&5
18073 echo "${ECHO_T}$ac_res" >&6; }
18074 if test `eval echo '${'$as_ac_var'}'` = yes; then
18075 cat >>confdefs.h <<_ACEOF
18076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18077 _ACEOF
18078
18079 fi
18080 done
18081
18082
18083
18084
18085
18086
18087 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
18088 do
18089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18093 echo $ECHO_N "(cached) $ECHO_C" >&6
18094 else
18095 cat >conftest.$ac_ext <<_ACEOF
18096 /* confdefs.h. */
18097 _ACEOF
18098 cat confdefs.h >>conftest.$ac_ext
18099 cat >>conftest.$ac_ext <<_ACEOF
18100 /* end confdefs.h. */
18101 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18102 For example, HP-UX 11i declares gettimeofday. */
18103 #define $ac_func innocuous_$ac_func
18104
18105 /* System header to define __stub macros and hopefully few prototypes,
18106 which can conflict with char $ac_func (); below.
18107 Prefer to if __STDC__ is defined, since
18108 exists even on freestanding compilers. */
18109
18110 #ifdef __STDC__
18111 # include
18112 #else
18113 # include
18114 #endif
18115
18116 #undef $ac_func
18117
18118 /* Override any GCC internal prototype to avoid an error.
18119 Use char because int might match the return type of a GCC
18120 builtin and then its argument prototype would still apply. */
18121 #ifdef __cplusplus
18122 extern "C"
18123 #endif
18124 char $ac_func ();
18125 /* The GNU C library defines this for functions which it implements
18126 to always fail with ENOSYS. Some functions are actually named
18127 something starting with __ and the normal name is an alias. */
18128 #if defined __stub_$ac_func || defined __stub___$ac_func
18129 choke me
18130 #endif
18131
18132 int
18133 main ()
18134 {
18135 return $ac_func ();
18136 ;
18137 return 0;
18138 }
18139 _ACEOF
18140 rm -f conftest.$ac_objext conftest$ac_exeext
18141 if { (ac_try="$ac_link"
18142 case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18145 esac
18146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18147 (eval "$ac_link") 2>conftest.er1
18148 ac_status=$?
18149 grep -v '^ *+' conftest.er1 >conftest.err
18150 rm -f conftest.er1
18151 cat conftest.err >&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); } &&
18154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18155 { (case "(($ac_try" in
18156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18157 *) ac_try_echo=$ac_try;;
18158 esac
18159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18160 (eval "$ac_try") 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try='test -s conftest$ac_exeext'
18165 { (case "(($ac_try" in
18166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18167 *) ac_try_echo=$ac_try;;
18168 esac
18169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18170 (eval "$ac_try") 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 eval "$as_ac_var=yes"
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 eval "$as_ac_var=no"
18180 fi
18181
18182 rm -f core conftest.err conftest.$ac_objext \
18183 conftest$ac_exeext conftest.$ac_ext
18184 fi
18185 ac_res=`eval echo '${'$as_ac_var'}'`
18186 { echo "$as_me:$LINENO: result: $ac_res" >&5
18187 echo "${ECHO_T}$ac_res" >&6; }
18188 if test `eval echo '${'$as_ac_var'}'` = yes; then
18189 cat >>confdefs.h <<_ACEOF
18190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18191 _ACEOF
18192
18193 fi
18194 done
18195
18196
18197
18198
18199 for ac_func in isatty mkdtemp mkstemp
18200 do
18201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18214 For example, HP-UX 11i declares gettimeofday. */
18215 #define $ac_func innocuous_$ac_func
18216
18217 /* System header to define __stub macros and hopefully few prototypes,
18218 which can conflict with char $ac_func (); below.
18219 Prefer to if __STDC__ is defined, since
18220 exists even on freestanding compilers. */
18221
18222 #ifdef __STDC__
18223 # include
18224 #else
18225 # include
18226 #endif
18227
18228 #undef $ac_func
18229
18230 /* Override any GCC internal prototype to avoid an error.
18231 Use char because int might match the return type of a GCC
18232 builtin and then its argument prototype would still apply. */
18233 #ifdef __cplusplus
18234 extern "C"
18235 #endif
18236 char $ac_func ();
18237 /* The GNU C library defines this for functions which it implements
18238 to always fail with ENOSYS. Some functions are actually named
18239 something starting with __ and the normal name is an alias. */
18240 #if defined __stub_$ac_func || defined __stub___$ac_func
18241 choke me
18242 #endif
18243
18244 int
18245 main ()
18246 {
18247 return $ac_func ();
18248 ;
18249 return 0;
18250 }
18251 _ACEOF
18252 rm -f conftest.$ac_objext conftest$ac_exeext
18253 if { (ac_try="$ac_link"
18254 case "(($ac_try" in
18255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18256 *) ac_try_echo=$ac_try;;
18257 esac
18258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_link") 2>conftest.er1
18260 ac_status=$?
18261 grep -v '^ *+' conftest.er1 >conftest.err
18262 rm -f conftest.er1
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18267 { (case "(($ac_try" in
18268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18269 *) ac_try_echo=$ac_try;;
18270 esac
18271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18272 (eval "$ac_try") 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest$ac_exeext'
18277 { (case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18279 *) ac_try_echo=$ac_try;;
18280 esac
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_try") 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 eval "$as_ac_var=yes"
18287 else
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.$ac_ext >&5
18290
18291 eval "$as_ac_var=no"
18292 fi
18293
18294 rm -f core conftest.err conftest.$ac_objext \
18295 conftest$ac_exeext conftest.$ac_ext
18296 fi
18297 ac_res=`eval echo '${'$as_ac_var'}'`
18298 { echo "$as_me:$LINENO: result: $ac_res" >&5
18299 echo "${ECHO_T}$ac_res" >&6; }
18300 if test `eval echo '${'$as_ac_var'}'` = yes; then
18301 cat >>confdefs.h <<_ACEOF
18302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18303 _ACEOF
18304
18305 fi
18306 done
18307
18308
18309
18310
18311
18312
18313
18314 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
18315 do
18316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18329 For example, HP-UX 11i declares gettimeofday. */
18330 #define $ac_func innocuous_$ac_func
18331
18332 /* System header to define __stub macros and hopefully few prototypes,
18333 which can conflict with char $ac_func (); below.
18334 Prefer to if __STDC__ is defined, since
18335 exists even on freestanding compilers. */
18336
18337 #ifdef __STDC__
18338 # include
18339 #else
18340 # include
18341 #endif
18342
18343 #undef $ac_func
18344
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18348 #ifdef __cplusplus
18349 extern "C"
18350 #endif
18351 char $ac_func ();
18352 /* The GNU C library defines this for functions which it implements
18353 to always fail with ENOSYS. Some functions are actually named
18354 something starting with __ and the normal name is an alias. */
18355 #if defined __stub_$ac_func || defined __stub___$ac_func
18356 choke me
18357 #endif
18358
18359 int
18360 main ()
18361 {
18362 return $ac_func ();
18363 ;
18364 return 0;
18365 }
18366 _ACEOF
18367 rm -f conftest.$ac_objext conftest$ac_exeext
18368 if { (ac_try="$ac_link"
18369 case "(($ac_try" in
18370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18372 esac
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_link") 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18382 { (case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18385 esac
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_try") 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; } &&
18391 { ac_try='test -s conftest$ac_exeext'
18392 { (case "(($ac_try" in
18393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18395 esac
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_try") 2>&5
18398 ac_status=$?
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 eval "$as_ac_var=yes"
18402 else
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18405
18406 eval "$as_ac_var=no"
18407 fi
18408
18409 rm -f core conftest.err conftest.$ac_objext \
18410 conftest$ac_exeext conftest.$ac_ext
18411 fi
18412 ac_res=`eval echo '${'$as_ac_var'}'`
18413 { echo "$as_me:$LINENO: result: $ac_res" >&5
18414 echo "${ECHO_T}$ac_res" >&6; }
18415 if test `eval echo '${'$as_ac_var'}'` = yes; then
18416 cat >>confdefs.h <<_ACEOF
18417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18418 _ACEOF
18419
18420 fi
18421 done
18422
18423
18424
18425
18426
18427 for ac_func in strerror strerror_r strerror_s setenv
18428 do
18429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18433 echo $ECHO_N "(cached) $ECHO_C" >&6
18434 else
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18442 For example, HP-UX 11i declares gettimeofday. */
18443 #define $ac_func innocuous_$ac_func
18444
18445 /* System header to define __stub macros and hopefully few prototypes,
18446 which can conflict with char $ac_func (); below.
18447 Prefer to if __STDC__ is defined, since
18448 exists even on freestanding compilers. */
18449
18450 #ifdef __STDC__
18451 # include
18452 #else
18453 # include
18454 #endif
18455
18456 #undef $ac_func
18457
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18461 #ifdef __cplusplus
18462 extern "C"
18463 #endif
18464 char $ac_func ();
18465 /* The GNU C library defines this for functions which it implements
18466 to always fail with ENOSYS. Some functions are actually named
18467 something starting with __ and the normal name is an alias. */
18468 #if defined __stub_$ac_func || defined __stub___$ac_func
18469 choke me
18470 #endif
18471
18472 int
18473 main ()
18474 {
18475 return $ac_func ();
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext conftest$ac_exeext
18481 if { (ac_try="$ac_link"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_link") 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18495 { (case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_try") 2>&5
18501 ac_status=$?
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; } &&
18504 { ac_try='test -s conftest$ac_exeext'
18505 { (case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18508 esac
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_try") 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; }; then
18514 eval "$as_ac_var=yes"
18515 else
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18518
18519 eval "$as_ac_var=no"
18520 fi
18521
18522 rm -f core conftest.err conftest.$ac_objext \
18523 conftest$ac_exeext conftest.$ac_ext
18524 fi
18525 ac_res=`eval echo '${'$as_ac_var'}'`
18526 { echo "$as_me:$LINENO: result: $ac_res" >&5
18527 echo "${ECHO_T}$ac_res" >&6; }
18528 if test `eval echo '${'$as_ac_var'}'` = yes; then
18529 cat >>confdefs.h <<_ACEOF
18530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18531 _ACEOF
18532
18533 fi
18534 done
18535
18536
18537
18538
18539
18540 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
18541 do
18542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548 cat >conftest.$ac_ext <<_ACEOF
18549 /* confdefs.h. */
18550 _ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554 /* Define $ac_func to an innocuous variant, in case declares $ac_func.
18555 For example, HP-UX 11i declares gettimeofday. */
18556 #define $ac_func innocuous_$ac_func
18557
18558 /* System header to define __stub macros and hopefully few prototypes,
18559 which can conflict with char $ac_func (); below.
18560 Prefer to if __STDC__ is defined, since
18561 exists even on freestanding compilers. */
18562
18563 #ifdef __STDC__
18564 # include
18565 #else
18566 # include
18567 #endif
18568
18569 #undef $ac_func
18570
18571 /* Override any GCC internal prototype to avoid an error.
18572 Use char because int might match the return type of a GCC
18573 builtin and then its argument prototype would still apply. */
18574 #ifdef __cplusplus
18575 extern "C"
18576 #endif
18577 char $ac_func ();
18578 /* The GNU C library defines this for functions which it implements
18579 to always fail with ENOSYS. Some functions are actually named
18580 something starting with __ and the normal name is an alias. */
18581 #if defined __stub_$ac_func || defined __stub___$ac_func
18582 choke me
18583 #endif
18584
18585 int
18586 main ()
18587 {
18588 return $ac_func ();
18589 ;