common/autoconf/lib-alsa.m4
changeset 33393 0f584e7d6ab6
parent 32921 8e0250dfa145
equal deleted inserted replaced
33373:4a0312f2894b 33393:0f584e7d6ab6
    35       [specify directory for the alsa include files])])
    35       [specify directory for the alsa include files])])
    36   AC_ARG_WITH(alsa-lib, [AS_HELP_STRING([--with-alsa-lib],
    36   AC_ARG_WITH(alsa-lib, [AS_HELP_STRING([--with-alsa-lib],
    37       [specify directory for the alsa library])])
    37       [specify directory for the alsa library])])
    38 
    38 
    39   if test "x$NEEDS_LIB_ALSA" = xfalse; then
    39   if test "x$NEEDS_LIB_ALSA" = xfalse; then
    40     if test "x${with_alsa}" != x || test "x${with_alsa_include}" != x || test "x${with_alsa_lib}" != x; then
    40     if (test "x${with_alsa}" != x && test "x${with_alsa}" != xno) || \
    41       AC_MSG_WARN([alsa not used, so --with-alsa is ignored])
    41         (test "x${with_alsa_include}" != x && test "x${with_alsa_include}" != xno) || \
       
    42         (test "x${with_alsa_lib}" != x && test "x${with_alsa_lib}" != xno); then
       
    43       AC_MSG_WARN([[alsa not used, so --with-alsa[-*] is ignored]])
    42     fi
    44     fi
    43     ALSA_CFLAGS=
    45     ALSA_CFLAGS=
    44     ALSA_LIBS=
    46     ALSA_LIBS=
    45   else
    47   else
    46     ALSA_FOUND=no
    48     ALSA_FOUND=no