On Fri, Feb 21, 2003 at 06:36:20PM +0200, Tuomo Valkonen wrote: > On Fri, Feb 21, 2003 at 01:11:41PM +0000, Tom Payne wrote: > > In the meantime, please would you accept an autoconf script? > > Is it possible to create an autoconf script that would generate system.mk > without having to use automake and all so that a fully functional, easy > to fix and customize Makefile system could coexist with an optional > configure script?
Yes, autoconf does not depend on automake. You can write your makefiles any way you like, you just have to call them Makefile.in. When configure is run, it produces Makefile's from the Makefile.in's, with all @FOO@-style keywords substituted with the data collected. You don't even have to have any Makefile.in's, you can choose which files you want generated yourself. In Ion's case, a system.mk.in and a config.h.in would probably be enough. No need to touch the makefiles. /Pelle
