gas/Makefile.am bug fix
Michael Sokolov
msokolov@ivan.Harhan.ORG
Tue Apr 18 12:57:00 GMT 2000
Alexandre Oliva <aoliva@cygnus.com> wrote:
> > ! YACC =3D `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L=
> ../bison/bison ; else echo @YACC@ -y ; fi`
>
> I think you can assume that @YACC@ will already contain `-y'.
Oops, my bad! The corrected patch is below. Thanks!
--
Michael Sokolov Harhan Engineering Laboratory
Public Service Agent International Free Computing Task Force
International Engineering and Science Task Force
615 N GOOD LATIMER EXPY STE #4
DALLAS TX 75204-5852 USA
Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
2000-04-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.am (YACC, LEX): get these from configure instead of hard-
coding bison and flex.
* Makefile.in: regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.16
diff -c -3 -p -r1.16 Makefile.am
*** Makefile.am 2000/04/09 20:25:17 1.16
--- Makefile.am 2000/04/17 23:40:12
*************** SUBDIRS = doc po
*** 9,16 ****
tooldir = $(exec_prefix)/$(target_alias)
! YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
! LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
WARN_CFLAGS = @WARN_CFLAGS@
AM_CFLAGS = $(WARN_CFLAGS)
--- 9,16 ----
tooldir = $(exec_prefix)/$(target_alias)
! YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
! LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi`
WARN_CFLAGS = @WARN_CFLAGS@
AM_CFLAGS = $(WARN_CFLAGS)
More information about the Binutils
mailing list