Bug 69679 - Check for the Jack library as well when building with --enable-dssi
Summary: Check for the Jack library as well when building with --enable-dssi
Status: ASSIGNED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.99.1
Assignee: Andrew John Hughes
URL: https://bugs.gentoo.org/show_bug.cgi?...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 23:03 UTC by Andrew John Hughes
Modified: 2016-02-04 23:04 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2016-02-04 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2016-02-04 23:03:37 UTC
configure only checks for jack.h when checking for the Jack audio connection kit:

AC_ARG_ENABLE([dssi],
              [AS_HELP_STRING(--disable-dssi,compile DSSI providers (enable by --enable-dssi) [default=yes])],
              [case "${enableval}" in
                yes) COMPILE_DSSI=yes ;;
		no) COMPILE_DSSI=no ;;
                *) COMPILE_DSSI=yes ;;
              esac],
              [COMPILE_DSSI=no
               AC_CHECK_HEADERS([dssi.h], [
                 AC_CHECK_HEADERS([jack/jack.h],COMPILE_DSSI=yes)])])

This causes issues on multilib systems where the header is there, but the library may not be there for all (e.g. there's an x86_64 library but not x86 one). We should do a more through check, ideally using pkg-config which Jack now supports.