Hello. This is take 1 on forthcoming migration to new autotools. It is not feature-complete yet, but it survives basic tests and WorksForMe(tm)
QUICK START ----------- Obtain a recent autotools. I have the following on my development workstation: automake-1.8.3-1 autoconf-2.59-3 (from fedora core 2) Take a recent cvs snapshot of kannel, download The Thing from http://stingr.net/l/merge/kannel-automake-cvt-00.patch.gz patch -p1 autoreconf -i ./configure make dist -or something different- DESCRIPTION ----------- The patch basically contains of 7 transformation types: 1. Deletion of files which are auto-generated, must not exist in controlled tree, will confuse autotools, and will be recreated during autoreconf -i 2. Rename of files which are source of namespace collisions, most notably regex.[ch] -> gwregex.[ch] (and couple of others) 3. Purposeful rename of files as needed by new autotools. aclocal.m4 -> acinclude.m4. aclocal is autogenerated now 4. Corresponding oneliners in .c and .h files (regex and friends rename) 5. 1st attempt to fiddle somehow with from-top-dir paths hardcoded in #include statements even in gwlib/ subdir, even for gwlib sources. 6. Attempt to mention all autogenerated files spread all-over-the-tree in Makefile.am in proper places. 7. Rename of old Makefile.in to Makefile.in.old. Just to be there. Because of awful count of renames, it is highly recommended when this work will be incorporated into central repository make it (repository) more flexible then now, for example, by switching it to svn which support renames. Because I do not use cvs here, I did not update .cvsignores for autogenerated files. But here is the list: --- cut here --- # autoconf/automake topdir autom4te.cache configure aclocal.m4 depcomp config.sub config.status config.log config.guess libtool ltmain.sh missing install-sh mkinstalldirs gw-config.h gw-config.h.in gw-config.h.in~ # autoconf/automake gwlib gw_uuid_types.h # autoconf/automake everywhere Makefile Makefile.in .deps # custom in wmlscript wsopcodes.h wsgram.c wsgram.h --- cut here --- COPYING is just a symlink to LICENSE (some standard/bp/whatewer requires that it should exist, so be it) CONCLUSION ---------- Don't expect that everything should work. I don't know what some test/* and check/* really should do. But wapbox, smsbox and bearerbox is working fine here. Enjoy. -- Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key This message represents the official view of the voices in my head
COPYING | 58 ChangeLog | 52 INSTALL | 136 - Makefile.am | 15 Makefile.in.old | 361 ++ acinclude.m4 | 161 + aclocal.m4 | 161 - benchmarks/Makefile.am | 19 checks/Makefile.am | 24 config.guess | 1391 ---------- config.sub | 1492 ----------- configure | 5953 -------------------------------------------- configure.in | 260 - doc/Makefile.am | 126 doc/userguide/userguide.xml | 101 gw-config.h.in | 268 - gw/Makefile.am | 119 gw/msg-decl.h | 1 gw/sms.c | 24 gw/sms.h | 6 gw/smsbox.c | 74 gw/smsc/smsc_at.c | 191 - gw/smsc/smsc_at.h | 8 gw/smsc/smsc_emi.c | 30 gw/smsc/smsc_http.c | 60 gw/smsc/smsc_smpp.c | 15 gw/smscconn.c | 2 gw/smscconn_p.h | 2 gw/urltrans.c | 2 gw/urltrans.h | 2 gw/wap_push_ppg_pushuser.c | 2 gwlib/Makefile.am | 78 gwlib/cfg.c | 2 gwlib/charset.c | 2 gwlib/conn.c | 2 gwlib/fdset.c | 2 gwlib/gw-regex.c | 361 ++ gwlib/gw-regex.h | 205 + gwlib/gw-rwlock.c | 10 gwlib/gw-rwlock.h | 4 gwlib/gw-semaphore.c | 157 + gwlib/gw-semaphore.h | 76 gwlib/gw_uuid.c | 4 gwlib/gwlib.h | 3 gwlib/gwpcre.c | 171 + gwlib/gwpcre.h | 129 gwlib/gwpoll.c | 2 gwlib/gwthread-pthread.c | 2 gwlib/http.h | 4 gwlib/mime.c | 4 gwlib/mime.h | 2 gwlib/octstr.c | 2 gwlib/parse.c | 2 gwlib/pcre.c | 171 - gwlib/pcre.h | 129 gwlib/pki.c | 2 gwlib/regex.c | 361 -- gwlib/regex.h | 205 - gwlib/semaphore.c | 157 - gwlib/semaphore.h | 76 gwlib/ssl.c | 2 gwlib/thread.c | 2 gwlib/xmlrpc.c | 20 gwlib/xmlrpc.h | 2 install-sh | 251 - missing | 190 - mkinstalldirs | 40 radius/Makefile.am | 10 test/Makefile.am | 53 test/test_pcre.c | 2 test/test_regex.c | 2 utils/Makefile.am | 11 wap/Makefile.am | 67 wmlscript/Makefile.am | 53 wmlscript/make-op-table.in | 45 wmlscript/make-op-table.pl | 45 wmlscript/wsgram.y | 9 wmlscript/wsopcodes.h | 568 +--- 78 files changed, 2898 insertions(+), 11915 deletions(-)
