Re: Parrot configure stuff, first stab
On Tue, Sep 11, 2001 at 03:06:27AM -0700, Matthew Cline wrote: > Is parrot going to have it's own makefile generator, or should it use > autoconf? Please read my other mail on this. Simon
Re: Parrot configure stuff, first stab
On Tuesday 11 September 2001 01:14 am, Simon Cozens wrote: > On Mon, Sep 10, 2001 at 11:42:01PM -0700, Matthew Cline wrote: > > This is a first stab at the configure stuff for Parrot. > Damn, I knew I should have got that mail out last night. Sorry, > Matthew. Well, the autoconf/automake configure system does more than just generate a config.h file. It also determines what compiler and linker flags to use, if the needed libraries are present (with needed versions), takes care of stuff like dependencies, and lets you maintain a simple make file which it translates into a big-and-hairy makefile (22 lines for my Makefile.am versus 465 lines for the output Makefile). I have no clue as to how gcc does automatic dependency checking, but I just have to add one line to configure.in and it magically happens. Is parrot going to have it's own makefile generator, or should it use autoconf? -- Matthew Cline| Suppose you were an idiot. And suppose that [EMAIL PROTECTED] | you were a member of Congress. But I repeat | myself. -- Mark Twain
Re: Parrot configure stuff, first stab
On Mon, Sep 10, 2001 at 11:42:01PM -0700, Matthew Cline wrote: > This is a first stab at the configure stuff for Parrot. Damn, I knew I should have got that mail out last night. Sorry, Matthew. Simon
Parrot configure stuff, first stab
This is a first stab at the configure stuff for Parrot. It works fine, except that I had to put in a hack in the dependencies for it to generate ops.h before it was needed, since I couldn't figure out how to get the automatic dependencies system to do it right. Also, it doesn't check for the proper version of Perl (whichever version that might be). I've attached a gziped tar file of configure.in, Makefile.am, plus config/bootsrap. Running config/bootstrap from the top Parrot directory will do all the steps necessary to generate the configure script. -- Matthew Cline| Suppose you were an idiot. And suppose that [EMAIL PROTECTED] | you were a member of Congress. But I repeat | myself. -- Mark Twain conf.tar.gz