common/autoconf/libraries.m4

changeset 961
fd6b64f87155
parent 873
72ef61df77e5
child 980
d6db2aec371e
equal deleted inserted replaced
960:276fbda5cfbe 961:fd6b64f87155
552 if test "x${with_alsa}" = xno || test "x${with_alsa_include}" = xno || test "x${with_alsa_lib}" = xno; then 552 if test "x${with_alsa}" = xno || test "x${with_alsa_include}" = xno || test "x${with_alsa_lib}" = xno; then
553 AC_MSG_ERROR([It is not possible to disable the use of alsa. Remove the --without-alsa option.]) 553 AC_MSG_ERROR([It is not possible to disable the use of alsa. Remove the --without-alsa option.])
554 fi 554 fi
555 555
556 if test "x${with_alsa}" != x; then 556 if test "x${with_alsa}" != x; then
557 ALSA_LIBS="-L${with_alsa}/lib -lalsa" 557 ALSA_LIBS="-L${with_alsa}/lib -lasound"
558 ALSA_CFLAGS="-I${with_alsa}/include" 558 ALSA_CFLAGS="-I${with_alsa}/include"
559 ALSA_FOUND=yes 559 ALSA_FOUND=yes
560 fi 560 fi
561 if test "x${with_alsa_include}" != x; then 561 if test "x${with_alsa_include}" != x; then
562 ALSA_CFLAGS="-I${with_alsa_include}" 562 ALSA_CFLAGS="-I${with_alsa_include}"
563 ALSA_FOUND=yes 563 ALSA_FOUND=yes
564 fi 564 fi
565 if test "x${with_alsa_lib}" != x; then 565 if test "x${with_alsa_lib}" != x; then
566 ALSA_LIBS="-L${with_alsa_lib} -lalsa" 566 ALSA_LIBS="-L${with_alsa_lib} -lasound"
567 ALSA_FOUND=yes 567 ALSA_FOUND=yes
568 fi 568 fi
569 if test "x$ALSA_FOUND" = xno; then 569 if test "x$ALSA_FOUND" = xno; then
570 BDEPS_CHECK_MODULE(ALSA, alsa, xxx, [ALSA_FOUND=yes], [ALSA_FOUND=no]) 570 BDEPS_CHECK_MODULE(ALSA, alsa, xxx, [ALSA_FOUND=yes], [ALSA_FOUND=no])
571 fi 571 fi

mercurial