Commit 9850f34a by Alexandre Oliva Committed by Alexandre Oliva

configure.ac (FLEX, BISON): Only use tools from the build tree if build equals host.

* configure.ac (FLEX, BISON): Only use tools from the build tree
if build equals host.
* configure: Rebuilt.

From-SVN: r81406
parent 764678d1
2004-05-02 Alexandre Oliva <aoliva@redhat.com> 2004-05-02 Alexandre Oliva <aoliva@redhat.com>
* configure.ac (FLEX, BISON): Only use tools from the build tree
if build equals host.
* configure: Rebuilt.
* config/frv/frv-protos.h (frv_expand_epilogue, * config/frv/frv-protos.h (frv_expand_epilogue,
frv_expand_fdpic_call): Add bool argument. frv_expand_fdpic_call): Add bool argument.
* config/frv/frv.c (frv_function_ok_for_sibcall): New. * config/frv/frv.c (frv_function_ok_for_sibcall): New.
......
...@@ -1017,7 +1017,7 @@ esac ...@@ -1017,7 +1017,7 @@ esac
else else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi fi
cd "$ac_popdir" cd $ac_popdir
done done
fi fi
...@@ -5326,7 +5326,7 @@ echo "${ECHO_T}no" >&6 ...@@ -5326,7 +5326,7 @@ echo "${ECHO_T}no" >&6
fi fi
# How about lex? # How about lex?
if test -f $srcdir/../flex/skel.c; then if test x${build} = x${host} && test -f $srcdir/../flex/skel.c; then
FLEX='$(objdir)/../flex/flex' FLEX='$(objdir)/../flex/flex'
else else
# Extract the first word of "flex", so it can be a program name with args. # Extract the first word of "flex", so it can be a program name with args.
...@@ -5369,7 +5369,7 @@ fi ...@@ -5369,7 +5369,7 @@ fi
# Bison? # Bison?
# The -L switch is so bison can find its skeleton file. # The -L switch is so bison can find its skeleton file.
if test -f $srcdir/../bison/bison.simple; then if test x${build} = x${host} && test -f $srcdir/../bison/bison.simple; then
BISON='$(objdir)/../bison/bison -L $(srcdir)/../bison/' BISON='$(objdir)/../bison/bison -L $(srcdir)/../bison/'
else else
# Extract the first word of "bison", so it can be a program name with args. # Extract the first word of "bison", so it can be a program name with args.
......
...@@ -760,7 +760,7 @@ fi ...@@ -760,7 +760,7 @@ fi
# How about lex? # How about lex?
dnl Don't use AC_PROG_LEX; we insist on flex. dnl Don't use AC_PROG_LEX; we insist on flex.
dnl LEXLIB is not useful in gcc. dnl LEXLIB is not useful in gcc.
if test -f $srcdir/../flex/skel.c; then if test x${build} = x${host} && test -f $srcdir/../flex/skel.c; then
FLEX='$(objdir)/../flex/flex' FLEX='$(objdir)/../flex/flex'
else else
AC_CHECK_PROG(FLEX, flex, flex, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing flex) AC_CHECK_PROG(FLEX, flex, flex, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing flex)
...@@ -768,7 +768,7 @@ fi ...@@ -768,7 +768,7 @@ fi
# Bison? # Bison?
# The -L switch is so bison can find its skeleton file. # The -L switch is so bison can find its skeleton file.
if test -f $srcdir/../bison/bison.simple; then if test x${build} = x${host} && test -f $srcdir/../bison/bison.simple; then
BISON='$(objdir)/../bison/bison -L $(srcdir)/../bison/' BISON='$(objdir)/../bison/bison -L $(srcdir)/../bison/'
else else
AC_CHECK_PROG(BISON, bison, bison, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing bison) AC_CHECK_PROG(BISON, bison, bison, ${CONFIG_SHELL-/bin/sh} ${srcdir}/../missing bison)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment