mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
Position independent wrapper.
* tests/bison: Remove. * tests/bison.in: New. * configure.in: Adjust.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2001-09-27 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
Position independent wrapper.
|
||||||
|
|
||||||
|
* tests/bison: Remove.
|
||||||
|
* tests/bison.in: New.
|
||||||
|
* configure.in: Adjust.
|
||||||
|
|
||||||
2001-09-27 Paul Eggert <eggert@twinsun.com>
|
2001-09-27 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
Port quotearg fixes from tar 1.13.24.
|
Port quotearg fixes from tar 1.13.24.
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ distdir: $(DISTFILES)
|
|||||||
fi
|
fi
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
mkdir $(distdir)
|
mkdir $(distdir)
|
||||||
$(mkinstalldirs) $(distdir)/intl $(distdir)/po
|
$(mkinstalldirs) $(distdir)/intl $(distdir)/po $(distdir)/tests
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
|||||||
7
configure
vendored
7
configure
vendored
@@ -1407,6 +1407,8 @@ if test -f $srcdir/tests/atlocal.in; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files tests/bison"
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@@ -8913,6 +8915,7 @@ do
|
|||||||
case "$ac_config_target" in
|
case "$ac_config_target" in
|
||||||
# Handling of arguments.
|
# Handling of arguments.
|
||||||
"tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
|
"tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
|
||||||
|
"tests/bison" ) CONFIG_FILES="$CONFIG_FILES tests/bison" ;;
|
||||||
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||||
"config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
|
"config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
|
||||||
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
|
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
|
||||||
@@ -9267,6 +9270,10 @@ s,@INSTALL@,$ac_INSTALL,;t t
|
|||||||
rm -f $tmp/out
|
rm -f $tmp/out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Run the commands associated with the file.
|
||||||
|
case $ac_file in
|
||||||
|
tests/bison ) chmod +x tests/bison ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat >>$CONFIG_STATUS <<\_ACEOF
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ AM_CONFIG_HEADER(config.h:config.hin)
|
|||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
AC_CONFIG_TESTDIR(tests)
|
AC_CONFIG_TESTDIR(tests)
|
||||||
|
AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
||||||
|
|
||||||
DISTCLEANFILES = atconfig atlocal package.m4
|
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||||
|
|
||||||
TESTSUITE_AT = \
|
TESTSUITE_AT = \
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ install_sh = @install_sh@
|
|||||||
|
|
||||||
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
EXTRA_DIST = atlocal.in bison $(TESTSUITE_AT) testsuite
|
||||||
|
|
||||||
DISTCLEANFILES = atconfig atlocal package.m4
|
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||||
|
|
||||||
TESTSUITE_AT = \
|
TESTSUITE_AT = \
|
||||||
@@ -112,9 +112,9 @@ AUTOTEST = $(AUTOM4TE) --language=autotest
|
|||||||
subdir = tests
|
subdir = tests
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
||||||
CONFIG_HEADER = $(top_builddir)/config.h
|
CONFIG_HEADER = $(top_builddir)/config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES = bison
|
||||||
DIST_SOURCES =
|
DIST_SOURCES =
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in bison.in
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@@ -125,6 +125,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && \
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
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:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: 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'
|
BISON_HAIRY='@top_srcpath@/src/bison.hairy'
|
||||||
export BISON_HAIRY
|
export BISON_HAIRY
|
||||||
|
|
||||||
exec '@top_builddir@/src/bison' ${1+"$@"}
|
exec '@top_buildpath@/src/bison' ${1+"$@"}
|
||||||
|
|||||||
Reference in New Issue
Block a user