Changeset 6060 in vbox
- Timestamp:
- Dec 13, 2007 3:57:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r5810 r6060 614 614 615 615 # 616 # Check for libxml2, needed by xpcom 617 # 618 check_libxml2() 619 { 620 test_header libxml2 621 622 if which_wrapper pkg-config > /dev/null; then 623 libxml2_ver=`pkg-config libxml-2.0 --modversion 2>> $LOG` 624 if [ $? -ne 0 ]; then 625 log_failure "not found" 626 fail 627 else 628 log_success "found version $libxml2_ver" 629 cnf_append "SDK_VBOX_LIBXML2_CFLAGS" "`pkg-config libxml-2.0 --cflags`" 630 cnf_append "SDK_VBOX_LIBXML2_LIBS" "`pkg-config libxml-2.0 --libs`" 631 fi 632 elif which_wrapper xml2-config; then 633 libxml2_ver=`xml2-config --version` 634 if [ $? -ne 0 ]; then 635 log_failure "not found" 636 fail 637 else 638 log_success "found version $libxml2_ver" 639 cnf_append "SDK_VBOX_LIBXML2_CFLAGS" "`pkg-config libxml-2.0 --cflags`" 640 cnf_append "SDK_VBOX_LIBXML2_LIBS" "`pkg-config libxml-2.0 --libs`" 641 fi 642 else 643 log_failure "neither pkg-config nor xml2-config found" 644 fail 645 fi 646 } 647 648 # 616 649 # Check for libIDL, needed by xpcom 617 650 # … … 1485 1518 [ $WITH_XPCOM -eq 1 ] && check_xalan 1486 1519 [ $WITH_XPCOM -eq 1 ] && check_xerces 1520 [ $WITH_XPCOM -eq 1 ] && check_libxml2 1487 1521 [ $WITH_LIBIDL -eq 1 ] && check_libidl 1488 1522 [ $OSE -eq 0 ] && check_ssl
Note:
See TracChangeset
for help on using the changeset viewer.