Changeset 14989 in vbox for trunk/configure
- Timestamp:
- Dec 4, 2008 2:42:43 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r14926 r14989 63 63 WITH_ALSA=1 64 64 WITH_PULSE=1 65 WITH_ LIBHAL=165 WITH_DBUS=1 66 66 WITH_KMODS=1 67 67 WITH_HARDENING=1 … … 93 93 PKGCONFIG="`which_wrapper pkg-config`" 94 94 if [ -n $PKGCONFIG ]; then 95 FLAGS HAL="`$PKGCONFIG hal--cflags 2>/dev/null`"96 LIBDIR HAL="`$PKGCONFIG hal--libs-only-L 2>/dev/null`"97 LIB HAL="`$PKGCONFIG hal--libs-only-l 2>/dev/null`"95 FLAGSDBUS="`$PKGCONFIG dbus-1 --cflags 2>/dev/null`" 96 LIBDIRDBUS="`$PKGCONFIG dbus-1 --libs-only-L 2>/dev/null`" 97 LIBDBUS="`$PKGCONFIG dbus-1 --libs-only-l 2>/dev/null`" 98 98 fi 99 99 PYTHONDIR="/usr /usr/local" … … 1165 1165 1166 1166 # 1167 # Check for libhal1168 # 1169 check_ libhal()1170 { 1171 test_header " libhal"1167 # Check for DBus 1168 # 1169 check_dbus() 1170 { 1171 test_header "DBus" 1172 1172 cat > .tmp_src.cc << EOF 1173 #include < libhal.h>1173 #include <dbus/dbus.h> 1174 1174 extern "C" int main(void) 1175 1175 { … … 1177 1177 } 1178 1178 EOF 1179 if [ -n $PKGCONFIG ] && test_compile "$FLAGS HAL $LIBDIRHAL $LIBHAL" libhal libhal; then1179 if [ -n $PKGCONFIG ] && test_compile "$FLAGSDBUS $LIBDIRDBUS $LIBDBUS" DBus DBus; then 1180 1180 log_success "found" 1181 1181 fi … … 1786 1786 --disable-alsa disable the ALSA sound backend 1787 1787 --disable-pulse disable the PulseAudio backend 1788 --disable- libhal don't usehal for hardware detection1788 --disable-dbus don't use DBus and hal for hardware detection 1789 1789 --disable-kmods don't build Linux kernel modules (host and guest) 1790 1790 --disable-hardening don't be strict about /dev/vboxdrv access … … 1886 1886 WITH_PULSE=0 1887 1887 ;; 1888 --disable- libhal)1889 WITH_ LIBHAL=01888 --disable-dbus) 1889 WITH_DBUS=0 1890 1890 ;; 1891 1891 --disable-kmods) … … 2085 2085 cnf_append "VBOX_WITH_PULSE" "" 2086 2086 fi 2087 if [ $WITH_ LIBHAL-eq 1 ]; then2088 check_ libhal2087 if [ $WITH_DBUS -eq 1 ]; then 2088 check_dbus 2089 2089 else 2090 cnf_append "VBOX_WITH_ LIBHAL" ""2090 cnf_append "VBOX_WITH_DBUS" "" 2091 2091 fi 2092 2092 check_compiler_h
Note:
See TracChangeset
for help on using the changeset viewer.