glr2.cc: put create_state_set_index in unnamed namespace
[bison.git] / src / yacc.in
blob3ee622b3d28f1dc0c7f6679d9b2fca828ef225b1
1 #! /bin/sh
3 @relocatable_sh@
4 if test "@RELOCATABLE@" = yes; then
5 prefix="@prefix@"
6 exec_prefix="@exec_prefix@"
7 bindir="@bindir@"
8 orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
9 func_find_curr_installdir # determine curr_installdir
10 func_find_prefixes
11 relocate () {
12 echo "$1/" \
13 | sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" \
14 | sed -e 's,/$,,'
16 else
17 relocate () {
18 echo "$1"
22 prefix=@prefix@
23 exec_prefix=@exec_prefix@
24 bindir=`relocate "@bindir@"`
25 exec "$bindir/bison" -y "$@"