Lines 1-11
Link Here
|
1 |
--- ./configure.orig 2010-04-04 02:02:40.000000000 -0700 |
1 |
--- ./configure.orig 2010-04-04 11:02:40.000000000 +0200 |
2 |
+++ ./configure 2010-11-17 11:11:33.000000000 -0800 |
2 |
+++ ./configure 2010-11-22 19:41:52.000000000 +0100 |
3 |
@@ -324,7 +324,7 @@ |
3 |
@@ -92,7 +92,7 @@ |
4 |
add_var target "stab: configure for arch" "" |
4 |
{ |
|
|
5 |
local var val A |
5 |
|
6 |
|
6 |
# N.B. order is important |
7 |
- [ "$(sed -e 's/--[^=]\+=[^=]*/AA/' <<< $1)" != AA ] && return 1 |
7 |
-add_var prefix "install architecture-independent files" /usr |
8 |
+ [ "$(sed -r -e 's/--[^=]+=[^=]*/AA/' <<< $1)" != AA ] && return 1 |
8 |
+add_var prefix "install architecture-independent files" '${PREFIX}' |
9 |
|
9 |
add_var eprefix "install architecture-dependent files" '$prefix' |
10 |
A=${1:2} |
10 |
add_var bindir "user executables" '$eprefix/bin' |
11 |
var=${A%%=*} |
11 |
add_var sbindir "system executables" '$eprefix/sbin' |
12 |
@@ -167,7 +167,7 @@ |
|
|
13 |
|
14 |
function check_feature () |
15 |
{ |
16 |
- [ "$(sed -e 's/--\(enable\|disable\)-.\+/AA/' <<< $1)" != AA ] && return 1 |
17 |
+ [ "$(sed -r -e 's/--(enable|disable)-.+/AA/' <<< $1)" != AA ] && return 1 |
18 |
A=${1:2} |
19 |
var=${A#*-} |
20 |
val=${A%%-*} |