* [PATCH] fix UDEV_DATADIR fallback if pkg-config fails
@ 2009-07-07 7:57 Stefan Seyfried
2009-07-07 17:18 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Seyfried @ 2009-07-07 7:57 UTC (permalink / raw)
To: BlueZ devel list
---
acinclude.m4 | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 48728e8..2018169 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -111,9 +111,11 @@ AC_DEFUN([AC_INIT_BLUEZ], [
AC_SUBST(CONFIGDIR, "${configdir}")
AC_SUBST(STORAGEDIR, "${storagedir}")
- UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`/rules.d"
+ UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
if (test -z "${UDEV_DATADIR}"); then
UDEV_DATADIR="${sysconfdir}/udev/rules.d"
+ else
+ UDEV_DATADIR="${UDEV_DATADIR}/rules.d"
fi
AC_SUBST(UDEV_DATADIR)
])
--
1.6.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fix UDEV_DATADIR fallback if pkg-config fails
2009-07-07 7:57 [PATCH] fix UDEV_DATADIR fallback if pkg-config fails Stefan Seyfried
@ 2009-07-07 17:18 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-07-07 17:18 UTC (permalink / raw)
To: Stefan Seyfried; +Cc: BlueZ devel list
Hi Stefan,
> ---
> acinclude.m4 | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 48728e8..2018169 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -111,9 +111,11 @@ AC_DEFUN([AC_INIT_BLUEZ], [
> AC_SUBST(CONFIGDIR, "${configdir}")
> AC_SUBST(STORAGEDIR, "${storagedir}")
>
> - UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`/rules.d"
> + UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
> if (test -z "${UDEV_DATADIR}"); then
> UDEV_DATADIR="${sysconfdir}/udev/rules.d"
> + else
> + UDEV_DATADIR="${UDEV_DATADIR}/rules.d"
> fi
> AC_SUBST(UDEV_DATADIR)
> ])
brown paper bag is one me :(
Patch has been applied. Thanks.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-07 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 7:57 [PATCH] fix UDEV_DATADIR fallback if pkg-config fails Stefan Seyfried
2009-07-07 17:18 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox