[Asterisk-Dev] Converting the Asterisk code to autoconf

Simon Lockhart simon at slimey.org
Mon Oct 31 01:35:18 MST 2005


On Mon Oct 31, 2005 at 08:28:56AM +0000, David Woodhouse wrote:
> I really don't think it's necessary. I've spent a lot of time porting
> and cross-compiling software, and autotools are by far the most common
> _cause_ of problems. There's nothing we need from autotools that we
> can't achieve with a well-written Makefile.

I agree - the Makefile solution that we've got at the moment is good, but
it's getting messy. It's also not consistent.

In my opinion, effort would be better spent producing a set of guidelines for
the Makefile around the multi-platform support, and tidying up the Makefile
accordingly.

For example, the Makefile variable for which LIBS to link against changes from
Makefile to Makefile, and people keep including bash style constructs because
sh on linux is bash (but it's not on other OS - such as Solaris).

Whilst I submitted a fix for compiling on Solaris for the current CVS HEAD,
there's still a couple of Makefile errors due to bash constructs, and currently
"make install" doesn't work due to more bash bits. I just don't have my 'sh'
head on at the moment to work out how to fix them.

Simon
-- 
Simon Lockhart | * Sun Server Colocation * ADSL * Domain Registration *
   Director    |    * Domain & Web Hosting * Internet Consultancy * 
  Bogons Ltd   | * http://www.bogons.net/  *  Email: info at bogons.net  * 



More information about the asterisk-dev mailing list