From 801f11fa8e93018bc3c827c586dcc01a7dfdf2fb Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 20 Dec 2020 12:59:51 +0000 Subject: [PATCH] added sys/sysct.h to configure.ac --- hawk/Makefile.in | 4 ++-- hawk/configure | 2 +- hawk/configure.ac | 2 +- hawk/lib/hawk-cfg.h.in | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hawk/Makefile.in b/hawk/Makefile.in index b1719b50..420d695e 100644 --- a/hawk/Makefile.in +++ b/hawk/Makefile.in @@ -170,8 +170,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \ $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing \ $(top_srcdir)/pkgs/hawk.spec.in ac/ar-lib ac/compile \ - ac/config.guess ac/config.sub ac/install-sh ac/ltmain.sh \ - ac/missing + ac/config.guess ac/config.sub ac/depcomp ac/install-sh \ + ac/ltmain.sh ac/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) diff --git a/hawk/configure b/hawk/configure index a82ff9e7..4a8f4e4d 100755 --- a/hawk/configure +++ b/hawk/configure @@ -18890,7 +18890,7 @@ fi done -for ac_header in sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h +for ac_header in sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h sys/sysctl.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/hawk/configure.ac b/hawk/configure.ac index b02cb87a..ff4a67c0 100644 --- a/hawk/configure.ac +++ b/hawk/configure.ac @@ -245,7 +245,7 @@ dnl check header files. AC_HEADER_STDC AC_CHECK_HEADERS([stddef.h wchar.h wctype.h errno.h signal.h fcntl.h dirent.h]) AC_CHECK_HEADERS([time.h sys/time.h utime.h spawn.h execinfo.h ucontext.h]) -AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h]) +AC_CHECK_HEADERS([sys/resource.h sys/wait.h sys/syscall.h sys/ioctl.h sys/sysctl.h]) AC_CHECK_HEADERS([dlfcn.h ltdl.h sys/mman.h]) AC_CHECK_HEADERS([sys/devpoll.h sys/epoll.h poll.h sys/event.h]) AC_CHECK_HEADERS([netinet/in.h sys/un.h netpacket/packet.h net/if.h net/if_dl.h], [], [], [ diff --git a/hawk/lib/hawk-cfg.h.in b/hawk/lib/hawk-cfg.h.in index 658babaa..db1c6bf9 100644 --- a/hawk/lib/hawk-cfg.h.in +++ b/hawk/lib/hawk-cfg.h.in @@ -570,6 +570,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SYSCALL_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSCTL_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H