VirtualBox

Changeset 16139 in vbox


Ignore:
Timestamp:
Jan 21, 2009 2:02:11 PM (16 years ago)
Author:
vboxsync
Message:

configure: simple gsoap detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r16026 r16139  
    5656WITH_PYTHON=1
    5757WITH_LIBIDL=1
     58WITH_GSOAP=1
    5859WITH_QT3=1
    5960WITH_QT4=1
     
    8485LIBPTHREAD="-lpthread"
    8586LIBCAP="-lcap"
     87GSOAP=""
    8688LIBX11="-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11"
    8789INCX11="/usr/local/include"
     
    16931695}
    16941696
     1697#
     1698#
     1699#
     1700check_gsoap()
     1701{
     1702  test_header "GSOAP compiler"
     1703  if [ -z "$GSOAP" ]; then
     1704    GSOAP="/usr/bin"
     1705  fi
     1706  if which_wrapper "$GSOAP/soapcpp2" > /dev/null; then
     1707    if which_wrapper "$GSOAP/wsdl2h" > /dev/null; then
     1708      cnf_append "VBOX_GSOAP_INSTALLED" "1"
     1709      cnf_append "VBOX_PATH_GSOAP"      "$GSOAP"
     1710      log_success "found"
     1711    else
     1712      log_failure "wsdl2h not found -- disabling webservice"
     1713    fi
     1714  else
     1715    log_failure "soapcpp2 not found -- disabling webservice"
     1716  fi
     1717}
     1718
    16951719
    16961720#
     
    17591783  --disable-kmods          don't build Linux kernel modules (host and guest)
    17601784  --disable-hardening      don't be strict about /dev/vboxdrv access
     1785  --disable-webservice     don't build the webservice stuff
    17611786  --build-libxml2          build libxml2 from sources
    17621787  --build-libxslt          build libxslt from sources
     
    17721797  --with-qt-dir=DIR        directory for Qt3 headers/libraries [$QT3DIR]
    17731798  --with-qt4-dir=DIR       directory for Qt4 headers/libraries [pkgconfig]
     1799  --with-gsoap-dir=PATH    directory for SOAP compiler (soapcpp2 and wsdl2h)
    17741800
    17751801Build type:
     
    18181844      QT4DIR_PKGCONFIG=0
    18191845      ;;
     1846    --with-gsoap-dir=*)
     1847      GSOAP=`echo $option | cut -d'=' -f2`
     1848      ;;
    18201849    --with-iasl=*)
    18211850      IASL=`echo $option | cut -d'=' -f2`
     
    18631892    --enable-hardening)
    18641893      WITH_HARDENING=2
     1894      ;;
     1895    --disable-webservice)
     1896      WITH_GSOAP=0
    18651897      ;;
    18661898    --build-debug|-d)
     
    20652097
    20662098[ -n "$SETUP_WINE" ] && setup_wine
     2099
     2100[ $WITH_GSOAP -eq 1 ] && check_gsoap
    20672101
    20682102# Darwin-specific
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