mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
yacc: fix relocatability
* src/yacc.in (prefix): Define it, as it's typically needed for exec_prefix.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
@relocatable_sh@
|
@relocatable_sh@
|
||||||
if test "@RELOCATABLE@" = yes; then
|
if test "@RELOCATABLE@" = yes; then
|
||||||
|
prefix="@prefix@"
|
||||||
exec_prefix="@exec_prefix@"
|
exec_prefix="@exec_prefix@"
|
||||||
bindir="@bindir@"
|
bindir="@bindir@"
|
||||||
orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
|
orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
|
||||||
@@ -18,5 +19,7 @@ else
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
bindir=`relocate "@bindir@"`
|
bindir=`relocate "@bindir@"`
|
||||||
exec "$bindir/bison" -y "$@"
|
exec "$bindir/bison" -y "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user