Path: utzoo!attcan!uunet!aspect!dave From: dave@aspect.UUCP (Dave Corcoran) Newsgroups: comp.lang.c Subject: m4 problems Keywords: m4,pre-processor Message-ID: <2794@aspect.UUCP> Date: 11 Jul 90 01:15:56 GMT Distribution: na Organization: Aspect Telecommunications, San Jose, Ca Lines: 39 Netters: (It seems like comp.lang.c is a good a place as any...) I thought that m4 was the cat's meow in pre-processors until I tried to use the "include" key-word for a quick and dirty include facility in the make(1) process. So I tried to include paths.x: rebar.o : ../concrete/include/wall.h pvcvalve.o : ../car/include/smog.h thus include(paths.x) resulting in rebar.o : ../concrete//wall.h pvcvalve.o : ../car//smog.h the "include" in the pathname was eaten i.e. interpreted to be the key-word "inlcude" by m4 complicating the task so I abandoned the exercize. If I define include thus: define(`include',``include'') it works (via sinclude()) but the "include" key-word has lost its use i.e. the statement include(paths.x) yields include(paths.x) not the contents of paths.x. Comments anyone? Commiseration welcome -- David Corcoran -@@ ..!uunet!aspect!dave ~ Good, Fast, Cheap -- pick any two.