xar, automake & libtool

5 views
Skip to first unread message

Peter O'Gorman

unread,
Feb 12, 2008, 1:00:29 PM2/12/08
to xar-...@googlegroups.com
Hi,

Attached is a patch to change the xar build system to use autotools.
With a slightly earlier version of this patch I built a working[1] xar
binary on opensolaris (i386-pc-solaris2.11) with the sun studio 12
compilers.

Changes:
Use automake and libtool.
add replacement functions for fts_*, timegm, and strsep
don't export strmode replacement from libxar
AC_CHECK_FUNCS all at once (makes generated configure script shorter)
Attempt to work around red hat bug with libacl.la (might need more work)
stat.c - opensolaris has sts/acl.h but does not have acl_get_file,
change the preprocessor conditional to HAVE_LIBACL

This patch is undoubtedly incomplete, but I would like to know if the
change to use automake and libtool is acceptable prior to further testing.

Peter
--
Peter O'Gorman
http://pogma.com

[1] Working -- created a xarchive with a single file, cd to a different
dir, unpack the archive and cmp the original and unarchived files to
find no differences.

autoxar.diff
Reply all
Reply to author
Forward
0 new messages