From 6ece47e17fb781e4f47359a2bfbd8a6c9d6127b8 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Fri, 26 Nov 2021 11:50:11 -0500 Subject: [PATCH] [build] skip checking unused execinfo.h since 380fd060ef719b1d8f8781422e84d2a32066351d, execinfo.h is not used anymore, so there is no need to check for it. --- configure.ac | 2 +- src/include/switch_private.h.cmake | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 990a59db2a..baec8b2b83 100644 --- a/configure.ac +++ b/configure.ac @@ -883,7 +883,7 @@ AC_SUBST(LIBTOOL_LIB_EXTEN) # Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC -AC_CHECK_HEADERS([sys/types.h sys/resource.h sched.h wchar.h sys/filio.h sys/ioctl.h sys/prctl.h sys/select.h netdb.h execinfo.h sys/time.h]) +AC_CHECK_HEADERS([sys/types.h sys/resource.h sched.h wchar.h sys/filio.h sys/ioctl.h sys/prctl.h sys/select.h netdb.h sys/time.h]) # Solaris 11 privilege management AS_CASE([$host], diff --git a/src/include/switch_private.h.cmake b/src/include/switch_private.h.cmake index dc94b73a88..d55a8d4169 100644 --- a/src/include/switch_private.h.cmake +++ b/src/include/switch_private.h.cmake @@ -22,9 +22,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_DLFCN_H -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_EXECINFO_H - /* Define to 1 if you have the `gethostname' function. */ #cmakedefine HAVE_GETHOSTNAME