Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libao
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • libao
  • Issues
  • #2204

Closed
Open
Opened Jun 15, 2015 by Ben G.@benjihan

libao-1.2.0 faulty configure check for wmm driver

Hello

The AC_LANG_SOURCE() function in configure.ac for the wmm detection code is misplaced and disable the test altogether.

I've joined a small patch that fix the problem.

--- libao-1.2.0-bug/configure.ac	2014-01-27 18:02:05.000000000 +0100
+++ libao-1.2.0-fix/configure.ac	2015-06-15 02:49:42.994291600 +0200
@@ -224,13 +224,13 @@ AC_ARG_ENABLE([wmm],
 	[include WMM output plugin @<:@default=check@:>@])],
 	[],[enable_wmm="check"]
 )
-AS_IF([AC_LANG_SOURCE([test "x$enable_wmm" != "xno"],
+AS_IF([test "x$enable_wmm" != "xno"],
 [AC_CHECK_HEADERS([mmsystem.h],
    [
    AC_MSG_CHECKING([waveOut family functions])
    waveout_old_LIBS="$LIBS"; LIBS="$LIBS -lwinmm"
 dnl Can't use AC_SEARCH_LIBS because symbols are decorated
-   AC_LINK_IFELSE([
+   AC_LINK_IFELSE([AC_LANG_SOURCE([
 #include <windows.h>
 #include <mmsystem.h>
 int main(int na, char ** a) {

-- G.B

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/libao#2204