diff options
author | Barry Naujok <bnaujok@sgi.com> | 2007-01-23 14:51:14 +0000 |
---|---|---|
committer | Barry Naujok <bnaujok@sgi.com> | 2007-01-23 14:51:14 +0000 |
commit | de7b3f627488dd0baaf1c6cda9ab556dad94cfe8 (patch) | |
tree | 7c140653048fa60e7020919149fed86f424af59b | |
parent | dd6bfa6a1d7550723b31e83362464b0563a9840b (diff) | |
download | attr-de7b3f627488dd0baaf1c6cda9ab556dad94cfe8.tar.gz |
Fix cross-compile issues with libtool and compiler.
Merge of master-melb:xfs-cmds:27984a by kenmcd.
Fix cross-compile issues with libtool and compiler.
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | include/builddefs.in | 1 | ||||
-rw-r--r-- | m4/package_globals.m4 | 2 | ||||
-rw-r--r-- | m4/package_utilies.m4 | 10 |
5 files changed, 8 insertions, 10 deletions
@@ -3,5 +3,5 @@ # PKG_MAJOR=2 PKG_MINOR=4 -PKG_REVISION=36 +PKG_REVISION=37 PKG_BUILD=0 diff --git a/doc/CHANGES b/doc/CHANGES index 14927dc..b851b0c 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,3 +1,6 @@ +attr-2.4.37 (23 January 2007) + - Fix cross-compile issues. Thanks to Diego 'Flameeyes' Pettenò. + attr-2.4.36 (19 December 2006) - Reinstate xattr syscall entry points (these symbols are explicitly exported from the library - d'oh!). diff --git a/include/builddefs.in b/include/builddefs.in index 0ee49db..1563a8e 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -17,6 +17,7 @@ LIBMISC = $(TOPDIR)/libmisc/libmisc.la prefix = @prefix@ exec_prefix = @exec_prefix@ +top_builddir = @top_builddir@ datarootdir = @datarootdir@ PKG_NAME = @pkg_name@ diff --git a/m4/package_globals.m4 b/m4/package_globals.m4 index 72fbbb7..415564b 100644 --- a/m4/package_globals.m4 +++ b/m4/package_globals.m4 @@ -8,6 +8,8 @@ AC_DEFUN([AC_PACKAGE_GLOBALS], [ pkg_name="$1" AC_SUBST(pkg_name) + AC_PROG_CC + . ./VERSION pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} AC_SUBST(pkg_version) diff --git a/m4/package_utilies.m4 b/m4/package_utilies.m4 index fa66f95..6569e3b 100644 --- a/m4/package_utilies.m4 +++ b/m4/package_utilies.m4 @@ -32,15 +32,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES], AC_SUBST(make) AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make]) - if test -z "$LIBTOOL"; then - AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin) - fi - if test -z "$LIBTOOL"; then - AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin) - fi - libtool=$LIBTOOL - AC_SUBST(libtool) - AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool]) + AC_PROG_LIBTOOL if test -z "$TAR"; then AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin) |