Changeset 55123 in vbox for trunk/src/VBox/RDP/client-1.8.3/configure
- Timestamp:
- Apr 8, 2015 9:40:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client-1.8.3/configure
r55121 r55123 658 658 INSTALL_SCRIPT 659 659 INSTALL_PROGRAM 660 ac_ct_CXX 661 CXXFLAGS 662 CXX 660 663 OBJEXT 661 664 EXEEXT … … 746 749 LIBS 747 750 CPPFLAGS 751 CXX 752 CXXFLAGS 753 CCC 748 754 CPP 749 755 XMKMF … … 1416 1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1417 1423 you have headers in a nonstandard directory <include dir> 1424 CXX C++ compiler command 1425 CXXFLAGS C++ compiler flags 1418 1426 CPP C preprocessor 1419 1427 XMKMF Path to xmkmf, Makefile generator for X Window System … … 1561 1569 1562 1570 } # ac_fn_c_try_compile 1571 1572 # ac_fn_cxx_try_compile LINENO 1573 # ---------------------------- 1574 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1575 ac_fn_cxx_try_compile () 1576 { 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 rm -f conftest.$ac_objext 1579 if { { ac_try="$ac_compile" 1580 case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583 esac 1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585 $as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_compile") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { 1595 test -z "$ac_cxx_werror_flag" || 1596 test ! -s conftest.err 1597 } && test -s conftest.$ac_objext; then : 1598 ac_retval=0 1599 else 1600 $as_echo "$as_me: failed program was:" >&5 1601 sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604 fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608 } # ac_fn_cxx_try_compile 1563 1609 1564 1610 # ac_fn_c_try_cpp LINENO … … 3276 3322 CFLAGS="$CFLAGS -Wall" 3277 3323 fi 3324 ac_ext=cpp 3325 ac_cpp='$CXXCPP $CPPFLAGS' 3326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3329 if test -z "$CXX"; then 3330 if test -n "$CCC"; then 3331 CXX=$CCC 3332 else 3333 if test -n "$ac_tool_prefix"; then 3334 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3335 do 3336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3339 $as_echo_n "checking for $ac_word... " >&6; } 3340 if ${ac_cv_prog_CXX+:} false; then : 3341 $as_echo_n "(cached) " >&6 3342 else 3343 if test -n "$CXX"; then 3344 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3345 else 3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3347 for as_dir in $PATH 3348 do 3349 IFS=$as_save_IFS 3350 test -z "$as_dir" && as_dir=. 3351 for ac_exec_ext in '' $ac_executable_extensions; do 3352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3353 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3355 break 2 3356 fi 3357 done 3358 done 3359 IFS=$as_save_IFS 3360 3361 fi 3362 fi 3363 CXX=$ac_cv_prog_CXX 3364 if test -n "$CXX"; then 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3366 $as_echo "$CXX" >&6; } 3367 else 3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3369 $as_echo "no" >&6; } 3370 fi 3371 3372 3373 test -n "$CXX" && break 3374 done 3375 fi 3376 if test -z "$CXX"; then 3377 ac_ct_CXX=$CXX 3378 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3379 do 3380 # Extract the first word of "$ac_prog", so it can be a program name with args. 3381 set dummy $ac_prog; ac_word=$2 3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3383 $as_echo_n "checking for $ac_word... " >&6; } 3384 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3385 $as_echo_n "(cached) " >&6 3386 else 3387 if test -n "$ac_ct_CXX"; then 3388 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3389 else 3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3391 for as_dir in $PATH 3392 do 3393 IFS=$as_save_IFS 3394 test -z "$as_dir" && as_dir=. 3395 for ac_exec_ext in '' $ac_executable_extensions; do 3396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3397 ac_cv_prog_ac_ct_CXX="$ac_prog" 3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3399 break 2 3400 fi 3401 done 3402 done 3403 IFS=$as_save_IFS 3404 3405 fi 3406 fi 3407 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3408 if test -n "$ac_ct_CXX"; then 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3410 $as_echo "$ac_ct_CXX" >&6; } 3411 else 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3413 $as_echo "no" >&6; } 3414 fi 3415 3416 3417 test -n "$ac_ct_CXX" && break 3418 done 3419 3420 if test "x$ac_ct_CXX" = x; then 3421 CXX="g++" 3422 else 3423 case $cross_compiling:$ac_tool_warned in 3424 yes:) 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3427 ac_tool_warned=yes ;; 3428 esac 3429 CXX=$ac_ct_CXX 3430 fi 3431 fi 3432 3433 fi 3434 fi 3435 # Provide some information about the compiler. 3436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3437 set X $ac_compile 3438 ac_compiler=$2 3439 for ac_option in --version -v -V -qversion; do 3440 { { ac_try="$ac_compiler $ac_option >&5" 3441 case "(($ac_try" in 3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3443 *) ac_try_echo=$ac_try;; 3444 esac 3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3446 $as_echo "$ac_try_echo"; } >&5 3447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3448 ac_status=$? 3449 if test -s conftest.err; then 3450 sed '10a\ 3451 ... rest of stderr output deleted ... 3452 10q' conftest.err >conftest.er1 3453 cat conftest.er1 >&5 3454 fi 3455 rm -f conftest.er1 conftest.err 3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3457 test $ac_status = 0; } 3458 done 3459 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3461 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3462 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3463 $as_echo_n "(cached) " >&6 3464 else 3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3466 /* end confdefs.h. */ 3467 3468 int 3469 main () 3470 { 3471 #ifndef __GNUC__ 3472 choke me 3473 #endif 3474 3475 ; 3476 return 0; 3477 } 3478 _ACEOF 3479 if ac_fn_cxx_try_compile "$LINENO"; then : 3480 ac_compiler_gnu=yes 3481 else 3482 ac_compiler_gnu=no 3483 fi 3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3485 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3486 3487 fi 3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3489 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3490 if test $ac_compiler_gnu = yes; then 3491 GXX=yes 3492 else 3493 GXX= 3494 fi 3495 ac_test_CXXFLAGS=${CXXFLAGS+set} 3496 ac_save_CXXFLAGS=$CXXFLAGS 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3498 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3499 if ${ac_cv_prog_cxx_g+:} false; then : 3500 $as_echo_n "(cached) " >&6 3501 else 3502 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3503 ac_cxx_werror_flag=yes 3504 ac_cv_prog_cxx_g=no 3505 CXXFLAGS="-g" 3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3507 /* end confdefs.h. */ 3508 3509 int 3510 main () 3511 { 3512 3513 ; 3514 return 0; 3515 } 3516 _ACEOF 3517 if ac_fn_cxx_try_compile "$LINENO"; then : 3518 ac_cv_prog_cxx_g=yes 3519 else 3520 CXXFLAGS="" 3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3522 /* end confdefs.h. */ 3523 3524 int 3525 main () 3526 { 3527 3528 ; 3529 return 0; 3530 } 3531 _ACEOF 3532 if ac_fn_cxx_try_compile "$LINENO"; then : 3533 3534 else 3535 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3536 CXXFLAGS="-g" 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538 /* end confdefs.h. */ 3539 3540 int 3541 main () 3542 { 3543 3544 ; 3545 return 0; 3546 } 3547 _ACEOF 3548 if ac_fn_cxx_try_compile "$LINENO"; then : 3549 ac_cv_prog_cxx_g=yes 3550 fi 3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3552 fi 3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3554 fi 3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3557 fi 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3559 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3560 if test "$ac_test_CXXFLAGS" = set; then 3561 CXXFLAGS=$ac_save_CXXFLAGS 3562 elif test $ac_cv_prog_cxx_g = yes; then 3563 if test "$GXX" = yes; then 3564 CXXFLAGS="-g -O2" 3565 else 3566 CXXFLAGS="-g" 3567 fi 3568 else 3569 if test "$GXX" = yes; then 3570 CXXFLAGS="-O2" 3571 else 3572 CXXFLAGS= 3573 fi 3574 fi 3575 ac_ext=c 3576 ac_cpp='$CPP $CPPFLAGS' 3577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3579 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3580 3278 3581 3279 3582 # Find a good install program. We prefer a C program (faster), … … 4906 5209 fi 4907 5210 5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 5212 $as_echo_n "checking for library containing clock_gettime... " >&6; } 5213 if ${ac_cv_search_clock_gettime+:} false; then : 5214 $as_echo_n "(cached) " >&6 5215 else 5216 ac_func_search_save_LIBS=$LIBS 5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5218 /* end confdefs.h. */ 5219 5220 /* Override any GCC internal prototype to avoid an error. 5221 Use char because int might match the return type of a GCC 5222 builtin and then its argument prototype would still apply. */ 5223 #ifdef __cplusplus 5224 extern "C" 5225 #endif 5226 char clock_gettime (); 5227 int 5228 main () 5229 { 5230 return clock_gettime (); 5231 ; 5232 return 0; 5233 } 5234 _ACEOF 5235 for ac_lib in '' rt; do 5236 if test -z "$ac_lib"; then 5237 ac_res="none required" 5238 else 5239 ac_res=-l$ac_lib 5240 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5241 fi 5242 if ac_fn_c_try_link "$LINENO"; then : 5243 ac_cv_search_clock_gettime=$ac_res 5244 fi 5245 rm -f core conftest.err conftest.$ac_objext \ 5246 conftest$ac_exeext 5247 if ${ac_cv_search_clock_gettime+:} false; then : 5248 break 5249 fi 5250 done 5251 if ${ac_cv_search_clock_gettime+:} false; then : 5252 5253 else 5254 ac_cv_search_clock_gettime=no 5255 fi 5256 rm conftest.$ac_ext 5257 LIBS=$ac_func_search_save_LIBS 5258 fi 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 5260 $as_echo "$ac_cv_search_clock_gettime" >&6; } 5261 ac_res=$ac_cv_search_clock_gettime 5262 if test "$ac_res" != no; then : 5263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5264 5265 fi 5266 4908 5267 4909 5268 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" … … 5690 6049 fi 5691 6050 6051 6052 # 6053 # linux/compiler.h 6054 # 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linux/compiler.h is required" >&5 6056 $as_echo_n "checking if linux/compiler.h is required... " >&6; } 6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6058 /* end confdefs.h. */ 6059 6060 #include <linux/compiler.h> 6061 6062 int 6063 main () 6064 { 6065 6066 ; 6067 return 0; 6068 } 6069 _ACEOF 6070 if ac_fn_c_try_compile "$LINENO"; then : 6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6072 $as_echo "yes" >&6; } 6073 $as_echo "#define VBOX_WITH_LINUX_COMPILER_H 1" >>confdefs.h 6074 6075 else 6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6077 $as_echo "no" >&6; } 6078 fi 6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5692 6080 5693 6081 … … 7134 7522 since some C++ compilers masquerading as C compilers 7135 7523 incorrectly reject 9223372036854775807. */ 7136 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7524 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7137 7525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7138 7526 && LARGE_OFF_T % 2147483647 == 1) … … 7180 7568 since some C++ compilers masquerading as C compilers 7181 7569 incorrectly reject 9223372036854775807. */ 7182 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7570 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7183 7571 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7184 7572 && LARGE_OFF_T % 2147483647 == 1) … … 7204 7592 since some C++ compilers masquerading as C compilers 7205 7593 incorrectly reject 9223372036854775807. */ 7206 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7594 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7207 7595 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7208 7596 && LARGE_OFF_T % 2147483647 == 1) … … 7249 7637 since some C++ compilers masquerading as C compilers 7250 7638 incorrectly reject 9223372036854775807. */ 7251 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7639 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7252 7640 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7253 7641 && LARGE_OFF_T % 2147483647 == 1) … … 7273 7661 since some C++ compilers masquerading as C compilers 7274 7662 incorrectly reject 9223372036854775807. */ 7275 #define LARGE_OFF_T ((( off_t) 1 << 62) - 1 + ((off_t) 1 << 62))7663 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 7276 7664 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 7277 7665 && LARGE_OFF_T % 2147483647 == 1)
Note:
See TracChangeset
for help on using the changeset viewer.