Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
be78f79e
Commit
be78f79e
authored
Nov 18, 2015
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Clean up the winmm module checks.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0be9f0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
configure
configure
+7
-8
configure.ac
configure.ac
+7
-9
No files found.
configure
View file @
be78f79e
...
...
@@ -8087,6 +8087,7 @@ done
COREAUDIO_LIBS
=
"-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
fi
enable_winecoreaudio_drv
=
${
enable_winecoreaudio_drv
:-
yes
}
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$COREAUDIO_LIBS
"
for
ac_func
in
AUGraphAddNode
...
...
@@ -8747,8 +8748,10 @@ $as_echo "$ac_cv_c_dll_unixware" >&6; }
;;
esac
enable_winecoreaudio_drv
=
${
enable_winecoreaudio_drv
:-
no
}
enable_wineqtdecoder
=
${
enable_wineqtdecoder
:-
no
}
enable_winemac_drv
=
${
enable_winemac_drv
:-
no
}
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
-o
"
$ac_cv_header_IOKit_hid_IOHIDLib_h
"
=
"yes"
||
enable_winejoystick_drv
=
${
enable_winejoystick_drv
:-
no
}
CROSSTARGET
=
""
...
...
@@ -12582,6 +12585,7 @@ if test -z "$PULSE_LIBS"; then :
This is an error since --with-pulse was requested."
"
$LINENO
"
5
;;
esac
fi
test
-n
"
$PULSE_LIBS
"
||
enable_winepulse_drv
=
${
enable_winepulse_drv
:-
no
}
if
test
"x
$with_gstreamer
"
!=
"xno"
then
...
...
@@ -12801,6 +12805,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
test
-n
"
$ALSA_LIBS
"
||
enable_winealsa_drv
=
${
enable_winealsa_drv
:-
no
}
if
test
"x
$with_oss
"
!=
xno
then
...
...
@@ -12834,6 +12839,7 @@ fi
as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
fi
fi
test
"x
$ac_cv_member_oss_sysinfo_numaudioengines
"
=
xyes
||
enable_wineoss_drv
=
${
enable_wineoss_drv
:-
no
}
if
test
"x
$with_capi
"
!=
"xno"
then
...
...
@@ -13927,14 +13933,7 @@ _ACEOF
fi
fi
test
-n
"
$ALSA_LIBS
"
||
enable_winealsa_drv
=
${
enable_winealsa_drv
:-
no
}
test
-n
"
$COREAUDIO_LIBS
"
||
enable_winecoreaudio_drv
=
${
enable_winecoreaudio_drv
:-
no
}
test
-n
"
$PULSE_LIBS
"
||
enable_winepulse_drv
=
${
enable_winepulse_drv
:-
no
}
test
"x
$ac_cv_member_oss_sysinfo_numaudioengines
"
=
xyes
||
enable_wineoss_drv
=
${
enable_wineoss_drv
:-
no
}
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
-o
"
$ac_cv_header_IOKit_hid_IOHIDLib_h
"
=
"yes"
||
enable_winejoystick_drv
=
${
enable_winejoystick_drv
:-
no
}
if
test
"x
$ALSA_LIBS$COREAUDIO_LIBS$PULSE_LIBS
"
=
"x"
-a
\
"x
$ac_cv_member_oss_sysinfo_numaudioengines
"
!=
xyes
-a
\
if
test
"x
$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv
"
=
xnononono
-a
\
"x
$with_alsa$with_coreaudio$with_oss$with_pulse
"
!=
xnononono
then
as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
...
...
configure.ac
View file @
be78f79e
...
...
@@ -765,6 +765,7 @@ case $host_os in
dnl CoreServices needed by AudioUnit
AC_SUBST(COREAUDIO_LIBS,"-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI")
fi
enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
dnl Check for the AUGraphAddNode function
ac_save_LIBS="$LIBS"
LIBS="$LIBS $COREAUDIO_LIBS"
...
...
@@ -932,8 +933,10 @@ case $host_os in
;;
esac
enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
enable_wineqtdecoder=${enable_wineqtdecoder:-no}
enable_winemac_drv=${enable_winemac_drv:-no}
test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
dnl Check for cross compiler to build test programs
AC_SUBST(CROSSTARGET,"")
...
...
@@ -1448,6 +1451,7 @@ then
fi
WINE_NOTICE_WITH(pulse, [test -z "$PULSE_LIBS"],
[libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.])
test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
dnl **** Check for gstreamer ****
if test "x$with_gstreamer" != "xno"
...
...
@@ -1489,6 +1493,7 @@ then
#endif]], [[snd_pcm_hw_params_get_access_mask(NULL, NULL)]])],
[ALSA_LIBS="-lasound"])])
fi
test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
dnl **** Check for OSSv4 ****
if test "x$with_oss" != xno
...
...
@@ -1510,6 +1515,7 @@ then
WINE_NOTICE([OSS sound system found but too old (OSSv4 needed), OSS won't be supported.])
fi
fi
test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
dnl **** Check for capi4linux ****
if test "x$with_capi" != "xno"
...
...
@@ -1678,16 +1684,8 @@ then
WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])])
fi
dnl **** Disable unsupported winmm drivers ****
test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
dnl **** Check for any sound system ****
if test "x$ALSA_LIBS$COREAUDIO_LIBS$PULSE_LIBS" = "x" -a \
"x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
"x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
then
WINE_WARNING([No sound system was found. Windows applications will be silent.])
...
...
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