summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSantosh P K <50885001+Spantik@users.noreply.github.com>2020-04-16 16:53:44 +0200
committerGitHub <noreply@github.com>2020-04-16 16:53:44 +0200
commit09133ff4f71a50e6cd15618ffc969604422f9436 (patch)
treec26ce24f253b8eb20b75483370c0728a4bf854f5 /configure.ac
parentMerge pull request #6238 from donaldsharp/test_evpn_vxlan_cleanup (diff)
parentdoc: logging: clarify per-thread buffering (diff)
downloadfrr-09133ff4f71a50e6cd15618ffc969604422f9436.tar.xz
frr-09133ff4f71a50e6cd15618ffc969604422f9436.zip
Merge pull request #5451 from opensourcerouting/rcu-log
logging subsystem rewrite
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac28
1 files changed, 11 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index 35261aced..6f7ca9def 100755
--- a/configure.ac
+++ b/configure.ac
@@ -959,7 +959,7 @@ int main(int argc, char **argv) {
AC_CHECK_HEADERS([pthread_np.h],,, [
#include <pthread.h>
])
-AC_CHECK_FUNCS([pthread_setname_np pthread_set_name_np])
+AC_CHECK_FUNCS([pthread_setname_np pthread_set_name_np pthread_getthreadid_np])
needsync=true
@@ -1202,7 +1202,11 @@ dnl other functions
dnl ---------------
AC_CHECK_FUNCS([ \
strlcat strlcpy \
- getgrouplist])
+ getgrouplist \
+ openat \
+ unlinkat \
+ posix_fallocate \
+ ])
dnl ##########################################################################
dnl LARGE if block spans a lot of "configure"!
@@ -2197,22 +2201,12 @@ if test "$enable_backtrace" != "no" ; then
fi
if test "$backtrace_ok" = "no"; then
- case "$host_os" in
- sunos* | solaris2*)
- AC_CHECK_FUNCS([printstack], [
- AC_DEFINE([HAVE_PRINTSTACK], [1], [Solaris printstack])
+ AC_CHECK_HEADER([execinfo.h], [
+ AC_SEARCH_LIBS([backtrace], [execinfo], [
+ AC_DEFINE([HAVE_GLIBC_BACKTRACE], [1], [Glibc backtrace])
backtrace_ok=yes
- ])
- ;;
- esac
- if test "$backtrace_ok" = "no"; then
- AC_CHECK_HEADER([execinfo.h], [
- AC_SEARCH_LIBS([backtrace], [execinfo], [
- AC_DEFINE([HAVE_GLIBC_BACKTRACE], [1], [Glibc backtrace])
- backtrace_ok=yes
- ],, [-lm])
- ])
- fi
+ ],, [-lm])
+ ])
fi
if test "$enable_backtrace" = "yes" -a "$backtrace_ok" = "no"; then