]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
configure: split common header and function checks
authorJán Tomko <jtomko@redhat.com>
Tue, 25 Sep 2018 13:49:33 +0000 (15:49 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 1 Oct 2018 15:44:09 +0000 (17:44 +0200)
Use one line per entry, to work better with line-based git history.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
configure.ac

index 88743fb665daa77a9aa5a083959b963f78e35e2a..e49d9b5b57ce9f86ac718d741d42f1b428da6061 100644 (file)
@@ -322,17 +322,55 @@ AC_CHECK_SIZEOF([long])
 
 dnl Availability of various common functions (non-fatal if missing),
 dnl and various less common threadsafe functions
-AC_CHECK_FUNCS_ONCE([cfmakeraw fallocate geteuid getgid getgrnam_r \
-  getmntent_r getpwuid_r getrlimit getuid if_indextoname kill mmap \
-  newlocale posix_fallocate posix_memalign prlimit regexec \
-  sched_getaffinity setgroups setns setrlimit symlink sysctlbyname \
-  getifaddrs sched_setscheduler unshare])
+AC_CHECK_FUNCS_ONCE([\
+  cfmakeraw \
+  fallocate \
+  geteuid \
+  getgid \
+  getgrnam_r \
+  getmntent_r \
+  getpwuid_r \
+  getrlimit \
+  getuid \
+  if_indextoname \
+  kill \
+  mmap \
+  newlocale \
+  posix_fallocate \
+  posix_memalign \
+  prlimit \
+  regexec \
+  sched_getaffinity \
+  setgroups \
+  setns \
+  setrlimit \
+  symlink \
+  sysctlbyname \
+  getifaddrs \
+  sched_setscheduler \
+  unshare \
+  ])
 
 dnl Availability of various common headers (non-fatal if missing).
-AC_CHECK_HEADERS([pwd.h regex.h sys/un.h \
-  sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h \
-  sys/un.h sys/syscall.h sys/sysctl.h netinet/tcp.h ifaddrs.h \
-  libtasn1.h sys/ucred.h sys/mount.h stdarg.h])
+AC_CHECK_HEADERS([\
+  pwd.h \
+  regex.h \
+  sys/un.h \
+  sys/poll.h \
+  syslog.h \
+  mntent.h \
+  net/ethernet.h \
+  linux/magic.h \
+  sys/un.h \
+  sys/syscall.h \
+  sys/sysctl.h \
+  netinet/tcp.h \
+  ifaddrs.h \
+  libtasn1.h \
+  sys/ucred.h \
+  sys/mount.h \
+  stdarg.h \
+  ])
 dnl Check whether endian provides handy macros.
 AC_CHECK_DECLS([htole64], [], [], [[#include <endian.h>]])
 AC_CHECK_FUNCS([stat stat64 __xstat __xstat64 lstat lstat64 __lxstat __lxstat64])