[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.linuxtools] Re: Using autoheader and libtoolize

Jeff Johnston wrote:
Matthias Jeschke wrote:

Hi,

I'am currently working on a project that uses autotools and as I'am used to eclipse I want import this project as a C++ autotools project. Everything works fine, except that for building the project autoheader and libtoolize must be called to create the appropriate config.h.in etc.

What would be the best way to call autoheader and libtoolize from within eclipse? Is there a way to add these calls to autogen.sh?

Matthias,

The current Autotools plugin doesn't currently support direct calling of autoheader and libtoolize as it does for autoconf, automake, and aclocal, but as you have correctly guessed, you can place these calls into an autogen.sh script which is run as part of the Autotools configuration step. Autotools expects that autogen.sh is only run once and that configure will be created as part of the autogen.sh invocation so it does not run autogen.sh if configure already exists in the build directory.

Feel free to open RFEs to add UI support to Autotools for calling autoheader and libtoolize if you want to track the addition of those features.

Hi

why does it use (and expect) autogen.sh, instead of relying on autoreconf?

cheers
	Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net