Detect pulseaudio version from the system, don't assume it's always the same as the droid module's one
This commit is contained in:
parent
2bd9ba3f7e
commit
d991352f66
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ AC_PROG_CC_C99
|
|||
AM_PROG_CC_C_O
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
|
||||
m4_define(pa_major, `echo $VERSION | cut -d. -f1 | cut -d- -f1`)
|
||||
m4_define(pa_minor, `echo $VERSION | cut -d. -f2 | cut -d- -f1`)
|
||||
m4_define(pa_major, `pkg-config --modversion libpulse | cut -d. -f1 | cut -d- -f1`)
|
||||
m4_define(pa_minor, `pkg-config --modversion libpulse | cut -d. -f2 | cut -d- -f1`)
|
||||
m4_define(pa_module_version, `echo $VERSION | cut -d. -f3 | cut -d- -f1`)
|
||||
|
||||
AC_SUBST(PA_MAJOR, pa_major)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue