From: Michael Tremer Date: Tue, 6 Jul 2021 14:36:34 +0000 (+0000) Subject: configure: Check for all used headers and functions X-Git-Tag: 0.9.28~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44d46cd315483ce90903ccce76f4004839a6b0a;p=pakfire.git configure: Check for all used headers and functions Signed-off-by: Michael Tremer --- diff --git a/configure.ac b/configure.ac index 4cce23f31..055c386d6 100644 --- a/configure.ac +++ b/configure.ac @@ -139,32 +139,73 @@ AC_CHECK_LIB([m], [round]) AC_CHECK_HEADERS([ \ ctypes.h \ + dirent.h \ + errno.h \ fcntl.h \ + fnmatch.h \ + fts.h \ + ftw.h \ + glob.h \ + grp.h \ + libgen.h \ + libintl.h \ + linux/limits.h \ + linux/magic.h \ + linux/sched.h \ math.h \ + pwd.h \ regex.h \ sched.h \ + signal.h \ stdarg.h \ + stdint.h \ + stdio.h \ stdlib.h \ string.h \ syslog.h \ sys/epoll.h \ + sys/ioctl.h \ + sys/mount.h \ sys/personality.h \ + sys/random.h \ + sys/resource.h \ sys/stat.h \ - unistd.h + sys/sysmacros.h \ + sys/types.h \ + sys/user.h \ + sys/utsname.h \ + sys/vfs.h \ + sys/wait.h \ + time.h \ + unistd.h \ + utime.h ]) AC_CHECK_FUNCS([ \ - assert \ + asprintf \ epoll_ctl \ epoll_create1 \ epoll_wait \ fnctl \ + fts_close \ + fts_open \ + fts_read \ + getpid \ + glob \ + nftw \ + openlog \ personality \ + remove \ secure_getenv \ + snprintf \ strcmp \ strdup \ + syslog \ qsort \ - unshare + uname \ + unlink \ + vasprintf \ + vsnprintf ]) # Python Stuff