From 7a7b06ef3de9fa4df10c0ad0f51c1d13946888c2 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 5 Aug 1999 15:35:10 +0000 Subject: 1999-08-05 Donn Terry * Makefile.am (YACC): If bison is not in the source tree, use @YACC@ rather than bison -y. (LEX): If flex is not in the source tree, use @LEX@ rather than flex. * configure.in: Build dlltool for i[3-6]86-*-interix. * Makefile.in, configure: Rebuild. --- binutils/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binutils/Makefile.am') diff --git a/binutils/Makefile.am b/binutils/Makefile.am index a01f9ed..bfee956 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -15,9 +15,9 @@ tooldir = $(exec_prefix)/$(target_alias) CC_FOR_BUILD = @CC_FOR_BUILD@ EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ -YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L$(srcdir)/../bison/ ; else echo bison -y ; fi` +YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` YFLAGS = -d -LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` +LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` # these two are almost the same program AR_PROG=ar -- cgit v1.1