VirtualBox

Changeset 39925 in vbox


Ignore:
Timestamp:
Jan 31, 2012 8:44:17 PM (13 years ago)
Author:
vboxsync
Message:

removed obsolete libxslt

Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r39924 r39925  
    24372437# note: no linking to LIB here, we do that explicitly in src/VBox/Runtime/Makefile.kmk to link
    24382438# libxml against VBoxRT
    2439 
    2440 SDK_VBOX_LIBXSLT          = .
    2441 #if1of ($(KBUILD_TARGET), os2 solaris win)
    2442  SDK_VBOX_LIBXSLT_INCS   ?= $(PATH_ROOT)/src/libs/libxslt-1.1.22
    2443  SDK_VBOX_LIBXSLT_LIBS   ?= $(PATH_STAGE_LIB)/VBox-libxslt$(VBOX_SUFF_LIB)
    2444  SDK_VBOX_LIBXSLT_DEFS   ?=
    2445  SDK_VBOX_LIBXSLT_DEFS.win += WIN32 _WINDOWS _MBCS _REENTRANT
    2446 #else if1of ($(KBUILD_TARGET), linux)
    2447 # SDK_VBOX_LIBXSLT_INCS      ?=
    2448 # SDK_VBOX_LIBXSLT_LIBS      ?=
    2449 # SDK_VBOX_LIBXSLT_CFLAGS    ?= $(shell pkg-config libxslt-1.0 --cflags)
    2450 # SDK_VBOX_LIBXSLT_CXXFLAGS  ?= $(SDK_VBOX_LIBXSLT_CFLAGS)
    2451 # SDK_VBOX_LIBXSLT_LDFLAGS   ?= $(shell pkg-config libxslt-1.0 --libs)
    2452 #else
    2453 # SDK_VBOX_LIBXSLT_INCS   ?=
    2454 # SDK_VBOX_LIBXSLT_LIBS   ?= xslt
    2455 #endif
    24562439
    24572440SDK_VBOX_LIBPNG       = .
  • trunk/configure

    r39547 r39925  
    717717
    718718#
    719 # Check for libxslt, needed by VBoxSettings. For now we depend on 1.1.15,
    720 # as Solaris right now has no newer version and it definitely works.
    721 # 1.1.17 is available on Ubuntu Edgy which fulfils the minimal libxml2
    722 # requirement (2.6.26).
    723 #
    724 check_libxslt()
    725 {
    726   if [ -z "$BUILD_LIBXSLT" ]; then
    727     test_header libxslt
    728     if which_wrapper pkg-config > /dev/null; then
    729       libxslt_ver=`pkg-config libxslt --modversion 2>> $LOG`
    730       if [ $? -ne 0 ]; then
    731         log_failure "libxslt not found"
    732         fail
    733       else
    734         FLGXSLT=`pkg-config libxslt --cflags`
    735         INCXSLT=`strip_I "$FLGXSLT"`
    736         LIBXSLT=`pkg-config libxslt --libs`
    737         cat > $ODIR.tmp_src.cc << EOF
    738 #include <cstdio>
    739 #include <libxslt/xsltconfig.h>
    740 extern "C" int main(void)
    741 {
    742   printf("found version %s", LIBXSLT_DOTTED_VERSION);
    743 #if LIBXSLT_VERSION >= 10117
    744   printf(", OK.\n");
    745   return 0;
    746 #else
    747   printf(", expected version 1.1.17 or higher\n");
    748   return 1;
    749 #endif
    750 }
    751 EOF
    752         [ -n "$INCXSLT" ] && I_INCXSLT=`prefix_I "$INCXSLT"`
    753         if test_compile "$LIBXSLT $LIBPTHREAD $I_INCXSLT" xslt xslt; then
    754           if test_execute; then
    755             cnf_append "SDK_VBOX_LIBXSLT_INCS" "$INCXSLT"
    756             cnf_append "SDK_VBOX_LIBXSLT_LIBS" "`strip_l "$LIBXSLT"`"
    757           fi
    758         fi
    759       fi
    760     elif which_wrapper xslt-config; then
    761       libxslt_ver=`xslt-config --version`
    762       if [ $? -ne 0 ]; then
    763         log_failure "xslt-config not working"
    764         fail
    765       else
    766         log_success "found version $libxslt_ver"
    767         FLGXSLT=`xslt-config --cflags`
    768         INCXSLT=`strip_I "$FLGXSLT"`
    769         LIBXSLT=`xslt-config --libs`
    770         cat > $ODIR.tmp_src.cc << EOF
    771 #include <cstdio>
    772 #include <libxslt/xsltconfig.h>
    773 extern "C" int main(void)
    774 {
    775   printf("found version %s", LIBXSLT_DOTTED_VERSION);
    776 #if LIBXSLT_VERSION >= 10117
    777   printf(", OK.\n");
    778   return 0;
    779 #else
    780   printf(", expected version 1.1.17 or higher\n");
    781   return 1;
    782 #endif
    783 }
    784 EOF
    785         [ -n "$INCXSLT" ] && I_INCXSLT=`prefix_I "$INCXSLT"`
    786         if test_compile "$LIBXSLT $LIBPTHREAD $I_INCXSLT" xslt xslt; then
    787           if test_execute; then
    788             cnf_append "SDK_VBOX_LIBXSLT_INCS" "$INCXSLT"
    789             cnf_append "SDK_VBOX_LIBXSLT_LIBS" "`strip_l "$LIBXSLT"`"
    790           fi
    791         fi
    792       fi
    793     else
    794       log_failure "neither pkg-config nor xslt-config found"
    795       fail
    796     fi
    797   fi
    798 }
    799 
    800 
    801 #
    802719# Check for libIDL, needed by xpcom
    803720#
     
    21882105  --disable-hardening      don't be strict about /dev/vboxdrv access
    21892106  --build-libxml2          build libxml2 from sources
    2190   --build-libxslt          build libxslt from sources
    21912107EOF
    21922108[ $OSE -eq 0 ] && cat << EOF
     
    23782294    --build-libxml2)
    23792295      BUILD_LIBXML2=1
    2380       ;;
    2381     --build-libxslt)
    2382       BUILD_LIBXSLT=1
    23832296      ;;
    23842297    --build-libssl)
     
    25522465[ "$OS" != "darwin"  ] && check_pthread
    25532466check_libxml2
    2554 [ $WITH_XPCOM  -eq 1 ] && check_libxslt
    25552467[ $WITH_LIBIDL -eq 1 ] && check_libidl
    25562468check_ssl
  • trunk/src/libs/Makefile.kmk

    r39924 r39925  
    6969 endif
    7070
    71  ifeq ($(SDK_VBOX_LIBXSLT_INCS),$(PATH_ROOT)/src/libs/libxslt-1.1.22)
    72   include $(PATH_SUB_CURRENT)/libxslt-1.1.22/Makefile.kmk
    73  endif
    74 
    7571 # FFmpeg for test videos.
    7672 if defined(VBOX_WITH_FFMPEG) && !defined(VBOX_OSE) && !defined(VBOX_ONLY_DOCS) && !defined(VBOX_WITH_SDK)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette