avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] patch to convert to autoconf


From: Theodore A. Roth
Subject: [avrdude-dev] patch to convert to autoconf
Date: Thu, 13 Feb 2003 15:39:24 -0800 (PST)

Hi,

Forget about renaming avrdude.conf.sample, I found a simple
work-around.

Here's my first cut at the autoconf conversion and a few notes for the
daring:

- run the bootstrap script (might need to chmod 755). Note the hard
coding of the versions for now.

- The AUTHORS, NEWS, ChangeLog, INSTALL and README are required by the
autoconf system.

- mkdir obj; cd obj; ../configure --prefix=$HOME/local/avrdude-test
I suggest the above or you will clobber the existing Makefile.

- make all install uninstall dist
All of the above worked for me.

- successfully built with both bison and byacc.

- Normally, autoconf builds a config.h file. Brian already used that,
so I decided on ac_cfg.h (note that all .c files include it. if I
missed one, let me know)

- y.tab.h is gone. autoconf automagically creates config_gram.[ch].


There's still a lot to do (like using all that stuff in ac_cfg.h ;-),
but this should get us started.

Comments?

Ted

Attachment: ac.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]