X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fconfigure.ac;h=d169f488dadf45434461e3803d56ea57b9508a72;hb=cf4609fb7f0eac897f0995b9b3b5bb783a5ccec2;hp=d1a9b0ffb399f26f3303ea4b2f88d04670156127;hpb=fdbc5aa711dde73eb448fbe13165c00a44272d00;p=libguestfs.git diff --git a/daemon/configure.ac b/daemon/configure.ac index d1a9b0f..d169f48 100644 --- a/daemon/configure.ac +++ b/daemon/configure.ac @@ -95,6 +95,8 @@ if test "$gl_gcc_warnings" = yes; then # ?? -Wstrict-overflow nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization # was not possible, safe to ignore + nw="$nw -Wlong-long" # Allow long long since it's required + # by Python, Ruby and xstrtoll. gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) @@ -170,8 +172,9 @@ AC_CHECK_LIB([portablexdr],[xdrmem_create],[],[ dnl Functions which may not be available in older distributions. AC_CHECK_FUNCS([\ - futimens \ getxattr \ + htonl \ + htons \ inotify_init1 \ lgetxattr \ listxattr \ @@ -179,9 +182,13 @@ AC_CHECK_FUNCS([\ lsetxattr \ lremovexattr \ mknod \ + ntohl \ + ntohs \ posix_fallocate \ + realpath \ removexattr \ setxattr \ + statvfs \ sync]) dnl Headers. @@ -189,6 +196,7 @@ AC_CHECK_HEADERS([\ attr/xattr.h \ printf.h \ sys/inotify.h \ + sys/statvfs.h \ sys/xattr.h \ windows.h])