mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +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@
|
||||
if test "@RELOCATABLE@" = yes; then
|
||||
prefix="@prefix@"
|
||||
exec_prefix="@exec_prefix@"
|
||||
bindir="@bindir@"
|
||||
orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
|
||||
@@ -18,5 +19,7 @@ else
|
||||
}
|
||||
fi
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=`relocate "@bindir@"`
|
||||
exec "$bindir/bison" -y "$@"
|
||||
|
||||
Reference in New Issue
Block a user