diff options
author | jirka-h <hladky.jiri@gmail.com> | 2021-03-22 00:19:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 00:19:01 +0100 |
commit | 5cdd805789c8db48a4425485002e81caa1ae6be8 (patch) | |
tree | 801529f2d0b8302dac75a433458a2e1a1d289b4b | |
parent | Check for sys/auxv.h before using it. (diff) | |
parent | Merge pull request #58 from texierp/topic/uclibc-fixes (diff) | |
download | haveged-5cdd805789c8db48a4425485002e81caa1ae6be8.tar.xz haveged-5cdd805789c8db48a4425485002e81caa1ae6be8.zip |
Merge branch 'master' into ps-devel-fix-uclibc-compile-001
-rw-r--r-- | config.h.in | 6 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in index d0882ea..08e36e1 100644 --- a/config.h.in +++ b/config.h.in @@ -33,6 +33,9 @@ /* Define to 1 if you have the `floor' function. */ #undef HAVE_FLOOR +/* Define to 1 if you have the `getauxval' function. */ +#undef HAVE_GETAUXVAL + /* Define to 1 if you have the `getsockopt' function. */ #undef HAVE_GETSOCKOPT @@ -138,6 +141,9 @@ /* Define to 1 if you have the <syslog.h> header file. */ #undef HAVE_SYSLOG_H +/* Define to 1 if you have the <sys/auxv.h> header file. */ +#undef HAVE_SYS_AUXV_H + /* Define to 1 if you have the <sys/ioctl.h> header file. */ #undef HAVE_SYS_IOCTL_H diff --git a/configure.ac b/configure.ac index a0263f5..565f732 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AC_HEADER_TIME AC_PROG_GCC_TRADITIONAL AC_FUNC_SELECT_ARGTYPES AC_TYPE_SIGNAL -AC_CHECK_FUNCS([__rdtsc accept accept4 bind connect execv floor getsockopt gettimeofday listen memset pow pselect recv sched_yield select send setsockopt socket sqrt]) +AC_CHECK_FUNCS([__rdtsc accept accept4 bind connect execv floor getauxval getsockopt gettimeofday listen memset pow pselect recv sched_yield select send setsockopt socket sqrt]) ## Checks for header files. AC_HEADER_STDC @@ -124,6 +124,7 @@ AC_CHECK_HEADERS(stdint.h) AC_CHECK_HEADERS(stdio.h) AC_CHECK_HEADERS(stdlib.h) AC_CHECK_HEADERS(string.h) +AC_CHECK_HEADERS([sys/auxv.h]) AC_CHECK_HEADERS(sys/ioctl.h) AC_CHECK_HEADERS(sys/auxv.h) AC_CHECK_HEADERS(sys/mman.h) |