Changeset 2549 in vbox
- Timestamp:
- May 9, 2007 8:54:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r2374 r2549 253 253 fail really 254 254 elif (($cc_maj>3)); then 255 if [ "$MACHINE" = "x86" ]; then 256 log_success "found version $cc_ver, using precompiled objects for recompiler" 257 cnf_append "VBOX_USING_GCC4" "1" 258 else 259 log_success "found version $cc_ver" 260 fi 255 log_success "found version $cc_ver" 261 256 elif (($cc_maj<3 || $cc_min<2)); then 262 257 log_failure "gcc version $cc_ver found, expected at least gcc version 3.2" … … 426 421 function check_xalan() 427 422 { 428 test_header xalan 429 echo ' 423 if [ -n "$LIBXALAN" ]; then 424 test_header xalan 425 echo ' 430 426 #include <cstdio> 431 427 #include <xalanc/Include/XalanVersion.hpp> … … 443 439 } 444 440 ' > .tmp_src.cc 445 if test_compile "$LIBXALAN ${INCXALAN:+-I$INCXALAN}" xalan xalanc; then 446 if test_execute; then 447 cnf_append "SDK_VBOX_XALAN_LIBS" `echo $LIBXALAN|sed 's+-l++'` 448 cnf_append "SDK_VBOX_XALAN_INCS" "$INCXALAN" 449 fi 441 if test_compile "$LIBXALAN ${INCXALAN:+-I$INCXALAN}" xalan xalanc; then 442 if test_execute; then 443 cnf_append "SDK_VBOX_XALAN_LIBS" `echo $LIBXALAN|sed 's+-l++'` 444 cnf_append "SDK_VBOX_XALAN_INCS" "$INCXALAN" 445 fi 446 fi 447 else 448 echo "Building xalan from shipped sources." 449 echo -e "Building xalan from shipped sources.\n\n" >> $LOG 450 450 fi 451 451 } … … 456 456 function check_xerces() 457 457 { 458 test_header xerces 459 echo ' 458 if [ -n "$LIBXERCES" ]; then 459 test_header xerces 460 echo ' 460 461 #include <cstdio> 461 462 #include <xercesc/util/XercesVersion.hpp> … … 473 474 } 474 475 ' > .tmp_src.cc 475 if test_compile "$LIBXERCES ${INCXERCES:+-I$INCXERCES}" xerces xercesc; then 476 if test_execute; then 477 cnf_append "SDK_VBOX_XERCES_LIBS" `echo $LIBXERCES|sed 's+-l++'` 478 cnf_append "SDK_VBOX_XERCES_INCS" "$INCXERCES" 479 fi 476 if test_compile "$LIBXERCES ${INCXERCES:+-I$INCXERCES}" xerces xercesc; then 477 if test_execute; then 478 cnf_append "SDK_VBOX_XERCES_LIBS" `echo $LIBXERCES|sed 's+-l++'` 479 cnf_append "SDK_VBOX_XERCES_INCS" "$INCXERCES" 480 fi 481 fi 482 else 483 echo "Building xerces from shipped sources." 484 echo -e "Building xerces from shipped sources.\n\n" >> $LOG 480 485 fi 481 486 } … … 1001 1006 --disable-xpcom disable XPCOM and related stuff 1002 1007 --disable-sdl-ttf disable SDL_ttf detection 1008 --build-xalan build xalan & xerces from shipped sources 1003 1009 1004 1010 Paths: … … 1075 1081 --build-debug|-d) 1076 1082 BUILD_TYPE=debug 1083 ;; 1084 --build-xalan) 1085 LIBXERCES=`` 1086 LIBXALAN=`` 1077 1087 ;; 1078 1088 --ose)
Note:
See TracChangeset
for help on using the changeset viewer.