312814a0be
We have an existing patch to configure.in that chains the test to find
fltk (supposedly because a symbol of fltk got renamed sometime in the
past). By doing so, this chaining breaks the build when configure later
checks for the alsa libraries.
This is because chaining calls to AC_CHECK_LIBS() one in the other would
be expanded in such a way that internal functions, like ac_fn_c_try_link,
would get defined after being called, which results in configure failures
(see new bundled patch).
So, we change configure to use AC_SEARCH_LIBS() instead, which allows us
to memorise the result of each test, and we only fail when both tests
failed.
We can now drop the ac_cv overrides we had.
Incidentally, this also fixes detection of newer alsa-libs, where
atopology functions were offloaded to their own separate library:
75d393a563
Fixes:
http://autobuild.buildroot.org/results/564c1561e83e0c064f3859d25e68dec96640e060
(Note: upstream has been basically dead for at least 15 years now, so we
did not even try to submit the patch there...)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
572 B
Makefile
17 lines
572 B
Makefile
################################################################################
|
|
#
|
|
# alsamixergui
|
|
#
|
|
################################################################################
|
|
|
|
ALSAMIXERGUI_VERSION = 0.9.0rc2-1
|
|
ALSAMIXERGUI_SOURCE = alsamixergui_$(ALSAMIXERGUI_VERSION).orig.tar.gz
|
|
ALSAMIXERGUI_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/alsamixergui
|
|
ALSAMIXERGUI_LICENSE = GPL-2.0+
|
|
ALSAMIXERGUI_LICENSE_FILES = debian/copyright
|
|
ALSAMIXERGUI_AUTORECONF = YES
|
|
|
|
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
|
|
|
|
$(eval $(autotools-package))
|