VirtualBox

Changeset 16994 in vbox for trunk/configure


Ignore:
Timestamp:
Feb 22, 2009 3:57:56 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43186
Message:

configure: Updated/fixed gSOAP detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r16785 r16994  
    8888LIBCAP="-lcap"
    8989GSOAP=""
     90GSOAP_IMPORT=""
    9091LIBX11="-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11"
    9192INCX11="/usr/local/include"
     
    16261627
    16271628#
    1628 #
     1629# Check for gSOAP.
    16291630#
    16301631check_gsoap()
     
    16321633  test_header "GSOAP compiler"
    16331634  if [ -z "$GSOAP" ]; then
    1634     GSOAP="/usr/bin"
    1635   fi
    1636   if which_wrapper "$GSOAP/soapcpp2" > /dev/null; then
    1637     if which_wrapper "$GSOAP/wsdl2h" > /dev/null; then
    1638       cnf_append "VBOX_GSOAP_INSTALLED" "1"
    1639       cnf_append "VBOX_PATH_GSOAP"      "$GSOAP"
    1640       log_success "found"
     1635    GSOAP="/usr"
     1636  fi
     1637  if which_wrapper "$GSOAP/bin/soapcpp2" > /dev/null; then
     1638    if which_wrapper "$GSOAP/bin/wsdl2h" > /dev/null; then
     1639      if [ -f "$GSOAP/include/stdsoap2.h" ]; then
     1640        # TODO: Check for libgsoap++.a/so
     1641
     1642        if [ -z "$GSOAP_IMPORT" ]; then
     1643          GSOAP_IMPORT="$GSOAP/share/gsoap/import"
     1644          if [ ! -d "$GSOAP_IMPORT"  -a  -d "$GSOAP/include/gsoap" ]; then
     1645            GSOAP_IMPORT="$GSOAP/include/gsoap"
     1646          fi
     1647        fi
     1648        if [ -f "$GSOAP_IMPORT/stlvector.h" ]; then
     1649          cnf_append "VBOX_GSOAP_INSTALLED"   "1"
     1650          cnf_append "VBOX_PATH_GSOAP"        "$GSOAP"
     1651          cnf_append "VBOX_PATH_GSOAP_IMPORT" "$GSOAP_IMPORT"
     1652          cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
     1653          cnf_append "VBOX_GSOAP_CXX_LIBS"    "libgsoap++"
     1654          log_success "found"
     1655        else
     1656          log_failure "stlvector.h not found -- disabling webservice"
     1657          cnf_append "VBOX_WITH_WEBSERVICES" ""
     1658        fi
     1659      else
     1660        log_failure "stdsoap2.h not found -- disabling webservice"
     1661        cnf_append "VBOX_WITH_WEBSERVICES" ""
     1662      fi
    16411663    else
    16421664      log_failure "wsdl2h not found -- disabling webservice"
     
    17281750  --with-mkisofs=PATH      location of mkisofs [$MKISOFS]
    17291751  --with-qt-dir=DIR        directory for Qt4 headers/libraries [pkgconfig]
    1730   --with-gsoap-dir=PATH    directory for SOAP compiler (soapcpp2 and wsdl2h)
     1752  --with-gsoap-dir=PATH    directory for gSOAP compiler/headers/libraries
     1753                           (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)
     1754  --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)
    17311755  --out-path=PATH          the folder to which configuration and build output
    17321756                           should go
     
    17761800    --with-gsoap-dir=*)
    17771801      GSOAP=`echo $option | cut -d'=' -f2`
     1802      ;;
     1803    --with-gsoap-import=*)
     1804      GSOAP_IMPORT=`echo $option | cut -d'=' -f2`
    17781805      ;;
    17791806    --with-iasl=*)
Note: See TracChangeset for help on using the changeset viewer.

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