-#! /bin/sh
+#! @SHELL@
# @configure_input@
# Wrapper around a non installed bison to make it work as an installed one.
# We want to use the files shipped with Bison.
-BISON_SIMPLE='@abs_top_srcdir@/src/bison.simple'
-export BISON_SIMPLE
-BISON_HAIRY='@abs_top_srcdir@/src/bison.hairy'
-export BISON_HAIRY
-
-exec '@abs_top_builddir@/src/bison' ${1+"$@"}
+BISON_PKGDATADIR='@abs_top_srcdir@/data'
+export BISON_PKGDATADIR
+exec $PREBISON '@abs_top_builddir@/src/bison' ${1+"$@"}