- Backport upstream fixes: a few fixes for chmap support, alsaconf updates, a new monitor command for alsactl, etc: 0006-amixer-fix-indentation-when-printing-container-TLV-c.patch 0007-alsaloop-pcmjob.c-use-portable-way-to-initialize-rec.patch 0008-speaker-test-Fix-chmapped-channel-selection-without-.patch 0009-speaker-test-Always-show-chmap-channel-names-if-avai.patch 0010-speaker-test-Show-out-of-chmap-channels-as-Unknown.patch 0011-alsaconf-support-newer-m-i-t-and-kmod.patch 0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch 0013-configure-detect-udevdir-via-pkg-config-fallback-to-.patch 0014-alsactl-Add-monitor-command.patch 0015-alsactl-Fix-REMOVE-event-handling-in-monitor-command.patch 0016-alsactl-monitor-all-cards-as-default.patch OBS-URL: https://build.opensuse.org/request/show/208681 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=94
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From 7d0c2801b3395d8dd4d46e9a1eb2491dde8a053c Mon Sep 17 00:00:00 2001
|
|
From: Ivailo Monev <xakepa10@gmail.com>
|
|
Date: Sat, 16 Nov 2013 14:00:19 +0000
|
|
Subject: [PATCH] configure: detect udevdir via pkg-config, fallback to
|
|
/lib/udev/rules.d
|
|
|
|
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
configure.in | 10 ++++++++--
|
|
1 file changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index 3ae320926a1c..60da1fa680ba 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -120,8 +120,14 @@ AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)
|
|
|
|
AC_ARG_WITH(
|
|
[udev-rules-dir],
|
|
- AS_HELP_STRING([--with-udev-rules-dir],[Directory where to install udev rules to (defaults to /lib/udev/rules.d)]),
|
|
- [udevrulesdir=$withval], [udevrulesdir="/lib/udev/rules.d"])
|
|
+ AS_HELP_STRING([--with-udev-rules-dir=DIR],[Directory where to install udev rules to (default=auto)]),
|
|
+ [udevrulesdir="$withval"],
|
|
+ [udevdir=$($PKG_CONFIG udev --variable=udevdir)
|
|
+ if test "x$udevdir" = "x"; then
|
|
+ udevrulesdir="/lib/udev/rules.d"
|
|
+ else
|
|
+ udevrulesdir="$udevdir/rules.d"
|
|
+ fi])
|
|
AC_SUBST(udevrulesdir)
|
|
|
|
dnl Checks for header files.
|
|
--
|
|
1.8.4.3
|
|
|