Re: [PATCH][WIP] Automake conversion take 1

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

patch looks good at first glance...
Unfortunately it's not against current cvs :( But it should not be a problem
yet.

the question is, want we lose commit history for files that we will rename
or we go to use alternative to cvs (e.g. subversion)?

if we not go to use alternative we should probably create a branch for this
stuff and if it's stable for most people merge it back into head?!

Thoughts?

Paul P Komkoff Jr wrote:

> 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.
> 

-- 
Thanks,
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.