configure.in
changeset 948 ac488ad4ef1d
parent 939 c7c04f811994
child 955 d74fbf56f2f6
     1.1 --- a/configure.in	Sat Aug 21 20:35:50 2004 +0000
     1.2 +++ b/configure.in	Tue Aug 24 06:32:50 2004 +0000
     1.3 @@ -282,8 +282,7 @@
     1.4  [  --enable-alsa           support the ALSA audio API [default=yes]],
     1.5                    , enable_alsa=yes)
     1.6      if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
     1.7 -        have_alsa=no
     1.8 -        AM_PATH_ALSA(0.9.0, have_alsa=yes)
     1.9 +        AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
    1.10          if test x$have_alsa = xyes; then
    1.11              AC_ARG_ENABLE(alsa-shared,
    1.12  [  --enable-alsa-shared     dynamically load ALSA audio support [default=yes]],
    1.13 @@ -364,9 +363,8 @@
    1.14  [  --enable-esd            support the Enlightened Sound Daemon [default=yes]],
    1.15                    , enable_esd=yes)
    1.16      if test x$enable_audio = xyes -a x$enable_esd = xyes; then
    1.17 -        use_esd=no
    1.18 -        AM_PATH_ESD(0.2.8, use_esd=yes)
    1.19 -        if test x$use_esd = xyes; then
    1.20 +        AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
    1.21 +        if test x$have_esd = xyes; then
    1.22              AC_ARG_ENABLE(esd-shared,
    1.23  [  --enable-esd-shared     dynamically load ESD audio support [default=yes]],
    1.24                            , enable_esd_shared=yes)