Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 35091 | Differences between
and this patch

Collapse All | Expand All

(-)configure.orig (-2 / +3 lines)
Lines 3808-3814 Link Here
3808
  cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-sys'
3808
  cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-sys'
3809
  cat > $TMPC << EOF
3809
  cat > $TMPC << EOF
3810
#include <alsa/asoundlib.h>
3810
#include <alsa/asoundlib.h>
3811
int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }
3811
int main(void) { return (!( (SND_LIB_MAJOR==0 && SND_LIB_MINOR==9) ||
3812
                            (SND_LIB_MAJOR==1 && SND_LIB_MINOR==0) )); }
3812
EOF
3813
EOF
3813
  cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-alsa'
3814
  cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-alsa'
3814
fi
3815
fi
Lines 3834-3840 Link Here
3834
    _aomodules="alsa9 $_aomodules"
3835
    _aomodules="alsa9 $_aomodules"
3835
    _def_alsa9='#define HAVE_ALSA9 1'
3836
    _def_alsa9='#define HAVE_ALSA9 1'
3836
    _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1'
3837
    _def_alsa_asoundlib_h='#define HAVE_ALSA_ASOUNDLIB_H 1'
3837
    echores "yes (using alsa 0.9.x and alsa/asoundlib.h)"
3838
    echores "yes (using alsa 0.9.x or 1.0.x and alsa/asoundlib.h)"
3838
  fi
3839
  fi
3839
  _ld_alsa="-lasound $_ld_dl $_ld_pthread"
3840
  _ld_alsa="-lasound $_ld_dl $_ld_pthread"
3840
else
3841
else

Return to bug 35091