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

Attachment: 0002-modernize-configure.ac-update-gnulib-macros-and-add.patch.bz2
Description: application/bzip

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to