summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFelix Geyer <debfx-pkg@fobos.de>2010-05-08 14:05:01 +0200
committerFelix Geyer <debfx-pkg@fobos.de>2010-05-08 14:05:01 +0200
commit33961db1e2718be932cefe0b32aae173ae760cea (patch)
tree800f8bf4b1d5e4b9505a30270f0c170342abb43d /configure
parent4749e3a0c5d3a159d3ae751e6780b537c860923a (diff)
downloadvirtualbox-33961db1e2718be932cefe0b32aae173ae760cea.tar.gz
Imported Upstream version 3.1.52-dfsgupstream/3.1.52-dfsg
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure40
1 files changed, 6 insertions, 34 deletions
diff --git a/configure b/configure
index 59f4e4c00..aabf148c3 100755
--- a/configure
+++ b/configure
@@ -87,7 +87,6 @@ WITH_KMODS=1
WITH_OPENGL=1
WITH_HARDENING=1
WITH_VDE=0
-WITH_FAM=1
BUILD_LIBXML2=
BUILD_LIBXSLT=
BUILD_LIBCURL=
@@ -1041,28 +1040,6 @@ EOF
#
-# Check for fam, needed by Main/HostHardwareLinux
-#
-check_fam()
-{
- test_header fam
- cat > $ODIR.tmp_src.cc << EOF
-#include <fam.h>
-extern "C" int main(void)
-{
- FAMConnection conn;
- FAMOpen(&conn);
- FAMClose(&conn);
- return 1;
-}
-EOF
- if test_compile "-lfam" fam fam; then
- echo "found."
- fi
-}
-
-
-#
# Check for the SDL library, needed by VBoxSDL and VirtualBox
# We depend at least on version 1.2.7
#
@@ -2082,9 +2059,8 @@ EOF
[ $WITH_ALSA -eq 1 ] && echo " --disable-alsa disable the ALSA sound backend"
[ $WITH_PULSE -eq 1 ] && echo " --disable-pulse disable the PulseAudio backend"
[ $WITH_DBUS -eq 1 ] && echo " --disable-dbus don't use DBus and hal for hardware detection"
-[ $OSE -eq 0 -a $WITH_FAM -eq 1 ] && echo " --disable-fam don't use FAM for USB polling"
[ $WITH_KMODS -eq 1 ] && echo " --disable-kmods don't build Linux kernel modules (host and guest)"
-[ $WITH_OPENGL -eq 1 ] && echo " --disable-opengl disable OpenGL support"
+[ $WITH_OPENGL -eq 1 ] && echo " --disable-opengl disable OpenGL support (2D & 3D)"
[ $WITH_GSOAP -eq 0 ] && echo " --enable-webservice enable the webservice stuff"
[ "$OS" = "linux" -o "$OS" = "freebsd" ] && echo " --enable-vde enable VDE networking"
cat << EOF
@@ -2238,9 +2214,6 @@ for option in $*; do
--disable-dbus)
[ $WITH_DBUS -eq 1 ] && WITH_DBUS=0
;;
- --disable-fam)
- [ $WITH_FAM -eq 1 ] && WITH_FAM=0
- ;;
--disable-kmods)
[ $WITH_KMODS -eq 1 ] && WITH_KMODS=0
;;
@@ -2410,7 +2383,11 @@ if [ -n "$HEADLESS" ]; then
fi
# emit disable directives corresponding to any --disable-xxx options.
-[ $WITH_OPENGL -eq 0 ] && cnf_append "VBOX_WITH_CROGL" ""
+if [ $WITH_OPENGL -eq 0 ]; then
+ cnf_append "VBOX_WITH_CROGL" ""
+ cnf_append "VBOX_WITH_VIDEOHWACCEL" ""
+ cnf_append "VBOX_GUI_USE_QGL" ""
+fi
[ $WITH_XPCOM -eq 0 ] && cnf_append "VBOX_WITH_MAIN" ""
[ $WITH_QT4 -eq 0 ] && cnf_append "VBOX_WITH_QTGUI" ""
[ $WITH_SDL_TTF -eq 0 ] && cnf_append "VBOX_WITH_SECURELABEL" ""
@@ -2443,11 +2420,6 @@ check_curl
[ "$OS" != "darwin" ] && check_z
[ "$OS" != "darwin" -a "$OS" != "freebsd" ] && check_png
[ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam
-if [ $WITH_FAM -eq 1 ]; then
- [ $OSE -eq 0 -a "$OS" = "linux" ] && check_fam
-else
- cnf_append "VBOX_USB_WITH_FAM" ""
-fi
[ $WITH_SDL -eq 1 ] && check_sdl
[ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf
[ $WITH_X11 -eq 1 ] && check_x