[alsa-devel] [PATCH 1/2] hda-emu: configure.ac: Allow relative paths in hdadir
Takashi Iwai
tiwai at suse.de
Tue Aug 14 12:28:10 CEST 2012
At Tue, 14 Aug 2012 11:55:43 +0200,
David Henningsson wrote:
>
> Previously, adding a path that was relative could fail because
> the symlinks created were broken.
>
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
Thanks, applied both patches.
Takashi
> ---
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 315e759..18118f3 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -51,6 +51,8 @@ AC_ARG_WITH(hdadir,
> [path where HD-audio kernel files are stored]),
> hdadir="$withval", hdadir="")
>
> +hdadir="$( cd "$hdadir" && pwd )"
> +
> if test -n "$hdadir"; then
>
> test -d "$hdadir" || \
> --
> 1.7.9.5
>
More information about the Alsa-devel
mailing list