VirtualBox

Changeset 1025 in vbox


Ignore:
Timestamp:
Feb 22, 2007 1:00:30 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18882
Message:

configure: tighten ALSA dependency to 1.0.6 as found on rhel4; added qt path of rhel4; --disable-xpcom now only disables xerces and xalan (old behavior for darwin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r994 r1025  
    2323
    2424#
    25 # Default positions
     25# Defaults
    2626#
    2727OSE=1
    28 XPCOM=1
     28WITH_XPCOM=1
     29WITH_LIBIDL=1
     30WITH_QT=1
    2931CC="gcc"
    3032CXX="g++"
     
    5254INCPNG=""
    5355LIBPNG="-lpng"
    54 QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/share/qt3"
     56QTDIR="/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3"
    5557KBUILDDIR="`cd $(dirname $0); pwd`/kBuild"
    5658DEVDIR="`cd $(dirname $0); pwd`/tools"
     
    226228
    227229  # Automatically disable XPCOM on darwin.
    228   if [ "$OS" = "darwin" -a $XPCOM -eq 1 ]; then
    229     XPCOM=0
     230  if [ "$OS" = "darwin" -a $WITH_XPCOM -eq 1 ]; then
     231    WITH_XPCOM=0
     232    WITH_LIBIDL=0
     233    WITH_QT=0
    230234    echo "Disabling checks for XPCOM related components."
    231235  fi
     
    785789  printf("found version %d.%d.%d",
    786790         SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR);
    787 #if 10000*SND_LIB_MAJOR + 100*SND_LIB_MINOR + SND_LIB_SUBMINOR >= 10008
     791#if 10000*SND_LIB_MAJOR + 100*SND_LIB_MINOR + SND_LIB_SUBMINOR >= 10006
    788792  printf(", OK.\n");
    789793  return 0;
    790794#else
    791   printf(", expected version 1.0.8 or higher\n");
     795  printf(", expected version 1.0.6 or higher\n");
    792796  return 1;
    793797#endif
     
    10851089      ;;
    10861090    --disable-xpcom)
    1087       XPCOM=0
     1091      WITH_XPCOM=0
    10881092      ;;
    10891093    --disable-qt)
     
    11861190
    11871191# the libraries
    1188 (($XPCOM==1)) && check_xalan
    1189 (($XPCOM==1)) && check_xerces
    1190 (($XPCOM==1)) && check_libidl
     1192(($WITH_XPCOM==1)) && check_xalan
     1193(($WITH_XPCOM==1)) && check_xerces
     1194(($WITH_LIBIDL==1)) && check_libidl
    11911195[ "$OS" != "darwin" ] && check_uuid
    11921196(($OSE==0)) && check_ssl
     
    12001204[ "$OS" != "darwin" ] && check_x
    12011205[ "$OS" != "darwin" ] && check_xcursor
    1202 (($XPCOM==1)) && check_qt
     1206(($WITH_QT==1)) && check_qt
    12031207
    12041208# Linux-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