Skip to content

Commit 2e8c769

Browse files
authored
gh-124228: Fix UUID test in configure files for NetBSD (#124229)
Fix UUID configuration in configure files for NetBSD compatibility.
1 parent d5f95ec commit 2e8c769

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

configure

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3802,6 +3802,13 @@ AS_VAR_IF([have_uuid], [missing], [
38023802
])
38033803
])
38043804

3805+
# gh-124228: While the libuuid library is available on NetBSD, it supports only UUID version 4.
3806+
# This restriction inhibits the proper generation of time-based UUIDs.
3807+
if test "$ac_sys_system" = "NetBSD"; then
3808+
have_uuid=missing
3809+
AC_DEFINE([HAVE_UUID_H], [0])
3810+
fi
3811+
38053812
AS_VAR_IF([have_uuid], [missing], [have_uuid=no])
38063813

38073814
# 'Real Time' functions on Solaris

0 commit comments

Comments
 (0)