projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa9e0e
)
autoconf: make bin/autoconf relocatable as well
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 20 Jan 2012 17:17:04 +0000
(17:17 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 20 Jan 2012 17:17:04 +0000
(17:17 +0000)
SVN-Revision: 29830
tools/autoconf/patches/000-relocatable.patch
patch
|
blob
|
history
diff --git
a/tools/autoconf/patches/000-relocatable.patch
b/tools/autoconf/patches/000-relocatable.patch
index c66e55eb019b810e561dc62f773cd52f4917677c..98661e20023f3a8728b823bf8317cb0c5badfdc3 100644
(file)
--- a/
tools/autoconf/patches/000-relocatable.patch
+++ b/
tools/autoconf/patches/000-relocatable.patch
@@
-137,3
+137,18
@@
unshift @INC, $pkgdatadir;
# Override SHELL. On DJGPP SHELL may not be set to a shell
+--- a/bin/autoconf.as
++++ b/bin/autoconf.as
+@@ -85,7 +85,11 @@ exit_missing_arg='
+ # restore font-lock: '
+
+ # Variables.
+-: ${AUTOM4TE='@bindir@/@autom4te-name@'}
++if test -n "$STAGING_DIR"; then
++ : ${AUTOM4TE="$STAGING_DIR/../host/bin/@autom4te-name@"}
++else
++ : ${AUTOM4TE='@bindir@/@autom4te-name@'}
++fi
+ autom4te_options=
+ outfile=
+ verbose=false