diff options
author | Mikkel Kamstrup Erlandsen | 2018-10-10 12:43:06 +0200 |
---|---|---|
committer | Nikias Bassen | 2018-11-29 00:37:25 +0100 |
commit | 96e4aabe0b9a46ea9da4955a10c774a8e58fe677 (patch) | |
tree | e16fd19b243ba0b3f789c1739f2f3719260df469 | |
parent | a1963ec3717e1e652de9d10311077a454d9bb8e9 (diff) | |
download | usbmuxd-96e4aabe0b9a46ea9da4955a10c774a8e58fe677.tar.gz usbmuxd-96e4aabe0b9a46ea9da4955a10c774a8e58fe677.tar.bz2 |
build: check if clock_gettime() requires -lrt on old GNU systems
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 46a725e..d0c8201 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,9 @@ AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT8_T +# Check if clock_gettime requires -lrt (old GNU systems) +AC_SEARCH_LIBS([clock_gettime],[rt posix4]) + # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC |