Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
aeb78cba
Commit
aeb78cba
authored
Jan 12, 2011
by
Austin English
Committed by
Alexandre Julliard
Jan 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check for snd_pcm_hw_params_get_access_mask() when checking for ALSA.
parent
35f3db4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
configure
configure
+11
-11
configure.ac
configure.ac
+2
-2
No files found.
configure
View file @
aeb78cba
...
...
@@ -10879,9 +10879,9 @@ ALSALIBS=""
if
test
"
$ac_cv_header_sys_asoundlib_h
"
=
"yes"
-o
"
$ac_cv_header_alsa_asoundlib_h
"
=
"yes"
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for snd_pcm_hw_params_get_access in -lasound"
>
&5
$as_echo_n
"checking for snd_pcm_hw_params_get_access in -lasound... "
>
&6
;
}
if
test
"
${
ac_cv_lib_asound_snd_pcm_hw_params_get_access
+set
}
"
=
set
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for snd_pcm_hw_params_get_access
_mask
in -lasound"
>
&5
$as_echo_n
"checking for snd_pcm_hw_params_get_access
_mask
in -lasound... "
>
&6
;
}
if
test
"
${
ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
...
...
@@ -10895,27 +10895,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
char snd_pcm_hw_params_get_access ();
char snd_pcm_hw_params_get_access
_mask
();
int
main ()
{
return snd_pcm_hw_params_get_access ();
return snd_pcm_hw_params_get_access
_mask
();
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_asound_snd_pcm_hw_params_get_access
=
yes
ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
=
yes
else
ac_cv_lib_asound_snd_pcm_hw_params_get_access
=
no
ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
"
>
&5
$as_echo
"
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
"
>
&6
;
}
if
test
"x
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
"
=
x
""
yes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
"
>
&5
$as_echo
"
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
"
>
&6
;
}
if
test
"x
$ac_cv_lib_asound_snd_pcm_hw_params_get_access
_mask
"
=
x
""
yes
;
then
:
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#ifdef HAVE_ALSA_ASOUNDLIB_H
...
...
@@ -10926,7 +10926,7 @@ if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
int
main ()
{
int ret = snd_pcm_hw_params_get_access(NULL, NULL)
int ret = snd_pcm_hw_params_get_access
_mask
(NULL, NULL)
;
return 0;
}
...
...
configure.ac
View file @
aeb78cba
...
...
@@ -1479,12 +1479,12 @@ dnl **** Check for ALSA 1.x ****
AC_SUBST(ALSALIBS,"")
if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
then
AC_CHECK_LIB(asound,snd_pcm_hw_params_get_access,
AC_CHECK_LIB(asound,snd_pcm_hw_params_get_access
_mask
,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_ALSA_ASOUNDLIB_H
#include <alsa/asoundlib.h>
#elif defined(HAVE_SYS_ASOUNDLIB_H)
#include <sys/asoundlib.h>
#endif]], [[int ret = snd_pcm_hw_params_get_access(NULL, NULL)]])],
#endif]], [[int ret = snd_pcm_hw_params_get_access
_mask
(NULL, NULL)]])],
[AC_DEFINE(HAVE_ALSA,1,[Define if you have ALSA 1.x including devel headers])
ALSALIBS="-lasound"],[])])
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment