[asterisk-dev] <huge>aclocal.m4</huge> ???

Oron Peled oron at actcom.co.il
Mon Nov 6 23:57:30 MST 2006


On Monday, 6 בNovember 2006 23:16, Kevin P. Fleming wrote:
> Probably we can just copy AC_PROG_LD_GNU and its
> sub-macros directly into acinclude.m4 instead, and not bring in all the
> other libtool stuff.

What's the fear of simply using libtool? Wouldn't it be easier
than trying to grab pieces from it and debug them for possibly
missing parts? It's also relates to an earlier post about libtonezone.
This too would be solved more cleanly with libtool (including .so library
versioning, symlinking, ldconfig etc.)

Another related issue is the total mix of 3 build systems in one
Makefile (user-space, kernel-2.6, kernel-2.4) which makes it
a maintenance hell. I want to reiterate Tzafrir's previous
suggestion about separating user-space and kernel:

 * Move all kernel stuff to a subdirectory (e.g: drivers/)
   - A proper Kbuild can be provided for 2.6 kernels
   - A backward compatibility makefile (or GNUmakefile)
     for 2.4 kernels (it may optionally include the Kbuild
     so global variable definitions won't be repeated).
 * Move all user space code to a subdirectory (e.g: utils/)
 * Top level can contain the ./configure + Makefile. It
   would be easier to adapt required tools in the future
   like libtool (or even go all the way to automake).

I'm willing to create a working prototype. It would be a lot
easier than trying to maintain the current triad build system.

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
oron at actcom.co.il                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

A physicist, an engineer, and a computer scientist were
discussing the nature of God.  Surely a Physicist, said the
physicist, because early in the Creation, God made Light; and you
know, Maxwell's equations, the dual nature of electro-magnetic
waves, the relativist consequences... An Engineer!, said the
engineer, because before making Light, God split the Chaos into
Land and Water; it takes a hell of an engineer to handle that big
amount of mud, and orderly separation of solids from
liquids... The computer scientist shouted: And the Chaos,
where do you think it was coming from, hmm?

---Anonymous


More information about the asterisk-dev mailing list