VirtualBox

Changeset 22743 in vbox


Ignore:
Timestamp:
Sep 3, 2009 1:01:14 PM (15 years ago)
Author:
vboxsync
Message:

configure: don't use echo -e (not compatible to every shell on Linux); fixed WITH_GSOAP logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r22739 r22743  
    152152if [ "$OS" = "darwin" ]; then
    153153  ECHO_N="/bin/echo -n"
    154   ECHO_E="echo"
    155154else
    156155  ECHO_N="echo -n"
    157   ECHO_E="echo -e"
    158156fi
    159157
     
    19301928  --nofatal                don't abort on errors
    19311929EOF
    1932 [ $WITH_XPCOM   -eq 1 ] && $ECHO_E "  --disable-xpcom          disable XPCOM and related stuff"
    1933 [ $WITH_PYTHON  -eq 1 ] && $ECHO_E "  --disable-python         disable python bindings"
    1934 [ $WITH_SDL_TTF -eq 1 ] && $ECHO_E "  --disable-sdl-ttf        disable SDL_ttf detection"
    1935 [ $WITH_ALSA    -eq 1 ] && $ECHO_E "  --disable-alsa           disable the ALSA sound backend"
    1936 [ $WITH_PULSE   -eq 1 ] && $ECHO_E "  --disable-pulse          disable the PulseAudio backend"
    1937 [ $WITH_DBUS    -eq 1 ] && $ECHO_E "  --disable-dbus           don't use DBus and hal for hardware detection"
    1938 [ $WITH_KMODS   -eq 1 ] && $ECHO_E "  --disable-kmods          don't build Linux kernel modules (host and guest)"
    1939 [ $WITH_OPENGL  -eq 1 ] && $ECHO_E "  --disable-opengl         disable OpenGL support"
    1940 [ $WITH_GSOAP   -eq 1 ] && $ECHO_E "  --enable-webservice      enable the webservice stuff"
     1930[ $WITH_XPCOM   -eq 1 ] && echo "  --disable-xpcom          disable XPCOM and related stuff"
     1931[ $WITH_PYTHON  -eq 1 ] && echo "  --disable-python         disable python bindings"
     1932[ $WITH_SDL_TTF -eq 1 ] && echo "  --disable-sdl-ttf        disable SDL_ttf detection"
     1933[ $WITH_ALSA    -eq 1 ] && echo "  --disable-alsa           disable the ALSA sound backend"
     1934[ $WITH_PULSE   -eq 1 ] && echo "  --disable-pulse          disable the PulseAudio backend"
     1935[ $WITH_DBUS    -eq 1 ] && echo "  --disable-dbus           don't use DBus and hal for hardware detection"
     1936[ $WITH_KMODS   -eq 1 ] && echo "  --disable-kmods          don't build Linux kernel modules (host and guest)"
     1937[ $WITH_OPENGL  -eq 1 ] && echo "  --disable-opengl         disable OpenGL support"
     1938[ $WITH_GSOAP   -eq 0 ] && echo "  --enable-webservice      enable the webservice stuff"
    19411939cat << EOF
    19421940  --disable-hardening      don't be strict about /dev/vboxdrv access
     
    19531951  --with-mkisofs=PATH      location of mkisofs [$MKISOFS]
    19541952EOF
    1955 [ "$OS"    = "linux" ] && $ECHO_E "  --with-linux=DIR         Linux kernel source directory [$LINUX]"
    1956 [ $WITH_QT4    -eq 1 ] && $ECHO_E "  --with-qt-dir=DIR        directory for Qt4 headers/libraries [pkgconfig]"
    1957 [ $WITH_GSOAP  -eq 1 ] && $ECHO_E "  --with-gsoap-dir=PATH    directory for gSOAP compiler/headers/libraries" \
    1958                                   "\n                           (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)" \
    1959                                   "\n  --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)"
     1953[ "$OS"    = "linux" ] && echo "  --with-linux=DIR         Linux kernel source directory [$LINUX]"
     1954[ $WITH_QT4    -eq 1 ] && echo "  --with-qt-dir=DIR        directory for Qt4 headers/libraries [pkgconfig]"
     1955[ $WITH_GSOAP  -eq 1 ] && echo "  --with-gsoap-dir=PATH    directory for gSOAP compiler/headers/libraries"
     1956[ $WITH_GSOAP  -eq 1 ] && echo "                           (soapcpp2 and wsdl2h, soapstd2.h, libgsoap++.a/so)"
     1957[ $WITH_GSOAP  -eq 1 ] && echo "  --with-gsoap-import=PATH directory for gSOAP import files (stlvector.h)"
    19601958cat << EOF
    19611959  --out-path=PATH          the folder to which configuration and build output
     
    20772075      ;;
    20782076    --enable-webservice)
    2079       [ $WITH_GSOAP -eq 1 ] && WITH_GSOAP=0
     2077      [ $WITH_GSOAP -eq 0 ] && WITH_GSOAP=1
    20802078      ;;
    20812079    --disable-hardening)
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