mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-25 11:12:51 +02:00
build: Move configure.ac comment into actual AC_CASE
This commit is contained in:
parent
8248e5f7a6
commit
c253365d65
@ -44,9 +44,9 @@ AC_SUBST([TESTU01_LIBS])
|
|||||||
AM_CONDITIONAL([HAVE_LIBTESTU01],
|
AM_CONDITIONAL([HAVE_LIBTESTU01],
|
||||||
[test "x$ac_cv_lib_testu01_unif01_CreateExternGenBits" = "xyes"])
|
[test "x$ac_cv_lib_testu01_unif01_CreateExternGenBits" = "xyes"])
|
||||||
|
|
||||||
# In old glibc versions (< 2.17) clock_gettime() is in librt.
|
|
||||||
AS_CASE([$host_os],
|
AS_CASE([$host_os],
|
||||||
[*-gnu], [
|
[*-gnu], [
|
||||||
|
# In old glibc versions (< 2.17) clock_gettime() is in librt.
|
||||||
saved_LIBS="$LIBS"
|
saved_LIBS="$LIBS"
|
||||||
AC_SEARCH_LIBS([clock_gettime], [rt], [CLOCK_GETTIME_LIBS="-lrt"])
|
AC_SEARCH_LIBS([clock_gettime], [rt], [CLOCK_GETTIME_LIBS="-lrt"])
|
||||||
AC_SUBST([CLOCK_GETTIME_LIBS])
|
AC_SUBST([CLOCK_GETTIME_LIBS])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user