diff options
| author | 2018-10-10 12:43:06 +0200 | |
|---|---|---|
| committer | 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 | |||
| 92 | AC_TYPE_UINT32_T | 92 | AC_TYPE_UINT32_T |
| 93 | AC_TYPE_UINT8_T | 93 | AC_TYPE_UINT8_T |
| 94 | 94 | ||
| 95 | # Check if clock_gettime requires -lrt (old GNU systems) | ||
| 96 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | ||
| 97 | |||
| 95 | # Checks for library functions. | 98 | # Checks for library functions. |
| 96 | AC_FUNC_MALLOC | 99 | AC_FUNC_MALLOC |
| 97 | AC_FUNC_REALLOC | 100 | AC_FUNC_REALLOC |
