diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2004-05-02 07:48:53 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2004-05-02 07:48:53 +0000 |
commit | 9850f34a3c09d08e44616b3be2ee593a1d1f26e0 (patch) | |
tree | af036adf42f561c0088ecc7bee94f7449d2a590f /gcc/configure | |
parent | 764678d17d7e22a3b5d087b3f3e1d9a518df9a22 (diff) | |
download | gcc-9850f34a3c09d08e44616b3be2ee593a1d1f26e0.zip gcc-9850f34a3c09d08e44616b3be2ee593a1d1f26e0.tar.gz gcc-9850f34a3c09d08e44616b3be2ee593a1d1f26e0.tar.bz2 |
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
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure index 1f1baa0..38c2591 100755 --- a/gcc/configure +++ b/gcc/configure @@ -1017,7 +1017,7 @@ esac else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi - cd "$ac_popdir" + cd $ac_popdir done fi @@ -5326,7 +5326,7 @@ echo "${ECHO_T}no" >&6 fi # 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' else # Extract the first word of "flex", so it can be a program name with args. @@ -5369,7 +5369,7 @@ fi # Bison? # 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/' else # Extract the first word of "bison", so it can be a program name with args. |