mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
Position independent wrapper.
* tests/bison: Remove. * tests/bison.in: New. * configure.in: Adjust.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
||||
|
||||
DISTCLEANFILES = atconfig atlocal package.m4
|
||||
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||
|
||||
TESTSUITE_AT = \
|
||||
|
||||
@@ -98,7 +98,7 @@ install_sh = @install_sh@
|
||||
|
||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
||||
|
||||
DISTCLEANFILES = atconfig atlocal package.m4
|
||||
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||
|
||||
TESTSUITE_AT = \
|
||||
@@ -112,9 +112,9 @@ AUTOTEST = $(AUTOM4TE) --language=autotest
|
||||
subdir = tests
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_FILES = bison
|
||||
DIST_SOURCES =
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
||||
DIST_COMMON = Makefile.am Makefile.in bison.in
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
@@ -125,6 +125,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
||||
bison: $(top_builddir)/config.status bison.in
|
||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
||||
uninstall-info-am:
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
11
tests/bison
11
tests/bison
@@ -1,11 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Wrapper around a non installed bison to make it work as an installed one.
|
||||
. ./atconfig
|
||||
|
||||
# We want to use the files shipped with Bison.
|
||||
BISON_SIMPLE=$top_srcdir/src/bison.simple
|
||||
export BISON_SIMPLE
|
||||
BISON_HAIRY=$top_srcdir/src/bison.hairy
|
||||
export BISON_HAIRY
|
||||
|
||||
exec $top_builddir/src/bison ${1+"$@"}
|
||||
@@ -8,4 +8,4 @@ export BISON_SIMPLE
|
||||
BISON_HAIRY='@top_srcpath@/src/bison.hairy'
|
||||
export BISON_HAIRY
|
||||
|
||||
exec '@top_builddir@/src/bison' ${1+"$@"}
|
||||
exec '@top_buildpath@/src/bison' ${1+"$@"}
|
||||
|
||||
Reference in New Issue
Block a user