]> git.wh0rd.org - patches.git/blob - alsa-lib-build-out-of-tree.patch
sync vapier-m
[patches.git] / alsa-lib-build-out-of-tree.patch
1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2
3 configure.in | 12 ++++++------
4 1 file changed, 6 insertions(+), 6 deletions(-)
5
6 diff -r 8bdd68608788 configure.in
7 --- a/configure.in Mon Sep 18 17:57:58 2006 +0200
8 +++ b/configure.in Fri Sep 22 17:07:13 2006 -0400
9 @@ -83,7 +84,7 @@ AC_ARG_WITH(versioned,
10 versioned="$withval", versioned="yes")
11 if test "$versioned" = "yes"; then
12 # it seems that GNU ld versions since 2.10 are not broken
13 - xres=`grep '^VERSION=' $ac_aux_dir/libtool | cut -d = -f 2`
14 + xres=`grep '^VERSION=' libtool | cut -d = -f 2`
15 major=`echo $xres | cut -d . -f 1`
16 minor=`echo $xres | cut -d . -f 2`
17 pass=0
18 @@ -357,18 +368,18 @@ fi
19
20
21 dnl Create PCM plugin symbol list for static library
22 -rm -f src/pcm/pcm_symbols_list.c
23 +rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
24 for t in $PCM_PLUGIN_LIST; do
25 if eval test \$build_pcm_$t = yes; then
26 - echo \&_snd_module_pcm_$t, >> src/pcm/pcm_symbols_list.c
27 + echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
28 fi
29 done
30
31 dnl Make a symlink for inclusion of alsa/xxx.h
32 -if test ! -L include/alsa ; then
33 +if test ! -L "$srcdir"/include/alsa ; then
34 echo "Making a symlink include/alsa"
35 - rm -f include/alsa
36 - ln -sf . include/alsa
37 + rm -f "$srcdir"/include/alsa
38 + ln -sf . "$srcdir"/include/alsa
39 fi
40
41 AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile