M4 problems

Krister Walfridsson cato@df.lth.se
Sat Apr 4 14:20:00 GMT 1998


Are there any good reason we define M4 in the egcs/Makefile?

The reason I don't like it is that I get errors from autoconf that I 
need GNU m4, but autoconf is generally smart enough to find my GNU m4
(which in NetBSD normlly lives in /usr/pkg/bin and is called gm4) unless
M4 is defined. And we doesn't use M4 anywhere as far I can see.

I suggest we remove the M4 definition (or is it better to do some magic 
with autoconf to see if we can find any GNU m4?)

   /Krister




Sat Apr  4 20:05:15 1998  Krister Walfridsson (cato@df.lth.se)

        * Makefile.in: Removed M4 definition.


*** Makefile.in.old     Tue Mar 31 19:35:23 1998
--- Makefile.in Sat Apr  4 20:03:13 1998
***************
*** 119,128 ****
        then echo $$r/flex/flex ; \
        else echo ${DEFAULT_LEX} ; fi`
  
- M4 = `if [ -f $$r/m4/m4 ] ; \
-       then echo $$r/m4/m4 ; \
-       else echo m4 ; fi`
- 
  MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
        then echo $$r/texinfo/makeinfo/makeinfo ; \
        else echo makeinfo ; fi`
--- 119,124 ----





More information about the Gcc mailing list