Autotools

P

Thread Starter

Peter Hopfgartner

Dear List members,

I would like to ask if there is any specific reason for the current build setup. Would it be appreciated, if a build environment based on
autoconf/automake would be set up?

As a test I run autoscan, which creates an initial configure.in script, that could be used as a starting point.

Best regards,

Peter Hopfgartner

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
M

Mario de Sousa

Peter Hopfgartner wrote:
>
> I would like to ask if there is any specific reason for the current
> build setup. Would it be appreciated, if a build environment based on
> autoconf/automake would be set up?

Yes, very much!

> As a test I run autoscan, which creates an initial configure.in script,
> that could be used as a starting point.

I did the same for my private copy of the code, but since I don't know much about autoconf et. al., I have not yet commited it to the cvs.

I made a couple of changes so that the generated configure script would also call the configure script in /lang/tcl (AC_CONFIG_SUBDIRS(lang/tcl) ) This was my main gaol for using autoconf at first.

Do you know what magic to add to the makefile so that autoconf gets called when it's configuration file changes? I've seen an example in a manual, but never got to look at it in detail.

If you have any experience with these tools, you are welcome to take over their management for the project!

Cheers,

Mario.

--
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------

The box said it requires Windows 95 or better, so I installed Linux

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
 
P

Peter Hopfgartner

> I did the same for my private copy of the code, but since I don't know
> much about autoconf et. al., I have not yet commited it to the cvs.

I have to say that I am NOT a auto* guru. But I will try to learn something more. I used it a couple of years ago for a C project I was
working on and contributed a the support for Tochnog (but it was never applied to the main distribution).

> I made a couple of changes so that the generated configure script would
> also call the configure script in /lang/tcl
> (AC_CONFIG_SUBDIRS(lang/tcl) ) This was my main gaol for using autoconf
> at first.
>
> Do you know what magic to add to the makefile so that autoconf gets
> called when it's configuration file changes? I've seen an example in a
> manual, but never got to look at it in detail.

If my memories are right, this comes nearly automatically with automake.

> If you have any experience with these tools, you are welcome to take
> over their management for the project!

I will try to do my best in order set up something that works in the next days, so that you can look at it. I have to steal the time from
some other project, but LinuxPLC is worth it.

Cheers,

Peter

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc

 
M

Mario de Sousa

Peter Hopfgartner wrote:
>
> I will try to do my best in order set up something that works in the
> next days, so that you can look at it. I have to steal the time from
> some other project, but LinuxPLC is worth it.

Thanks Peter!

Mario.

---------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------

The box said it requires Windows 95 or better, so I installed Linux

_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc

 
Top