fi
])
-AC_DEFUN([AC_PACKAGE_CHECK_LIBUUID],
+AC_DEFUN([AC_PACKAGE_NEED_UUIDCOMPARE],
[ AC_CHECK_FUNCS(uuid_compare)
if test $ac_cv_func_uuid_compare = yes; then
libuuid=""
- elif test "$enable_shared_uuid" = no; then
- AC_MSG_CHECKING([for libuuid])
- OLDLIBS="$LIBS"
- UUIDLIBS="/usr/lib/libuuid.a /usr/lib64/libuuid.a"
- for uuidlib in $UUIDLIBS; do
- LIBS="$OLDLIBS $uuidlib"
- AC_LINK_IFELSE([AC_LANG_PROGRAM(, [ uuid_compare(); ])],
- [ libuuid="$uuidlib" ], [ continue ],)
- AC_MSG_RESULT($libuuid)
- done
- if test -z "$libuuid"; then
- AC_MSG_RESULT(not found)
+ else
+ AC_CHECK_LIB(uuid, uuid_compare,, [
echo
echo 'FATAL ERROR: could not find a valid UUID library.'
echo 'Install the Universally Unique Identifiers library package.'
- exit 1
- fi
- LIBS="$OLDLIBS"
- else
+ exit 1])
libuuid="-luuid"
fi
+ AC_SUBST(libuuid)
])
AC_DEFUN([AC_PACKAGE_NEED_PTHREAD_H],
AC_PACKAGE_UTILITIES(xfsprogs)
AC_PACKAGE_NEED_UUID_H
-AC_ARG_ENABLE(shared-uuid,
-[ --enable-shared-uuid=[yes/no] Link shared libuuid [default=no].],
- enable_shared_uuid=yes,
- enable_shared_uuid=no)
-AC_PACKAGE_CHECK_LIBUUID
-AC_SUBST(libuuid)
+AC_PACKAGE_NEED_UUIDCOMPARE
AC_PACKAGE_NEED_PTHREAD_H
AC_PACKAGE_NEED_PTHREADMUTEXINIT
-xfsprogs (2.6.6-1) unstable; urgency=low
+xfsprogs (2.6.7-1) unstable; urgency=low
* New upstream release.
- -- Nathan Scott <nathans@debian.org> Wed, 03 Mar 2004 08:14:14 +1100
+ -- Nathan Scott <nathans@debian.org> Fri, 19 Mar 2004 13:53:16 +1100
xfsprogs (2.6.5-1) unstable; urgency=low
stdenv = @GZIP=-q; export GZIP;
options = DEBUG=-DNDEBUG; DISTRIBUTION=debian; LOCAL_CONFIGURE_OPTIONS=--enable-readline=yes; export DEBUG DISTRIBUTION LOCAL_CONFIGURE_OPTIONS;
-diopts = $(options) OPTIMIZER=-Os; LOCAL_CONFIGURE_OPTIONS="--enable-shared-uuid=yes --enable-gettext=no"; export OPTIMIZER LOCAL_CONFIGURE_OPTIONS;
+diopts = $(options) OPTIMIZER=-Os; LOCAL_CONFIGURE_OPTIONS="--enable-gettext=no"; export OPTIMIZER LOCAL_CONFIGURE_OPTIONS;
checkdir = test -f debian/rules
build: built
+xfsprogs-2.6.7 (19 March 2003)
+ - Fix up UUID library checks again, previous fix didn't work
+ for older versions of autconf.
+ - Allow for future extensions to the XFS ondisk structure by
+ reserving an extra 32 bits in the superblock for feature
+ bits (update xfs_db to dump them).
+ - Fix xfs_repair handling of version 2 directories with a
+ hole at the start.
+ - Fix an endian bug in xfs_copy, when operating on allocation
+ groups with multi-level freespace btrees.
+ - Ensure xfs_repair "dangerous" mode does not attempt to set
+ the device blocksize, this generates an error when target
+ filesystem is mounted readonly.
+
xfsprogs-2.6.6 (03 March 2003)
- mkfs now opens the devices it's operating on with the
O_EXCL flag set, which is used by the Linux 2.6 block
fi
])
-AC_DEFUN([AC_PACKAGE_CHECK_LIBUUID],
+AC_DEFUN([AC_PACKAGE_NEED_UUIDCOMPARE],
[ AC_CHECK_FUNCS(uuid_compare)
if test $ac_cv_func_uuid_compare = yes; then
libuuid=""
- elif test "$enable_shared_uuid" = no; then
- AC_MSG_CHECKING([for libuuid])
- OLDLIBS="$LIBS"
- UUIDLIBS="/usr/lib/libuuid.a /usr/lib64/libuuid.a"
- for uuidlib in $UUIDLIBS; do
- LIBS="$OLDLIBS $uuidlib"
- AC_LINK_IFELSE([AC_LANG_PROGRAM(, [ uuid_compare(); ])],
- [ libuuid="$uuidlib" ], [ continue ],)
- AC_MSG_RESULT($libuuid)
- done
- if test -z "$libuuid"; then
- AC_MSG_RESULT(not found)
+ else
+ AC_CHECK_LIB(uuid, uuid_compare,, [
echo
echo 'FATAL ERROR: could not find a valid UUID library.'
echo 'Install the Universally Unique Identifiers library package.'
- exit 1
- fi
- LIBS="$OLDLIBS"
- else
+ exit 1])
libuuid="-luuid"
fi
+ AC_SUBST(libuuid)
])