Changeset 6101 in vbox for trunk/configure
- Timestamp:
- Dec 17, 2007 11:07:52 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r6098 r6101 38 38 WITH_SDL_TTF=1 39 39 WITH_X11=1 40 WITH_PULSE=1 40 41 CC="gcc" 41 42 CC32="" … … 989 990 test_header ALSA 990 991 cat > .tmp_src.cc << EOF 992 #include <cstdio> 991 993 #include <alsa/asoundlib.h> 992 994 extern "C" int main(void) … … 1004 1006 EOF 1005 1007 if test_compile "-lasound" asound asound; then 1008 test_execute 1009 fi 1010 } 1011 1012 # 1013 # Check for PulseAudio 1014 # 1015 check_pulse() 1016 { 1017 test_header "PulseAudio" 1018 cat > .tmp_src.cc << EOF 1019 #include <cstdio> 1020 #include <pulse/version.h> 1021 extern "C" int main(void) 1022 { 1023 printf("found version %s API version %d", pa_get_headers_version(), PA_API_VERSION); 1024 #if PA_API_VERSION >= 9 1025 printf(", OK.\n"); 1026 return 0; 1027 #else 1028 printf(", expected version 0.9.0 (API version 9) or higher\n"); 1029 return 1; 1030 #endif 1031 } 1032 EOF 1033 if test_compile "-lpulse" pulse pulse; then 1006 1034 test_execute 1007 1035 fi … … 1345 1373 --disable-xpcom disable XPCOM and related stuff 1346 1374 --disable-sdl-ttf disable SDL_ttf detection 1375 --disable-pulse disable PulseAudio detection 1347 1376 --build-xalan build xalan & xerces from sources (not OSE!) 1348 1377 --build-libxml2 build libxml2 from sources (not OSE!) … … 1436 1465 --disable-qt) 1437 1466 WITH_QT=0 1467 ;; 1468 --disable-pulse) 1469 WITH_PULSE=0 1438 1470 ;; 1439 1471 --build-debug|-d) … … 1587 1619 check_linux 1588 1620 check_alsa 1621 if [ $WITH_PULSE -eq 1 ]; then 1622 check_pulse 1623 else 1624 cnf_append "VBOX_WITH_PULSE" "" 1625 fi 1589 1626 check_compiler_h 1590 1627 [ "$BUILD_MACHINE" = "amd64" ] && check_32bit
Note:
See TracChangeset
for help on using the changeset viewer.