Changeset 01a2012273969a06c1e1cb23031e790aabad0bda
- Timestamp:
- 08/02/08 18:44:09
(8 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1202492649 +0000
- git-parent:
[354034bd4b05f8fe64dd857eef09119472110fa1]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1202492649 +0000
- Message:
Check for ALSA
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re4f4413 |
r01a2012 |
|
| 370 | 370 | set(HAVE_DL_DLOPEN ${Dlopen_FOUND}) |
|---|
| 371 | 371 | |
|---|
| | 372 | # Advanced Linux Sound Architecture (ALSA) |
|---|
| | 373 | pkg_check_modules(ALSA alsa>=1.0.0-rc4) |
|---|
| | 374 | if (${ALSA_FOUND}) |
|---|
| | 375 | set (HAVE_ALSA_NEW_API "1") |
|---|
| | 376 | else (${ALSA_FOUND}) |
|---|
| | 377 | pkg_check_modules(ALSA alsa) |
|---|
| | 378 | endif (${ALSA_FOUND}) |
|---|
| | 379 | |
|---|
| | 380 | if (${ALSA_FOUND}) |
|---|
| | 381 | set (HAVE_ALSA "1") |
|---|
| | 382 | vlc_enable_modules(alsa) |
|---|
| | 383 | vlc_add_module_compile_flag(alsa ${ALSA_CFLAGS}) |
|---|
| | 384 | vlc_module_add_link_libraries(alsa ${ALSA_LIBRARIES}) |
|---|
| | 385 | endif (${ALSA_FOUND}) |
|---|
| | 386 | |
|---|
| | 387 | # Open Sound System (OSS) |
|---|
| | 388 | # TODO |
|---|
| | 389 | |
|---|
| 372 | 390 | find_package(FFmpeg) |
|---|
| 373 | 391 | if(FFmpeg_FOUND) |
|---|