Skip to content
Snippets Groups Projects
Commit e2180091 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

autoconf: make bin/autoconf relocatable as well

SVN-Revision: 29830
parent caa9e0e0
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment