alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] hda-emu: configure.ac: Allow relative paths in hdadir
@ 2012-08-14  9:55 David Henningsson
  2012-08-14  9:55 ` [PATCH 2/2] hda-emu: Add more functionality to test suite David Henningsson
  2012-08-14 10:28 ` [PATCH 1/2] hda-emu: configure.ac: Allow relative paths in hdadir Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: David Henningsson @ 2012-08-14  9:55 UTC (permalink / raw)
  To: tiwai, alsa-devel; +Cc: David Henningsson

Previously, adding a path that was relative could fail because
the symlinks created were broken.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-14  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14  9:55 [PATCH 1/2] hda-emu: configure.ac: Allow relative paths in hdadir David Henningsson
2012-08-14  9:55 ` [PATCH 2/2] hda-emu: Add more functionality to test suite David Henningsson
2012-08-14 10:28 ` [PATCH 1/2] hda-emu: configure.ac: Allow relative paths in hdadir Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).