updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / lach / configure.patch
blobbd8313ae989cdfff67a8ece256c23b240fcb6875
1 41c41
2 < # echo "#define TCPDAEMON" >> arch.h #to have TCP daemon compiled
3 ---
4 > echo "#define TCPDAEMON" >> arch.h #to have TCP daemon compiled
5 49c49
6 < if [ `uname -r | grep 2.6.[16:99] | wc -l` == "0" ]
7 ---
8 > if [ `uname -r | grep 2.6.[16:20] | wc -l` == "0" ]
9 66c66
10 < fi
11 ---
12 > else
13 68,80c68,82
14 < # Kernel .config
15 < if [ -e /lib/modules/`uname -r`/source/.config ]
16 < then
17 < echo "#define KCFG_PATH \"/lib/modules/`uname -r`/source/.config\"" >> arch.h
18 < KCONFIG="2"
19 < echo "/lib/modules/`uname -r`/source/.config"
20 < fi
22 < if [ -e /lib/modules/`uname -r`/build/.config ]
23 < then
24 < echo "#define KCFG_PATH \"/lib/modules/`uname -r`/build/.config\"" >> arch.h
25 < KCONFIG="3"
26 < echo "/lib/modules/`uname -r`/build/.config"
27 ---
28 > # Kernel .config
29 > if [ -e /lib/modules/`uname -r`/source/.config ]
30 > then
31 > echo "#define KCFG_PATH \"/lib/modules/`uname -r`/source/.config\"" >> arch.h
32 > KCONFIG="2"
33 > echo "/lib/modules/`uname -r`/source/.config"
34 > else
36 > if [ -e /lib/modules/`uname -r`/build/.config ]
37 > then
38 > echo "#define KCFG_PATH \"/lib/modules/`uname -r`/build/.config\"" >> arch.h
39 > KCONFIG="3"
40 > echo "/lib/modules/`uname -r`/build/.config"
41 > fi
42 > fi