[PATCH] modernize configure.ac, update gnulib macros and add the havelib module, remove aclocal.m4

Nils Goroll slink at schokola.de
Tue Aug 20 06:26:10 MDT 2013


For the next patch which I am about to submit (liblongpath integration), I 
thought I we should have the autoconf havelib macros from gnulib 
(AC_LIB_HAVE_LINKFLAGS).

AC_LIB_HAVE_LINKFLAGS would also be useful to facilitate linking to other 
external libraries (popt, zlib) where they are installed outside the default 
search path.

To avoid a dependency on gnulib (which would, IIUC, require more drastic changes 
to rsync's build scripts), I am suggesting to pull in some useful m4 macros from 
gnulib.

Being at it, I have also modernized configure.ac.

Due to the external code, the attached patch is relatively big, so I have 
bzipped it to get below mailman's limit.

 From the commit msg:

- aclocal.m4: we don't keep auto-generated files (says Wayne)
- pull in required gnulib macros to avoid the overhead of using gnulib's build
   process and requiring gnulib
- socklen is now an own m4 module (socklen.m4)
- HAVE_SOCKLEN_T is now gl_TYPE_SOCKLEN_T
- add havelib module (lib-ld.m4, lib-link.m4, lib-prefix.m4)

tested with:
- aclocal (GNU automake) 1.12.4
- autoconf (GNU Autoconf) 2.69

(and also autoconf (GNU Autoconf) 2.63 )

Nils
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-modernize-configure.ac-update-gnulib-macros-and-add.patch.bz2
Type: application/x-bzip
Size: 18385 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20130820/ccdde957/attachment.bin>


More information about the rsync mailing list