VirtualBox

Changeset 40494 in vbox for trunk


Ignore:
Timestamp:
Mar 16, 2012 9:09:30 AM (13 years ago)
Author:
vboxsync
Message:

configure: improved check for GSOAP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r40477 r40494  
    19381938{
    19391939  test_header "GSOAP compiler"
     1940  if [ -z "$GSOAP" -a -z "$GSOAP_IMPORT" ]; then
     1941    if which_wrapper pkg-config > /dev/null; then
     1942      GSOAP_CXX_LIBS=`pkg-config gsoapssl++ --libs 2>> $LOG`
     1943      if [ $? -eq 0 ]; then
     1944        GSOAP=`pkg-config gsoapssl++ --variable=exec_prefix`
     1945        GSOAP_IMPORT="$GSOAP/share/gsoap/import"
     1946        if [ ! -d "$GSOAP_IMPORT"  -a  -d "$GSOAP/include/gsoap" ]; then
     1947          GSOAP_IMPORT="$GSOAP/include/gsoap"
     1948        fi
     1949        cnf_append "VBOX_GSOAP_INSTALLED"   "1"
     1950        cnf_append "VBOX_PATH_GSOAP"        "$GSOAP"
     1951        cnf_append "VBOX_PATH_GSOAP_IMPORT" "$GSOAP_IMPORT"
     1952        if [ -f "$GSOAP/share/gsoap/stdsoap2.cpp" ]; then
     1953          cnf_append "VBOX_GSOAP_CXX_SOURCES" "$GSOAP/share/gsoap/stdsoap2.cpp"
     1954        else
     1955          cnf_append "VBOX_GSOAP_CXX_SOURCES" ""
     1956        fi
     1957        cnf_append "VBOX_GSOAP_CXX_LIBS"    "$GSOAP_CXX_LIBS"
     1958        gsoap_version=`pkg-config gsoapssl++ --modversion`
     1959        log_success "found version $gsoap_version"
     1960        return
     1961      fi
     1962    fi
     1963  fi
    19401964  if [ -z "$GSOAP" ]; then
    19411965    GSOAP="/usr"
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