mirror of
https://github.com/openzfs/zfs.git
synced 2025-10-01 19:56:28 +00:00

It used to be the case that libuuid was part of e2fsprogs. However, since other projects unrelated to e2fsprogs make use of that library it was getting aukward to have that dependency. The package was split from e2fsprogs and moved to its own devel package in the util-linux-ng project. Anyway, I'm just updating the error message to reflect the new upstream reality.
19 lines
552 B
Plaintext
19 lines
552 B
Plaintext
dnl #
|
|
dnl # Check for libuuid
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_CONFIG_USER_LIBUUID], [
|
|
LIBUUID=
|
|
|
|
AC_CHECK_HEADER([uuid/uuid.h], [], [AC_MSG_FAILURE([
|
|
*** uuid/uuid.h missing, libuuid-devel package required])])
|
|
|
|
AC_CHECK_LIB([uuid], [uuid_generate], [], [AC_MSG_FAILURE([
|
|
*** uuid_generate() missing, libuuid-devel package required])])
|
|
|
|
AC_CHECK_LIB([uuid], [uuid_is_null], [], [AC_MSG_FAILURE([
|
|
*** uuid_is_null() missing, libuuid-devel package required])])
|
|
|
|
AC_SUBST([LIBUUID], ["-luuid"])
|
|
AC_DEFINE([HAVE_LIBUUID], 1, [Define if you have libuuid])
|
|
])
|