[Spread-users] autoconf support for Spread!

Theo Schlossnagle jesus at omniti.com
Thu Sep 20 17:48:02 EDT 2001


I got tired of 12 makefiles in the home dir and editing arch.h every 
time a new platform/architecture came along.

autoconf is a great solution.  You can code the application to a set of 
capabilities instead of a specific platform/arch.

I have added autoconf support for Spread.  It is a _HEFTY_ patch, but 
changes very little of the existing Spread code base.  There are 
obviously dramatic changes in arch.h as you no longer have to detail 
every architecture.

It provides, simple ./configure. (including changing cppflags, ldflags, 
libs, cflags, prefix, sysconfdir, etc.)  This should make packaging a 
lot easier.

It also builds shared libraries on several platforms. :-)

Attached is the patch against the latest CVS.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7

<Attachment missing>
-------------- next part --------------
I got tired of 12 makefiles in the home dir and editing arch.h every 
time a new platform/architecture came along.

autoconf is a great solution.  You can code the application to a set of 
capabilities instead of a specific platform/arch.

I have added autoconf support for Spread.  It is a _HEFTY_ patch, but 
changes very little of the existing Spread code base.  There are 
obviously dramatic changes in arch.h as you no longer have to detail 
every architecture.

It provides, simple ./configure. (including changing cppflags, ldflags, 
libs, cflags, prefix, sysconfdir, etc.)  This should make packaging a 
lot easier.

It also builds shared libraries on several platforms. :-)

Attached is the patch against the latest CVS.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spread.ac.patch
Type: application/octet-stream
Size: 146238 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20010920/8fdde23c/attachment.obj 


More information about the Spread-users mailing list