mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-17 12:12:10 +02:00
build: Check whether we need libperfstat on AIX
The getentropy() implementation makes use of this library on AIX.
This commit is contained in:
parent
1186cf8822
commit
d08163b4fe
@ -159,6 +159,15 @@ AS_CASE([$host_os],
|
|||||||
])
|
])
|
||||||
LIBS="$saved_LIBS"
|
LIBS="$saved_LIBS"
|
||||||
],
|
],
|
||||||
|
[aix*], [
|
||||||
|
saved_LIBS="$LIBS"
|
||||||
|
AC_SEARCH_LIBS([perfstat_cpu_total], [perfstat], [
|
||||||
|
AS_IF([test "x$ac_cv_search_perfstat_cpu_total" != "xnone required"], [
|
||||||
|
LIBBSD_LIBS="$LIBBSD_LIBS $ac_cv_search_perfstat_cpu_total"
|
||||||
|
])
|
||||||
|
])
|
||||||
|
LIBS="$saved_LIBS"
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user