gh-124228: Fix UUID test in configure files for NetBSD (#124229)

Fix UUID configuration in configure files for NetBSD compatibility.
This commit is contained in:
Furkan Onder 2024-09-23 09:54:36 +03:00 committed by GitHub
parent d5f95ec07b
commit 2e8c769481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

8
configure generated vendored
View File

@ -14068,6 +14068,14 @@ done
fi
# gh-124228: While the libuuid library is available on NetBSD, it supports only UUID version 4.
# This restriction inhibits the proper generation of time-based UUIDs.
if test "$ac_sys_system" = "NetBSD"; then
have_uuid=missing
printf "%s\n" "#define HAVE_UUID_H 0" >>confdefs.h
fi
if test "x$have_uuid" = xmissing
then :
have_uuid=no

View File

@ -3802,6 +3802,13 @@ AS_VAR_IF([have_uuid], [missing], [
])
])
# gh-124228: While the libuuid library is available on NetBSD, it supports only UUID version 4.
# This restriction inhibits the proper generation of time-based UUIDs.
if test "$ac_sys_system" = "NetBSD"; then
have_uuid=missing
AC_DEFINE([HAVE_UUID_H], [0])
fi
AS_VAR_IF([have_uuid], [missing], [have_uuid=no])
# 'Real Time' functions on Solaris