This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gas/Makefile.am bug fix


Hi there,

The patch below fixes a simple bug in gas/Makefile.am. I hit this bug because
it prevents me from using my native yacc and lex, but it's really just a simple
bug, as configure already sets @YACC@ and @LEX@ correctly, but Makefile.am
fails to use them. Please apply this patch, release branch too, as this is just
a simple bug.

--
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-17  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@ -y ; fi`
! LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ;  else echo @LEX@ ; fi`
  
  WARN_CFLAGS = @WARN_CFLAGS@
  AM_CFLAGS = $(WARN_CFLAGS)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]