There are only two changes required to allow easier cross-compiling. Add AC_PROG_LIBTOOL to configure.in then correct the include/builddefs.in file to specify the top directory.
--- acl.old/builddefs.in 2007-05-06 21:07:16.000000000 +0100 +++ acl-2.2.42/include/builddefs.in 2007-05-06 21:08:04.000000000 +0100 @@ -4,6 +4,8 @@ # @configure_input@ # +top_builddir = @top_builddir@ + ifndef _BUILDDEFS_INCLUDED_ _BUILDDEFS_INCLUDED_ = 1 --- acl.old/configure.in 2007-05-06 21:05:56.000000000 +0100 +++ acl-2.2.42/configure.in 2007-05-06 21:06:10.000000000 +0100 @@ -2,6 +2,8 @@ AC_CONFIG_HEADER(include/config.h) AC_PREFIX_DEFAULT(/usr) +AC_PROG_LIBTOOL + AC_ARG_ENABLE(shared, [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],, enable_shared=yes) Once those are done, a few tweaks to debian/rules is sufficient. It's then probably best to run: libtoolize aclocal -I m4 autoconf within the build so that the distributed tarball contains the updates from these programs. That will reduce the .diff.gz which is always handy. The final build: http://buildd.emdebian.org/svn/browser/current/target/trunk/a/acl/trunk/acl_2.2.42-1em1_arm.build patch files: http://buildd.emdebian.org/svn/browser/current/target/trunk/a/acl/trunk/ -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpF52QGFk6lt.pgp
Description: PGP signature