]> git.saurik.com Git - bison.git/commitdiff
Position independent wrapper.
authorAkim Demaille <akim@epita.fr>
Thu, 27 Sep 2001 15:00:02 +0000 (15:00 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 27 Sep 2001 15:00:02 +0000 (15:00 +0000)
* tests/bison: Remove.
* tests/bison.in: New.
* configure.in: Adjust.

tests/bison.in [new file with mode: 0644]

diff --git a/tests/bison.in b/tests/bison.in
new file mode 100644 (file)
index 0000000..1b5b14f
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sh
+# @configure_generated@
+# 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='@top_srcpath@/src/bison.simple'
+export BISON_SIMPLE
+BISON_HAIRY='@top_srcpath@/src/bison.hairy'
+export BISON_HAIRY
+
+exec '@top_builddir@/src/bison' ${1+"$@"}